Disable new Gradle 3.5 dexing and desugaring

Description
Gradle 3.5.0 added a new dexing and desugaring pipeline that assumes
that all dependencies are fully declared, including POM files. See
https://issuetracker.google.com/139883067#comment3 and
https://issuetracker.google.com/139821726. Unfortunately this is not a
valid assumption for Flutter builds that include plugins, which can have
somewhat arbitrary transitive dependencies and which are themselves
currently globbed together with the root app as subprojects and not as
true Maven dependencies. This will cause crashes at runtime due to
missing methods.
Disable the new Gradle 3.5.0 dexing and desugaring pipeline to prevent
crashes from methods having been incorrectly removed.
The ideal fix here would be to change Flutter builds to declare their
dependencies clearly, but that's not going to be feasible in the
immediate short term. Building the plugins as AARs may generally
address this but the current implementation of that solution has also
been broken by Gradle 3.5.0 for unrelated reasons. Unfortunately in the
future there will be no way to tell when the new pipeline was disabled
by the tool or deliberately by users, so rolling back this flag will be
difficult.
Related Issues
Fixes flutter/flutter#40126
Tests
I added the following tests:

packages/flutter_tools/test/general.shard/android/gradle_test.dart "disableDexingArtifactTransform"

Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (Please read Handling breaking changes). Replace this with a link to the e-mail where you asked for input on this proposed change.
[x] No, this is not a breaking change.

Closing in favor of flutter/flutter#41142.


adds search by student number

Coverage decreased (-0.2%) to 81.711% when pulling 1d249b7cb701bb964d5941162410d596e9467108 on feature/person-from-student-number into fe482dac62698e35d6972e3fb16e91def7a4e50e on develop.


A ton of non backwards-compatible changes to get Streammachine working in a containerized way. This includes updating all of analytics to work with Elasticsearch 7.0 instead of the 2.0 version we were using before.
Relevant files are mostly in the *.coffee ones.

@arellaTV Thanks -- you're accurate in your assessment. I realized how big the diff was becoming so that's why I started this WIP pull request. Just wanted to make sure I didn't miss something.


XLSX file protected view cannot read

if i try to read an excel file in protected view i get this error:
`var workbook = XLSX.read(data, {type: 'binary'});
Uncaught Error: Unknown Namespace:
at Kd (xlsx.full.min.js:18)
at op (xlsx.full.min.js:19)
at ig (xlsx.full.min.js:22)
at cg (xlsx.full.min.js:22)
at Object.gg [as read] (xlsx.full.min.js:22)
at ProcessExcel (ImportFatture.php:97)
at FileReader.Upload.reader.onload (ImportFatture.php:60)`
The file is called test.xlsx and if I open it and enable the modification and save the file everything works correctly.
The problem is that I wanted to automate the import by skipping this manual step and since the library I need to read the content I'm not editing anything so I shouldn't have such an error.

Can you share the file?

I have tried in every way to replicate the same excel file but I have not really succeeded. Unfortunately it comes from an export from a management software and contains sensitive data so I can't really share it.

https://oss.sheetjs.com/cfb-editor/ is an in-browser tool for viewing archives (everything runs in your browser).  Drag-drop the bad file into the window.
Based on the error message, it is likely coming from [Content_Types].xml or xl/workbook.xml.  It would be helpful to look at those.  Since both are text files, you can manually scan them for sensitive data
To download, click on [Content_Types].xml in the left column, then click "Export Entry" and it will download [Content_Types].xml.  Repeat the process for xl/workbook.xml and it will download xl_workbook.xml.  You can email both to<EMAIL_ADDRESS>

I am facing same issue on web server. local server working fine.

@ansarikhurshid786 please share a sample file and details about your web server.  Is it running on AWS or some other cloud host?

@ansarikhurshid786 please share a sample file and details about your web server. Is it running on AWS or some other cloud host?

It is windows server. Problem normal excel file and for cvs file working fine.

Please test against the latest version (follow instructions https://docs.sheetjs.com/docs/getting-started/#installation ).  If the issue persists, please share a file (email<EMAIL_ADDRESS>or create a new issue) and we can take a closer look


Added explicit Close Button visibility

Added in explicit Close Button visibility for each type in the
configuration and in the toaster.pop() function to satisfy requested
feature https://github.com/jirikavi/AngularJS-Toaster/issues/88.
Expanded the README to reflect the additions.

Hi,
Thanks for the PR.
Jiri.

My pleasure!  Thank you for merging it.


Can't access the server when running from docker

Background
I'm trying to run the starwars example from inside a docker container, but I can't seem to get it to work. Everything builds fine and the correct messages are logged saying that the server has started on <IP_ADDRESS>:8547 (GraphQL service started                    tid=406 at=http://<IP_ADDRESS>:8547/graphql), but when I actually go there I just get "This site can't be reached" (ERR_CONNECTION_REFUSED). Building outside the container, i.e. just running "nimble starwars", works fine and results in a website I can go to.
My Dockerfile
I created a Dockerfile inside the repository root as such:
FROM nimlang/nim:1.4.8
WORKDIR /app

COPY graphql.nimble .
RUN nimble install --depsOnly -y --verbose
COPY . .
RUN nim c -d:release playground/swserver

EXPOSE 8547

CMD ["./playground/swserver", "starwars"]

and run it using:
docker build -t test . && docker run -p 8547:8547 -t test
I have also tried:
docker build -t test . && docker run  --expose 8547 -t test
When I run it detached (-d), I can do docker exec <container-id> wget localhost:8547/graphql/ui and it seems to be able to connect to it. Am I forwarding the ports incorrectly?
Also tried with docker-compose
I've also tried with docker-compose.yaml
version: "3"

services:
  graphql:
    build: .
    ports:
      - 8547:8547
    expose:
      - 8547

running with docker-compose up --build -d, but doesn't work either.
I have a similar project with nim using jester and it works fine from within docker running on the same machine. I have tried both on my macbook and on a debian pc and it doesn't work on either.
Any thoughts?

<IP_ADDRESS>

The container's IP alias is different. Something like <IP_ADDRESS>: https://forums.docker.com/t/accessing-localhost-inside-the-container-itself/43203/8

Well, I don't  need to access the server from within the container, nor do I want to access the host machine from the container. I just want to access the website from the host machine but have the server in the container.
When I run my other project, the jester server, in a container in the same way, I can go to localhost:PORT in my web browser and reach the site without problems. I can't get it to work with the starwars example here though :/

Interesting. The error message changed. Now when I run the project with -p 8547:8547 (which is supposed to forward the port from the container to the localhost of my machine), I now get "This page isn’t working. localhost didn’t send any data.
ERR_EMPTY_RESPONSE" when i go to localhost:8547
docker ps output:
CONTAINER ID   IMAGE     COMMAND                  CREATED         STATUS         PORTS                                       NAMES
60c26e7f36e8   test      "./playground/swserv…"   3 minutes ago   Up 3 minutes   <IP_ADDRESS>:8547->8547/tcp, :::8547->8547/tcp   fervent_lehmann

See the listening ports inside the container, after starting that server: ss -lntp
While you're at it, also list the network interfaces: ip address show

docker exec 7acbeefab8ac ss -lntp
State    Recv-Q   Send-Q     Local Address:Port     Peer Address:Port  Process
LISTEN   0        100            <IP_ADDRESS>:8547          <IP_ADDRESS>:*      users:(("swserver",pid=1,fd=3))

docker exec 7acbeefab8ac ip address show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
2: tunl0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000
    link/ipip <IP_ADDRESS> brd <IP_ADDRESS>
3: ip6tnl0@NONE: <NOARP> mtu 1452 qdisc noop state DOWN group default qlen 1000
    link/tunnel6 :: brd ::
39: eth0@if40: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
    link/ether 02:42:ac:11:00:02 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet <IP_ADDRESS>/16 brd <IP_ADDRESS> scope global eth0
       valid_lft forever preferred_lft forever

To make this work, the swserver need to  bind to <IP_ADDRESS>:port, not <IP_ADDRESS>:port,
But currently it doesn't have cli to configure it's binding address. Feel free to make a PR.

That was it! Thank you so much.
I didn't reflect on it, but my jester server was indeed binding to <IP_ADDRESS> when in the container. I wonder how jester/httpbeast decides what address to bind to by default. Whatever their solution is should perhaps become the default here instead of hardcoded :) I'll have a look.


Updated sleep stage map key to correctly retrieve and set sleep stages.

Updated sleep stage map key to correctly retrieve and set sleep stages. Without this change, sleep stages were all coming back as null since key 'type' does not exist in the generated map.

@rickcasson Thanks man I’m continuously looking at your commits on Health Connect it helps me a lot. Can you also add native aggregate functions like aggregate by Period and Duration? Thanks


"Downgrade" with a brand new rm2 "out of the box"

Hi everyone.
Did someone try the switch.sh script already with a brand new rm2 device? I just got mine and I am wondering, if I softbrick it when I start it the very first (second) time and using the switch.sh script. Will the switch to the "other" partition work? Is it empty? Will there even be another version before? My device is on <IP_ADDRESS> now out of the box.
Thanks in advance!

Good question :) But you could update first - either to the now out-of-beta v3.0 or to an older version using this repo - and then switch back to your 2.14 partition.
I just did a similar thing with a new rM2: update to 3.0 from 2.15, then switch back to 2.15, then "update" to 2.10, which I want to use, keeping the factory 2.15 as fallback.  https://www.reddit.com/r/RemarkableTablet/comments/ztqutg/there_and_back_again_just_downgraded_to_210_from/?utm_source=share&utm_medium=web2x&context=3
Thanks again to the contributors!

just mount to other partition and see what's there

/dev/mmc something 2 or 3, depending on what is currently mounted as /

just mount to other partition and see what's there

which partition is it to mount? I also thought about this option.

Good question :) But you could update first - either to the now out-of-beta v3.0 or to an older version using this repo - and then switch back to your 2.14 partition.

