Acerra, Italy (was how to import shape file)

hello,
i have shape file with all building number and road of a city that don't have this information on openaddresses , can you help me to import on openaddresses so it will be public to all
?

Hi, first two questions:

is it in a zip file?
where is the shapefile hosted?

Hi @smemorex,
What is the source of the data?
The data should be in CC0, CC-BY, CC-BY-SA, or equivalent license.
We prefer data hosted on a public website, but we also offer an S3 upload
tool:
https://github.com/openaddresses/openaddresses/issues/2257
On Fri, Dec 16, 2016 at 1:11 PM, smemorex<EMAIL_ADDRESS>wrote:

hello,
i have shape file with all building number and road of a city that don't
have this information on openaddresses , can you help me to import on
openaddresses so it will be public to all
?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/openaddresses/openaddresses/issues/2257, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AA0EOzlVZZvIUAb1AhoOt4pTgX-SD0uEks5rIv6SgaJpZM4LPmSC
.

#2257

Doh, the real link for S3 upload tool is:

https://results.openaddresses.io/upload-cache

Acerra, 80011 Acerra, Italy
if i do a search i see city in openaddresses but not street or builnding number ,  and in openstreetmap i se street but noit building number
using mapzen i have no result with openaddresses or openstreetmap but i opened another ticket for this
i can ask all license/permission needed to istututional site or government unit but if i can upload data sooner it will better
, for now all is hosted on a vps with qgis mapserver , i'm doing a work for istitutional site and all be uploaded on istitutional site when my work is done . i have a .shp  elaborated on qgis and loaded on vps server .
I can give you link to temporary qgis map server ( including path to file for wms search and query , this will be migrated to istutional site ) , i
can upload .shp , i can convert file if you tell me some tool
I have sql knoledgment so i can export .shp to postgres and convert data in other structure erasing not needed data but i don't undestand

what king of format is needed , .shp is not good? sqlite? postgres?
when i go here

http://results.openaddresses.io/?runs=all#runs
i see a.cer file and a .csv that openoffice don't open to me , i have to generate this file? how?

if i go to

https://results.openaddresses.io/upload-cache
i have
when i try to loggin to s3 upload i have
Error logging in: you need to be a member of the OpenAddresses Github organization.
so i think i don't have permission to use s3 upload tool
i'm familiar with linux , postgres, mysql and major hosting server and my boirhter instead is familiar wit

Hmm, we should have all of Italy since last week.
Stephen, has Mapzen Search picked up the new data yet?

On Dec 17, 2016, at 09:47, smemorex<EMAIL_ADDRESS>wrote:
Acerra, 80011 Acerra, Italy
if i do a search i see city in openaddresses but not street or builnding number , and in openstreetmap i se street but noit building number
using mapzen i have no result with openaddresses or openstreetmap but i opened another ticket for this
i can ask all license/permission needed to istututional site or government unit but if i can upload data sooner it will better
, for now all is hosted on a vps with qgis mapserver , i'm doing a work for istitutional site and all be uploaded on istitutional site when my work is done . i have a .shp elaborated on qgis and loaded on vps server .
I can give you link to temporary qgis map server ( including path to file for wms search and query , this will be migrated to istutional site ) , i
can upload .shp , i can convert file if you tell me some tool
I have sql knoledgment so i can export .shp to postgres and convert data in other structure erasing not needed data but i don't undestand
what king of format is needed , .shp is not good? sqlite? postgres?
when i go here
http://results.openaddresses.io/?runs=all#runs
i see a.cer file and a .csv that openoffice don't open to me , i have to generate this file? how?
if i go to
https://results.openaddresses.io/upload-cache
i have
when i try to loggin to s3 upload i have
Error logging in: you need to be a member of the OpenAddresses Github organization.
so i think i don't have permission to use s3 upload tool
i'm familiar with linux , postgres, mysql and major hosting server and my boirhter instead is familiar wit
―
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

hello,
for example if i search for via mazoni acerra here
https://openaddresses.io/
or via mapzen i can't find anything , i see that there aren't many street of italy
for mapzen they opened this ticket
https://github.com/pelias/pelias/issues/486
i have 2 problem

using mapzen i have no result instead on openstreet i should have at least street result withouth building number

there aren't building number on openstreetmap neither on openaddresses , so considering i have a shape file with all this information , how can i update openaddresses ?

you cand download an archive with shape file here
http://<IP_ADDRESS>/civici_acerra.tar.gz

One of the important parts of OpenAddresses is that we prefer to have data from primary sources.
Can you let us know where this data came from?

www.comune.acerra.na.it official municipality give me , if i need to upload on official site i need some day to ask permission but i prefer to load data before and then will upload shp on official site when i publish my work

so data are from primary source

Looks like this new source has significantly more coverage than what' in OpenAddresses now, good find!

hello,
also if i search a street now on opendresses i can't find anything regarding acerra , but only the city , in the map published on openaddresses you can see some street but if you try to search you don't have any result
there is a way to upload new data and fix search problem?

