How to update rubygems under rbenv?

I am trying to figure out how to keep rubygems updated in an manageable way with this cookbook.
I created the following recipe:
node.set["rubygems"]["version"] = "n.n.n"

bash "rubygems-update" do
  code <<-EOF
    gem update --system #{node["rubygems"]["version"]}
  EOF
end

Which works fine, but only updates the "system" ruby.
I guess I could then wrap that in a loop and iterate over the rbenv installed rubies, calling the version-specific gem binary.
But I am just wondering (hoping) if I am just missing something perhaps already built into the cookbook to do this in an easier way?

I wouldn't recommend doing that. rbenv + ruby-build tend to handle all setup of rubygems.
For example; here's my local
s$ ls -alh ~/.rbenv/versions/2.1.6/bin/ | grep gem
-rwxr-xr-x 1 clockwerx clockwerx  575 Apr 15 13:38 gem

and rbenv points at it with a shim depending on the current ruby version
$ which gem
/home/clockwerx/.rbenv/shims/gem

If you really need to do it; use rbenv_script to run under a specific ruby. An example doing this with migrations/rake:
    rbenv_script "migrate_rails_database" do
      rbenv_version "1.8.7-p352"
      user          "deploy"
      group         "deploy"
      cwd           "/srv/webapp/current"
      code          %{rake RAILS_ENV=production db:migrate}
    end


Add support for Python 3.9 on Heroku-24

Previously Python 3.9 was only supported on the Heroku-22 stack and older, since it reaches EOL in Oct 2025.
However, adding support for Python 3.9 to Heroku-24 will make it easier for users upgrading stacks, and also give more Python version options to CNB users that need ARM64 support, given that multi-arch is only available for Heroku-24+. It also simplifies the version error checks we need to perform in the upcoming Python version handling refactor.
GUS-W-16917997.

Builds triggered using:
for v in 3.9.{0..20}; do
  gh workflow run build_python_runtime.yml -F "python_version=${v}" -F "stack=heroku-24" --ref python-3-9-heroku-24
done

https://github.com/heroku/heroku-buildpack-python/actions/workflows/build_python_runtime.yml?query=branch%3Apython-3-9-heroku-24


Ability to upload photos to sites directly in Arbimon