yes, but then I take the option away to update to the version the rm2 had before. I am just curious. Where did you get the 2.10 update file then?
edit: ah, you googled for "remarkable firmware archive". Ok, thanks a lot. I was looking for the update files anyway. Big thanks!
btw why didn't you chose "<IP_ADDRESS>6_reMarkable-Lp90j3g4at-.signed" ?

that is for rm1 not rm2.
rm2 is here:
https://updates-download.cloud.remarkable.engineering:443/build/reMarkable%20Device%20Beta/RM110/<IP_ADDRESS>6/<IP_ADDRESS>6_reMarkable2-JLB6Ax3hnJ-.signed
https://updates-download.cloud.remarkable.engineering:443/build/reMarkable%20Device%20Beta/RM110/<IP_ADDRESS>/<IP_ADDRESS>_reMarkable2.signed


How to remove default styles from image?

Hello, sir! First of all, thank you a lot for your plugin. The default Astro Image plugin didn't work for me, because my components load images using dynamic path, which Astro Image doesn't support by default (need to create Collections I guess). And your plugin works like a charm for me!
But I'm facing an issue with the default styles. Currently I'm using your plugin to show webp images. And my images looks like this:
<Img
          src={heroInfo[0].thumnbail}
          alt={heroInfo[0].alt_text}
          format='webp'
          attributes={{ img: { class: 'text-center md:max-w-xl md:h-full mx-auto lg:order-2' } }},
          loading = 'eager'
        />

I'm using Tailwind CSS class names to style my image. But at the output the plugin also adds his own styles, that shows blurred shadow, that is not necessary for my design: astro-imagetools-img astro-imagetools-img-FDC9B609 text-center md:max-w-xl md:h-full mx-auto lg:order-2
Please, sir, can you tell me, how I can disable/remove default styles from plugin? Also there is internal styling code like style="display: inline-block; overflow: hidden; vertical-align: middle; ; max-width: 100%; height: auto;", I guess it's also not necessary.
P.s. Sorry for my bad English, I'm not a native speaker. Thank you a lot again for your plugin!

Also, I found, that there is an internal <style></style> generated for each image before <picture> tag in the html code. How to remove it?

Hi,
I'm facing the same issue.
Addition to that, the data attribute for astro-cid is missing. In my case I have astro component with some styling classes. If I just the html picture element, the styling is working fine. Now I want to optimise the picture element so support responsive images. I used this Picture component and added my css class but the style is not applied to the element because astro scopes all elements with a data attribute, e.g. data-astro-cid-kq4hxfp5.

@marvincaspar I have the same use-case for the Picture element and the same problems - no way to disable the built-in CSS or get the data- attribute added.

Gotta be able to remove these default styles.

@marvincaspar I have the same use-case for the Picture element and the same problems - no way to disable the built-in CSS or get the data- attribute added.

Have you found any solution for this? I am trying to optimize remote images, but I haven't found a good solution yet.


documentation: PR Cheatsheet needs to use git rebase

git rebase works better than git merge for keeping the commit history in sync.
I will add the exact changes after testing them out.

Step 9 should be: git rebase upstream/master
Step 10 should be: git rebase master
Step 11 should be: git push -f  (forced push)
Add step 12 - After the PR has been merged you need to do steps 9 - 11 in order to bring your repo in sync with upstream since it has new commits.

I am thinking about rebuilding of PR Cheat Sheet to understand whole workflow easier. I will make proposal and let you know.

Maybe two things:

Sort alphabetically Terms section.

I would divide Example scenario section for 2 sections:

1st would include some basic settings like: forking repo, making local copy, creating branches, creating remotes and finally changes in the files and then push and pull requests,

2nd could be shorter section when you already have configured everything and working in fetching-updating-pulling regime.

Is that make sense?

@Javailabe Yes, those are good suggestions.  Please make the changes.


Building MEX Files

As per your instruction I have done the modification of the following three files

C:\Users\Administrator\Documents\MATLAB\PRT-master\doc\prtDoc.m
C:\Users\Administrator\Documents\MATLAB\PRT-master\engine\dataset\prtDataSetClass.m
C:\Users\Administrator\Documents\MATLAB\PRT-master\util\prtSetup.m

prtSetup
successfully return the matlab prompt
mex -setup
Error

mex -setup
MEX configured to use 'lcc-win32' for C language compilation.
Warning: The MATLAB C and Fortran API has changed to support MATLAB
variables with more than 2^32-1 elements. In the near future
you will be required to update your code to utilize the
new API. You can find more information about this at:
http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html.

To choose a different language, select one from the following:
mex -setup C++
mex -setup FORTRAN
However in my system  following are already installed
Control Panel\Programs\Programs and Features
Microsoft .NEt Framework 4 Client Profile
Microsoft .NEt Framework 4 Extended
Microsoft Visual C++ 2005 Redistribution
Microsoft Visual C++ 2008 Express Edition-ENU
Microsoft Visual C++ 2008 Redistributable-x86 9.0.30729.17
Microsoft Visual C++ 2008 Redistributable-x86 9.0.30729.6161
Microsoft Visual C++ 2010 x86 Redistributable (x86) 10.0.30319
Microsoft Visual C++ 2012  Redistributable (x86) 11.0.60610
I need to use the classification techniques of PRT Toolbox. Is it necessary to set "Building MEX Files"
Please reply what to do
Regards

I am not really sure what your question is but it seems like you are having running prtSetupMex
prtSetupMex builds a few of the mex functions shipped with the PRT. The PRT ships with compiled mex for most computer architectures. So, unless you have a strange architecture, you probably don't need to run prtSetupMex. Just start using the PRT and if you run in to issues let us know.


fix subjects in derivatives bagel

Previously the trackers assumed that all sessions had the same participants. Now it uses the session column in the manifest to only select participants who have imaging data available for the relevant session

