RTL Fixes & Updated Share & Print

This will update flipped/unflipped 'Share & Print' icons using 2-1 and 3-1 layouts on translated pages. Also noticed some added margin that was flagged for removal.
Flipped on the pages that use a layout-2-1 layout:
http://localhost:8000/about-us/blog/how-help-homeowners-protect-their-homes-ar/
http://localhost:8000/about-us/blog/strengthening-information-accessibility-for-consumers-limited-english-proficiency-ar/
Not flipped on the layout-3-1 layout pages?
http://localhost:8000/language/ar/coronavirus/mortgage-and-housing-assistance/help-for-homeowners/protections-for-reverse-mortgage-borrowers/
http://localhost:8000/language/ar/coronavirus/mortgage-and-housing-assistance/help-for-homeowners/repay-forbearance/
Unflipped page:

Flipped page:

Flipped page w/ right margin removed:

👋 First just wanted to say: this module isn’t documented in the Design System, and it probably should be. 😔

It looks like there should be 15px padding between each icon/element. Just eyeballing the RTL implementation here, it looks correct, but it's hard for me to tell for sure.
For the "Share and Print" title on desktop, it looks like there should be 30px padding between it and the elements. I think you may currently have 15px or so in RTL?
For "Share and Print" on mobile, I'm having trouble analyzing the space, but it looks like it might be 5px in the LTR design, and you may have it around 15px in the RTL implementation? (FWIW, this spacing in LTR feels a little tight to me. I like that your RTL implementation right now has a little more space, though I do feel conscious of keeping things on the tighter side on mobile. I'd almost be interested in a split between the two—like to make the spacing 10px. But I know generally with RTL work, we're just flipping and not changing any core specs of patterns, so it's also fine to just match what's currently implemented in the LTR design.)

@jenn-franklin all of the spacing is now uniform. The spacing between the icons and also above the icons (underneath "Share & Print" on mobile) comes in around 11px.

Screenshot above looks good but the tweak to 10px also makes sense to me. Thank you!

We don't want to make the footer icon spacing narrower, do we?
Before:

After:

See http://localhost:8000/about-us/blog/13000-lessons-learned/ vs https://www.consumerfinance.gov/about-us/blog/13000-lessons-learned/

Also, see http://localhost:8000/1071-rule/ vs https://www.consumerfinance.gov/1071-rule/, which has some spacing differences:
Before:

After:

This after spacing is better! However, it gets messed up at mobile:

Hi! Sorry—I'm realizing I did not look closely enough/the spacing change didn't fully register for me. Would it be possible to retain the spacing implementation between "Share & print" and the icons that we currently have on desktop?

But then make the change to have the spacing be 10px in the stacked mobile design between "Share & print" and the icons? So, like you have it here:

I was thinking this mobile spacing change would be the only spacing change to the pattern. But let me know if that's difficult.


Remove redundant lines in skiplists

Remove redundant lines in skiplists

Codecov Report

Merging #59 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #59   +/-   ##
=======================================
  Coverage   75.96%   75.96%
=======================================
  Files          22       22
  Lines        4609     4609
=======================================
  Hits         3501     3501
  Misses        682      682
  Partials      426      426

Continue to review full report at Codecov.

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


QueryBrowser, resultOfCurrentQuery pane is not ordered

clicking repeatedly on the (initial) "Model" query changes the content of this pane, actually the order of the "entities" listed.
This is unsettling
Note: ALWAYS order displayed lists. The actual order may not matter but make sure there is one

Fixed in FamixQueries commit https://github.com/moosetechnology/FamixQueries/commit/8d9dcf4eea84d65908dc413345676e1d9483d55b.


Browse posts and pages do not return reading_time when using fields parameter

Issue Summary
Browse requests for posts and pages do not return reading_time when using fields parameter.
To Reproduce

Send a get request including the fields parameter:

curl 'https://GHOST_URL/ghost/api/v3/content/posts/?key=API_KEY&fields=id%2Cslug%2Ctitle%2Creading_time' \
  -H 'Accept: application/json'

The response does not include reading_time, although the same request without the fields parameter returns the reading_time.
Technical details:

Ghost Version: 3.12.1
Node Version: 10.19.0
Browser/OS: Ubuntu 16.04.6 LTS
Database: mySQL

I got the exact same issue with v3.16.1 (latest stable), using both CLI installer and Docker.
Probably related to: https://github.com/TryGhost/Ghost/issues/10396.

This issue is actually this bug and nothing to do with the SDK tools.
I have reopened https://github.com/TryGhost/Ghost/issues/10396#issuecomment-803591643 and left a comment explaining the workaround and what will happen next. Please read that comment and if you have further input please reply on that issue.


CLEANUP: Remove xml module usage in bucketGetAcl api

Fix #269

Add functions in aclUtils.js to generate the XML DOM

@ironman-machine go

Hello @bennettbuchanan
Starting end to end procedure using the following payload:
{"REPO_NAME": "S3", "SCALITY_S3_BRANCH": "dev/CLEANUP/remove_xml_module_bucketGetAcl", "DEFAULT_BRANCH": "master"}
Please follow http://ci.ironmann.io/gh/scality/Integration/5313 for CI status.

We have decided that we do not want to build an object with aclUtils.constructGetACLsJson to then use it to build the XML DOM. Thus we are going in a different direction, which will be demonstrated in a new pull request referencing this issue.


MPI-related error message at end of run

On macOS 13.1 + OpenMPI 4.1.4:
walltime used = 8.22e+01
zone-cycles/wallsecond = 7.10e+06
--------------------------------------------------------------------------
A system call failed during shared memory initialization that should
not have.  It is likely that your MPI job will now either abort or
experience performance degradation.

  Local host:  Bens-MacBook-Pro.local
  System call: unlink(2) /var/folders/lz/n6jhm4hj4_l73w0m2yky5m340000gn/T//ompi.Bens-MacBook-Pro.501/pid.89453/1/vader_segment.Bens-MacBook-Pro.501.bdf40001.6
  Error:       No such file or directory (errno 2)
--------------------------------------------------------------------------

It's an OpenMPI bug. Workaround is to export TMPDIR=/tmp before running.


Problem installing qstrader on ubuntu

Hi @khatri1291,
I've now released QSTrader to PyPI with version 0.1.0. This should hopefully fix most installation issues, so I'm going to close this issue unless you have any further problems, in which case it can be re-opened.
Kind regards,
Mike.


Group owner not correctly registered to topic when creating a group

Linked to the hook order: in the app the hook creating the topic is an after hook while the hook creating authorisation is an after hook in the module, so the order should be reversed.

Seems to be similar to the org owner when creating org.

Change the create topic hook as before is not simple because topic names needs to be unique in AWS and to ensure this we use the object ID generated by DB for now. Maybe better to move the authorisation hooks at app-level.

Linked discussion https://github.com/feathersjs/feathers/issues/816.

Hooks have been moved

The issue about device registration should be fixed as well