This case seems more complicated than normal. Thanks for your patience while we work through it.
@smemorex Can you verify the data license on the address data, please (CC-BY or similar)?
Ideally it's posted on the city website so the "primary source" is obvious, and if they later update the data we can automatically pick up the changes.
Sometimes we will include data that is not posted publicly, but only when the license terms are clear. If that turns out to be the case with your data I can upload it to S3 for you.
Both Mapbox Search (the search widget used in the OpenAddresses.io map) and Mapzen Search (https://github.com/pelias/pelias/issues/486) seem to have problems finding streets in this town even though they use different software implementations.

Hello,
License is IODL 2.0 , is italian opendata that is cc-by compliant
For future automatic update i have to create a page that permit download of
file in wich format?
Il 20/dic/2016 00:15, "Nathaniel V. KELSO"<EMAIL_ADDRESS>ha
scritto:

This case seems more complicated than normal. Thanks for your patience
while we work through it.
@smemorex https://github.com/smemorex Can you verify the data license
on the address data, please (CC-BY or similar)?
Ideally it's posted on the city website so the "primary source" is
obvious, and if they later update the data we can automatically pick up the
changes.
Sometimes we will include data that is not posted publicly, but only when
the license terms are clear. If that turns out to be the case with your
data I can upload it to S3 for you.
Both Mapbox Search (the search widget used in the OpenAddresses.io map)
and Mapzen Search (pelias/pelias#486
https://github.com/pelias/pelias/issues/486) seem to have problems
finding streets in this town even though they use different software
implementations.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openaddresses/openaddresses/issues/2257#issuecomment-268106716,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXdIxFtpQTbeWjJgteDqRWOFEsXqn54tks5rJxAkgaJpZM4LPmSC
.

Great to hear about IODL 2.0 license!
Yes, public download link works best. For instance on the city website.

On Dec 20, 2016, at 00:30, smemorex<EMAIL_ADDRESS>wrote:
Hello,
License is IODL 2.0 , is italian opendata that is cc-by compliant
For future automatic update i have to create a page that permit download of
file in wich format?
Il 20/dic/2016 00:15, "Nathaniel V. KELSO"<EMAIL_ADDRESS>ha
scritto:

This case seems more complicated than normal. Thanks for your patience
while we work through it.
@smemorex https://github.com/smemorex Can you verify the data license
on the address data, please (CC-BY or similar)?
Ideally it's posted on the city website so the "primary source" is
obvious, and if they later update the data we can automatically pick up the
changes.
Sometimes we will include data that is not posted publicly, but only when
the license terms are clear. If that turns out to be the case with your
data I can upload it to S3 for you.
Both Mapbox Search (the search widget used in the OpenAddresses.io map)
and Mapzen Search (pelias/pelias#486
https://github.com/pelias/pelias/issues/486) seem to have problems
finding streets in this town even though they use different software
implementations.
―
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openaddresses/openaddresses/issues/2257#issuecomment-268106716,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXdIxFtpQTbeWjJgteDqRWOFEsXqn54tks5rJxAkgaJpZM4LPmSC
.

―
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Hello in meantime Can you upload new data before i do de page? Can this
Also solve search project?
Il 20/dic/2016 17:54, "Nathaniel V. KELSO"<EMAIL_ADDRESS>ha
scritto:
Great to hear about IODL 2.0 license!
Yes, public download link works best. For instance on the city website.

On Dec 20, 2016, at 00:30, smemorex<EMAIL_ADDRESS>wrote:
Hello,
License is IODL 2.0 , is italian opendata that is cc-by compliant
For future automatic update i have to create a page that permit download
of
file in wich format?
Il 20/dic/2016 00:15, "Nathaniel V. KELSO"<EMAIL_ADDRESS>ha
scritto:

This case seems more complicated than normal. Thanks for your patience
while we work through it.
@smemorex https://github.com/smemorex Can you verify the data license

on the address data, please (CC-BY or similar)?
Ideally it's posted on the city website so the "primary source" is
obvious, and if they later update the data we can automatically pick up
the
changes.
Sometimes we will include data that is not posted publicly, but only
when
the license terms are clear. If that turns out to be the case with your
data I can upload it to S3 for you.
Both Mapbox Search (the search widget used in the OpenAddresses.io map)
and Mapzen Search (pelias/pelias#486
https://github.com/pelias/pelias/issues/486) seem to have problems

finding streets in this town even though they use different software
implementations.
―
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/openaddresses/openaddresses/
issues/2257#issuecomment-268106716>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
AXdIxFtpQTbeWjJgteDqRWOFEsXqn54tks5rJxAkgaJpZM4LPmSC>
.

―
You are receiving this because you commented.

Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openaddresses/openaddresses/issues/2257#issuecomment-268295994,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXdIxP7CbiYa6il7VOZ015ANfYTs8QZJks5rKAhcgaJpZM4LPmSC
.

I've uploaded to S3 here:

https://s3.amazonaws.com/data.openaddresses.io/cache/uploads/nvkelso/e0a0f2/civici_acerra_italy.tar

@smemorex Pull Request to add data has been merged: https://github.com/openaddresses/openaddresses/issues/2282.

(OpenAddress builds I think are on the weekend, and then Mapzen Search will need to pick that up, so it's not live immediately.)

hello,
can i upload zip file directly on official site? like this is ok
http://servizi.comune.acerra.na.it:8088/acerra.zip
?
if i need to add new number i think i can simply add new line but how can i
generate hash?
2016-12-22 0:42 GMT+01:00 Nathaniel V. KELSO<EMAIL_ADDRESS>
I've uploaded to S3 here:

https://s3.amazonaws.com/data.openaddresses.io/cache/
uploads/nvkelso/e0a0f2/civici_acerra_italy.tar
https://s3.amazonaws.com/data.openaddresses.io/cache/uploads/nvkelso/e0a0f2/civici_acerra_italy.tar

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openaddresses/openaddresses/issues/2257#issuecomment-268675426,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXdIxCf06RpD1V7eUsxaQKEO8hW_l8EUks5rKblngaJpZM4LPmSC
.

@smemorex Moving this conversation to the new issues instead: https://github.com/openaddresses/openaddresses/issues/2318.


session.reload() may open the page in external browser

My app has 4 Turbo WebView tabs with bottom tab ui,
After the sign-in, I reload all the pages to refresh the auth info.
Then the page is opened in external safari browser.
I think the following method is suspicious. (in Session.swift)
it returns true although the url was not intended to open externally.
        var shouldOpenURLExternally: Bool {
            let type = navigationAction.navigationType
            return type == .linkActivated || (isMainFrameNavigation && type == .other)
        }

@shkim were you able to fix this issue?

This can happen if your Rails app is still running turbolinks instead of the latest version of Turbo.

Can you please provide more code to help debug the issue? I'm going to close it out for now.


model layers

How could i select layers of output when textclassification or ner?
And how could i merge layers of output, eg. layers [1, 2, 3, 4, -2, -1] ?

Added:
https://github.com/TinkerMob/keras_albert_model#select-output-layers


net: tcp: Adjust data length if TCP options are present

Skip the TCP options before giving the data to application.
Without this, the TCP options would be passed to the application.
Fixes #17055
Signed-off-by: Jukka Rissanen<EMAIL_ADDRESS>

@tedd-an could you test if this fixes the issue. I was not able to properly test this one.

shouldn't this be backported to 1.14?

@tedd-an could you test if this fixes the issue. I was not able to properly test this one.

Re-opening. @tedd-an did you close this by mistake?

Re-opening. @tedd-an did you close this by mistake?

Sorry, yes. it was a mistake. :)

@jukkar It still fails the test with slightly different behavior. Please check the attached dump.
ACK still increased with old length and no payload from Zephyr at this time.
adjust_payload.tar.gz
Let me know if you need any Zephyr logs.

ACK still increased with old length and payload is empty in return packet from Zephyr at this time.

Indeed. Just sent a new version that adjusts also the ACKed data length. Please re-try and report.

@jukkar  The latest change c0ec29b fixes the issue which sets the right length of the payload.
However, I found another issue(#17378) while testing this patch, which the echo-server is broken but not related to this.
So, I manually applied this patch to the commit before #17378 and it worked fine.


ValueError: Timeout value connect was Timeout(connect=30, read=30, total=None), but it must be an int, float or None.

from newsapi import NewsApiClient
api = NewsApiClient(api_key='XXXXXXXXXXXXXXXXXXXXXXXX')
api.get_top_headlines(sources='bbc-news')
Traceback (most recent call last):
File "", line 1, in
api.get_top_headlines(sources='bbc-news')
File "C:\Users\NIRANJAN\Anaconda3\lib\site-packages\newsapi\newsapi_client.py", line 115, in get_top_headlines
r = requests.get(const.TOP_HEADLINES_URL, auth=self.auth, timeout=30, params=payload)
File "C:\Users\NIRANJAN\Anaconda3\lib\site-packages\requests\api.py", line 70, in get
return request('get', url, params=params, **kwargs)
File "C:\Users\NIRANJAN\Anaconda3\lib\site-packages\requests\api.py", line 56, in request
return session.request(method=method, url=url, **kwargs)
File "C:\Users\NIRANJAN\Anaconda3\lib\site-packages\requests\sessions.py", line 488, in request
resp = self.send(prep, **send_kwargs)
File "C:\Users\NIRANJAN\Anaconda3\lib\site-packages\requests\sessions.py", line 609, in send
r = adapter.send(request, **kwargs)
File "C:\Users\NIRANJAN\Anaconda3\lib\site-packages\requests\adapters.py", line 423, in send
timeout=timeout
File "C:\Users\NIRANJAN\Anaconda3\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 587, in urlopen
timeout_obj = self._get_timeout(timeout)
File "C:\Users\NIRANJAN\Anaconda3\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 302, in _get_timeout
return Timeout.from_float(timeout)
File "C:\Users\NIRANJAN\Anaconda3\lib\site-packages\requests\packages\urllib3\util\timeout.py", line 154, in from_float
return Timeout(read=timeout, connect=timeout)
File "C:\Users\NIRANJAN\Anaconda3\lib\site-packages\requests\packages\urllib3\util\timeout.py", line 94, in init
self._connect = self._validate_timeout(connect, 'connect')
File "C:\Users\NIRANJAN\Anaconda3\lib\site-packages\requests\packages\urllib3\util\timeout.py", line 127, in _validate_timeout
"int, float or None." % (name, value))
ValueError: Timeout value connect was Timeout(connect=30, read=30, total=None), but it must be an int, float or None.

This was due to an issue with the requests library being outdate. The version has been updated on the latest release 0.2.3.
https://github.com/mattlisiv/newsapi-python/commit/c60e84ae2c030491a777baaa43cd062630d0a632#diff-2eeaed663bd0d25b7e608891384b7298R6
You should now be able to pull the latest issue and not receive the error.
Thanks!


Replication factor

Greetings,
I am trying to build a distributed cluster with replication according to the instruction provided earlier: https://groups.google.com/d/msg/clickhouse/GFl04GsTNZg/UvIfdGjuBQAJ
I am using <default_database> tag as described, please see the cluster config:
<remote_servers>
    <logs_cluster>
        <shard>
            <internal_replication>true</internal_replication>
            <replica>
                <host>host1</host>
                <default_database>replica_1</default_database>
            </replica>
            <replica>
                <host>host3</host>
                <default_database>replica_2</default_database>
            </replica>
        </shard>
        <shard>
            <internal_replication>true</internal_replication>
            <replica>
                <host>host2</host>
                <default_database>replica_1</default_database>
            </replica>
            <replica>
                <host>host1</host>
                <default_database>replica_2</default_database>
            </replica>
        </shard>
        <shard>
            <internal_replication>true</internal_replication>
            <replica>
                <host>host3</host>
                <default_database>replica_1</default_database>
            </replica>
            <replica>
                <host>host2</host>
                <default_database>replica_2</default_database>
            </replica>
        </shard>
    </logs_cluster>
</remote_servers>

The distributed table definition is:
ENGINE = Distributed(logs_cluster, '', logs)
SELECT queries work fine, but INSERTs into the Distributed table fail: no data on shards and I see the following errors in the log:
[ 35 ] <Error> distributed_logs.Distributed.DirectoryMonitor: Code: 60, e.displayText() = DB::Exception: Received from *:9000. DB::Exception: Table default.logs doesn't exist..
It looks like <default_database> value is respected by SELECT code only, but just taken directly from the engine for INSERTs (and empty string is replaced by 'default').
I am using ClickHouse 1.1.54134.
Looking forward for your help.

Confirmed, it is a bug.


make all Roboto fonts variable fonts

While Roboto Mono and Roboto Slab are Variable fonts, Roboto and Roboto Condensed are not. It would be nice if all Roboto family fonts were Variable...

https://github.com/TypeNetwork/Roboto-Flex

https://github.com/TypeNetwork/Roboto-Flex


Materialize shadow properties in derived types properly

Resolves #6986
The issue:
In inheritance scenario with derived type having shadow properties, when we query the base type, we generate a single query which select columns for all the derived type inclusive of current type. Therefore ValueBuffer contains values for different entity types at specific indexes. The map of which index refers to which property is in relational part of code and it is used when generating CLR entity. Though, Internal entity entry is created to store value of shadow property (which is in core) it is not aware about the complex structure of the ValueBuffer and it assumes that values corresponds to properties of current type only and uses property indexes. This assumption fails if a type has a sibling whose columns appears before. This would read incorrect value for shadow property. If the types/nullability matches then it is data corruption otherwise it throws exception (CastException/NRE).
This is one proposed solution, Since we need information about mapping of property indexes to value buffer indexes, we store that data inside value buffer only. When Materializer is called to create clr entity, it will update the value buffer to contain index map in it. Since ValueBuffer is struct, the materializer needs to return a tuple with entity and the updated valuebuffer. (Func with out patameter is invalid syntax). Following changes represents changes required to accommodate the change of return value of the materializer. (changes in actual materializer expression are pending)
Feedback?

Ready for review

@anpete - I updated the PR with tests & minimal changes. Can you review again?

:shipit:

Merged via d3fb6e995ac1eb8fc5556a1d0f3521d674787025


[main] [BUG] RKE cluster upgrade from v1.30 to v1.31 fails when drain is enabled in upgrade strategy option

Rancher Server Setup

Rancher version: head v2.11-3ce716825fdd85fc05ce5a8fdc97e345455b241b-head

Installation option (Docker install/Helm Chart): docker

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): RKE1

Proxy/Cert Details:

Information about the Cluster

Kubernetes version: v1.30.7-rancher1-1
Cluster Type (Local/Downstream): Downstream

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider):

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom) Admin

If custom, define the set of permissions:

Describe the bug

cluster upgrade from v1.30 to v.131 fails when drain is set to true in upgradeStrategy option.
To Reproduce

steps

provision a k8s v1.30.7 rke  downstrem cluster.
upgrade cluster from k8s v1.30.7 to v1.31.x version while upgrading set  Drain: yes, Delete emptydir data: yes in the upgrade strategy section.
cluster upgrade is not complete. worker nodes is stuck in draining state.
Result
cluster upgrade is no complete and worker node is stuck in draining state
Expected Result

cluster upgrade should be successful.
Screenshots

Additional context

rancher logs
[ERROR] nodeDrain: kubectl error draining node [vardhaman-worker1] in cluster [c-rn8mr]: See 'kubectl drain --help' for usage

Ready to test once there is a passing build on https://github.com/rancher/rancher/tree/main that includes this change.

Ticket #48374 - Test Results - ✅

Scenario
Test Case
Result

1.
RKE1 upgrade test
PASS

Verified with HA HELM on Rancher v2.11-b435a2d786c50b03bd1ba7279a6a621ebcd19c84-head:
Scenario 1: RKE1 upgrade test

Create a 1.30.7 rke1 cluster with drain before delete and delete empty dir set to true
Upgrade the cluster from 1.30.7 to 1.31.3
Verify that the cluster comes up after the upgrade and no errors are observed

Results: the cluster comes up after the upgrade and no errors are observed


xvfb-run: error: Xvfb failed to start

I am able to reproduce the error with the following minimal code:
import plotly.io as pio
import numpy as np
import plotly.graph_objs as go

N = 100
x = np.random.rand(N)
y = np.random.rand(N)
colors = np.random.rand(N)
sz = np.random.rand(N)*30

fig = go.Figure()
fig.add_scatter(x=x,
                y=y,
                mode='markers',
                marker={'size': sz,
                        'color': colors,
                        'opacity': 0.6,
                        'colorscale': 'Viridis'})

pio.write_image(fig, 'plot.png')

To which I get the following error:
❯ python orca_bug.py
Traceback (most recent call last):
  File "orca_bug.py", line 21, in <module>
    pio.write_image(fig, 'plot.png')
  File "/home/ethanbro/virtualenvs/598/lib/python3.6/site-packages/plotly/io/_orca.py", line 1492, in write_image
    validate=validate)
  File "/home/ethanbro/virtualenvs/598/lib/python3.6/site-packages/plotly/io/_orca.py", line 1263, in to_image
    ensure_server()
  File "/home/ethanbro/virtualenvs/598/lib/python3.6/site-packages/plotly/io/_orca.py", line 1134, in ensure_server
    validate_executable()
  File "/home/ethanbro/virtualenvs/598/lib/python3.6/site-packages/plotly/io/_orca.py", line 1001, in validate_executable
    returncode=p.returncode))