Closing: I merged this branch into #95 since that one is also about trackers.


Use aptitude for backend API

This uses aptitude for installation of debian toolchain.
This was copied from backend repo.
ONE-vscode-DCO-1.0-Signed-off-by: Hyun Sik Yoon<EMAIL_ADDRESS>

Test failed T^T. Current DebianToolchain.test.ts is implemented with apt-get. :wink:


Remove rest-client dependency, instead use Faraday for all request types

Using two different HTTP clients in a single gem seems strange.

happy to review this as it will close out #20...

:ok_hand: I realized that rest-client was handling query parameters differently, so now I'm trying to actually stub the HTTP calls instead of just the ruby-land calls.


Add Collection date to OSSF scorecard

This is a mostly-there first-pass at tackling #720. It adds the date to the bottom of the box for the OSSF scorecard and repo info tiles.
The ossf scorecard one works, the repo info is having some issues that ill work on (ignore my broken fonts on my machine)

TODO:

[ ] Add the date format to the information popup on each tile
[ ] detect the date format to use based on users browser locale settings (maybe)
[ ] debug and fix the repo info tile date
[ ] determine how to calculate the date for the repo info tile considering the data is coming from three different dataframes (should it just take the last date in the list? most recent? least recent? display a range of both?)

feedback welcome!
closes #720

Ok i think i fixed the repo info one too (mostly by ignoring 2/3 of the dataframes)

@MoralCode For repo_info it looks like its all coming from the same table, repo_info? If its more than one which ones are they?

Yeah, for now its just taking all the last updated data from repo_info. I think the releases data frame could be empty and the other one probably requires me to change another query.
I wanted to get an answer on how you want to handle/combine the three sets of values (see my PR comment) before doing all that


OfflineQueueListener should use observables.

Bug Report
OfflineQueueListener can be supplied to the client to provide updates.
However, if developers want to listen to updates in different places they cannot configure that without providing some wrappers.
Using observables here will be the natural choice as they can be hooked into Angular and React.js land.
Reported by a community member.

Additional to observables we can externalize restoring offline operations after restarts so users can actually listen promises being resolved.

Done in #34


Core Select Item Error on Select