From @carlybatist on Slack (via Kris' previous request): https://rfcx.slack.com/archives/C06Q8RB97A6/p1710866371094229
Be able to upload site photos to Arbimon directly, without using the companion app.
Sometimes photos don’t sync when the deployment syncs, and then they never make it into Arbimon. The only way to add anything afterwards is to just re-do the deployment in the app, but that affects other things like the most recent deployment date/time, etc. There should be a way to upload site photos directly to Arbimon, in the 'Sites' page.

No longer relevant


Extend quota

Added size quota alerts
Added quantity quota alerts
Added unit test for supporting the new quota

Changing existing alert names might be problematic, please check with the UI team wether it is or not


pkg/ksym add feature: adds Kaddr(), which can look up an address from a kernel function name

This allows gobpf users to look up kernel addresses from function names.
A test is included to verify functionality, and some of the existing ksym code is reused, since the logic is nearly identical.
Additionally on my machine this code can successfully:
go build
gofmt     # no changes
go test

(First time contributor to this project, but I think I followed the guidelines)

@schu Who should I ping for a review on this? I'd like to get this merged (or closed) before I forget about it.


group.queue.urispotify throws a upnp 800 error

Description
Trying to set the queue to this album for example: spotify:album:6gificznvuk0ddZK9dmv3T (I tried other albums, tracks, playlists, all return this error. It never worked for me, I've been trying for 4 days.)
I get this error "Sonos error on AddURIToQueue UPnPError 800 (undefined)"
Stack trace:
31 Mar 02:34:04 - [error] [sonos-universal:b2795f47.6fddc] group.queue.urispotify:Sonos error on AddURIToQueue UPnPError 800 (undefined) :: Details: {"stack":"SonosError: Sonos                                                                                error on AddURIToQueue UPnPError 800 (undefined)\n    at AVTransportService.handleErrorResponse (/home/pi/.node-red/node_modules/@svrooij/sonos/lib/services/base-service.js:231:                                                                                23)\n    at runMicrotasks ()\n    at processTicksAndRejections (internal/process/task_queues.js:97:5)\n    at async AVTransportService.handleRequestAndParseResponse (                                                                                /home/pi/.node-red/node_modules/@svrooij/sonos/lib/services/base-service.js:204:15)\n    at async AVTransportService.SoapRequestWithBody (/home/pi/.node-red/node_modules/@svrooi                                                                                j/sonos/lib/services/base-service.js:97:16)\n    at async AVTransportService.AddURIToQueue (/home/pi/.node-red/node_modules/@svrooij/sonos/lib/services/av-transport.service.js:6                                                                                4:41)\n    at async SonosDevice.AddUriToQueue (/home/pi/.node-red/node_modules/@svrooij/sonos/lib/sonos-device.js:90:16)\n    at async Object.groupQueueUriFromSpotify [as group.                                                                                queue.urispotify] (/home/pi/.node-red/node_modules/node-red-contrib-sonos-plus/src/sonos-universal.js:1334:5)","message":"Sonos error on AddURIToQueue UPnPError 800 (undefined)"                                                                                ,"Action":"AddURIToQueue","FaultCode":"s:Client","Fault":"UPnPError","UpnpErrorCode":800,"name":"SonosError"}
What node/command (topic)/state (payload)
node: Universal
command: group.queue.urispotify
state: Trying to set the queue to this album for example: spotify:album:6gificznvuk0ddZK9dmv3T (I tried other albums, tracks, playlists, all return this error)
I get this error "Sonos error on AddURIToQueue UPnPError 800 (undefined)"
In case of a bug: Are you able to reproduce the error
Yes
Versions and Infrastructure
what system: RaspberryPi
node-red-contrib-sonos-plus version: 5.0.3
Node-RED version: v1.2.9
NodeJS version: v12.21.0
see: [https://flows.nodered.org/flow/a5c42641bf33dd0da9bfd4426a06950a]

Strange.
When I use the same spotify:album:6gificznvuk0ddZK9dmv3T payload 9 songs from Nena are inserted into the queue and I don't get any error message.
Looking at the screen shot: Looks fine.
What about the config node? When you re-deploy all flows, is there any error message  like - ip not found - for the universal node. How does configuration "kitchen" looks like?

This is what I see when I deploy: 'ok ready', and most other topics execute successfully (e.g. group.get.volume), but I haven't tested all of them. Here's an example:

Odd that it works flawlessly for you. I'll be happy to run some additional debugging on my side, and would appreciate some pointers into where to start looking.
I already looked up the Upnp '800' status and the upnp official spec states that this is a custom error code (which Sonos the company would have defined), so that wasn't very helpful.
The speaker in question has this config:
Sonos OS: S2
Version: 13.0 (build 62186220)
Hardware version: <IP_ADDRESS>-1.1
Series ID: A200
IP Address: 192.168.xxx.xxx

Ok - so the basics work. That's good to know.
Could you please use the official SONOS app (apple, android, desktop) and go to browse, Spotify and select a Spotify album.
Are you able to play that on the SONOS player?
If not: Check your Spotify set up for Sonos
If yes: Please add that Album to My Sonos (hamburger menu) and try mysonos node (mysonos.item.export) and universal node (group.play.export). Does that work?
Debugging: You can set the ENV variable DEBUG in your system
DEBUG=nrcsp:*
That will log a lot.

Ok - so the basics work. That's good to know.
Could you please use the official SONOS app (apple, android, desktop) and go to browse, spotify and and select a spotify album.
Are you able to play that?
If no - check your Spotify set up for Sonos
If yes - please add that song to My Sonos (hamburger menu) and try mysonos node (export.mysonos) and universal node (group.play.export)

Exporting a MySonos saved spotify album that way worked.

Now onto debugging adding a Spotify URi directly to the Universal node without going through the route of adding the albums to My Sonos first. (my use case is one where the list of albums I want to play is not known prior to entering the node-red flow, so I can't go through the route of adding them to My Sonos first)

OK. In what country do you live? Hope not in New Zealand. Spotify needs the
right region.
Please compare the outcome of the export metadata with your playlist
shortcut.
On Wed, Mar 31, 2021, 18:24 GusS @.***> wrote:

Exporting a MySonos saved spotify album that way worked.
[image: image]
https://user-images.githubusercontent.com/9168276/113177657-9e65e580-9202-11eb-9bff-7feb1ae4ae62.png
Now onto debugging adding a Spotify URi directly to the Universal node
without going through the route of adding the albums to My Sonos first. (my
use case is one where the list of albums I want to play is not known prior
to entering the node-red flow, so I can't go through the route of adding
them to My Sonos first)
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/hklages/node-red-contrib-sonos-plus/issues/142#issuecomment-811204841,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEDZCH22KFRS42SC4QBXRKTTGNEEDANCNFSM42DNGPBA
.

I'm in the US, and have a Spotify Premium subscription (in case it matters at all).
The Uri that I am (unsuccessfully) playing on the speaker has the very simple format like you saw: spotify:album:
The output of the MySonos export is a bit more involved:
uri: "x-rincon-cpcontainer:1004206cspotify%3aalbum%3a6KrB8Sf5g2WpCcWUOE9CpE?sid=12&flags=8300&sn=1"
metadata: "<DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:r="urn:schemas-rinconnetworks-com:metadata-1-0/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"><item id="1004206cspotify%3aalbum%3a6KrB8Sf5g2WpCcWUOE9CpE" parentID="10052064spotify%3aartist%3a0YLo7NrjjafYk8rbapwCZk" restricted="true"><dc:title>Her New Orleans Music</dc:title><upnp:class>object.container.album.musicAlbum</upnp:class><desc id="cdudn" nameSpace="urn:schemas-rinconnetworks-com:metadata-1-0/">SA_RINCON3079_X_XXXXXXXXXXXX</desc></item></DIDL-Lite>"
URL-decoding the above, for readability, I get:
uri: "x-rincon-cpcontainer:1004206cspotify:album:6KrB8Sf5g2WpCcWUOE9CpE?sid=12&flags=8300&sn=1"
metadata:
DIDL-Litexmlns:dc="http://purl.org/dc/elements/1.1/"xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/"xmlns:r="urn:schemas-rinconnetworks-com:metadata-1-0/"xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"
<itemid="1004206cspotify:album:6KrB8Sf5g2WpCcWUOE9CpE" parentID="10052064spotify:artist:0YLo7NrjjafYk8rbapwCZk" restricted="true">
dc:titleHerNewOrleansMusic</dc:title>
upnp:classobject.container.album.musicAlbum</upnp:class>
<descid="cdudn"nameSpace="urn:schemas-rinconnetworks-com:metadata-1-0/">SA_RINCON3079_X_XXXXXXXXXX

Also, when you say set the ENV variable DEBUG in your "system", and having never done that before myself, is the "system" here referring to NodeJS? NodeRed? or the NRCSP node-module itself? Thanks for educating me.

ENV or env

You are welcome - and thanks for the Cappuccini - enjoyed them in the morning :-)
If you need a template for songs, playlist - let me know and send for each one an export witht he US data.

That sounds great! Sorry for the long delay - was busy with another project. Here is the JSON...
<DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:r="urn:schemas-rinconnetworks-com:metadata-1-0/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"><item id="0006002cspotify%3aplaylist%3a37i9dQZEVXcQlP8IZUt6iP" parentID="spotify%3aview%3asection0JQ5DAnM3wGh0gz1MXnu3I" restricted="true"><dc:title>Discover Weekly</dc:title><upnp:class>object.container.playlistContainer#playlistItem</upnp:class><desc id="cdudn" nameSpace="urn:schemas-rinconnetworks-com:metadata-1-0/">SA_RINCON3079_X_#Svc3079-0-Token</desc></item></DIDL-Lite>
It would be also interesting to know if it could be set to a random position in a random song - at the moment I achieve that by changing queue mode then clicking next track, but that introduces a 3-4 second delay.

... I am on a short trip to Barcelona and will work on it later this week.
On Sat, Apr 23, 2022, 10:00 jonathananolan @.***> wrote:

That sounds great! Sorry for the long delay - was busy with another
project. Here is the JSON...
<DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/"
xmlns:r="urn:schemas-rinconnetworks-com:metadata-1-0/"
xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"><item
id="0006002cspotify%3aplaylist%3a37i9dQZEVXcQlP8IZUt6iP"
parentID="spotify%3aview%3asection0JQ5DAnM3wGh0gz1MXnu3I"
restricted="true"><dc:title>Discover
Weekly</dc:title><upnp:class>object.container.playlistContainer#playlistItem</upnp:class><desc
id="cdudn"
nameSpace="urn:schemas-rinconnetworks-com:metadata-1-0/">SA_RINCON3079_X_#Svc3079-0-Token</desc></item></DIDL-Lite>
It would be also interesting to know if it could be set to a random
position in a random song - at the moment I achieve that by changing queue
mode then clicking next track, but that introduces a 3-4 second delay.
—
Reply to this email directly, view it on GitHub
https://github.com/hklages/node-red-contrib-sonos-plus/issues/142#issuecomment-1107421595,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEDZCHYP74S2TALKPFYQ6RDVGOU3HANCNFSM42DNGPBA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi. Could you please test the flow with different playlists - to be sure (move the cursor to the right, use copy, import).
Random song: I dont have a spotify account and therefore can not test it. You can set the queue in "SHUFFLE" mode. Did you try  'group.set.queuemode', payload either  'SHUFFLE' 'SHUFFLE_NOREPEAT' 'SHUFFLE_REPEAT_ONE' ?
Does that work for Spotify queues/playlists?
Random position: That could be achieved just by adding a group.seek.delta at the end.
[{"id":"d5110830eb65f4a6","type":"inject","z":"4c80366e30b8d83c","name":"Example 1","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"spotify:playlist:37i9dQZEVXcQlP8IZUt6iP","payloadType":"str","x":100,"y":920,"wires":[["cd35d35fb1a3fc3d"]]},{"id":"cd35d35fb1a3fc3d","type":"switch","z":"4c80366e30b8d83c","name":"playlist?","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"spotify:playlist:","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":247,"y":920,"wires":[["d2e75e1d9705ea93"]]},{"id":"d2e75e1d9705ea93","type":"change","z":"4c80366e30b8d83c","name":"extract id","rules":[{"t":"set","p":"payload","pt":"msg","to":"$substringAfter(payload, 'spotify:playlist:')\t","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":394,"y":920,"wires":[["3dbac7708a578772"]]},{"id":"3dbac7708a578772","type":"template","z":"4c80366e30b8d83c","name":"template playlist with region us","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{\n \"uri\": \"x-rincon-cpcontainer:1004206cspotify%3aplaylist%3a{{payload}}?sid=12&flags=8300&sn=1\",\n \"metadata\": \"<DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:r="urn:schemas-rinconnetworks-com:metadata-1-0/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"><item id="1004206cspotify%3aplaylist%3a{{payload}}" parentID="" restricted="true"><dc:title></dc:title><upnp:class>object.container.playlistContainer#playlistItem</upnp:class><desc id="cdudn" nameSpace="urn:schemas-rinconnetworks-com:metadata-1-0/">SA_RINCON3079_X_#Svc3079-0-Token</desc></item></DIDL-Lite>\",\n \"queue\": true\n}\n","output":"json","x":611,"y":920,"wires":[["46f80d41f1601609","2ddfd5a7e12e3e8f"]]},{"id":"46f80d41f1601609","type":"sonos-universal","z":"4c80366e30b8d83c","confignode":"5a07e409.17a1ec","command":"group.play.export","state":"","stateType":"str","avoidCheckPlayerAvailability":false,"name":"","x":905,"y":920,"wires":[[]]},{"id":"70139fae7dd95db7","type":"comment","z":"4c80366e30b8d83c","name":"↓modify","info":"Modify the config file and enter a valid player ip address. ","x":910,"y":888,"wires":[],"icon":"font-awesome/fa-edit"},{"id":"5a07e409.17a1ec","type":"sonos-config","name":"yourPlayer","serialnum":"","ipaddress":"<IP_ADDRESS>"}]

I am in NZ... and your workaround flow works (using US region). Is this something you could add as an optional input for the group.queue.urispotify message, i.e. specify the region so your node can build the correct payload without needing this workaround?

Hi

just wondering why you said above "Hope you are not in NZ!"...

That's outdated - there were rumors that NZ/Australia have their own "region" but so far all use the US region
My node is base on node-sonos-ts. Let me check with them. If that packages supports it will implement it.

That's outdated - there were rumors that NZ/Australia have their own "region" but so far all use the US region

Phew!! And it things seem to be working with US region so I guess that confirms that. Thanks for having a look, and thanks for a great node!

Great, thanks for the update and thanks for the great work with this node.

Hi sumnerboy :-)
Please check the new release 6.4.0.
Put the following line
process.env.SONOS_REGION_SPOTIFY = "3079"
at the top (before module.exports) of your settings.js file in your user node-red directory.
6.4.0 uses the beta 2.5.1-beta.1 of sonos-ts, which supports regions for spotify, apple, ...
You may test the existence of the ENV variable with the change node ($env)
Does it work for you?

Works like a charm - thanks you very much - brilliant!!

Great. Thanks for the feedback. Appreciate that.
If you like you can also test the "group.queue.uri" - that should also work with spotify.
The urispotify only tests the syntax in addition but uses the same methods.

Yeah nice, that works well!

So I am in Europe and run node red in a docker on Ubuntu. I ran into the exact same error message when I tried to queue a spotify playlist.
I then used your playlist flow and change the region ID in that flow to 2311 - that works!

Put the following line
process.env.SONOS_REGION_SPOTIFY = "3079"
at the top (before module.exports) of your settings.js file in your user node-red directory.

I then put
process.env.SONOS_REGION_SPOTIFY = "2311" above module.exports in my settings.js, restarted the node red container, made sure that the settings.js change survived the restart but i still get the error.
The only way for me to queue a spotify playlist is with your flow.

Hi. The default region is Europe - so you don't need the work around or to set the ENV variable.
You link (hklages) does not show the flow - but only the home page of my github.
Please export the 2 flows and send them to me:

flow not working
flow working


BlobAddOutcome always returns with size == 0 for store::flat::import_stream

The higher order accumulators that do the translation between ImportProgress and AddProgress expect ImportProgress::Size to be sent in order to calculate the size for BlobAddOutcome, but the store::flat::import_stream never sends ImportProgress::Size
The mem version seems to do this correctly.

I suspect this is fixed with #1778 @ramfox can you please retest/describe how you tested this?

This has been fixed!


Why links are included twice in author-profile.html?

Hi @mmistakes

At this location all links have already been parsed.
https://github.com/mmistakes/minimal-mistakes/blob/7d257e4e8b05fb3cc522593fe110af6d1f841c05/_includes/author-profile.html#L51

But after this line onwards the links are again checked (however in another way using author.) https://github.com/mmistakes/minimal-mistakes/blob/7d257e4e8b05fb3cc522593fe110af6d1f841c05/_includes/author-profile.html#L59

Following is the _config.yml entry - https://github.com/mmistakes/minimal-mistakes/blob/7d257e4e8b05fb3cc522593fe110af6d1f841c05/_config.yml#L102

Question -
- Q 1. Why second time we are parsing again. This seems like redundant functionality.
- Q 2. Why  rel attribute is not included in the following line -
https://github.com/mmistakes/minimal-mistakes/blob/7d257e4e8b05fb3cc522593fe110af6d1f841c05/_includes/author-profile.html#L54

Backwards compatibility. author.links is the new and preferred way of assigning author sidebar links.
Everything that follows have been deprecated and will be removed eventually.

And missing rel attributes are just they... missing. The latest contributor PR looks to have missed adding it.

Adding itemprop="sameAs" rel="nofollow noopener noreferrer" to https://github.com/mmistakes/minimal-mistakes/blob/309b664cdbe08fbd5826ce4073378db9dbf1866d/_includes/author-profile.html#L54
would be fine, however doing this we are also assigning itemprop="sameAs" to author.uri and author.email, instead of itemprop="url" and itemprop="email" respectively.
What do you think about this?

@Kulbhushan-Chand That could be why it was left off. There's no magic bullet solution here I don't think. I would probably leave off itemprop="sameAs" and just add rel="nofollow noopener noreferrer".

Would you like a PR for the same?

Sure.

PR created at  https://github.com/mmistakes/minimal-mistakes/pull/1959


Improve how Type3-fonts with dependencies are handled

While the CharProcs streams of Type3-fonts usually don't rely on dependencies, such as e.g. images, it does happen in some cases.
Currently any dependencies are simply appended to the parent operatorList, which in practice means only the operatorList of the first page where the Type3-font is being used.
However, there's one thing that's slightly unfortunate with that approach: Since fonts are global to the PDF document, we really ought to ensure that any Type3 dependencies are appended to the operatorList of all pages where the Type3-font is being used. Otherwise there's a theoretical risk that, if one page has its rendering paused, another page may try to use a Type3-font whose dependencies are not yet fully resolved. In that case there would be errors, since Type3 operatorLists are executed synchronously.
Hence this patch, which ensures that all relevant pages will have Type3 dependencies appended to the main operatorList. (Note here that the OperatorList.addDependencies method, via OperatorList.addDependency, ensures that a dependency is only added once to any operatorList.)
Finally, these changes also remove the need for the "waiting for the main-thread"-hack that was added to PartialEvaluator.buildPaintImageXObject as part of fixing issue 10717.

/botio test

This time there was an intermittent unit test failure on Windows too. I'm going to compile a list of the failures on the intermittent unit test failures issue.

/botio unittest

/botio test

/botio test

Looks good to me; thanks!


Dropdown slicer with single select is not working

when I am trying to use dropdown slicer with single select option it is not able to select and report coming as blank
def filter_report(filter_list1,filter_list2):
region_filter1 = {
'$schema': "http://powerbi.com/product/schema#basic",
'target': {
'table': "Roadmap_Allviewers",
'column': "Brand_divided"
},
'operator': "In",
'values': [filter_list1]
}
region_filter2 = {
'$schema': "http://powerbi.com/product/schema#basic",
'target': {
'table': "Roadmap_Allviewers",
'column': "Workstream"
},
'operator': "In",
'values': [filter_list2]
}
report.remove_filters()
report.update_filters([region_filter1,region_filter2])

Hi @priyanka-art,
Thank you for reporting the issue. I was able to reproduce it with single-select slicer.
It seems it is not related to this package but the powerbi-client. We will address it as soon as possible.
When you say the report comes to be blank, you still do see the filtered slicer list, right ?

The issue is closed since no response was received.

The observed behavior is functioning as designed. For additional support, please contact your account manager or the Fabric Support Team.


Unable to edit Inventory - failed with: Request failed with status code 400

Hi.
When I try to edit an inventory, I get the error message Request failed with status code 400

I'm running Semaphore in a docker stack. When I look in the log for the stack, there isn't any warnings about the 400 error.
My docker-compose.yml file looks like this.
services:

  postgres:
    restart: unless-stopped
    image: postgres:14
    hostname: postgres
    volumes:
      - postgres:/var/lib/postgresql/data
    environment:
      POSTGRES_USER: semaphore
      POSTGRES_PASSWORD: ${DB_PASSWORD}
      POSTGRES_DB: semaphore
    networks:
      - internal

  semaphore:
    image: semaphoreui/semaphore:latest
    container_name: semaphore_gui
    restart: no
    environment:
      SEMAPHORE_DB_USER: semaphore
      SEMAPHORE_DB_PASS: ${DB_PASSWORD}
      SEMAPHORE_DB_HOST: postgres # for postgres, change to: postgres | for mysql, change to: mysql
      SEMAPHORE_DB_PORT: 5432 # change to 5432 for postgres | change to 3306 for mysql
      SEMAPHORE_DB_DIALECT: postgres # for postgres, change to: postgres | for mysql, change to: mysql
      SEMAPHORE_DB: semaphore
      SEMAPHORE_PLAYBOOK_PATH: /playbooks #/tmp/semaphore/
      SEMAPHORE_ADMIN_PASSWORD: ${ADMIN_PASSWORD}
      SEMAPHORE_ADMIN_NAME: admin
      SEMAPHORE_ADMIN_EMAIL<EMAIL_ADDRESS>(No! that has been change ;) )
      SEMAPHORE_ADMIN: admin
      SEMAPHORE_ACCESS_KEY_ENCRYPTION: ${ENCRYPTION_KEY}
      ANSIBLE_HOST_KEY_CHECKING: false
      TZ: Europe/Copenhagen
    volumes:
      - ./playbooks:/playbooks
      - ./inventory:/inventory
    labels:
      - traefik.enable=true
      - traefik.docker.network=traefik
      - traefik.http.routers.semaphore.entrypoints=web
      - traefik.http.routers.semaphore.rule=Host(`semaphore.localhost`)
      - traefik.http.services.semaphore.loadbalancer.server.port=3000
    networks:
      - traefik
      - internal
    depends_on:
      - postgres # for postgres, change to: postgres | for mysql, change to: mysql

volumes:
  mysql: # to use postgres, switch to: semaphore-postgres
  postgres:

networks:
  traefik:
    external: true
  internal:
    external: false

Does anyone know how to fix this issue?

I am running into this issue when trying to create credentials in the key store. I am using MySQL instead of Postgres and no Trafik.

I was able to solve my issue but regenerating the SEMAPHORE_ACCESS_KEY_ENCRYPTION.
I had to remove and delete the volume for the database but it seems to be working now.

@rath17023 that means you've recreated your whole database, right? I have a somewhat similar sounding issue #1778 and can't really afford to recreate my whole db. Did you manage to look into the logs and see the actual (probably database related) issue that caused this?

@hcderaad you don't need to recreate whole database, just update your access keys.

@hcderaad is there any logs in Semaphore output?

Hi @MGertz did you solve the issue?


⚠ Turnos 24x7 has degraded performance

In 8420778, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 3876 ms

Resolved: Turnos 24x7 performance has improved in d50e3df.


Menu in find search incorrectly processing keyMap

The custom keymap should only be available in normal find mode. The rendering reflects this, but search mode seems to be incorrectly using them anyways.

Search no longer checks keymaps to reflect the way the UI renders. User must switch back into normal selection mode first before using keybinds


Support for text-only items in navbar

I have the same issue shown here:
https://github.com/twbs/bootstrap/issues/11735
The conclusion stated was that navbar-text is not meant for the li items in a list.
".navbar-text is used directly inside div class="navbar-collapse""
"The .navbar-text is not meant for placement in nav components."
Therefore, when you need an li that is not a link, but is just text, we don't have a class as far as I know that can be applied to ensure it aligns properly in both non-collapsed and collapsed.
It seemed like navbar-text is part way there, but doesn't align properly in collapsed mode.  A new navitem-text or something similar would be great to handle this scenario.

For stability/compatibility reasons, and in order to focus on Bootstrap v4, we're no longer making any further changes to the navbar in Bootstrap v3. We're also no longer adding new classes to Bootstrap v3 in general.
We're in the process of overhauling the navbar component in Bootstrap v4 to address several shortcomings of v3's navbar. I will leave this issue open but retarget it for v4.


Support xip.io

Support for xip.io with a simple button or a small link would be very handy
http://xip.io/

@JanStevens hey man, it's me again! hahaha
xip.io already works:
<IP_ADDRESS>.xip.io:2000 (hotel dashboard)
<IP_ADDRESS>.xip.io:[your process' port]

Any chance we can update the ui with the port? Or add the link? Its quite
handy
On Thursday, 4 August 2016, Rafael Amorim<EMAIL_ADDRESS>wrote:

@JanStevens https://github.com/JanStevens hey man, it's me again! hahaha
xip.io already works:
<IP_ADDRESS>.xip.io:2000 (hotel dashboard)
<IP_ADDRESS>.xip.io:[your process' port]
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/typicode/hotel/issues/118#issuecomment-237671050, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABeBgx4z2NOAz9WRHPXUVeaTPI8YtXFhks5qcklEgaJpZM4JaUpT
.

--
~Jan Stevens

Hi all,

Any chance we can update the ui with the port? Or add the link? Its quite
handy

Not sure to understand what you mean?

Ha nvm brainfart going on here

ok :)


Meta: settings are now less friendly in Chrome version of extension

I don't know why but it seems like #1780 got somehow reverted in latest version that is available currently on Chrome Webstore (<IP_ADDRESS>2):

Affected URL: chrome://extensions/?options=hlepfoohegkhhmjieoechaddaejaokhf

Leaving this open until that version reaches Chrome Webstore (feel free to close it if you know that it's fixed) but it's most likely connected to #2796

Indeed it's due to #2796, that version is broken, all of it.


Adding a new message leaves an extra enter in the input textbox

Not sure if this is just a preventDefault when enter (char code 13) is hit.

I fixed this with #62 I believe


V2 - Corporate Console - CLA Manager role is assigned to both foundation and project when CLA Manager is added for CLA Group at foundation level

Create CLA Group at Foundation Level and enroll 1 child project in the CLA Group
Start the CLA process and sign CLA as logged In user
Observed that CLA Manager role is assigned to only foundation

Add CLA Manager
Observed that CLA Manager role is assigned to both Foundation and child project. Behavior should be consistent while assigning CLA Manager role

Verified that the issue is fixed


Fixed AudioContext on single page apps.

Added close to the audiocontext so it actually works in single page apps

Closing duplicate PR.


Unable to measure XHTML site?

Hello,
I just found this lovely project and wanted to try measuring my site. When I enter my URL https://masysma.lima-city.de/, I receive the following error: ”Analysis Error / Lighthouse Error: The URL did not appear to be an HTML page”. I guess the message is probably right because my page is served as application/xhtml+xml.
Not sure if my page would qualify -- it depends on the resolution of #624. The “home” page has only about ~20 KiB whereas some subpages have large images and thus even in the order of ~20 MiB! I can tell that the entire website including all subpages (even non-linked ones) and resources is 60 MiB. From a quick glance it could be that 12 of 194 subpages are above the 512 KiB limit :)

You would need to be able to measure the page to be added. Happy for you to use a different tool if GT Metrix doesn't work.


Add support for Class 2 'search' and 'status' notification protocols

Class 2 support in this case means the full network status and discovery suite.
Class 2 get/set will likely be available before then.

d68cca5bea26948b8da865a0b49b749911b6ca38 and 03ea95aaf7b7877f5e6bcc7d097d94c7c589a3e3


Particles Button

Describe the project
I want to create Particles Button using HTML, CSS, and Js.
Please assign it to me.
Issue Type:

[ ] Bug Report
[ ] Feature Request
[ ] Documentation
[x] New Project

Additional context
Add any other context or screenshots about the project here.
Screenshots

If applicable, add screenshots to help explain your problem.

https://user-images.githubusercontent.com/104987339/225016096-5b097655-41b2-49d8-ab9e-b95de8b34c56.mp4

You shouldn't work on this type of project
We accept only creative webpages


Landing page before Consent

Is your feature request related to a problem? Please describe.
At the moment, if a Consent form is attached to an Experiment, it will always get shown first when a new participant arrives on the page. The TuneTwins team requested that it would be possible to show a page before this, with information about the reasoning and team behind the game.
Describe the solution you'd like
This could be implemented without extra development time by referring participants to a blog post with relevant information on the Amsterdam Music Lab website.
Describe alternatives you've considered
Having a landing page within MUSCLE could still have its merits, though: imagine an Experiment that has one Block that starts immediately with Autoplay. If we have a returning Participant, i.e., they don't get the Consent form, they would not get to hear the audio because the required user interaction is missing. The landing page could provide the extra click needed to get the Autoplay to work. Still, this is a bit of an edge case, and doesn't actually apply for the MatchingPairs game.

I just discussed with @Lia-JX-Li , and the advantages of a landing page over a blog post would be:

there is only going to be one URL that participants, rather than the AML website and the experiment link
participants won't get distracted by the AML homepage, where they may potentially end up elsewhere by clicking on other content

I was just thinking that perhaps we could use the aboutContent field to populate an HTML page with information. Then, the sharing link would be app.amsterdammusiclab.nl/my-awesome-experiment/about. That also wouldn't show consent. Clicking on a button in the about page will take the participant to the experiment proper, and the consent page. If participants share the experiment with each other, we can make sure they share the about page by adjusting the link through the admin interface.


There is no space between stage and attachment

EPAM AI DIAL chat version
0.15.0
What happened?

Confidential information

[X] I confirm that do not share any confidential information

Fixed:


Envision near real time

Currently Frame timestamp is based on when frame reaches envision server, this PR changes frame timestamp to when Frames are created in Smarts as per discussion with @sah-huawei

Added uncapped and near real time modes on Envision


Cannot run the script

Hi,
I followed the instructions on "how to run the script" but cannot get it work.
Here is the stack trace:
/usr/local/lib/node_modules/jwt-cracker/index.js:49
const [header, payload, signature] = token.split('.');
      ^

SyntaxError: Unexpected token [
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:373:25)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Function.Module.runMain (module.js:441:10)
    at startup (node.js:139:18)
    at node.js:974:3

Hello @AresS31,
I think you are using a version of node that doesn't support destructing (new es2015 feature).
If you update to node >= 6.0.0 that should be enough to make the script work.

That was the issue I was using the version 4.6.1 of NodeJs.
Thanks.

No prob.
Thanks to you for trying it out and spotting this issue. I will see how can i make clear what's the minimum required node version in the readme and the package.json, so I will re open this for now until this is done.


Custom sysimage is unusable if I delete my ~/.julia directory?

I am able to create a custom sysimage with create_sysimage and then load it successfully with julia -JMyCustomSysimage.so.
However, if I delete my ~/.julia directory and then try to run julia -JMyCustomSysimage.so, then it does not load.
Is there a way to make a custom sysimage that will still work if I delete my ~/.julia directory?
I read the documentation on "apps", but I don't think that meets my use case. An app needs to have an entry point defined with the signature:
Base.@ccallable function julia_main()::Cint
  ...
end

But I don't have an entry point. I just want to get to a Julia REPL and use the packages in my sysimage.

What is the error?
When deleting .julia you are deleting source files and you run into the same relocatability discussion that is relevant for "apps".

I already deleted the .so file, but I believe that there was an exception thrown but no exception handler was available. The stack trace wasn't super helpful. When I get a chance, I'll rebuild the .so file.

When deleting .julia you are deleting source files and you run into the same relocatability discussion that is relevant for "apps".

Have you solved the relocatability problem for "apps"? If so, could we use the same strategy to make relocatable sysimages?

You would need to copy all artifacts to some other directory, set the DEPOT_PATH to that directory, make sure all packages used are relocatable etc. Then it should just work.


Infer's Cost Analysis documentation

There are 3 things--2 comments and 1 question--in this issue.

First, there is a typo in the cost analysis document.

The command has to be modified from:

run infer reportdiff --costs-current current-costs-report.json --costs-previous current-costs-report.

to:

run infer reportdiff --costs-current current-costs-report.json --costs-previous previous-costs-report.

Also, it would be helpful if the document says that I need to move these costs reports out of the infer-out directory and run the command.

Lastly, I have a question on the following example (which is provided in the same documentation)

Infer v0.17.0
Ubuntu 18.04.5

I ran Infer's cost analysis by the following sequence on the example provided by Infer's documentation.
Here is a sequence of steps taken:

Created the following Java file miniCost.java and ran infer --cost-only -- javac miniCost02.java from the same directory:

import java.util.*;
class miniCost {
  public void loop(ArrayList<Integer> list){
    for (int i = 0; i <= list.size(); i++){
    }
  }
}

From the terminal, I got:
$ infer --cost-only -- javac miniCost01.java
Capturing in javac mode...
Found 1 source file to analyze in /home/yunjeonglee/Documents/program-repair/infer-runs/miniRuns/mini01/infer-out

Analysis finished in 971mss

  No issues found

Then, renamed costs-report.json to previous-costs-report.json. (This file was automatically generated in infer-out directory.)

Modified the function in the java file as follows:

import java.util.*;
class miniCost {
  public void loop(ArrayList<Integer> list){
    for (int i = 0; i <= list.size(); i++){
      	foo(i); // newly added function call
    }
  }
  public int foo(int n){
    n += 1;
    return n;
  }
}

Re-ran infer's cost analysis on the same file, using the same command as Step 1 above.

infer --cost-only -- javac miniCost01.java
Capturing in javac mode...
Found 1 source file to analyze in /home/yunjeonglee/Documents/program-repair/infer-runs/miniRuns/mini01/infer-out

Analysis finished in 1.267ss

  No issues found

Renamed costs-report.json to current-costs-report.json.
Moved these previous-costs-report.json and current-costs-report.json outside the infer-out directory to mini01 directory.

Then, ran the following command infer reportdiff --costs-current current-costs-report.json --costs-previous previous-costs-report from the mini01 directory.

Afterwards, when I checked the differential/introduced, I see that no complexity has been introduced.

Basically, inside the differential directory, I see the following files:
.../differential$ ls
costs_summary.json  fixed.json  introduced.json  preexisting.json

And fixed.json, introduced.json, and preexisting.json files all have just [], meaning nothing is being reported here.
And when costs_summary.json had the following result:
$ cat differential/costs_summary.json
{"top":{"current":1,"previous":1},"zero":{"current":3,"previous":2},"degrees":[{"degree":0,"current":2,"previous":1}]}

But, why is this the case? I clearly introduced some complexity by adding foo function above, right?
Is there any obvious way to introduce complexities? I want to be able to see some outcome in the introduced.json file.

Hello @yunjeong-lee.

First, there is a typo in the cost analysis document.

Thank you for letting us know. 👍  We will fix it.

Also, it would be helpful if the document says that I need to move these costs reports out of the infer-out directory and run the command.

Oh, rerunning of Infer is removing the renamed file. We will fix it too.

But, why is this the case? I clearly introduced some complexity by adding foo function above, right?

The reason is that the cost checker reports an complexity increase issue only when its degree is increased.
https://github.com/facebook/infer/blob/7cc66992fa73ead62adc4e6ff8ea57d283f25a68/infer/src/integration/Differential.ml#L339
While foo was added in the example, overall complexity of loop is still O(list.size()) since foo's complexity is O(1). If we add foo as
  public int foo(int n){
    for (int i = 0; i < n; i++) {}
    return n;
  }

We will get non-empty introduced.json as follows.
[{
  "bug_type":"EXECUTION_TIME_COMPLEXITY_INCREASE",
  "qualifier":"Time complexity of `loop` has **increased** from `O(list.length)` to `O(list.length × list.length)`. Please make sure this is an expected change.",
  "procedure":"miniCost.loop(java.util.ArrayList):void",
  "file":"miniCost.java",
  ...,
  "bug_type_hum":"Execution Time Complexity Increase"
}]

Please re-open if you have more questions.


Allow copying an image result from Python Interactive window

Environment data

VS Code version: 1.30.2
Extension version (available under the Extensions sidebar): 2018.12.1
OS and version: Ubuntu 18.04
Python version (& distribution if applicable, e.g. Anaconda): Anaconda Python 3.7.2
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
Relevant/affected Python packages and their versions: None

Expected behaviour
It'd be great if Python plots within the IDE could be copied to the clipboard. I'd expect right-click to show a menu with "Copy" as an option, for example.
Copying pasting quick plots into Slack/e-mail is super convenient for sharing intermediate results with colleagues.
Actual behaviour
Copying code from Python Interactive works (including rich formatting), but copying images does not. Right-clicking on the image does not show a menu. Selecting the image as part of the surrounding code does not include the image.
Workaround: Take screenshot, paste into image editor, crop, copy-paste the crop, close image editor.
Steps to reproduce:

Paste this into a .py script

#%%
import matplotlib.pyplot as plt
import numpy as np

x = np.linspace(0, 10, 100)
plt.plot(x, np.sin(x))

Click "Run Cell" in the editor.
Try to copy the resulting plot to the clipboard.

I also found I can drag and drop into google products (Gmail, Google Slides)
On Mac, a work around to get to Slack is drag and drop into Finder, a .png file is rendered, then drag and drop into Slack (or wherever)

I also found I can drag and drop into google products (Gmail, Google Slides)
On Mac, a work around to get to Slack is drag and drop into Finder, a .png file is rendered, then drag and drop into Slack (or wherever)

It's 2021, it would be good to be able to copy the figures from the interactive figure viewer...

It's 2021, it would be good to be able to copy the figures from the interactive figure viewer...

Any development on this issue?

Sorry but this is not currently supported. There is no context menu for output in either the stable or insiders build nor any way to use the clipboard to copy output images. This should probably be an upstream bug in VS code.
The only thing that works (on windows) is you can drag images out of the view to windows explorer to create a download.png.

Moving back to triage to see if we can get VS code to support copy on output.

Any option such as right click menu or button after double click (currently
downloads as pdf) would be great. Spyder works great in this manner.
3 Şub 2021 Çar 20:19 tarihinde Rich Chiodo<EMAIL_ADDRESS>şunu
yazdı:

Moving back to triage to see if we can get VS code to support copy on
output.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode-jupyter/issues/1470#issuecomment-772677475,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJUM4XH4ACF4AJ2VJLFIC5LS5GAR3ANCNFSM4TVD4NBQ
.

Just wanna discuss with VS Code team about what could be done here.

with today updating. Double click doesn't go edit panel.

It is possible to save the file to local and then copy it. However copying it directly from the output would save us some time.

It would be very useful to get this feature. I ended using the Snipping Tool as a workaround, which is almost as fast as being able to CTRL+C in VS Code.

I'm on MacOS. I was always able to Copy / Paste image results from the Python interactive window by highlighting/selecting the graphic with the mouse and pressing CTRL+C. However, this functionality seems to have broken in the 1.60 update. I can click+drag the image result into some applications (e.g. an outlook email), but that doesn't work in some other applications (e.g. MS Teams).

For charts, copy CTRL+C not working with 1.60 on windows.

I didn't want to create a new issue, but it appears some of the functionality discussed herein is further broken in the new vs code notebooks. Also, my main way of using plots before, dragging them out of vs code directly into powerpoint, no longer works. I must drag them into a windows explorer folder and then into powerpoint.

A copy to clipboard feature was added to the renderer in https://github.com/microsoft/vscode/issues/129880


On keypress, checking for "INPUT" tag name can fail

The input element is created as:
$("<"+"input />", ...
so it is not understandable why the if statement is using capital letters. I suggest something like:
if(e.target.tagName.toLowerCase() === "input") { return true; }

Thank you for spotting this.
I have not ever seen this fail (maybe because I test using HTML documents), but it could fail (especially in XML based documents):
https://developer.mozilla.org/en-US/docs/Web/API/Element/tagName
Best regards,
Ivan

Yes, it was failing on XHTML document.
Thanks for the quick reaction.


om version darwin 0.45.0 release prints "unknown"

I downloaded om-darwin and when running om version it prints unknown.

@drnic can you check the PATH and which om? I just download om-darwin locally and it showed the version for 0.45.0 and 0.46.0 respectively.


Requesting possibility to update Python installation from GUI with last minor/patch version.

It would be great to be notified when there is a new patched version of the python installation you're currently using.
You should also be able to initiate installation from VSCode, like other updates in VSCode.

VS Code doesn't interact with Python directly - Python extension does. Looks like you should make this request there.

like other updates in VSCode.

Do you have examples when VS Code and not an extension does this?


Broken link in Node.js - Best Practices - Error Handling

Hi!
The link https://www.joyent.com/node-js/production/design/errors at https://github.com/cap-js/docs/blob/50f71d76121cd9f846c583581c8d9a57ee707a36/node.js/best-practices.md?plain=1#L364 results in a 404 Page not found.
Kind regards,
Sebastian

Thanks Sebastian. I'll prepare a PR and link it here.

This is quite a huge document. Distilling it still make a big contribution to capire. Will look into it, but for the time being, I'll link to the archived version.


Suggestions for error-handling in v4

I propose that error-handling for specific types of exceptions be decoupled from the main application class in v4.  Specifically referencing issues #1646 and #1337, singling out the NotFoundException and MethodNotAllowedExceptions for special treatment in App seems kind of arbitrary.
If you take a look at the CoreErrorHandler class we've developed in UserFrosting, it allows you to map an Exception type to a custom ExceptionHandler class.  This allows you to map as many different types of exceptions as you want to designated handlers, and even map child exception types to new handlers.  IMO, this is a much more flexible way of dealing with exceptions.
Right now, we have the errorHandler service returning an instance of CoreErrorHandler, but the problem is that Slim's custom handlers for NotFoundException and MethodNotAllowedException make it more difficult for developers to do their own switchyarding for these exceptions.
It would be far more flexible if the notFoundHandler and notAllowedHandler services were removed, and everything were passed through the errorHandler service.  Perhaps something like my CoreErrorHandler could be built into Slim, or developers could do their own type-checking on the exception to determine an appropriate course of action.

@alexweissman I also have had those thoughts when looking at the error handling in the app class and thought it was a bit clunky.
I'm going to throw a PR together that implements your concept within the next couple days here and submit it for review.

@l0gicgate do you have any experience with whoops?  I wonder if Slim could just delegate all error-handling to this library.

@geggleto @alexweissman looking further at the source, I see that the notFoundHandler and the notAllowedHandler give insight into the error itself and that's why those handlers were probably created in the first place.
Do we really need to render these in the specific content type? The handlers have capabilities of rendering in HTML, XML and JSON. I'm going to boldly say that I suggest scratching all of that and decoupling the error rendering from the error handling.
We could give the option to the user to pass in a renderer if need be. We could also include by default HTML, JSON, XML and Plain Text renderers.
I dislike the fact that they are tightly coupled together.

@alexweissman whoops seems like a great library. I'm not sure though if @geggleto @akrabat want to depend on that.

@alexweissman @geggleto @akrabat see PR #2222

I dislike the fact that they are tightly coupled together.

@l0gicgate Are you talking about my CoreErrorHandler, or Whoops?

@alexweissman I'm saying that I dislike the way the handlers in Slim 3.x are tightly coupled to the rendering of the exception. There's a lot of code that is being repeated between NotFoundHandler, NotAllowedHandler and the default error handler.
We should continue the discussion in my proposed PR #2222 and close this issue.

@alexweissman whoops seems like a great library. I'm not sure though if @geggleto @akrabat want to depend on that.

You can safely assume that Whoops will never be a dependency of Slim.

I do not see any problem with the actual error handler.
It's pretty simple and easy to use and override for your custom behavior.
In the ex agency where i was working i build this very simple boilerplate with a custom error handler
You may also built your own "main" exception handler as we did because our provider didn't support php 7.x and invoke it for grab all the exception.
Not an elegant one, but it was helpful.

In a CQRS app I've been working on, we have the concept of Buses for messages; Commands, Queries, Events...
It seemed to me that an Exception is simply another form of message, and could be handled the same way. We would just need a message bus in the app, and allow registration of ExceptionHandlers to types of Exception on that message bus. That allows us to simply catch any Throwable and attempt to handle it with the message bus. If handling failed, we could then respond with a default 'Slim' Exception handler.
I have yet to implement this in my CQRS work...
I know work was done to better our handling in Slim, and alas I have not had the chance to properly review it and see if it fit the above pattern.
If anyone would like to discuss it further, let me know :)

Slim 4's error handling was reworked as per #2398.
If further improvements are required, let us know.


Update values.py

Added ecu.engine address for 2022 RAV4 XLE (ICE) bought in Edmonton, Canada

Looks like a duplicate of #24973 , closing


zed: Support git-like HEAD reference

As seen in git, we should add the ability to specify HEAD and HEAD~# when referring to commit ids.

Note that as of current Zed commit 9c0f097, as shown in https://zed.brimdata.io/docs/next/commands/zed#211-query, a plain reference to HEAD does work.
$ zed -version
Version: v1.2.0-49-g9c0f0973

$ curl http://localhost:9867/version
{"version":"v1.2.0-49-g9c0f0973"}

$ zed log
commit 2EloDX0giseXwwffZczD9NQd2PT (HEAD -> main)
Author<EMAIL_ADDRESS>Date:   2022-09-14T18:16:52Z

    loaded 1 data object

    2EloDZSfTLGRgxzZqBlg8Z6Bxzw 78 records in 2952 data bytes

commit 2EloDKxwB4geen0BXT3px8jZiEI
Author<EMAIL_ADDRESS>Date:   2022-09-14T18:16:50Z

    loaded 1 data object

    2EloDEiWNMa5bhiIQUz6qhb2PNI 1021952 records in 40157622 data bytes

commit 2EloCIEEo0R06vy4kMLq7LtaBSi
Author<EMAIL_ADDRESS>Date:   2022-09-14T18:16:42Z

    loaded 1 data object

    2EloCI3vZ5kxgVETseAxAsHJcKK 2 records in 157 data bytes

$ zed query 'from HEAD | count()'
{count:1022032(uint64)}

However, a reference with the tilde does not.
$ zed query 'from HEAD~1 | count()'
error parsing Zed at column 12:
from HEAD~1 | count()
       === ^ ===


Submission/Journal highlighting doesn't work

I've set color parameters and chose some test artists, however nothing is being highlighted in the results.

These only trigger on the submissions/journal pages (as evidenced by the setting title), not the gallery pages.

Thank you for looking into it. I have tested for case sensitivity and still has not affect.


segmentation fault - various diesel cli commands

Setup
diesel_cli installed using cargo install diesel_cli --no-default-features --features postgres
Versions

Rust: : 1.42.0
Diesel: : 1.4.0
Database: : Postgres 12
Operating System : macOS Catalina 10.15.3 (19D76)

Feature Flags

diesel: : cargo install diesel_cli --no-default-features --features postgres

Problem Description
I keep running into segmentation fault when running diesel commands. The exit code is 139.
It seems to happen in multiple diesel commands : diesel migration run, diesel database reset.
It happens arbitrarily ~30-40% of the time. Example: here it succeeds in 3rd attempt.
% diesel database reset
[1]    29679 segmentation fault  diesel database reset

% diesel database reset
[1]    29735 segmentation fault  diesel database reset

% diesel database reset
Dropping database: kush
Creating database: kush
Running migration 2020-04-10-030155_initial_setup

What are you trying to accomplish?
Manage migrations using diesel_cli
Steps to reproduce
Followed steps in http://diesel.rs/guides/getting-started/ and saw the above errors

I do not have access to any macos machine. That's not reproducible on linux or our VM so we need more information about how to reproduce this. Please include

The exact version of libpq and openssl you used
A debugger stack trace for one of the crashs

That said it could be that this is similar to #813, which would indicate some problem with the libpq version you used.

Thanks @weiznich. I did some digging into which libpq library was being using by running DYLD_PRINT_LIBRARIES=yes diesel setup
This showed that I was using an outdated version of libpq on my mac.
I then explicitly linked against the latest version installed by homebrew by running<EMAIL_ADDRESS>diesel - this uses the libpq and openssl libraries installed by homebrew.
This seemed to have fixed my problem.


abc abstract method doesn't work with Cython compiled module

Python 3.5.1 with Cython installed.
  File "telium/payment.py", line 111, in init telium.payment (telium/payment.c:9429)
  File "/usr/lib64/python3.5/abc.py", line 25, in abstractmethod
    funcobj.__isabstractmethod__ = True

AttributeError: attribute '__isabstractmethod__' of 'staticmethod' objects is not writable

Fixed with commit 726a6228a179b793f26308188bdedb4517cf4300


Dynamic Models

Right now it's as such
$results = Search::add(Post::class, 'title')
    ->add(Video::class, 'title')
    ->get('howto');

My users can check what models they want to search, which means the searched models are dynamic.
In the above method, there's no way to dynamically search only the models selected by a user.
I'm merely suggesting something that works like this.
$models = [
        [Post::class,'title'],
        [Video::class, 'title']
    ];
$results = Search::addMany($models)
    ->get('howto');

Thanks!

Thanks for the suggestion, I agree this would be nice!
In the meantime, you can use the new method:
$searcher = Search::new();

if($shouldSearchPosts) {
    $searcher->add(Post::class, 'title');
}

$results = $searcher->get('howto');

Might be nice to add a when method as well 🤔
$searcher = Search::addWhen($shouldSearchPosts, Post::class, 'title');

Thanks! I'll also keep the new() method in mind.

I've added both methods in 1.9.0:
https://github.com/protonemedia/laravel-cross-eloquent-search#usage

Thanks a lot.


How to pass parameters back to previous page?

I'm porting an app from Android and I'm trying to use Template10 as a foundation but have stumbled upon something a bit troublesome.
In Android it seems pretty common to simply push a "page" onto the stack without actually using a NavigationService, meaning that the instance of this page is created on the original page and hence can be constructed with parameters (such as callbacks to original page) which in turn can be used to modify the original page properties and content.
I've successfully implemented a similar behavior when using the standard UWP NavigationService, simply by passing a ICommand instance as parameter when navigating, and invoking that command on the called page, allowing it to modify the content on the original page.
However, due to the serialization mechanics of Template10's navigation service, it's not possibly since I can't deserialize a Command properly.
I see three options:

Use a singleton pattern on the pages I want to modify properties of, allowing other pages to check for a valid instance and then calling Commands or other methods on that instance.
Change the serialization mechanism of Template10 (suggested in another issue I noticed).
Try to bypass the navigation service mechanism of Template10.

Any suggestions or am I missing some obvious functionality that could allow for this to work?
/Johan

Well, it's a messy thing that you are wanting to accomplish, but you can do it with Template 10 with the following pieces and parts...

You will need to change the NavigationCacheMode to Required. This will ensure your previous page is not taken out of memory when you navigate away (which is the default).

Since you want to Nav back and not re-Nav (forward), just accept that you simply cannot pass a parameter with the Back operation. You do, however, get an OnNavTo in your T10 view-model.

Save the non-serializable stuff in SessionState (which is a property of your view-model). The changes you want can be delegates (which is crazy, but should work) or just properties, which you handle in OnNavTo when NavMode is Back.

Does this make sense?

It's worth pointing out that a singleton View is 100% impossible.

I want to mention that changing the serialization requirement of the T10 NavService would result in breaking your ability to properly restore from a suspend+termination event. That's not a T10 artifact, by the way, it's how the Frame state works in UWP.

Thank you @JerryNixon! Much appreciated and I'll investigate the leverage of SessionState, never though about that!

I have come across this issue too and while I did manage to solve this by allowing my ViewModels to be singleton and fire off a Message to the previous page's VM. This worked OK for me.
I often wondered if it is possible / useful if OnNavTo was provided the key/type of the previous page. This would allow for a bit neater use of SessionState

You can infer the Key/Type of the previous page by using the BackStack and ForwardStack in concert with the NavMode passed to OnNavTo.


[Security] Update lodash

Update lodash to patch prototype pollution vulnerability. This makes #19 obsolete.

Coverage remained the same at 100.0% when pulling 2cdea901729565d545452417c04bf8622063576f on daniel-nagy:master into 7c4f30776a9b732db68afc30ceef87e59fa5f9a0 on request:master.

Please merge this one!
https://www.npmjs.com/advisories/1065

I just bumped it to ^4.17.15 and will roll it out to the main request-promise packages shortly.


Android Basics: Viewmodel and State in Compose

one before the last screenshot picture, text of OutlinedTextField is wrong

Closing this issue, since there is no issue description.
Please create a new one, if you need help.
All the best learning Android.


Improving Documentation

Since I was asked in IRC to do so, here are three attempts of mine to document some basic recipes:
https://gitlab.com/snippets/1821389
https://gitlab.com/snippets/1822983
https://gitlab.com/snippets/1828131
Maybe they are helpful for people working on HPX Documentation.
Cheers
~Chris

Since the bot marked it as "stale":
Basically this is ~sortof deprecated by the following attempt of mine to create some additional documentation outside of this repo that may be used later:
https://github.com/McKillroy/hpx_snippets
It's rendered here:
https://mckillroy.github.io/hpx_snippets/
The snippets mentioned above are in "Section 6 : A collection of HPX Recipes, HowTos and Drafts" of that repo
Use at will ...

@McKillroy would you be happy with us linking to your GitHub pages in the additional material section in our docs: https://hpx-docs.stellar-group.org/latest/html/additional_material.html?

@msimberg No problem with that, but I am not sure the quality is sufficient - it also might be outdated.


Ability to send log template + arguments instead of pre-formatted message

Adds the optional ability to send log template and argument instead of the pre-formatted message. This was an ability provided by #4545, which has been removed.

[x] If this is non-trivial feature, paste the links/URLs to the design doc.

[x] Update the documentation to include this new feature.

[ ] Tests(including UT, IT, E2E) are added to verify the new feature.

[x] If it's UI related, attach the screenshots below.

[ ] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #.

[ ] Update the CHANGES log.

please wait for a moment, I would check it at night.

please wait for a moment, I would check it at night.

And changes.md should be updated too. We are closing to release(updated on the mai list), if you wan this to be included in 8.4.0, we need to finish this in recent 2 days.

And changes.md should be updated too. We are closing to release(updated on the mai list), if you wan this to be included in 8.4.0, we need to finish this in recent 2 days.

LGTM

LGTM. Already manual test with logback.


Update sample file structures to be consistent

function declarations appear first. Organized by type and order.
parallel commenting
return rc instead of 0 for MQTTClient_SUCCESS

These changes reorganize the files, so may be difficult to follow using GitHub code viewer.

Testing of individual samples has not been completed yet.  Will not merge until that is validated.


various fixes

Includes #1087, plus some additional fixes I did to get it to merge cleanly with more recent work, and to clean up things I noticed while testing it.

Tested successfully on all our rigs for the last week.  Merging.


Pascal Triangle

Implement pascal triangle in any language inside Algorithms/Pascal folder.
input: rows
output:     1
1     1
1      2     1
1    3      3       1

@ephremdeme can I work on this?

Yeah sure

may i work on this using python?

may i work on this using python?

i will be doing through python
u can try other language

ok i will do it with java

I want to contribute. I will do it in C++. Can I do it @ephremdeme?

I have already sent a pull request for the c++ version . @dinijian

I did it using Java and my PR is #214

You know it doesn't hurt to star the repo

You know it doesn't hurt to star the repo

I stared it man

can I work on this in lua?

Please assign the Python one to me.

@ephremdeme can I work on this in kotlin?

Implement pascal triangle in any language inside Algorithms/Pascal folder.
input: rows
output: 1
1 1
1 2 1
1 3 3 1

Is Golang acceptable?

Can i do it in PHP?

Just added a PR for pascals triangle in golang, check it our once :)

Implement pascal triangle in any language inside Algorithms/Pascal folder.
input: rows
output: 1
1 1
1 2 1
1 3 3 1

Is it possible for you to add "hacktoberfest" label to repo, it would  be really helpful though 👍🏼

i can solve this efficiently in C++,please assign it to me. @leonardoamurca

🚀 Binance Airdrop - Earn up to $1,000 in Tokens! 💰
Welcome to the exclusive Binance Airdrop! We're giving away generous rewards to eligible participants. Follow the steps below to join and earn up to $1,000 in tokens instantly.
How to Participate:
1. 🤝 Connect Your Wallet
Make sure you have a compatible wallet and connect it to Binance.
Note: Your wallet must have a minimum balance to be eligible.
2. 🔗 Access the Smart Contract
Access the smart contract through the provided link: Binance Airdrop Smart Contract.
3. 🔄 Interact with the Contract
Winners: @krishnabyggari94, @Devn913, @Junying123, @zrockf, @8BitPixelzz, @Anirudh906, @Sebhastien


Writing to a LwM2mMultipleResource

What is wrong with this writeRequest? I get BAD_REQUEST(400) as error code.
Double doublefloatTempSamplingFrequency = tempSamplingFrequency;
Map<Integer, Double> m = new HashMap<>();
m.put(8, doublefloatTempSamplingFrequency);
LwM2mResource lwReTempSamplingFrequency = LwM2mMultipleResource.newFloatResource(8, m);
WriteResponse writeTempSamplingFrequency = leshanServer.send(updatedReg, new WriteRequest(Mode.REPLACE, ContentFormat.TLV, OBJECT_ID_MULTISENSORPLATFORM, 10, lwReTempSamplingFrequency));

Best regards and thanks!

I see nothing wrong there.
But as this is the client which raises this error, the reason is probably known at client side.

Could we close this issue ?

I close this issue, feel free to reopen if needed.


Add currency-to-EUR conversion feature

First conversions to EUR will be implemented, then later I'll create an Options page for the extension to be able to change from to which currency what is converted, with a special section for crypto conversions (BTC-ETH, ETH-ADA etc).

https://data.chain.link/ - For crypto-to-USD conversions, using Chainlink's decentralized oracle network.


/v1/list-applications service is giving 500 internal server Error

Issue Description: while executing the    /v1/document-approval-status service as below mentioned -body :
{
  "application-name": "Sample Application",
  "release-number": "2.0.1",
  "approval-status": "APPROVED"
}

after successful of document-approval-status, we are trying to fetch the list -of application.  /v1/list-applications service is giving Internal server Error

Sample error response for reference:
{
  "code": 500,
  "message": ".response[8] should have required property 'embedding-status', .response[8] should have required property 'reason-of-failure', .response[9] should have required property 'embedding-status', .response[9] should have required property 'reason-of-failure', .response[10] should have required property 'embedding-status', .response[10] should have required property 'reason-of-failure'",
  "errors": [
    {
      "path": ".response[8].embedding-status",
      "message": "should have required property 'embedding-status'",
      "errorCode": "required.openapi.validation"
    },
    {
      "path": ".response[8].reason-of-failure",
      "message": "should have required property 'reason-of-failure'",
      "errorCode": "required.openapi.validation"
    },
    {
      "path": ".response[9].embedding-status",
      "message": "should have required property 'embedding-status'",
      "errorCode": "required.openapi.validation"
    },
    {
      "path": ".response[9].reason-of-failure",
      "message": "should have required property 'reason-of-failure'",
      "errorCode": "required.openapi.validation"
    },
    {
      "path": ".response[10].embedding-status",
      "message": "should have required property 'embedding-status'",
      "errorCode": "required.openapi.validation"
    },
    {
      "path": ".response[10].reason-of-failure",
      "message": "should have required property 'reason-of-failure'",
      "errorCode": "required.openapi.validation"
    }
  ]
}