ValueError:
The orca executable is required in order to export figures as static images,
but the executable that was found at '/usr/local/bin/orca'
does not seem to be a valid plotly orca executable. Please refer to the end of
this message for details on what went wrong.

If you haven't installed orca yet, you can do so using conda as follows:

    $ conda install -c plotly plotly-orca

Alternatively, see other installation methods in the orca project README at
https://github.com/plotly/orca.

After installation is complete, no further configuration should be needed.

If you have installed orca, then for some reason plotly.py was unable to
locate it. In this case, set the `plotly.io.orca.config.executable`
property to the full path of your orca executable. For example:

    >>> plotly.io.orca.config.executable = '/path/to/orca'

After updating this executable property, try the export operation again.
If it is successful then you may want to save this configuration so that it
will be applied automatically in future sessions. You can do this as follows:

    >>> plotly.io.orca.config.save()

If you're still having trouble, feel free to ask for help on the forums at
https://community.plot.ly/c/api/python

An error occurred while trying to get the version of the orca executable.
Here is the command that plotly.py ran to request the version
    $ /usr/local/bin/orca --version

This command returned the following error:

[Return code: 1]
xvfb-run: error: Xvfb failed to start

I am running headless so I use xvfb-run:
❯ cat $(which orca)
#!/bin/zsh

xvfb-run /usr/local/lib/node_modules/orca/orca-1.1.1-x86_64.AppImage "$@"

Using Ubuntu 18:
❯ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.1 LTS
Release:	18.04
Codename:	bionic

Weirdly, I do not get the error when I run  /usr/local/bin/orca --version:
❯  /usr/local/bin/orca --version
desktop-file-install is missing. Skipping /tmp/.mount_orca-1Pimrny/AppRun.
1.1.1

Not sure what the other stuff is about.

xvfb-run hides errors by default, so you need to explicitly tell it to show the error.
 What does
$ orca --help

output for you?

❯ orca --help
desktop-file-install is missing. Skipping /tmp/.mount_orca-1zieAbT/AppRun.
Plotly's image-exporting utilities

  Usage: orca [--version] [--help] <command> [<args>]

  Available commands:
  - graph [or plotly-graph, plotly_graph]
    Generates an image of plotly graph from inputted plotly.js JSON attributes.
    For more info, run `orca graph --help`.
  - serve [or server]
    Boots up a server with one route per available export component
    For more info, run `orca serve --help`

and what about $ which orca?

 ❯ which orca
/usr/local/bin/orca

Also @hstocks
❯ xvfb-run -e /dev/stdout /usr/local/lib/node_modules/orca/orca-1.1.1-x86_64.AppImage "$@"
desktop-file-install is missing. Skipping /tmp/.mount_orca-1PJUgBC/AppRun.
Plotly's image-exporting utilities

  Usage: orca [--version] [--help] <command> [<args>]

  Available commands:
  - graph [or plotly-graph, plotly_graph]
    Generates an image of plotly graph from inputted plotly.js JSON attributes.
    For more info, run `orca graph --help`.
  - serve [or server]
    Boots up a server with one route per available export component
    For more info, run `orca serve --help`.

and does
xvfb-run orca graph '{ "data": [{"y": [1,2,1]}] }' -o fig.png

work for you?

❯ xvfb-run -e orca graph '{ "data": [{"y": [1,2,1]}] }' -o fig.png
/usr/bin/xvfb-run: 184: /usr/bin/xvfb-run: graph: not found

abd what about
xvfb-run orca graph '{ "data": [{"y": [1,2,1]}] }' -o fig.png

minus the -e?

❯ xvfb-run orca graph '{ "data": [{"y": [1,2,1]}] }' -o fig.png
xvfb-run: error: Xvfb failed to start

Remove the --help from the command you ran in response to my comment.
i.e. do  xvfb-run -e /dev/stdout /usr/local/lib/node_modules/orca/orca-1.1.1-x86_64.AppImage

❯ xvfb-run -e /dev/stdout /usr/local/lib/node_modules/orca/orca-1.1.1-x86_64.AppImage
desktop-file-install is missing. Skipping /tmp/.mount_orca-1iNV0md/AppRun.
Plotly's image-exporting utilities

  Usage: orca [--version] [--help] <command> [<args>]

  Available commands:
  - graph [or plotly-graph, plotly_graph]
    Generates an image of plotly graph from inputted plotly.js JSON attributes.
    For more info, run `orca graph --help`.
  - serve [or server]
    Boots up a server with one route per available export component
    For more info, run `orca serve --help`.

Try put the -a flag in /usr/local/bin/orca and then try to run your code again.
xvfb-run -a /usr/local/lib/node_modules/orca/orca-1.1.1-x86_64.AppImage "$@"

❯ xvfb-run -a /usr/local/lib/node_modules/orca/orca-1.1.1-x86_64.AppImage "$@"

desktop-file-install is missing. Skipping /tmp/.mount_orca-1vcTLBT/AppRun.
Plotly's image-exporting utilities

  Usage: orca [--version] [--help] <command> [<args>]

  Available commands:
  - graph [or plotly-graph, plotly_graph]
    Generates an image of plotly graph from inputted plotly.js JSON attributes.
    For more info, run `orca graph --help`.
  - serve [or server]
    Boots up a server with one route per available export component
    For more info, run `orca serve --help`.

That is the result I get when I run the command directly in the terminal but that is not what it is meant for. Did you put it in /usr/local/bin/orca?

Ah sorry for misreading. That actually fixed it. What does -a do?

Manpages says

-a, --auto-servernum
Try to get a free server number, starting at 99, or the argument to --server-num.

