text:
Local vs. DarkSky values

I'm thinking of implementing this idea using Node-Red, which has available nodes for both retrieving data from DarkSky and sending data to InitialState.  Before beginning, I would like to know why the local data from SenseHat (or elsewhere) uses different (and not very intuitive) field names than the DarkSky data, for example, the local temperature is recorded as "sunny":
streamer.log(":sunny: " + SENSOR_LOCATION_NAME + " Temperature(C)", temp_c)
streamer.log(":cloud: " + SENSOR_LOCATION_NAME + " Pressure (mb)", pressure_mb)

while the data from DarkSky is recorded as "Temperature":
streamer.log("Temperature",curr_conditions['currently']['temperature'])
Why not just substitute the local value for the one from DarkSky?

What you are seeing is just a data stream name being built (string). The ":sunny:" part is simply an emoji token that gets replaced by an emoji in Initial State (see https://support.initialstate.com/hc/en-us/articles/360002915551-Emojis ). SENSOR_LOCATION_NAME is just a global variable that you can set at the top. The result is something like "☀Office Temperature(C)" for the data stream name.

When you stream the local data into your Initial State account in this statement:
streamer.log(":sunny: " + SENSOR_LOCATION_NAME + " Temperature(C)", temp_c)
you are creating a stream key named something like :sunny: Office Temperature(C). That stream key will contain all values of the local temperature.

repo: initialstate/wunderground-sensehat


text:
Inconsistent behavior for index lookup

Consider the following code:
entity Test:
end

implement Test using test

implementation test for Test:
   self.ref = Ref[val="test"]
   std::print(self.ref.val)
end

Test.ref [0:1] -- Ref

entity Ref:
   string val
end

index Ref(val)

implement Ref using std::none

Test()

It results in the compilation error: Optional variable accessed that has no value (attribute `__config__::Test.ref` of `__config__::Test (instantiated at ./main.cf:21)`) (reported in self.ref.val (./main.cf:8)). While it should raise an error regarding the fact that index lookup didn't work.
Replacing the last line of the code with an index lookup, results in the expected index lookup error:
entity Test:
end

implement Test using test

implementation test for Test:
   self.ref = Ref[val="test"]
   std::print(self.ref.val)
end

Test.ref [0:1] -- Ref

entity Ref:
   string val
end

index Ref(val)

implement Ref using std::none

Ref[val="test"]

Error message: No match in index on type __config__::Ref with key val='test' (reported in Ref[[('val', 'test')]] (./main.cf:21))

This could be a very difficult one to address but we can give it a shot.

This could be a very difficult one to address but we can give it a shot.

source: gharchive/issue

authors: arnaudsjs sanderr

repo: inmanta/inmanta-core

license_type: permissive

license_source: github-api


text:
extend certificates with 100Y (#3422)

Pull request opened by the merge tool on behalf of #3422

Merged into branches iso4 in c9b071f75e259159fd34271599c6526aaff63c33

source: gharchive/pull-request


text:
Build(deps): Bump react-router-dom from 6.3.0 to 6.4.0 (#4040)

Pull request opened by the merge tool on behalf of #4040

Merged in 015f0bab5c74420e366e4f6fb8126ebdd0ef4637

repo: inmanta/web-console


text:
Toolbar multiple tasks (#4995)

Pull request opened by the merge tool on behalf of #4995

Merged in 42dcbbaea4b87fbcb5865557576070c1001ab9ad


text:
add(adapters): Adonis

Name
Link

AdonisJS adapter
https://github.com/eidellev/inertiajs-adonisjs

Resource description here

[x] My item is in the right category
[x] My item has been added to the bottom of the list
[x] My item's name and description respects the conventions of the list
[x] I have read and followed the contributing guidelines

Thank you for your awesome work!

Thanks!

authors: eidellev innocenzi

repo: innocenzi/awesome-inertiajs


text:
No such package flash.display

Hey guys thank you for making this tool open-source, I'm getting back to game development after 6 years. I hope to revive my once released and flopped Flash game and try again with some new life into it.

I get the following errors. I'm keen about the last one - "No such package flash.display"
This is built-into flash how do I supply source code for it?
../src/mykit/behaviours/FrameLoopBehaviour.as:18: character 15: Semicolon expected after block expression ../src/mykit/BasicInput.as:42: character 12: Semicolon expected after block expression ../src/mykit/utils/CoolFunctions.as:29: character 1: Semicolon expected after block expression ../src/mykit/ParticleSystem/ParticleEmitter.as:82: character 15: Semicolon expected after block expression ../src/mykit/ParticleSystem/ExplosionParticleSystem.as:66: character 9: Semicolon expected after block expression ../src/mykit/BasicSceneHolder.as:104: character 1: Semicolon expected after block expression ../src/mykit/BasicScene.as:46: character 26: Semicolon expected after block expression ../src/mykit/BasicThing.as:3: character 2: No such package flash.display Exception in thread "main" assert 	at ax3.Typer$Closure_typeImports_0.invoke(src/ax3/Typer.hx:584) 	at ax3.Typer$Closure_typeImports_0.invoke(src/ax3/Typer.hx) 	at ax3.Typer$Closure_typeImports_0.invoke(src/ax3/Typer.hx:574) 	at ax3.Typer$Closure_typeImports_0.invoke(src/ax3/Typer.hx) 	at ax3.Typer.typeImports(src/ax3/Typer.hx:606) 	at ax3.Typer$Closure_processFile_0.invoke(src/ax3/Typer.hx:57) 	at ax3.Typer.process(src/ax3/Typer.hx:19) 	at ax3.Main.main(src/ax3/Main.hx:35) 	at ax3.Main.main(src/ax3/Main.hx:1)

Uhm, after these years I don't immediately remember, is there something unusual at BasicThing.as:3? Also did you add swc with playerglobal and stuff to the config, because the converter looks for types there as well.

@nadako thank you taking time to reply. I ended up using the haxelib package for the original tool - https://lib.haxe.org/p/as3hx. I kept getting this error related to flash packages no matter what I tried.

authors: nadako quakeboy

license: MIT


text:
Update solr-solrj, solr-test-framework to 9.3.0

About this PR
📦 Updates

org.apache.solr:solr-solrj
org.apache.solr:solr-test-framework

from 9.2.1 to 9.3.0
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.apache.solr" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.apache.solr" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #165.

repo: inoio/solrs

license_source: bigquery


text:
Address did:peer:2 spec changes

Is this a regression?
No
Description
Address the changes on the did:peer specs made by this PR
The work of how to fix the libraries and applications to address those changes can be found here, and is also is been tracked.
Please provide the exception or error you saw
No response
Please provide the environment you discovered this bug in
No response
Anything else?
No response

@hamada147 can you fix this?

Is on fixed on the https://github.com/input-output-hk/atala-prism-didcomm-kmm/pull/14
Do we need to update the lib here?

@cristianIOHK and @hamada147 , are you working on it since last week I think, right?

@mkbreuningIOHK this issue has been fixed a very long time ago. The changes requested here has been added in the DIDComm Repo and we are using the latest version of that repo inside our Wallet SDK KMM

With that being said, I will close this issue as it was resolved bug forgotten here.

Thanks @cristianIOHK @hamada147 : And is there a PR or a release that can be linked to this issue so we have traceability?

@mkbreuningIOHK this is the PR #140

authors: FabioPinheiro cristianIOHK hamada147 mkbreuningIOHK


text:
cardano-db-sync-extended: Identity Connect Attempt Exception

Hi,
after updating to version 3.2.0 I am receiving the following error upon running docker-compose up --build -d && docker-compose logs -f
cardano-db-sync-extended_1  | [db-sync-node.Subscription:Notice:41] [2021-02-13 11:41:15.53 UTC] Identity Starting Subscription Worker, valency 1
cardano-db-sync-extended_1  | [db-sync-node.Subscription:Notice:173] [2021-02-13 11:41:15.53 UTC] Identity Connection Attempt Start, destination LocalAddress "/node-ipc/node.socket"
cardano-db-sync-extended_1  | [db-sync-node.Subscription:Error:173] [2021-02-13 11:41:15.53 UTC] Identity Connection Attempt Exception, destination LocalAddress "/node-ipc/node.socket" exception: Network.Socket.connect: <socket: 13>: does not exist (No such file or directory)
cardano-db-sync-extended_1  | [db-sync-node.ErrorPolicy:Warning:4] [2021-02-13 11:41:15.53 UTC] IP LocalAddress "/node-ipc/node.socket" ErrorPolicySuspendPeer (Just (ConnectionExceptionTrace Network.Socket.connect: <socket: 13>: does not exist (No such file or directory))) 20s 20s
cardano-db-sync-extended_1  | [db-sync-node.Subscription:Warning:41] [2021-02-13 11:41:15.56 UTC] Identity Failed to start all required subscriptions
cardano-db-sync-extended_1  | [db-sync-node.Subscription:Notice:41] [2021-02-13 11:41:16.56 UTC] Identity Restarting Subscription after 1.026282484s desired valency 1 current valency 0

The error happens for both, docker-compose.yml as well as docker-compose.dev.yml.
I am running it locally on my laptop.
Ubuntu 18.04.5 LTS
Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
8 GB RAM
Any help is appreciated.

That's expected on startup when cardano-node is still initialising and can sometimes take a minute or two. Did it resolve?

Nope, I ran it multiple times and waited 10-15 minutes. Using the docker-compose.yml file my laptop started to get unresponsive and was under high workload. Maybe the specs of my laptop are too small to facilitate the initialisation of the cardano-node.

What's your machine spec?

Specs are:
Ubuntu 18.04.5 LTS
Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
4 Cores
8 GB RAM
500 GB SSD, 55% occupied.
Any other specs that are of interest?

Moving to 3.2.0 introduces a new version of cardano-db-sync that requires the local state to be rebuilt.
https://github.com/input-output-hk/cardano-graphql/wiki/Docker#rebuild-cardano-db
Was this performed?
`

I did this when moving to version 3.0.0, but not for 3.2.0. I will try to see if this helps.

Rebuilding with cgql docker rebuild-service did not help. I now managed to get it fixed by rebuilding the whole project and downloading the whole blockchain again. The error still pops up for the first few minutes on startup, like you mentioned before, but afterwards it is fine.

authors: Datiswaken rhyslbw

repo: input-output-hk/cardano-graphql


text:
Deployment cleanup

Context
This partial path of this PR. Changes:

Cleaner region/network management
Configurable stakepool db
Optional ingress

No diff throughout all environments

Merging this without approvals since there are not functional changes and these patches have been reviewed in other PR

repo: input-output-hk/cardano-js-sdk


text:
Check property: every valid protocol update allows to produce new blocks

We want to avoid a protocol update from stopping the production of new blocks, so we should check that every valid protocol update leaves the validation layer in a state where it is possible to produce new blocks, including all the data they carry such as delegation certificates, update proposals, votes, and transactions.

For Byron at least, we can't guarantee this (for instance, we don't have checks in place that assert that the minimum block size is high enough to allow the production of blocks). So a liveness property like the one required in this issue depends on having checks in place for the parameter values of an update proposal.

repo: input-output-hk/cardano-ledger-specs


text:
Webpage Reloading Recursively

I am running

RTView locally on MacOS.
2 testnet nodes; 1 producer, 1 relay with updated testnet-config.json files (as specified in your documentation) running on 2 different AWS instances.

The RTView starts up but once I visit http://127.0.0.1:8080, the page shows up broken and reloads repeatedly.
Here are the logs from the terminal RTView is running in.
[cardano-rt-view.webServer:Notice:142] [2021-02-21 07:57:02.63 UTC] Web page loading...
127.0.0.1 - - [20/Feb/2021:23:57:02 -0800] "GET /static/css/w3.css HTTP/1.1" 200 369 "http://127.0.0.1:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
127.0.0.1 - - [20/Feb/2021:23:57:02 -0800] "GET /favicon.ico HTTP/1.1" 200 369 "http://127.0.0.1:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
127.0.0.1 - - [20/Feb/2021:23:57:02 -0800] "GET /static/js/chart.js HTTP/1.1" 200 369 "http://127.0.0.1:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
127.0.0.1 - - [20/Feb/2021:23:57:02 -0800] "GET /static/images/question.svg HTTP/1.1" 200 369 "http://127.0.0.1:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
127.0.0.1 - - [20/Feb/2021:23:57:02 -0800] "GET /static/images/search.svg HTTP/1.1" 200 369 "http://127.0.0.1:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
127.0.0.1 - - [20/Feb/2021:23:57:02 -0800] "GET /static/images/sort.svg HTTP/1.1" 200 369 "http://127.0.0.1:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
127.0.0.1 - - [20/Feb/2021:23:57:02 -0800] "GET /static/images/filter.svg HTTP/1.1" 200 369 "http://127.0.0.1:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
127.0.0.1 - - [20/Feb/2021:23:57:02 -0800] "GET /static/images/trash.svg HTTP/1.1" 200 369 "http://127.0.0.1:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
127.0.0.1 - - [20/Feb/2021:23:57:02 -0800] "GET /static/images/file-download.svg HTTP/1.1" 200 369 "http://127.0.0.1:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
127.0.0.1 - - [20/Feb/2021:23:57:02 -0800] "GET /static/images/dropdown-dark.svg HTTP/1.1" 200 369 "http://127.0.0.1:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
127.0.0.1 - - [20/Feb/2021:23:57:02 -0800] "GET /static/images/info.svg HTTP/1.1" 200 369 "http://127.0.0.1:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
127.0.0.1 - - [20/Feb/2021:23:57:02 -0800] "GET /static/images/rts.svg HTTP/1.1" 200 369 "http://127.0.0.1:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
127.0.0.1 - - [20/Feb/2021:23:57:02 -0800] "GET /static/images/peers.svg HTTP/1.1" 200 369 "http://127.0.0.1:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
127.0.0.1 - - [20/Feb/2021:23:57:02 -0800] "GET /static/images/key.svg HTTP/1.1" 200 369 "http://127.0.0.1:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
127.0.0.1 - - [20/Feb/2021:23:57:02 -0800] "GET /static/images/blockchain.svg HTTP/1.1" 200 369 "http://127.0.0.1:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
127.0.0.1 - - [20/Feb/2021:23:57:02 -0800] "GET /static/images/mempool.svg HTTP/1.1" 200 369 "http://127.0.0.1:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
127.0.0.1 - - [20/Feb/2021:23:57:02 -0800] "GET /static/images/bugs.svg HTTP/1.1" 200 369 "http://127.0.0.1:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
127.0.0.1 - - [20/Feb/2021:23:57:02 -0800] "GET /static/images/memory.svg HTTP/1.1" 200 369 "http://127.0.0.1:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
127.0.0.1 - - [20/Feb/2021:23:57:02 -0800] "GET /static/images/cpu.svg HTTP/1.1" 200 369 "http://127.0.0.1:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
127.0.0.1 - - [20/Feb/2021:23:57:02 -0800] "GET /static/images/disk.svg HTTP/1.1" 200 369 "http://127.0.0.1:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
127.0.0.1 - - [20/Feb/2021:23:57:02 -0800] "GET /static/images/network.svg HTTP/1.1" 200 369 "http://127.0.0.1:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
127.0.0.1 - - [20/Feb/2021:23:57:02 -0800] "GET /static/images/resources.svg HTTP/1.1" 200 369 "http://127.0.0.1:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
127.0.0.1 - - [20/Feb/2021:23:57:02 -0800] "GET /static/images/dropdown-blue.svg HTTP/1.1" 200 369 "http://127.0.0.1:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
127.0.0.1 - - [20/Feb/2021:23:57:02 -0800] "GET /static/images/question.svg HTTP/1.1" 200 369 "http://127.0.0.1:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
127.0.0.1 - - [20/Feb/2021:23:57:02 -0800] "GET /static/images/sort.svg HTTP/1.1" 200 369 "http://127.0.0.1:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
127.0.0.1 - - [20/Feb/2021:23:57:02 -0800] "GET /static/images/filter.svg HTTP/1.1" 200 369 "http://127.0.0.1:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
127.0.0.1 - - [20/Feb/2021:23:57:02 -0800] "GET /static/images/trash.svg HTTP/1.1" 200 369 "http://127.0.0.1:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
127.0.0.1 - - [20/Feb/2021:23:57:02 -0800] "GET /static/images/dropdown-dark.svg HTTP/1.1" 200 369 "http://127.0.0.1:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
127.0.0.1 - - [20/Feb/2021:23:57:02 -0800] "GET /static/images/info.svg HTTP/1.1" 200 369 "http://127.0.0.1:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
127.0.0.1 - - [20/Feb/2021:23:57:02 -0800] "GET /static/images/search.svg HTTP/1.1" 200 369 "http://127.0.0.1:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
127.0.0.1 - - [20/Feb/2021:23:57:02 -0800] "GET /static/images/show.svg HTTP/1.1" 200 369 "http://127.0.0.1:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
127.0.0.1 - - [20/Feb/2021:23:57:02 -0800] "GET /static/images/hide.svg HTTP/1.1" 200 369 "http://127.0.0.1:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
127.0.0.1 - - [20/Feb/2021:23:57:02 -0800] "GET /static/images/file-download.svg HTTP/1.1" 200 369 "http://127.0.0.1:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
cardano-rt-view: Foreign.JavaScript: Browser <-> Server communication broken.
Foreign.JavaScript: Browser window disconnected.

Here's a screenshot of the webpage

the page shows up broken and reloads repeatedly.

Yes, repeated reload means the problem(s) with the page. But currently, there's no problems with the page's code (otherwise I would see it on Linux as well, but it works correctly). Moreover, I've tested RTView 0.3.0 on macOS (using Chrome browser). So possible reason is some kind of misconfiguration (for example, wrong path to static content). Could you show me your configuration files, please?

+1 to Denis (well duh - he's the author)
I had a similar problem early on, you either need to start rt-view from it's directory (CWD) or use --static <PATH TO STATIC> as an argument, otherwise you'll get the behavior you're seeing.

authors: SproutPool denisshevchenko r-tde

repo: input-output-hk/cardano-rt-view


text:
[GH-229] Add Wallet and TLS specific configuration options using CLI.

https://github.com/input-output-hk/cardano-shell/issues/229

@deepfire merged this since it's required for https://github.com/input-output-hk/cardano-shell/pull/236

repo: input-output-hk/cardano-shell


text:
[CHW] API for external wallets, with empty handlers.

Description
This is the next PR for CHW (Cardano Hardware Wallet) support. It provides new API endpoints for external wallets.
Linked issue
[CHW-54], [CHW-80], [CHW-106]
Type of change

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

Developer checklist

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

Testing checklist

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

QA Steps

Screenshots (if available)

@parsonsmatt I made some changes. based on your comments.

repo: input-output-hk/cardano-sl


text:
Add BlockSummary type and related changes

Issue number
ADP-1422, ADP-1425
Overview
Light-mode (Epic ADP-1422) aims to make synchronisation to the blockchain faster by trusting an off-chain source of aggregated blockchain data.
In this pull request, we add the BlockSummary type that represents transaction data contained in a contiguous sequence of blocks. Instead of storing a sequence of Block directly, the BlockSummary gives us a (monadic) query that can be used to obtain transaction data for specific addresses within that sequence.
data BlockSummary m addr txs = BlockSummary
    { from  :: !BlockHeader
    , to    :: !BlockHeader
    , query :: addr -> m txs
    }

The idea is that the query will eventually call out to the off-chain source of aggregated blockchain data. The from and to fields are necessary to preserve the sequential way of how cardano-wallet currently consumes blockchain data.
This pull request mainly adds and rearranges types, and matches lightSync with the MaybeLight type class. However, the implementation of production or consumption of BlockSummary will be tackled in later pull requests.
Details

We add a field lightSync to the NetworkLayer. This field will eventually provide the BlockSummary to a ChainFollower. It is set to Nothing for now.
We add a type class MaybeLight s which indicates whether a wallet state supports address and transaction discovery with BlockSummary. All instances are currently set to Nothing.
We instantiate the BlockSummary type with …

… addr = Either Address RewardAccount. In other words, we can either get transaction data pertaining to a single Address, or delegation information pertaining to a RewardAccount.
… and txs = ChainEvents, which is a sequence of BlockEvents. In turn, the type BlockEvents contains transactions and delegations that appear within a single block; this can be the full block, or a subset of interest.

Even in light-mode, we expect to work with sequences of blocks, so the type BlockData tags whether we are consuming a sequence of Block, or a BlockSummary. In the case of a summary, we include information from the MaybeLight class in order to facilitate consumption.

Comments

Later on, transaction data will be consumed by adapting applyBlockToUTxO to work with BlockEvents instead of Block.

bors try

bors try

bors merge

repo: input-output-hk/cardano-wallet


text:
Lean package and ci action

[x] move files to lean package (e7575ecb0d0995bed3318f23a56c4b749aff8a7c)
[x] Add simple CI worflow (ca5821a601ec3f05f224725acd1a364763144b7c)
[x] update global gitignore with Lean specific items (996a7c34aae6c4113b7079471a5782efcd90535a)
[x] dummy lean package and worflow adjustment (f1d36d88a46d5849792957c4ad4c8435ec931054)
[x] adjust worflow (eeae0d71b3885f219384d700ab8aa47b469dea5a)

Comments
A proposal for putting lean specs into a package so we can control the lean version and also adding simple CI workflow checking the syntax of lean files.
Issue Number
ADP-2389

Thanks! I'm ambivalent — on one hand, I think that specifying the lean version in the source code is valuable, on the other hand, I think of the .lean files as "scratch files" that each stand on their own without being part of a package, i.e. the files are not supposed to work together as a single package. 🤔 In a way, I would like the specifications directory to be grouped by subject matter rather than technology used (LaTeX, swagger, Lean, …).
A "scratch file"-based approach would use ./specifications/ as top-level directory. The Github workflow would be mostly the same, but filter on .lean files directly,
on:
  push:
    branches: [ "master" ]
    paths: ['specifications/**.lean']
  pull_request:
    branches: [ "master" ]
    paths: ['specifications/**.lean']

In order to download the right lean version, we could use an empty package with leanpkg configure. 🤔 In the end, lean --recursive works with scratch files, it doesn't need a package.
Thoughts?

In order to download the right lean version, we could use an empty package with leanpkg configure. thinking In the end, lean --recursive works with scratch files, it doesn't need a package.

@HeinrichApfelmus  sounds good. I've adjusted to that.

bors r+

authors: HeinrichApfelmus paolino piotr-iohk


text:
nix-shell launched from this repository causes the haskell-language-srver VSCode extension not to work properly

Summary
I can't get to work with the hls features while writing plutus as mentioned in the VSCode repository issue

Steps to reproduce the behavior
cd $PLUTUS_APPS_DIR
nix-shell

then in the generated environment:
code $myProject

Actual Result
the extension doesn't work
Expected Result
the generated environment allows me to work using the haskell-language-server features
Describe the approach you would take to fix this
see this issue
System info
lsb_release -a
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.4 LTS
Release:	20.04

Your logs from the vscode-haskell issue indicate that nix sets up HLS 1.5.1.0, which is outdated.

Well that's unfortunate since I should be using the last release

Is there something I'm doing wrong, or that I can do inorder to get the haskel-language-server v1.7.0.0?

Well, I have no investment in nix. I've never used plutus-apps with it. But I've developed smart contracts with just using cabal. That should work fine with the appropriate cabal.project. I usually follow https://github.com/input-output-hk/plutus-starter/blob/main/cabal.project

Well, I have no investment in nix. I've never used plutus-apps with it. But I've developed smart contracts with just using cabal. That should work fine with the appropriate cabal.project. I usually follow https://github.com/input-output-hk/plutus-starter/blob/main/cabal.project

setting up the project without ``nix``` solves the problem

hm, I don't have this issue with hls 1.5.1, nix and vscode.
Did hls have the time to compile everything? there is progress status in the bottom stripe in vscode.
Also maybe there is a compile issue earlier? As one can often get plutus-tx plugin errors (GHC Core to PLC plugin error).

yes I have lots of "GHC Core to PLC plugin error" and I have all the GHC-options specified in the plutus docs > troubleshooting > plugin errors
onestly I got used to them since when running cabal repl or cabal buld everything goes fine and any other error is showed with more priority in vscode
hls is compiled since I can use it by hand in the shell

We have switched to nix develop with newer versions of hls. Please re-open if there will be any problems with it.

@ak3n can you elaborate?

authors: Dr-Mazen-Khaddaj HarmonicPool ak3n hasufell zmrocze

repo: input-output-hk/plutus-apps


text:
Functions reading access permissions no longer require the Resource

Fixes #164
Note that the type signature of unstable_getAgentAccessModesOne and unstable_getAgentAccessModesAll changed to only expect the ACL, as opposed to the resource with the ACL attached. The ResourceInfo (e.g. origin and ACL IRI) also have been removed from the type signature of these functions, since only the ACL data is required. If they had been added initially for future-proofing and in anticipation of API changes, 686585af4fbc48bdb47bd8253e4cc8fd6b283b77 should be reverted.
Checklist

[X] All acceptance criteria are met.
[x] Relevant documentation, if any, has been written/updated. This piece of documentation will likely evolve with #152.
[X] Commits in this PR are minimal and have descriptive commit messages.

To log it where it's relevant: the issue there was that options isn't passed along for fetchAcl, so it doesn't call the mock fetcher provided in the tests.

authors: NSeydoux Vinnl

repo: inrupt/lit-pod


text:
Set Calendar Colors Manually

Hey is there a way to set the color used for each of my calendars manually?
Currently colors are set by read/write authorization/ownership. I would like to add a line to my irc like
--setcolor 'School Calendar' 'RED'
--setcolor 'Work Calendar' 'BLUE'
etc
I looked at the source and think I could edit things to add that functionality but I wanted to check and make sure that this was not already simple to do. I noticed there is an array that seems to map Calendars to colors using the _CalendarColor command which seemed like the place to start.

I've updated the color handling in master recently.  I don't know if you want to review the code changes to see if there's something you'd like to modify to achieve your goals.
FWIW, I think it works to do something like
$ gcalcli --calendar=me@google.com#blue  --calendar=mywork@gmail.com#green calw

And of course you can set up that kind of stuff in a config file as well.  I don't know if that solves what you're trying to do with your IRC client or not.

authors: BadDecisionsAlex jcrowgey

repo: insanum/gcalcli


text:
Error authenticating MAL

Describe the bug
Trying to log in using Facebook get this error.
To Reproduce
Steps to reproduce the behavior:

Try to connect MyAnimeList account
Select sign in with Facebook

Expected behavior
Log in using Facebook.
Screenshots

Desktop (please complete the following information):

Version 1.5.1.0

check if it fixed for you, i couldn't really test, don't want to create a new mal account with fb

Yep, now I was able to log in using Facebook.

authors: blindmodz insomniachi

repo: insomniachi/Totoro


text:
Adding introduction/snippet for Boomerang-OpenTelemetry Plugin to the EUM documenation

Appending information about the configuration of the Boomerang-OpenTelemetry Plugin to the EUM - Server Documentation.

closed by #1013

authors: Patrick-Eichhorn mariusoe

repo: inspectIT/inspectit-ocelot


text:
uprobetracer: use secureopen to avoid TOCTOU issues

uprobetracer needs to open files in the container rootfs. The file paths in the container could change, so special care should be taken to avoid symlink escapes.
Requires Linux 5.6 for openat2 (https://github.com/torvalds/linux/commit/fddb5d430ad9fa91b49b1d34d0202ffe2fa0e179).
cc @rata @i-Pear
How to use
No changes
Testing done

[x] Test if the trace_ssl gadget still works.

Thanks for the reviews! I updated the branch.

Thanks. I will merge once the CI completes.

I don't understand why the CI fails on the integration tests TestRunTraceTcp for docker/containerd/cri-o. The tests are not related to uprobes.

repo: inspektor-gadget/inspektor-gadget


text:
Integrate authorization with InData platform. - [closed]

In GitLab by @wknet123 on Jan 3, 2018, 06:07
Merges dev-indata-auth -> dev

In GitLab by @wknet123 on Nov 13, 2019, 10:23
closed

repo: inspursoft/board


text:
can't view the service info when service is disabled

In GitLab by @guyingyan on Jun 6, 2018, 16:08
If you are reporting a problem, please make sure the following information are provided:

Version of board (last git commit number) , docker engine and docker-compose.
Config files of board, you can get them by packaging "board.cfg" and files in the same directory, including subdirectory.
Log files, you can get them by package the /var/log/board/.
Other necessery information.

when building image, click the "cancel", jenkins job do not be stopped.board do not give the cancel massage.

In GitLab by @luotian-github on Nov 8, 2019, 07:51
Jun  7 03:18:56 172.19.0.1 apiserver[5331]: 2018/06/07 07:18:56.349 #033[1;44m[D] [service.go:470] Get Service info zh-7/nginx-1#33[0m
Jun  7 03:18:56 172.19.0.1 apiserver[5331]: 2018/06/07 07:18:56.351 #033[1;31m[E] [serviceconfig.go:163] Get service failed, erro: services "nginx-1" not found#033[0m
Jun  7 03:18:56 172.19.0.1 apiserver[5331]: 2018/06/07 07:18:56.351 #033[1;31m[E] [service.go:460] Error occurred: services "ngin-1" not found#033[0m

In GitLab by @luotian-github on Nov 8, 2019, 07:51
The service in uncompleted can be viewed for info
The service in stopped cannot be viewed for info
still in checking

In GitLab by @luotian-github on Nov 8, 2019, 07:51
should not return internal error for stopped service.

In GitLab by @sokril on Nov 8, 2019, 08:22
closed

In GitLab by @sokril on Nov 8, 2019, 08:22
assigned to @luotian-github


text:
I have choosed pod affinity when creating service, but the deployment file shows the message of pod anti-affinity.

In GitLab by @luotian-github on Dec 24, 2018, 14:57
The page will pop an error message when I create pvc

In GitLab by @yhua123 on Nov 8, 2019, 08:01
good issue

In GitLab by @liyanq528 on Nov 8, 2019, 08:01
Pr #1909

In GitLab by @sokril on Nov 8, 2019, 08:29
closed

In GitLab by @sokril on Nov 8, 2019, 08:29
assigned to @luotian-github

In GitLab by @liyanq528 on Nov 13, 2019, 08:13
mentioned in merge request !862


text:
Add files via upload

spanish

Add the link in the main Readme.md to your language.

authors: jbarcelonap ohld

repo: instagrambot/instabot


text:
New photos downloadafter moving files to new catalog

Your question here...
Hi. I have question about somethig. I want to create schedule backup of profile and I do it by download photos to my local folder. Then I moved these catalog to external hard drive. When I want to --fast-update Instaloader download all files (exactly at first time) to my local folder. Otherwise when I delete photo from my local folder (even one) and do fast update Instaloade4 download missing things. Is it possible to download only new photos from last "date of use" instaloader and not to download all files when I moved oldest to external HDD? I think You know what I mean. Thanks for reply and have a nice day.

The way I did this in the past was to copy the images to my server or external HD. Then use a script to replace the files on my local disk with zero-length files of the same name/type/extension. The replacement files take almost no hard disk space and they "trick" instaloader into not re-downloading the files.
In my experience it is difficult to implement a download_posts_after() method without emitting a bunch of unnecessary API requests.

Keep the last downloaded file in your local folder, Instaloader will stop when it detects this file.

The way I did this in the past was to copy the images to my server or external HD. Then use a script to replace the files on my local disk with zero-length files of the same name/type/extension. The replacement files take almost no hard disk space and they "trick" instaloader into not re-downloading the files.
Alternatively you can use this behavior from the documentation to only pull posts from the time-period you specify.
[Edited to remove my speculation about downloading posts within a period]

Would you mind sharing this script if it's something that's possible to do in Windows?
Or has anyone come up with another solution to this?

Would you mind sharing this script if it's something that's possible to do in Windows?
Or has anyone come up with another solution to this?

I found this command on PowerShell. I tested it and it works well.
dir | New-Item -Force -Value ""
https://www.tenforums.com/general-support/110727-how-zero-size-all-files-folder-post1377664.html#post1377664

authors: arlido psonnosp susodapop ungenio

repo: instaloader/instaloader


text:
skill: extract data from a table based on its headers

Describe the contribution to the taxonomy

This skill provides the ability to extract data from a table based on its headers.

Input given at the prompt

>>> please list the fruits in this table
| **color** | **fruit** |
|-----|-----|
| orange | orange |
| red | apple |
| olive | avocado |

>>> what are the names in this table:
| **Name** | **Date** | **Color** | **Letter** | **Number** |
|----------|----------|-----------|------------|------------|
| George   | Mar 5    | Green     | A          | 1          |
| Gráinne  | Dec 31   | Red       | B          | 2          |
| Abigail  | Jan 17   | Yellow    | C          | 3          |
| Bhavna   | Apr 29   | Purple    | D          | 4          |
| Rémy     | Sep 9    | Blue      | E          | 5          |

>>> what are the names in this table? please list only the names
| **Name** | **Date** | **Color** | **Letter** | **Number** |
|----------|----------|-----------|------------|------------|
| George   | Mar 5    | Green     | A          | 1          |
| Gráinne  | Dec 31   | Red       | B          | 2          |
| Abigail  | Jan 17   | Yellow    | C          | 3          |
| Bhavna   | Apr 29   | Purple    | D          | 4          |
| Rémy     | Sep 9    | Blue      | E          | 5          |

Response from the original model

- elapsed 2.594 seconds -
| color | fruit |
|---|---|
| orange | orange |
| red | apple |

- elapsed 19.247 seconds -
| Name | Date | Color | Letter | Number |
|---|---|---|---|---|
| George | Mar 5 | Green | A | 1 |
| Gráinne | Dec 31 | Red | B | 2 |
| Abigail | Jan 17 | Yellow | C | 3 |
| Bhavna | Apr 29 | Purple | D | 4 |
| Rémy | Sep 9 | Blue | E | 5 |

- elapsed 18.686 seconds -
| Name | Date | Color | Letter | Number |
|---|---|---|---|---|
| George | Mar 5 | Green | A | 1 |
| Gráinne | Dec 31 | Red | B | 2 |
| Abigail | Jan 17 | Yellow | C | 3 |
| Bhavna | Apr 29 | Purple | D | 4 |
| Rémy | Sep 9 | Blue | E | 5 |

Response from the fine-tuned model

- elapsed 5.947 seconds -
The fruits and their corresponding colors listed in the table are:
- Orange (color): Orange
- Red (color): Apple
- Olive (color): Avocado

- elapsed 5.413 seconds -
The names listed in the table are:
- George
- Gráinne
- Abigail
- Bhavna
- Rémy

- elapsed 5.315 seconds -
The names listed in the table are:
- George
- Gráinne
- Abigail
- Bhavna
- Rémy

Contribution checklist

[x] The contribution was tested with lab generate
[x] No errors or warnings were produced by lab generate
[x] All commits are signed off (DCO)
[x] The qna.yaml file contains at least 5 seed_examples
[x] The qna.yaml file was linted and prettified (yaml-validator can do both)

Thank you for your contribution to InstructLab! Unfortunately, once a Github repo is made public, all open PRs are automatically closed since they link against a private repo. We have detected that your PR might have been one of the ones affected by this change. If you are still interested in contributing your improvement, please fill out the following short form by no later than May 3rd, and we will get back to you with the additional steps necessary once we have had time to assess the PRs of those still interested:
https://forms.gle/V7SrPPMZDo6iGDYu8

repo: instructlab/taxonomy


text:
🛑 Dropzone is down

In 55bee3c, Dropzone ($DZ_URL) was down:

HTTP code: 502
Response time: 7593 ms

Resolved: Dropzone is back up in 97b0718.

repo: instruxmedia/webserver-uptime


text:
Support both Llama2 and stablelm/Zephyr-3B

llama2 could work with transformers <= 4.37.2, but it has issue with transformers>=4.38.0, error message is:
TypeError: llama_model_forward_4_36() got an unexpected keyword argument 'cache_position'
On the other side, stablelm/zephyr-3B requires 4.38.0 to run. For transformers <= 4.37.2, it will report：
The checkpoint you are trying to load has model type stablelm but Transformers does not recognize this architecture
we need to run both zephyr-3B and llama2 models, no transformers version could support both in ipex-llm environment.

We could support llama2-7b with transformers 4.38.0.

Thank you very much! Currently 0516 + 4.38.0 performance is comparable with 0512+4.37.2 performance. I'm closing this issue.

authors: Quallyjiang sgwhat

repo: intel-analytics/ipex-llm


text:
Remove mempool problems from tests

Problems with rte_mempool_free have gone with new DPDK

Cannot reproduce https://github.com/intel-go/nff-go/issues/301, remove stuff connected with it.

Cannot reproduce #301, remove stuff connected with it.

If you cannot reproduce the bug, can we still run tests separately for every function? I very much prefer it that way than a single test for all functions together.

These tests are also checked behavior of start stop. It is not our normal stability tests and they don't have any connections with teamcity. So why do you need this?

It is wrong decision to have these tests separately (you will not be able to check there combines output - only grep for 11 "SUCCESS" words). I leave them separately.

authors: gshimansky ifilippov

repo: intel-go/nff-go


text:
OV single matmul case fail

Generate case:
python3 ./tools/mlir_bench/ov_model_gen.py -l='linear[512,512,512]' -t f16 -n test.xml

Reproduce:
OV_MLIR_MODE=GC_GPU ./bin/intel64/Release/benchmark_app -m ./test.xml -d GPU -use_device_mem -ip f16 -infer_precision f16 -niter 100 -hint none -nstreams 1 -nthreads 1

Error log:
 loc(fused<{name = "aten::linear/Add", type = "Add"}>["aten::linear/Add"]): error: operand #0 does not dominate this use
Error:  [build/_deps/gc-src/lib/gc/ExecutionEngine/GPURuntime/ocl/GpuOclRuntime.cpp:852] GPU pipeline failed!
Expected<T> must be checked before access or destruction.
Unchecked Expected<T> contained error:
GPU pipeline failed!/home/ghrunner/_work/_temp/41f17c38-0f55-4524-907e-899163017e00.sh: line 2: 70842 Aborted                 (core dumped)

The root cause of this failure is similar to #360 (memref.alloc() in GPU kernel), however the fix figured out in #360 won't work for this case :(
The MLIR generated by OV for the model from the reproducer (#382) looks like this:
MLIR with linalg.broadcast
module @fragment_name attributes {"#dlti.sys_spec" = #dlti.target_system_spec<"CPU" : #dlti.target_device_spec<#dlti.dl_entry<"tile_size", 32 : i32>>>} {
  func.func @entry(%arg0: memref<512x512xf16>, %arg1: memref<512x512xf16>, %arg2: memref<1x512xf16>, %arg3: memref<512x512xf16>) {
    %0 = bufferization.to_tensor %arg0 restrict : memref<512x512xf16>
    %1 = bufferization.to_tensor %arg1 restrict : memref<512x512xf16>
    %2 = bufferization.to_tensor %arg2 restrict : memref<1x512xf16>
    %3 = tensor.empty() : tensor<512x512xf16>
    %cst = arith.constant 0.000000e+00 : f16
    %4 = linalg.fill ins(%cst : f16) outs(%3 : tensor<512x512xf16>) -> tensor<512x512xf16>
    %5 = linalg.matmul_transpose_b ins(%0, %1 : tensor<512x512xf16>, tensor<512x512xf16>) outs(%4 : tensor<512x512xf16>) -> tensor<512x512xf16>
    %collapsed = tensor.collapse_shape %2 [[0, 1]] : tensor<1x512xf16> into tensor<512xf16>
    %6 = tensor.empty() : tensor<512x512xf16>
    %broadcasted = linalg.broadcast ins(%collapsed : tensor<512xf16>) outs(%6 : tensor<512x512xf16>) dimensions = [0]
    %7 = tensor.empty() : tensor<512x512xf16>
    %8 = linalg.add ins(%5, %broadcasted : tensor<512x512xf16>, tensor<512x512xf16>) outs(%7 : tensor<512x512xf16>) -> tensor<512x512xf16>
    bufferization.materialize_in_destination %8 in restrict writable %arg3 : (tensor<512x512xf16>, memref<512x512xf16>) -> ()
    return
  }
}

The main difference from the modules we've been processing before, is that it takes bias as a 1D tensor (%arg2 : tensor<1x512>) that has to be broadcasted to a proper shape (512x512). linalg.broadcast is the operation that triggers memref.alloc() to be inserted to the GPU kernel:
MLIR module after 'one-shot-bufferize' pass
func.func @entry(%arg0: memref<512x512xf16>, %arg1: memref<512x512xf16>, %arg2: memref<1x512xf16>, %arg3: memref<512x512xf16>, %arg4: memref<i8>) {
  %cst = arith.constant 0.000000e+00 : f16
  %alloc = memref.alloc() {alignment = 64 : i64} : memref<512x512xf16>
  %collapse_shape = memref.collapse_shape %arg2 [[0, 1]] : memref<1x512xf16> into memref<512xf16>
  %c0 = arith.constant 0 : index
  %c0_0 = arith.constant 0 : index
  %c512 = arith.constant 512 : index
  %c512_1 = arith.constant 512 : index
  %c32 = arith.constant 32 : index
  %c32_2 = arith.constant 32 : index
  scf.parallel (%arg5, %arg6) = (%c0, %c0_0) to (%c512, %c512_1) step (%c32, %c32_2) {
    %subview = memref.subview %arg0[%arg5, 0] [32, 512] [1, 1] : memref<512x512xf16> to memref<32x512xf16, strided<[512, 1], offset: ?>>
    %subview_3 = memref.subview %arg1[%arg6, 0] [32, 512] [1, 1] : memref<512x512xf16> to memref<32x512xf16, strided<[512, 1], offset: ?>>
    %subview_4 = memref.subview %alloc[%arg5, %arg6] [32, 32] [1, 1] : memref<512x512xf16> to memref<32x32xf16, strided<[512, 1], offset: ?>>
    linalg.fill ins(%cst : f16) outs(%subview_4 : memref<32x32xf16, strided<[512, 1], offset: ?>>)
    linalg.matmul_transpose_b ins(%subview, %subview_3 : memref<32x512xf16, strided<[512, 1], offset: ?>>, memref<32x512xf16, strided<[512, 1], offset: ?>>) outs(%subview_4 : memref<32x32xf16, strided<[512, 1], offset: ?>>)
    %subview_5 = memref.subview %collapse_shape[%arg6] [32] [1] : memref<512xf16> to memref<32xf16, strided<[1], offset: ?>>
    %alloc_6 = memref.alloc() {alignment = 64 : i64} : memref<32x32xf16> // allocating buffer for the result of 'linalg.broadcast'
    linalg.broadcast ins(%subview_5 : memref<32xf16, strided<[1], offset: ?>>) outs(%alloc_6 : memref<32x32xf16>) dimensions = [0]
    %subview_7 = memref.subview %arg3[%arg5, %arg6] [32, 32] [1, 1] : memref<512x512xf16> to memref<32x32xf16, strided<[512, 1], offset: ?>>
    linalg.add ins(%subview_4, %alloc_6 : memref<32x32xf16, strided<[512, 1], offset: ?>>, memref<32x32xf16>) outs(%subview_7 : memref<32x32xf16, strided<[512, 1], offset: ?>>)
    memref.dealloc %alloc_6 : memref<32x32xf16>
    scf.reduce
  }
  memref.dealloc %alloc : memref<512x512xf16>
  return
}

We can potentially lower linalg.broadcast to vector.broadcast in linalg-to-xegpu pass like this and get rid of unnecessary allocation:
Lowering 'linalg.broadcast' to xegpu
%subview_5 = memref.subview %collapse_shape[%arg6] [32] [1] : memref<512xf16> to memref<32xf16, strided<[1], offset: ?>>
// %alloc_6 = memref.alloc() {alignment = 64 : i64} : memref<32x32xf16> // allocating buffer for the result of 'linalg.broadcast'
// linalg.broadcast ins(%subview_5 : memref<32xf16, strided<[1], offset: ?>>) outs(%alloc_6 : memref<32x32xf16>) dimensions = [0]
%expand_shape = memref.expand_shape %subview_5 [[0, 1]] output_shape [32, 1] : memref<32xf16, strided<[1], offset: ?>> into memref<32x1xf16, strided<[1, 1], offset: ?>>
%51 = xegpu.create_nd_tdesc %expand_shape[%c0, %c0] : memref<32x1xf16, strided<[1, 1], offset: ?>> -> !xegpu.tensor_desc<32x1xf16, #xegpu.block_tdesc_attr<memory_scope =  global, array_length = 1 : i64, boundary_check = true>>
%52 = xegpu.update_nd_offset %51, [%c0, %c0] : !xegpu.tensor_desc<32x1xf16, #xegpu.block_tdesc_attr<memory_scope =  global, array_length = 1 : i64, boundary_check = true>>
%53 = xegpu.load_nd %52  : !xegpu.tensor_desc<32x1xf16, #xegpu.block_tdesc_attr<memory_scope =  global, array_length = 1 : i64, boundary_check = true>> -> vector<32x1xf16>
%54 = vector.broadcast %53 : vector<32x1xf16> to vector<32x32xf16>

However the chain of memref.subview + memref.expand_shape cannot be lowered into xegpu.create_nd_desc + xegpu.update_nd_desc by the xegpu-fold-alias-ops pass which eventually causes the pipeline to fail on imex-convert-gpu-to-spirv pass (error: failed to legalize operation 'memref.subview')
In order to fix that problem we have to get rid of  memref.collapse_shape (outside the loop) and memref.expand_shape (inside the loop). This should probably be a separate pass since this logic seems to not be related to linalg-to-xegpu lowering (or maybe there's already an upstream pass that does the same?):
Getting rid of collapse_shape + extend_shape
// ORIGINAL:
func.func @entry(%arg0: memref<512x512xf16>, %arg1: memref<512x512xf16>, %arg2: memref<1x512xf16>, %arg3: memref<512x512xf16>, %arg4: memref<i8>) {
  ...
  // have to get rid of this collapse_shape
  %collapse_shape = memref.collapse_shape %arg2 [[0, 1]] : memref<1x512xf16> into memref<512xf16>
  scf.parallel (%arg5, %arg6) = (%c0, %c0) to (%c512, %c512) step (%c32, %c32) {
    ...
    %subview_2 = memref.subview %collapse_shape[%arg6] [32] [1] : memref<512xf16> to memref<32xf16, strided<[1], offset: ?>>
    // have to get rid of this expand_shape
    %expand_shape = memref.expand_shape %subview_2 [[0, 1]] output_shape [32, 1] : memref<32xf16, strided<[1], offset: ?>> into memref<32x1xf16, strided<[1, 1], offset: ?>>
    %51 = xegpu.create_nd_tdesc %expand_shape[%c0, %c0] : memref<32x1xf16, strided<[1, 1], offset: ?>> -> !xegpu.tensor_desc<32x1xf16, #xegpu.block_tdesc_attr<memory_scope =  global, array_length = 1 : i64, boundary_check = true>>
    %52 = xegpu.update_nd_offset %51, [%c0, %c0] : !xegpu.tensor_desc<32x1xf16, #xegpu.block_tdesc_attr<memory_scope =  global, array_length = 1 : i64, boundary_check = true>>
    %53 = xegpu.load_nd %52  : !xegpu.tensor_desc<32x1xf16, #xegpu.block_tdesc_attr<memory_scope =  global, array_length = 1 : i64, boundary_check = true>> -> vector<32x1xf16>
    %54 = vector.broadcast %53 : vector<32x1xf16> to vector<32x32xf16>
    ...
  }
  return
}

// EXPECTED:
func.func @entry(%arg0: memref<512x512xf16>, %arg1: memref<512x512xf16>, %arg2: memref<1x512xf16>, %arg3: memref<512x512xf16>, %arg4: memref<i8>) {
  ...
  // removed collapse_shape
  // %collapse_shape = memref.collapse_shape %arg2 [[0, 1]] : memref<1x512xf16> into memref<512xf16>
  scf.parallel (%arg5, %arg6) = (%c0, %c0) to (%c512, %c512) step (%c32, %c32) {
    ...
    // broadcast %arg2 directly, no need to call 'expand_shape'
    %subview_2 = memref.subview %arg2[%c0, %arg6] [32, 32] [1, 1] : memref<1x512xf16> to memref<1x32xf16, strided<[1, 1], offset: ?>>
    %51 = xegpu.create_nd_tdesc %subview_2[%c0, %c0] : memref<1x32xf16, strided<[1, 1], offset: ?>> -> !xegpu.tensor_desc<32x1xf16, #xegpu.block_tdesc_attr<memory_scope =  global, array_length = 1 : i64, boundary_check = true>>
    %52 = xegpu.update_nd_offset %51, [%c0, %c0] : !xegpu.tensor_desc<32x1xf16, #xegpu.block_tdesc_attr<memory_scope =  global, array_length = 1 : i64, boundary_check = true>>
    %53 = xegpu.load_nd %52  : !xegpu.tensor_desc<32x1xf16, #xegpu.block_tdesc_attr<memory_scope =  global, array_length = 1 : i64, boundary_check = true>> -> vector<32x1xf16>
    %54 = vector.broadcast %53 : vector<32x1xf16> to vector<32x32xf16>
    ...
  }
  return
}

cc @kurapov-peter

authors: WangJialei-A dchigarev

repo: intel/graph-compiler


text:
[Engine]QAT Stable Diffusiomn Enabling

Type of Change
Feature Add
Description
Add QAT INT8 stable diffusion example.
Expected Behavior & Potential Risk
N/A
How has this PR been tested?
test ut-engine
Dependency Change?
N/A

https://inteltf-jenk.sh.intel.com/view/nlp-toolkit-validation/job/nlp-toolkit-validation-top-mr-extension/1270/

repo: intel/intel-extension-for-transformers


text:
End-to-end installation help on nightly Triton XPU backend

I'm trying to configure an full stack environment (i.e. from drivers/level zero runtimes to PyTorch/Triton) based off the nightly wheel artifacts, and have been encountering the following error:
In file included from /tmp/tmp7eobbn5x/main.cpp:17:
/opt/intel-xpu-backend-for-triton/third_party/intel/backend/include/sycl_functions.h:15:10: fatal error: 'level_zero/ze_api.h' file not found
   15 | #include <level_zero/ze_api.h>
      |          ^~~~~~~~~~~~~~~~~~~~~

I've followed the instructions from the rolling release for GPU drivers and the PyTorch pre-requisites for Intel GPUs instructions, and apparently the header files are still nowhere to be found. The relevant part of my installation steps:
RUN apt-get update -y && apt-get install -y software-properties-common wget git make g++ gcc gpg-agent
RUN wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB \
    | gpg --dearmor > /usr/share/keyrings/intel-for-pytorch-gpu-dev-keyring.gpg
RUN echo "deb [signed-by=/usr/share/keyrings/intel-for-pytorch-gpu-dev-keyring.gpg] https://apt.repos.intel.com/intel-for-pytorch-gpu-dev all main" > /etc/apt/sources.list.d/intel-for-pytorch-gpu-dev.list
RUN wget -qO - https://repositories.intel.com/gpu/intel-graphics.key \
    | gpg --yes --dearmor --output /usr/share/keyrings/intel-graphics.gpg
RUN echo "deb [arch=amd64 signed-by=/usr/share/keyrings/intel-graphics.gpg] https://repositories.intel.com/gpu/ubuntu noble unified" > /etc/apt/sources.list.d/intel-gpu-noble.list
RUN apt-get update -y && \
        apt-get upgrade -y && \
        apt-get install -y git make g++ gcc gpg-agent wget \
        intel-for-pytorch-gpu-dev-0.5 intel-pti-dev-0.9 \
        cmake \
        tzdata \
        zlib1g zlib1g-dev \
        xpu-smi \
        intel-opencl-icd
# make sure oneAPI components are in environment variables
RUN source /opt/intel/oneapi/setvars.sh
# make it so you don't have to source oneAPI every time
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]

FROM oneapi_xpu
# install Python packages
RUN micromamba install -y -n base -c conda-forge numpy pybind11 gh jq python=3.11 pip setuptools
# set aliases so python and pip are met
RUN ln -s /opt/conda/bin/python /usr/local/bin/python && ln -s /opt/conda/bin/pip /usr/local/bin/pip
# grab nightly wheels from Github
RUN git clone https://github.com/intel/intel-xpu-backend-for-triton.git /opt/xpu-backend
WORKDIR /opt/xpu-backend/scripts
RUN chmod +x compile-triton.sh && ./compile-triton.sh --clean
# add gh and jq which are requirements for this part
RUN ln -s /opt/conda/bin/gh /usr/local/bin/gh && ln -s /opt/conda/bin/jq /usr/local/bin/jq
# mounts github access token needed to pull artifacts from CI builds
RUN --mount=type=secret,id=gh_token \
    GH_TOKEN=$(cat /run/secrets/gh_token) \
    ./install-pytorch.sh

The installation itself doesn't fail, and I'm able to get as far as import triton to run successfully, but as soon as I get to running my benchmark I encounter the error above. The script I'm trying to run can be found here.
Could I get some guidance on what's missing?

Figured it out - I was missing level-zero-dev from the list of apt components.

repo: intel/intel-xpu-backend-for-triton


text:
Decounvolution output mismatch

Hi,
I have tried to use the deconvolution primitive instead of convolution_backward primitive  to implement the  transposed/de-convolution.
But I see the mismatch in the outputs when I  use the deconvolution primitive . When same input is given  to the convolution_backward primitive ,outputs match.
Dimensions of input, output ,weights and bias are given below
Inputs : batchsize-2, channels-3, height/width-5
outputs : batchsize-2, channels-4, height/width-5
weights : inputchannels-3, outputchannels-4. filterHeight/width-3
bias: size is 4
I have attached both the implementations for your reference . Please let me know If  I am missing anything here.
Thank you.
deconv_example_setup.tar.gz

Hi,
From your implementation I see that you pass bias to deconvolution primitive, so two primitives (bwd_d conv and deconv) perform different computations. Deconvolution with bias performs bwd_d convolution and adds bias to destination. Bwd_d convolution primitive does not perform any computations with bias.
Thanks,
Irina

One more thing,
When you call convolution bwd_d, physical layout of weights in your example is o=3i=4hw
So when calling deconvolution the layout of weights should be different: o=4i=3hw
for outputs of deconvolution and bwd_d convolution to match

Sure,
Both convolution and deconvolution in your examples take on input weights in oihw format which states for "output channels, input channels, height, width". However, because convolution and deconvolution act in different directions, source for convolution is a destination for deconvolution and number of input channels for convolution is the number of output channels for deconvolution. This implies that deconvolution and convolution expect different physical layout of weights in memory.
I know it is very confusing, so this is how it works for your example:
conv:
src [n =2, ic = 4, h=w =5]  * wei[oc =3, ic = 4, h=w=5]  = dst[n = 2, oc = 3, h=w=5]
deconv:
src [n =2, ic = 3, h=w =5]  * wei[oc =4, ic = 3, h=w=5]  = dst[n = 3, oc = 4, h=w=5]
To get the same result for deconvolution and bwd_d convolution you should pass source of conv as a destination to deconv, destination of conv as a source for deconv and transpose weights from oihw format to iohw. In your code it would be explicit transposition of weights array before passing it to deconvolution.

In the deconv.cpp that I have shared with you has the same dimensions that you specified below
deconv:
src [n =2, ic = 3, h=w =5] * wei[oc =4, ic = 3, h=w=5] = dst[n = 3, oc = 4, h=w=5]
However as per your explaination ,transpose of weights is the one that is missing.
It would be of great help if you could  update me the deconv.cpp code to do the transpose of weights.
One more point to note is the weights might already have been transposed since the conv_backward.cpp is working as is with the same inputs and weights.

After changing the weights layout . It worked using DeConvolution. Thank you.

authors: irinasok uu-praveeng

repo: intel/mkl-dnn


text:
IServiceBusClient should implement Document Message pattern

DocumentMessage is one of the Enterprise Integration Patters and should be supported as well as the Event Message, Command Message, and Request-Reply patterns.
Therefore there should be an Documents property on the IServiceBusClient<...> interface reflecting this pattern. The property could throw an NotSupportedException when not applicable.

Hi, yes I played around with the idea of just creating an IBus with only Messages property, which wouldn't distinguish by message type, but still have the endpoint concept. It would probably be done in parallel with ServiceBus rather than extending it.

Splitting the message types like I've done currently does provide some useful asymmetries for partitioning topics and subscriptions, but I can see how people might find a more generic message bus concept useful.
FYI, there is a IMessageBus in Obvs, but currently only has a super basic Subject encapsulating implementation. I use it in prod as a simple internal bus, but you can use the ServiceBus as a local bus now, meaning I've needed it less.

license: mit


text:
feat: format ratelimit messages with major params

Pull Request Type

[x] Feature addition
[ ] Bugfix
[ ] Documentation update
[ ] Code refactor
[ ] Tests improvement
[ ] CI/CD pipeline enhancement
[ ] Other: [Replace with a description]

Description

As requested, this pr makes http logging messages include the major params of the route

This intentionally does not format any param not considered major by the API
Changes

Add major_params property to Route
Add resolved_endpoint property to Route
Add resolved_path to Route
Route.url now uses Route.resolved_path for assembly
Update logging messages in HttpClient.request

Related Issues

Test Scenarios

logging.basicConfig()
logging.getLogger("interactions").setLevel(logging.DEBUG)

bot = Client()

@listen()
async def on_startup():
    print(f"Logged in as {bot.user}")

    channel = bot.get_channel(1085629305129807872)
    message = await channel.send("Hello world!")

    try:
        for _ in range(5):
            await message.add_reaction("👍")
            await message.remove_reaction("👍", bot.user)
    finally:
        await message.delete()

Run this and look at the logs
Python Compatibility

[ ] I've ensured my code works on Python 3.10.x
[x] I've ensured my code works on Python 3.11.x

Checklist

[x] I've run the pre-commit code linter over all edited files
[x] I've tested my changes on supported Python versions
[ ] I've added tests for my code, if applicable
[ ] I've updated / added  documentation, where applicable

Codecov Report
Patch coverage: 46.15% and project coverage change: -12.97 :warning:

Comparison is base (758d80c) 60.43% compared to head (2cfd9a5) 47.47%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@              Coverage Diff              @@
##           unstable    #1360       +/-   ##
=============================================
- Coverage     60.43%   47.47%   -12.97%
=============================================
  Files           139      139
  Lines         14477    14489       +12
=============================================
- Hits           8749     6878     -1871
- Misses         5728     7611     +1883

Impacted Files
Coverage Δ

interactions/api/http/http_client.py
28.68% <ø> (-50.39%)
:arrow_down:

interactions/api/http/route.py
50.90% <46.15%> (-32.82%)
:arrow_down:

... and 62 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

authors: LordOfPolls codecov-commenter


text:
Application boilerplate installation error

Hi everyone,
I was trying to run the biolerplate provided by the package and I can't seem to get it working.
Seems like some dependencies paths were changed on a new release. Below you can find the console error messages after trying to connect to http://localhost:1337/ :

The steps to reproduce this error are detailed below:

Executed npm init

Executed npm install zombiebox

Executed npm install zombiebox-platform-pc zombiebox-extension-cutejs

Created config.js on root folder

Executed npx zombiebox init zombiebox-spike

Executed npx zombiebox run

Hello, thanks for trying ZombieBox.
I couldn't reproduce the issue with exactly those steps.
What was the contents of your config.js file that you created prior to running zombiebox init?
This file is not necessary at that step and in fact, init command generated a new one and overrode the one you created. But perhaps it changed the way CLI configured itself on the initialisation step and that affected the boilerplate.
You can also try the same steps minus step 4 to see if config file was the culprit.
Also note that recently ZombieBox CLI received a --log-level option that can help understand what's going on and pinpoint the issue. Try adding --log-level debug argument.

@l1bbcsg actually I used the config.js from a previous zombiebox init since I was getting the below attached error, and I thought that was the main cause:

Either way, I did tried what you stated and got the same result. I will go ahead and try running the CLI with loglevel tag.

@l1bbcsg I have tried running with --log-level tag and can't see anyhting abnormal.

And also the same result on npx zombiebox run:

As I can see it is trying to reach a 'zb' dependency. While navigating node_modules I found out that the zombiebox package does have a subfolder under 'zb' name, and shares the structure from the GET request errors.

So my guess is that the path on those GET request are missing the zombiebox at the beginning

Thanks, that rules out any issues with config.
We managed to reproduce this issue on Windows machine, so it appears to be some OS compatibility issue. ZombieBox should work on Windows, so that's definitely a bug somewhere in filesystem operations.
I'll look into it, shouldn't be hard to pinpoint and fix.

This was addressed in version 2.7.0, the version was published to both github and npm and the issue should now be fixed.
No need to regenerate boilerplate or change existing applications, the changes are contained within ZombieBox engine.

I did actually needed to regenerate the boilerplate! But now it works! Thanks a lot.

repo: interfaced/zombiebox


text:
[FEATURE REQUEST] a consistent flow to share keys with the wallet

See https://github.com/interledger/rafiki/discussions/2803 and https://github.com/interledger/web-monetization-extension/issues/311.
Filing here as it's a long term solution we're after. For the extension, we're gonna hack our way around it, so closing that issue there.

@sidvishnoi can we transfer this to the testnet repo for the a long-term solution? its more of a wallet concern than a direct Rafiki concern

Up to you, but I'd prefer a consistent API being part of Rafiki/OP, so wallets get it for free. Making it a wallet/testnet concern means other wallets will have to follow same approach - which is kinda what we want here - a standard.

@sidvishnoi will convert this to a discussion

authors: mkurapov sidvishnoi

repo: interledger/rafiki


text:
Port privacypass to noble-curves

[x] Extract sjcl code to new lib @coil/privacypass-sjcl
[x] Make code not depend on browser globals (fetch/atob/btoa etc)
[ ] Create test fixtures for @coil/privacypass-sjcl
[ ] Solve operations on p256 curve 4x slower than secp256k1 for elliptic

Following up on this. Discovered that elliptic is only faster than sjcl for secp256k1 curve.
So there's not much point to this.
We could move the server to use secp256k1

Alternatively, we could create our own ECC lib using BigInt as per:
https://github.com/paulmillr/noble-secp256k1/

https://github.com/paulmillr/noble-curves
Has P256 support

repo: interledger/web-monetization-projects


text:
Purpose quote

I used CSS transforming to vertically align the quotes with the text but that spaces the author line just the tiniest bit more then the figma, if its a problem let me know and I can try and look for another method.  (maybe custom fonts or replacing the quotes with images?)

I think this is fine for now. In the future we might want to just use an svg for this since there is so much custom styling.

authors: Andrew-Dame Isaac-Best


text:
disable browser extensions

--disable-extensions keeps Chromium from installing Chrome extensions—lastpass was very troublesome until I added this.
There's a great list of Chromium command line switches here: http://peter.sh/experiments/chromium-command-line-switches/
I'm curious to know why brozzler uses --window-size=1100,900
I'm curious to know wh

I picked --window-size=1100,900 arbitrarily as a not very big but not crazy small standard browser window size. Of course the screenshots will be this size. I'm definitely open to discussing or changing that...

authors: galgeek nlevitt

repo: internetarchive/brozzler


text:
Released artifact doesn't load correctly for certain docker images

Environment
The released artifacts cannot be loaded correctly on certain platforms. I tried to install zpm-0.7.1.xml
on docker image containers.intersystems.com/intersystems/iris-community-arm64:2024.1.
Reproduce
The output is
USER>set sc = ##class(%SYSTEM.OBJ).Load("/home/irisowner/zpm.xml", "ck")

Load started on 06/03/2024 17:55:56
Loading file /home/irisowner/zpm.xml as xml
Imported class: %ZPM.Installer
Compiling class %ZPM.Installer
Compiling routine %ZPM.Installer.1
Extract package
Install ZPM
2024-06-03 17:55:56 0 %ZPM.Installer: Installation starting at 2024-06-03 17:55:56, LogLevel=3
2024-06-03 17:55:56 3 Evaluate: ${MODDIR}src -> /usr/irissys/mgr/user/-28/src
2024-06-03 17:55:56 3 SetVariable: SRCDIR=/usr/irissys/mgr/user/-28/src/
2024-06-03 17:55:56 3 SetVariable: REGISTRY=https://pm.community.intersystems.com
2024-06-03 17:55:56 3 SetVariable: TRACKINGID=UA-126752118-1
2024-06-03 17:55:56 3 Evaluate: ${SRCDIR} -> /usr/irissys/mgr/user/-28/src/
2024-06-03 17:55:56 1 Import: Loading /usr/irissys/mgr/user/-28/src/ (isdir=0) into %SYS, recurse=1

Load started on 06/03/2024 17:55:56

ERROR #5012: File '/usr/irissys/mgr/user/-28/src/' does not exist
Detected 1 errors during load.
2024-06-03 17:55:56 0 %ZPM.Installer: ERROR #5012: File '/usr/irissys/mgr/user/-28/src/' does not exist
2024-06-03 17:55:56 0 %ZPM.Installer: Installation failed at 2024-06-03 17:55:56
2024-06-03 17:55:56 0 %Installer: Elapsed time .000893s
Time spent 1.006259
ERROR #5012: File '/usr/irissys/mgr/user/-28/src/' does not exist
  > ERROR #5090: An error has occurred while creating projection %ZPM.Installer:Reference.
Detected 1 errors during load.

Clues
Apparently the MODDIR variable in the .xml file is somehow evaluated to /usr/irissys/mgr/user/-28/. Not sure where the -28 comes from. In ASCII table, 28 (as decimal) is file separator. Not sure if it's related.
On the other hand, running the above command on native IRIS (macOS ARM64 version) works fine.

This is a strange issue that I cannot reproduce on my company issued laptop. I encountered this problem on my personal device (while my company-issued laptop is in repair). Both devices are M-series MacBook Pros.
I'll close it for now and can reopen if anyone gets the same error in the future.

After debugging with @isc-tleavitt, it turned out that 28 is caused by $zu(140, 17) which attempts to create a temporary directory. This is functionally equivalent to mktemp -d on Unix platforms. Errno 28 indicates no space left on device.
Upon further examination, it turned out that the /tmp directory in my container is mounted as overlay filesystem, which had 0% availability. I resolved it by running docker system prune -a. An alternative fix is to run the container with --mount type=tmpfs,destination=/tmp.
A fix should be implemented by checking the return value of $zu(140,17).

repo: intersystems/ipm


text:
Installation of 3rd party library telegram-gpt causes   when calling $zf in DetectPipCaller()

When installing telegram-gpt, it installs several dependencies including a iris-openai. Somehow when installing this dependency, $zf(-100) throws a  error. Not sure how it happened. My guess is that because the log file for stdout and stderr are hardcoded, this somehow triggered a lock-ish issue?
Changing $zf(-100) to ##class(%IPM.Utils.Module).RunCommand() seems to resolve the issue on my machine, but needs further verification on windows.

Installation log collapsed. Click to see details

zpm:INTEROP>install telegram-gpt -verbose

Module telegram-gpt was downloaded from registry (https://pm.community.intersystems.com)
Loading from /opt/zpm07/mgr/.modules/INTEROP/telegram-gpt/0.3.2/

Load started on 08/20/2024 11:18:39
Loading file /opt/zpm07/mgr/.modules/INTEROP/telegram-gpt/0.3.2/module.xml as xml
Imported document: telegram-gpt.ZPM
Load finished successfully.

Dependencies:
iris-openai 1.2.0 @ registry
objectscript-json-trace-viewer 1.0.1 @ registry
production-settings 1.0.4 @ registry
sslclient 1.0.4 (installed)
telegram-adapter 1.1.2 @ registry
Module production-settings was downloaded from registry (https://pm.community.intersystems.com)
Loading from /opt/zpm07/mgr/.modules/INTEROP/production-settings/1.0.4/

Load started on 08/20/2024 11:18:43
Loading file /opt/zpm07/mgr/.modules/INTEROP/production-settings/1.0.4/module.xml as xml
Imported document: production-settings.ZPM
Load finished successfully.

Skipping preload - directory does not exist.
Load started on 08/20/2024 11:18:43
Loading file /opt/zpm07/mgr/.modules/INTEROP/production-settings/1.0.4/module.xml as xml
Imported document: production-settings.ZPM
Load finished successfully.

Loading production-settings in process 97771
[INTEROP|production-settings]	Reload START (/opt/zpm07/mgr/.modules/INTEROP/production-settings/1.0.4/)
[INTEROP|production-settings]	requirements.txt START

Detecting pip caller
Attempting to find flexible python...
Attempting to find python3 or python...
[INTEROP|production-settings]	requirements.txt FAILURE
[production-settings]	Reload FAILURE
Module objectscript-json-trace-viewer was downloaded from registry (https://pm.community.intersystems.com)
Loading from /opt/zpm07/mgr/.modules/INTEROP/objectscript-json-trace-viewer/1.0.1/

Load started on 08/20/2024 11:18:43
Loading file /opt/zpm07/mgr/.modules/INTEROP/objectscript-json-trace-viewer/1.0.1/module.xml as xml
Imported document: objectscript-json-trace-viewer.ZPM
Load finished successfully.

Skipping preload - directory does not exist.
Load started on 08/20/2024 11:18:43
Loading file /opt/zpm07/mgr/.modules/INTEROP/objectscript-json-trace-viewer/1.0.1/module.xml as xml
Imported document: objectscript-json-trace-viewer.ZPM
Load finished successfully.

Loading objectscript-json-trace-viewer in process 97769
[INTEROP|objectscript-json-trace-viewer]	Reload START (/opt/zpm07/mgr/.modules/INTEROP/objectscript-json-trace-viewer/1.0.1/)
Skipping preload - directory does not exist.
Load of directory started on 08/20/2024 11:18:43 '*'

Loading file /opt/zpm07/mgr/.modules/INTEROP/objectscript-json-trace-viewer/1.0.1/src/cls/Grongier/JsonTraceViewer/Message.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/objectscript-json-trace-viewer/1.0.1/src/cls/Grongier/JsonTraceViewer/Request.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/objectscript-json-trace-viewer/1.0.1/src/cls/Grongier/JsonTraceViewer/Response.cls as udl
Load finished successfully.

[INTEROP|objectscript-json-trace-viewer]	Reload SUCCESS
[objectscript-json-trace-viewer]	Module object refreshed.
[INTEROP|objectscript-json-trace-viewer]	Validate START
[INTEROP|objectscript-json-trace-viewer]	Validate SUCCESS
[INTEROP|objectscript-json-trace-viewer]	Compile START
Compilation started on 08/20/2024 11:18:43 with qualifiers 'd-lck'
Compiling 3 classes
Compiling class Grongier.JsonTraceViewer.Message
Compiling class Grongier.JsonTraceViewer.Request
Compiling class Grongier.JsonTraceViewer.Response
Compiling table Grongier_JsonTraceViewer.Message
Compiling table Grongier_JsonTraceViewer.Request
Compiling table Grongier_JsonTraceViewer.Response
Compiling routine Grongier.JsonTraceViewer.Message.1
Compiling routine Grongier.JsonTraceViewer.Request.1
Compiling routine Grongier.JsonTraceViewer.Response.1
Compilation finished successfully in 0.129s.

[INTEROP|objectscript-json-trace-viewer]	Compile SUCCESS
[INTEROP|objectscript-json-trace-viewer]	Activate START
[INTEROP|objectscript-json-trace-viewer]	Configure START
[INTEROP|objectscript-json-trace-viewer]	Configure SUCCESS
[INTEROP|objectscript-json-trace-viewer]	Activate SUCCESS
Module telegram-adapter was downloaded from registry (https://pm.community.intersystems.com)
Loading from /opt/zpm07/mgr/.modules/INTEROP/telegram-adapter/1.1.2/

Load started on 08/20/2024 11:18:44
Loading file /opt/zpm07/mgr/.modules/INTEROP/telegram-adapter/1.1.2/module.xml as xml
Imported document: telegram-adapter.ZPM
Load finished successfully.

Skipping preload - directory does not exist.
Load started on 08/20/2024 11:18:44
Loading file /opt/zpm07/mgr/.modules/INTEROP/telegram-adapter/1.1.2/module.xml as xml
Imported document: telegram-adapter.ZPM
Load finished successfully.

Loading telegram-adapter in process 97771
[INTEROP|telegram-adapter]	Reload START (/opt/zpm07/mgr/.modules/INTEROP/telegram-adapter/1.1.2/)
Skipping preload - directory does not exist.
Load of directory started on 08/20/2024 11:18:44 '*'

Loading file /opt/zpm07/mgr/.modules/INTEROP/telegram-adapter/1.1.2/src/Telegram/API.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/telegram-adapter/1.1.2/src/Telegram/BusinessOperation.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/telegram-adapter/1.1.2/src/Telegram/InboundAdapter.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/telegram-adapter/1.1.2/src/Telegram/JSONContainer.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/telegram-adapter/1.1.2/src/Telegram/LongPollingService.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/telegram-adapter/1.1.2/src/Telegram/OutboundAdapter.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/telegram-adapter/1.1.2/src/Telegram/Request.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/telegram-adapter/1.1.2/src/Telegram/WebHook.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/telegram-adapter/1.1.2/src/Telegram/WebHookService.cls as udl
Load finished successfully.

[INTEROP|telegram-adapter]	Reload SUCCESS
[telegram-adapter]	Module object refreshed.
[INTEROP|telegram-adapter]	Validate START
[INTEROP|telegram-adapter]	Validate SUCCESS
[INTEROP|telegram-adapter]	Compile START
Dependencies:
objectscript-json-trace-viewer 1.0.1 (installed)
sslclient 1.0.4 (installed)
Compilation started on 08/20/2024 11:18:44 with qualifiers 'd-lck'
Compiling 9 classes
Compiling class Telegram.API
Compiling class Telegram.BusinessOperation
Compiling class Telegram.InboundAdapter
Compiling class Telegram.JSONContainer
Compiling class Telegram.LongPollingService
Compiling class Telegram.OutboundAdapter
Compiling class Telegram.Request
Compiling class Telegram.WebHook
Compiling class Telegram.WebHookService
Compiling table Telegram.JSONContainer
Compiling table Telegram.Request
Compiling routine Telegram.API.1
Compiling routine Telegram.BusinessOperation.1
Compiling routine Telegram.InboundAdapter.1
Compiling routine Telegram.JSONContainer.1
Compiling routine Telegram.LongPollingService.1
Compiling routine Telegram.OutboundAdapter.1
Compiling routine Telegram.Request.1
Compiling routine Telegram.WebHook.1
Compiling routine Telegram.WebHookService.1
Compilation finished successfully in 0.281s.

[INTEROP|telegram-adapter]	Compile SUCCESS
[INTEROP|telegram-adapter]	Activate START
[INTEROP|telegram-adapter]	Configure START
Creating Web Application /tg
    AutheEnabled: 64
    AuthenticationMethods:
    AutoCompile: 1
    CSPZENEnabled: 1
    ChangePasswordPage:
    CookiePath: /tg/
    DeepSeeEnabled: 0
    Description:
    DispatchClass: Telegram.WebHook
    Enabled: 1
    ErrorPage:
    EventClass:
    GroupById:
    HyperEvent: 0
    InbndWebServicesEnabled: 1
    IsNameSpaceDefault: 0
    LockCSPName: 1
    LoginPage:
    LoginTokenEnabled: 0
    MatchRoles: :%All
    NameSpace: INTEROP
    Package:
    Path:
    PermittedClasses:
    Recurse: 1
    Resource:
    ServeFiles: 2
    ServeFilesTimeout: 3600
    SuperClass:
    Timeout: 900
    TwoFactorEnabled: 0
    Type: 2
    UseCookies: 2
    iKnowEnabled: 0
Done.
[INTEROP|telegram-adapter]	Configure SUCCESS
[INTEROP|telegram-adapter]	Activate SUCCESS
Module iris-openai was downloaded from registry (https://pm.community.intersystems.com)
Loading from /opt/zpm07/mgr/.modules/INTEROP/iris-openai/1.2.0/

Load started on 08/20/2024 11:18:44
Loading file /opt/zpm07/mgr/.modules/INTEROP/iris-openai/1.2.0/module.xml as xml
Imported document: iris-openai.ZPM
Load finished successfully.

Skipping preload - directory does not exist.
Load started on 08/20/2024 11:18:44
Loading file /opt/zpm07/mgr/.modules/INTEROP/iris-openai/1.2.0/module.xml as xml
Imported document: iris-openai.ZPM
Load finished successfully.

Loading iris-openai in process 97770
[INTEROP|iris-openai]	Reload START (/opt/zpm07/mgr/.modules/INTEROP/iris-openai/1.2.0/)
Skipping preload - directory does not exist.
Load of directory started on 08/20/2024 11:18:44 '*'

Loading file /opt/zpm07/mgr/.modules/INTEROP/iris-openai/1.2.0/src/St/OpenAi/OpenAi.inc as udl
St.OpenAi.OpenAi.INC Loaded
Loading file /opt/zpm07/mgr/.modules/INTEROP/iris-openai/1.2.0/src/St/OpenAi/B64/Util.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/iris-openai/1.2.0/src/St/OpenAi/BO/Api/Base.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/iris-openai/1.2.0/src/St/OpenAi/BO/Api/Connect.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/iris-openai/1.2.0/src/St/OpenAi/Msg/Api/CallApi.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/iris-openai/1.2.0/src/St/OpenAi/Msg/Api/CallApiStream.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/iris-openai/1.2.0/src/St/OpenAi/Msg/Api/Response.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/iris-openai/1.2.0/src/St/OpenAi/Msg/Audio/AudioRequest.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/iris-openai/1.2.0/src/St/OpenAi/Msg/Audio/AudioResponse.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/iris-openai/1.2.0/src/St/OpenAi/Msg/Audio/AudioSegments.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/iris-openai/1.2.0/src/St/OpenAi/Msg/Audio/SpeachRequest.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/iris-openai/1.2.0/src/St/OpenAi/Msg/Audio/SpeachResponse.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/iris-openai/1.2.0/src/St/OpenAi/Msg/Base/Usage.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/iris-openai/1.2.0/src/St/OpenAi/Msg/Chat/ChatChoice.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/iris-openai/1.2.0/src/St/OpenAi/Msg/Chat/ChatMessage.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/iris-openai/1.2.0/src/St/OpenAi/Msg/Chat/ChatRequest.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/iris-openai/1.2.0/src/St/OpenAi/Msg/Chat/ChatResponse.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/iris-openai/1.2.0/src/St/OpenAi/Msg/Chat/ChatUsage.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/iris-openai/1.2.0/src/St/OpenAi/Msg/Images/ImagesData.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/iris-openai/1.2.0/src/St/OpenAi/Msg/Images/ImagesRequest.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/iris-openai/1.2.0/src/St/OpenAi/Msg/Images/ImagesResponse.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/iris-openai/1.2.0/src/St/OpenAi/Msg/Model/ListModelRequest.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/iris-openai/1.2.0/src/St/OpenAi/Msg/Model/ListModelResponse.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/iris-openai/1.2.0/src/St/OpenAi/Msg/Model/Model.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/iris-openai/1.2.0/src/St/OpenAi/Msg/Model/ModelRequest.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/iris-openai/1.2.0/src/St/OpenAi/Msg/Model/ModelResponse.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/iris-openai/1.2.0/src/St/OpenAi/Msg/Model/Permissions.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/iris-openai/1.2.0/src/St/OpenAi/Msg/Moderation/Category.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/iris-openai/1.2.0/src/St/OpenAi/Msg/Moderation/CategoryScore.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/iris-openai/1.2.0/src/St/OpenAi/Msg/Moderation/ModerationRequest.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/iris-openai/1.2.0/src/St/OpenAi/Msg/Moderation/ModerationResponse.cls as udl
Loading file /opt/zpm07/mgr/.modules/INTEROP/iris-openai/1.2.0/src/St/OpenAi/Msg/Moderation/Result.cls as udl
Load finished successfully.

[INTEROP|iris-openai]	Reload SUCCESS
[iris-openai]	Module object refreshed.
[INTEROP|iris-openai]	Validate START
[INTEROP|iris-openai]	Validate SUCCESS
[INTEROP|iris-openai]	Compile START
Compilation started on 08/20/2024 11:18:45 with qualifiers 'd-lck'
Compiling 31 classes
Compiling class St.OpenAi.B64.Util
Compiling class St.OpenAi.BO.Api.Base
Compiling class St.OpenAi.Msg.Api.CallApi
Compiling class St.OpenAi.Msg.Api.CallApiStream
Compiling class St.OpenAi.Msg.Api.Response
Compiling class St.OpenAi.Msg.Audio.AudioRequest
Compiling class St.OpenAi.Msg.Audio.AudioSegments
Compiling class St.OpenAi.Msg.Audio.SpeachRequest
Compiling class St.OpenAi.Msg.Base.Usage
Compiling class St.OpenAi.Msg.Chat.ChatMessage
Compiling class St.OpenAi.Msg.Images.ImagesData
Compiling class St.OpenAi.Msg.Images.ImagesRequest
Compiling class St.OpenAi.Msg.Model.ListModelRequest
Compiling class St.OpenAi.Msg.Model.ModelRequest
Compiling class St.OpenAi.Msg.Model.Permissions
Compiling class St.OpenAi.Msg.Moderation.Category
Compiling class St.OpenAi.Msg.Moderation.CategoryScore
Compiling class St.OpenAi.Msg.Moderation.ModerationRequest
Compiling class St.OpenAi.BO.Api.Connect
Compiling class St.OpenAi.Msg.Audio.AudioResponse
Compiling class St.OpenAi.Msg.Audio.SpeachResponse
Compiling class St.OpenAi.Msg.Chat.ChatChoice
Compiling class St.OpenAi.Msg.Chat.ChatRequest
Compiling class St.OpenAi.Msg.Chat.ChatUsage
Compiling class St.OpenAi.Msg.Images.ImagesResponse
Compiling class St.OpenAi.Msg.Model.Model
Compiling class St.OpenAi.Msg.Moderation.Result
Compiling class St.OpenAi.Msg.Chat.ChatResponse
Compiling class St.OpenAi.Msg.Model.ListModelResponse
Compiling class St.OpenAi.Msg.Model.ModelResponse
Compiling class St.OpenAi.Msg.Moderation.ModerationResponse
Compiling table St_OpenAi_Msg_Api.Response
Compiling table St_OpenAi_Msg_Audio.AudioRequest
Compiling table St_OpenAi_Msg_Audio.AudioResponse
Compiling table St_OpenAi_Msg_Audio.SpeachRequest
Compiling table St_OpenAi_Msg_Audio.SpeachResponse
Compiling table St_OpenAi_Msg_Chat.ChatRequest
Compiling table St_OpenAi_Msg_Chat.ChatResponse
Compiling table St_OpenAi_Msg_Images.ImagesRequest
Compiling table St_OpenAi_Msg_Images.ImagesResponse
Compiling table St_OpenAi_Msg_Model.ListModelRequest
Compiling table St_OpenAi_Msg_Model.ListModelResponse
Compiling table St_OpenAi_Msg_Model.ModelRequest
Compiling table St_OpenAi_Msg_Model.ModelResponse
Compiling table St_OpenAi_Msg_Moderation.ModerationRequest
Compiling table St_OpenAi_Msg_Moderation.ModerationResponse
Compiling routine St.OpenAi.B64.Util.1
Compiling routine St.OpenAi.BO.Api.Base.1
Compiling routine St.OpenAi.Msg.Api.CallApi.1
Compiling routine St.OpenAi.Msg.Api.CallApiStream.1
Compiling routine St.OpenAi.Msg.Api.Response.1
Compiling routine St.OpenAi.Msg.Audio.AudioRequest.1
Compiling routine St.OpenAi.Msg.Audio.AudioSegments.1
Compiling routine St.OpenAi.Msg.Audio.SpeachRequest.1
Compiling routine St.OpenAi.Msg.Base.Usage.1
Compiling routine St.OpenAi.Msg.Chat.ChatMessage.1
Compiling routine St.OpenAi.Msg.Images.ImagesData.1
Compiling routine St.OpenAi.Msg.Images.ImagesRequest.1
Compiling routine St.OpenAi.Msg.Model.ListModelRequest.1
Compiling routine St.OpenAi.Msg.Model.ModelRequest.1
Compiling routine St.OpenAi.Msg.Model.Permissions.1
Compiling routine St.OpenAi.Msg.Moderation.Category.1
Compiling routine St.OpenAi.Msg.Moderation.CategoryScore.1
Compiling routine St.OpenAi.Msg.Moderation.ModerationRequest.1
Compiling routine St.OpenAi.BO.Api.Connect.1
Compiling routine St.OpenAi.Msg.Audio.AudioResponse.1
Compiling routine St.OpenAi.Msg.Audio.SpeachResponse.1
Compiling routine St.OpenAi.Msg.Chat.ChatChoice.1
Compiling routine St.OpenAi.Msg.Chat.ChatRequest.1
Compiling routine St.OpenAi.Msg.Chat.ChatUsage.1
Compiling routine St.OpenAi.Msg.Images.ImagesResponse.1
Compiling routine St.OpenAi.Msg.Model.Model.1
Compiling routine St.OpenAi.Msg.Moderation.Result.1
Compiling routine St.OpenAi.Msg.Chat.ChatResponse.1
Compiling routine St.OpenAi.Msg.Model.ListModelResponse.1
Compiling routine St.OpenAi.Msg.Model.ModelResponse.1
Compiling routine St.OpenAi.Msg.Moderation.ModerationResponse.1
Compilation finished successfully in 1.210s.

[INTEROP|iris-openai]	Compile SUCCESS
[INTEROP|iris-openai]	Activate START
[INTEROP|iris-openai]	Configure START
[INTEROP|iris-openai]	Configure SUCCESS
[INTEROP|iris-openai]	Activate SUCCESS
ERROR! ObjectScript error: <NOTOPEN>DetectPipCaller+62^%ZPM.PackageManager.Developer.Lifecycle.Base.1
zpm:INTEROP>

@isc-shuliu it would be reasonable to use temp files for the output and error log

Fixed under #543 (master) and #538 (v1)

authors: isc-shuliu isc-tleavitt


text:
PairRequest always return false when I try to pair bluetooth mouse

Hi,
I am using 32feet to discover a bluetooth mouse and try to pair and connect to it, but the PairRequest always return false.  The device class is "miscellaneous". The function HandleRequests is not executed too.
The following is my code. Hope to get you answer, thank you!
EventHandler handler = new EventHandler(HandleRequests);
BluetoothWin32Authentication auth = new BluetoothWin32Authentication(handler);
protected void PairBluetoothTask(BluetoothDeviceInfo device)
{
bool isPaired = BluetoothSecurity.PairRequest(device.DeviceAddress, null);
if (isPaired)
{
Console.WriteLine(device.DeviceName + " paired!");
}
else
{
Console.WriteLine(device.DeviceName + " not paired!");
}
}
private void HandleRequests(object that, BluetoothWin32AuthenticationEventArgs e)
{
e.Confirm = true;
}

What OS version are you running? Are you sure that an empty pin is the expected value?

I am using Win10, I think it is because my Bluetooth mouse is BLE. May I know whether 32feet support BLE now?

At the moment this api doesn’t support pairing with BTLE devices. I’m currently working on integrating this.

authors: hchtao peterfoot


text:
IE11 support issue

I am using react-big-calendar version 0.19 . IE 11 does not support this version. I am getting this error :
Array length must be a finite positive integer(Timeslots.js). any one facing  the same issue ? I tried every possible solution related to this issue... please help
Please refer the following code
import React from "react";
import BigCalendar from "react-big-calendar";
import moment from "moment";
import "react-big-calendar/lib/css/react-big-calendar.css";
BigCalendar.setLocalizer(BigCalendar.momentLocalizer(moment));
const Calendar = props => {
return (
<div style={{ height: "100vh" }}>
<BigCalendar
events={props.events}
defaultView="week"
selectable="ignoreEvents"
onSelectEvent={props.selectSession}
onSelectSlot={props.onSelectSlot}
defaultDate={new Date()}
min={new Date("2018, 1, 1, 08:00")}
max={new Date("2018, 1, 1, 20:00")}
eventPropGetter={props.eventStyleGetter}
dayPropGetter={props.eventDaysStyleGetter}
step={30}
timeslots={2}
date={props.eventDate}
onNavigate={props.navigateEventDate}
/>

);
};
export default Calendar;

@snehalkale41995

does it work in other browsers?
could you create a minimal, complete, and verifiable example on CodeSandBox?

repo: intljusticemission/react-big-calendar


text:
Documentation error - Enviroment Switching for Gradle

In documentation https://github.com/intuit/karate#switching-the-environment
it configure gradlew enviroment variable using :
./gradlew test -Dkarate.env=e2e
but that dont work

The right way is :
command with -P
./gradlew test -Pkarate.env=e2e
and in build.gradle.tk (in my case) file :
systemProperties.set("karate.env", project.gradle.startParameter.projectProperties.get("env"))
i was 2 hours looking a workarround , if its only my case with kotlin, please make an annotation for some else
thanks!

@federicomarilungo ah gradle, my nemesis. I am not a gradle expert and am going to get someone I know to look at this and comment here, thanks for reporting. can you do me a favor and let me know what you think of https://github.com/intuit/karate/pull/1336 - is that ok or what

Have you tried wrapping the -D options in quotes?  I'm using the following and karate-config.js is picking up the -D options correctly.
gradle build -Plocal "-DfileLogLevel=info" "-DconsoleLogLevel=debug"
-Plocal is working as well, it's project specific and makes my build use local maven dependencies (I use it to make sure my Karate wrapper works before pushing to AzureGit).

And, my karate-config.js (I use a karate-base.js so config is short):
function fn() {     var fileLogLevel = karate.properties['fileLogLevel'];     var consoleLogLevel = karate.properties['consoleLogLevel'];     karate.log('fileLogLevel system property was:', fileLogLevel);     karate.log('consoleLogLevel system property was:', consoleLogLevel); }

lots of thanks!

@federicomarilungo ah gradle, my nemesis. I am not a gradle expert and am going to get someone I know to look at this and comment here, thanks for reporting. can you do me a favor and let me know what you think of #1336 - is that ok or what

I believe is ok , but its an older gradle version
gradle in karate demo should be updated
im using gradle with kotlin now , so i cant test it easily
really thanks for answer. may be its works ok in older version of gradle

I'm using Gradle 6.2.2, which isn't 'THAT' old.  We can't move passed that yet because our internal maven repository isn't publishing it's certs for TLS yet.  :-/

ok, I'll see if anyone contributes a PR

I'm closing this - if anything needs to be changed in karate, I need a PR @federicomarilungo

authors: federicomarilungo krstcs ptrthomas

repo: intuit/karate


text:
release: v1.0.0b1

Signed-off-by: Krzysztof Nowak k.nowak@cern.ch

Docs are currently not building correctly: http://invenio-mail.readthedocs.io

@lnielsen Still not building after adding the dependency to "docs"

@lnielsen docs should build once this is merged: https://github.com/inveniosoftware/invenio-mail/pull/33

#32 merged. Just waiting to see if read the docs builds correctly.

@lnielsen docs built correctly

authors: krzysztof lnielsen

repo: inveniosoftware/invenio-mail


text:
moderate: change from 'Orcid' to 'orcid'

moderate: that change from 'Orcid' to 'orcid' above will need to be spread here and everywhere in rdm-records
Originally posted by @fenekku in https://github.com/inveniosoftware/invenio-rdm-records/pull/212#discussion_r508081208

This has been solved by https://github.com/inveniosoftware/invenio-rdm-records/pull/220
The idea behind it is that every vocabulary item will have a lowercased id, then the labels can be camel case or whatever else. This will be less error-prone when comparing etc.

authors: fenekku ppanero

repo: inveniosoftware/invenio-rdm-records


text:
facets not working for subjects

because the labelling class goes to look for the custom ones and those do not exist in the db/es

Facets are not working for resource types either so splitting this off into a separate issue: https://github.com/inveniosoftware/invenio-rdm-records/issues/785

repo: inveniosoftware/invenio-vocabularies


text:
[bug]: Windows src installer fails on exfat partition

Is there an existing issue for this?

[X] I have searched the existing issues

OS
Windows
GPU
cuda
VRAM
24GB
What happened?
Tried to install the windows source 2.2.0 script and it fails to install with an error
Screenshots

Additional context
This seems to happen only if the partition is formatted as exFAT. Made a virtual drive with NTFS on the same exFAT partition and the installation seems to be going normally. Also tried in a native NTFS drive and it worked. However any exFAT drive I could find failed to run the installer.
Contact Details
No response

I'm afraid we didn't test exFAT filesystem installs and this is a surprise.
Does this happen when you double-click or when you run the command from within the shell, or both?

Both, nothing changes whether it is double clicked or ran from the cmd prompt.

authors: kryztoval lstein

repo: invoke-ai/InvokeAI


text:
🛑 Bitwage API (Sandbox) is down

In e40c5a4, Bitwage API (Sandbox) (https://api.sandbox.bitwage.com) was down:

HTTP code: 403
Response time: 298 ms

Resolved: Bitwage API (Sandbox) is back up in 30bc903 after 1 hour, 21 minutes.


text:
🛑 Bitwage API (Sandbox) is down

In 2bb82b6, Bitwage API (Sandbox) (https://api.sandbox.bitwage.com) was down:

HTTP code: 403
Response time: 226 ms

Resolved: Bitwage API (Sandbox) is back up in ed03f58 after 19 minutes.


text:
🛑 冬天的个人主页 S1W1 is down

In c925a62, 冬天的个人主页 S1W1 (https://me.iamdt.cn/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 冬天的个人主页 S1W1 is back up in bd1498e after 29 minutes.


text:
Update knx to 2.0.23

set knx adapter 2.0.23 to stable

2.0.23 created 11.10.2023
200 user
OK


text:
Keine Rückmeldung über Power_State beim Sonoff TH16

Ich habe mir einen Sonoff TH16 über den Sonoff-Adapter in IoBroker eingebunden.
In IoBroker wird mir auch alles in den Objekten angezeigt.
Leider ändert sich aber die Rückmeldung Power_State nicht immer wenn ich schalte.
Ob ich über IObroker oder direkt über Web schalte macht keinen Unterschied bei dem Power_State.
Mit dem mqtt-Adapter geht es.
Warum?

Ich habe mir einen Sonoff TH16 über den Sonoff-Adapter in IoBroker eingebunden.
In IoBroker wird mir auch alles in den Objekten angezeigt.
Leider ändert sich aber die Rückmeldung Power_State nicht immer wenn ich schalte.
Ob ich über IObroker oder direkt über Web schalte macht keinen Unterschied bei dem Power_State.
Mit dem mqtt-Adapter geht es.
Warum?

Hast du irgendwelche Lerzeichen bzw Sonderzeichen in deinem Namen????


text:
Send to other phone number?

Hi .. should it be possible to send to myself and to another number with one instance (via Blockly) .. or do I need a separate Instance and API-Code for every Number I want to reach?

Yes, if you use the "sendTo" message options. Via setState you can only send to the default number - as described in the readme already