UI hangs at mbtiles export when Source is non WGS84/web merc projection

In Mapbox Studio if I use a SHP file of a projection which isn't WGS84 / Web Mercator it seems to run into some issues exporting this Source to mbtiles prior to uploading to Mapbox.com. It may well be that using such a projection isn't supported but there are no warnings about this.
In fact the layer displays fine and I can even create styles from it without a problem.
I did some debugging and found that ./lib/source.js:311 was being reached as there wasn't any extent metadata present in the datasource. However, the ds.extent() as returned by the mapnik.Datasource object is [ 2035800, 5326900, 3016800, 6751400 ], which then becomes an issue down on line ./lib/source.js:323 where .min and .max between a projected coordinate system and a geographic coordinate system results in the extents becoming [ 2035800, 5326900, 180, 85.0511 ]. Which then seems to correctly throw an error that "bounds south value must be less than or equal to north" at ./lib/tilelive.js:245 but the user interface just sits there.
The two source files I used to test this are at http://tianjara.net/hosted/nzcoastline/
I'm not sure what fix you want to implement, but either way currently it just hangs at 0.0% when generating the mbtiles for upload.

@andrewharvey generally speaking, all projections supported by proj4, should be supported by Mapbox Studio.
However, some projections seem to be causing problems when reprojected on the fly from within Mapbox Studio.
When using shapefiles (for bigger data we recommend PostGIS) it really helps if you preprocess them before loading into Mapbox Studio.
In particular, preprocess:

projection
encoding
shapeindex (only necessary for files with lots of geometries)

Here's a description on how to do it: https://github.com/mapbox/mapbox-studio/issues/1200#issuecomment-75199819
Mapbox PostGIS manual

I can replicate with NZ_Coastline_NZMG.shp (not with NZ_Coastline_WGS84.shp) and Mapbox Studio 0.2.7 64bit Windows installer version.
Even just zooming or panning in Mapbox Studio source project crashes the whole application.
DetailID = 1
	Count:    1
	Exception #:  0XC0000005
	Stack:
		ntdll!RtlAnsiStringToUnicodeString
		kernel32!HeapFree
		APPCRT140!_free_base
		mapnik_7fecdee0000!mapnik::geometry_utils::from_wkb
		mapnik_7fecdee0000!mapnik::geometry_utils::from_wkb
		mapnik_7fecdee0000!mapnik::projection::init_proj4
		mapnik_7fecdee0000!mapnik::proj_transform::proj_transform
		mapnik
		mapnik
		mapnik
		node!uv_fs_poll_stop
		ntdll!TpCallbackMayRunLong
		ntdll!RtlRealSuccessor
		kernel32!BaseThreadInitThunk
		ntdll!RtlUserThreadStart

DetailID = 1
	Count:    1
	Exception #:  0XC0000005
	Stack:
		ntdll!RtlAnsiStringToUnicodeString
		kernel32!HeapFree
		APPCRT140!_free_base
		shape!destroy
		shape!destroy
		mapnik
		mapnik
		mapnik
		mapnik
		node!uv_fs_poll_stop
		ntdll!TpCallbackMayRunLong
		ntdll!TpDisassociateCallback
		kernel32!BaseThreadInitThunk
		ntdll!RtlUserThreadStart

@BergWerkGIS
WGS84.shp was the one that works (so I could be sure it was the projection that was the issue). I didn't run into any crashes myself I could pan and zoom the Source.
Yeah the workaround is to reproject, but this should probably be fixed within Mapbox Studio to either work correctly with data in this projection, or warn the user first that it's not supported/what the problem is.
I forgot about shapeindex, thanks for the hint! (Hopefully when I include it in the shapefile ZIP uploaded to Mapbox for processing it's used)

or warn the user first that it's not supported/what the problem is.

:100:% agreed, we are working on it, but the problem is intermittent and we haven't been able to exactly pinpoint the real reason.
Like, see above, two different stack traces for two consecutive crashes.

:100:% agreed, we are working on it, but the problem is intermittent and we haven't been able to exactly pinpoint the real reason.
The problem I described is repeatable and it seems from what I could determine that the reason is one line of code expects the coordinates to be in WGS84 but values are actually being provided in the native coordinate system, as I described.

The problem I described is repeatable and it seems from what I could determine that the reason is one line of code expects the coordinates to be in WGS84 but values are actually being provided in the native coordinate system, as I described

True, I've read your comment and appreciate your detective work, but the wrong coordinates really come from calling into proj4 via C++ in node-mapnik.
For most of the cases proj4 is able to reproject, but for some unfortunately not, and then the original coordinates are returned.
We were not yet able to pinpoint, what those some have in common and how to work around that, when calling into proj4 to do the reprojection.
If you have any idea how to fix this properly in C++, a PR is more than welcome!

True, I've read your comment and appreciate your detective work, but the wrong coordinates really come from calling into proj4 via C++ in node-mapnik.
For most of the cases proj4 is able to reproject, but for some unfortunately not, and then the original coordinates are returned.
We were not yet able to pinpoint, what those some have in common and how to work around that, when calling into proj4 to do the reprojection.

I see, so in the ds.extent() call from ./lib/source.js you're saying these should be WGS84 rather than the same projection as the source SHP file?
Just testing out mapnik with python here...

import mapnik
ds=mapnik.Shapefile(file='NZMG.shp')
ds.envelope()
Box2d(2035800.0,5326900.0,3016800.0,6751400.0)
layer=mapnik.Layer('layer')
layer.datasource=ds
layer.srs='+proj=nzmg +lat_0=-41 +lon_0=173 +x_0=2510000 +y_0=6023150 +ellps=intl +units=m +no_defs'
layer.srs
'+proj=nzmg +lat_0=-41 +lon_0=173 +x_0=2510000 +y_0=6023150 +ellps=intl +units=m +no_defs'
layer.datasource.envelope()
Box2d(2035800.0,5326900.0,3016800.0,6751400.0)

It seems the datasource is in NZMG and it's envelope() is reported in NZMG, and the reprojection happens when you set a different layer.srs. (again just my understanding from what I've read and tried out).
Based on this within ./lib/source.js if we're getting the extent of the datasource why is it expected to be in WGS84, when it seems from the way the Mapnik API works it should be in NZMG (the projection of the datasource).
Sorry if I've missed something, just trying to nail what's actually going on here.

@andrewharvey @BergWerkGIS - thanks for the great, small testcase and the investigations.
To confirm: @andrewharvey are you running Mapbox Studio v0.2.7 or are you running latest from mb-pages/github?
My hunch is you are running from github as I can see that the bug you describe (not projecting source extents correctly into epsg:4326) likely happened in https://github.com/mapbox/mapbox-studio/commit/823ffb9d279df5c3654a51c4f2a561a04f5b58bc#diff-ae2e9ce210cf8e5e189658fb547ddc8a (which is still not in an official release). Before that change we were calling getCenterAndExtent from mapnik-omnivore here and via this require which correctly handled reprojecting the extent of a source into epsg:4326.

To confirm: @andrewharvey are you running Mapbox Studio v0.2.7 or are you running latest from mb-pages/github?

latest from github

My hunch is you are running from github as I can see that the bug you describe (not projecting source extents correctly into epsg:4326) likely happened in 823ffb9#diff-ae2e9ce210cf8e5e189658fb547ddc8a (which is still not in an official release). Before that change we were calling getCenterAndExtent from mapnik-omnivore here and via this require which correctly handled reprojecting the extent of a source into epsg:4326.

Oh yes, before you had getExtent(ds, l.srs) which must have gotten the extent of the datasource in the layer's projection, wonder why it was changed?

capturing chat with @GretaCB - next actions:

[ ] integrate the NZ_Coastline_NZMG.shp into a testcase for this bug - @andrewharvey okay if we add it to https://github.com/mapbox/mapnik-test-data? (@GretaCB)
[ ] Add back reprojection of the extent from source projection to EPSG:4326 - We can pull code into studio like https://github.com/mapbox/mapnik-omnivore/blob/master/lib/shape.js#L91-L98. (@GretaCB)

integrate the NZ_Coastline_NZMG.shp into a testcase for this bug - @andrewharvey okay if we add it to https://github.com/mapbox/mapnik-test-data? (@GretaCB)
@springmeyer Sure, it's public domain data.

Thanks.

FYI:
Minimal test case with this data:
https://github.com/BergWerkGIS/mapnik-proj4-crashes

I've noticed when adding the data in WGS84 and NZMG is doesn't align properly in Mapbox Studio.

Manually adding +towgs84=59.47,-5.04,187.44,0.47,-0.1,1.024,-4.5993 to the NZMG layer in data.yml solves this.

Fix is merged to mb-pages branch. Closing.

Reopening, not fully fixed until https://github.com/mapbox/mapnik-vector-tile/issues/122 lands.

I've noticed when adding the data in WGS84 and NZMG is doesn't align properly in Mapbox Studio.

@BergWerkGIS ticketed separately at https://github.com/mapbox/mapbox-studio/issues/1395

Closing now. Thanks @andrewharvey @GretaCB @BergWerkGIS for all the testing and fixes!
To recap:

Mapbox Studio latest mb-pages had a temporary regression (that never impacted an official release) whereby the UI could not detect the right extent for custom data. This was fixed in https://github.com/mapbox/mapbox-studio/pull/1392
node-mapnik 3.3.0 had a regression in the ability to transform the bbox for this alternative projection which is now fixed by mapbox/mapnik-vector-tile#122. This never impacted Mapbox Studio since Studio had not yet been upgraded to this version. But it will nevertheless not be a problem when we upgrade Studio to<EMAIL_ADDRESS>- tracked at https://github.com/mapbox/mapbox-studio/issues/1397.
This testcase also uncovered a third issue: on windows reprojection may crash. We're tracking a fix for this in https://github.com/mapbox/mapnik-vector-tile/issues/127.


add Support for missing SVGElement.classList in IE

does the bare minimum to support IE's missing classList on SVG elements. Does a secondary check to see if it's missing on SVG elements, and lets the standard full patch be added to Element, so that SVGElement can inherit it.

:+1:

:+1:

:+1:
Please, pull this asap.

:+1:

Sorry about that, I missed this pullreq. Merged :)

How and why did this even get merged when tests are failing? Fucktards.

with 1.2.201711092 I have to revert to old chap svgIcon.setAttribute("class","svg-icon") instead of svgIcon.classList.add("svg-icon")


GPU Foreach Loop