So if there is already a xvfb-instance running and the -a flag is not set they will both try to connect with server number 99. With the -a flag enabled the second instance will try to get server number 100++ instead.
I also use headless ubuntu 18.04 and had the same problem. I tracked it down to validate_executable() in _orca.py (https://github.com/plotly/plotly.py/blob/master/plotly/io/_orca.py#L841).
It validates the orca executable by first calling orca --help and then orca --version directly after. If they are run with xfvb the first run will go well but it doesn't have enough time to exit before the second is called, So orca --version tries to connect with servernumber 99 which is already taken and returns an error, making orca believe the wrong orca executable is installed.

Not directly related to this bug, but for some reason I get
❯ man orca
No manual entry for orca
See 'man 7 undocumented' for help when manual pages are not available.

I need help too :(
> ubuntu@ip-172-31-17-255:~$ xvfb-run -e /dev/stdout /home/ubuntu/orca-1.2.1-x86_64.AppImage -a
desktop-file-install is missing. Skipping /tmp/.mount_orca-1YVhKRx/AppRun.
/tmp/.mount_orca-1YVhKRx/app/orca: error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory```


Article and annotation buttons show when there is no content.

Only show article and annotation menu buttons when those features have content.

Looks like article button was previously doing this but was commented out?


Update dashboard to 1.23

Description

Add new feature flag to the dashboard to enable metrics visualization
How Has This Been Tested?

Metrics visualization should be enable in rhods always
Merge criteria:

[X] The commits are squashed in a cohesive manner and have meaningful messages.
[X] For commits that came from upstream, [UPSTREAM] has been prepended to the commit message.
[X] JIRA link(s): https://issues.redhat.com/browse/RHODS-6058
[X] The Jira story is acked.

/approve


Don't cycle carousel when the page isn't visible

This uses the Page Visibility API (when available) to stop cycling the carousel when the page is hidden (e.g. in an inactive tab, minimized window, etc.).
This seems like better UX and also improves perf when the page is hidden (browser has less work to do).
This also addresses #15298 by not sliding while the page is hidden in Chrome in the first place (thus preventing the problematic situation from occurring).

This was one of the suggestions I had made in the past so I'm definitely for it :+1:

CC: @hnrch02 @fat

Great idea :+1:

I suggest this new behaviour should tie-into carousel options; that said, this PR seems like a sensible Carousel.DEFAULTS behaviour, though setting the default to false is guaranteed non-breaking.

I'm having a hard time envisioning a case where it's desirable to slide things even when the user isn't watching them. If anyone has such a use case, please speak up.
We're trying to sell this as a bugfix / implementation-detail rather than a new feature per se.

@cvrebert Carousel as news ticker, for example, like tweets and hash tags on current events.
Moreover Carousel already has a pause: 'hover' default, a paused property, and possesses function paused() on its prototype.  Therefore pausing looks baked-in already.
Maybe Carousel pausing on visibility should use Carousel.pause()?

Carousel as news ticker, for example, like tweets and hash tags on current events.

That seems relatively niche, but I'd be interested to hear the rest of the team's thoughts on it.

Maybe Carousel pausing on invisibility should use Carousel.pause()?

That leads to some questions around "What happens if the page explicitly calls pause() while it's hidden?" In that case, when it becomes un-hidden, does the Carousel start cycling, or not? If not, then the code gets a bit more complicated.

I think it will be fine as long as we point out in the release notes that this changes the default behavior.

@XhmikosR What's your opinion after StevenBlack's remarks?

The use case @StevenBlack describes seems a valid one indeed.
But, wasting power is never good, so I'm still in favor of this change as long as we do it in a major version bump.

@cvrebert just kick me for being redundant but Carousel pausing on scroll should be configurable — default true is certainly OK — also .paused, .paused(), and .pause() exist so let's use these so state is managed consistently.

@StevenBlack Scrolling is a separate issue entirely. File a new bug if you care about it.

as long as we do it in a major version bump.

Punting this to v4 then.


Allow props to be null or undefined, for parcel.js

UPDATE: See https://github.com/ryansolid/dom-expressions/pull/16#issuecomment-646585294 below for a correct example.

Using parcel.js with the following jsx pragma and code:
/** @jsx h */
import h from 'solid-js/h'
import { render } from 'solid-js/dom'

render(
  () =>
HELLO
,
  document.getElementById('root')
);

...causes it to call h like this:
h("h1", null, "HELLO")

...which fails, because props is null, and is seen as being typeof "object".
This commit allows props to be ignored if null, instead of being treated like an object.

Thanks although as far as I can tell this is only a problem with function components and the "h1" in the example above should work fine. The fix also only addresses function components so I want to make sure I'm not missing another issue here.
And for my own curiousity, why not use the significantly more optimized babel plugin instead of HyperScript? If it's a matter of TypeScript support with Parcel, Parcel 2 alpha the next branch supports TypeScript with Babel transformations.

Thank you @ryansolid for your quick response, and release!
You are absolutely correct; this issue was actually with function components, and it did indeed not appear when only using h1 as in my initial example above. I confused myself when typing it up, half based on code I was writing with function components :D
Just to verify, I set up an actual (minimal) example:
https://github.com/hugojosefson/hyper-dom-expressions-16
It fails on the previous<EMAIL_ADDRESS>as we expected, and works correctly with your new release of<EMAIL_ADDRESS>

The reason for me to not use babel and for example solid-scripts via create-solid, is not related to TypeScript. Almost the opposite!
I am interested in seeing how good of a developer experience I can figure out with not using any build tools, running the server as pure esmodules in Node.js 14+, and using pure esmodules in the browser as well. No bundling or packaging. So that's why I look into simpler helpers such as hyper-dom-expressions.
My goal is to find a sweetspot with only using a few libraries, that don't clutter the understanding we can have of the code that we write. This is in contrast to how complex React and Redux can become when we don't fully understand what the code that we see in the file in front of us does, as was mine and a colleague's experience at work in the previous weeks.

Using JSX with hyper-dom-expressions was perhaps a small step away from my completely minimalist challenge :) but I thought it would be interesting to see how much/little complexity would be necessary to bring JSX syntax into the setup I'm trying out in hugojosefson/chemical-example#master and #solid.

Yeah the default JSX stuff should work there. The big issue is that you have be very conscious of what you wrap in functions. Reactive things always run in context so it requires a lot higher understanding to get started. With the babel JSX plugin I wrote you just write it like React and not have to worry about it. That and the performance degradation is why I almost never recommend it.
Tagged Template Literal version is actually considerably more performant than the HyperScript version. So if you want that sort of experience it's probably better. Mind you it still have a few gaps like no spreads. But JSX compiler on HyperScript is sort of worst of both worlds because you don't get to benefit from the better DX experience or have the best performance, and you still have a build step.


Automate Custom Testbed Execution with GitHub Action for Oakestra Testing

Overview
This proposal outlines a GitHub Action designed to trigger the execution pipeline for the custom and oneshot modes of the virtual testbed. This automation streamlines and accelerates the testing process for Oakestra's components (root, cluster, and worker nodes), checking component statuses, deploying sample applications, and validating deployment outcomes. The primary goal is to establish a structured and automated approach for efficiently testing various configurations.
Proposal
This PR marks the first step toward automating the build, execution, and deployment tests for Oakestra's core components. Two modes for the testbed are identified:

custom mode: Allows the testbed to be triggered manually, executing a predefined scenario described by a .json file located in the /topologies folder of the awx-testbed repository. This mode enables flexible testing of different topological scenarios and must be triggered manually from the "Actions" section in the repository.

oneshot mode: Automatically triggered after a PR review is approved by a designated reviewer. This mode executes all topologies in the awx-testbed repository under the oneshot branch. The action passes if all available topology scenarios are successfully executed. The specific topologies tested depend on the number of nodes available in the testbed at the time.

Detailed informations and custom behavior can be found in the  awx-testbed repository.
🔧 Custom GitHub Action Parameters
The GitHub Action for custom mode accepts the following parameters:

Topology Descriptor: Specifies the topology file located in the topologies folder of the awx-testbed. This file defines the scenario to be executed.
Oakestra Branch (optional): Specifies the Oakestra branch to test during pipeline execution. Defaults to develop.
Oakestra Commit (optional): A specific commit within the Oakestra repository to be tested. If not provided, the pipeline defaults to HEAD. If an invalid commit is given, it falls back to the HEAD of the specified branch.

Access to this GitHub Action is restricted to authorized users within the Oakestra organization with write permissions, including maintainers and contributors.
Status
The pipeline has been validated against the topologies available in the awx-testbed repository. However, the stability and performance of the testbed are contingent on the availability of sufficient hosts to support the configurations being tested.
⚠ Additional testing is needed to ensure the testbed's stability across a broader range of scenarios. ⚠
🏗 Next Steps
Upcoming PRs will focus on enhancing the custom mode and introducing the oneshot mode to simplify execution pipelines. Planned improvements for custom mode include:

Oakestra Net Branch: Enable testing on a specific Oakestra Net branch.
Oakestra Net Commit: Allow users to specify a commit for Oakestra Net.
Custom Parameters: Offer more flexibility to validate specific conditions and configurations.

Ongoing testing, validation, and feedback are crucial to refining and expanding the workflow's capabilities.
Checklist

[x] Discussed: The proposed changes have been discussed with the Taskforce Team.
[ ] Documented: 🚧 Documentation updates will be made in the awx-testbed repository and on the official documentation page. 🚧
[x] Implemented: The core functionality has been implemented in this PR.
[x] Tested: Initial tests have been completed, but further validation by maintainers is needed.

Marked PR as draft, to merge after #358 for NodeEngine  and #185 (oakestra-net) for NetManager systemd startup update.


api: add rootfs-image.version to fix device display

The purpose of this Pull-Request is to fix the "Current software" display on mender interface. This issue was reported at https://github.com/joelguittet/mender-mcu-client/issues/69

@lluiscampos if you want to check it before I merge the fix, here it is! As discussed in the issue, this is a quick fix to ensure the display of the software version. Not sure if this make sense to separate version and artifact_name, neither to add rootfs checksum ? What is your opinion ?
Note: on MCU the checksum of the image is changing when the image is validated by the bootloader. This is why I say it has not a good value to be reported.

@lluiscampos if you want to check it before I merge the fix, here it is! As discussed in the issue, this is a quick fix to ensure the display of the software version

Taking into account the MCU client capabilities, this is good enough.

Not sure if this make sense to separate version and artifact_name, neither to add rootfs checksum ? What is your opinion ?

It is harmless as it is, but artifact_name could be removed in order to save few bytes.
The checksum does not make sense as long as the MCU client does not support provides/depends (iow deployments v2 POST deployments/next), where the checksum together with other attributes could be used for the server to select one or other Artifact.

Note: on MCU the checksum of the image is changing when the image is validated by the bootloader. This is why I say it has not a good value to be reported.

This is a details that I didn't know! Thanks for pointing it out.

Thanks for looking at this @lluiscampos ! yes it will always be possible to enhance later if required to separate artifact name and software version :-)
The point about the checksum is because of the confirmation of the image done when the update is validated. Flag set at this moment in the trailer of the slot. This is an important point when thinking to delta update, something I have already think about and I would like to propose solutions ;-) or maybe mender will do it !


Add a "this type is generated by macro" doc comment

Macro generated code is not exposed to the user. There is some test code that uses types generated by macro explicitly. Adding a doc comment like "this type is generated by macro" will help programmers easily understand the type.

And also, they should be invisible in the doc.


[WIP] Channel list shows channels across all accounts unless account id is passed

Looks like you're on the right track, the only concern I have so far is that you seem to be conflating my_account and account (you've renamed the variable in one case and you don't pass it to get_txos() anymore).
my_account is used to determine TXOs which are under your control as opposed to accounts which is used to determine which accounts you are filtering by. There is a subtle distinction there, make sure that as you refactor the code you are mindful to keep this part working.
As an example, if you have accounts A, B, C. And user is filtering on account B and some of the TXs include where something moved from account A -> B, the code has to mark the account A TXOs as "yours" as well. This gets set here:
https://github.com/lbryio/torba/blob/master/torba/client/basedatabase.py#L483
You may need to do an additional PR on torba which adds multi-account filtering/checking support on torba as well so that it checks is_my_account using a list of accounts instead of the current single my_account.

This would be nice to get in for 0.38 if it's close to being ready.

@hackrush01 do you have everything you need to try to finish this up for the next release?

fyi this is also blocking ytsync syncing channels that have been sent to creators, because the sdk cannot publish to a channel for which it no longer has the claim (even though it does have the channel cert)

superseded by #2386 which includes this functionality for all commands


Access another drive (Windows)

Hello:
I wanted to share that I'm not able to change the mount point, either access another drive like "H:".
I've tried to create a symlink but whenever it creates the "mnt" folder in "%AppData%/Temp" it cannot duplicate the symlink so I just can't access to the folder I want to go.
Here's the folder created, I've used "mklink" with all the three options "/D, /J, /H".

And here's what the "mnt" has created.

And of course, from the program I'm not able or I don't know how to change the drive:

It seems like to me you are trying to use the program for something besides it's intended use. Rclone, rclone browser, or something similar seems more like what you are looking for. Are these drives network drives or local drives? Network drives aren't likely to show up in this situation without making them a remote through the rclone config... Which is what this program uses as well. So my point being: learn to use rclone config will teach you more if this program will be able to do what you want it to or if you may need to find a new solution.

Sorry but why you want to change mount point? I can make mount path customizable, but I don't understand what purpose required that.
About accessing to other discs - I check it later on windows. Еhanks for reminding

Hello:
No KaladinDMP, that's not what I want to say, I want to be able to the change the mount point and accessing other disks as vKolerts said.
And vKolerts, I want to change the mount point because I want to leave C:\ clean, I use an external HDD where I like to put my things on.
And thanks for the help, now I've added a new "dirBookmarks":

From the program I'm able to go to the bookmark I want to:

And it works.

Amazing software, this is exactly what I wanted something offline for the resilio folder backup I've got.

Sorry, guess I misunderstood. Glad you figured it out


setup.py - retrieve version info from packerlicious version.py

fixes #54

Coverage increased (+0.02%) to 81.764% when pulling 3abb5412f6929acdb46f272bc01e2b5d259b54e5 on mayn-issue54 into d8782f8d173bd5f930efdaffc6801c1e6deb5dd0 on master.

Coverage increased (+0.02%) to 81.764% when pulling d310138252b2363d7a2c6b26c43829ab87658da7 on mayn-issue54 into d8782f8d173bd5f930efdaffc6801c1e6deb5dd0 on master.

Coverage increased (+0.04%) to 81.782% when pulling 2867d57f71e5fdc09a7f122ab3b0c16b755cb1c2 on mayn-issue54 into d8782f8d173bd5f930efdaffc6801c1e6deb5dd0 on master.

Coverage increased (+0.04%) to 81.782% when pulling 72f6dc93c69ba64e2a6480cde690c9f5866f37d0 on mayn-issue54 into d8782f8d173bd5f930efdaffc6801c1e6deb5dd0 on master.

Coverage increased (+0.04%) to 81.782% when pulling 64423a0e69581fba98da202c7e1d2fc7a6d4cc81 on mayn-issue54 into f520e56fde18e798acf8f9d1ce5b76666f3ccef2 on master.


Provide multi-theaded PNG encoding option via mtpng crate

https://github.com/brion/mtpng provides a multi-threaded PNG encoder that is competitive with libpng even in single-threaded configurations. It would be nice to be able to use it from image.
Since multi-threading "in the background" without user control can be undesirable and encoding ratio may suffer for very small images, it's probably best to provide it as a separate encoder type so that the API client would have full control over what's happening.

This was attempted in #478


revised model path in model creation step

Issue #, if available:
revised model path in model creation step

its already been addressed


bug with label

/cib

:tada: This issue has been resolved in version 1.3.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


frontend-internal: move OpaqueType to a new @internal/opaque package

Hey, I just made a Pull Request!
Making the OpaqueType helper available across more internal packages. Keeping it out of public API for now unless we know it's reasonably stable.
:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Is it time for packages/internal and we can move the other packages to be similar names? Otherwise should we settle on opaque-internal as we have frontend-internal already?


verify if specific SNP/gene is in database

Hi all,
How would you search the database to check if specific SNPs/genes are present?
e.g. if one is interested in a specific gene of species X.
Thanks

I apologize for my long delayed response. GT-Pro has been updated frequently until recently. For a specific SNP, one may look it up with the corresponding variant file (VCF format) and reference genome at https://fileshare.czbiohub.org/s/waXQzQ9PRZPwTdk?path=%2Fvariation_in_species. For a specific gene, additional step (gene prediction) may be required before the lookup. It is typically done with programs like Prodigal with reference genome as input. I am closing this issue for now. Feel free to reopen it if you have follow-up questions.

I apologize for my long delayed response. GT-Pro has been updated frequently until recently. For a specific SNP, one may look it up with the corresponding variant file (VCF format) and reference genome at https://fileshare.czbiohub.org/s/waXQzQ9PRZPwTdk?path=%2Fvariation_in_species. For a specific gene, additional step (gene prediction) may be required before the lookup. It is typically done with programs like Prodigal with reference genome as input. I am closing this issue for now. Feel free to reopen it if you have follow-up questions.


Requirements.txt for working deployed project

Can we get the requirements.txt file for the deployed product? The instructions.txt is missing the version for dependencies.

It was a mistake of ours not to freeze the requirements but you can go with latest versions available.


quote: Use a RegExp to replace control characters

Performance is now comparable to JSON 2's, and much better than JSON 3.3.2.
jsPerf: http://jsperf.com/json3-tests/3.
@kitcambridge Please review.

Ping? ;)


how to create an index page

i have been trying to create an index page, for example if i type http://domain.com it will redirect to http://domain.com/index.php (where i will add the homepage details), i don't know how to go about it, because there is already a .htaccess file from yourls installation,
so when i visit my site url http://domain.com, i got this page
[[[
.quarantine/
.tmb/
CHANGELOG.md
CONTRIBUTING.md
LICENSE.md
README.md
YOURLS-master.zip
YOURLS-master/
_file-manager/
admin/
css/
dest/
images/
includes/
js/
pages/
readme.html
sample-public-api.txt
sample-public-front-page.php
sample-remote-api-call.txt
sample-robots.txt
user/
yourls-api.php
yourls-go.php
yourls-infos.php
yourls-loader.php
]]]
please help with this thanks.

@ebukaezeh This:
# BEGIN YOURLS
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ /yourls-loader.php [L]
</IfModule>
# END YOURLS
# BEGIN INDEX-FIX
Options -Indexes
DirectoryIndex index.php index.html
# END INDEX-FIX

Note this only allow you to show index.php (if the file exist) when you type ``http://domain.com` :-)

This is not working for me, it shows 403


Update foundation account - Blank screen

Bug Description
It is not possible to commit transaction because blank screen appears in DW after I selected continue.
Steps to Reproduce
Enable governance transactions.
Select Update foundation account.
Paste new account address and select continue.
Expected Result
It should be possible to commit transaction.
Actual Result
Blank screen.
Versions

Software Version: Stagenet 1.5.0
OS: Windows

https://user-images.githubusercontent.com/98821384/178969780-737bd977-b6d2-49ef-862b-733d71a81d0b.mp4

This is a duplicate of https://github.com/Concordium/concordium-desktop-wallet/issues/328.


Can Some Explain the basic difference between this and big sleep? I'm a newbie

I'm new to this too! So my understanding is going to be pretty simple.
Both projects are inspired by OpenAI's recent "DALL-E" results. They're incredibly impressive, but they haven't released the model yet and aren't likely to run on your average colab instance.
Something which has been released from that project is a tool called CLIP. CLIP can (very, very accurately) determine the contents of an image in "plain english".
With both of these projects, we point CLIP at another neural net that can generate pixels for us, and then we ask CLIP, "hey, does that look like anything in the phrase I typed in?" and it happily says "NO! That looks nothing like 'a leather armchair imitating an avocado!" The neural net feels ashamed and reflects on itself. Then it presents a new image and politely asks CLIP if it resembles this non-existent avocado chair you want to see. That cycle happens back and forth until something acceptable is produced.
deep-daze uses the neural net SIREN as its "pixel generator". I'm not really sure how to describe SIREN in a non-mathematical way. Someone else should correct me on this, but I believe that it's a neural network designed to make complex sinusoidal waves which "solve your problem". This happens to work well for a lot of domains (including images) because of the fact that sine waves kind of describe a lot of things. As for why it specifically was chosen and works so well, I'm not sure. Hopefully someone else can chime in.
tl;dr deep-daze operates on a more abstract neural net. Its results therefore tend to be less photorealistic and more "dreamlike".
big-sleep uses BigGAN as its "pixel generator". BiGAN was built from the ground up for generating high quality imagery. It is suited specifically to that task. It has pre-existing knowledge about textures, styles, and what not. This means it is more likely to generate concrete, realistic versions of this stuff. Unfortunately, GAN's are quite brittle. They inhabit a very large knowledge space and you can very easily get incorrect results just based on it having a lousy guess.
tl;dr big-sleep operates with knowledge of imagery and will happily produce the textures of earth, skin, fur, etc. in order to appease CLIP.

I'm new to this too! So my understanding is going to be pretty simple.
Both projects are inspired by OpenAI's recent "DALL-E" results. They're incredibly impressive, but they haven't released the model yet and aren't likely to run on your average colab instance.
Something which has been released from that project is a tool called CLIP. CLIP can (very, very accurately) determine the contents of an image in "plain english".
With both of these projects, we point CLIP at another neural net that can generate pixels for us, and then we ask CLIP, "hey, does that look like anything in the phrase I typed in?" and it happily says "NO! That looks nothing like 'a leather armchair imitating an avocado!" The neural net feels ashamed and reflects on itself. Then it presents a new image and politely asks CLIP if it resembles this non-existent avocado chair you want to see. That cycle happens back and forth until something acceptable is produced.
deep-daze uses the neural net SIREN as its "pixel generator". I'm not really sure how to describe SIREN in a non-mathematical way. Someone else should correct me on this, but I believe that it's a neural network designed to make complex sinusoidal waves which "solve your problem". This happens to work well for a lot of domains (including images) because of the fact that sine waves kind of describe a lot of things. As for why it specifically was chosen and works so well, I'm not sure. Hopefully someone else can chime in.
tl;dr deep-daze operates on a more abstract neural net. Its results therefore tend to be less photorealistic and more "dreamlike".
big-sleep uses BigGAN as its "pixel generator". BiGAN was built from the ground up for generating high quality imagery. It is suited specifically to that task. It has pre-existing knowledge about textures, styles, and what not. This means it is more likely to generate concrete, realistic versions of this stuff. Unfortunately, GAN's are quite brittle. They inhabit a very large knowledge space and you can very easily get incorrect results just based on it having a lousy guess.
tl;dr big-sleep operates with knowledge of imagery and will happily produce the textures of earth, skin, fur, etc. in order to appease CLIP.

Damn that's a great explanation. Thanks Dude

Damn that's a great explanation. Thanks Dude


Fix iteration direction

This merge adresses #281 by storing the value of the reverse flag per iteration object (on creation), so that changing the direction on the (global) direction object does not affect the code generated for a particular loop. The problem was that we previously always consulted the dimension object at code generation time, which can be delayed, so that the direction of time might have changed already.
The PR also includes an additional test for this edge case and removes the dle=None and dse=None suppression in the timestepping tests.

Looks good, I'll give it a try as soon as I find time :)

This does fix the problem but I am inclined to argue that the root cause for the issue is in operator.
The time dimension is a global object and ideally we shouldn't be changing state on a global object at all.
If, due to some convoluted requirements, a piece of code is creating two Operators in parallel - one forward and one reverse, this problem might resurface since there is no lock on time.reverse.
I think the best solution here would be to remove time.reverse or not have time as a global object since having state on a global object is inherently issue-prone.

The time dimension is a global object and ideally we shouldn't be changing state on a global object at all.

Generally I agree that we shouldn't be changing state on time, which is why I originally proposed having the second, derived dimension object time_r to denote "reverse time".

I think the best solution here would be to remove time.reverse or not have time as a global object since having state on a global object is inherently issue-prone.

You'll have to provide a little more detail than that. If I don't have a global time dimension, how do I figure out that I can merge two outer loops, for example if I have two synchronised state updates of u(time, ...) and v(time, ...) in a coupled equation (for example see Burgers tutorial)? Alternatively, if I don't have time.reverse how do I recognise that I run a gradient operator backwards and inject rec.data values using the correct time indices (note that the original time index on rec is foward)?

_schedule_expressions could pass the reverse flag to the Iteration constructor from the Operator's reverse property, without ever having to store it on the Dimension, maybe?
We could safely ignore my objections if you think that it is impossible for two Operator constructors to be running in parallel in the same python environment.

My suggestion.
Allow Operators to accept dimensions at construction time (through kwargs), with the following syntax (definitely improvable):
Operator(..., t=REVERSE)
REVERSE is a special object (there can be many...) that is telling the Operator to traverse all iteration loops using dimension t in the reverse direction. The constructor propagates this information to schedule_expression, which will then know how to construct the t loops. This way, no internal state is changed. Also, the solution becomes completely general (we'd not be specialising time...)

Ok, let's go through these in detail:

_schedule_expressions could pass the reverse flag to the Iteration constructor from the Operator's reverse property, without ever having to store it on the Dimension, maybe?

schedule_expression creates (multiple) Iteration objects per Dimension, so somehow bypassing the parent object (dimension) when injecting additional information into the derivative object (iteration) defies the point of deriving it from the dimension in the first place. At the very least this sounds counter-intuitive, and no better than the current state hackery, at least IMHO.

We could safely ignore my objections if you think that it is impossible for two Operator constructors to be running in parallel in the same python environment.

Always and trivially true due to Python's GIL. Python's memory management is inherently unsafe, so the interpreter can never be threaded, and the two constructors will always execute serially.

Edit: Second idea: Have a time_r dimension internally, which the Operator switches to, transparently, when it receives a time_axis=Backward

Trickier than it might seem, since it effectively comes down to applying a subs({time: time_r}) over all received expressions. But what about t, or even some other derived t_s (eg. for sub-sampling)? What about time in the src/rec terms? I think this approach is really only safe if the user has full control of choosing the symbols for each term, but that makes the API slightly messier due to various built-in variants of "time".

Allow Operators to accept dimensions at construction time (through kwargs), with the following syntax (definitely improvable):
Operator(..., t=REVERSE)

Hmmm ok, I don't really like this approach either, since it effectively encapsulates the functionality of generic "derived" dimensions but it forces us to encode each transformation in a special-case object, just like REVERSE. A more natural way would be to say time_r = DerivedDimension(expr=time_end - time) (or anything similar that permits generic expressions rather than hard-coding individual transformations) and then do Operator(... subs={time: time_r}). But at that point we are back to whether we should even use a derived dimension to encapsulate "reverse-time" or not and how to deal with granularity (see above discussion).
However, to make a long story short, this discussion is really quite pointless because:
In standard Python, two operator constructors will never execute in parallel due to GIL!

However, to make a long story short, this discussion is really quite pointless because:
In standard Python, two operator constructors will never execute in parallel due to GIL!

Sure, I was just saying to avoid changing global state

Hmmm ok, I don't really like this approach either, since it effectively encapsulates the functionality of generic "derived" dimensions but it forces us to encode each transformation in a special-case object, just like REVERSE [...]

I'm not sure I share your concern here. As in, in theory yes, I agree with what you say, but... How many such objects would you have, in practice? Just a few, for starters just <= 1 (as the default is the forward direction)
Anyway, said that, I'm OK with this PR. So please just land it :)

I was convinced but then I came across this threading issue in the cached property module that makes me wonder what is the difference between our code that makes this same issue a concern for them but not for us?
Reading further, I am inclined to argue that the GIL imposes limits on parallelism but not concurrency. It is still possible to have threads through the multiprocessing and threading modules. Although the GIL might prevent simultaneous execution, interleaved execution between two python threads is easily achieved through these modules.
Hence, I insist that global state will lead to race conditions.

Fair enough. Back to the drawing board then....

This PR was a 2 lines change which is fixing an issue that seems 100 orders of magnitudes more likely than threading issues in the python interpreter, AFAICT.
So I suggest we merge it and file an another issue. So yes, I'm fine with replacing an issue with another issue, as long as the latter is much less likely than the former

Rebase and pass travis

Happy, but before merge please file an issue and a draft of the potential solutions that we'll be discussing in the (not necessarily near) future

@navjotk Since you raised the concerns in this PR, can you please file the issue?

Issue filed, so we could merge this once Travis is green


Enhancement: More calibration related parameters are preserved when o…

Describe problem solved by this pull request
Current rcS script invalidated magnetometer calibration data when SYS_AUTOCONFIG sets to 1 with AUTOSTART number given.
Describe your solution
More calibration related parameters are preserved when only autoconfig reset happened. Current setup makes magnetometer and offset data invalidated.

I was opposed to some of this in the past, but I think it's worth considering now. We have preflight checks for the estimator and sensor consistency checks. If there's an issue it's quite likely the user is going to recalibrate at that point.
If anything I've noticed that unnecessarily resetting calibrations leads to users redoing the calibration quickly and poorly.

Personally, I think that only the autopilot-related parameter should be preserved, so not the bias of the external mag and not the EKF biases.
I know that it is annoying when the user knows that nothing changed and doesn't want to redo the mag calibration, but I think we should add a new SYS_AUTOCONFIG mode that preserve all the calibrations instead of adding more and more to the "reset parameters"

I am generally in favor of this. See https://github.com/PX4/Firmware/pull/13276.
However I think that the current default makes sense: different airframe means different magnetic bias.
We may discriminate a software airframe change (no calib needed) from a hardware airframe change (calib needed).
Ideally, the user would be prompted just after selecting a new airframe:
"New airframe config selected. Has the autopilot been physically moved on the airframe or mounted on a new airframe?
[.] Yes. Perform magnetometer calibration at next startup.
[.] No.
"
Internally we can map this to SYS_AUTOCONFIG=1 for hardware airframe change (current behaviour) and SYS_AUTOCONFIG=2 for software-only airframe change.

I think we should add a new SYS_AUTOCONFIG mode that preserve all the calibrations instead of adding more and more to the "reset parameters"

Actually, one of the cases is SYS_AUTOSTART not changing (re-clicking the same airframe in QGC). It would be safe to preserve mag cal in that case.
@bresch that could work longer term, but I think in most cases it's really the QGC side driving this.
@hyonlim could you go through your particular usage? Would the special case around unchanging SYS_AUTOSTART help?

If there is special case for SYS_AUTOSTART, that would help.
When airframe parameter is updated by software, the calibration is invalidated.
I think @jlecoeur 's statement is good.


feat: Adding Comment Functionality and Endpoints

Add Comment Functionality and Endpoints
Description

This PR introduces new routes for handling comments on blog posts. The added functionalities include creating, replying, liking, disliking, editing, and deleting comments. The changes ensure that comments are handled effectively,, with proper authentication and authorization checks.
Related Issue (Link to Github issue)

https://github.com/hngprojects/hng_boilerplate_php_laravel_web/issues/243
https://github.com/hngprojects/hng_boilerplate_php_laravel_web/issues/244
https://github.com/hngprojects/hng_boilerplate_php_laravel_web/issues/245
https://github.com/hngprojects/hng_boilerplate_php_laravel_web/issues/246
https://github.com/hngprojects/hng_boilerplate_php_laravel_web/issues/247
https://github.com/hngprojects/hng_boilerplate_php_laravel_web/issues/248
https://github.com/hngprojects/hng_boilerplate_php_laravel_web/issues/249
Motivation and Context

These changes are necessary to provide users with a comprehensive commenting system on blog posts. It enhances user interaction and engagement by allowing users to comment, reply, like, and dislike comments. Additionally, users can edit or delete their comments as needed.
How Has This Been Tested?

Created unit tests to cover all new endpoints.
Manually tested each endpoint using Postman to ensure expected behavior.
Validated authentication and authorization checks for each endpoint.
Ran the entire test suite to ensure no existing functionality was broken.

#post man test screenshots below

Endpoints

Create Comment: POST /api/v1/blogs/{blogId}/comments
Reply to Comment: POST /api/v1/comments/{commentId}/reply
Like Comment: POST /api/v1/comments/{commentId}/like
Dislike Comment: POST /api/v1/comments/{commentId}/dislike
Edit Comment: PATCH /api/v1/comments/edit/{commentId}
Delete Comment: DELETE /api/v1/comments/{commentId}
Get Blog Comments: GET /api/v1/blogs/{blogId}/comments

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

This should provide a comprehensive overview of your changes and how they've been tested, along with a list of the new endpoints.

please add postman screenshots

Work on your title, check other approved issues.

Work on your title, check other approved PR.

worked on


add diff txt

Description:

Affected area:

New Functionality      [ ]
Documentation          [ ]
Install                [ ]
Control Plane          [ ]
CLI Tool               [ ]
Certificate Management [ ]
Networking             [ ]
Metrics                [ ]
SMI Policy             [ ]
Security               [ ]
Tests                  [ ]
CI System              [ ]
Performance            [ ]
Other                  [ ]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?

Codecov Report

Merging #19 (f8f26a1) into main (a7f1e32) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #19   +/-   ##
=======================================
  Coverage   59.66%   59.66%
=======================================
  Files         151      151
  Lines        6708     6708
=======================================
  Hits         4002     4002
  Misses       2692     2692
  Partials       14       14

Flag
Coverage Δ

unittests
59.66% <ø> (ø)

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

Impacted Files
Coverage Δ

cmd/cli/dashboard.go
0.00% <ø> (ø)

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 52e9393...0e680d9. Read the comment docs.


[Bug]-[12500]:Key value input component is inconsistent with design

Is there an existing issue for this?

[X] I have searched the existing issues

Description
Key value input component is inconsistent with design
Ref: https://www.notion.so/appsmith/Usability-UI-issues-3ed292f1e7924526b2a3bd56f0a50b5c?p=93f9f83982cc4589834ffa9704a0beb1
Steps To Reproduce

Open postgres datasource
Observe the Host and Port key value component. Current implementation

Expected: https://www.figma.com/file/IfutQTUq3g97j59i3mx6Y4/Appsmith-Screens-Library?node-id=27%3A3438
Public Sample App
No response
Version
Cloud

Stats

Stat
Values

Reach
2500

Effort (months)
0.1

Following is the updated screen for host address and port

But when actual screen is compared with the design, there are differences in almost all components and buttons
Below is the design screenshot

tagging @parth-appsmith.


Access entropy calculations from API

I have searched the docs and the only reference to entropy I see in the API is ghidra.app.util.bin.format.pe.DllCharacteristics.IMAGE_DLLCHARACTERISTICS_HIGH_ENTROPY_VA
Is there any way to access the entropy:address information as shown in the GUI from within the API?
Thank you

@ryanmkurtz Apologies if this is a redundant question, assuming by addition of "Feature:API" tag this means that accessing entropy calculations is current not available via the API?

The tags just mean this is a question about our API.  I started to look into this this morning but couldn't quite find an answer I was happy about responding with.  I'll just show you some things I found:
A service to access entropy info:
https://github.com/NationalSecurityAgency/ghidra/blob/cbf4c9d34aa57cbeb49c714d69271bb4790953a4/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/overview/entropy/EntropyOverviewColorService.java#L56-L61
A screenshot generator that uses the service:
https://github.com/NationalSecurityAgency/ghidra/blob/cbf4c9d34aa57cbeb49c714d69271bb4790953a4/Ghidra/Test/IntegrationTest/src/screen/java/help/screenshot/OverviewPluginScreenShots.java#L39-L45
Definitely not a lot of scripting-level API options for entropy it seems.

Understood, thank you for the effort. Do you know how entropy is calculated in Ghidra as I might have to find some sort of workaround script? Is it calculated for every address line, block, etc?

All of the math is in EntropyOverviewColorService.java.  It's calculated for a 256-byte sliding window.

There is also this class: EntropyCalculate.java.  For some reason the GUI entropy plugin isn't using this (so its existence wasn't obvious) but it might be appropriate for your case.


Cloudflare pages build cache is not caching .nuxt folder

Environment
Cloudflare pages (using nuxt hub)
16:38:47.701	Using v2 root directory strategy
16:38:47.723	Success: Finished cloning repository files
16:38:49.279	Checking for configuration in a Wrangler configuration file (BETA)
16:38:49.279
16:38:49.419	No wrangler.toml file found. Continuing.
16:38:49.507	Restoring from dependencies cache
16:38:49.524	Restoring from build output cache
16:38:50.103	Success: Build output restored from build cache.
16:38:54.277	Success: Dependencies restored from build cache.
16:38:54.463	Detected the following tools from environment<EMAIL_ADDRESS><EMAIL_ADDRESS>
Reproduction
https://github.com/mathix420/free-the-web-apps
Describe the bug
All assets seems to be regenerated on every deployment, at least IPX static assets.
16:50:29.290	[log] [nitro]   ├─ /_ipx/w_1280&f_png&q_100/screenshot/framer.png (41263ms)
16:50:29.290	[log] [nitro]   ├─ /_ipx/w_1024&f_png&q_100/screenshot/framer.png (44097ms)
16:50:29.291	[log] [nitro]   ├─ /_ipx/w_1536&f_png&q_100/screenshot/framer.png (45620ms)
16:50:29.291	[log] [nitro]   ├─ /_ipx/w_2048&f_avif&q_100/screenshot/framer.png (52516ms)

Additional context
Cloudflare seems to have forgotten to cache the .nuxt folder https://developers.cloudflare.com/pages/configuration/build-caching/#frameworks
Logs

we do not yet cache /_ipx locally: https://github.com/nuxt/image/issues/795.
with buildCache (which is currently experimental) we cache Nuxt assets in node_modules/.cache which should be restored by Nuxt.
(Cloudflare and other providers shouldn't cache .nuxt.)


[BUG]: react-dom.development.js:86 Warning: ReactDOM.hydrate is no longer supported in React 18

Make sure these boxes are checked before submitting your issue, thank you!

[X] You are using NodeJs 14 or higher?
[X] You have installed all dependencies and tools listed in the documentation?
[X] You have searched the existing issues if someone has already asked the same issue?
[X] You have read the documentation?
[X] Is not a programming question.
[ ] You are using latest code of Starter?

Description of the bug
Warning in url http://localhost:3000/hello-world
Display warning :
react-dom.development.js:86 Warning: ReactDOM.hydrate is no longer supported in React 18
react-dom.development.js:86 Warning: Expected server HTML to contain a matching

Possibly related: https://github.com/remix-run/remix/issues/4822

Of course, but i need to use the latest package react, can you update your package ? for test ?

Of course, but i need to use the latest package react, can you update your package ? for test ?

It's an API update form react, and template file generated by nest-remix maybe outdated. You could modify the entry.client.tsx manully.
from
import { hydrate } from 'react-dom';

hydrate(<RemixBrowser />, document);

to
import { createRoot } from 'react-dom/client';

const root = createRoot(document.documentElement);
root.render(<RemixBrowser/>)

This worked for me, thanks @St2r

Awesome. Thanks @st2r for finding the fix and @reallyely for confirming. I'll update this ASAP.
If you guys are using nest-remix, let me know how you are finding it :) I am hoping to get more time to work on it soon.

I just watched your video last night. Today is trying to get a demo app working. I'm excited by what I see so far!

I also learned about it from youtube, remix.js and next.js and two of my favorite framework, it's very awesome to combine them! XD

That's awesome! Same - I am eager to do more work with this project. I have a vision of turning this into a full-fledged framework powered by Nest and Remix


feature req: export contacts

It's nice to import, but also nice to export. And harder to find a app that is open source and up to date to do so.

We already have this feature!
https://www.stargw.net/android/contactsimport/export.html

Another reason why i hate the slide to find things method of providing information.
Had no idea it was there as an option.


Need a way to override default application dir.

Hello!
Thank you for this great job!
Is there any way to override config_prefix_path in the wrapper cookbook?
https://github.com/johnbellone/consul-cookbook/blob/master/libraries/helpers.rb#L39
Will you approve such pull request if it is not possible currently?
Thanks,
Roman.

we went with another solution, closing.


TASK [setup] *******************************************************************
fatal: [drupalvm]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: connect to host <IP_ADDRESS> port 2222: Operation timed out\r\n", "unreachable": true}

Summary
I tried all solutions I found in related issues without success (vagrant box remove and than re-add, deleting curl). Also upgrading vitualbox, and Ansible didn't help. As I don't think I can solve the issue I wonder if there's a way to get to the database files of my domains.

Sorry, hit enter by accident and published too early.. I tried to log in to the geerlingguy/ubuntu box and the drupalvm.tes box through VirtualBox GUI but can't find any database files there..

If that first setup task fails, that means none of the Drupal VM provisioning happened at all, which is why there's nothing (databases, Apache, etc.) inside the VM.
If Vagrant can't connect Ansible into the VM, then something with the connection seems to be breaking. Do you have any customizations in a config.yml? Are you using a VPN on your computer, or do you have any kind of virus scanning or network filtering software?
Can you also (on your Mac) run the command cat .vagrant/provisioners/ansible/inventory, or run vagrant ssh-config to see the SSH connection details?
For some reason Ansible is not able to connect to your VM.

Thanks so much for your reply!
vagrant ssh-config
Host drupalvm
HostName <IP_ADDRESS>
User vagrant
Port 2222
UserKnownHostsFile /dev/null
StrictHostKeyChecking no
PasswordAuthentication no
IdentityFile /Users/andremu/.vagrant.d/insecure_private_key
IdentitiesOnly yes
LogLevel FATAL
ForwardAgent yes
before the problems occurred I ran the root password reset script for one of the websites in my local drupalvm folder (drupal 7, ./scripts/password-hash.sh) but I guess that has nothing to do with this..
I ran vagrant up --provision again and got
==> drupalvm: Waiting for machine to boot. This may take a few minutes...
drupalvm: SSH address: <IP_ADDRESS>:2222
drupalvm: SSH username: vagrant
drupalvm: SSH auth method: private key
Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period.
...
no more info on why connection failed..
couldn't it be that the .vmdk is corrupt?

Ah, well, at least you've resolved it :)


Documentation doesn't succeed

Thanks for the great project. I want to take a closer look at it and followed the instructions on the README.
I created a new Ubuntu 20.04 VM, installed docker-compose and checkout the master branch of this repository and followed the instructions.
The first error I receive is:
invalid sslmode value: "prefer # "prefer" OR "require" most of the times"

I solved this by removing the comment in .env.
Further I get:
ERROR: The Compose file './docker-compose.override.yml' is invalid because:
services.createbuckets.depends_on contains an invalid type, it should be an array

Referring to the documentation, the depends_on condition is not supported anymore in docker-compose 3.x. I fixed this with:
--- docker-compose.override.local.yml   2022-01-03 18:36:06.136000000 +0000
+++ docker-compose.override.yml 2022-01-03 18:43:10.536000000 +0000
@@ -102,8 +102,7 @@
   createbuckets:
     image: minio/mc
     depends_on:
-      minio:
-        condition: service_healthy
+      - minio
     entrypoint: >
       /bin/sh -c "
       /usr/bin/mc config host add myminio ${STORAGE_ENDPOINT_URL} ${STORAGE_ACCESS_KEY_ID} ${STORAGE_SECRET_ACCESS_KEY};

After these changes the containers are built and running.
Then I'm able to access the WebUI and it seems working.
But if I'm running the tests (got this from github workflows):
docker-compose run app python manage.py test -v2 qfieldcloud

They will fail:
...
FAIL: test_change_and_delete_pushed_only_features (qfieldcloud.core.tests.test_delta.QfcTestCase)
FAIL: test_list_all_deltas_and_list_deltas_by_deltafile (qfieldcloud.core.tests.test_delta.QfcTestCase)
FAIL: test_non_spatial_delta (qfieldcloud.core.tests.test_delta.QfcTestCase)
FAIL: test_push_apply_delta_file (qfieldcloud.core.tests.test_delta.QfcTestCase)
FAIL: test_push_apply_delta_file_conflicts_overwrite_false (qfieldcloud.core.tests.test_delta.QfcTestCase)
FAIL: test_push_apply_delta_file_conflicts_overwrite_true (qfieldcloud.core.tests.test_delta.QfcTestCase)
FAIL: test_push_apply_delta_file_twice (qfieldcloud.core.tests.test_delta.QfcTestCase)
FAIL: test_push_apply_delta_file_with_error (qfieldcloud.core.tests.test_delta.QfcTestCase)
FAIL: test_push_list_deltas (qfieldcloud.core.tests.test_delta.QfcTestCase)
FAIL: test_push_list_multidelta (qfieldcloud.core.tests.test_delta.QfcTestCase)
FAIL: test_download_file_for_qfield (qfieldcloud.core.tests.test_packages.QfcTestCase)
FAIL: test_download_project_with_broken_layer_datasources (qfieldcloud.core.tests.test_packages.QfcTestCase)
FAIL: test_downloaded_file_has_canvas_name (qfieldcloud.core.tests.test_packages.QfcTestCase)
FAIL: test_filename_with_whitespace (qfieldcloud.core.tests.test_packages.QfcTestCase)
FAIL: test_list_files_for_qfield (qfieldcloud.core.tests.test_packages.QfcTestCase)
FAIL: test_download_file_for_qfield (qfieldcloud.core.tests.test_qfield_file.QfcTestCase)
FAIL: test_download_project_with_broken_layer_datasources (qfieldcloud.core.tests.test_qfield_file.QfcTestCas
e)
FAIL: test_downloaded_file_has_canvas_name (qfieldcloud.core.tests.test_qfield_file.QfcTestCase)
FAIL: test_filename_with_whitespace (qfieldcloud.core.tests.test_qfield_file.QfcTestCase)
FAIL: test_list_files_for_qfield (qfieldcloud.core.tests.test_qfield_file.QfcTestCase)
FAILED (failures=20)
...

I attached the complete test.log
I tried to sync a project within the Test instance (exposed in a Local Network) but this also didn't work.
I didn't spend that much time up to now investigating the Errors, because i'm thinking this should not happen at a new setup. Or is it maybe related to my changes in the other files?
Thanks for your help.

Thanks for the feedback, much appreciated! I can have a deeper look later this month, but from first glance it seems the problem is not in you.
The .env problem is aknowledged and I am looking for a workaround. If you know about an easy way to parse .env file in bash, would be much appreaciated.
As for docker-compose syntax error, feel free to open a PR.
On the tests, I guess the problem is not directly related to you.

Thanks for the fixes!

Is there anything new about the failing Unittests?
For me they are now 23 failing
test.log

There were new environment variables added, please check if you properly configured them in your own .env file.


external dockerfile Context is not as Expected

I believe I've described this problem correctly - feel free to contact if there are any questions:
Description of Problem:
When running a Docker task using an external dockerfile 'dockerfile' the context is changed from the external dockerfile's original context (for example, the root context of a project) to the context of a generated Dockerfile - typically build/docker.
Expected Function:
When using an external Dockerfile my expectation was that the context would remain relative to the original dockerfile, not a copied dockerfile. This has the impact of causing ADD and COPY file to fail, given that the context is build/docker which contains no built artifacts.

+1

+1

+1

👍

+1 Is there any workaround, apart from copying the whole context to the temporary location of Dockerfile?

+1

Workaround for this issue :
https://github.com/Transmode/gradle-docker/issues/90#issuecomment-850788232


"fs" dependency causing compiling error

System information (version)

OpenCV.js => 1.2.1
Operating System / Platform => Arch Linux

Steps to reproduce
Just added one line of code
cv = require('opencv.js')
in script section of my Nuxt.js project and got that error

in new plain simple Vue project I've got
App.vue?234e:10 Uncaught ReferenceError: cv is not defined
    at eval (App.vue?234e:10)
    at Module../node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/App.vue?vue&type=script&lang=js& (app.js:1336)
    at __webpack_require__ (app.js:724)
    at fn (app.js:101)
    at eval (App.vue?8b47:1)
    at Module../src/App.vue?vue&type=script&lang=js& (app.js:3110)
    at __webpack_require__ (app.js:724)
    at fn (app.js:101)
    at eval (App.vue?a938:1)
    at Module../src/App.vue (app.js:3098)

Have you found a solution for this? Same happens to me.

@Avaroth
i don't remember how exactly i fixed it because it useless crap really
but you can try
head: ->
    title: 'opencv-js — Interactive Playground'
    script: [{ src: 'opencv.js', type: 'text/javascript', ssr: true }]

and
import * as cv from 'opencv.js'
Vue.prototype.$cv = cv

to your main.js
plus don't forget extend memory for nodejs compiler, yeah, library is too big for it  (cli command you can easy find on SO, i don't remember sorry)
but again, don't waste your time, i implemented all methods in browser, and i can say it even not nearly useful as python version
some methods with options - just won't compile at all, so yeah, wait wasm version ;)