Couldn`t posix_spawn: error 8

And 2 yellow triagle in status bar

If you downloaded the script by Download Linked File As, it will download the HTML... you need to download the script by clicking on the Get Plugin button and copy and pasting  the code on a text editor like Atom and saving it to the folder for your plugins.
I just tried this because I had gotten the same error and that is the result.

Thanks bro. Thats works!
))

On 27 янв. 2016 г., at 23:26, Gilbert Palau<EMAIL_ADDRESS>wrote:
If you downloaded the script by Download Linked File As, it will download the HTML... you need to download the script by clicking on the Get Plugin button and copy and pasting the code on a text editor like Atom and saving it to the folder for your plugins.
I just tried this because I had gotten the same error and that is the result.
—
Reply to this email directly or view it on GitHub https://github.com/matryer/bitbar/issues/196#issuecomment-175861650.

yw

Also check your system load, if it's too high you might not be able to launch a legitimately downloaded plugin.

This will also happen if you're missing an interpreter at the head of the file (I.E. #!/bin/bash or #!/usr/bin/ruby)

hi, i've installed the slack plugin and it seems to work fine once the python version problem solved on OSX but it keeps showing a yellow triangle saying posix_spawn error 8. I have a shebang .
any idea on how to investigate ?

Is the plugin marked as executable?

yes it is, i solved (more like a workaround)  it using a simple bash wrapper. so i can have a slack notification in my bar

i cannot click the icon once launched though. i have to install some other plugin so i can click refresh when needed

@gingerbeardman Did you manage to make it work ?

This is becoming a very serious problem for me. I was relying on bitbar and now I can't use it at all.
I didn't download my script, I wrote it by hand, and it does have the interpreter as the first line. In fact, it seems completely random as to whether I get this error or not. A script that has worked fine for years suddenly gets this error when I change it, but when I revert the changes back, the error doesn't go away.
It appears related to trying to put a duration in the script name... like scriptName.2s.sh instead of scriptName.sh. This causes the problem to start. However, renaming it back doesn't solve the problem, neither does rebooting my computer or reinstalling Bitbar.
At this point it appears Bitbar doesn't work at all for me, which is frustrating, as I was relying on it.

For anyone finding this in the future with the same problem, I found a solution not yet mentioned:
xattr -d com.apple.quarantine /path/to/script.sh
Fill in the correct script path for /path/to/script.sh and enter this in terminal. It's OS X's "helpful" quarantine system preventing your script from running.


Local path lookup

To support path reference of assets, we need a consistent way to do local path lookup.

Closed in ca49e8a4a30264b0f9b847a27d52e175b82d27e7


Reolink integration stop working after upgrade HA core 2022.3.1

After installation of HA core 2022.3.1 all integration (model 520a) stopped working
Log report this error:
"The reolink_dev platform for the camera integration does not support platform setup. Please remove it from your config"
To Reproduce
Just upgrade latest core version
Expected behavior
workin as always :)
Screenshots
Environment:
Please provide useful information about your environment, like:

Home Assistant 2022.3.1
3x Reolink 520a
Firmware up to date

Additional context
Camera continue to work fine in the Reolink App

What version of this integration are you running? What was your previous version of HA?

First time I had HA 2022.2.9 and integration v0.49, i had the problem afdter update HA core 2022.3.1
I've rollback with backup to 2022.2.9
Today I've seen the integration update v0.50 and I've try to install after upgrade HA core 2022.3.1 but the problem is still there

I read HA release notes and found nothing obvious. Got to dig this one

Same error. same camera
`Logger: homeassistant.config_entries
Source: helpers/network.py:172
First occurred: 01:03:45 (1 occurrences)
Last logged: 01:03:45
Error setting up entry Voordeur for reolink_dev
Traceback (most recent call last):
File "/config/custom_components/reolink_dev/init.py", line 81, in async_setup_entry
push = hass.data[DOMAIN][base.push_manager]
KeyError: 'push_manager-ec71dbf0aae0'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 335, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/reolink_dev/init.py", line 90, in async_setup_entry
await push.subscribe(base.event_id)
File "/config/custom_components/reolink_dev/base.py", line 354, in subscribe
get_url(self._hass, prefer_external=False),
File "/usr/src/homeassistant/homeassistant/helpers/network.py", line 133, in get_url
request_host = _get_request_host()
File "/usr/src/homeassistant/homeassistant/helpers/network.py", line 172, in _get_request_host
raise NoURLAvailableError
homeassistant.helpers.network.NoURLAvailableError`

New install error that look very similar to above.
HA version: 2022-2-6
Camera: RLC-510A
Logger: homeassistant.config_entries
Source: helpers/network.py:122
First occurred: 00:00:11 (1 occurrences)
Last logged: 00:00:11
Error setting up entry Cam1-entree for reolink_dev
Traceback (most recent call last):
File "/config/custom_components/reolink_dev/init.py", line 81, in async_setup_entry
push = hass.data[DOMAIN][base.push_manager]
KeyError: 'push_manager-ec71db8a06bf'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 327, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/reolink_dev/init.py", line 90, in async_setup_entry
await push.subscribe(base.event_id)
File "/config/custom_components/reolink_dev/base.py", line 354, in subscribe
get_url(self._hass, prefer_external=False),
File "/usr/src/homeassistant/homeassistant/helpers/network.py", line 83, in get_url
request_host = _get_request_host()
File "/usr/src/homeassistant/homeassistant/helpers/network.py", line 122, in _get_request_host
raise NoURLAvailableError
homeassistant.helpers.network.NoURLAvailableError

https://www.home-assistant.io/blog/2022/03/02/release-20223/#updates-for-custom-integration-developers
If a user has the http integration configured to use SSL, it only accepts HTTPS traffic. This means that the internal URL needs to be set to use HTTPS too, and for the certificate to be valid, this needs to be a domain name.

A lot of integrations that we send the URL to will fail if the certificate is not valid (ie. Sonos, Cast).

To help the user get this right, the default for the get_url helper will now prefer the external address if SSL is configured.

This has a higher chance of being correct, delivering a better out-of-the-box experience to a larger group of users.

Since Reolink camera don't support HTTPS webhook as far as I know (they dont trust certificates most of the time you will either disable https on HA OR install a certificate that Reolink supports OR just leave it like that and let Webhook fail.
Best I can do on my side is to log an error in DEBUG mode by catching this exception so integration will load again

If I might be of help: I'm connecting to Home Assistant over a reverse proxy. The frontend is served over HTTPS from the reverse proxy - however: internal connection from the proxy to Home Assistant is over plain HTTP. So for HASSIO the connection is always plain HTTP.
I tried to load the integration over the external URL with HTTPS and also the internal URL with HTTP. But both ways gave me the same error.
The http-config in my YAML looks like this:
# Reverse Proxy Config
http:
    use_x_forwarded_for: true
    trusted_proxies:
    - <IP_ADDRESS>
    ip_ban_enabled: true
    login_attempts_threshold: 5

please try 0.51 , now please note that if you keep mixing internal non-HTTP with external HTTPS address, it's not supported by HomeAssistant themselves

Thank you for the fast reply - I really appreciate your work. (Sidenote: Can you maybe add a donation url to your repo? I'd like to donate a few bucks).
Sadly version 0.51 did not solve my issue. I still can't add the integration. It shows in the list but once I click it I get this error:

I have also completely disabled HTTPS by removing the part in configuration.yaml and used the internal URL. But the issue persists.

Hi,
You will have to provide all logs are described here:
https://github.com/fwestenberg/reolink_dev/blob/master/TSHOOT.md

Done that. Here is the part in the log regarding reolink_dev:
2022-03-14 11:25:13 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading configuration flow for integration reolink_dev: No module named 'custom_components.reolink_dev.const'

I need all the logs, not what you think is right , actually I have 0 context out of this single log.
thank you

I can understand that - however: my log includes sensitive information about my configuration so I will not do that.
Maybe someone else can chime in.

To add onto this: It seems like the issue is not with the component but with the HACS download. I found something in the logs that HACS was not able to download the repo from GitHub. Once I downloaded it manually and installed it using WinSCP it workes flawlessly.


berks throws in celluloid

Hi,
New user to berks...  Can't find my error via google...
I have a working knife client but I'm trying to shift my paradigm to use berkshelf 3.1.1/chef-11.6 .  While I 'berks install'  works, I cannot 'berks upload' to my chef server while I can knife upload a cookbook without a problem.  I get a big stack trace which I've included.  berks is definitely talking to my chef-server as I see it do gets/puts to /sandbox.  I'd really like to use berkshelf.  Am I using too new a version? I'm at my wits end, and hope you can help!
-Chris
root #  cat ~/.berkshelf/config.json
{
  "ssl": {
    "verify": false
  }
root # cd ~/chef-dev/suned_nagios_server
root # berks
Resolving cookbook dependencies...
Fetching 'suned_nagios_server' from source at .
Using apache2 (1.10.4)
Using apt (2.3.10)
Using bluepill (2.3.1)
Using build-essential (2.0.0)
Using chef_handler (1.1.6)
Using iis (2.1.2)
Using iptables (0.13.2)
Using logrotate (1.5.0)
Using mysql (5.2.2)
Using nagios (5.3.4)
Using nginx (1.8.0)
Using nginx_simplecgi (0.1.2)
Using ohai (2.0.0)
Using pacman (1.1.1)
Using perl (1.2.2)
Using php (1.4.6)
Using rsyslog (1.12.2)
Using runit (1.5.10)
Using suned_nagios_server (0.1.0) from source at .
Using windows (1.30.2)
Using xml (1.2.4)
Using yum (3.2.0)
Using yum-epel (0.3.6)

# berks upload
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/tasks/task_fiber.rb:34:in `terminate': task was terminated (Celluloid::Task::TerminatedError)
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/actor.rb:350:in `each'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/actor.rb:350:in `cleanup'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/actor.rb:334:in `shutdown'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/actor.rb:326:in `handle_crash'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/actor.rb:161:in `rescue in run'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/actor.rb:147:in `run'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/actor.rb:129:in `block in start'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/thread_handle.rb:13:in `block in initialize'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/actor_system.rb:32:in `block in get_thread'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/internal_pool.rb:99:in `call'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/internal_pool.rb:99:in `block in create'
        from (celluloid):0:in `remote procedure call'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/future.rb:104:in `value'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/future.rb:68:in `value'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ridley-3.1.0/lib/ridley/resources/sandbox_resource.rb:71:in `map'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ridley-3.1.0/lib/ridley/resources/sandbox_resource.rb:71:in `upload'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/calls.rb:26:in `public_send'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/calls.rb:26:in `dispatch'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/calls.rb:63:in `dispatch'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/cell.rb:60:in `block in invoke'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/cell.rb:71:in `block in task'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/actor.rb:362:in `block in task'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/tasks.rb:55:in `block in initialize'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/tasks/task_fiber.rb:15:in `block in create'
        from (celluloid):0:in `remote procedure call'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/calls.rb:92:in `value'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/proxies/sync_proxy.rb:33:in `method_missing'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ridley-3.1.0/lib/ridley/chef_objects/sandbox_object.rb:46:in `upload'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ridley-3.1.0/lib/ridley/resources/cookbook_resource.rb:226:in `upload'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/calls.rb:26:in `public_send'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/calls.rb:26:in `dispatch'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/calls.rb:63:in `dispatch'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/cell.rb:60:in `block in invoke'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/cell.rb:71:in `block in task'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/actor.rb:362:in `block in task'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/tasks.rb:55:in `block in initialize'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/tasks/task_thread.rb:21:in `block in create'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/thread_handle.rb:13:in `block in initialize'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/actor_system.rb:32:in `block in get_thread'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/internal_pool.rb:99:in `call'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/internal_pool.rb:99:in `block in create'
        from (celluloid):0:in `remote procedure call'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/calls.rb:92:in `value'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/proxies/sync_proxy.rb:33:in `method_missing'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/berkshelf-3.1.1/lib/berkshelf/uploader.rb:54:in `block (2 levels) in upload'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/berkshelf-3.1.1/lib/berkshelf/uploader.rb:50:in `each'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/berkshelf-3.1.1/lib/berkshelf/uploader.rb:50:in `block in upload'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ridley-3.1.0/lib/ridley/client.rb:36:in `open'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ridley-3.1.0/lib/ridley.rb:51:in `open'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/berkshelf-3.1.1/lib/berkshelf.rb:156:in `ridley_connection'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/berkshelf-3.1.1/lib/berkshelf/uploader.rb:49:in `upload'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/berkshelf-3.1.1/lib/berkshelf/uploader.rb:36:in `run'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/berkshelf-3.1.1/lib/berkshelf/berksfile.rb:542:in `upload'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/berkshelf-3.1.1/lib/berkshelf/cli.rb:208:in `upload'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/berkshelf-3.1.1/lib/berkshelf/cli.rb:52:in `dispatch'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/berkshelf-3.1.1/lib/berkshelf/cli.rb:27:in `execute!'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/berkshelf-3.1.1/bin/berks:5:in `<top (required)>'
        from /opt/chef/embedded/bin/berks:23:in `load'
        from /opt/chef/embedded/bin/berks:23:in `<main>'

you can try berks upload --no-ssl-verify --force


Unify fields on product, collection and page models

Resolves #3479.

changes Product.available_on to Product.publication_date
changes Page.available_on to Page.publication_date
changes Page.is_visible to Page.is_published
changes Collection.published_date to Collection.publication_date
changes Product.is_available to property
use is_available consistently on all models
use a common queryset that exposes available (all published objects) and visible_to_user (all if uses has access otherwise published objects)

This breaks mutations as there's no easy way that I can see to deprecate the fields. Queries have old fields added and resolved properly with a deprecation flag.

Screenshots

Pull Request Checklist

[x] Privileged views and APIs are guarded by proper permission checks.
[x] All visible strings are translated with proper context.
[x] All data-formatting is locale-aware (dates, numbers, and so on).
[x] Database queries are optimized and the number of queries is constant.
[x] Database migration files are up to date.
[x] The changes are tested.
[x] The code is documented (docstrings, project documentation).
[x] GraphQL schema and type definitions are up to date.
[x] Changes are mentioned in the changelog.

Codecov Report

Merging #3706 into master will decrease coverage by 0.02%.
The diff coverage is 93.44%.

@@            Coverage Diff             @@
##           master    #3706      +/-   ##
==========================================
- Coverage   90.37%   90.34%   -0.03%
==========================================
  Files         249      249
  Lines       13414    13414
  Branches     1374     1372       -2
==========================================
- Hits        12123    12119       -4
- Misses        885      889       +4
  Partials      406      406

Impacted Files
Coverage Δ

saleor/dashboard/product/forms.py
91.9% <ø> (ø)
:arrow_up:

saleor/dashboard/order/forms.py
87.84% <ø> (ø)
:arrow_up:

saleor/dashboard/page/forms.py
100% <ø> (ø)
:arrow_up:

saleor/dashboard/collection/forms.py
100% <ø> (ø)
:arrow_up:

saleor/graphql/page/resolvers.py
100% <100%> (ø)
:arrow_up:

saleor/graphql/product/mutations/products.py
95.6% <100%> (ø)
:arrow_up:

saleor/page/models.py
90.9% <100%> (-1.1%)
:arrow_down:

saleor/dashboard/product/views.py
93.4% <100%> (ø)
:arrow_up:

saleor/product/utils/availability.py
90.9% <100%> (ø)
:arrow_up:

saleor/seo/schema/product.py
72.72% <100%> (ø)
:arrow_up:

... and 9 more

Continue to review full report at Codecov.

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


Data dictionaries

Updates for #133

Allows JSON files following all allowed .tsv naming schemes.

Awesome! Thanks!


vscode: Don't use bundled ripgrep by default

Motivation for this change
Allows me to use a patched version of ripgrep :smiley:
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Is this applicable to vscodium as well?

Is this applicable to vscodium as well?

Good catch, I've added the same flag to vscodium :+1:

@SuperSandro2000 @samuela I've rebased the PR, any chance we can get this merged?

thanks @Enzime !


I get an error on every version now.

I didn't change anything with my console. It worked perfectly yesterday and a before but then all of a sudden it stopped working. I get the same error each time now. .Net is fully updated. I have latest versions of everything. No idea what's up. I don't use loadiine. I have BOTW downloaded through USB loader. I go Mocha CFW-> TCPGecko->BOTW-Jgecko_->BOTW Trainer
Connection closed.   at BotwTrainer.TcpConn.Read(Byte[] buffer, UInt32 nobytes, UInt32& bytesRead)
at BotwTrainer.Gecko.ReadDataBufferSize()
at BotwTrainer.Gecko..ctor(TcpConn tcpConn, MainWindow mainWindow)
at BotwTrainer.MainWindow.ConnectClick(Object sender, RoutedEventArgs e)

Check your ip address, sounds like it has changed.


banana-cursor: init at 1.0.0

Description of changes
A quirky banana cursor :P
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Not sure if I need to mark it as broken on Darwin since MacOS doesn't allow changing cursor themes. Note that the dependency clickgen is already marked as broken for Darwin.
https://github.com/NixOS/nixpkgs/blob/612f97239e2cc474c13c9dafa0df378058c5ad8d/pkgs/development/python-modules/clickgen/default.nix#L59

Oh, the last time I checked, this package didn't exist.


⚠ T:Riza Api has degraded performance

In 957c360, T:Riza Api (https://infra.triza.dev/api) experienced degraded performance:

HTTP code: 200
Response time: 2472 ms

Resolved: T:Riza Api performance has improved in 583f395.


Add canonical URL link tag to Spanish site

Like #3744, but for the Spanish site.
Additions

adds canonical URL for SEO purposes to Spanish pages that use the es-base.html template
adds canonical URL to Spanish Ask CFPB site template

Removals

Changes

Testing
check out branch then:

./runserver.sh
go to http://localhost:8000/es/presentar-una-queja/ and view source and confirm that line 21 has the following element:
<link rel="canonical" href="http://localhost:8000/es/presentar-una-queja/">
and/or
go to  http://localhost:8000/ and view source and confirm that line 21 has the following element:
<link rel="canonical" href="http://localhost:8000/es/">
go to  http://localhost:8000/es/obtener-respuestas/categoria-enviar-dinero/ and view source and confirm that line 32 has the following element:
<link rel="canonical" href="http://localhost:8000/es/obtener-respuestas/categoria-enviar-dinero/">

Screenshots
Spanish base template:

Spanish Ask template:

Notes

Todos

@richaagarwal made the excellent suggestion that we take a look at combining some of the many base templates or portions of them to reduce duplicate code. So far, to add this 1 line of code, I'm duplicating it in 3 different base templates (the 2 in this PR plus 1 in #3768)

Checklist

[ ] PR has an informative and human-readable title
[ ] Changes are limited to a single goal (no scope creep)
[ ] Code can be automatically merged (no conflicts)
[ ] Code follows the standards laid out in the development playbook
[ ] Passes all existing automated tests
[ ] Any change in functionality is tested
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged
[ ] Visually tested in supported browsers and devices
[ ] Project documentation has been updated
[ ] Reviewers requested with the Reviewer tool :arrow_right:

I think this can be closed now that https://github.com/cfpb/cfgov-refresh/pull/3775 has been merged.


Modal flicker on close [iOS]

When i close a modal on iOS with nativeDriver , this causes a flicker at the end which i think it is because the children component it is rendered one more time.

useNativeDriver={true} fixed it for me.


Added prompting along with e5 instruct

All encode calls now include a prompt_name (following the variable name in sentence transformer's encode), which provided the task name. The model can then use a custom prompt pr. task if they wish (or encode based on e.g. task type).
Additionally to test it out I have also added the two e5 instruct models.

Checklist

[x] Run tests locally to make sure nothing is broken using make test.
[x] Run the formatter to format the code using make lint.

Adding a model checklist

[x] I have filled out the ModelMeta object to the extent possible
[x] I have ensured that my model can be loaded using

[x] mteb.get_model(model_name, revision_id) and
[x] mteb.get_model_meta(model_name, revision_id)

[x] I have tested the implementation works on a representative set of tasks.

Looks great @KennethEnevoldsen! Using the same as Retrieval for InstructionRetrieval is great and it will be nice for all the many models using it these days.  For many tasks in InstructionRetrieval the models did better with the prefix and the instruction so I added them both manually, glad to have it be part of this.


fix / Escape chars in identifiers

While working with emotion-js/styled, my team discovered that stylis is unable to parse CSS selectors which include escaped "special" characters. So a test like this:
  // add to test/Parser.js
  test.only('escaped chars in selector identifiers', () => {
    expect(
      stylis(`
        &.B\\&W{color:red;}
     `)
    ).to.equal(`.user.B\\&W{color:red;}`)
  });

Fails like this:
  1) Parser
       escaped chars in selector identifiers:

      AssertionError: expected '.user.B\\.userW{color:red;}' to equal '.user.B\\&W{color:red;}'
      + expected - actual

      -.user.B\.userW{color:red;}
      +.user.B\&W{color:red;}

      at Context.<anonymous> (test/Parser.js:140:10)
      at processImmediate (node:internal/timers:464:21)

Various versions of the CSS recommendations mention that escape characters can be used.
From https://www.w3.org/TR/CSS2/syndata.html#characters

Identifiers can also contain escaped characters and any ISO 10646 character as a numeric code (see next item). For instance, the identifier "B&W?" may be written as "B&W?" or "B\26 W\3F".

From https://www.w3.org/TR/css-syntax-3/#escaping (non-normative)

Any Unicode code point can be included in an identifier or quoted string by escaping it. CSS escape sequences start with a backslash (), and continue with:

Any Unicode code point that is not a hex digits or a newline. The escape sequence is replaced by that code point.
Or one to six hex digits, followed by an optional whitespace. The escape sequence is replaced by the Unicode code point whose value is given by the hexadecimal digits. This optional whitespace allow hexadecimal escape sequences to be followed by "real" hex digits.

So in this PR I'm attempting to add some support for those behaviors to stylis.js

Pull Request Test Coverage Report for Build 45b668e77edce8a958f23a6ef3970f47001f033b-PR-260

12 of 12 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 99.438%

Totals

Change from base Build f1e01ca8493f71e06457fff9aaba8831dfbae0f1:
0.02%

Covered Lines:
258

Relevant Lines:
259

💛  - Coveralls


Use Barclay tagged arguments for read sources management

Although I haven't explore how tagged arguments work completely, it looks like a good idea to make the read sources management as tagged arguments. For example, an interleaved input could be provided as -I interleaved=true:example.bam instead of -I example.bam -interleaved, because it makes clear that the interleaved refers to the input file. In addition, it allows to make clearer multiple sources features. For example: -I interleaved=true,forceQuality=Standard,rawBarcodeTag=BC-B2:example.bam. This clarifies that all this arguments refers to the input file, and it allows to implement the behavior for every tag specific to each input (for instance, do not allow  rawBarcodeTag for FASTQ inputs.
Nevertheless, this is a breaking change that should be considered with caution.

This should be included when the version 2.0.0 is out.


Exporting Binary/Utf8View from arrow-rs to pyarrow fails

Describe the bug
Exporting binaryview arrow to pyarrow fails with
Expected at least 3 buffers for imported type binary_view, ArrowArray struct has 2
To Reproduce
Construct binaryview array and export it over c data interface to pyarrow
Expected behavior
Export should succeed without error
Additional context
I think there's ambiguity in the spec https://github.com/apache/arrow/issues/43989. However, regardless of that issue it seems that export binaryview array has to do a bit extra work to produce buffer lengths

>>> pa.array(["a"], type=pa.string_view()).buffers()
[None, <pyarrow.Buffer address=0x31dec030180 size=16 is_cpu=True is_mutable=True>, <pyarrow.Buffer address=0x1121c2b40 size=0 is_cpu=True is_mutable=True>]

The failure seems to be happening within the C++ code here:
https://github.com/apache/arrow/blob/ab0a40ee34217070f14027776682074c55d0b507/cpp/src/arrow/c/bridge.cc#L1739-L1760
Digging in a bit more, it looks like the buffer in slot 0 is for validity, and for some reason is not being populated when StringViewArray is being passed back to Python

label_issue.py automatically added labels {'arrow'} from #6368


[Bug]:

Contact Details (optional)
<EMAIL_ADDRESS>What happened?
I followed the instructions:
cd ~/.node-red
npm install node-red-contrib-zwave-js@beta --force

and node-red doesn't start now.
Note: I run node-red in a docker container.
*** I know you said "Please raise issues on PR #204", but I didn't see how to do that.
How to reproduce?
I restart the node-red docker container.
Version
7.0.0
Node-RED Version
2.2.2
What hardware are you seeing the problem on?
Raspberry Pi
Relevant Z-Wave-JS log output
><EMAIL_ADDRESS>start
> node $NODE_OPTIONS node_modules/node-red/red.js $FLOWS "--userDir" "/data"
29 Apr 16:34:34 - [info]
Welcome to Node-RED
===================
29 Apr 16:34:34 - [info] Node-RED version: v2.2.2
29 Apr 16:34:34 - [info] Node.js  version: v16.13.1
29 Apr 16:34:34 - [info] Linux 5.15.32-v8+ arm64 LE
29 Apr 16:34:35 - [info] Loading palette nodes
29 Apr 16:34:39 - [info] Dashboard version 3.1.6 started at /ui
29 Apr 16:34:39 - [info] Settings file  : /data/settings.js
29 Apr 16:34:39 - [info] Context store  : 'default' [module=localfilesystem]
29 Apr 16:34:39 - [info] Context store  : 'memory' [module=memory]
29 Apr 16:34:39 - [info] User directory : /data
29 Apr 16:34:39 - [warn] Projects disabled : editorTheme.projects.enabled=false
29 Apr 16:34:39 - [info] Flows file     : /data/flows.json
29 Apr 16:34:39 - [info] Server now running at http://<IP_ADDRESS>:1880/
29 Apr 16:34:39 - [info] Starting flows
29 Apr 16:34:40 - [info] Started flows
npm ERR! path /usr/src/node-red
npm ERR! command failed
npm ERR! signal SIGSEGV
npm ERR! command sh -c node $NODE_OPTIONS node_modules/node-red/red.js $FLOWS "--userDir" "/data"
npm ERR! A complete log of this run can be found in:
npm ERR!     /data/.npm/_logs/2022-04-29T20_34_41_543Z-debug.log

/data/.npm/_logs/2022-04-29T20_34_41_543Z-debug.log:

0 verbose cli [
0 verbose cli   '/usr/local/bin/node',
0 verbose cli   '/usr/local/bin/npm',
0 verbose cli   '--no-update-notifier',
0 verbose cli   '--no-fund',
0 verbose cli   'start',
0 verbose cli   '--cache',
0 verbose cli   '/data/.npm',
0 verbose cli   '--',
0 verbose cli   '--userDir',
0 verbose cli   '/data'
0 verbose cli ]
1 info using<EMAIL_ADDRESS>2 info using<EMAIL_ADDRESS>3 timing npm:load:whichnode Completed in 1ms
4 timing config:load:defaults Completed in 6ms
5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 3ms
6 timing config:load:builtin Completed in 3ms
7 timing config:load:cli Completed in 7ms
8 timing config:load:env Completed in 1ms
9 timing config:load:file:/usr/src/node-red/.npmrc Completed in 0ms
10 timing config:load:project Completed in 4ms
11 timing config:load:file:/.npmrc Completed in 0ms
12 timing config:load:user Completed in 1ms
13 timing config:load:file:/usr/local/etc/npmrc Completed in 1ms
14 timing config:load:global Completed in 1ms
15 timing config:load:validate Completed in 1ms
16 timing config:load:credentials Completed in 3ms
17 timing config:load:setEnvs Completed in 5ms
18 timing config:load Completed in 32ms
19 timing npm:load:configload Completed in 32ms
20 timing npm:load:setTitle Completed in 1ms
21 timing npm:load:setupLog Completed in 2ms
22 timing config:load:flatten Completed in 11ms
23 timing npm:load:cleanupLog Completed in 7ms
24 timing npm:load:configScope Completed in 0ms
25 timing npm:load:projectScope Completed in 2ms
26 timing npm:load Completed in 57ms
27 timing command:run-script Completed in 8490ms
28 timing command:start Completed in 8501ms
29 verbose stack Error: command failed
29 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27)
29 verbose stack     at ChildProcess.emit (node:events:390:28)
29 verbose stack     at maybeClose (node:internal/child_process:1064:16)
29 verbose stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
30 verbose pkgid<EMAIL_ADDRESS>31 verbose cwd /usr/src/node-red
32 verbose Linux 5.15.32-v8+
33 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "--no-update-notifier" "--no-fund" "start" "--cache" "/data/.npm" "--" "--userDir" "/data"
34 verbose node v16.13.1
35 verbose npm  v8.1.2
36 error path /usr/src/node-red
37 error command failed
38 error signal SIGSEGV
39 error command sh -c node $NODE_OPTIONS node_modules/node-red/red.js $FLOWS "--userDir" "/data"
40 verbose exit 1

Hi @fabnavigator, zwave js V9 will convert files - does the container have write permissions.
Disclaimer; I know nothing about docker

I currently can't think of anything else that would cause a black out like this.
noting is pointing at the zwave module causing it - but the files write access is my only assumption

I was able to get back to 6.5.5 and everything is working again. I will look into the permissions issue.

If I recall, I initially had issues when I installed with npm. Everything worked when I installed using Manage Palette from with node-red. Is there a way to install the beta version from the Manage Palette UI?

OK - it might be the serial port update (it now uses V10 of serial port), which changes compilation.
can you they the following in your docker container?
npm install serialport - to see what happens?

bash-5.0# npm list
<EMAIL_ADDRESS>/usr/src/node-red
+--<EMAIL_ADDRESS>`--<EMAIL_ADDRESS>
It looks like it worked. What now?