This PR introduces the completed GPU foreach loop and updates the
heterogeneous-hello-world example to use it.  This PR builds on the
previous introduction of the GPU Foreach loop parsing and semantic
checking PR (#1482) by introducing IR lowering and emitting.  The new
feature can be used by having a GPU_Foreach loop interacting with a
named non-CPP entry point, and using the -heterogeneous flag.

Somehow the submodules got messed up again, so trying this from the top


Test some feature selection algorithms

This: https://machinelearningmastery.com/feature-selection-in-python-with-scikit-learn/

(This goes in preprocessing.py btw, not training.py)

RFE is really easy to implement, but idk how to work it in with hyperparam optimization.

Nope


How to use root?

How do you use root or su in nix-on-droid. In normal termux you can use the tsu package or type su. However that doesn't work in nix-on-droid I've tried a few other things however none have worked and can't seem to find anyone else having this issue.

Is there any further information regarding this issue?


Shadow disable option

Currently when disabling shadows, the side of the object in while the shadow would emit stays very dark making the game very difficult to look at with shadows off, and on in my opinion, I play for long hours and I need something easy on the eyes. An hd touchup to the original look of the game.

We don't have shadows support in the client. Issues/requests for 117's HD plugin should be directed to his project instead.


Unusual that --help and --version print to stderr

I tried to pipe the help text to less (libcamera-vid --help | less) so that I could scroll and search the text like I do with manpages, and was surprised & confused when the text disappeared. It took me a little while to realize the text was printing to stderr and not stdout. It looks like --version & --list-cameras do the same.  Most other command line utilities print help and version to stdout so it's not very intuitive, especially when you're explicitly requesting that information.
I know I can use a redirect (libcamera-vid --help 2>&1 | less), but it might be hard for a beginner to figure out why their pipe to grep or file redirect or shell script isn't working as expected.

https://github.com/raspberrypi/libcamera-apps/pull/330 ought to fix this problem.

This is now merged.


Problem to send and receive message with postal after allow port 2525

Hi community
I have a problem on my postal server, i'm still able to connect and see all my dasboard but i'm not able to receive and send email, and it happens since i have put a line of command to allow port 2525
The line was here :
/sbin/iptables -t nat -I PREROUTING -d xxx.xxx.xxx.xxx -p tcp -m tcp --dport 2525 -j DNAT --to-destination xxx.xxx.xxx.xxx:25
/sbin/iptables -t nat -I OUTPUT     -d xxx.xxx.xxx.xxx -p tcp -m tcp --dport 2525 -j DNAT --to-destination xxx.xxx.xxx.xxx:25
Don't hesitate to send me suggestion
Thank you friends

Is Postal running? You can see with postal status
The IP addresses that you used in your command, do they definitely exist on the server? You can see with ip a
Is Postal definitely listening on port 25? You can see with netstat -lnp

Postal is running except for "worker.1" and "requeuer1"
The IP seems ok, i have the same adress but with /32 ? xxx.xxx.xxx.xxx/32 ? My adress is the same and ok but i don't know what is the /32.
I'm not able to run netstat -lnp this command is no found
Thanks

But when iput the command sudo lsof -i -h -p, i can see all my py port, and the port 25 is listening
When i check my server adress on mx i see an error with SMTP TLS ? "does not support tls" , 530 Authentication required [150 ms]

Postal is running except for "worker.1" and "requeuer1"

This is probably where your issues lie, are you able to restart your server or Postal to see if they come back?

No Unfortunately i can't see anything now ... i have done the command (that i have seen in a subject of the forum)
"sudo postal stop"
"sudo rm -vf /tmp/postal/pids/*
sudo postal run"
And now i have a message "cannot be started in the foreground because supervisor already running"
This is a new problem

are you able to fully restart the server to clear up any random processes and start fresh?

Fully restart i don't know but when i have put the this command : "sudo postal restart" and i have this :
Restarted web.1
Restarted worker.1 -> worker.2
Restarted cron.1 -> cron.2
Restarted smtp1
Restarted requeur.1 -> requeur.2

root@vmi540172:~# clear
root@vmi540172:~# sudo postal restart
Restarted web.1
Restarted worker.1 -> worker.2
Restarted cron.1 -> cron.2
Restarted smtp.1
Restarted requeuer.1 -> requeuer.2
root@vmi540172:~# postal run
Error: Cannot be started in the foreground because supervisor already running
root@vmi540172:~# postal start
No processes to start.
root@vmi540172:~# postal stop
Stopped web.1 (PID: 1616)
Stopped worker.2 (PID: 2120)
Stopped cron.2 (PID: 1990)
Stopped smtp.1 (PID: 1979)
Stopped requeuer.2 (PID: 2099)
Supervisor will be stopped when processes are stopped.
Waiting for supervisor to stop...
Supervisor has stopped
root@vmi540172:~# sudo -u postal start
sudo: start: command not found
root@vmi540172:~# sudo -u postal postal start
/root is not writable.
Bundler will use `/tmp/bundler20210412-2413-y9eh712413' as your home directory t        emporarily.
Started Procodile supervisor with PID 2418

clear
sudo postal restart
Restarted web.1
Restarted worker.1 -> worker.2
Restarted cron.1 -> cron.2
Restarted smtp.1
Restarted requeuer.1 -> requeuer.2
postal run
Error: Cannot be started in the foreground because supervisor already running
postal start
No processes to start.
postal stop
Stopped web.1 (PID: 1616)
Stopped worker.2 (PID: 2120)
Stopped cron.2 (PID: 1990)
Stopped smtp.1 (PID: 1979)
Stopped requeuer.2 (PID: 2099)
Supervisor will be stopped when processes are stopped.
Waiting for supervisor to stop...
Supervisor has stopped
sudo -u postal start
sudo: start: command not found
~# sudo -u postal postal start
/root is not writable.
Bundler will use `/tmp/bundler20210412-2413-y9eh712413' as your home directory t emporarily.
Started Procodile supervisor with PID 2418

i have also made the postal status and i have a problem with worker1 (is not running failed) and requeuer1 ( is not running (failed))

update : I'm now able to connect to my postal server but still enable to send message (always on pending statut) since i have put the line of command to enable port 2525
When i have used Atomic email sender (to send my email, it's a software as sendblaster), i was no able to send on SSL with 2525 but just with TSL

update : I'm now able to connect to my postal server but still Unable to send message (always on pending statut) since i have put the line of command to enable port 2525
When i have used Atomic email sender (to send my email, it's a software as sendblaster), i was no able to send on SSL with 2525 but just with TSL

update : I'm now able to connect to my postal server adress but still Unable to send message (always on pending statut) since i have put the line of command to enable port 2525

It also seem comes from RABBITMQ and TLS also, when i went to etc/rabbitmq, i have no file ... on my postal.yml i have that :
rabbitmq:
Specify the connection details for your RabbitMQ server.
if you have more than one RabbitMQ server (cluster), you can use array like this:
host:
- <IP_ADDRESS>
- <IP_ADDRESS>
- <IP_ADDRESS>
host: <IP_ADDRESS>
username: postal
password: p0stalpassw0rd
vhost: /postal

When I said restart the server, I was talking about the computer itself, i.e. the command reboot or shutdown -r now. I suggest you try this first to see if you can run postal status and see everything running correctly.
Regarding your other attempts,
postal run is mainly for debugging Postal and could be useful here to see if your processes are having problems but you will need to run postal stop first.
sudo -u postal... means as the user postal ... this part is handled by the code so you should not need to use that.
If you installed Postal with the quick installer then you should have it running, you can test with sudo rabbitmqctl status.

Hi Will, and thanks to help me ^^
I have restart the the server with the commande shutdown -r now, and with postal status so it's the same problem :  worker1 (is not running failed) and requeuer1 ( is not running (failed))
Then i have made postal stop and postal run and it seems to have errors  :
04:00:03 system             | Procodile supervisor started with PID 1444
04:00:03 system             | Application root is /opt/postal/app
04:00:03 system             | Automatic respawning is disabled
04:00:03 control            | Listening at /tmp/postal/pids/procodile.sock
04:00:03 system             | Reloading configuration
04:00:03 web.1              | Started with PID 1448
04:00:03 worker.1           | Started with PID 1451
04:00:03 cron.1             | Started with PID 1454
04:00:03 smtp.1             | Started with PID 1457
04:00:03 requeuer.1         | Started with PID 1460
04:00:04 web.1              | => Puma starting in single mode...
04:00:04 web.1              | => * Version 4.3.5 (ruby 2.3.8-p459), codename: My                                                                                sterious Traveller
04:00:04 web.1              | => * Min threads: 5, max threads: 5
04:00:04 web.1              | => * Environment: production
04:00:07 smtp.1             | => [smtp.1:1457] [2021-04-13T04:00:07.436] INFO --                                                                                : Listening on port 25
04:00:07 requeuer.1         | => [requeuer.1:1460] [2021-04-13T04:00:07.589] INF                                                                                O -- : Running message requeuer...
04:00:07 cron.1             | => [cron.1:1454] [2021-04-13T04:00:07.608] INFO --                                                                                : Starting clock for 8 events: [ every-1-minutes every-15-minutes every-15-minu                                                                                tes every-15-minutes every-15-minutes every-hour every-hour every-day ]
04:00:07 cron.1             | => [cron.1:1454] [2021-04-13T04:00:07.609] INFO --                                                                                : Triggering 'every-1-minutes'
04:00:07 cron.1             | => [cron.1:1454] [2021-04-13T04:00:07.637] ERROR -                                                                                - : Connection-level error: NOT_ALLOWED - vhost /postal not found
04:00:07 cron.1             | => [cron.1:1454] [2021-04-13T04:00:07.637] INFO --                                                                                : Triggering 'every-15-minutes'
04:00:07 cron.1             | => [cron.1:1454] [2021-04-13T04:00:07.649] ERROR -                                                                                - : Connection-level error: NOT_ALLOWED - vhost /postal not found
04:00:08 requeuer.1         | => rake aborted!
04:00:08 requeuer.1         | => Bunny::NotAllowedError: Connection-level error:                                                                                NOT_ALLOWED - vhost /postal not found
04:00:08 requeuer.1         | => /opt/postal/vendor/bundle/ruby/2.3.0/gems/bunny                                                                                -2.14.4/lib/bunny/session.rb:1275:in raise' 04:00:08 requeuer.1         | => /opt/postal/vendor/bundle/ruby/2.3.0/gems/bunny                                                                                -2.14.4/lib/bunny/session.rb:1275:in open_connection'
04:00:08 requeuer.1         | => /opt/postal/vendor/bundle/ruby/2.3.0/gems/bunny                                                                                -2.14.4/lib/bunny/session.rb:320:in start' 04:00:08 requeuer.1         | => /opt/postal/app/lib/postal/rabbit_mq.rb:23:in                                                                                create_connection'
04:00:08 requeuer.1         | => /opt/postal/app/lib/postal/rabbit_mq.rb:28:in                                                                                create_channel' 04:00:08 requeuer.1         | => /opt/postal/app/lib/postal/worker.rb:195:injo                                                                                b_channel'
04:00:08 requeuer.1         | => /opt/postal/app/lib/postal/worker.rb:201:in jo                                                                                b_queue' 04:00:08 requeuer.1         | => /opt/postal/app/lib/postal/job.rb:38:in queue'
04:00:08 requeuer.1         | => /opt/postal/app/app/models/queued_message.rb:46                                                                                :in queue' 04:00:08 requeuer.1         | => /opt/postal/vendor/bundle/ruby/2.3.0/gems/activ                                                                                erecord-<IP_ADDRESS>/lib/active_record/relation/delegation.rb:71:in each'
04:00:08 requeuer.1         | => /opt/postal/vendor/bundle/ruby/2.3.0/gems/activ                                                                                erecord-<IP_ADDRESS>/lib/active_record/relation/delegation.rb:71:in each' 04:00:08 requeuer.1         | => /opt/postal/app/app/models/queued_message.rb:11                                                                                9:in requeue_all'
04:00:08 requeuer.1         | => /opt/postal/app/lib/postal/message_requeuer.rb:                                                                                11:in block in run' 04:00:08 requeuer.1         | => /opt/postal/app/lib/postal/message_requeuer.rb:                                                                                9:in loop'
04:00:08 requeuer.1         | => /opt/postal/app/lib/postal/message_requeuer.rb:                                                                                9:in run' 04:00:08 requeuer.1         | => /opt/postal/app/lib/tasks/postal.rake:18:in bl                                                                                ock (2 levels) in <top (required)>'
04:00:08 requeuer.1         | => /opt/postal/vendor/bundle/ruby/2.3.0/gems/rake-                                                                                12.3.3/exe/rake:27:in <top (required)>' 04:00:08 requeuer.1         | => Tasks: TOP => postal:requeuer 04:00:08 requeuer.1         | => (See full trace by running task with --trace) 04:00:08 web.1              | => * Listening on tcp://<IP_ADDRESS>:5000 04:00:08 web.1              | => Use Ctrl-C to stop 04:00:08 worker.1           | => [worker.1:1451] [2021-04-13T04:00:08.720] INFO                                                                                -- : Worker running with 4 threads 04:00:08 worker.1           | => /opt/postal/vendor/bundle/ruby/2.3.0/gems/bunny                                                                                -2.14.4/lib/bunny/session.rb:1275:in raise': Connection-level error: NOT_ALLOWE                                                                                D - vhost /postal not found (Bunny::NotAllowedError)
04:00:08 worker.1           | =>        from /opt/postal/vendor/bundle/ruby/2.3.                                                                                0/gems/bunny-2.14.4/lib/bunny/session.rb:1275:in open_connection' 04:00:08 worker.1           | =>        from /opt/postal/vendor/bundle/ruby/2.3.                                                                                0/gems/bunny-2.14.4/lib/bunny/session.rb:320:in start'
04:00:08 worker.1           | =>        from /opt/postal/app/lib/postal/rabbit_m                                                                                q.rb:23:in create_connection' 04:00:08 worker.1           | =>        from /opt/postal/app/lib/postal/rabbit_m                                                                                q.rb:28:in create_channel'
04:00:08 worker.1           | =>        from /opt/postal/app/lib/postal/worker.r                                                                                b:195:in job_channel' 04:00:08 worker.1           | =>        from /opt/postal/app/lib/postal/worker.r                                                                                b:17:in work'
04:00:08 worker.1           | =>        from script/worker.rb:3:in `'
04:00:09 worker.1           | Process has stopped. Respawning not available.
04:00:09 worker.1           | Removed PID file
04:00:09 requeuer.1         | Process has stopped. Respawning not available.
04:00:09 requeuer.1         | Removed PID file
04:00:36 cron.1             | => E, [2021-04-13T04:00:36.640051 #1454] ERROR -- #<Bunny::Session:0x5630303a96f0 postal@<IP_ADDRESS>:5672, vhost=/postal, addresses=[<IP_ADDRESS>:5672]>: I/O error in the hearbeat sender: closed stream
04:00:36 cron.1             | => E, [2021-04-13T04:00:36.651285 #1454] ERROR -- #<Bunny::Session:0x56303033e1e8 postal@<IP_ADDRESS>:5672, vhost=/postal, addresses=[<IP_ADDRESS>:5672]>: I/O error in the hearbeat sender: closed stream
04:01:07 cron.1             | => [cron.1:1454] [2021-04-13T04:01:07.001] INFO -- : Triggering 'every-1-minutes'
04:01:07 cron.1             | => [cron.1:1454] [2021-04-13T04:01:07.005] ERROR -- : Connection-level error: NOT_ALLOWED - vhost /postal not found
04:01:36 cron.1             | => E, [2021-04-13T04:01:36.005803 #1454] ERROR -- #<Bunny::Session:0x563030115240 postal@<IP_ADDRESS>:5672, vhost=/postal, addresses=[<IP_ADDRESS>:5672]>: I/O error in the hearbeat sender: closed stream
04:02:07 cron.1             | => [cron.1:1454] [2021-04-13T04:02:07.001] INFO -- : Triggering 'every-1-minutes'
04:02:07 cron.1             | => [cron.1:1454] [2021-04-13T04:02:07.005] ERROR -- : Connection-level error: NOT_ALLOWED - vhost /postal not found
04:02:36 cron.1             | => E, [2021-04-13T04:02:36.005874 #1454] ERROR -- #<Bunny::Session:0x56302fe8dd38 postal@<IP_ADDRESS>:5672, vhost=/postal, addresses=[<IP_ADDRESS>:5672]>: I/O error in the hearbeat sender: closed stream
04:03:07 cron.1             | => [cron.1:1454] [2021-04-13T04:03:07.001] INFO -- : Triggering 'every-1-minutes'
04:03:07 cron.1             | => [cron.1:1454] [2021-04-13T04:03:07.004] ERROR -- : Connection-level error: NOT_ALLOWED - vhost /postal not found
04:03:36 cron.1             | => E, [2021-04-13T04:03:36.005249 #1454] ERROR -- #<Bunny::Session:0x56302f5c8f40 postal@<IP_ADDRESS>:5672, vhost=/postal, addresses=[<IP_ADDRESS>:5672]>: I/O error in the hearbeat sender: closed stream
04:04:07 cron.1             | => [cron.1:1454] [2021-04-13T04:04:07.001] INFO -- : Triggering 'every-1-minutes'
04:04:07 cron.1             | => [cron.1:1454] [2021-04-13T04:04:07.005] ERROR -- : Connection-level error: NOT_ALLOWED - vhost /postal not found
04:04:36 cron.1             | => E, [2021-04-13T04:04:36.005894 #1454] ERROR -- #<Bunny::Session:0x563032062dc8 postal@<IP_ADDRESS>:5672, vhost=/postal, addresses=[<IP_ADDRESS>:5672]>: I/O error in the hearbeat sender: closed stream
04:05:07 cron.1             | => [cron.1:1454] [2021-04-13T04:05:07.001] INFO -- : Triggering 'every-1-minutes'
04:05:07 cron.1             | => [cron.1:1454] [2021-04-13T04:05:07.006] ERROR -- : Connection-level error: NOT_ALLOWED - vhost /postal not found
04:05:36 cron.1             | => E, [2021-04-13T04:05:36.007199 #1454] ERROR -- #<Bunny::Session:0x563031fb26f8 postal@<IP_ADDRESS>:5672, vhost=/postal, addresses=[<IP_ADDRESS>:5672]>: I/O error in the hearbeat sender: closed stream
04:06:07 cron.1             | => [cron.1:1454] [2021-04-13T04:06:07.001] INFO -- : Triggering 'every-1-minutes'
04:06:07 cron.1             | => [cron.1:1454] [2021-04-13T04:06:07.005] ERROR -- : Connection-level error: NOT_ALLOWED - vhost /postal not found
04:06:36 cron.1             | => E, [2021-04-13T04:06:36.006120 #1454] ERROR -- #<Bunny::Session:0x563031ec0ce0 postal@<IP_ADDRESS>:5672, vhost=/postal, addresses=[<IP_ADDRESS>:5672]>: I/O error in the hearbeat sender: closed stream
04:06:52 web.1              | => [web.1:1448] [2021-04-13T04:06:52.436] INFO --                                                                                : Started GET "/" for <IP_ADDRESS> at 2021-04-13 04:06:52 -0500
04:06:52 web.1              | => [web.1:1448] [2021-04-13T04:06:52.438] INFO --                                                                                : Processing by OrganizationsController#index as HTML
04:06:52 web.1              | => [web.1:1448] [2021-04-13T04:06:52.458] INFO --                                                                                : Redirected to https://mentorbooth.com/login?return_to=%2F
04:06:52 web.1              | => [web.1:1448] [2021-04-13T04:06:52.459] INFO --                                                                                : Filter chain halted as :login_required rendered or redirected
04:06:52 web.1              | => [web.1:1448] [2021-04-13T04:06:52.459] INFO --                                                                                : Completed 302 Found in 21ms (ActiveRecord: 5.6ms)
04:06:52 web.1              | => <IP_ADDRESS> - - [13/Apr/2021:04:06:52 -0500] "                                                                                GET / HTTP/1.0" 302 - 0.0448
04:06:52 web.1              | => [web.1:1448] [2021-04-13T04:06:52.594] INFO --                                                                                : Started GET "/login?return_to=%2F" for <IP_ADDRESS> at 2021-04-13 04:06:52 -05                                                                                00
04:06:52 web.1              | => [web.1:1448] [2021-04-13T04:06:52.602] INFO --                                                                                : Processing by SessionsController#new as HTML
04:06:52 web.1              | => [web.1:1448] [2021-04-13T04:06:52.602] INFO --                                                                                :   Parameters: {"return_to"=>"/"}
04:06:52 web.1              | => [web.1:1448] [2021-04-13T04:06:52.606] INFO --                                                                                :   Rendering sessions/new.html.haml within layouts/sub
04:06:52 web.1              | => [web.1:1448] [2021-04-13T04:06:52.614] INFO --                                                                                :   Rendered sessions/new.html.haml within layouts/sub (7.3ms)
04:06:52 web.1              | => [web.1:1448] [2021-04-13T04:06:52.619] INFO --                                                                                : Completed 200 OK in 17ms (Views: 14.2ms | ActiveRecord: 0.5ms)
04:06:52 web.1              | => <IP_ADDRESS> - - [13/Apr/2021:04:06:52 -0500] "                                                                                GET /login?return_to=%2F HTTP/1.0" 200 - 0.0272
04:07:07 cron.1             | => [cron.1:1454] [2021-04-13T04:07:07.001] INFO --                                                                                : Triggering 'every-1-minutes'
04:07:07 cron.1             | => [cron.1:1454] [2021-04-13T04:07:07.007] ERROR -                                                                                - : Connection-level error: NOT_ALLOWED - vhost /postal not found
04:07:36 cron.1             | => E, [2021-04-13T04:07:36.005423 #1454] ERROR --                                                                                #<Bunny::Session:0x563031d74be8 postal@<IP_ADDRESS>:5672, vhost=/postal, addresses=                                                                                [<IP_ADDRESS>:5672]>: I/O error in the hearbeat sender: closed stream
04:08:07 cron.1             | => [cron.1:1454] [2021-04-13T04:08:07.001] INFO --                                                                                : Triggering 'every-1-minutes'
04:08:07 cron.1             | => [cron.1:1454] [2021-04-13T04:08:07.008] ERROR -                                                                                - : Connection-level error: NOT_ALLOWED - vhost /postal not found
04:08:36 cron.1             | => E, [2021-04-13T04:08:36.008655 #1454] ERROR --

I precise that i don't know the mentorbooth.com ....

/etc/network/interface
ifupdown has been replaced by netplan(5) on this system.  See
/etc/netplan for current configuration.
To re-enable ifupdown on this system, you can run:
sudo apt install ifupdown

NETPLAN /etc/netplan/01
network:
version: 2
renderer: networkd
ethernets:
eth0:
match:
macaddress: 00:50:56:41:d0:ec
addresses:
- XXX.XXX.XXX.XXX/32 <---------------------------------------------------XXXX is ok, but /32 ??
#- 2605:a140:2054:0172:0000:0000:0000:0001/64
#gateway6: fe80::1
routes:
- to: <IP_ADDRESS>/0
via: <IP_ADDRESS> <-------------------------Not my adress
on-link: true
nameservers:
search: [ invalid ]
addresses:
- <IP_ADDRESS>  <------------- Don't Know that adress
- <IP_ADDRESS> <-------------- Don't Know that adress
#- 2605:a140:5028::2:53
#- 2605:a140:5028::1:53

Bunny::NotAllowedError: Connection-level error: NOT_ALLOWED - vhost /postal not found

It looks like either RabbitMQ was reinstalled after Postal or the install script failed to complete the setup within RabbitMQ.
You can try repeating these commands and then restarting again to see if you can get worker and requeuer going
https://github.com/postalhq/postal/blob/a735219783127cd0495246ccee89422069da1a1c/script/install/ubuntu1804.sh#L44-L46

@willpower232  it's ok, it works again, thanks for your help!


switched back to using .py,.pyx, and .h files

@manuel-quezada I went ahead and did this. I need to do some checks before merging.

@Giovanni-Cozzuto-1989 @lmaurel this fixes the issue in master that you discovered from the air-water-vv tests. It was caused by a change to the preconditioners API that I didn't catch in the recent PR #534 from @alistairbntl . We'll eventually need to clean up the LinearSolvers.py and set up some backward compatible names (e.g. for SimpleNavierStokes2D, 3D, etc.--the old Schur complement support)

Thanks for pointing this out Chris.
My main comment is that I don't like the names SimpleNavierStokes3D or SimpleNavierStokes2D for the linear smoother classes.  The reason is that I don't think they describe the method being used (eg. are they using a Schur complement method or something else?).
If the default method is ASM, then I'd rather call the linear smoother something like petsc_ASM.  I realize this will upset some backwards compatibility, so we will need to keep these options in place until we reach a version 2.0.  That said, my preferred method for handling this would be to alias SimpleNavierStokes with petsc_ASM while issuing a warning that the class will be deprecated in future versions.
Also, can I run the air-water-vv tests locally so that I can catch a regression like this next time before it merging to master?

The SimpleNavierStokes preconditioners allow you to use the any of block preconditioners provided by petsc from the command line including the basic Schur complement preconditioners not ASM. They're simple in that they just provide the ability to do block preconditioning on the p/v block structure but don't provide any physics-based scalings or custom approximations like you need for PCD.  I think the name is fine but not really the issue.  The issue is that if you're going to change a name or an API (as with additional setUp() arguments) the change shouldn't break existing tests/applications. air-water-vv isn't set up to run automatically on PR's yet but you can run it manually.

@alistair, we will shortly have tests scripts in air-water-vv that will allow you to run the tests with a very short simulation time, just to see that the cases are not broken

@cekees - I agree completely with your comment regarding breaking existing tests/applications.
I guess my broader point is that I am not sure the SimpleNavierStokes classes should be used in the air-water-vv module, at least as currently configured.  Specifically, I don't see any petsc option configurations in the module that use a Schur complement approach to preconditioning.  Rather, all I see are configurations for global lu or asm solvers.
As a result, if the user does not specify a petsc input file, SimpleNavierStokes sets up a fieldsplit preconditioner that uses ilu on the sub-blocks (which I doubt a user would ever want in practice).  If, however, a user specifies one of the petsc options files in the air-water-vv repository, it seems petsc overwrites the field-split settings and applies the global lu or asm approach.
If SimpleNavierStokes is designed to provide a general class for petsc input files with field-splitting configurations then I'm okay with that.  It is less clear to me that we should be using the same class when we plan to override it with an entirely different approach.
One option would be to have a class that is catered exclusively for handling a general petsc option defined preconditioners and another for petsc option defined preconditioners that use a field-split approach.

@adimako you probably after a different alistair :)


Ensure detectors receive trigger num from plans

Fixes #93 .
@rosesyrett please may you take a look at this? I think this provides the behaviour you are after, but I am unsure on how to test it how the num value needs to be supplied from elsewhere.

As a quick comment, how the num value is supplied differs based on if we are doing a step or a fly scan. In both cases, this change happens in a Controller.
For step scanning, at the moment StandardDetector has both a Controller and a Writer, and as you've noticed whenever you trigger the detector you set it up to take exactly 1 picture - which makes sense, if you're step scanning you want to just take an image each time you trigger.
For fly scanning, a Flyer essentially has a bunch of Controllers and Writers that it controls. In the Flyer logic, at the moment it calls controller.arm() on all of them with num=0. You've correctly changed this to num=TriggerInfo.num, so that now at the plan level this can be passed down, or generated from the TriggerLogic. This bit is subject to change in future anyways, as we move stuff out of the Flyer.
In short, I wouldn't worry too much about if this is going to break things; there are so many breaking changes coming up that we should not be too rigorous at this stage anyways. This looks logical; if things break when we come to testing them on p38 then we will address them, but I highly doubt this will be the reason why they fail :)


random.set_seed() does not work on tensorflow-macos

Click to expand!
Issue Type
Bug
Source
source
Tensorflow Version
2.10
Custom Code
No
OS Platform and Distribution
MacOS 13.0 Ventura Beta 7
Mobile device
No response
Python version
3.9.13
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
M1 Metal
Current Behaviour?
using tf.random.set_seed works perfectly on google colab environment, yet using tensorflow-macos version, it does not seem to work at all. It's not giving me an error either. Everytime I run my code, I get different results.

Code I gave as an example uses numpy but even using data imported from pandas as DataFrames do not work. Which work on google colab.

My miniconda installation and python installation is all fresh. I was using python version 3.10 but the apple website does not mention that, so uninstalled miniconda and reinstalled it using an older version, effectively downgrading python, but that did not fix the problem either.

Standalone code to reproduce the issue
import tensorflow as tf
import numpy as np

X = np.array([-7.0, -4.0, -1.0, 2.0, 5.0, 8.0, 11.0, 14.0])
y = np.array([3.0, 6.0, 9.0, 12.0, 15.0, 18.0, 21.0, 24.0])

tf.random.set_seed(42)

model = tf.keras.Sequential([
  tf.keras.layers.Dense(1)
])

model.compile(loss=tf.keras.losses.mae,
              optimizer=tf.keras.optimizers.SGD(),
              metrics=["mae"])

model.fit(tf.expand_dims(X, axis=-1), y, epochs=5)

Relevant log output
First Time:
Epoch 1/5
2022-09-30 18:25:08.200023: I tensorflow/core/grappler/optimizers/custom_graph_optimizer_registry.cc:114] Plugin optimizer for device_type GPU is enabled.
1/1 [==============================] - 1s 583ms/step - loss: 15.3376 - mae: 15.3376
Epoch 2/5
1/1 [==============================] - 0s 18ms/step - loss: 15.0563 - mae: 15.0563
Epoch 3/5
1/1 [==============================] - 0s 21ms/step - loss: 14.8426 - mae: 14.8426
Epoch 4/5
1/1 [==============================] - 0s 17ms/step - loss: 14.7101 - mae: 14.7101
Epoch 5/5
1/1 [==============================] - 0s 38ms/step - loss: 14.5776 - mae: 14.5776
<keras.callbacks.History at 0x2a0960730>
Second Time
Epoch 1/5
1/1 [==============================] - 0s 222ms/step - loss: 11.3347 - mae: 11.3347
Epoch 2/5
1/1 [==============================] - 0s 10ms/step - loss: 11.2022 - mae: 11.2022
Epoch 3/5
1/1 [==============================] - 0s 15ms/step - loss: 11.0697 - mae: 11.0697
Epoch 4/5
1/1 [==============================] - 0s 16ms/step - loss: 10.9372 - mae: 10.9372
Epoch 5/5
1/1 [==============================] - 0s 19ms/step - loss: 10.8047 - mae: 10.8047
2022-09-30 18:28:03.323935: I tensorflow/core/grappler/optimizers/custom_graph_optimizer_registry.cc:114] Plugin optimizer for device_type GPU is enabled.
<keras.callbacks.History at 0x2a09f6c40>

Replacing tf.random.set_seed() with tf.keras.utils.set_random_seed() fixes the issue.

Replacing tf.random.set_seed() with tf.keras.utils.set_random_seed() fixes the issue.


#798 fix bad table

reformat the table
combine the signal and 7-day signal columns to one column
remove the geography and resolution columns and add universal explain below the table to make the description column text more visible

Sure, the changes are made and up-to-date. Is there any other issues related to the table?

Great! Apply same fix to JHU and USAFacts.

For the table issue, JHU and USAFacts pages are all fixed.


Multiple rclone calls

When filing an issue, please include the following information if
possible as well as a description of the problem.

What is your rclone version (eg output from rclone -V)
rclone v1.32
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Ubuntu 16.04
Which cloud storage system are you using? (eg Google Drive)
Amazon Cloud Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp)
rclone copy
A log from the command with the -v flag (eg output from rclone -v copy /tmp remote:tmp)
it is not an error

Hi! I just wondering if i can use rclone copy on multiple connections. ( i mean execute simultaneus rclone copy on different shells) Is there a limit?
Thank you for your awesome tool!

You can run as many rclones as you like.
Note that Amazon/Google rate limit you on your user details so you might find running multiple copies slows all of them down.
The only potential problem is that when rclone refreshes the token for Amazon Drive it will write it back to the config file. I don't think this will cause a problem with multiple rclones writing to it though, you'll get the result of the last one to write to it.


[Finishes #120574619] Fix bug while deleting docs

What this PR does
Fixes a bug that occurred after a document deletion failure that was being caused by a typo.
Relevant PivotalTracker stories
#120574619

Coverage remained the same at 83.066% when pulling 09c1a3639b7e762219329d2482a3fd8a99418424 on bug/documents-delete into c863e6ffc53feb2f12b62c6a0fab987fd90388c3 on feature/documents.


Add Custom Protocol Support When Notification is clicked

Allows for a custom protocol to be called when the notification is called. This is useful to get around Toast Notifications of now allowing the item to be dismissed. This could be configured to regenerate the Toast Notification or perform some other action such as calling the same protocol that is assigned to the Action button

Sorry same deal. Don't know why Github isn't playing nicely with the CLI and a second fork of this repo. The currently opened one is correct.


(I#2071) Remove double escaping quotes in TSV export

Fixes #2071
Changes proposed in this pull request:

In the file CSVExporter, I changed the original constructor to be called only if the separator is a comma, otherwise (in the case of a TSV file) the constructor is called with the last argument changed to be CSVWriter.NO_ESCAPE_CHARACTER
I tested this change with the example mentioned in the issue

Thank you for this PR! It looks like it fails to build at the moment, and it also includes unrelated changes (see https://github.com/OpenRefine/OpenRefine/pull/4754/files).

Hi, I think my second commit passes all checks and solves the issue. Could one of the mentors take a look at it, please?
Thanks,
Vani

It looks like there is disagreement about what the behaviour of this quoting should be. Without a clear agreement on this I think it is a rather risky thing to change. I would welcome more opinions here, but if that does not happen I would just close this per inactivity.


[nomad] Update version info

Added the new releases for Nomad

@HumanPrinter LGTM , thank you for your contribution.


⚠ Bofrost.lu has degraded performance

In a40f389, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2271 ms

Resolved: Bofrost.lu performance has improved in 83c4cec after 11 minutes.


Facedancer 2.3

This pull request adds several fixes for Facedancer 2.2, an automatic device detection for device emulation (just copy script to devices path and make sure the device class name has the structure "USB[Devicename]Device" and the next line includes the description as variable "name") and new features known from umap2, such as vid/pid scanner and fuzzer.
It also does add several new devices, all of them tested.
Hope you do like my contribution :) See you at Troopers.

I've not reviewed the whole PR, but I have a couple of concerns that need to be resolved first:

Licensing - A reasonable amount of the code in this appears to come from umap2, which is AGPLv3 licensed.  Do you have permission from the umap2 authors to re-license this as BSD for inclusion in the facedancer project?
This was forked from FaceDancer in March 2018, and is not currently mergeable because it conflicts with 12 files in the repo.
FaceDancer is a USB exploration and development framework, is it appropriate to include the entire kitty tree within it?  I think that would make more sense as an external dependency or submodule (if it needs to be)
Is there a reason that we're bumping the version number of FaceDancer?

Licensing - A reasonable amount of the code in this appears to come from umap2, which is AGPLv3 licensed. Do you have permission from the umap2 authors to re-license this as BSD for inclusion in the facedancer project?
-> Yes, good point. Actually I ported umap2 stuff to FaceDancer but there may be code parts I just copied from umap2. I didn't see it was licensed by AGPLv3.
This was forked from FaceDancer in March 2018, and is not currently mergeable because it conflicts with 12 files in the repo.
-> It was updated to reflect all updated up to the latest master branch.
FaceDancer is a USB exploration and development framework, is it appropriate to include the entire kitty tree within it? I think that would make more sense as an external dependency or submodule (if it needs to be)

True. This is only due to fixes I added any will be moved to a submodule once the fixes are integrated.

Is there a reason that we're bumping the version number of FaceDancer?

Only to differ from 2.2 due to the new feature set.

As I do not see any chance to move the now AGPLv3 code to BSD-Only license,
I will close this commit. Thanks for letting me know.

Hi, @bkerler -- I definitely appreciate the work that's going into this and I think with a little bit of work we can definitely figure out how to provide some of the functionality from this PR across other tools.
I'd be happy to talk over plans for this, if you're interested -- it'd be good to have a plan going forward, both to keep things in sync and to try and figure out a good plan for keeping what work we can from this PR. :)

Yes, sounds like a good plan. I've contacted NCC Group for relicensing of Umap2, but as the original author no longer works for them (he would agree with relicensing as BSD but it's the NCC Group repo and thus their decision) and the head of research also left, there is little hope. So it looks like umap2 is no longer maintained.

To fix the licensing issues, I would recommend:

Moving kitty to a separate repo (under your github handle) while you see if your changes can be upstreamed.  We can update the documentation so that uses who want it can clone it and build against it.

If umap2 can't be relicensed, how about using the same model that they use?  Maintain it in a separate repo and wrap the FaceDance 2.3 module / tools.

If umap2 can't be relicensed, how about using the same model that they use? Maintain it in a separate repo and wrap the FaceDance 2.3 module / tools.

I think @dominicgs has the right approach, here. FaceDancer is, at its core, a library as much as it is a tool-- it'd designed to be able to empower downstream tools. I don't see any reason why an updated umap shouldn't live in its own repository, and then consume FaceDancer to provide the backend.
Moving kitty to a separate repo (under your github handle) while you see if your changes can be upstreamed

I'd definitely prefer not to have an inline version of Kitty (or a personal fork) in the maintenance surface area of FaceDancer. If there's a way we can use upstream kitty, I'd think this sounds like the way to go.
Also, a couple of things I'd generally like as we figure out how to move forward with this:
- Where possible, I'd appreciate it if you could be careful about providing attribution (and clearly indicating authorship). I definitely don't want to (even accidentally) have someone not be credited for their work.
- For future work, it'd be nice to collaborate more on plans for work like this-- that'll help us to synchronize on features and to avoid duplication of work.


ISPN-13056 server doc duplicate include

https://issues.redhat.com/browse/ISPN-13056

integrated! thanks @oraNod !


push communication-identity recordings

fix https://github.com/Azure/azure-sdk-for-js/issues/28656

@kazrael2119 I think these changes will resolve this issue as well ? #27737

@kazrael2119 I think these changes will resolve this issue as well ? #27737

yes, but this pr is only for communication-identity


SHD #73 Mandalorian Armor Upgrade Implementation

Mandalorian Armor Upgrade Implementation from SHD

In the future can you include the card image in the PR description, makes it easier to verify


Code update: Upload valid BMC image test cases

Write Robot test cases for uploading valid BMC images via TFTP and REST

@charleshofer @saqibkh - As discussed in yesterday's meeting we need to create template first and then we can enable upload BMC/PNOR/Both, Code update BMC/PNOR/Both etc..

[ ] Please come up with code update automation design

[ ]  Consider common REST URL for upload / flash etc..

https://gerrit.openbmc-project.xyz/#/c/5405/


How do I get the mouse to move in the word and then hold down CMD and click to jump url?

I want to use monaco-editor lick vs code Ide.
when I hover a word. and cmd + click , can jump to some url.

This should work fine in the monaco editor. Do you have a code sample that shows a problem?


program is blocked when training

Hi Sir.
I am trying to train your model against more pictures.  when the program restore parameters from your pre-trained model ELG_i180x108_f60x36_n64_m3, it hangs and I get following errors.
7/01 14:11 INFO Initialized data source: "UnityEyes"
17/01 14:11 INFO y1 heatmaps for train:(16, 18, 36, 60)
17/01 14:11 INFO y2 landmarks for train:(16, 18, 2)
17/01 14:11 INFO y3 radius for train:(16,)
17/01 14:11 INFO Built model for training.
17/01 14:11 INFO Built optimizer for: radius_mse, heatmaps_mse
17/01 14:11 INFO begin load checkpoint
17/01 14:11 INFO prefix:radius
17/01 14:11 INFO loading from output_path:/root/project/GAZEML/outputs/ELG_i180x108_f60x36_n64_m3/checkpoints/radius
restore modle from /root/project/GAZEML/outputs/ELG_i180x108_f60x36_n64_m3/checkpoints/radius/model-4203370
INFO:tensorflow:Restoring parameters from /root/project/GAZEML/outputs/ELG_i180x108_f60x36_n64_m3/checkpoints/radius/model-4203370
17/01 14:11 INFO Restoring parameters from /root/project/GAZEML/outputs/ELG_i180x108_f60x36_n64_m3/checkpoints/radius/model-4203370
17/01 14:11 INFO prefix:hourglass
17/01 14:11 INFO loading from output_path:/root/project/GAZEML/outputs/ELG_i180x108_f60x36_n64_m3/checkpoints/hourglass
restore modle from /root/project/GAZEML/outputs/ELG_i180x108_f60x36_n64_m3/checkpoints/hourglass/model-4203370
INFO:tensorflow:Restoring parameters from /root/project/GAZEML/outputs/ELG_i180x108_f60x36_n64_m3/checkpoints/hourglass/model-4203370
17/01 14:11 INFO Restoring parameters from /root/project/GAZEML/outputs/ELG_i180x108_f60x36_n64_m3/checkpoints/hourglass/model-4203370
17/01 14:11 INFO save model to /root/project/GAZEML/outputs/ELG_i180x108_f60x36_n64_m3/checkpoints/radius
17/01 14:11 INFO save model to /root/project/GAZEML/outputs/ELG_i180x108_f60x36_n64_m3/checkpoints/hourglass
2019-01-17 14:11:57.398307: W tensorflow/core/kernels/queue_base.cc:277]_0_UnityEyes/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
2019-01-17 14:11:57.398371: W tensorflow/core/kernels/queue_base.cc:277]_0_UnityEyes/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
2019-01-17 14:11:57.398380: W tensorflow/core/kernels/queue_base.cc:277]_0_UnityEyes/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
2019-01-17 14:11:57.398386: W tensorflow/core/kernels/queue_base.cc:277]_0_UnityEyes/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
2019-01-17 14:11:57.398390: W tensorflow/core/kernels/queue_base.cc:277]_0_UnityEyes/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed

If I delete the pre-trained model, and train from scratch, these errors disappear.
Any tips about this error?

@swook Hi, I am tring to train from the scratch, and i am pretty it not exceed the expected steps, but i am still getting the same error. How could i slove it?
If i want to fine tune using your pre-trained model, how could i do it? Should the input image size and batch size compatiable with your original pre-trained model?
Thanks in advance.

Hi @ningscapr ,
Could you share the line of code you edited? I tried to edited the code, but still get the same problem.
Thanks

@keishatsai
In elg_train.py I changed https://github.com/swook/GazeML/blob/7f8886087e0f6370b748e577faaf777b424ce3e6/src/elg_train.py#L24
to session=tf.Session(config=tf.ConfigProto(gpu_options=gpu_options)), then i solved the error.
My error is kind of like this:
2019-01-17 14:11:57.398307: W tensorflow/core/kernels/queue_base.cc:277]_0_UnityEyes/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
2019-01-17 14:11:57.398371: W tensorflow/core/kernels/queue_base.cc:277]_0_UnityEyes/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
2019-01-17 14:11:57.398380: W tensorflow/core/kernels/queue_base.cc:277]_0_UnityEyes/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
2019-01-17 14:11:57.398386: W tensorflow/core/kernels/queue_base.cc:277]_0_UnityEyes/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
2019-01-17 14:11:57.398390: W tensorflow/core/kernels/queue_base.cc:277]_0_UnityEyes/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed

@ningscapr
Thanks for the help.
By the way, have you eventually managed to fine-tune the model? And how did you do that?

@keishatsai  It seems you can't use original mdoel to finetune, you have to train your own data from scratch.

@ningscapr ,
Hmm.....could you explain why do you think that I have to do it from scratch?
Thank you.


Set all primary content file datastream member names to 'content'.

...ells us what the name of the file datastream is, so we don't have to try to guess. Note: this may not be very useful for the cmodels that have multiple file datastreams, but it would help with the single file objects. Another similar option would be to go through and rename all the content datastreams to 'content' (although we still have the issue with multiple-file objects).

I updated this PR to use 'content' for all primary datastream member names. This includes multiple file images, because the master image is already called 'master', so we can use 'content' for the JP2. This code should only be used in bdr_apis (and tests), so I can convert them and verify that things continue working.


Please update ZooKeeper references to include Apache.

Hi. Would it be possible to update references (e.g. in the github project description and the README page, etc...) to refer to ZooKeeper as "Apache ZooKeeper". Also where possible link to the official project site (http://zookeeper.apache.org/). Thank you!

Done in https://github.com/soabase/exhibitor/commit/36d108670c7a6c8c2b30b0aa5a455e9ce9135476.

Much appreciated! Regards.


-Syuw exits with code 1 even though packages are successfully built

Title says it all. I tried to use pacaur -Syuw and even though packages were successfully built, the exit code was nonzero
pacaur version 4.2.17

Fixed in 59532b4ed2110699963e4b2955014336f3ad2de2.

Code has been cleaned up and reverted in f89bf850ef2910dd13f62eddd74062d10ef3fa84. Not sure what was the original issue here, but I cannot reproduce.


get_http_file: Multiple Files upload

It would be useful to be able to upload multiple files from single or multiple links (like on GUI) and one metadata file for the whole set. This is getting interesting!

The multiple files upload is handled easily by creating separate tasks for each file. In the API, that is easy to do.  The advantage of this approach over having the tool handle multiple files itself is that each instance of the tool will run in parallel.  If the tool does multiple files, they will run in series.
We should look into "batch" to see if there is a way to launch the tool multiple times easily via the UI.

That was my next thought.
Thanks.


The "services" is typed wrong in type "DynamicData"

Describe the bug
services is typed wrong in type DynamicData. It is typed as ServicesData whereas it should be an array of service data ServicesData[]
To Reproduce
Go into the index.d.ts
Checkout the services field in DynamicData type

@mburakdonmez ... fixed. version 5.17.13 just released.


Remove emotion 3

moving away from emotion towards sass.
This PR includes the following directories:

components/state/emptyFilterState
components/state/emptyValueState

emptyFilterState:

emptyValueState:

Codecov Report

Merging #1664 into master will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1664      +/-   ##
==========================================
- Coverage   77.31%   77.30%   -0.02%
==========================================
  Files         237      236       -1
  Lines        3826     3824       -2
  Branches      706      706
==========================================
- Hits         2958     2956       -2
  Misses        788      788
  Partials       80       80

Impacted Files
Coverage Δ

...mponents/state/emptyValueState/emptyValueState.tsx
80.00% <100.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 c42a601...5eec738. Read the comment docs.


when I use realsense-viewer in Raspberry 4B, no device connected

Required Info

Camera Model
{ T265 }

Firmware Version
(v2.31.0)

Operating System & Version
Linux raspberrypi 5.10.63-v7l+ #1496 SMP Wed Dec 1 15:58:56 GMT 2021 armv7l GNU/Linux

Kernel Version (Linux Only)
(e.g. 4.14.13)

Platform
Raspberry Pi 4

SDK Version
{ legacy / 2.. }

Language
python }

Segment
{Robot/Smartphone/VR/AR/others }

Issue Description
<when I use realsense-viewer ,no device connected>
I successfully set up the environment according to the official website article.
The article is https://github.com/IntelRealSense/librealsense/blob/master/doc/installation_raspbian.md
when I use 'lsusb' command ,I can see this result as follow
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 17ef:608c Lenovo
Bus 001 Device 004: ID 17ef:608d Lenovo
Bus 001 Device 003: ID 03e7:2150 Intel Myriad VPU [Movidius Neural Compute Stick]
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
when I use python3 and import pyrealsense2 ,It's worked.
But when I use realsense-viewer ,no device connected.

I'm using two identical Raspberry PI4, on one there is the same problem "'please connect a realsense camera...'", on the second not. On both kernel: Linux MyTestPi 5.10.63-v7l+ #1496 SMP Wed Dec 1 15:58:56 GMT 2021 armv7l GNU/Linux
I can't see any difference, but found different behavior on the working Raspberry. After boot, lsusb shows
"Bus 001 Device 006: ID 03e7:2150 Intel Myriad VPU [Movidius Neural Compute Stick]"
Then, after successfull starting the realsense-viewer, lsusb shows
"Bus 002 Device 002: ID 8087:0b37 Intel Corp." intead  "Intel Myriad VPU..."
On the Raspberry with the problem "please connect a realsense camera..." lsusb still lists the device "Intel Myriad VPU ...." when realsense-viewer was started.

你好，我也按照这篇文章步骤来安装的，版本跟你的一样，但中间一直有一些指令不正常，请问你是一条一条执行的吗？


[Question] Will there ever be a select to move or resize feature?

First of all this software is awesome I have been using it for a couple months right now. I was wondering if there will ever be a feature that allows selection in order to move or resize. I believe that's really the only thing that's missing for it to be even better.

I could think about it.
Right now, the app is mostly just a list of lines. Line 1, line 2, line 3, etc. Erasing is simply adding a line that has the same color as the background.
For redo and undo, all I do is draw up to line X, for example [line 1, line 2, line3] becomes [line 1, line 2] line 3. This allows me to support undo and redo all the way back to your first stroke without using much extra memory. There's a bit of bookkeeping for grouping lines.
Allowing moving or resizing wouldn't work in the current system without adding something new.
There's also the matter of the selection UX itself. Should it work with a rectangle selection and then everything gets selected. What about lines that overflow the selection bounds? Do lines get moved as a whole or they should be spliced?

Oh, I see, so its not as straightforward as it may seem. I have used a couple more apps of this infinite canva style and what they usually do is a simple box selection that selects the whole line even if part of the lines are outside the selection area and I believe that works pretty well.
Regardless, even without the selection feature the app is still really good, it feels fast and smooth compared to the others available which feel a bit junky at times. Anyways, Thanks for the clarification.


"Unexpectedly high number of iterations in HLO passes, exiting fixed point loop." in odeint

I get the warning message
W external/org_tensorflow/tensorflow/compiler/xla/service/hlo_pass_fix.h:49] Unexpectedly high number of iterations in HLO passes, exiting fixed point loop.
each time I evaluate grad(odeint) in the following code. The forward system has 4 * 4 * 64 = 1024 dimensions, and the dynamics function has 1 * 1 * 64 * 64 = 4096 parameters (so the adjoint system would have about 5121 dimensions). I also modified odeint to count NFE on the forward pass (which in this case is only 7).
Not really sure what this warning message means, but I suspect it might be affecting the performance of my code. Any insights into this would be greatly appreciate, and I'm happy to create a more stripped down example (e.g. without the haiku dependency) if needed.
XLA dump

This might be a duplicate of #2639. We think it's harmless (and will disappear when we update XLA by releasing a new jaxlib wheel) unless you've noticed any separate performance changes.
I think I'm going to close in favor of consolidating the discussion at #2639, but let's follow up there as needed!


azure-batch 5.1.1

Updated packaging files to latest standard + ChangeLog for the authentication fix.

@lmazuel  approved. Thank you for helping.

(message created by the CI based on PR content)


PGP key verification failure on Fedora when downloading kubectl

This is a Bug Report

Problem:
I'm using Fedora 36 and installed the kubectl repository like described on this page: Install using native package management
Now Gnome Software doesn't work anymore when I want to update my installed software packages.
It has some issues with the public key of the Kubernetes repository.

I have asked a colleague who also use Fedora 36, and he has the same issue.
Current config:
$ cat /etc/yum.repos.d/kubernetes.repo
[kubernetes]
name=Kubernetes
baseurl=https://packages.cloud.google.com/yum/repos/kubernetes-el7-$basearch
enabled=1
gpgcheck=1
gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg

Workaround:
$ cat /etc/yum.repos.d/kubernetes.repo
[kubernetes]
name=Kubernetes
baseurl=https://packages.cloud.google.com/yum/repos/kubernetes-el7-$basearch
enabled=1
-gpgcheck=1
+gpgcheck=0
gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg

Proposed Solution:
Currently, no solution.
Page to Update:
no one

Thanks. I think this is a duplicate issue report.
/triage duplicate

Actually, it's not a duplicate. The other issue was related to repo_gpgcheck.
/remove-triage duplicate

I wonder if we should treat this as a Kubernetes bug. I'm very wary of advising readers to turn off signature verification.

@tzaspel-finatix does dnf still work OK (is it just the GUI app for managing software that is affected)?

/retitle PGP key verification failure on Fedora when downloading kubectl

/triage accepted

/sig release
(I think - some more detail would be helpful)

Sry for the late response. Dnf still works.
I've enabled the gpgcheck again:
/etc/yum.repos.d/kubernetes.repo:
[kubernetes]
name=Kubernetes
baseurl=https://packages.cloud.google.com/yum/repos/kubernetes-el7-$basearch
enabled=1
gpgcheck=1
gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg

and run  dnf update --refresh:
$ sudo dnf update --refresh
Copr repo for PyCharm owned by phracek                                                                                9.7 kB/s | 3.6 kB     00:00
Fedora 36 - x86_64                                                                                39 kB/s |  21 kB     00:00
Fedora 36 openh264 (From Cisco) - x86_64                                                                                2.6 kB/s | 989  B     00:00
Fedora Modular 36 - x86_64                                                                                45 kB/s |  20 kB     00:00
Fedora 36 - x86_64 - Updates                                                                                28 kB/s |  13 kB     00:00
Fedora Modular 36 - x86_64 - Updates                                                                                35 kB/s |  18 kB     00:00
google-chrome                                                                                10 kB/s | 1.3 kB     00:00
Hashicorp Stable - x86_64                                                                                13 kB/s | 1.4 kB     00:00
Hashicorp Stable - x86_64                                                                                23 kB/s | 1.4 kB     00:00
Kubernetes                                                                                3.1 kB/s | 1.4 kB     00:00
packages-microsoft-com-prod                                                                                17 kB/s | 3.0 kB     00:00
RPM Fusion for Fedora 36 - Free                                                                                19 kB/s | 7.7 kB     00:00
RPM Fusion for Fedora 36 - Free - Updates                                                                                80 kB/s | 7.0 kB     00:00
RPM Fusion for Fedora 36 - Nonfree                                                                                92 kB/s | 7.8 kB     00:00
RPM Fusion for Fedora 36 - Nonfree - NVIDIA Driver                                                                                22 kB/s | 7.3 kB     00:00
RPM Fusion for Fedora 36 - Nonfree - Steam                                                                                84 kB/s | 7.1 kB     00:00
RPM Fusion for Fedora 36 - Nonfree - Updates                                                                                21 kB/s | 7.1 kB     00:00
teams                                                                                27 kB/s | 3.0 kB     00:00
Visual Studio Code                                                                                27 kB/s | 3.0 kB     00:00
Dependencies resolved.
==================================================================================================================================================================
 Package                                 Architecture                   Version                                             Repository                       Size
==================================================================================================================================================================
Upgrading:
 ipxe-roms-qemu                          noarch                         20220210-1.git64113751.fc36                         updates                         1.5 M
 libglvnd                                x86_64                         1:1.4.0-4.fc36                                      updates                         133 k
 libglvnd-egl                            x86_64                         1:1.4.0-4.fc36                                      updates                          35 k
 libglvnd-gles                           x86_64                         1:1.4.0-4.fc36                                      updates                          31 k
 libglvnd-glx                            x86_64                         1:1.4.0-4.fc36                                      updates                         139 k
 libglvnd-opengl                         x86_64                         1:1.4.0-4.fc36                                      updates                          42 k

Transaction Summary
==================================================================================================================================================================
Upgrade  6 Packages

Total download size: 1.8 M
Is this ok [y/N]:

It looks like you are right that it is a GUI app bug.

Any Updates? The issue still exist.

It sounds like the docs are valid, but that Gnome Software doesn't support a repo configured this way.
This isn't the right place to file bugs against the Gnome Software and / or the libraries that it uses to integrate with OS package management.
@tzaspel-finatix consider filing a bug against that library code, and reference this issue when you file it.
You could also use a different OS; we have instructions for macOS, Ubuntu and Windows for example.
I'd be willing to consider a PR to let people know about that bug (for example, by adding a comment into the repo config). I don't think we'd prioritize that work much though; ultimately, that kind of bug is best tracked against the component that has the bug.
Perhaps you can imagine how many components of an OS have to work correctly for Kubernetes docs to make sense? It must be thousands!

/remove-lifecycle rotten

@sftim Maybe we could add a note on the page that there is a known bug for Gnome software if @tzaspel-finatix confirms that the issue still exists.

@divya-mohan0209 excuse my absence. The bug doesn't exsists anymore. The gnome Software can now update kubectl after adding the repository.

Thank you for confirming, @tzaspel-finatix !


add dragonfly

I don't if you can add dragonfly reverbs?

I can, but since dragonfly has official builds for win/mac, I wont bother adding them here.

final round of cleanup, forgot to close ticket back when I gave my reply so doing it now


Fix the script for Linux

I corrected the path for the "source" variable and modified the README to suggest the use of Bash, and otherwise it can't create/access a folder in a path that starts with a "~" sign.

Thanks for your PR, apologies for the delay in merging it.


Add selectability for default text

This commit allows selecting some text.
P.s. Now the text selection is quite strange because it only selects one line. For example, if we select everything with CMD + A and then try to do something with that context - it only selects one line.
It's more of an idea than a working solution, so feel free to suggest another solution 🤔
Screenshots

Thanks for the pull request, I have merged all 3 of them. Regarding text selection working weird, it's because each gemtext line is converted into a view. That was easier to do than try to generate one long AttributedString, although that would probably be the best way to allow text selection to work properly.


Fix Update global params tests

#571  👈
feature/proof-of-stake

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @lazynina and the rest of your teammates on  Graphite


[Example]: Conditional and Collapsible Panels

I'm trying to use these both features together and I think it's not behaving the way I thought would be.
For example, when both left and right panels are showing and collapsed and then I hide one of them, the other panel it's going to expand instead of being collapsed.
Is this the expected behavior? Or how do I change this to keep the collapsed panels collapsed?
Reproduction: https://stackblitz.com/edit/stackblitz-starters-rftqoi?file=src%2FApp.tsx

Sorry but I'm not sure what you're describing.

In the reproduction example, if both panels are showing and collapsed, if I hide the left panel, the right panel it's going to expand instead of being collapsed. Is this the expected behavior?

In the reproduction example, if both panels are showing and collapsed, if I hide the left panel, the right panel

If both panels are collapsed, then how can you hide the only remaining panel? This is what I don't understand about the original description.

I have the state of both left and right panels collpsed and showing, like in the image below:

When I hide the left panel, for example, instead of the right panel remain collapsed and the middle occupy all the space, the opposite occurs, the right panel uncollapse like in the image below:

My point is that I think the middle panel would fill in the space and the right panel would remain collapsed. Is this more clear?

Tried this on the reproduction and not seems to work

I can't really help with screenshots, mate. There's nothing to debug.
I think at this point, it would be easiest for me if you sent a Replay of what you're seeing so I can look at it exactly. Barring that, send an updated Code Sandbox or something.

If you have a group with two (or more) possible layouts, the default layout as well as the saved layout are initialized and stored separately for each combination of panels. (This is necessary for reasons I tried to explain in #260.)
If you want the layout to appear to stay the same between different panel combinations, then either you need to (a) use the imperative API to set it yourself after conditionally rendering a different set of panels or (b) use an approach like I mentioned above to hide a panel without conditionally rendering it.

Ok. I got it now.
I will test with the imperative API to achieve what I want.
Thanks for the time to explain how the state works and thanks for this amazing library.

You're welcome 😄  Good luck!


Add FileSize validator

This work builds upon @mvi-x's code in https://github.com/lepture/flask-wtf/pull/309 to add a FIleSize validator.
Refs https://github.com/lepture/flask-wtf/issues/307

Codecov Report

Merging #365 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #365      +/-   ##
==========================================
+ Coverage   99.67%   99.68%   +0.01%
==========================================
  Files          18       18
  Lines         911      942      +31
  Branches       74       76       +2
==========================================
+ Hits          908      939      +31
  Misses          3        3

Impacted Files
Coverage Δ

flask_wtf/file.py
100% <100%> (ø)
:arrow_up:

tests/test_file.py
100% <100%> (ø)
:arrow_up:

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 9b029c3...50be06b. Read the comment docs.

Nice one! Let's get this merged 👍

Thanks @dalepotter for this, works like a charm. Had a similar need for a project and ended up implementing something very similar. May I ask when is this going to be merged into master?

Is anything else needed to enable this branch to be merged?


Splitting up dev and vendor scripts

I think it would be a good assets loading boost if we split js files into 2 files app.js and vendor.js.
But I am new to the webpack ecosystem. Is there any ideas how to implements this?

@berdof universal-redux does this, it's not a big difference in configuration. https://github.com/bdefore/universal-redux/blob/master/config/webpack.config.js


Slow loading of about dialog.

Need to add progress bar "collecting data" or use preloaded value . Or something like that.

Added initialization progress bar. Moved initialization to background thread.


Make EthereumClient timeouts configurable via envvars

Coverage increased (+0.006%) to 90.747% when pulling bde121536190c9cf144703bf83cc2b02a8fdf039 on make-timeout-configurable into f51fc5ea51c84ef975c7b9dff66e4b86bb59ef93 on master.


/Library/Management/super/super-starter doesnt exist in v2

/Library/Management/super/super-starter doesnt exist in v2 and so the launch daemon after the deferral does nothing.

Not sure what your talking about here... as long as you follow the directions to let the script run on it's own (and don't try to install it via package) it will create all it's necessary assets as part of the script.

Problem as described. There are no instructions to say run the script as is and it will install the required components!

It's documented right here: https://github.com/Macjutsu/super#installation

Thanks


feat: Show user vote in vote section

Summary

When a user has already voted we show the selected choices and hide the other ones. We also add a "Change vote" button for the user to change their vote. When shutter privacy in enabled we show a message.

How to test
Use pistachiodao.eth space which has proposals for all voting types

One thing I noticed is that once we click logout, the text is still Change your vote,

Go here https://snapshot-git-samuveth-user-vote-snapshot.vercel.app/#/pistachiodao.eth/proposal/0xf93f1ac80e22cc930b1eef1d20bd34671ccc33b88b04695479c9de364451d77f
Connect your wallet
Click "change vote"
Disconnect wallet

Maybe it was always like this, and done by design, but as a user, when I voted FOR with a reason, and I click "Change my vote", and vote again for "FOR", I expect the reason textarea to be prepopulated with my previous reason

"Ranked-choice voting" edition UI seems clunky, as there is no indicator how to change the votes. I had to "x" all the votes, and vote again with new ranking, until I found out we could drag n drop. Maybe adding a drag and drop indicator would help.

In approval voting, when you vote for nothing, it show an empty block, which looks like a bug

Great points @wa0x6e!

For the first one about the reason, I'd rather solve that in another PR because they way it's currently structures this will require some bigger change.
Agree RCV was terrible UX. I've added what you suggested and removed the (X) which isn't needed because you have to rank all choices to vote anyway. Here is a video
Added a message for blank approval votes


Fix/contractkit test flakyness

Description

Sequencing test runs alphabetic
Add more timeout to long running tests
Properly log ganache startup
Give ganache some time to start before running first tests

Tested
ran 5 times:

yarn test:reset
yarn test

all tests were green
Closes: #1996 #1773

There's a dev-utils package that @nambrot created, i though contractkit was already using that, since it contains ganache setup and other test utilities.
Maybe we should migrate contractkit to use it, and do the changes there. For now, celocli use the same setup, and the attestantion service i believe.

Amazing idea, i will open an issue for it.


Update dependencies (unbreak macOS 10.13 with libgit2-sys-0.6.16)

It would be nice to pull in the fix for https://github.com/alexcrichton/git2-rs/issues/257.

r? @alexcrichton
(rust_highfive has picked a reviewer for you, use r? to override)

@bors: r+

:pushpin: Commit 7097174 has been approved by alexcrichton

:hourglass: Testing commit 7097174a916477754123acc8deef979c3b950197 with merge 5b0bf5459d296c3e49b22d66c5a3870d42597d25...

:sunny: Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 5b0bf5459d296c3e49b22d66c5a3870d42597d25 to master...


Remove my name from the code

because I did not write the code

I modified examples from tensorpack library but forgot to remove the name. I'm sorry about that.


Unify optimize scripts

Closes #135
Before this PR, optimize_workspace.sh and optimize.sh were identical already. From this change onwards, both docker images have the same hash.

I suppose we'll en the end deprecate one of the images in favour of the other, right?

Yeah. I'd publish under the old names for some time to make the migration convenient.
Long term I don't know that would be best. One of:

Deprecate workspace-optimizer in favour of rust-optimizer
Deprecate both in favour of simply cosmwasm/optimizer

Any preference?


Nothing else like it, but won't go over 70 percent

I have been searching high and low for something simple like this that is also provided as a binary.
It works great, but it won't go over 70 percent on my 8 core system on Windows 10.
I am actually going to use it to drive an AWS ASG to step it through it's autoscaling configuration - so I need the ranges above 70 percent as that is typically where scaling is configured.
Would love to see it working!

I am not using AWS, it is not easy for me to test on AWS ASG.
What about your local Windows machines or AWS EC2?
In my free AWS EC2 single core instance, it works as expect.

It works a bit better on AWS - maybe because there isn't so much background junk running.
Interestingly the linux utility stress-ng is as precise running under WSL as it is on linux - but I need to support older versions of Windows and don't want to install WSL just to do this test.
While doing more testing it also seems less precise at really low levels - like 10%.
Let me know if you ever want testing of new versions.


Add enhanced leader data

As a user i want to get some more information about the leader than just the id. Therefore, we need to save further information.
TODOs:

[x] Decide which data source to use (firestore vs bigquery)
[x] Decide data schema (required are for example name, colors, image (normal, alt art), life, power, attribute, ability, release_meta)
[x] Update leader image data to data source (e.g. google cloud storage)
[x] Implement Code to initially create information to new data source (maybe with crawler?)
[x] Create a frontend admin page to add new leaders dynamically (Only admins should see the page)

AC:

Leader information is included in a accessible data source

Nearly finished task with latest commits. Data can be found in BQ dataset "leaders" and table "leaders"


Added some clarifications

Fixed typo
Moved reference to authentication to main Feedback section
Added a note about what type of payload the feedback endpoint accepts
acceptedSuggestions should be an array of string (reducing redundancy in
an object with an 'id'
Added note that each acceptedSuggestion value uniquely identifies the
suggestion
Added note to 'overrideReason' that it is an optional element for
'overridden' outcomes.
Some header changes (### instead of ##)
updated 'Suggestion accepted' example
Moved 'Card ignored' to the end of the Feedback section, as the proposed
spec does not provide support for reporting ignored cards
Changed 'Overridden guidance' to 'Card overridden', for consistency with
the (assumed) intention of the proposed spec
Updated/added 'override or reject' or 'overridden or rejected', as it's
not clear that each term is synonymous
Changed 'Explicit reject with override reasons' to 'Card override with
reasons' for consistency with the (assumed) intention of the proposed
spec
Updated formatting of 'Card override with reasons' example

This PR was a result of an attempt at implementing the feedback service.

@euvitudo, accpetedSuggestion was deliberately made a JSON object with an id property in case we want to include additional information on this object. If we keep it as an array of string but find we need to add more info and need to change to an array of objects, wouldn't that be a breaking change?

@mattvarghese Agreed that it would be a breaking change.  I wasn't paying attention to the decision regarding id so that's on me.  For consistency, it seems you might also want card to be an object.

@euvitudo Why do you say card needs to be an array? The feedback request is an array of feedback entries - each one about one particular card.

@mattvarghese You're right--it would just need to be an object.  (I shouldn't have edited it without thinking.)

@mattvarghese updated PR.


Module Manager: execTransactionFromModule does not emit module events

I noticed that in the module manager's execTransactionFromModule function, it directly uses the _execute function from the executor contract. However, this setup doesn't emit any of module events when a transaction succeeds or fails.
I'm wondering why we're not using the _executeFromModule function, like we do in the execBatchTransactionFromModule method, for consistency.

Hey @Zakrad 😊
thank you for pointing this out. The design choice was made for specific reasons, but your observation about consistency is valid. We'll review the implementation and consider making adjustments in future iterations. Thanks again your feedback is valuable to us! 👍
Can you please check and address this @filmakarov ? thanks

we could potentially add below code here
if (success) {
            emit ModuleTransaction(msg.sender, to, value, data, operation);
            emit ExecutionFromModuleSuccess(msg.sender);
        } else {
            emit ExecutionFromModuleFailure(msg.sender);
        }

can check this diff view. will get it internally reviewed with the team
https://github.com/bcnmy/scw-contracts/pull/154/files

It's also not possible to specify txGas for execTransactionFromModuleReturnData is it possible to update that also?

Thank you @zakrad for your valuable contribution. We have addressed the issues you brought to our attention and made the necessary fixes. Your input has been extremely helpful in improving our project.


ring.com motion sensor went offline without prior notice

Device is still sitting where it was. Not sure what is going on.
Battery died? ring.com shoes presumably from the last time it communicated with the device that the battery was still nearly full.

 By pushing it back to battery cartridge it got online again. ring.com still shows battery full.
This can happen anytime, I guess. Unless it's defect, this is a flaw of this product.
This is the 2nd distinct problem with this motion sensor. Giving 3 or even less stars to this device.


Automated tests

They basically exist in the __main__ in func.py
For reference:

https://www.youtube.com/watch?v=DhUpxWjOhME
https://stackoverflow.com/questions/27954702/unittest-vs-pytest
https://docs.python.org/3/library/unittest.html
https://docs.pytest.org/

Windows is still not working, but will close this issue for now.


hidpi: Allow individual scaling for applications

Some applications, especially X11 applications, support hidpi, but currently do not support waylands internal scaling protocol for signaling this to wlm/sway. It would be nice to be able to set individual scaling or disable it altogether for certain windows on wlms side to get sharp scaled rendering nevertheless.
This would allow a smoother transition to sway/wlm/wayland for hidpi-users, especially as this affects both chromium and firefox.
See also SirCmpwn/sway#1047.

I said in my issue (and you failed to communicate here) that per-application DPI is not possible for Xwayland views. I asked you to open an issue asking if we could set the DPI for Xwayland globally at startup.

Where did you say that? At least on the issue I opened you didn't comment. Still, that limitation would make this feature relatively useless :-/

A global option to set the xwayland buffer_scale would be very helpful. Users willing to configure the various X scale params could then have a blur-free Wayland experience with xwayland apps by setting the xwayland buffer scale equal to the output scale. Seems like this could be a small change in wlc? Junior job?

Probably.
https://github.com/Cloudef/wlc/blob/master/src/xwayland/xwayland.c#L310


Keep headers in their original order#1359

Thanks.This is the PR about issue#1359.

@verichenn Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@verichenn Thank you for signing the Contributor License Agreement!


Add an option to enable GCC 10+ analyzer

GCC has added an integrated static analyzer, it started it's life in GCC10 as an experimental feature, it would make sense to add an option to enable it, or just add "-fanalyzer" to the GCC warnings, it could also be treated similarly to the other analyzers like clang-tidy with the caveat that it only works when compiling with GCC 10 or newer.
See: https://gcc.gnu.org/onlinedocs/gcc/Static-Analyzer-Options.html

Support for C++ is not ready yet - https://developers.redhat.com/articles/2022/04/12/state-static-analysis-gcc-12-compiler#toward_support_for_c__
Maybe it can be enable for C projects only

Yeah, I'm using it for C projects.


[consensus] Refactor header_size to take into account a limit in # TXs

header_size is a global limit on the size of a header. It is currently a byte limit for benchmarking purposes.
It should rather be a gas / TX limit (as input to execution) in order to better satisfy the high-level backpressure needs of a downstream execution layer.
/cc @asonnino

We changed the semantics of header_size here https://github.com/MystenLabs/sui/pull/5093
We might need to further look into the tx size idea as a further improvement


Dont work

Already install 3 times the Bot, It still does not work.
I do not know if I'm jumping something but in the other time you told me that you had to read the "readme.md"
: If the tool does not work, try to use Private mode / Incognito. Other situations should be reported in issues (game updates are fine there too) .:
At my least It dont work if I dont open it in Private.

It stop charges here:

buenas soy sebass . el bot lleva muchos dias sin actualizar. no funciona aun
lun., 19 mar. 2018, 05:09 iTankiPvPz<EMAIL_ADDRESS>a scris:

Already install 3 times the Bot, It still does not work.
I do not know if I'm jumping something but in the other time you told me
that you had to read the "readme.md"
: If the tool does not work, try to use Private mode / Incognito. Other
situations should be reported in issues (game updates are fine there too) .:
At my least It dont work if I dont open it in Private.

Reply to this email directly, view it on GitHub
https://github.com/freshstudio/Toshinou/issues/60, or mute the thread
https://github.com/notifications/unsubscribe-auth/AjljetCXOSzyM5DGhvZ4t7LEAdX2wta4ks5tfyFwgaJpZM4SviLG
.

The tool is offline due to a game update. You have to wait for an updated version. Maybe join the discord and check the #status channel there or wait for a new commit to this repo labeled game update (something like that).

Gracias sebas.
Thank You Kaffem.


experimentalContainers navigation "always" timeout

Which package is this bug report for? If unsure which one to select, leave blank
@crawlee/browser-pool
Issue description
the "experimentalContainers" feature was tested on Firefox browser specifically "firefox-1422" of playwright browsers (you can find at on Mac in this path /Users/<.......>/Library/Caches/ms-playwright/........ )
however all requests supplied to the crawler time out
when i do this in "headful" mode i can see containers 4 tabs opened (my maxConcurrency setting at that time)
and the urls are something like that "about:blank#%7B%22tabid%22%3A5%2C%22proxyip%22%3A%22<IP_ADDRESS>%22%7D"
(so meaning that taac extension is loaded)
the page are loading (but are blank) and i can see that my url is loading in the bottom left of the browser, however all pages timeout.
Code sample
No response
Package version
<EMAIL_ADDRESS>Node.js version
v21.2.0
Operating system
Mac M1
Apify platform

[ ] Tick me if you encountered this issue on the Apify platform

I have tested this on the next release
No response
Other context
No response

btw, all the request queue are already there successfully inside the ./storage/request_queues/default/


Issue with AUTO-CONVERT-TEXTURE

I consider it a BUG: Issue with AUTO-CONVERT-TEXTURE.
Example:
When you create a new material, it comes with a 'PRINCIPLED BSDF and MATERIAL OUTPUT'... after creating an image texture, linking it to the 'Base Color', then creating a new 'image Texture' and linking it to the 'Normal Bump', then creating a new 'image Texture' and linking it to the 'Specular map', when you click on 'Auto Convert Texture', it doesn't convert the normal or the specular, it keeps ALL DEFAULT and disregards the BUMP and the Specular.
https://ibb.co/kSztVq4
https://ibb.co/g4fnR4f
I noticed that one of the problems could be the Nodes that have changed. The Normal map, when we use the node wrangler, has now become a 'bump' and not a 'normal map' as before, causing a conflict.

The auto-convert tool is very limited and only has some very basic checks. For normals, it does need the Principled BSDF's Normal socket connected to a Normal Map node, and this one connected to an image.
It isn't planned to extend the functionality of this tool.