Ionic version:  (check one with "x")
(For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[ ] 3.x
[x] 4.x
I'm submitting a ...  (check one with "x")
[x] bug report
[ ] feature request
Current behavior:
Getting the following error in the console after selecting an item from an ion-select:
Uncaught TypeError: Cannot read property 'emit' of undefined
    at Object.handler (ion-select.md.js:233)
    at Alert.rbClick (ion-alert.md.js:276)
    at HTMLButtonElement.onClick (ion-alert.md.js:356)
    at ZoneDelegate.invokeTask (zone.js:425)
    at Zone.runTask (zone.js:192)
    at ZoneTask.invokeTask [as invoke] (zone.js:499)
    at invokeTask (zone.js:1540)
    at HTMLButtonElement.globalZoneAwareCallback (zone.js:1566)

The code at ion-select.md.js around line 233 looks like this:
        handler: (selectedOption: any) => {
          // Only emit the select event if it is being checked
          // For multi selects this won't emit when unchecking
          if (selectedOption.checked) {
            option.ionSelect.emit(option.value);
          }

Steps to reproduce:

run the packages/demos/angular application
go to the group inputs test page
click the Ionic select
choose something other than what is already chosen
receive the error

Related code:
Digging into this a bit, it appears that the initEventEmitters code runs properly and attaches the ionSelect event to SelectOption objects.
However, this code here (from select.tsx) appears to generate a collection of objects that are a level down. That is, this const options = this.el.querySelectorAll('ion-select-option'); seems to return a list of HTML Elements matching SelectOption.el from above where-as the event emitter itself is attached to the SelectOption and not the SelectOption.el:
  setOptions() {
    // Get the options
    const options = this.el.querySelectorAll('ion-select-option');

    Array.from(options).forEach(option => {
      if (!option.value) {
        option.value = option.getText();
      }
      this.options.push(option);
    });

    const values = this.getValues();

    if (values.length === 0) {
      // there are no values set at this point
      // so check to see who should be selected
      let filtered = this.options.filter(o => o.selected).map(o => o.value);
      this.value = filtered;
    } else {
      this.optionUpdated();
    }
  }

This has been fixed by updates to the select component in core.


migrate failed table_site

Problem when migrating, generates the following error
utility.execute()
File "/home/msalinas/Documentos/saleor-cms/env_saleor/local/lib/python2.7/site-packages/django/core/management/init.py", line 359, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/msalinas/Documentos/saleor-cms/env_saleor/local/lib/python2.7/site-packages/django/core/management/base.py", line 294, in run_from_argv
self.execute(*args, **cmd_options)
File "/home/msalinas/Documentos/saleor-cms/env_saleor/local/lib/python2.7/site-packages/django/core/management/base.py", line 345, in execute
output = self.handle(*args, **options)
File "/home/msalinas/Documentos/saleor-cms/env_saleor/local/lib/python2.7/site-packages/django/core/management/commands/migrate.py", line 224, in handle
self.verbosity, self.interactive, connection.alias, apps=post_migrate_apps, plan=plan,
File "/home/msalinas/Documentos/saleor-cms/env_saleor/local/lib/python2.7/site-packages/django/core/management/sql.py", line 53, in emit_post_migrate_signal
**kwargs
File "/home/msalinas/Documentos/saleor-cms/env_saleor/local/lib/python2.7/site-packages/django/dispatch/dispatcher.py", line 191, in send
response = receiver(signal=self, sender=sender, **named)
File "/home/msalinas/Documentos/saleor-cms/env_saleor/local/lib/python2.7/site-packages/django/contrib/sites/management.py", line 20, in create_default_site
if not Site.objects.using(using).exists():
File "/home/msalinas/Documentos/saleor-cms/env_saleor/local/lib/python2.7/site-packages/django/db/models/query.py", line 660, in exists
return self.query.has_results(using=self.db)
File "/home/msalinas/Documentos/saleor-cms/env_saleor/local/lib/python2.7/site-packages/django/db/models/sql/query.py", line 494, in has_results
return compiler.has_results()
File "/home/msalinas/Documentos/saleor-cms/env_saleor/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 806, in has_results
return bool(self.execute_sql(SINGLE))
File "/home/msalinas/Documentos/saleor-cms/env_saleor/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 835, in execute_sql
cursor.execute(sql, params)
File "/home/msalinas/Documentos/saleor-cms/env_saleor/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 79, in execute
return super(CursorDebugWrapper, self).execute(sql, params)
File "/home/msalinas/Documentos/saleor-cms/env_saleor/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "/home/msalinas/Documentos/saleor-cms/env_saleor/local/lib/python2.7/site-packages/django/db/utils.py", line 94, in exit
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/home/msalinas/Documentos/saleor-cms/env_saleor/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "/home/msalinas/Documentos/saleor-cms/env_saleor/local/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py", line 337, in execute
return Database.Cursor.execute(self, query, params)
django.db.utils.OperationalError: no such table: django_site

I'm not sure I follow. What commands did you run? How do we reproduce? Tests (https://travis-ci.org/mirumee/saleor/builds/184232220) seem to indicate that the migrations seem to work fine when starting with an empty PostgreSQL database.

git clone https://github.com/mirumee/saleor.git
pip install -r requirements.txt
python manage.py migrate
Do not install postgres, I am using the default sqlite database to genrar I get error, I recommend using postgres

The default settings use a local PostgreSQL server. Run docker-compose up db to get a database server running in a local Docker container.

How could I attach postgresql to my project
SQLITE_DB_URL = 'sqlite:///' + os.path.join(PROJECT_ROOT, 'dev.sqlite')
DATABASES = {
'default': dj_database_url.config(default=SQLITE_DB_URL, conn_max_age=600)}
to
DATABASES = {
'default': dj_database_url.config(default='postgres://saleor:saleor@db:5431/saleor')}
To do not generate the connection? why?
Why could you help me?

Please see our documentation.

Thanks, installation completed successful!


Sonarr Extension

Description
Added extension for Sonarr

More features will be implemented in future if required

Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Rayfie failed me :(
Bye cool images

@danielsequeira done

@Aayush9029 since I don't have a Sonarr instance and can't test this extension properly, could you create a screencast showcasing it?

https://user-images.githubusercontent.com/43297314/179749412-6db7f807-09ae-48a8-aada-8e3534f7be2b.mp4
@danielsequeira here's from start to end :)

I've added references to setup, docs and GitHub page and recording as well!

@Aayush9029 thanks for the changes 🙂
Only one last thing, since your command name change to View Upcoming Shows, could you please make a new screenshot and replace the existing one? After this is done I can merge the PR.


cannot install capa locally in "editable" mode

This appears to be a result of switching to pyproject.toml file:
ERROR: File "setup.py" or "setup.cfg" not found. Directory cannot be installed in editable mode: C:\Exclusions\capa
(A "pyproject.toml" file was found, but editable mode currently requires a setuptools-based build.)

Not sure if "editable" mode is possible now or if a different command is needed. Depending on the outcome we need to update our documentation: https://github.com/mandiant/capa/blob/master/doc/installation.md#2-install-the-local-source-code

we do an editable install in CI here: https://github.com/mandiant/capa/blob/5400576d4e29c7f2787bfe805af6951dfdbef817/.github/workflows/tests.yml#L38
can you provide more details about the setup you're seeing this error in?

Looks like my problem was an outdated pip. I was using 21.2.3 with Python 3.10 on Windows. Upgrading to 23.2.1 resulted in the expected behavior. Thanks for investigating @williballenthin !


KEP-3122: Expose Flavors in LocalQueue Status.

What type of PR is this?
/kind documentation

What this PR does / why we need it:
KEP for Expose Flavors in LocalQueue Status.
Which issue(s) this PR fixes:

Part of #3122
Special notes for your reviewer:
Does this PR introduce a user-facing change?

NONE

/cc @mimowo

/cc @alculquicondor @tenzen-y

/lgtm
/approve
/hold
in case @tenzen-y @alculquicondor have some more comments
I think this is a good starting point. The API model is flexible so we can extend it in the future by the list of resources, or quotas.
For now, I'm not fully sure if publishing the resource quotas would not be leaking too much admin information to the end users for some environments, so maybe we can defer it for later when we have some more concrete use-cases.

/hold cancel


Add files via upload

I edited the code of finding the lowest common ancestor in a binary tree :).

Do add the Qs name as your commit and for having a good contribution add more problems as well.


fix #96 upgrade Keras to 1.2.2 for transfer learning

Closed because Keras has already been upgraded to 2.x.


JavalinVue Plugin : Make the layout.html file dynamic

I think that it would be very interesting to have the possibility to have the layout.html file generated by a template engine.
The main advantage is that, by adding data to the root page,  we can avoid network roundtrip fo certain type of data. (e.g. meta tags, static enum for select..)
It's relevant because JavalinVue is based on server side routing.
Today we can use the state function as a workaround but it's not recommended in the documentation and that's understandable.
Another very small advantage is that maybe it would be more efficient to use a template engine to generate the page instead of the multiple String.replace functions used in ViewComponent class.

@manitas-manitas it would be helpful if you could describe what problem you want to solve, rather than how it can be solved. Is the main problem having different meta tags for different routes? What is "static enum for select" ?

you are right, what would be great is to to reduce the number of network roundtrips and the number of API endpoints by benefiting from the server side routing and partial rendering.
I have this problem with meta tags for each route.
I have also a lot of forms with select fields and It would be nice to get the the options without creating a new API endpoint.
That's what i called "static enum for select"

Rendering a select using a server side template engine instead of Vue sounds like the wrong approach. If you were making a pure SPA, you would need to obtain these enum values from the backend, so I don't think rendering them server side makes sense.
I think using statefule components is a better solution than introducing server side templating.
Why specifically do you need to reduce the number of network requests?
Do meta tags work fine if you add them using javascript?

Pages fully rendered on client-side with data fetched from backend have several issues - mentioned meta tags are one of the most popular. A lot of tools that process pages to somehow index its content does not support JS or support it partly (so it may wait for the e.g. Vue to init basic app structure, but you won't get a chance to make request to backend).
As an example to workaround this (in the past we had a conversation about it on Discord) you should somehow inject such values on server-side and I guess that's what this issue is about. Example in one of my open-source projects based on Javalin:

reposilite-frontend / index.html
reposilite-backend / placholders resolver

SPA pages are often to slow/limited by design to properly handle such basic things, in the end you need full context initialization + a few requests to properly display a page, and sometimes that's just not enough.

Meta Tags work fine with javascript, the point is that, like dzikoysk said , it would be better directly included for SEO reasons.
About the select, I was not clear sorry, I was not talking about formatting the select on server side but rather including the json formatted data into the generated page to get them directly without an api call.

About the select, I was not clear sorry, I was not talking about formatting the select on server side but rather including the json formatted data into the generated page to get them directly without an api call.

In that case, local state in components should work fine.

Meta Tags work fine with javascript, the point is that, like dzikoysk said , it would be better directly included for SEO reasons.

Is this also about saving a request, or do you want to include the meta tags in the rendered HTML from the server side?
I think that meta tags is an area where JavalinVue either needs a best-practice guide or a custom solution, but I really hope we can avoid rendering things server side 🤔

On SEO in general: If we were discussing blog platforms, or newspapers, something that relies on search to stay competitive, then I might agree that it's important. But how relevant is it to JavalinVue apps? Don't most businesses make an SEO opitmized static page, and a separate webapp?

It's not only about SEO, e.g. even features like sharing links with rich presence for OpenGraph-like services won't work if related metadata is not a part of static page.
Just sharing more context, I don't use JavalinVue anyway and probably I won't as I always use just standalone frontend module. Also I don't know what's the target of this feature, so there is a chance that nobody really cares about it tbh and if someone does, maybe it's not right tool use for him just like you said. If so, it might be a good idea to enhance JavalinVue plugin with description that points to types of websites that may benefit from such solution 🤔

I wanted to render meta tags from the server side but finally, I totally agree with you,  it's not the right tool for SEO purposes. I was too excited by JavalinVue :)
Javalin do a perfect job for server side rendering for that goal.
Concerning the select,  I'm not so sure anymore to understand the benefits fetching any data with api calls instead of including it directly in the local state ?

@dzikoysk: It's not only about SEO, e.g. even features like sharing links with rich presence for OpenGraph-like services won't work if related metadata is not a part of static page. Literally every public website these days has at least some sort of page description, so I don't think it affects only content related platforms.

@manitas-manitas: I wanted to render meta tags from the server side but finally, I totally agree with you, it's not the right tool for SEO purposes. I was too excited by JavalinVue :)

This is something that JavalinVue apps could benefit from, I think. I love OG previews, so it's tempting to add functionality specifically for this.

@manitas-manitas Concerning the select, I'm not so sure anymore to understand the benefits fetching any data with api calls instead of including it directly in the local state ?

It's cleaner if your vue route declarations in Javalin only contain the path + component, instead of path + component + local state.
For example, if you want to show a list of users with JavalinVue you could include it using local state from the server side, and you'll save a request. But how will you update this list if something changes? You will have to write some frontend code to do it. Then you end up serving this data in two different ways.
You could just serve the enum as local state:
get("/user-overview", VueComponent("user-overview") // fetch everything with js
get("/user-overview", VueComponent("user-overview", mapOf("roles", Role.values()) // get enum during render, fetch everything else with js

But I've found that just writing all data fetching code in the frontend pays off in the long run. I always use the LoadableData class, so I can cache data in localStorage if I want to.

This is something that JavalinVue apps could benefit from, I think. I love OG previews, so it's tempting to add functionality specifically for this.

IMHO it's exactly the same problem than for SEO meta tags, like you said most businesses separate "public" SEO optimized pages and "private" webapp. Unfortunately, OG previews won't work if your page and your images are not public.

It's cleaner if your vue route declarations in Javalin only contain the path + component, instead of path + component + local state.

I'm not opposed to that  but just to continue thinking about this idea, If I play devil's advocate, I can say that's cleaner to have controllers that render ViewComponent and no api endpoints. I have less route declarations.

For example, if you want to show a list of users with JavalinVue you could include it using local state from the server side, and you'll save a request. But how will you update this list if something changes? You will have to write some frontend code to do it. Then you end up serving this data in two different ways.

Good example, let's say you can sort your list of users by name
scenario 1)  Send the change via javascript  => fetch /api/user?sort=name_asc
scenario 2) Send the change via QueryParam => /user-overview?sort=name_asc
I understand that you prefer the first scenario but how would you compare those 2 scenarios ?

I'm not opposed to that but just to continue thinking about this idea, If I play devil's advocate, I can say that's cleaner to have controllers that render ViewComponent and no api endpoints. I have less route declarations.

It's true that it's fewer routes, but it's not cleaner. You get a strong coupling between the route and components, and you get a problem composition and with updating data. Say you have this page:

You can split this into four separate data-components, and make each data-component responsible for fetching its own data. Now you can reuse these individual data-components however you like, you can include them in multiple different pages (route-components) without rewriting your backend. You can update them individually if something changes. If you do this using stateful route-components, you will need to manually ensure that the backend is serving the required data, and you will need to include that data in any route-component that is using that data-component. If something is update, you need to either refresh the entire page, or add an api+fetch logic.

scenario 1) Send the change via javascript => fetch /api/user?sort=name_asc
scenario 2) Send the change via QueryParam => /user-overview?sort=name_asc
I understand that you prefer the first scenario but how would you compare those 2 scenarios ?

I would not sort on the server side. If you already have the data, sort it in Vue.

I understand, thank you for your clear answer.

Imo it mostly depends on your arch and target.
For user it's always better to receive server-side rendered app (these days it's not only about using template engine to inject some data, but also to partly render app so client's browser has to do as little as possible), but it requires more amount of resources and doesn't scale that well as client-side apps that fetch data through rest api (where each endpoint can be just another independent microservice).
Having such scenario, you can start choosing between it, and if doesn't make any real difference for your app, then you can choose by preferences.
Also, because Java is not so good to communicate and manage js related context, in JVM in general we prefer to use SPA to just keep frontend & backend stuff apart from each other, but in node only env it's more common practice to use server-side rendering tools as it's consistent and easier to maintain with great tools.

This is something that JavalinVue apps could benefit from, I think. I love OG previews, so it's tempting to add functionality specifically for this.

Im partial to this as well - can we do this with a simple @custom_var system and rely on people to fill in their meta tags by passing them as part of the component state on a VueComponent level?

Im partial to this as well - can we do this with a simple @custom_var system and rely on people to fill in their meta tags by passing them as part of the component state on a VueComponent level?

Could we just create @metaTag or even @headTag ?

Could we just create @metaTag or even @headTag ?

Absolutely, but on the other hand, having an @custom_var system that would just allow people to inject arbitrary strings, would allow people to create their own tags and make it extensible.
to give an example, my @custom_var could be @seo and that would be replaced with the relevant SEO stuff I inject inside the VueComponent's state function. That SEO stuff is a generated HTML string per page, for example. It can also be used to add any kind of custom things. Another example that comes to mind is whitelabled/tennant CSS, like for example putting an @tenantCSS tag which would in turn be a link to the correct stylesheets.
Id Imagine its not that hard to do; if an @custom_var is found in the template, the @custom_var key is something we look for in the merged state for the VueComponent and embed as a plain string. Then people can get creative and do  whatever they want, short of having dynamic layouts - unless, of course, we do this injection before the component injection, which would then allow for fully customized templates per request.

So My end solution was to simply add a preRender(String, Context) and postRender(String,Context) method and a VueRenderer class that will let anyone do whatever kind of template manipulation they want to do before or after the components have been resolved. You should be able to add your own logic using your own @myTags replacement, or simply inject it using simple string concatenation.  Im waiting on a review from @tipsy

I've merged it, but I would still like to see dedicated macros for meta tags 🤔


Game gets stuck loading a world at 54% (both in a single player world and multiplayer one) and won’t load any further no matter how long I wait

I’m trying to use this mod in a modpack of mine but I believe it isn’t compatible with one of the mods I have installed since it works fine when on its own
The modpack I’m using is:
https://www.curseforge.com/minecraft/modpacks/almond
it uses version 1.16.5 of Minecraft and forge version 36.0.42 along with version 1.2.3 of chunk animator

Do you mean you've tried uninstalling chunk animator from the pack and it worked? I don't see how it could be causing this because chunk animator doesn't actually do anything until you are loaded into the world (only at that point do chunks begin rendering).

Yeah, the Modpack works perfectly fine when chunk animator isn’t installed but when chunk animator is installed I can’t load into a world at all. The modpack is linked in the issue submitted, you could try it for yourself and I’d expect you’d get the same result as me.

Right OK, yeah must be some sort of incompatibility. I'll take a look into it.

Indeed, I hope you’re able find what’s causing the problem.

I noticed immersive portals was in the pack and thought that might be causing it, and it is, removing it stops the issue. I'll take a look into why this is happening.

Oh, good job finding it! Hopefully it’s an easily fixable problem, also the immersive portals team is pretty responsive, so if it’s an issue that can only be fixed on their side then they might be willing to fix it if the issue is simple.

Seems this isn't the only mod that this is being caused with. Only a couple of days ago someone also reported that the loading screen gets stuck with the Chlorine mod installed. Seems to me it must be somehow caused by us both making changes to the same vanilla class, though I would expect any conflicts from that to just cause a crash. The fact that it also happens with this other mod makes me think it could be a problem on their end.

Also unfortunately seems that they are dropping support for Forge in favour of their Fabric version, so may be difficult to get any response on their end.

I've been having the same error (with Immersive Portals installed). If it helps, when I load a world this is the error I get:
https://pastebin.com/uVtrJ4qH
It's constantly spammed in the logs, and to close the game you have to force-quit it.

Can concur that this happens for me as well, with Immersive Portals.
https://www.dropbox.com/s/2qspbnzsz6iow68/latest.log?dl=0 - My log.
Immersive Portals - 0.16-mc1.16.5-forge
Chunk Animator - 1.16.5-1.2.3

That would help a ton (assuming it's being caused by this incompatibility)!

Could someone verify this is not in their logs without Chunk Animator installed? From first look it's difficult to tell if this is related or not and I'd appreciate if someone could verify before I look any further.

Never mind. I just did some more testing and found an even more informative stacktrace leading me to exactly where the problem is.


unity and D435i IMU ?

hi
I am trying to save the point cloud as mesh in unity. The generated point cloud disappears as the camera moves to the other angle. Also what settings work to stream imu position and rotation to unity?

Hi @aelectr  Does the point cloud disappear only when the camera is being moved and then reappear when the camera stops moving, please?
The image below provides an example of configuring RsDevice profiles in Unity for the IMU streams (Accel and Gyro).

Yes, point clouds only appear at the angle where the camera faces, so for constructing the environment using the point cloud, it is necessary that the point clouds don't disappear once we turn the camera around.
I also implement the settings, and this error comes up:
rs2_pipeline_start_with_config(pipe:00000238B6AABD40, config:00000238B6AAC200)

And could you help me with how I can show the stream data on canvas? How can I read the stream data?

The supported pairings for the Accel and Gyro FPS are Accel 63 / Gyro 200, and Accel 250 / Gyro 400.
The RealSense Unity wrapper converts camera data into a Unity material in order to render it, and so textual / numeric values cannot be displayed onscreen as a part of that rendered material.

I want to show the trajectory of the camera inside unity when it moves, so based on what you said isn't possible?

@MartyG-RealSense , Is there any RGBD SLAM work that has been done in unity using the theRealSense Unity SDK and D435i?

@MartyG-RealSense

This is what I want to achieve within unity, the example works fine in ROS but I am looking to save the cloud points while scanning the entire area but unfortunately, the texture disappears and no longer save in-game or editor view.

I do not know of a Unity SLAM solution specifically for D435i.
The RealSense SDK does have a Unity example SLAM program for the T265 Tracking Camera model only.
https://github.com/IntelRealSense/librealsense/blob/master/wrappers/unity/Assets/RealSenseSDK2.0/Scenes/Samples/SLAM.unity
https://www.youtube.com/watch?v=Ea_e1iVX7LU

While not specific to RealSense, Unity have an official video tutorial about performing SLAM using ROS2 at the link below.
https://resources.unity.com/automotive-transportation-manufacturing-content/unity-robotics-slam
Also by Unity:
https://blog.unity.com/manufacturing/introducing-unity-robotics-visualizations-package
https://github.com/Unity-Technologies/Robotics-Nav2-SLAM-Example

Hi @aelectr  Do you require further assistance with this case, please?  Thanks!

Case closed due to no further comments received.


Re-enable Django database connection reuse

Django 4.0 was reverted to 3.2 at 1f145853f9856ac5c92b65afd35873e4198af31d, connection reuse should be re-enabled in 3.2
This reverts commit 50d7c634ea5d5bb0cc7f30e8064d24a3b3d18e26.
I want to merge this change because...

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

Could we move it to the connection string? I know some community members were struggling to get rid of the setting for clusters that have a short timeout for idle connections.

It cannot be part of the URL but we can add an environment variable for it in settings.py: DB_CONN_MAX_AGE
Does that sound good?

It cannot be part of the URL but we can add an environment variable for it in settings.py: DB_CONN_MAX_AGE
Does that sound good?

Sounds good but does not have to be done in the same PR.


Large (width/height) images (in posts and as cover images) don't resize for mobile

Issue Summary
I've got quite a few posts with images that are screen shots, so they're fairly large in dimension. They're not resizing automatically when I resize the desktop browser, nor when I view on a mobile device.
Steps to Reproduce

Add an image with a large width (1000px for instance) to a post.
Resize the desktop browser window or view on a mobile device.
Observe that the image does not resize.

I did not notice this behavior in the 0.11.1 release - it only started in rc.1.
Proposed Resolution?
I managed to fix it but wasn't sure what the intent was, so I didn't make a PR.
The screen.css file defines this block of css:
.post-full-content img {
    display: block;
    margin: 1.5em auto;
    max-width: 1040px;
}

I overrode it in a custom css file to change the max-width:
.post-full-content img {
    max-width: 100%;
}

This had the added benefit of fixing the cover images too. They wouldn't resize either, so that resizing the browser or viewing on mobile only displayed the top-left corner of the image, instead of resizing it appropriately.
Technical details:

Ghost Version: 1.0.0.-rc.1
Node Version: v6.11.1
Browser/OS:

Chrome Version 59.0.3071.115 (Official Build) (64-bit) / OSX 10.12.5
Chrome 58.0.3029.83/Android 5.1

Database: MySql

Duplicate of https://github.com/TryGhost/Casper/issues/322


Internal Server Error / No Listener on <IP_ADDRESS>:9993

Upgraded to Ubuntu 18.04 including default /etc/nginx/nginx.conf file.  Over-wrote that with https://github.com/zulip/zulip/blob/master/puppet/zulip/files/nginx/nginx.conf but this seems wrong.  Where is the correct zulip-default nginx.conf file I should use?
nginx provides this error message:
2019/03/29 07:32:15 [error] 1712#1712: *18 connect() failed (111: Connection refused) while connecting to upstream, client: <ip-redacted>, server: , request: "GET /sockjs/info?cb=yovog9_dxd HTTP/1.1", upstream: "http://<IP_ADDRESS>:9993/sockjs/info?cb=yovog9_dxd",

netstat reports nothing listening on port 9993

closing because nginx was not the problem.  Python was. Zulip required manual installation of python3.5 and symlink for /usr/bin/python3' not /usr/bin/python`


castle grounds bird behaviors - birds spawning from trees, flying

Updated behaviors for birds in Castle Grounds - birds now flying from the three trees when Mario gets too close

First PR closed, deleting redundant line in global_scripts


[i2c,dv] remove nonempty check from overflow test

Due to unpredictable time delay between write tx fifo and read / transfer data from tx fifo, remove fifo nonempty check from this test.
Fifo nonempty will be covered by separate test.
Signed-off-by: Jaedon Kim<EMAIL_ADDRESS>

#16647 will remove nonempty interrupt altogether, so we won't have to worry about it anymore!


improvement Compile enable WITH_MYSQL

Proposed changes
Issue Number: close #xxx

complie with mysql when run be ut, avoid compile failed with mysql
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run external


error loading static css on ios

Following along the steps outlined in https://github.com/obsidiansystems/obelisk#ios I can build, deploy and run the scaffolding app on an iPhone with iOS 13.5.1.
However, the app does not load the static css that is linked. This is evident because the line "Here is a string defined in Common.Api" is not coloured red. Debugging the app while the phone is connected to a Mac shows "An error occurred trying to load the resource." for the css file in Safari's Web Inspector.
Similarly with my own app, an image placed in the static directory and linked in the html is not displayed in the app on iOS.
Xcode: 11.5
MacOS: 10.15.5
relevant output of xcodebuild -showsdks
2020-07-19 17:16:10.356 xcodebuild[71739:4196397] [MT] DVTSDK: Skipped SDK /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk; its version (10.2) is below required minimum (13.5) for the iphoneos platform.
iOS SDKs:
	iOS 13.5                      	-sdk iphoneos13.5
[...]

Noteworthy: the deploy script places [...]-obelisk.jpg in directory: /private/var/containers/Bundle/Application/[BA9B...B8C]/frontend.app/static, whereas [...]-main.css is placed in /static
I have no clue if that is supposed to happen or not.
Edit: In "Noteworthy" above I assumed that the deploy script places the files in these directories, based on the error I saw in Safari's Web Inspector. After some thought, I now believe that the error means to say that Safari expects the files in those locations based on the html, but doesn't find the css file there.

Thanks for the detailed report!

This is the generated HTML according to Safari's Web Inspector:
<!DOCTYPE html>

		<base href="/">
		<title>Obelisk Minimal Example</title>
		<link href="static/1sjgs70sb2mpmx4k6608n42f0d1y5xxyaf7f4pl5hl961xzjzy7n-main.css" rel="stylesheet" type="text/css">

Welcome to Obelisk!

Here is a string defined in Common.Api

This string comes from config/common/example

Could it be that the <base href="/"> element roots the relative url for the css in /static/1sjgs70sb2mpmx4k6608n42f0d1y5xxyaf7f4pl5hl961xzjzy7n-main.css instead of in /private/var/containers/Bundle/Application/[BA9B...B8C]/frontend.app/static/1sjgs70sb2mpmx4k6608n42f0d1y5xxyaf7f4pl5hl961xzjzy7n-main.css where the file actually is?
If so, then I am curious to know why the <base href="/"> does not affect the src for the image file.
I'd like to do some experiments, but I am too much of a newbie still to know where the <base href="/"> is generated in the framework.

The base tag comes from https://github.com/obsidiansystems/obelisk/blob/83d20a948e7fc118f071f16c25856a7d4fba8f6a/lib/frontend/src/Obelisk/Frontend.hs#L105
You could ob thunk unpack .obelisk/impl in your project and edit it in there to try that.
But yes the fact that the image works is odd.

Commenting
https://github.com/obsidiansystems/obelisk/blob/83d20a948e7fc118f071f16c25856a7d4fba8f6a/lib/frontend/src/Obelisk/Frontend.hs#L216
and thus removing the base element from the html fixes the issue for the iOS app.
I have not looked at how that impacts other targets for the app.
Forgive my ignorance as a newbie, but I assume that there is some magic done with JSaddle to create a WKWebView and then load the HTMLString. As far as I know WKWebView and loadHTMLString take baseURL as an argument on iOS. Maybe a base element in the html conflicts with or supersedes this baseURL argument in some cases?
In that case the base element should not be in the html for iOS. Assuming it is needed for other targets, how should it be added target dependently?

For now removing it as a safe stop gap since we're just setting it to / anyway. But in the future we need to actually support different base tags and when we do we'll have to figure out how that works with mobile devices since they obviously don't have different "base"s in the same way.

My laptop (2013 Macbook Pro) is running $(nix-build -A selftest --no-out-link) in preparation of a pull request. I've been looking at:
...
Linking dist/build/obelisk-selftest/obelisk-selftest ...
running tests
Package has no test suites.
haddockPhase
installing
Installing library in /nix/store/pg7j8nv3q06vs1bvk9r1h50adh1zcf41-obelisk-selftest-0.1/lib/ghc-8.6.5/x86_64-osx-ghc-8.6.5/obelisk-selftest-0.1-JzRqBEOjcAZAeslprFZmHg
Installing executable obelisk-selftest in /nix/store/pg7j8nv3q06vs1bvk9r1h50adh1zcf41-obelisk-selftest-0.1/bin
Warning: The directory
/nix/store/pg7j8nv3q06vs1bvk9r1h50adh1zcf41-obelisk-selftest-0.1/bin is not in
the system search path.
Registering library for obelisk-selftest-0.1..
post-installation fixup
strip is /nix/store/adlsv1lf4c9aiqi0cqhvdbs54q70khdv-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/pg7j8nv3q06vs1bvk9r1h50adh1zcf41-obelisk-selftest-0.1/lib  /nix/store/pg7j8nv3q06vs1bvk9r1h50adh1zcf41-obelisk-selftest-0.1/bin
patching script interpreter paths in /nix/store/pg7j8nv3q06vs1bvk9r1h50adh1zcf41-obelisk-selftest-0.1
building '/nix/store/s2ivhpl1px0k5h0gbimw93gzmk38d763-selftest.drv'...

for the last 24 hours. How long is the selftest expected to run?

@bxrt Certainly not that long! Do you have caches setup as per the README? I'll try it on my end too.

Selftest passed for me on your commit. That it hangs for you might mean we have a bug in our test. If you have your cache setup correctly then you can try running $(nix-build -A selftest --no-out-link) -v to get more output.

Thank you. Selftest passed after I restarted it:
Finished in 288.1435 seconds
33 examples, 0 failures

I'll delete the "do" at the end of line 214 to satisfy hlint before submitting the pull request.

Fixed in #793


Set up automated accessibility testing

Research
Chrome DevTools Accessibility Extension
Notes from OSCON 2013 courtesy of @Scotchester

Install from the Chrome Web Store

Run accessibility tests from the Audits tab.

Can access the API with Web Puppeteer. Tutorial on http://github.com/GoogleChrome (see slides for link).

Case study: Case Commons using capybara-accessible
Notes from OSCON 2013 courtesy of @Scotchester

Government child welfare organization, required to follow Section 508.

Tech constraints: Rspec, Capybara

Created a Capybara wrapper around the Chrome DevTools Accessibility Extension, baking the testing into their integration test suite. It's a drop-in replacement for a Selenium web driver in Capybara.

It generates a build failure like any other integration testing error.

To help locate problem spots, added a debugging snapshot right before the exceptions are thrown so that you can load it up in a browser and use the DevTools to see what's going on.

http://github.com/CaseCommons/capybara-accessible

Quail.js

Accessibility testing in the browser and on the server.

QUAIL is a jQuery plugin for checking content against accessibility guidelines. It provides a flexible way to test for certain problems (say, images missing an alt text) and a collection of over 200 tests to get you started. Defining your own tests is easy, and you can pick-and-choose tests to focus on the needs of your own app.

http://quailjs.org/
Deque

FireEyes is our free accessibility testing plug-in. With the click of a button, it can provide a detailed and comprehensive report of any accessibility errors on any of the pages within your site. You can then send that error report to the WorldSpace public server where you can download it as an Excel or .csv file.

When you’ve got a big accessibility project, you need an automated testing tool that’s up to the task. WorldSpace combines the fast and thorough reporting capabilities of FireEyes and can use them across any quantity of pages. It also offers special features for managers, developers, and QA.

http://www.deque.com/products/

We now have pa11y and are in the process of getting node-wcag in our repos. I'll open a separate issue for that.


Update (and possibly restructure) Gateway API upgrade guide in KIC's docs

Where is the problem?
https://docs.konghq.com/kubernetes-ingress-controller/latest/upgrade/kic/#update-gateway-api-from-v10-to-v11
What happened?
KIC supports Gateway API 1.2 as of KIC 3.4.
The guide at https://docs.konghq.com/kubernetes-ingress-controller/latest/upgrade/kic/#update-gateway-api-from-v10-to-v11 only mentioned how to upgrade from 1.0 to 1.1.
What did you expect to happen?
Guide documenting how to upgrade from Gateway API 1.1 to 1.2
Code of Conduct and Community Expectations

[X] I agree to follow this project's Code of Conduct
[X] I agree to abide by the Community Expectations

Here are is upstream Gateway API v1.2 upgrade notes: https://gateway-api.sigs.k8s.io/guides/#v12-upgrade-notes


New wireguard peers added in web gui are not used / shown in conf files

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[ x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[ x] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug
Adding new peers in VPN-WG-endpoints makes no effect.
I've setup the WG (following the official guide, nice and clear). Added 10 endpoints. After several days added some more endpoints. I've noticed, that if i add a new endpoint, right after i click "apply" user was able to connect. No need to restart the WG service.
Today i've added three more endpoints. After user failed to connect:

I've disabled/enabled interface
Disabled/enabled WG
Restarted the service at the dashboard
Rebooted the server

Next i've checked the config file:
sudo cat /usr/local/etc/wireguard/wg0.conf
There were no three new endpoints. They were, however still there, in the GUI. I've tried to enable/disable some other endpoints - and they were removed/added back to the conf file.
I've disabled interface in the LOCAL tab. The wg0.conf disappeared. And appeared back after i've enalbed it. So it looks like some sync issue with the endpoints tab setup.
Sorry, don't know what exactly i've done to run in to this issue.
OPNsense 22.1.4_1-amd64
FreeBSD 13.0-STABLE
OpenSSL 1.1.1n 15 Mar 2022
on some VDS (not sure if it matters)

Ok, this is dumb. There's one step i've forgot - to assign a newly created peer to wg interface in LOCAL tab.

thanks, I spent hours on trying to solve this "problem". Same for me.


Don't try to clean lines that only contain whitespace

The cleaner would duplicate lines than only contained whitespace because the entire string was considered both the beginning and the end of the string.
foo \nbar \n \n  \nfoo

was "cleaned" to be
foo \nbar \n \n \n  \n  \nfoo

This fixes that.

Looks good, thanks for your PR


Feature request: install as service

I hope you can add this mod: https://github.com/kardianos/service
And provide the relevant command so that I can install it as a service and run it directly.
Thank you sincerely.

It's not necessary for me, maybe you can raise a pull request


Broken on firefox

The tool doesn't appear to work in firefox :(

It does. Maybe your browser is configured in a way that doesn't allow you to see non secure websites as the demo one has some certificate issues>

Hm odd, I could see the input box but nothing happened as I typed, but it does now! Thnx!


[Feature Request] Show ruler on moving through of keyboard

Is it possible to show the ruler when the token moves using the keyboard instead of the mouse?

This is currently not possible with Drag Ruler and I don't feel like it would fit the idea of the Drag Ruler module. The idea of the module is to help you in counting squares during drag, when you haven't yet moved, to aid you in the decision of where to go. For keyboard movement this doesn't apply for two reasons:

Once you press the button, you're already done planning where to go, so Drag Ruler cannot help you with your planning at all. It can only ever show the results of what you did.
The rulers shown would be extremely uninteresting, since they would always be a single square long and would always show a fixed measurement distance as a result.

I want to use drag rule on in-person session. However the player will moves The token by joystick. I believe that should exist ant way to show de rule considering where The token begans on the turn.
Could I make a macro to show the ruler?


Master

Changed Get-RequiredModules module to a script.
Added support for standard parameters.
Misc. updates for improved output and progress reporting.

This change is

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

Codecov Report

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


"lists a re" truncated English

$ w3m -dump file:///usr/share/doc/rclone/MANUAL.html|grep ' re$'
rclone ls remote:path # lists a re

Looks like truncated English.

Thanks!  I've fixed that now.  It will make it to the website/docs in the next release.


fixed short cd output

Fixes Issue #43

Hi! Thanks for the PR!
When I initialize a new project with your changes, I run into this error:
path.js:7
    throw new TypeError('Path must be a string. Received ' + inspect(path));
    ^

TypeError: Path must be a string. Received false
    at assertPath (path.js:7:11)
    at Object.resolve (path.js:1146:7)
    at ChildProcess.<anonymous> (/Users/adam/testcwd/node_modules/react-native-scripts/build/scripts/init.js:204:34)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:194:7)
    at maybeClose (internal/child_process.js:899:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)

Can you test your changes using the instructions at https://github.com/react-community/create-react-native-app/blob/master/CONTRIBUTING.md#creating-a-test-project ? Let me know if the instructions aren't clear. You may need to run gulp clean && gulp build in the react-native-scripts directory before creating the tarball.

I think this may have been my mistake -- I attempted to init my project using my pre-existing global install of the create-react-native-app script. I'll take a look again soon.

Hi,
I did follow all the steps in the contribution guide, tested the init.js script with the updated tarball. I have tested the issue and it is working fine
Thanks

Yep! I see what the issue is. Any changes in the react-native-scripts package need to be compatible with previous versions of the create-react-native-app package, since we don't encourage people to update create-react-native-app very often.
Maybe if you reorder the argument order in the init function and provide a fallback value for cwd this will be backwards compatible?

Excellent, thanks!


OpenWeatherMap URL/API Key issue

Hi Lissy93-
There is an issue that has been identified, but it is being discussed  by @dazaesk as part of a closed bug (issue #621 https://github.com/Lissy93/dashy/issues/621).
Some of us have legit free OWM API keys and do not want to create another "student" account to access the weather forecast. The difference in the URL is simple; remove the "/daily" and it works.
Is there any way to make this an option?

yes, still an issue/request. Thanks

No change, so still an issue. Thanks!

Still an issue

Hi Lissy93-
There is an issue that has been identified, but it is being discussed by @dazaesk as part of a closed bug (issue #621 #621).
Some of us have legit free OWM API keys and do not want to create another "student" account to access the weather forecast. The difference in the URL is simple; remove the "/daily" and it works.
Is there any way to make this an option?

Actually no without /daily it does not work correctly, as this only gives data in 3 hour increments.
See here https://github.com/Lissy93/dashy/issues/1376

Will close this in favor of #1376 and #1475


Enhancement: Show console error output on :19080 monitor page.

The <SetupEntryPoint> and <EntryPoint> may encounter some error which cannot be logged by application, which happens before application initialize logging component. They are only captured by Service Fabric and written to console logs if enabled. While we can remote desktop to the VM and find the log, it is really time consuming on slow connection, only to find small errors. This is especially annoying when you have many teams deploying to the same cluster; many people need to remote to the VMs.
It is far better if the monitor page simply show the reason (some piece of the std err output), other than only process return code. Or provide a download link for the console logs.

@jeffj6123
do you know if we bubble this info up in to SFX now?

@craftyhouse  we would likely need to ask hosting about how to capture this information and bubble it up


fix($parse): do evaluate several times expressions with interceptors

For simple expressions without filters that need a stateless interceptor then handle the 2nd phase parse evaluation using inputs.
Closes #12983

Can you reword the commit message? I have a hard time understanding what it means.

@Narretz sure, done

LGTM - I think the LONG STORY from the issue should be included in the commit message.


contact form url

i am newbie
please help
how to add 'forms_builder.forms.urls to your url conf' in practice
just add this line to urls.py?
and where from should appear (url of the page) after i add it?
many thanks

Yep just add it to urls.py - more info here: https://docs.djangoproject.com/en/1.3/topics/http/urls/

like this:
from collective.feeds import RssArticlesFeed, AtomArticlesFeed
from django.conf.urls.defaults import *
forms_builder.forms.urls

Please read the documentation I mentioned.

from forms_builder.forms.urls import *
.......
(r'^contact/', include('forms_builder.forms.urls')),
this works thanks


set "default" enum selection to something other than the element with a ZERO/0 value.

I am trying to map log levels from an external library to a enum and what should be the sane default level of INFO is 4, DEBUG is 0 and I can not find any other way to tell it which one to pick for the default

Please have a look at the following code, which comes from my lxkns project, https://github.com/TheDiveO/lxkns/blob/1e9be3fb34ca6be7d6ff5617efbf0ec74eb685c0/cmd/internal/pkg/style/colormode.go#L73
Just for reference, this is the typical boilerplate, so we're on the same page:
// ColorMode is an enumeration for colorizing output always, auto(matic), and
// never.
type ColorMode enumflag.Flag

// Enumeration of allowed ColorMode values.
const (
	ColorAlways ColorMode = iota // always colorize
	ColorAuto                    // colorize if output goes to a terminal
	ColorNever                   // never colorize
)

// Defines the textual representations for the ColorMode values.
var colorModeIds = map[ColorMode][]string{
	ColorAlways: {"always", "on"},
	ColorAuto:   {"auto"},
	ColorNever:  {"never", "none", "off"},
}

And now we want ColorAuto to be the default, not ColorAlways (zero value), so I used the NoOptDefVal field of the github.com/spf13/cobra flag drop-in package:
func ColorModeSetupCLI(rootCmd *cobra.Command) {
	rootCmd.PersistentFlags().VarP(
		enumflag.New(&colorize, "color", colorModeIds, enumflag.EnumCaseSensitive),
		"color", "c",
		"colorize the output; can be 'always' (default if omitted), 'auto',\n"+
			"or 'never'")
	rootCmd.PersistentFlags().Lookup("color").NoOptDefVal = "always"
}

(that's actually a great question, so if that works for you, then I'll add the how-to set a non-zero default to the README.)

This looks like what I wanted. I have an enum that represents some external values I am not in control of. Of course the most sensible default is 4 not 0. I did not want to have to remap then and translate them every time. This looks like it will do what I need. I did not see anything like this when I was digging through the source code. Thanks for the timely response.

I will document this in the README so its more prominent to find.


Add comment and check for DeleteDatabaseAsync

Does this mean finishing DELETE /_api/database/{database-name}? Are you working on that right now or can I pick it up?


Add analytics tracking to unsupported browser page

Type

[ ] Bug fix
[ ] New feature
[x] Improvement to existing feature

Related JIRA Issue(s)
https://www.ebi.ac.uk/panda/jira/browse/ENSWBSITES-1464
Description

added a call to the trackPageView method provided by analytics-service in the unsupported browser page

Deployment URL
http://unsupported-browser-tracking.review.ensembl.org/unsupported-browser
Views affected
Unsupported browser page

Hi @azangru - which file do you think we can add this script tag to?

https://github.com/Ensembl/ensembl-client/blob/dev/src/server/routes/unsupportedBrowserRouter.tsx#L43