ok and a restart if NR is still fine?

I did a restart. NR is still okay.

ok,
now npm install node-red-contrib-zwave-js@beta
Ensure your console environment is the one that NR is running under.
I don't know how docker works - but I do know console commands can use a different node version that NR its self is using -which can have complications.
I therefore suggest any console commands are under the same umbrella as NR - what ever that means 😅

Im going to move this to a convo - I like to keep things on issues related to release versions


imageFloatModalEdit feature

Following the same pattern as imageWidthModalEdit, users can now enable imageFloatModalEdit which will allow them to select from: "none", "left" and "right" options when inserting / editing images inline.

Hi, thank you for your work!
I'm sorry but I do not want to a add any select in v2 since it adds a lot of code to the core.
Your code is really clean by the way, I just want to keep it light :)


pre-commit fix mixed line endings in XML files

https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#mixed-line-ending
Description
This PR...

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[X] Cleanup (Code refactoring and cleanup, that may add test cases)
[ ] build/CI
[ ] test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

How did you try to break this feature and the system with this change?

@blueorangutan package

@jbampton a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan test

@vishesh92 a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests

[SF] Trillian test result (tid-12014)
Environment: kvm-ol8 (x2), Advanced Networking with Mgmt server ol8
Total time taken: 54732 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr10148-t12014-kvm-ol8.zip
Smoke tests completed. 140 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_04_nonsecured_to_secured_vm_migration
Error
355.39
test_vm_life_cycle.py