I like the wasm idea. And there seems to be working examples already (like this one https://codepen.io/huningxin/pen/gxRKdo)
Now I just need to figure out how to use it properly in Vue.js


How to debug the customer extensibility?

Try to debug the VS when we edit some extensibility. But  always can't load dll.

Debugging it's possible, by opening another visual studio instance and attaching to the devenv.exe, but everytime you change the extensibility library you need to close the vs instance that it is being debugged, otherwise the assembly can not be compiled.

@arivoir Thanks for sharing this solution. @ywgking Does this address your problem?


UI: Popover tabs change popover origin

On the settings popover when changing tabs, for example from 'Save' to 'Load', the popovers vertical position changes. This increases the amount of distance a user has to move in order get back to there original tab and also creates a jarring effect as the popover snaps into a new location and the user needs to reorient themselves.

This is caused by us using a style to naively center the modal. I suppose we could stretch all modals to a min-height to mitigate the problem. Did you have a particular fix in mind?

I actually don't think there is a great fix for this problem so I'll outline some I've seen and what I believe are their Pros and Cons.
1 - Enforce a minimum height to each modal:

Pros:

Uniform height
Universal origin

Cons:

Uniform height
Potential for lots of wasted real estate

2 - Use average height of all modals to define origin:

Pros:

No wasted real estate
Universal origin

Cons:

Not perfectly centered
Origin needs to change with each modal change

3 - Animate height changes but keep first origin:

Pros:

No wasted real estate
Universal origin

Cons:

Not perfectly centered (Tends to be even worse then #2.)
Added animation

I personally prefer option 2, but they are not without their faults.

Your second solution makes sense as well. I don't have a strong preference between that and the first. If this doesn't get picked up in the next couple days I'll choose an approach and add it in.

I think (2) is the right solution, and it's aided by an additional wrinkle: The optical center of a canvas (the point that draws the eye best) is not in the center of the canvas, but slightly above.  Things that are exactly centered often appear to be too low.  (If you go look at the nearest door, you'll probably find that the bottom hinge is further from the bottom than the top hinge is from the top.  But it looks right.)
We can use this to our advantage.  We don't want the dialog to be exactly centered -- we want it a bit above the geometrical center.  We don't need an exact proportion, so we can pick something that looks pretty good for most dialogs.
#245 is my particular choice of location.  But it's an inexact science, so feel free to adjust the numbers until you find something you like.


luci-mod-network: Domain whitelist bug in luci "DHCP and DNS"

I have this line in dnsmasq config.
list rebind_domain '/.onion/'
and dnsmasq accepts that.
but in luci in page "DHCP and DNS" the "Domain whitelist " doesnt accept that and I cant change that page without removing /.onion/
it seeems the luci config only accepts full domains like /test.com/ and not /.com/ or /.org/
but dnsmasq accepts those.
can this be fixed?

This is because we have a data type host https://github.com/openwrt/luci/blob/e13822e7096056ead944d1b7b3ff64864d80ccb5/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js#L203-L213

I think this bug is not present in luci.
but maybe you should "fix" the 19.07 and make appear again.

So which version (branch)  do you use?

master
19.07
18.06

19.07

I didnt check completely but it seems that it still doesnt accepts new top level suffix but at least the onion one from my dnsmasq config is not stoping luci to save other changes in that page.


Log axes don't work

Rendering with log axes doesn't seem to work - ping @masoninman for example

It seems that when you set log axes, the axes do change—but the plotted points don't change their positions from when they were plotted on linear axes.

Do you mean, with InteractiveImage?  Right; we'd presumably need to add log-axis support in datashader, then enable it from InteractiveImage.  Hmm...

Yep, with InteractiveImage.
I can post screenshots, if that would be helpful.

Yes, with InteractiveImage.
Sarah Bird
<EMAIL_ADDRESS>
On Aug 2, 2016, at 11:30 PM, James A. Bednar<EMAIL_ADDRESS>wrote:
Do you mean, with InteractiveImage?  Right; we'd presumably need to add log-axis support in datashader, then enable it from InteractiveImage. Hmm...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Right; we'd presumably need to add log-axis support in datashader, then enable it from InteractiveImage.

In case you didn't know, we already do support log-axis in datashader with the x_axis_type/y_axis_type keywords to canvas (http://datashader.readthedocs.io/en/latest/api.html#datashader.Canvas). I'm not sure how well this plays with InteractiveImage.

I see no reason why InteractiveImage shouldn't just work with log axes, but after a quick attempt I couldn't get it to work in the tseries.ipynb. I'll have to investigate more but from my quick attempt it seemed like datashader was giving me an empty canvas when I set y_axis_type='log', not sure why that is yet.

In case it helps, here are screenshots of the figure I'm working with, with linear axes and then log axes. The plotted points don't move, but with the log axes setting, the axes change.

What happens when you set x_axis_type='log' and y_axis_type='log' on the Canvas in the create_image function?

Yes, that does the trick! Thanks, @philippjfr!
I'm a noob when it comes to Bokeh and Datashader, and coding generally, so I appreciate the help.
Perhaps this is still an issue to be fixed, though, because it would be easy for others to make the same mistake that I did. Would it be easy to automatically have the canvas take the same axes settings as the base_plot? Or to default to taking the same settings?

Sounds like we need an example in the documentation, for now.
I've definitely been mulling over having support for passing not just the image but the image plus some metadata that allows for legends, etc. automatically, and whether the axes are log or linear would certainly make sense to include as part of that metadata.  Not sure when I'll get to doing that, though.

BTW, "throttle" isn't used in the current version of InteractiveImage...

@jbednar - I believed we coped that from: http://anaconda.org/jbednar/tseries/notebook
Those examples are super helpful and the only resource like them we found so it would be cool if they were up-to-date.


Issue 62 (view translation) Revised

Coverage decreased (-0.03%) to 66.762% when pulling 958b1726549837ea6552a268ef5699d4128a2324 on issue-62-revised into 1657004df67b3faedda63d19cff97f4f23126183 on master.

please make sure the project compiles before clicking merge

+1. We should all be running at least "mvn package" on anything before a merge.


Can't use any non-default settings

I did all instructions from the manual.
Editor works perfectly.
Changed the mode to 'json'.
Added the following scripts to the .angular-cli.json file (scripts array)
"../node_modules/ace-builds/src-min/ace.js",
"../node_modules/ace-builds/src-min/theme-eclipse.js"

Getting this in the browser's console:

Refused to execute script from 'http://localhost:4200/mode-json.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.

Angular 5.0.0
Mac OS latest

I'm getting same error on mode="sql".
Angular 5.2.8
Windows 10

Try adding mode-json.js as well
"../node_modules/ace-builds/src-min/mode-json.js"

And also adding following line to your component might fix it.
import "brace/mode/json"

@n3xus solution worked for me. I had the same problem with mode-python.js
The following setup did the job for me:
In angular-cli.json I only import the scripts for the theme and ace.js
 "scripts": [
      "../node_modules/ace-builds/src-min/theme-textmate.js",
      "../node_modules/ace-builds/src-min/ace.js",
    ],

In the component that shows the editor I import "brace/mode/python" as @n3xus suggested
import "brace/mode/python

Working with angular4 and meanio, no angular-cli.json file.
import "brace/mode/json" did the trick


Invalid link to github repo on pypi

See on pypi:
https://pypi.org/project/pushoverwrap/
Error is in setup.py

the url has been fixed, thanks for you feedback~


fix: fix typos

Changes

Fix: changes typos in README.md files in lessons 8, 9, and 10

Testing

checked in my local environment

Docs

N/A

@all-contributors please add @felipe300 for spelling and grammar improvements

@all-contributors please add @felipe300 for content


Added a new grid config option to allow configuring of new row placement

Addresses #638
Set the insertRowLocation in the grid config (defaults to "bottom").
ReadMe updates, tests and code included.

Thank you for the contribution!
Could you preserve dist/* files uncahnged? It's changed only on release, so that dist/ contains current js-grid version. Thanks!

Hi @tabalinas, I think I brought it back correctly. Sorry about that. Let me know if I should do anything else.

@richraid21, thank you for the correction and your contribution!