cmd/doc: does not show methods with receivers

What version of Go are you using (go version)?
go1.7
What did you do?
I ran go doc io.
What did you expect to see?
I expected to see methods

func (*PipeWriter) Close
func (*PipeWriter) CloseWithError
func (*PipeWriter) Write

members of io.Pipewriter in the output, because I see them in godoc io (mind the difference):
$ go doc io
...
...
type LimitedReader struct { ... }
type PipeReader struct { ... }
    func Pipe() (*PipeReader, *PipeWriter)
type PipeWriter struct { ... }
type ReadCloser interface { ... }
...

What did you see instead?
I did not see these functions with receivers (=methods) in the go doc output. go doc cmd does not show methods. It only shows functions with no receivers.
However, if I do go doc io.PipeWriter I see its methods. But I think go doc pkg should be able to lay out all exported API surface of a package (unless it's a deliberate design choice, of course).

This might be intentional. @robpike?

go doc doesn't also show much from interfaces or struct types, e.g. no struct fields are listed. I assume we need to do better in representing them if we list methods for consistency.

@rakyll go doc net/http.Server shows the struct fields for me and go doc net.Listener shows the interface contents. go doc os shows the package variables and constants. As far as I can tell, only the receiver methods are missing.

I believe this is intentional.
go doc io is trying to not spam you with every method for every type. I personally think this is reasonable behavior to keep the initial output of go doc io readable. As you've mentioned, if you drill down into go doc io.PipeWriter, it then shows the methods.

go doc net/http.Server shows struct fields under net/http.Server not net/http. The methods are more or less similar, strongly related to their types not the package. It is pretty reasonable to avoid them at the package-level summary to avoid spam.

What is the purpose of "go doc" vs "godoc"? (Pardon my ignorance as I have no historical context.) Because "godoc" is very verbose and shows everything. Perhaps there can be a "go doc -detailed"?
I am using "go doc" to diff two versions of a package in terms of API changes except the documentation (added methods/types etc). "Godoc" doesn't provide this type of output but "go doc" does, although it is incomplete.

It's intentional. The usual word for "methods with no receivers" in this context is "constructor". Go doc shows the top-level vars, consts, funcs, and types, and constructors for those types. If it printed the docs for every method of every type in the package it would be unusably verbose for many packages.


Update README.md

Scan submitted to Checkmarx

Checkmarx scan completed
Full Scan Details
Violation Summary

Severity
Count

Details

Lines
Severity
Category
File
Link


chore: update build process

This PR updates the rollup config to exclude @exodus/json-rpc and create-hash from getting bundled. Also, the files prop in package.json is updated to include browser-related bundle and type declaration files.
PS. crypto-hash was replaced with create-hash in earlier commits.

@iamcrazycoder great find and great fixes!
This led me to read inside the rollup-built files, and i realized that @solana/spl-token actually has a cyclical dependency on @solana/web3.js! So this library is bundling in the un-forked upstream version of this library when it builds.
We'll need to sort that out before publishing too. Perhaps we'll need to fork the spk-token package as well...


Add ratchet to CI

Maybe add a paths filter to the ratchet workflow? No need to run it unless the files in .github/workflows have changed. Otherwise 👍

Agree! Fix it!


Small issues that require further investigation

[ ] Long time for validation of a model; LAWI engine; chc-comp-21/LRA-TS/chc-LRA-TS_111.smt2
[x] Golem creating a huge number of terms in OpenSMT; Spacer engine; chc-comp-21/LIA-NonLin/chc-LIA-NonLin_522.smt2

Note: There are multiple benchmarks where this happens (besides chc-LRA-TS_111.smt2). OpenSMT spends time in strange places according to measurement. Check if the model is unnecessary complicated and could be simplified.
If resolved, repeat witness validation for LAWI.

Regarding chc-comp-21/LIA-NonLin/chc-LIA-NonLin_522.smt2 and huge number of terms:
This is caused by the complicated structure of the system, with large number of clauses (~1000) and large predicates (with hundreds of variables), which does not suit our normalization process very well.
Some optimization has been applied to avoid creation of some temporary terms. More could be done, especially when dealing with equalities.


Doubt related to transform in the buffer.py

Hello,
I have a question related to the der.py and buffer.py, specifically related to the applied transforms for the data augmentation.
Following are the transformation used in der for split cifar 10
Compose(
    ToPILImage()
    Compose(
    RandomCrop(size=(32, 32), padding=4)
    RandomHorizontalFlip(p=0.5)
    ToTensor()
    Normalize(mean=(0.4914, 0.4822, 0.4465), std=(0.247, 0.2435, 0.2615))
))

While we store the samples in the buffer, we always save the non-augmented inputs and the corresponding logits, as shown in the following snippet.
self.buffer.add_data(examples=not_aug_inputs, logits=outputs.data)

    def add_data(self, examples, labels=None, logits=None, task_labels=None):
        if not hasattr(self, 'examples'):
            self.init_tensors(examples, labels, logits, task_labels)

        for i in range(examples.shape[0]):
            index = reservoir(self.num_seen_examples, self.buffer_size)
            self.num_seen_examples += 1
            if index >= 0:
                self.examples[index] = examples[i].to(self.device)
                if labels is not None:
                    self.labels[index] = labels[i].to(self.device)
                if logits is not None:
                    self.logits[index] = logits[i].to(self.device)
                if task_labels is not None:
                    self.task_labels[index] = task_labels[i].to(self.device)

Now, when we call get_all_elements or get_data
    def get_data(self, size: int, transform: transforms=None) -> Tuple:
        """
        Random samples a batch of size items.
        :param size: the number of requested items
        :param transform: the transformation to be applied (data augmentation)
        :return:
        """
        if size > min(self.num_seen_examples, self.examples.shape[0]):
            size = min(self.num_seen_examples, self.examples.shape[0])

        choice = np.random.choice(min(self.num_seen_examples, self.examples.shape[0]),
                                  size=size, replace=False)
        if transform is None: transform = lambda x: x
        ret_tuple = (torch.stack([transform(ee.cpu())
                            for ee in self.examples[choice]]).to(self.device),)
        for attr_str in self.attributes[1:]:
            if hasattr(self, attr_str):
                attr = getattr(self, attr_str)
                ret_tuple += (attr[choice],)

        return ret_tuple

It applies the set of transformations, on the non_augmented examples.
Now my question is the following- when we request for the elements from the buffer, would the transformation on the top of non_augmented images still be the same, which generated the corresponding logits.?
Since the transforms are stochastic, (crop/flip), it seems to give different example in contrast with the original transformed input, which generated the logits.
It will be great if you can answer my query, thanks!!

Yes, this is correct. As we point out in section 4.1 in our paper, this is a choice that amounts to applying an additional consistency regularisation objective. This is key in getting better performance, not only for DER, but also for all other rehearsa-based methods (especially ER).

Thanks a lot for the lightning-fast response. I will have a look at the papers you have cited in sec 4.1. Although I haven't read those papers, intuitively what you said makes a lot of sense. However, when mathematically writing down the loss term with the following notations
Let f(x, \theta) be the network giving logits in R^d. Let x' denotes the applied transformation, and \theta' denotes any new parameter after some gradient steps. Therefore, the loss at the moment can be described as
Err(x, x', \theta, \theta') = || f(x', \theta') - f(x, \theta) ||
This can be upper bounded by -
Err(x, x', \theta, \theta')  \leq  || f(x', \theta') - f(x, \theta') ||  +  || f(x, \theta') - f(x, \theta) ||
=     (Consistency loss at \theta')  + Dark experience distillation of logits
Therefore, is there any other way of mathematically showing that minimizing Err will lead to the minimization of the sum on the RHS?
Once again, thanks for the quick response!

I'm not sure I understand the question correctly: how can one derive that the first expression (what we apply) is exactly an upper bound of the RHS of the second expression (the sum of consistency and DER loss)?
I do not really think that we should see the combination of the two losses as a straightforward sum, but rather as a kind of composition: we are computing DER loss on top of the application of consistency regularisation.
Since we are assuming that the model should learn to disregard augmentations when producing a response, DER loss is all the more valid when distinct augmentations are at play.

Thanks for the response. I might not have properly conveyed my question. Quoting the line from sec 4.1 -
"It is worth noting that combining data augmentation with our regularization objective enforces an implicit consistency
loss, which aligns predictions for the same example subjected to small data transformations."
The first expression Err(x, x', \theta, \theta') =  || f(x', \theta') - f(x, \theta) ||  is optimized (in addition to the cross entropy loss on the current examples) during the training.  While the RHS is an upper bound on the || f(x', \theta') - f(x, \theta) ||. That is,
Err(x, x', \theta, \theta') \leq || f(x', \theta') - f(x, \theta') || + || f(x, \theta') - f(x, \theta) ||
My question is from a mathematical point of view; will optimization of Err (in addition to cross-entropy loss on the current task) also lead to the minimization of the consistency loss and the MSE loss between the logits for input x, at \theta and \theta' respectively?


Next disable cache plugin

Made a plugin based on this. Allowing for the disabling of babel's caching.

Also added

.eslintrc because I failed precommit without knowing it because my sublime linter did not pick up the configuration
license filled out with MIT text

Also added
.eslintrc because I failed precommit without knowing it because my sublime linter did not pick up the configuration
license filled out with MIT text

could you separate this out? It's a nice addition 🙏
Feel free to publish this plugin under your own account / repository, it's a nice plugin but serves a very specific edge case, so I'd like it to be community maintained 🙏💯🙌


Are the settings broken in 3.7.4?

When I upgraded to version 3.7.4, the submenus under each option in the Settings menu are unavailable, the dropdown just shows a tiny empty box:

The same thing happens for all of the dropdowns under Settings.
I have tried:

Deleting my config.ini to reset all my settings (did not help)
Uninstalling Browser Tamer completely and then reinstalling 3.7.4 (did not help)
Installing version 3.7.3 again (then the settings worked fine again)
Installing 3.7.4 one more time after that (still did not work)
Additional note: While testing, I noticed that the 3.7.4 installation doesn't seem to "upgrade" 3.7.3 properly, so both uninstall entries are left in the "Remove programs" list in Windows 10.

This was tested on Windows 10 Enterprise, build version: 22H2
For now I just rolled back to 3.7.3.

Indeed i have the exact same going on in my end.


Error when running in Docker

When I try to run botblocker in docker, I receive an error on pyperclip for authorization link, because Docker can't access clipboard.

Sorry for not responding, I somehow missed it. Thank you a lot for the contribution!


Turn the device screen off while mirroring.

Add an additional argument in ADBShot classes for turning screen off while mirroring, just like scrcpy --turn-screen-off  or scrcpy -S
For reference:
https://github.com/Genymobile/scrcpy/blob/bbfac9ae1fba08a045557abe9612703ace8a3890/doc/device.md?plain=1#L22
I don't have enough knowledge about adb to implement it myself.

Thanks for your suggestion, but right now, I don't have any time for it.  Try it, it is not that hard.

No problem, I will give it a try.


Clean up

*: To be changed in the future
-: Declined future change
+: Changed
=: Need to be discussed
General:

+Move all prod build files to the build folder
*Move main and renderer source files to different folders
*Move webpack configs to internals with prod and dev subfolder
=Change comma-dangle in eslint
+Fix Import order
+Clean up path.join/path.resolve
=Fix non default imports. For example

import path from 'path'
// path has no default export so we would want to use
import * as path from 'path'

Files
webpack.config.main.prod.js:

+Remove:

  process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV || 'production'

webpack.config.renderer.prod.js:

+Remove:

  move new webpack.DefinePlugin({
      process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV || 'production')
  })

Should I do a pull request on the master or #1166?

@ocboogie This PR is a little outdated. Can you please make the same PR against the v0.13.3 branch?

Alright let me work on this

Closing due to inactivity


feat: create bundle with external file url

Currently, bundles can only be created by uploading a local zip file. However, it should be possible to create bundles that do not use Capawesome Cloud storage:
npx capawesome apps:bundles:create --url https://domain.tld/my-bundle.zip

Closed by https://github.com/capawesome-team/cli/commit/bf7b21346813543992128f54e9a6bde283c38446


YouTube video: how to open traces

Create a YouTube video for the Trace Compass channel about how to open traces in Theia Trace Extension.

Video uploaded to the Trace Compass YouTube channel.


Don't use saturated_into in informant

We should require the BlockNumber to implement Display + Serialize for the informant as a local where bound.
https://github.com/paritytech/substrate/pull/2602_

The issue here is that the informant shows for example "4.2 blocks per second".
It's not really possible to have decimal values, unless we hack together something by printing {}.{} and assuming that the block is displayed as a number.

A solution could be to use TryInto<u128>. If it succeeds, show decimals. If it fails, show a rounded integer.


Logical source cardinality

I see that we currently have the logical source cardinality to be equal to 1,
i.e. each TriplesMap should have exactly 1 Logical Source.
this holds in v1 of the shapes and the current version of the spec.
Question is: do we keep this? Should it always be 1? Should it be at least 1?

👍 to change to 'at least 1'

I would say at most 1, keeping the option to have triples maps without direct logicalSource relationship (think old (and maybe current??) function use case).
Say we were to allow more than 1: what is the expected behavior when a TriplesMap has more than 1 LogicalSource?

Interesting 🤔
I see your point regarding why more than 1. The cases that I can think of is to have logical sources coming from different data sources but still have the same structure and format. But then again you need multiple data sources and not logical sources.
@bjdmeest what do you have in mind and you agree on having multiple data sources?
@pmaria I am not sure how safe it is to have a Triples map without a logical source. Then how do we know where the references refer to?

I would prefer even exactly one because it will complicate too much the idea of a Triples Map with rml:reference, rr:column, rr:template, etc.
at least one

Multiple sources can be defined then, causing issues with references unless you require RML Fields, which I am really against as it removes the ability to only implement a few specifications instead of all. Multiple sources without Fields will make it impossible to reconcile: JSONPath vs XPath vs a tabular column vs $WHATEVER. Also joining will be an issue.
Avoids the problem where no Logical Source is defined and it becomes hard to know where the references are pointing to. Which is a good thing
This can easily achieved by making 2 Triples Map.

at most one

Avoids the multiple sources possibility.
Lack of a Logical Source makes the references from rml:reference, rr:column, rr:template undefined as you don't know where they point to, unless the processor has it as a config, but then we are not declarative anymore.
This cannot be achieved currently without violating any shape.
Functions are currently not in a Triples Map, but are linked with FNML as a TermMap.

exactly one

Avoids the multiple sources possibility.
Avoids the lack of a Logical Source, thus ambiguous references
Multiple sources, just multiple Triples Maps.
Functions are TermMaps so they are unaffected.

Just for the records, R2RML does say exactly 1

@pmaria I am not sure how safe it is to have a Triples map without a logical source. Then how do we know where the references refer to?

at most one

Avoids the multiple sources possibility.
Lack of a Logical Source makes the references from rml:reference, rr:column, rr:template undefined as you don't know where they point to, unless the processor has it as a config, but then we are not declarative anymore.
This cannot be achieved currently without violating any shape.
Functions are currently not in a Triples Map, but are linked with FNML as a TermMap.

Well the point is more that the LogicalSource could be implied in the mapping. During evaluation of the mapping the single correct logical source would then still be bound.
For example, one could imagine a use case for a TriplesMap somehow nested in another TriplesMap. Where the LogicalSource of the  nested TriplesMap is implied to be the one of the outer TriplesMap.
In fact this is what was discussed for the old FunctionTriplesMap, which is now Execution in the new fnml spec.
Conceptually, an Execution still behaves much like a TriplesMap does, and could be seen as a subClass thereof (however currently not explicitly stated I believe).
So, I think we should be careful with requiring a rml:logicalSource property to be specified for each TriplesMap.

Hah, I was maybe a bit quick :). I would, in the ontology, not make any cardinality restrictions, but in the application profile of RML-Core, maybe having exactly one LogicalSource makes things the most clear-cut. The Function case was an extension, and we can specify that the application profile of a 'Nested Triples Map' may have 0..1 LogicalSource, bc that's an extension without violating the ontology. Making the standard stuff a bit more focused will ease development I assume.
If we would introduce the Nested Triples Map or smth similar in RML core, we need to revisit this issue I assume.
My use case was a folder of CSV files that was chunked in, eg 10k lines, and having multiple logicalsources could allow having a single line in RML to state 'take all chunk-*.csv files'. But revisiting that, I agree it makes more sense to have a more specialized CSV DataSource that supports globs or smth

So would you agree with the following?

in the ontology we don't limit the cardinality
in the specifications we describe what the cardinality is
in the shapes we can describe the cardinality matching the specification as long as it does not restrict cardinality generally for all instances of rml:TriplesMap.

@pmaria your summary is correct, so far we have agreed on not putting restrictions on the ontology and include all restrictions to the shapes. However the question is what this cardinality should be? (My question comes after I was updating the text of the spec)
Let's try to think of rml:TriplesMap independently of potential Nested Maps, would we still stick to 0 to 1? Or would we go for exactly 1?

I guess that depends on how we set up the shapes.
If we want to support extensions creating subclasses of a TriplesMap where the rml:logicalSource is not specified, which seems reasonable to expect, we cannot define a shape like:
<TriplesMapShape>
  sh:targetClass rml:TriplesMap ;
  sh:property [
    sh:path rml:logicalSource ;
    sh:minCount 1 ;
    sh:maxCount 1 ;
  ] ;
.

since this would also hold for all X where X rdfs:subClassOf rml:TriplesMap, thus limiting the alternative usage in extensions.
So, if we want the restriction to be strictly defined for core, we'd need to use an alternative approach. Maybe using an sh:or or sh:xone which wraps the property shape, which could be extended in the extensions? I'd have to think a bit more about the best approach. (This is a more general issue: how to provide extension points in the shapes)

Discussed and decided in todays meeting: Keep cardinality 1 to 1 in shapes.

I came across a possibility where a Logical Source should not be required:
Triples Map:

SubjectMap: rml:constant
PredicateObjectMap:

PredicateMap: rml:constant
ObjectMap: rml:constant

In this case (where ALL are rml:constant), the Triples Map is completely constant and should be executed once.
This is an edge case but can be useful if you need to express some constant properties in a separate Triples Map e.g. you publish a dataset as DCAT and fill in the information about the publisher/dataset (dcat:Catalog and friends) [1] which is constant. Currently, you need to put this in a file, like it to a source and perform the mapping like that.
Should we add an exception for the cardinality in such case?
(although would be hard to check this with SHACL shapes and friends)
[1] https://www.w3.org/TR/vocab-dcat-3/#Class:Catalog

Interesting.

the Triples Map is completely constant and should be executed once.

How do you define that it should be executed only once?

How do you define that it should be executed only once?

Well that is must be executed once is 'trivial' to see as it would yield always the same RDF triples, no matter which sources are involved in the RML mapping. Question is indeed how to advertise this as an engine would need to read the Triples Map and when it can be executed without any Logical Source (read: all Term Maps have rr:constant), it proceeds.
Currently, engines rely on the Logical Source records to trigger Triples Map execution, but in this edge case, there's no source involved as all Term Maps have rr:constant.

At most one
Enforce this through SHACL: most one for rr:constant-only, exactly one when rml:reference or rml:template are present for a TriplesMap
Document this edge case in the spec.

@DylanVanAssche has been this solved in the I/O spec? Shall we move this to that repo or close it?

has been this solved in the I/O spec? Shall we move this to that repo or close it?

This is a Core issue: the cardinality of rml:logicalSource property inside a TriplesMap.

@DylanVanAssche do I summarize it correctly here?
A Triples Map SHOULD have 1 Logical Source.
A triples map MAY not have a Logical Source if all its Term Maps are

constant-valued expression maps
have a blank node as term type and no expression map

Just a question: given two sources, say file1.csv and file2.json, would it be possible to write a mapping specifying the class of "employees occurring both fine1.csv and file2.json"?
This looks like a pretty natural thing to write, in a federated setting, but I do not see how it could be achieved if at most one logical source is allowed (can multiple data sources be "wrapped" within the same logical source? That was not my impression by reading the spec).

@andimou

do I summarize it correctly here?

Yes

@andimou @DylanVanAssche seems there is a final proposal for this, is it already in the spec or shall we make a PR for closing this?

Needs updating in the spec. I'm all for the proposal:

A Triples Map SHOULD have 1 Logical Source.
A triples map MAY not have a Logical Source if all its Term Maps are
constant-valued expression maps
have a blank node as term type and no expression map

See #84


decide if we should expose the numerical value of the log levels

done on the forums thread regarding log levels.

👍 for hiding, considered in some more detail in linked thread .

Done, not exposing them


Directory Structure

Thinking about not placing the source module and sass files within www. Once we get offline template compiling, which should be landing soon, even source HTML files are compiled. So all output that gets transpiled/compiled goes in bundle (or whatever), and normal static files like images go in www/img or whatever they want. Thoughts?
- app
  - components
    - my-component.js
    - my-other-component.js
  - directives
    - my-directive.js
    - my-other-directive.js
  - pages
    - about
      - about.js
      - about.scss
      - about.html
    - contact
      - contact.js
      - contact.scss
      - contact.html
  - providers
    - my-provider.js
    - my-other-provider.js
  - app.core.scss
  - app.html
  - app.ios.scss
  - app.md.scss
  - app.js
  - app.variables.scss

- www
  - bundle
    - app.bundle.js (webpack build)
    - app.md.css (sass build)
    - app.ios.css (sass build)
    - (offline template compiling code/data would go here, not HTML files)
    - about.html (until offline template compiling is available)
    - contact.html
  - img
    - logo.svg
    - kittens.gif
  - index.html

- config.xml
- gulpfile.js
- package.json
- tsconfig.json
- webpack.config.js

@mlynch @tlancina @brandyscarney @mhartington
Resources:
https://github.com/AngularClass/angular2-webpack-starter
https://github.com/DanWahlin/Angular2-JumpStart
https://github.com/mgechev/angular2-seed
https://github.com/valor-software/ng2-bootstrap

I like it, just can't swallow pushing providers. I don't see a reason to stop anyone from doing that, but I don't know if we should push that concept ourselves. They're just plain utility classes and services. providers is way too angulary

All for building outside www/

I'm fine with it, but I think having the img/ folder outside of the working directory may be confusing.

- www
  - bundle
    - about.html (until offline template compiling is available)
    - contact.html

What about components & pages directory? For example if I have:
- app
  - components
    - about
      - about.html
  - pages
    - about
      - about.html
    - something
      - about.html

What about just a directives directory for components and directives? Components are technically directives as well, and I don't think they're so different that we need separate directories for them, but maybe that would be confusing.
I'm fine with provider if that's what angular is calling it, services makes a lot of sense to me as well (esp. coming from ng1).
Everything else LGTM, having app outside of www brings the Cordova build size down (no duplication of source files) and I think the template path issue is no longer relevant because of https://github.com/angular/angular/commit/28860d3 :+1:

@tlancina I'd prefer components then, since a directive is kind of a "component" and that concept is the one most people are using in and out of angular...

Yeah I agree with @brandyscarney as well, having to map your asset paths in your head to where your build is going to be might be confusing.
We can easily add a gulp task/CLI config glob for paths to copy into www.

@mlynch I believe it's the other way around, components are directives, but directives are not components.

Yes, "technically" but no one uses directives except Angular. Directive directives could still be considered "components" that enhance elements.

@tlancina Could we copy the directory over and have it ignored by git so they can still put assets in their working directory?

Really the images stuff if what tripped us up before and why it is the way it is now. But if you look at what we've done with the conf app already is that the images are already outside of the www/app directory: https://github.com/driftyco/ionic-conference-app/tree/master/www/img So we're not even using it like we thought we would.
So all things considered, I think I like having static assets like images managed outside of the /app directory, and users can place and organize their assets in the /www directory however they like. If we were to get into automatically copying certain files into www, I think we'd always miss different crazy file types, and might be even more confusing for them to figure out their static asset's file path.
Also, yeah I agree we can go with just components for both our directives and components. It's what we'll do, but there's nothing stopping them from breaking it down even further if they'd like.
@astec Are you saying the problem would be that there could be multiple about.html files in the bundle folder? If so that's a good point, I think we'll have to keep the folder structure of all the html files within the bundle folder so that doesn't happen. We'll also look into using moduleId so we can keep relative paths to the HTML. But also, I'm hoping a lot of these worries will go away with the offline template compiling.

@brandyscarney good point, what if we had a root level assets/ directory that the default config copies into www and would be .gitignore'd in all the starters? Then:
app -> www/build
assets -> www/assets

Yeah I get the components argument I think, it's easier to reason about things like pages and components as the building blocks of an app.
@adamdbradley I see your point about paths confusion, I was thinking it would be easier to have www be more of a build target only directory, but index.html is already in there and will need to have the correct paths to the built bundles, so I guess it's not that crazy to expect people to be able to figure out the build paths.  I'm fine with either way.

WWECD (what would ember cli do)

- app
  - components
    - my-component.js
    - my-other-component.js
    - my-directive.js
    - my-other-directive.js
  - pages
    - about
      - about.js
      - about.scss
      - about.html
    - contact
      - contact.js
      - contact.scss
      - contact.html
  - providers
    - my-provider.js
    - my-other-provider.js
  - app.core.scss
  - app.html
  - app.ios.scss
  - app.md.scss
  - app.js
  - app.variables.scss

- www
  - dist (can be safely deleted and rebuilt)
    - app.bundle.js (webpack build)
    - app.md.css (sass build)
    - app.ios.css (sass build)
    - (offline template compiling code/data would go here, not HTML files)
    - pages
      - about
        - about.html (until offline template compiling is available)
      - contact
        - contact.html
  - img
    - logo.svg
    - kittens.gif
  - index.html

- config.xml
- gulpfile.js
- package.json
- tsconfig.json
- webpack.config.js

Is this good to close now?


Add Velodrome Finance methodology

Looks good, other than the typo that I commented on!

Thanks guys!


(maint) Bring stability to stable builds

Without this change, runs of cmake, mingw32-make, git, and 7za don't
cause the script to halt when they return non-zero exit codes. This
makes builds appear to succeed when part of them failed. Ensure errors
from external tools halt the build.

Looks good. The commit summary is a bit of a brain teaser though. "Ensure errors halt Windows builds"?

I was in a tongue-in-cheek mood when I wrote it.

Doh! And I was evidently humor-impaired :)


bips: Remove outdated table and link to GitHub doc

Branch/release specific information about BIPs is already available in the git repo itself. Remove it here lest having it oudated.

Tested ACK 1c3abe1ffce86c22d5a0dcb77b7fcb258689173d Thanks!


fix transport-dom package

correct publishConfig paths
correct location of files field
tsconfig.json excludes build output
prepack script runs build
prebuild script runs clean
clean script removes pack outputs
vite build reconfigured

vite-plugin-externalize-deps to actually use dependencies
except for @penumbra-zone/polyfills which is configured to inline

chained to #1023, retargeting to main on merge


Link wwrapper with pytho libs on MacOS

Motivation
Linking of _pulsar.so is failing on MacOS with the newer compiler. Adding linking with python shared lib when building the py plugin.

run java8 tests

Merged in 2.3.1 at
0b95393


Metrics

We need some basic metrics around keys:

a counter for refresh events, with a source label indicating the URI
a counter for refresh errors, with a source label indicating the URI
a counter for resolve events, possibly with a keyID label though not sure if that would produce too high a cardinality
a counter for resolve errors, again, possibly with a keyID label
a gauge for the current number of keys from a source

We might want to include some metrics around new and deleted keys from the Refresher as well.

Resolved in #24


Update minimum version for scikit-learn.

We're using it on a project now with 0.16.1 and it seems fine.

Excellent, thanks for this.  Closing this PR and replacing it with #24 that also caps the version (to provide some assurance against future changes -- we have been bitten before by backward incompatible sklearn changes).


Add view with Gitpod Flex instructions

Description

Add view with Gitpod Flex instructions
Related Issue(s)

Fixes https://linear.app/gitpod/issue/NEXT-2305/[vscode]-add-new-webview-in-classic-with-gitpod-flex-instructions
How to test

Documentation

/hold

@jeanp413 important point that it should be only for gitpod.io users. Enterprise users should not see it.


Correctly parse labels with '#'

Objective

Fixes #5707

Solution

Used splitn instead of split to collect the rest of the string into the label after the first '#'.

bors r+


[API?/Game] "suicide" value is always 0 at /api/v1/match/{matchID}/map/{mapNumber}/player/{steamid64}/update

even tho player suicides

This should be get5-related issue : https://github.com/splewis/get5/blob/95e52f5215d6aa6d576a89a1ca3c9064edba0a03/scripting/get5/stats.sp#L228
Player actually killed himself by using molotov or grenades,it is counted as "suicide".
But incase player died by falling,it is recognized as "Killed by World". So it is counted as "teamkills"


SaintCoinach build process confusing.

Hello! I get a lot of errors when attempting to build this program. What are the required tools/libraries? What are the dependancies I need? What are the exact versions of these dependencies?
Also, I want to run Soreepeong (kizer)'s version, but I can't build these solutions because of errors.
Output-Build.txt

I know it's been forever since you commented here. Check my PR here for step 1 on getting this to build properly for you: https://github.com/xivapi/SaintCoinach/pull/138
Step 2 is to right-click on each of the projects necessary (I think DotSquish is the only one you don't have to do this with), and there should be an option in the menu somewhere to restore NuGet packages. Do that for each project after doing Step 1, and you should be good. That worked for me at least.


node build vs donejs build

I noticed that in several places throughout the guides, there's instructions to run donejs build and in other places, it says to run node build.
 Or is it always supposed to be donejs build?
In the quick start guide, it only refers to donejs build, but in the in depth guide, it says node build in a few places.

donejs build is running npm run build which is set in the package.json as scripts: { build: "node build" }. It should be consistent though and probably be donejs build everywhere.


legacy mapper: subtitles response in legacy protocol is wrapped in {all}, but should be {subtitles} in the new protocol

the valid response should be {subtitles: [..]} and not {subtitles:{all:[..]}} as it is now

for now, we have this workaround: https://github.com/Stremio/stremio-models/commit/27d1256894bceb6770ba270a3e756ee830c35bee


Error while checking for<EMAIL_ADDRESS>(Windows)

C:\Meteor>meteor create test2
test2: created.

To run your new app:
  cd test2
  meteor

C:\Meteor>cd test2

C:\Meteor\test2>meteor add xolvio:cucumber
 => Errors while adding packages:

While checking for<EMAIL_ADDRESS>error: No compatible binary build found for this package. Contact the
package author and ask them to publish it for your platform.

Thanks for reporting, looking into it

Au contraire mon frere, thank YOU... The latest changes look awesome.

fyi, same error for 0.7.2

I know, we're having trouble building for windows, some npm weirdness going on. trying to fix again tomorrow. Stay tuned!

Fixed in 0.8.0


Communication through intercom should state it is an intercom

Description

Such as with a handheld radio, the name in chat appears as "handheld radio (name of person)"
With intercoms, it shows up as the person's name like they were talking normally rather than "Intercom (name of person)"
This leads to too many people being falsely arrested because the default assumption is that the person has an encryption key they shouldn't have despite intercoms being commonly mapped
Reproduction

Screenshots

Additional context

Tbh handheld radios should probably not state where they're coming from.
Its a radio. How cab you determine the origin of the signal down to the device its coming fromm? If people want to be idiots and hunt you down for that then you have all the plausible deniability and lawyer potential in the world.

disagree think its more fun when it does state where they're coming from. if you want like some plausible explanation i feel like you could probably tell which sources are radios/intercoms because they just sound different

This leads to too many people being falsely arrested because the default assumption is that the person has an encryption key they shouldn't have despite intercoms being commonly mapped

thats just shitsec

this seems more than fair, i keep seeing people getting arrested and put in for time because they have a sec coms key but they never did. saying that its coming from a handheld or a intercom would be nice and stop random people being arrested for speaking near a sec officer.


Ubuntu子系统无法启动

打开cmd后输入bash，bash卡住，任务管理器中Bash进程大量占用CPU，子系统无法启动，怎么解决

Is it possible for you to post the issue in English? Also, see contributing.md for the template.

Translation:

Start cmd
Type in "bash"
It stucks, and Bash takes a great amount of CPU resources

Closing since this issue has no reproducible steps.  Please reopen and follow our contribution guidance.


Redo documentation

The README is partially wrong and some features need to be documented:

The http-proxy is not a "real" HTTP proxy, the ruby example needs to be removed and replaced with maybe a curl example
Behaviour with Authorization header set needs to be explained better (multiple clients)
API v8/v6 images should no longer be mentioned, latest supports all versions as long as the Path exists in twilight
Metrics shouldn't be documented as "Grafana metrics", rather as "Prometheus metrics" since Grafana also supports e.g. InfluxDB as a backend

While you're at it, could you wrap all docs to 80 characters, so we are consistent with the main repo (in preparation for this to be folded in)


[TW#16672] Unable to connect to gatt server from android

Hi,
Since a few days, by launching the gatt_server example, I'm not able anymore to connect to my device from my android phone with nRf Connect. I cannot even bond with the esp32.
It's weird because on my Ipad with LightBlue everything is fine.
Thanks for your help.

My bad, didn't check the nRf connect app update.


When upgrade from 3.0-rc14 to v3.1.1,build project debug "can not find module string_decoder".

Describe the feature
at v3.0.0-rc14 is ok. when upgrade to v3.1.1,when build project debug:
Nuxt 3.1.1 with Nitro 2.1.1
Error: Error: Cannot find module string_decoder/ imported from file:///D:/nuxt_app/node_modules, file:///D:/nuxt_app/node_modules/nuxt/node_modules, file:///D:/nuxt_app/node_modules/nitropack/node_modules, file:///D:/nuxt_app/, file:///D:/nuxt_app/node_modules/_index.js, file:///D:/nuxt_app/node_modules, file:///D:/nuxt_app/node_modules/nuxt/, file:///D:/nuxt_app/node_modules/nuxt/node_modules/_index.js, file:///D:/nuxt_app/node_modules/nuxt/node_modules, file:///D:/nuxt_app/node_modules/nitropack/, file:///D:/nuxt_app/node_modules/nitropack/node_modules/_index.js, file:///D:/nuxt_app/node_modules/nitropack/node_modules
undefined
Additional information

[X] Would you be willing to help implement this feature?
[X] Could this feature be implemented as a module?

Final checks

[X] Read the contribution guide.
[X] Check existing discussions and issues.

Hey! Could you kindly provide a reproduction? 🙏

when project npm run dev  mode,all right.Only npm run build debug. upgrade v3.-rc.14 to v3.1.1 or create new v3.1.1 project are under debug.
√ Server built in 2840ms                                                                                19:06:23
√ Generated public .output/public                                                                                nitro 19:06:23
i Building Nitro Server (preset: node-server)                                                                                nitro 19:06:23
ERROR  Error: Error: Cannot find module string_decoder/ imported from file:///D:/nuxt_app/node_modules, file:///D:/nuxt_app/node_modules/nuxt/node_modules, file:///D:/nuxt_app/node_modules/nitropack/node_modules, file:///D:/nuxt_app/, file:///D:/nuxt_app/node_modules/_index.js, file:///D:/nuxt_app/node_modules, file:///D:/nuxt_app/node_modules/nuxt/, file:///D:/nuxt_app/node_modules/nuxt/node_modules/_index.js, file:///D:/nuxt_app/node_modules/nuxt/node_modules, file:///D:/nuxt_app/node_modules/nitropack/, file:///D:/nuxt_app/node_modules/nitropack/node_modules/_index.js, file:///D:/nuxt_app/node_modules/nitropack/node_modules
undefined
ERROR  Error: Cannot find module string_decoder/ imported from file:///D:/nuxt_app/node_modules, file:///D:/nuxt_app/node_modules/nuxt/node_modules, file:///D:/nuxt_app/node_modules/nitropack/node_modules, file:///D:/nuxt_app/, file:///D:/nuxt_app/node_modules/_index.js, file:///D:/nuxt_app/node_modules, file:///D:/nuxt_app/node_modules/nuxt/, file:///D:/nuxt_app/node_modules/nuxt/node_modules/_index.js, file:///D:/nuxt_app/node_modules/nuxt/node_modules, file:///D:/nuxt_app/node_modules/nitropack/, file:///D:/nuxt_app/node_modules/nitropack/node_modules/_index.js, file:///D:/nuxt_app/node_modules/nitropack/node_modules
at resolvePath (/D:/nuxt_app/node_modules/mlly/dist/index.mjs:1863:10)
at _resolve (/D:/nuxt_app/node_modules/nitropack/dist/shared/nitro.e7dc7fe5.mjs:365:22)
at Object.resolveId (/D:/nuxt_app/node_modules/nitropack/dist/shared/nitro.e7dc7fe5.mjs:418:34)
at async PluginDriver.hookFirstAndGetPlugin (/D:/nuxt_app/node_modules/rollup/dist/es/shared/rollup.js:23685:28)
at async resolveId (/D:/nuxt_app/node_modules/rollup/dist/es/shared/rollup.js:22629:26)
at async ModuleLoader.resolveId (/D:/nuxt_app/node_modules/rollup/dist/es/shared/rollup.js:22893:15)
at async /D:/nuxt_app/node_modules/@rollup/plugin-commonjs/dist/es/index.js:778:16
at async Promise.all (index 11)
at async /D:/nuxt_app/node_modules/@rollup/plugin-commonjs/dist/es/index.js:770:32
at async rewriteRequireExpressionsAndGetImportBlock (/D:/nuxt_app/node_modules/@rollup/plugin-commonjs/dist/es/index.js:1316:28)
package.json
{
"private": true,
"scripts": {
"dev": "nuxt dev",
"build": "nuxt build",
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare"
},
"devDependencies": {
"@nuxtjs/tailwindcss": "^6.1.3",
"nuxt": "^3.1.1",
"nuxt-lazyimages": "^0.2.0"
},
"dependencies": {
"@ckeditor/ckeditor5-build-balloon": "^35.4.0",
"@ckeditor/ckeditor5-vue": "^4.0.1",
"@fortawesome/fontawesome-svg-core": "^6.2.0",
"@fortawesome/free-brands-svg-icons": "^6.2.0",
"@fortawesome/free-regular-svg-icons": "^6.2.0",
"@fortawesome/free-solid-svg-icons": "^6.2.0",
"@fortawesome/vue-fontawesome": "^3.0.2",
"axios": "^1.1.3",
"bignumber.js": "^9.1.1",
"cropperjs": "^1.5.12",
"mysql": "^2.18.1",
"nodemailer": "^6.8.0",
"redis": "^4.4.0",
"sharp": "^0.31.3",
"vue-img-viewr": "^2.0.11",
"vue3-toastify": "^0.0.3"
}
}

@tenfei4 this is not a reproduction though. Please check the linked instructions above ☺

Try to undo the upgrade, manually delete your .nuxt, .output and package-lock.json and try to upgrade via npm i nuxt@latest.

yes tried do that n times,it's also not work.only at v3.0.0-rc.14 all ok. upgrade v3.11 or v3.12 ,at dev mode,is ok,only debug at build mode.   if delete project/server folder,it's ok.

Try to upgrade to nuxt 3.0.0 first and then check if it also happens

upgrade version from v3.0-rc.14 to v3.0.0,all ok,but upgrade to v3.11,is wrong. and i found error from:
170 lines of .output/server/node_modules/readable_stream/lib/_stream_readable.js
if (options.encoding) {
if (!StringDecoder) StringDecoder = require('string_decoder/').StringDecoder;
this.decoder = new StringDecoder(options.encoding);
this.encoding = options.encoding;
}

I understand this is frustrating. These errors typically either come from nuxts dependencies not being synced, but you've said you have done that clean install I suggested. So I am not an absolute expert in those error messages and the message alone is pretty useless to without context.
What do you mean with if delete project/server folder,it's ok.?
You can now try to incrementially upgrade, but don't forget to do this every time https://github.com/nuxt/nuxt/issues/18721#issuecomment-1416724266
So you could now go from 3.0.0 to the next patch release. Available. You can also disable all/parts of your modules.

i mean, if i delete ./server folder then built,its done.

@tenfei4 So this sounds like t's probably a module/piece of code inside that ./server that is maybe deprecated or the syntax has changed.

Use v3.0.0 for the time being. Thank you very much anyway.

Okay, then the issue could be closed I guess for now

I have found the reason for the error and share it here. Due to the mysql v2.18.1 component version conflict, an error is reported during project build, the specific reason will not be quit here, and the solution can be replaced by mysql2 v3.1.0 component.


Implemented the audit page feature

Description
Completed the audit page with responsiveness
Added moment js for date conversion.
All pull requests should be related to open issues. Indicate the issue(s) bellow and remove this line:
Fixes #(issue number 7)
Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented on my code, particularly in hard-to-understand areas
[X] I have added necessary inline code documentation
[X] I have added tests that prove my fix is effective and that this feature works
[X] New and existing unit tests pass locally with my changes

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 30

Clones added
============
- src/components/views/audit/auditList.js  2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 4

Clones added
============
- src/components/views/audit/auditList.js  2

See the complete overview on Codacy


Spike go provider sdk

This PR ports the provider to use the go-provider-sdk currently being developed.
We already are using a framework to build helm charts, as defined in helmbase. My port added a wrapper middleware (chart/chart.go) to bridge the process to the new library. That middleware is then consumed by provider.go to define the actual provider.

This was a successful proof of concept, but it was not written for production and the API does not match the current pulumi-go-provider.


How is the update for "train_on_batch" determined?

Dear developers and friends,
I am a new user to keras. My question is as fellows:
I see for "train_on_batch", the optimizer only do one single gradient update. But how is the learning rate/ momentum used in this setting?
For example, for SGD, we have a learning rate and momentum. When I use "train_on_batch" manually, will optimizer SGD automatically store the gradient update and use it as momentum when I use "train_on_batch"  again next time?

Yes, it will, consult here. Momentum is persistent between batches.


multiple classes in each label

Hi @DmitryRyumin ,
Is it possible to have an image and corresponding label with multiple unique classes?
For example
labelA.txt
Person X1 Y1 X2 Y2
Person X1 Y1 X2 Y2
Chair X1 Y1 X2 Y2
Chair X1 Y1 X2 Y2

HI @MrOCW,
Unfortunately, this functionality is not provided! The idea is great! Perhaps there will be support in the future.


Prevent download of all Observations

Redirects to Observation#index with flash error if User tries to download all Observations.

Downloading all Observations is so expensive that it causes a Downtime Alert. See Example. I did it accidentally, but more often it's deliberate.
Users can get the same data using fewer resources, via the CSV files.

Simple Manual Test

Goto the home page
Click Download Observations
Expected result: Redirects to home page with a flash error.
Click the link in the flash.
Expected result: Opens a new window scrolled to theCSV files section of README_API.md

coverage: 94.456% (+0.001%) from 94.455%
when pulling 06f84dd035e46c3d9f752de24ac7207dfcc7588f on origin/2213-observation-report-guard
into 8f54a4ddefe90b62ecabad6b290d8456620c7112 on main.


Index past referenda

Currently, we only have the ongoing referenda displayed in the app
We would like to add the past ones (both the one who passed and the one who didn't)

Data that need to be indexed  :

Proposal ID
Title of the proposal (if there is one)
Proposal Description (if there is one)
Type of action (module)
Proposal hash
Proposal author
Date the proposal became a referendum
Date of the last update
Status
Results of the referendum (number of aye & nye  + failing threshold)
List of people who voted on the referendum : accounts name + locked value + vote (aye or nye)