eltwise_layer shape check failed

Hi, when tying to construct solver, following error occurs, which suggests the shape of filter layer (32,18,1,1) does not match q_values (32, 18).  Any idea? Thank you very much!
I0916 20:53:52.315197  2321 net.cpp:127] Top shape: 32 18 (576)
I0916 20:53:52.315212  2321 layer_factory.hpp:74] Creating layer eltwise_layer
I0916 20:53:52.315240  2321 net.cpp:90] Creating Layer eltwise_layer
I0916 20:53:52.315249  2321 net.cpp:410] eltwise_layer <- q_values
I0916 20:53:52.315259  2321 net.cpp:410] eltwise_layer <- filter
I0916 20:53:52.315270  2321 net.cpp:368] eltwise_layer -> filtered_q_values
I0916 20:53:52.315284  2321 net.cpp:120] Setting up eltwise_layer
F0916 20:53:52.315300  2321 eltwise_layer.cpp:35] Check failed: bottom[i]->shape() == bottom[0]->shape()

It does not matter, just replace inner-product layer with 1*1 kernel convolutional layer!
Thank you!

Were you able to get pong or breakout to train up with the change to the model you made?  I made a different change that doesn't work.  I think I have a bit to learn in terms of how Caffe works.

I got this problem too.
How to fix this problem ?

I tried adding a Reshape layer to the dqn.prototxt. I didn't think that would affect the update because of how the target and filter arrays are being set but I'm getting enormous Q values once training starts. I don't have much experience with reinforcement learning but I haven't seen Q values above 5 or so in my other tasks. Any ideas?

I put together a version that works over at
https://github.com/watts4speed/fast-dqn-caffe
It has some instructions also about how to get it going.  I made some speed improvements also.

Sorry for the problems. I haven't run my code for a while and don't know it works with the latest Caffe and ALE.
@watts4speed nice work!

Ya there's a couple things.  The caffe guys changed their API for solver creation.  See what I did over on my branch.  Then somewhere maybe after September something changed in caffe that broke the training all together.  I've never been able to figure out what it was yet.  I put a commit number that I know works for caffe on the readme for the link above.  It should also work for the verion here.  Let me know if you figure out what the issue is with running with the head of caffe/master :-)

I worked through the code also and found what looks to be an error when resetting the filters and targets for each forward pass. The filters and targets are not the correct values after calling reset and doing one step. Is there a reason for this? Am I understanding this correctly?
After 50 iterations the computed targets for each of the 32 outputs (this looks reasonable):
0.173218 0 0 0 0 0 0 0 0 0 0 0 0 0 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0 0 0 1 0 0 0 0 0
0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0
0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0
0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0
After doing one step, though, the data in the filter and target blobs are different.
Targets post step:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0.177312 0 0 0 0 0 0 0 0
0 0 0.175913 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0.176915 0 0 0 0 0 0 0 0
0 0 0.176081 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0.177312 0 0 0 0 0 0 0 0
0 0 0.17177 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0.173809 0 0 0 0 0 0 0 0 0 0 0 0 0 0.173392 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.176585
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0.171213 0 0 0 0 0 0 0
0 0.173022 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0.174964 0 0 0 0 0 0 0
0 0 0.17177 0 0 0 0 0 0 0 0 0 0 0 0 0 0.174004 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.174004 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.173392 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 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0 0 0 0
0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0
0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0
0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0
0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0
0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0
If you look closely all the values are shifted two places to the left. This results in incorrect filtered q values since some actions might not even have a corresponding filter any more. Some rows are all zeros and some rows will have two targets.
Filtered q values:
0 0 -0 0 0 -0 0 -0 0 0 -0 -0 -0 -0 -0 0 -0 0
0 0 -0 0 0 -0 0 -0 0 0.00185883 -0 -0 -0 -0 -0 0 -0 0
0 0 -0.0725774 0 0 -0 0 -0 0 0 -0 -0 -0 -0 -0 0 -0 0
0 0 -0 0 0 -0 0 -0 0 0.00195366 -0 -0 -0 -0 -0 0 -0 0
0 0 -0.0720046 0 0 -0 0 -0 0 0 -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0 -0 -0 -0 -0 -0 0 -0 0
0 0.0305264 -0 0 0 -0 0 -0 0 0 -0 -0 -0 -0 -0 0 -0 0
0 0 -0.0723516 0 0 -0 0 -0 0 0 -0 -0 -0 -0 -0 0 -0 0
0 0 -0 0 0 -0 0 -0 0 -0.00127689 -0 -0 -0 -0 -0 0 -0 0
0 0 -0 0 0 -0 0 -0 0 0 -0.0107717 -0 -0 -0 -0 0 -0 0.180422
0 0 -0 0 0 -0 0 -0 0 0 -0 -0 -0 -0 -0 0 -0 0
0 0 -0 0 0 -0 0 -0 0 0.00185883 -0 -0 -0 -0 -0 0 4.17635e-38 0

Hi Trevor,
Are you using the head of caffe/master?
For me things work with the version at the link above with a caffe/master
around Sept 2015.  THe head of master doesn't  would love to know why.  See
the link above for a working version with caffe around Sept 2015.  If you
start with that then get to the head of caffe main that would be really
helpful.
On Fri, Dec 18, 2015 at 10:20 AM, Trevor Barron<EMAIL_ADDRESS>wrote:

I worked through the code also and found what looks to be an error when
resetting the filters and targets for each forward pass. The filters and
targets are not the correct values after calling reset and doing one step.
Is there a reason for this? Am I understanding this correctly?
After 50 iterations the computed targets for each of the 32 outputs (this
looks reasonable):
0.173218 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0.177312 0 0 0 0 0 0
0 0 0 0 0.175913 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0.176915 0 0 0 0 0 0
0 0 0 0 0.176081 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0.177312 0 0 0 0 0 0
0 0 0 0 0.17177 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0.173809 0 0 0 0 0 0 0 0 0 0 0 0 0
0.173392 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0.176585 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0.171213 0 0 0 0 0
0 0 0 0.173022 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0.174964 0 0 0 0 0
0 0 0 0 0.17177 0 0 0 0 0 0 0 0 0 0 0 0 0
0.174004 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0.174004 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0.173392 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0.17581 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0.174467 0 0 0 0 0
0 0 0 0.174032 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0.171213 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0.172245 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0.171213 0 0 0 0 0
0 0 0 0 0.173349 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0.172245 0 0 0 0 0
0 0 0 0 0.175626 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0.177733 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0.173809 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0.168742 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0.175043 0 0 0 0 0
0 0.171759 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0.177312 0 0 0 0 0 0
The corresponding filters (this also looks correct as the positions match):
1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0
0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0
0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0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0 0 0 0 0 0 0
0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0
0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0
If you look closely all the values are shifted two places to the left.
This results in incorrect filtered q values since some actions might not
even have a corresponding filter any more. Some rows are all zeros and some
rows will have two targets.
Filtered q values:
0 0 -0 0 0 -0 0 -0 0 0 -0 -0 -0 -0 -0 0 -0 0
0 0 -0 0 0 -0 0 -0 0 0.00185883 -0 -0 -0 -0 -0 0 -0 0
0 0 -0.0725774 0 0 -0 0 -0 0 0 -0 -0 -0 -0 -0 0 -0 0
0 0 -0 0 0 -0 0 -0 0 0.00195366 -0 -0 -0 -0 -0 0 -0 0
0 0 -0.0720046 0 0 -0 0 -0 0 0 -0 -0 -0 -0 -0 0 -0 0
0 0 -0 0 0 -0 0 -0 0 0.00185883 -0 -0 -0 -0 -0 0 -0 0
0 0 -0.0729674 0 0 -0 0 -0 0 0 -0 -0 -0 -0 -0 0 -0 0
0 0 -0.0723516 0 0 -0 0 -0 0 0 -0 -0 -0 -0 -0 0 -0.0462732 0
0 0 -0 0 0 -0 0 -0 0 0 -0 -0 -0 -0 -0 0 -0 0.186157
0 0 -0 0 0 -0 0 -0 0 0 -0 -0 -0 -0 -0 0 -0 0
0 0 -0 0 0 -0 0 -0 0 0 -0.0137082 -0 -0 -0 -0 0 -0 0
0 0.0343856 -0 0 0 -0 0 -0 0 0 -0 -0 -0 -0 -0 0 -0 0
0 0 -0 0 0 -0 0 -0 0 -0 -0.0133068 -0 -0 -0 -0 0 -0 0
0 0 -0.0729674 0 0 -0 0 -0 0 0 -0 -0 -0 -0 -0 0 -0.0423569 0
0 0 -0 0 0 -0 0 -0 0 0 -0 -0 -0 -0 -0 0 -0.0423569 0
0 0 -0 0 0 -0 0 -0 0 0 -0 -0 -0 -0 -0 0 -0.0462732 0
0 0 -0 0 0 -0 0 -0 0 0 -0 -0 -0 -0 -0 0 -0 0
0 0.0324558 -0 0 0 -0 0 -0 0 0 -0 -0 -0 -0 -0 0 -0 0
0 0 -0 0 0 -0 0 -0 0 0 -0.014098 -0 -0 -0 -0 0 -0 0
0 0.0291945 -0 0 0 -0 0 -0 0 0 -0 -0 -0 -0 -0 0 -0 0
0 0 -0 0 0 -0 0 -0 0 0 -0.0137082 -0 -0 -0 -0 0 -0 0
0 0 -0 0 0 -0 0 -0 0 0 -0.0111855 -0 -0 -0 -0 0 -0 0
0 0 -0 0 0 -0 0 -0 0 0 -0.0137082 -0 -0 -0 -0 0 -0 0
0 0 -0.069723 0 0 -0 0 -0 0 0 -0 -0 -0 -0 -0 0 -0 0
0 0 -0 0 0 -0 0 -0 0 0 -0.0111855 -0 -0 -0 -0 0 -0 0
0 0 -0.0663748 0 0 -0 0 -0 0 0 -0 -0 -0 -0 -0 0 -0 0
0 0.0305264 -0 0 0 -0 0 -0 0 0 -0 -0 -0 -0 -0 0 -0 0
0 0 -0.0723516 0 0 -0 0 -0 0 0 -0 -0 -0 -0 -0 0 -0 0
0 0 -0 0 0 -0 0 -0 0 -0.00127689 -0 -0 -0 -0 -0 0 -0 0
0 0 -0 0 0 -0 0 -0 0 0 -0.0107717 -0 -0 -0 -0 0 -0 0.180422
0 0 -0 0 0 -0 0 -0 0 0 -0 -0 -0 -0 -0 0 -0 0
0 0 -0 0 0 -0 0 -0 0 0.00185883 -0 -0 -0 -0 -0 0 4.17635e-38 0
—
Reply to this email directly or view it on GitHub
https://github.com/muupan/dqn-in-the-caffe/issues/12#issuecomment-165862291
.

How to save the model？

Hi,
In the file models/fast_dqn_solver.prototxt there are the lines:
snapshot intermediate results
snapshot: 1000000
snapshot_prefix: "model/dqn"
Currently every 1M steps the model is saved.  You can modify this to save
it at some other interval.
-Peter
On Mon, Mar 14, 2016 at 8:43 AM, jiutiandiwang<EMAIL_ADDRESS>wrote:

How to save the model？
—
Reply to this email directly or view it on GitHub
https://github.com/muupan/dqn-in-the-caffe/issues/12#issuecomment-196375027
.

I have got the same problem. heck failed: bottom[0]->shape() == bottom[i]->shape() bottom[0]: 1 1 100 20 20 (40000), bottom[1]: 1 1 20 20 20 (8000)
What do you mean by inner-product layer ? how to solve it? @omgteam


Grabcuts results vertex_table not populating

The source of this problem is described in #287
In GrabCuts.ipynb, the Grabcuts results display needs to have the path_type specified like this:
annotator = PolyAnnotator(path_type=hv.Path, polys=dashboard.result). As its currently written, the vertex table will not populate.

unable to reproduce.


fix: cache issues (in event pages)

HH-239. ApolloProviders were used wrongly

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@ca81378). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #15   +/-   ##
=======================================
  Coverage        ?   66.78%
=======================================
  Files           ?      120
  Lines           ?     2827
  Branches        ?      574
=======================================
  Hits            ?     1888
  Misses          ?      934
  Partials        ?        5

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Update qscout tutorial notebook

Address #463 as a sample notebook. Mainly added more descriptions to the existing notebooks, sometimes pulling from existing examples. The css and qss versions of the notebook are modeled to be nearly identical.

@bharat-thotakura a couple nits:

There are a few "lets" that I think should be "let's"
I think it would be nice for the qscout.rst file to have a brief description before listing the links
Remove "For those who’d like to follow along, you can try the code out on our Jupyter Hub."

Why does the second code block have the user balance?

@bharat-thotakura a couple nits:

There are a few "lets" that I think should be "let's"
I think it would be nice for the qscout.rst file to have a brief description before listing the links
Remove "For those who’d like to follow along, you can try the code out on our Jupyter Hub."

Why does the second code block have the user balance?

Typos fixed
Sure, do you mean the qscout links or installing qiskit/cirq-superstaq? And do you have any suggestions on the text that should definitely be there or would be particularly helpful?
That was a remnant of the old existing notebooks, now removed.
I saw that the AQT docs notebooks had it, so I thought to maybe include it. But if the notebook is primarily for viewing on docs then it's probably not necessary. Removed now.

@stephanielee9
I have updated docs/source/optimizations/qscout/qscout.rst with a template introductory description, but I'm not sure I have enough knowledge on QSCOUT to provide a concise description of our exact engagement/relationship with QSCOUT. Maybe @richrines1 can help with that? Currently, I've left a placeholder [INSERT] for it.
As for the "Running cells with '/bin/python3.10' requires the ipykernel package" message, I think I've removed that error description in the notebook content. Seems to have been a byproduct of changing from my local kernel to a standard Python kernel that does not have ipykernel installed.

Nice! If @richrines1 has anything to add to the description, that'd be great, but otherwise it looks good for now. Could you update a couple things?

It may just be my IDE but I think there's an extra line break between "simulate" and "circuits" in "how to get started with using Superstaq to compile, optimize, and simulate circuits". I think also one right before "By the end, we will..."
For "We will go over the process of setting up a superstaq provider", maybe capitalize Superstaq or make it inline code?
The links to the notebooks seem to be in a weird spot right now / a little bit hard to notice. Maybe move the `... toctree::`` section between the last sentence of of the description and the References heading and / or give the toctree a heading
Move the References to the h2 heading level (it's currently showing up in the sidebar) (e.g., use - instead of = under the title)

@stephanielee9
Fixed the layout issues you brought up in 4b6949a. Let me know if there's anything else.

@stephanielee9 @richrines1
I've added a pip install cell to the notebooks, if that looks fine then this PR can probably be merged now.

sorry two more things:

qscout assumes we measure every qubit in the circuit so we should probably do so in all of the example circuits (currently a few of the example circuits have measurements on only one of two qubits, but this conflicts with the jaqal programs (which end with "measure_all"))
in the examples in which swap mirroring actually inserts a swap, can we add a line like "note that the classical bits (qiskit) / keys (cirq) associated with each measurement have been swapped in the compiled circuit"?


Allow authorized users to add findings, allow users to be staff of only certain products

Is your feature request related to a problem? Please describe
A clear and concise description of what the problem is.
In the new permissions for users to be able to edit and delete findings, is it possible to allow them to enter findings, for example if we give access to a user and that the user is technical and needs to enter findings, is it possible to be able to indicate that within django in the permissions?
Because staff have access to all products when we want to give specific access to a product.
Describe the solution you'd like
An effective solution could be:

Allow users to (add) edit and delete already own it in version 1.7.0. And if you need to be able to change them, example: I want you to just edit but not delete or just add. I don't know if django allows to have unbundled permissions or they should do it in a permission table with permission id. This applies to a user who is pentest but with minimal permissions.
Allow the staff what product they can see and likewise change the permissions. Because they can see staff users that you only require to see x product and edit those products.

Additional context
I hope with this to give you a good feedback and you can take into consideration the points that you indicate.
Thank you very much

This exist in the version 1.7.1 you have to change the setting in the settings.py file.

Not sure if I understand all the requirements:

Request to allow users with change permission to add findings: Currently not possible, but could be added
Request to allow users to be staff users only for certain products: This is more or less implemented in #2765

I think this can be closed, per https://github.com/DefectDojo/django-DefectDojo/pull/2765?
@undelete, can you confirm?

new permission system in the works, which will support this.

The foundations were laid with #4503 and #4530, @Hijerboa is currently working on the UI.

fixed in dev / 2.0.0


Link to updated logo

https://lists.w3.org/Archives/Public/spec-prod/2016JanMar/0036.html

I can't do this until https://github.com/w3c/tr-design/issues/67 is addressed.

Addressed by marking wontfix... Reopen if you've got additional information to consider.

Fixed (by @zcorpan, yay!).


Add support for dockcross/manylinux2014-aarch64 image

Following up on https://github.com/dockcross/dockcross/pull/766#issuecomment-1412832462, add support for ARM platform with manylinux2014 toolset

From discussion in https://github.com/InsightSoftwareConsortium/ITKElastix/pull/190#issuecomment-1431743047:

The manylinux2014 build would replace the current manylinux_2_28 build. We could also create manylinux_2_28 equivalent by adjusting the glibc / c++ standard library version of the dockcross crosstool-ng configuration.

I'm not familiar with this process, would adjusting the crosstool-ng configuration take place in our scripts or would a dockcross/manylinux_2_28-aarch64 image need to be published?

dockcross/manylinux_2_28-aarch64 image

:+1: yes
Changing, e.g.
https://github.com/dockcross/dockcross/blob/2dd9a1cb1c82e4c35a802ead61d3f98000878013/manylinux2014-aarch64/crosstool-ng.config#L410
and
https://github.com/dockcross/dockcross/blob/2dd9a1cb1c82e4c35a802ead61d3f98000878013/manylinux2014-aarch64/crosstool-ng.config#L515

@thewtex Could you please comment on the current status of dockcross/manylinux2014-aarch64? I see that new tags have been released on DockerHub this month. Do you know whether the most recent build is stable for use in building aarch64 ITK module wheels?
Prompted by offline inquiry from @aylward .

There are still a few details that need to resolved for the cross compiler, e.g. https://github.com/dockcross/dockcross/issues/778.


Transform widget is not rendered if a FilterQuality is set

This simple code is a Transform widget that transforms a box.
If we don't set a filterQuality parameter, it is ok.

But if we set a filterQuality to it.

The result will be incorrect :

Hi @mohammadtaherri, thanks for filing the issue.
Please provide the output of flutter doctor -v.
Thank you

Hi @mohammadtaherri, thanks for filing the issue.
Please provide the output of flutter doctor -v.
Thank you

Issue is reproducible on latest stable and master.

code sample
import 'dart:math';

import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key, required this.title}) : super(key: key);

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Transform(
          filterQuality: FilterQuality.medium,
          alignment: Alignment.center,
          transformHitTests: true,
          transform: Matrix4.diagonal3Values(2, 2, 0)..rotateZ(pi / 4),
          child: ConstrainedBox(
            constraints: BoxConstraints.tight(const Size(50, 75)),
            child: const ColoredBox(color: Colors.orange),
          ),
        ),
      ),
    );
  }
}

screenshots

without FilterQuality
with FilterQuality

flutter doctor -v
[✓] Flutter (Channel stable, 2.8.0, on macOS 11.6 20G165 darwin-arm, locale en-GB)
    • Flutter version 2.8.0 at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision cf44000065 (5 days ago), 2021-12-08 14:06:50 -0800
    • Engine revision 40a99c5951
    • Dart version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[☠] IntelliJ IDEA Community Edition (the doctor check crashed)
    ✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at
      https://github.com/flutter/flutter/issues.
    ✗ FormatException: Unexpected extension byte (at offset 5)
    • #0      _Utf8Decoder.convertSingle (dart:convert-patch/convert_patch.dart:1789:7)
      #1      Utf8Decoder.convert (dart:convert/utf.dart:318:42)
      #2      InputStream.readString (package:archive/src/util/input_stream.dart:207:30)
      #3      new ZipDirectory.read (package:archive/src/zip/zip_directory.dart:40:30)
      #4      ZipDecoder.decodeBuffer (package:archive/src/zip_decoder.dart:19:30)
      #5      ZipDecoder.decodeBytes (package:archive/src/zip_decoder.dart:14:12)
      #6      IntelliJPlugins._findPluginXml (package:flutter_tools/src/intellij/intellij.dart:130:44)
      #7      IntelliJPlugins._readPackageVersion (package:flutter_tools/src/intellij/intellij.dart:141:40)
      #8      IntelliJPlugins.validatePackage (package:flutter_tools/src/intellij/intellij.dart:63:35)
      #9      IntelliJValidator.validate (package:flutter_tools/src/intellij/intellij_validator.dart:103:15)
      #10     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:111:32)
      #11     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:109:18)
      #12     _rootRun (dart:async/zone.dart:1428:13)
      #13     _CustomZone.run (dart:async/zone.dart:1328:19)
      #14     _runZoned (dart:async/zone.dart:1863:10)
      #15     runZonedGuarded (dart:async/zone.dart:1851:12)
      #16     runZoned (dart:async/zone.dart:1782:12)
      #17     asyncGuard (package:flutter_tools/src/base/async_guard.dart:109:3)
      #18     Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:197:9)
      #19     Doctor.diagnose (package:flutter_tools/src/doctor.dart:301:47)
      #20     DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:53:47)
      #21     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1290:12)
      <asynchronous suspension>
      #22     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1140:27)
      <asynchronous suspension>
      #23     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #24     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
      <asynchronous suspension>
      #25     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)
      <asynchronous suspension>
      #26     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #27     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
      <asynchronous suspension>
      #28     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
      <asynchronous suspension>
      #29     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #30     main (package:flutter_tools/executable.dart:94:3)
      <asynchronous suspension>

[✓] VS Code (version 1.62.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.29.0

[✓] Connected device (3 available)
    • iPhone 13 (mobile) • 7515F01A-C1B6-456E-8559-8D2383D3719D • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
    • macOS (desktop)    • macos                                • darwin-arm64   • macOS 11.6 20G165 darwin-arm
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 96.0.4664.93

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 2.6.0-12.0.pre.1002, on macOS 11.6 20G165 darwin-arm, locale en-GB)
    • Flutter version 2.6.0-12.0.pre.1002 at /Users/nexus/dev/sdks/flutters
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 9de8849905 (9 hours ago), 2021-12-12 20:54:15 -0500
    • Engine revision f16c96c31f
    • Dart version 2.16.0 (build 2.16.0-85.0.dev)
    • DevTools version 2.9.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[☠] IntelliJ IDEA Community Edition (the doctor check crashed)
    ✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at https://github.com/flutter/flutter/issues.
    ✗ FormatException: Unexpected extension byte (at offset 5)
    • #0      _Utf8Decoder.convertSingle (dart:convert-patch/convert_patch.dart:1789:7)
      #1      Utf8Decoder.convert (dart:convert/utf.dart:351:42)
      #2      InputStream.readString (package:archive/src/util/input_stream.dart:207:30)
      #3      new ZipDirectory.read (package:archive/src/zip/zip_directory.dart:40:30)
      #4      ZipDecoder.decodeBuffer (package:archive/src/zip_decoder.dart:19:30)
      #5      ZipDecoder.decodeBytes (package:archive/src/zip_decoder.dart:14:12)
      #6      IntelliJPlugins._findPluginXml (package:flutter_tools/src/intellij/intellij.dart:130:44)
      #7      IntelliJPlugins._readPackageVersion (package:flutter_tools/src/intellij/intellij.dart:141:40)
      #8      IntelliJPlugins.validatePackage (package:flutter_tools/src/intellij/intellij.dart:63:35)
      #9      IntelliJValidator.validate (package:flutter_tools/src/intellij/intellij_validator.dart:103:15)
      #10     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:111:32)
      #11     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:109:18)
      #12     _rootRun (dart:async/zone.dart:1426:13)
      #13     _CustomZone.run (dart:async/zone.dart:1328:19)
      #14     _runZoned (dart:async/zone.dart:1861:10)
      #15     runZonedGuarded (dart:async/zone.dart:1849:12)
      #16     runZoned (dart:async/zone.dart:1780:12)
      #17     asyncGuard (package:flutter_tools/src/base/async_guard.dart:109:3)
      #18     Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:198:9)
      #19     Doctor.diagnose (package:flutter_tools/src/doctor.dart:302:47)
      #20     DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:50:48)
      #21     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1320:12)
      <asynchronous suspension>
      #22     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1161:27)
      <asynchronous suspension>
      #23     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #24     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
      <asynchronous suspension>
      #25     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
      <asynchronous suspension>
      #26     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #27     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
      <asynchronous suspension>
      #28     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
      <asynchronous suspension>
      #29     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #30     main (package:flutter_tools/executable.dart:94:3)
      <asynchronous suspension>

[✓] VS Code (version 1.62.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.29.0

[✓] Connected device (3 available)
    • iPhone 13 (mobile) • 7515F01A-C1B6-456E-8559-8D2383D3719D • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
    • macOS (desktop)    • macos                                • darwin-arm64   • macOS 11.6 20G165 darwin-arm
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 96.0.4664.93

! Doctor found issues in 1 category.

SN: @mohammadtaherri please refrain from posting screenshots of code snippets. It is always better if you actually just copy and paste the code snippets and other log samples rather than to post a screenshot here.

thanks you very much @danagbemava-nc .
i have fixed this issue and i have sent a PR  (#95153)

@danagbemava-nc
You have changed the title of this issue to  : Transform widget is not rendered if a Filter Quality is set #95091.
But it is not, if we set a filterQuality, the Trasform widget is still rendered, but RenderTransform use an ImageFilterLayer rather than TransformLayer in this case.
when filterQuality is not set,RenderTransform use pushTransfrom and it push a TransformLayer. the pushTransfrom applies the offset argument that has been passed to the paint method.
The following code is pushTransfrom method in PaintingContext.
TransformLayer? pushTransform(bool needsCompositing, Offset offset,
     Matrix4 transform, PaintingContextCallback painter,
     {TransformLayer? oldLayer}) {
   final Matrix4 effectiveTransform =
       Matrix4.translationValues(offset.dx, offset.dy, 0.0)
         ..multiply(transform)
         ..translate(-offset.dx, -offset.dy);
   if (needsCompositing) {
     final TransformLayer layer = oldLayer ?? TransformLayer();
     layer.transform = effectiveTransform;
     pushLayer(
       layer,
       painter,
       offset,
       childPaintBounds: MatrixUtils.inverseTransformRect(
           effectiveTransform, estimatedBounds),
     );
     return layer;
   } else {
     canvas
       ..save()
       ..transform(effectiveTransform.storage);
     painter(this, offset);
     canvas.restore();
     return null;
   }
 }

offset is applied and produce effectiveTransform and then effectiveTransform is paased to pushLayer.
But if we set a non-null filterQuality, RenderTransfoem's paint method use a ImageFilterLayer.
@override
  void paint(PaintingContext context, Offset offset) {
    if (child != null) {
      final Matrix4 transform = _effectiveTransform!;
      if (filterQuality == null) {
        final Offset? childOffset = MatrixUtils.getAsTranslation(transform);
        if (childOffset == null) {
          layer = context.pushTransform(
            needsCompositing,
            offset,
            transform,
            super.paint,
            oldLayer: layer is TransformLayer ? layer as TransformLayer? : null,
          );
        } else {
          super.paint(context, offset + childOffset);
          layer = null;
        }
      } else {

        final ui.ImageFilter filter = ui.ImageFilter.matrix(
          transformstorage,
          filterQuality: filterQuality!,
        );
        if (layer is ImageFilterLayer) {
          final ImageFilterLayer filterLayer = layer! as ImageFilterLayer;
          filterLayer.imageFilter = filter;
        } else {
          layer = ImageFilterLayer(imageFilter: filter);
        }
        context.pushLayer(layer!, super.paint, offset);
      }
    }
  }

But in this case offset is not applied.
Therefor I sent a PR to fix it.(#95153)

Thanks for the feedback.
In the future, kindly provide a more accurate title when you're filing an issue.
Thank you

I just ran across this myself today and was about to submit an issue. I've prepared a fix in https://github.com/flutter/flutter/pull/95432


Research React CSS Framework

We want an easy to use framework so we don't develop everything ourselves, and the look and feel of the app is more standardized

Based on the number of stars and popularity I recommend Bootstrap in combination with React-Table library in combination with.  material-ui also gets mentioned a lot, it has advanced features but I have heard it is complicated to use.
Here are some articles:

[Top 5 React Table Libraries] (https://blog.logrocket.com/the-top-react-table-libraries-to-use-in-2021/)
(I don't agree that React is lacking in documentation - maybe the authors did not produce documentation but other people have)
Column resizing in React Table
Statistics on react table

Shayan's suggestion (copied from Slack to document it here):
For a data table library, here's a neat open source one I found that you could look into: https://grid.glideapps.com/

Decided on styled components and SemanticUI


Rounded corners for docked mode

Fixes #34
Set cornerRadius to 5.0.

but since the docked mode is not using a window frame, we will have to implement the rounded corners for the bottom left/right manually.

It should only be round on the edge that is not touching the screen edge. In your screenshot, it should only have rounded top-left and top-right corners.

Oh, ok I will try to do that

(To inject some subjective opinion/feature creep, it would be great to eventually be able to specify a distance from the edge of the screen and have all 4 corners be rounded if this is true!)

@sindresorhus I updated it

If I set "Dock to Bottom", then restart the app, and then select "Dock to Top", there's some kind of visual glitch:

@DeveloperBen Friendly bump :)

This also needs to use corner radius on all 4 sides when docked with a padding: https://github.com/sindresorhus/touch-bar-simulator/pull/63

Any update on this? What's missing? Why is this not merged?


Updating http reference in composer.json to https

Sorry original PR was branched from a branch.
The composer file references http://wpackagist.org however that causes an error when doing composer install due to https://getcomposer.org/doc/06-config.md#secure-http.
Fix just changes the reference to https

One of the tests failed but all the others went through okay, think it's just an anomaly?

Yeah, there are sometimes random failures due to timeouts with packagist and such. I'm re-running it now

All went through okay now so merging. Thanks


simplify cli for 'list' command

use Clap's built-in ArgEnum trait, rather than implementing this manually

Hey @danieleades, I hope you're doing OK :). Would you mind if I took over the PR and completed it, or would you like to make the requested changes?

Hey @danieleades, I hope you're doing OK :). Would you mind if I took over the PR and completed it, or would you like to make the requested changes?

i won't get a chance to look at this for a couple of weeks, i think. i don't mind either way


Repo Usage

https://ext.pigsty.io/?#/usage
Pigsty Extension Repo

Maybe we can add a description about mirror site repo.pigsty.cc


mysql collection

Hi,
I am very new to meteor and I am trying to get a MySql select to put the results into a meteor-tabular
When I try to use numtel:mysql I keep getting an
Error: Tabular.Table options must specify collection
wBooks = new MysqlSubscription("theBooks");
When I switch to mongo.collection everything works
wBooks = new Mongo.Collection("theBooks");
This is my MySQL
Meteor.publish('theBooks', function() {
return liveDb.select(
'SELECT'
+'   title'
+' , author'
+' , url'
+' FROM ZBooks',
[ { table: 'ZBooks' } ]
);
});

Closing old issues.


Replace github-markdown with github-markup

From https://github.com/Starkast/wikimum/issues/51

We use github-markdown, and in my quest to look up in the documentation if we can do this, I saw on their rubygems.org page:

THIS GEM IS NOT MAINTAINED AND NOT SUPPORTED. Self-contained Markdown parser for GitHub, with all our custom extensions

Explains why I didn't find any repo for github-markdown.
I think we can replace github-markdown with https://github.com/github/markup.

Related: https://dependencyci.com/github/Starkast/wikimum

Ah, the switch isn't that easy, as we use github-markdown via html-pipeline: https://github.com/jch/html-pipeline/issues/246
https://github.com/gjtorikian/commonmarker

Uh, we seem to have much content not compatible with CommonMark. (Use http://spec.commonmark.org/dingus/ to test)

But https://github.com/github/markup takes care of that... :)


Update Instruction

More clear description about compute access.Add print screen may be
About the brackets: use env vars

Correct me if I am wrong but I thought we decided that the joining instructions are not to be included in the repo!

No, because that is for the workshops. But we decided the points I mentioned. Once it is complete, I will move this file to another repo.

From: saeed sadri<EMAIL_ADDRESS>Sent: 05 February 2021 14:40
To: MetOffice/PyPRECIS<EMAIL_ADDRESS>Cc: Maalick, Zubair<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [MetOffice/PyPRECIS] Update Instruction (#77)
This email was received from an external source.   Always check sender details, links & attachments.
Correct me if I am wrong but I thought we decided that the joining instructions are not to be included in the repo!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/MetOffice/PyPRECIS/issues/77#issuecomment-774072504, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AN2CPNCNUOQ3QTPZOL6ETFDS5P7NPANCNFSM4XCXXXNQ.

@zmaalick - can we close this or are there actions we need to take still?


Funky fonts displayed after upgrading

After upgrading arch by pacman -Syyu about 20 minutes ago, st displays fonts weirdly. I can provide images if needed. In words, instead of
[me@my-laptop ~] $

it displays
[ m e @ m y - l a p t o p  ~ ]  $

This affects other terminal programs (e.g. ranger) as well.
# I include what was upgraded here.

[2020-03-28T16:18:42-0400] [PACMAN] Running 'pacman -Syyu'
[2020-03-28T16:18:42-0400] [PACMAN] synchronizing package lists
[2020-03-28T16:19:02-0400] [PACMAN] starting full system upgrade
[2020-03-28T16:27:30-0400] [PACMAN] Running 'pacman -S'
[2020-03-28T16:27:39-0400] [PACMAN] Running 'pacman -Syuu'
[2020-03-28T16:27:39-0400] [PACMAN] synchronizing package lists
[2020-03-28T16:27:42-0400] [PACMAN] Running 'pacman -Syyu'
[2020-03-28T16:27:42-0400] [PACMAN] synchronizing package lists
[2020-03-28T16:28:55-0400] [ALPM] running '60-mkinitcpio-remove.hook'...
[2020-03-28T16:28:55-0400] [ALPM] running '70-dkms-remove.hook'...
[2020-03-28T16:28:55-0400] [ALPM] running 'ghc-unregister.hook'...
[2020-03-28T16:28:58-0400] [ALPM] transaction started
[2020-03-28T16:28:58-0400] [ALPM] upgraded calcurse (4.5.1-1 -> 4.6.0-1)
[2020-03-28T16:28:58-0400] [ALPM] upgraded dav1d (0.5.2-1 -> 0.6.0-1)
[2020-03-28T16:28:58-0400] [ALPM] upgraded systemd-libs (245.2-2 -> 245.3-1)
[2020-03-28T16:28:58-0400] [ALPM] upgraded device-mapper (2.02.186-5 -> 2.02.187-1)
[2020-03-28T16:28:58-0400] [ALPM] upgraded e2fsprogs (1.45.5-1 -> 1.45.6-1)
[2020-03-28T16:28:58-0400] [ALPM] upgraded libbluray (1.1.2-1 -> 1.2.0-1)
[2020-03-28T16:28:58-0400] [ALPM] upgraded hwids (20200204-1 -> 20200306-1)
[2020-03-28T16:28:58-0400] [ALPM] upgraded krb5 (1.17.1-1 -> 1.18-1)
[2020-03-28T16:28:58-0400] [ALPM] upgraded systemd (245.2-2 -> 245.3-1)
[2020-03-28T16:28:59-0400] [ALPM] upgraded ffmpeg (1:4.2.2-3 -> 1:4.2.2-4)
[2020-03-28T16:28:59-0400] [ALPM] upgraded gd (2.2.5-2 -> 2.3.0-1)
[2020-03-28T16:28:59-0400] [ALPM] upgraded git (2.25.2-1 -> 2.26.0-1)
[2020-03-28T16:28:59-0400] [ALPM] upgraded glib-networking (2.64.0-1 -> 2.64.1-1)
[2020-03-28T16:28:59-0400] [ALPM] upgraded libsigc++ (2.10.2-1 -> 2.10.3-1)
[2020-03-28T16:28:59-0400] [ALPM] upgraded glibmm (2.64.1-1 -> 2.64.2-1)
[2020-03-28T16:28:59-0400] [ALPM] upgraded gnupg (2.2.19-1 -> 2.2.20-1)
[2020-03-28T16:28:59-0400] [ALPM] upgraded gmime3 (3.2.6-1 -> 3.2.7-1)
[2020-03-28T16:28:59-0400] [ALPM] upgraded librsvg (2:2.48.0-1 -> 2:2.48.1-1)
[2020-03-28T16:28:59-0400] [ALPM] upgraded gtk-update-icon-cache (1:3.24.14+9+g429a6287e0-1 -> 1:3.24.16-1)
[2020-03-28T16:28:59-0400] [ALPM] upgraded gtk3 (1:3.24.14+9+g429a6287e0-1 -> 1:3.24.16-1)
[2020-03-28T16:29:00-0400] [ALPM] upgraded haskell-aeson (<IP_ADDRESS>-1 -> <IP_ADDRESS>-1)
[2020-03-28T16:29:00-0400] [ALPM] upgraded haskell-aeson-pretty (0.8.8-28 -> 0.8.8-29)
[2020-03-28T16:29:00-0400] [ALPM] upgraded haskell-asn1-types (0.3.3-31 -> 0.3.4-1)
[2020-03-28T16:29:00-0400] [ALPM] upgraded haskell-asn1-encoding (0.9.6-21 -> 0.9.6-22)
[2020-03-28T16:29:00-0400] [ALPM] upgraded haskell-asn1-parse (0.9.5-21 -> 0.9.5-22)
[2020-03-28T16:29:00-0400] [ALPM] upgraded haskell-x509 (1.7.5-53 -> 1.7.5-54)
[2020-03-28T16:29:00-0400] [ALPM] upgraded haskell-x509-store (1.6.7-52 -> 1.6.7-53)
[2020-03-28T16:29:00-0400] [ALPM] upgraded haskell-x509-validation (1.6.11-52 -> 1.6.11-53)
[2020-03-28T16:29:00-0400] [ALPM] upgraded haskell-tls (1.5.4-6 -> 1.5.4-7)
[2020-03-28T16:29:00-0400] [ALPM] upgraded haskell-x509-system (1.6.6-120 -> 1.6.6-121)
[2020-03-28T16:29:00-0400] [ALPM] upgraded haskell-connection (0.3.1-26 -> 0.3.1-27)
[2020-03-28T16:29:00-0400] [ALPM] upgraded haskell-doctemplates (0.8.1-11 -> 0.8.1-12)
[2020-03-28T16:29:00-0400] [ALPM] upgraded haskell-haddock-library (1.8.0-40 -> 1.8.0-41)
[2020-03-28T16:29:00-0400] [ALPM] upgraded haskell-network-uri (<IP_ADDRESS>-47 -> <IP_ADDRESS>-49)
[2020-03-28T16:29:00-0400] [ALPM] upgraded haskell-http (4000.3.14-151 -> 4000.3.14-153)
[2020-03-28T16:29:00-0400] [ALPM] upgraded haskell-http-client (<IP_ADDRESS>-20 -> <IP_ADDRESS>-22)
[2020-03-28T16:29:00-0400] [ALPM] upgraded haskell-http-client-tls (<IP_ADDRESS>-205 -> <IP_ADDRESS>-207)
[2020-03-28T16:29:00-0400] [ALPM] upgraded haskell-hxt (<IP_ADDRESS>-47 -> <IP_ADDRESS>-49)
[2020-03-28T16:29:00-0400] [ALPM] upgraded haskell-ipynb (0.1-161 -> 0.1-162)
[2020-03-28T16:29:00-0400] [ALPM] upgraded haskell-jira-wiki-markup (1.1.3-1 -> 1.1.4-1)
[2020-03-28T16:29:00-0400] [ALPM] upgraded haskell-pandoc-types (1.20-25 -> 1.20-26)
[2020-03-28T16:29:00-0400] [ALPM] upgraded haskell-skylighting-core (<IP_ADDRESS>-45 -> <IP_ADDRESS>-47)
[2020-03-28T16:29:00-0400] [ALPM] upgraded haskell-skylighting (<IP_ADDRESS>-45 -> <IP_ADDRESS>-47)
[2020-03-28T16:29:00-0400] [ALPM] upgraded haskell-texmath (<IP_ADDRESS>-38 -> <IP_ADDRESS>-40)
[2020-03-28T16:29:00-0400] [ALPM] upgraded imagemagick (<IP_ADDRESS>-1 -> <IP_ADDRESS>-2)
[2020-03-28T16:29:00-0400] [ALPM] upgraded libwacom (1.2-1 -> 1.3-1)
[2020-03-28T16:29:00-0400] [ALPM] upgraded kirigami2 (5.68.0-1 -> 5.68.0-2)
[2020-03-28T16:29:00-0400] [ALPM] upgraded libdca (0.0.6-1 -> 0.0.7-1)
[2020-03-28T16:29:00-0400] [ALPM] upgraded libdvdread (6.0.2-1 -> 6.1.0-1)
[2020-03-28T16:29:00-0400] [ALPM] upgraded libdvdnav (6.0.1-1 -> 6.1.0-1)
[2020-03-28T16:29:00-0400] [ALPM] upgraded libev (4.31-1 -> 4.33-1)
[2020-03-28T16:29:00-0400] [ALPM] upgraded libmagick6 (<IP_ADDRESS>-1 -> <IP_ADDRESS>-1)
[2020-03-28T16:29:00-0400] [ALPM] upgraded libmypaint (1.4.0-1 -> 1.5.1-1)
[2020-03-28T16:29:00-0400] [ALPM] upgraded libwbclient (4.10.10-2 -> 4.11.3-2)
[2020-03-28T16:29:02-0400] [ALPM] upgraded linux (5.5.10.arch1-1 -> 5.5.13.arch1-1)
[2020-03-28T16:29:06-0400] [ALPM] upgraded linux-headers (5.5.10.arch1-1 -> 5.5.13.arch1-1)
[2020-03-28T16:29:06-0400] [ALPM] upgraded lvm2 (2.02.186-5 -> 2.02.187-1)
[2020-03-28T16:29:06-0400] [ALPM] upgraded ndctl (67-1 -> 68-1)
[2020-03-28T16:29:06-0400] [ALPM] upgraded netpbm (10.73.30-1 -> 10.73.31-1)
[2020-03-28T16:29:06-0400] [ALPM] upgraded newsboat (2.18-1 -> 2.19-1)
[2020-03-28T16:29:06-0400] [ALPM] upgraded nodejs (13.11.0-1 -> 13.12.0-1)
[2020-03-28T16:29:06-0400] [ALPM] upgraded noto-fonts-emoji (20191016-4 -> 20191016-6)
[2020-03-28T16:29:07-0400] [ALPM] upgraded npm (6.14.3-1 -> 6.14.4-1)
[2020-03-28T16:29:07-0400] [ALPM] upgraded pandoc (2.9.2-72 -> 2.9.2-75)
[2020-03-28T16:29:07-0400] [ALPM] upgraded pangomm (2.42.0-1 -> 2.42.1-2)
[2020-03-28T16:29:07-0400] [ALPM] upgraded python-setuptools (1:46.1.1-1 -> 1:46.1.3-1)
[2020-03-28T16:29:07-0400] [ALPM] upgraded smbclient (4.10.10-2 -> 4.11.3-2)
[2020-03-28T16:29:07-0400] [ALPM] upgraded systemd-sysvcompat (245.2-2 -> 245.3-1)
[2020-03-28T16:29:07-0400] [ALPM] upgraded ttf-inconsolata (1:<IP_ADDRESS>-3 -> 1:3.000-2)
[2020-03-28T16:29:08-0400] [ALPM] upgraded vlc (3.0.8-10 -> 3.0.8-11)
[2020-03-28T16:29:08-0400] [ALPM] upgraded xfsprogs (5.4.0-1 -> 5.5.0-1)
[2020-03-28T16:29:08-0400] [ALPM] upgraded youtube-dl (2020.03.08-1 -> 2020.03.24-1)
[2020-03-28T16:29:08-0400] [ALPM] transaction completed
[2020-03-28T16:29:09-0400] [ALPM] running '20-systemd-sysusers.hook'...
[2020-03-28T16:29:09-0400] [ALPM] running '30-systemd-catalog.hook'...
[2020-03-28T16:29:09-0400] [ALPM] running '30-systemd-daemon-reload.hook'...
[2020-03-28T16:29:09-0400] [ALPM] running '30-systemd-hwdb.hook'...
[2020-03-28T16:29:10-0400] [ALPM] running '30-systemd-sysctl.hook'...
[2020-03-28T16:29:10-0400] [ALPM] running '30-systemd-tmpfiles.hook'...
[2020-03-28T16:29:10-0400] [ALPM] running '30-systemd-udev-reload.hook'...
[2020-03-28T16:29:10-0400] [ALPM] running '30-systemd-update.hook'...
[2020-03-28T16:29:10-0400] [ALPM] running '60-depmod.hook'...
[2020-03-28T16:29:18-0400] [ALPM] running '70-dkms-install.hook'...
[2020-03-28T16:29:18-0400] [ALPM-SCRIPTLET] ==> dkms install digimend-kernel-drivers/9.r75.gcaf0fdd -k 5.5.13-arch1-1
[2020-03-28T16:29:36-0400] [ALPM] running '90-mkinitcpio-install.hook'...
[2020-03-28T16:29:36-0400] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
[2020-03-28T16:29:36-0400] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2020-03-28T16:29:36-0400] [ALPM-SCRIPTLET] ==> Starting build: 5.5.13-arch1-1
[2020-03-28T16:29:36-0400] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2020-03-28T16:29:36-0400] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2020-03-28T16:29:37-0400] [ALPM-SCRIPTLET]   -> Running build hook: [autodetect]
[2020-03-28T16:29:37-0400] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2020-03-28T16:29:37-0400] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2020-03-28T16:29:38-0400] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2020-03-28T16:29:38-0400] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2020-03-28T16:29:39-0400] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2020-03-28T16:29:39-0400] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2020-03-28T16:29:39-0400] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
[2020-03-28T16:29:41-0400] [ALPM-SCRIPTLET] ==> Image generation successful
[2020-03-28T16:29:41-0400] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
[2020-03-28T16:29:41-0400] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2020-03-28T16:29:41-0400] [ALPM-SCRIPTLET] ==> Starting build: 5.5.13-arch1-1
[2020-03-28T16:29:41-0400] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2020-03-28T16:29:41-0400] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2020-03-28T16:29:41-0400] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2020-03-28T16:29:41-0400] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2020-03-28T16:29:43-0400] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: wd719x
[2020-03-28T16:29:43-0400] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
[2020-03-28T16:29:48-0400] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2020-03-28T16:29:49-0400] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2020-03-28T16:29:51-0400] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2020-03-28T16:29:53-0400] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2020-03-28T16:29:53-0400] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
[2020-03-28T16:29:59-0400] [ALPM-SCRIPTLET] ==> Image generation successful
[2020-03-28T16:29:59-0400] [ALPM] running 'dbus-reload.hook'...
[2020-03-28T16:29:59-0400] [ALPM] running 'detect-old-perl-modules.hook'...
[2020-03-28T16:29:59-0400] [ALPM] running 'fontconfig.hook'...
[2020-03-28T16:30:00-0400] [ALPM] running 'gdk-pixbuf-query-loaders.hook'...
[2020-03-28T16:30:00-0400] [ALPM] running 'ghc-register.hook'...
[2020-03-28T16:30:02-0400] [ALPM] running 'gio-querymodules.hook'...
[2020-03-28T16:30:02-0400] [ALPM] running 'glib-compile-schemas.hook'...
[2020-03-28T16:30:02-0400] [ALPM] running 'gtk-query-immodules-3.0.hook'...
[2020-03-28T16:30:02-0400] [ALPM] running 'gtk-update-icon-cache.hook'...
[2020-03-28T16:30:02-0400] [ALPM] running 'texinfo-install.hook'...
[2020-03-28T16:30:02-0400] [ALPM] running 'update-desktop-database.hook'...
[2020-03-28T16:30:02-0400] [ALPM] running 'update-vlc-plugin-cache.hook'...
[2020-03-28T16:30:02-0400] [ALPM] running 'xorg-mkfontscale.hook'...

https://github.com/LukeSmithxyz/LARBS/issues/186


Package request

While we are working on automation please request packages and we will do them manually until we are ready

[ ] postfinance/ngx-ace-editor-wrapper
[ ] ng2-flatpicker
[ ] ngx-plyr
[ ] @circlon/angular-tree-component
[ ] @ctrl/ngx-rightclick
[ ] ngx-swiper-wrapper
[ ] ngx-perfect-scrollbar
[ ] angular-count-to

[ ]  @ionic-native/in-app-purchase
[ ]  @ionic-native/core

🙏

Have you transfered to the new scope @awesome-cordova. It looks like https://danielsogl.gitbook.io/awesome-cordova-plugins/in-app-purchase-2-1 and core is just @awesome-cordova/core we happy to take a look if this isn't case and unmaintained

Have you transfered to the new scope @awesome-cordova. It looks like https://danielsogl.gitbook.io/awesome-cordova-plugins/in-app-purchase-2-1 and core is just @awesome-cordova/core we happy to take a look if this isn't case and unmaintained

@awesome-cordova/core - yes, but https://danielsogl.gitbook.io/awesome-cordova-plugins/in-app-purchase-2-1 is based on a different IAP plugin: https://github.com/j3k0/cordova-plugin-purchase vs https://github.com/AlexDisler/cordova-plugin-inapppurchase
We have migrated everything else, but this

So to be clear it's https://github.com/AlexDisler/cordova-plugin-inapppurchase is the one you are requesting?

[ ] ngx-pipess

Only really updated to angular 14 but has a lot of useful pipes to use (especially in angular flow)

https://github.com/DanielYKPan/date-time-picker

So to be clear it's https://github.com/AlexDisler/cordova-plugin-inapppurchase is the one you are requesting?
Will go back through the repo and find the original plugin that uses the API

Ok, after checking a bit deeper I think we can disregard my request.
Because @ionic-native/in-app-purchase is simply a wrapper around https://github.com/AlexDisler/cordova-plugin-inapppurchase, we can just copy-paste its code, or wrap the original plugin in a different way and not use @ionic-native/in-app-purchase at all.
Thanks for helping me realize that :)

[ ]  ngx-pipess

#9 will bring this one in. This includes @eneajaho standalone migration! its based of his fork for PR

Merged and release

[ ] angular-material-components

I'd like to request this one:

[ ] ng2-image-viewer (Npm / Github)

I don't fully understand the process to migrate a library from View Engine to Ivy.
If you have any steps/tutorial on how to do this manually then I may be able to do it myself and open a PR to this repository. Thanks.

Sorry didn't mean to close this. @s7jones this is now added. We will keep it updated.


Add test and update README.md

more detail on how to install and run the app, add test case for is_upcoming method of activities' class

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Flag
Coverage Δ

unittests
100.00% <100.00%> (?)

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

Files with missing lines
Coverage Δ

activities/models.py
100.00% <100.00%> (ø)

activities/tests/test_activities.py
100.00% <100.00%> (ø)


main and feature branch export

to test the exporting fully on DO. Modifying the workflow to check if the branch Actions is being run on is main or feature branch.

Awesome! Going to test this echoing the spaces variable to the console to check that it's correctly assigned. My only other comment is whether we want to echo all variables passed to the export function in that way

Another comment here is that facDB and pluto get the branch name in bash instead of the github workflow. Might be nicer to use that approach instead

Pushed a commit to fix syntax. I also don't remember why we have export census does but I don't know if we need it? Maybe it could come out in this PR

Maybe export category and census can be two jobs in one build new combined build action?

Another comment here is that facDB and pluto get the branch name in bash instead of the github workflow. Might be nicer to use that approach instead

ah this is what I was looking for. Let me know if the most recent commit makes sense.

Ok I also see that some actions were run from 293-not-latest-from-DO such as this one https://github.com/NYCPlanning/db-equitable-development-tool/actions/runs/2927282419. I think we should also stop running on pushes to the .yml, that's not a good design. I think that can change can come in this PR

made another change on the metadata.py I think I got to the issue with str vs. int. And also got rid of the run on push in yml. Let me know if looks good on your end to merge. Thanks! @SashaWeinstein


Label test resw

Summary of the Pull Request
What is this about?
PR Checklist

[ ] Applies to #xxx
[ ] CLA signed. If not, go over here and sign the CLA
[ ] Tests added/passed
[ ] Requires documentation to be updated
[ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Info on Pull Request
What does this include?
Validation Steps Performed
How does someone test & validate?

https://github.com/alannt777/PowerToys/runs/1372528270?check_suite_focus=true it tried to run. It wasn't particularly excited about it.

Fwiw, I have 2 accounts which I use so that I can do PRs between them for testing. You might consider doing the same if you end up needing a bunch.

@jsoref
I didn't see this PR because I am not subscribed to this repo (you did not mention me either). Well this idea has been scraped so I won't need another PR. Also, It probably did not work because sync-labels must been set to false?

No worries @alannt777. I actually ran into that problem w/ the check-spelling action repository itself.
Fwiw, I'm currently watching microsoft/powertoys, but I'll probably stop next week -- it looks like the spell checker is doing well enough. (I'll respond to @'s if someone needs help).

OFF TOPIC: @jsoref Do you use PowerToys?

At this point, I barely use Windows. I used the original PowerToys.

Ok

PowerRename seems pretty appealing. But I'd have to be actively using Windows (and have interesting sets of files) to benefit from it.
And the Color Picker definitely looks shiny, but I haven't done enough Art work in over a decade.


We should be able to add custom dictionary path

This should already be possible via FFI::Hunspell.directories << ....


Update SlackWebHookChannel to add actions to the attachment definition

Add support for the Slack API Action parameter on attachments

Make a single PR.


[harfbuzz] update to 2.9.0

Fix #19808
Update harfbuzz to the latest version 2.9.0
All featurse are tested successfully in the following triplet:
x64-windows
Feature 'glib' only supports dynamic library linkage.
Feature 'coretext' os only available on OSX

Please remove the unused option fontconfig from the configure call

Thanks for your reminder. @Neumann-A
https://github.com/harfbuzz/harfbuzz/blob/main/NEWS#L42
FontConfig is not used in current version now.

Thanks for the update!

harfbuzz doesn't build as a dependency for qt5-base: #20113, as a triplet: x86-windows-static


Provide few general parsers (int, float, i32, ...)

Triage: when external parser are allowed, we can rely on syn built-in parsers.

Triage: when external parser are allowed, we can rely on syn built-in parsers.


How did you get the object proposals?

I love the paper, thanks for the code!
How did you obtain the object proposals? I see that you referenced Anderson et al. 2017 paper [1], does that mean the object proposals are from their Faster-RCNN?  On which dataset was Faster-RCNN trained on?
Thanks!
[1] http://openaccess.thecvf.com/content_cvpr_2018/CameraReady/1163.pdf

Correct, the object proposals come from Anderson et al., you can find downloads in their repository at https://github.com/peteanderson80/bottom-up-attention#pretrained-features
They trained their R-CNN on Visual Genome https://visualgenome.org/.


Platform support for emscripten

Hello! glutin doesn't appear to compile for emscripten correctly anymore. It looks like it broke some time between glium 0.15 (glutin 0.6.2) and glium 0.16 (glutin 0.7.4), I don't get errors on 0.15 compiling badboy's triangle code, but on 0.16 it errors out with the message below:
I'm posting this here instead of on winit because it seems like it was intentionally removed from winit: https://github.com/tomaka/winit/pull/29
error[E0432]: unresolved import `self::platform::*`
 --> /home/kelvin/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.5.10/src/platform/mod.rs:1:9
  |
1 | pub use self::platform::*;
  |         ^^^^^^^^^^^^^^^^^^ Could not find `platform` in `platform`

error[E0432]: unresolved import `this_platform_is_not_supported`
  --> /home/kelvin/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.5.10/src/platform/mod.rs:22:5
   |
22 | use this_platform_is_not_supported;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `this_platform_is_not_supported` in the root

error[E0433]: failed to resolve. Could not find `Window` in `platform`
   --> /home/kelvin/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.5.10/src/window.rs:121:26
    |
121 |         let mut w = try!(platform::Window::new(&self.window, &self.platform_specific));
    |                          ^^^^^^^^^^^^^^^^^^^^^ Could not find `Window` in `platform`
error[E0412]: type name `platform::WindowProxy` is undefined or not in scope
   --> /home/kelvin/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.5.10/src/window.rs:364:12
    |
364 |     proxy: platform::WindowProxy,
    |            ^^^^^^^^^^^^^^^^^^^^^ undefined or not in scope
    |
    = help: you can import it into scope: `use window::WindowProxy;`.

error[E0412]: type name `platform::PollEventsIterator` is undefined or not in scope
   --> /home/kelvin/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.5.10/src/window.rs:378:35
    |
378 | pub struct PollEventsIterator<'a>(platform::PollEventsIterator<'a>);
    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ undefined or not in scope
    |
    = help: you can import it into scope: `use window::PollEventsIterator;`.

error[E0412]: type name `platform::WaitEventsIterator` is undefined or not in scope
   --> /home/kelvin/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.5.10/src/window.rs:395:35
    |
395 | pub struct WaitEventsIterator<'a>(platform::WaitEventsIterator<'a>);
    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ undefined or not in scope
    |
    = help: you can import it into scope: `use window::WaitEventsIterator;`.

error[E0412]: type name `platform::MonitorId` is undefined or not in scope
   --> /home/kelvin/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.5.10/src/window.rs:415:24
    |
415 |     data: VecDequeIter<platform::MonitorId>,
    |                        ^^^^^^^^^^^^^^^^^^^ undefined or not in scope
    |
    = help: you can import it into scope: `use window::MonitorId;`.

error[E0425]: unresolved name `platform::get_available_monitors`
   --> /home/kelvin/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.5.10/src/window.rs:435:16
    |
435 |     let data = platform::get_available_monitors();
    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unresolved name

error[E0425]: unresolved name `platform::get_primary_monitor`
   --> /home/kelvin/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.5.10/src/window.rs:442:15
    |
442 |     MonitorId(platform::get_primary_monitor())
    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unresolved name

error[E0412]: type name `platform::MonitorId` is undefined or not in scope
   --> /home/kelvin/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.5.10/src/window.rs:446:22
    |
446 | pub struct MonitorId(platform::MonitorId);
    |                      ^^^^^^^^^^^^^^^^^^^ undefined or not in scope
    |
    = help: you can import it into scope: `use window::MonitorId;`.

error[E0412]: type name `platform::Window` is undefined or not in scope
  --> /home/kelvin/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.5.10/src/lib.rs:99:13
   |
99 |     window: platform::Window,
   |             ^^^^^^^^^^^^^^^^ undefined or not in scope
   |
   = help: you can import it into scope: `use Window;`.

error[E0412]: type name `platform::PlatformSpecificWindowBuilderAttributes` is undefined or not in scope
   --> /home/kelvin/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.5.10/src/lib.rs:109:24
    |
109 |     platform_specific: platform::PlatformSpecificWindowBuilderAttributes,
    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ undefined or not in scope
    |
    = help: no candidates by the name of `PlatformSpecificWindowBuilderAttributes` found in your project; maybe you misspelled the name or forgot to import an external crate?

error[E0412]: type name `platform::MonitorId` is undefined or not in scope
   --> /home/kelvin/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.5.10/src/lib.rs:236:25
    |
236 |     pub monitor: Option<platform::MonitorId>,
    |                         ^^^^^^^^^^^^^^^^^^^ undefined or not in scope
    |
    = help: you can import it into scope: `use window::MonitorId;`.

error: the type of this value must be known in this context
   --> /home/kelvin/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.5.10/src/window.rs:254:15
    |
254 |             ((x as f32 * hidpi) as u32, (y as f32 * hidpi) as u32)
    |               ^^^^^^^^

error: aborting due to previous error

Build failed, waiting for other jobs to finish...
error: Could not compile `winit`.

I'm up for trying to write a pull request to fix this, but I wasn't sure whether that would mean readding emscripten to winit or adding the Window stuff in glutin

The emscripten stuff should be specific to glutin, at least for now I think.
Even things need to be extracted to winit, we can always copy-paste.

Okay, I'll try to get it working. Just a heads up, it might take a while:
error[E0432]: unresolved import `winit::Event`
 --> /home/kelvin/repos/glutin/src/events.rs:1:17
  |
1 | pub use winit::{Event, TouchPhase, Touch, ScanCode, ElementState, MouseButton, MouseScrollDelta, VirtualKeyCode};
  |                 ^^^^^ Maybe a missing `extern crate winit;`?

error[E0432]: unresolved import `winit::TouchPhase`
 --> /home/kelvin/repos/glutin/src/events.rs:1:24
  |
1 | pub use winit::{Event, TouchPhase, Touch, ScanCode, ElementState, MouseButton, MouseScrollDelta, VirtualKeyCode};
  |                        ^^^^^^^^^^ Maybe a missing `extern crate winit;`?

error[E0432]: unresolved import `winit::Touch`
 --> /home/kelvin/repos/glutin/src/events.rs:1:36
  |
1 | pub use winit::{Event, TouchPhase, Touch, ScanCode, ElementState, MouseButton, MouseScrollDelta, VirtualKeyCode};
  |                                    ^^^^^ Maybe a missing `extern crate winit;`?

error[E0432]: unresolved import `winit::ScanCode`
 --> /home/kelvin/repos/glutin/src/events.rs:1:43
  |
1 | pub use winit::{Event, TouchPhase, Touch, ScanCode, ElementState, MouseButton, MouseScrollDelta, VirtualKeyCode};
  |                                           ^^^^^^^^ Maybe a missing `extern crate winit;`?

error[E0432]: unresolved import `winit::ElementState`
 --> /home/kelvin/repos/glutin/src/events.rs:1:53
  |
1 | pub use winit::{Event, TouchPhase, Touch, ScanCode, ElementState, MouseButton, MouseScrollDelta, VirtualKeyCode};
  |                                                     ^^^^^^^^^^^^ Maybe a missing `extern crate winit;`?

error[E0432]: unresolved import `winit::MouseButton`
 --> /home/kelvin/repos/glutin/src/events.rs:1:67
  |
1 | pub use winit::{Event, TouchPhase, Touch, ScanCode, ElementState, MouseButton, MouseScrollDelta, VirtualKeyCode};
  |                                                                   ^^^^^^^^^^^ Maybe a missing `extern crate winit;`?

error[E0432]: unresolved import `winit::MouseScrollDelta`
 --> /home/kelvin/repos/glutin/src/events.rs:1:80
  |
1 | pub use winit::{Event, TouchPhase, Touch, ScanCode, ElementState, MouseButton, MouseScrollDelta, VirtualKeyCode};
  |                                                                                ^^^^^^^^^^^^^^^^ Maybe a missing `extern crate winit;`?

error[E0432]: unresolved import `winit::VirtualKeyCode`
 --> /home/kelvin/repos/glutin/src/events.rs:1:98
  |
1 | pub use winit::{Event, TouchPhase, Touch, ScanCode, ElementState, MouseButton, MouseScrollDelta, VirtualKeyCode};
  |
     ^^^^^^^^^^^^^^ Maybe a missing `extern crate winit;`?

error[E0432]: unresolved import `winit::WindowProxy`
  --> /home/kelvin/repos/glutin/src/window.rs:14:9
   |
14 | pub use winit::WindowProxy;
   |         ^^^^^^^^^^^^^^^^^^ Maybe a missing `extern crate winit;`?

error[E0432]: unresolved import `winit::AvailableMonitorsIter`
  --> /home/kelvin/repos/glutin/src/window.rs:15:9
   |
15 | pub use winit::AvailableMonitorsIter;
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Maybe a missing `extern crate winit;`?

error[E0432]: unresolved import `winit::get_primary_monitor`
  --> /home/kelvin/repos/glutin/src/window.rs:16:17
   |
16 | pub use winit::{get_primary_monitor, get_available_monitors};
   |                 ^^^^^^^^^^^^^^^^^^^ Maybe a missing `extern crate winit;`?

error[E0432]: unresolved import `winit::get_available_monitors`
  --> /home/kelvin/repos/glutin/src/window.rs:16:38
   |
16 | pub use winit::{get_primary_monitor, get_available_monitors};
   |                                      ^^^^^^^^^^^^^^^^^^^^^^ Maybe a missing `extern crate winit;`?

error[E0432]: unresolved import `winit::MonitorId`
  --> /home/kelvin/repos/glutin/src/window.rs:17:9
   |
17 | pub use winit::MonitorId;
   |         ^^^^^^^^^^^^^^^^ Maybe a missing `extern crate winit;`?

error[E0432]: unresolved import `winit`
  --> /home/kelvin/repos/glutin/src/window.rs:22:5
   |
22 | use winit;
   |     ^^^^^ no `winit` in the root

error[E0432]: unresolved import `winit::MouseCursor`
   --> /home/kelvin/repos/glutin/src/lib.rs:344:9
    |
344 | pub use winit::MouseCursor;
    |         ^^^^^^^^^^^^^^^^^^ Maybe a missing `extern crate winit;`?

error[E0432]: unresolved import `winit::CursorState`
   --> /home/kelvin/repos/glutin/src/lib.rs:346:9
    |
346 | pub use winit::CursorState;
    |         ^^^^^^^^^^^^^^^^^^ Maybe a missing `extern crate winit;`?

error[E0432]: unresolved import `winit::WindowAttributes`
   --> /home/kelvin/repos/glutin/src/lib.rs:432:9
    |
432 | pub use winit::WindowAttributes; // TODO
    |         ^^^^^^^^^^^^^^^^^^^^^^^ Maybe a missing `extern crate winit;`?

error[E0412]: type name `Event` is undefined or not in scope
  --> /home/kelvin/repos/glutin/src/api/emscripten/mod.rs:31:17
   |
31 |     type Item = Event;
   |                 ^^^^^ undefined or not in scope
   |
   = help: no candidates by the name of `Event` found in your project; maybe you misspelled the
name or forgot to import an external crate?

error[E0412]: type name `Event` is undefined or not in scope
  --> /home/kelvin/repos/glutin/src/api/emscripten/mod.rs:34:34
   |
34 |     fn next(&mut self) -> Option<Event> {
   |                                  ^^^^^ undefined or not in scope
   |
   = help: no candidates by the name of `Event` found in your project; maybe you misspelled the
name or forgot to import an external crate?

error[E0412]: type name `Event` is undefined or not in scope
  --> /home/kelvin/repos/glutin/src/api/emscripten/mod.rs:44:17
   |
44 |     type Item = Event;
   |                 ^^^^^ undefined or not in scope
   |
   = help: no candidates by the name of `Event` found in your project; maybe you misspelled the
name or forgot to import an external crate?

error[E0412]: type name `Event` is undefined or not in scope
  --> /home/kelvin/repos/glutin/src/api/emscripten/mod.rs:47:34
   |
47 |     fn next(&mut self) -> Option<Event> {
   |                                  ^^^^^ undefined or not in scope
   |
   = help: no candidates by the name of `Event` found in your project; maybe you misspelled the
name or forgot to import an external crate?

error[E0433]: failed to resolve. Maybe a missing `extern crate native_monitor;`?
  --> /home/kelvin/repos/glutin/src/api/emscripten/mod.rs:84:44
   |
84 |     pub fn get_native_identifier(&self) -> ::native_monitor::NativeMonitorId {
   |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Maybe a missing `extern crate native_monitor;`?

error[E0433]: failed to resolve. Maybe a missing `extern crate native_monitor;`?
  --> /home/kelvin/repos/glutin/src/api/emscripten/mod.rs:85:9
   |
85 |         ::native_monitor::NativeMonitorId::Unavailable
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Maybe a missing `extern crate native_monitor;`?

error[E0412]: type name `WindowAttributes` is undefined or not in scope
  --> /home/kelvin/repos/glutin/src/api/emscripten/mod.rs:95:25
   |
95 |     pub fn new(window: &WindowAttributes, pf_reqs: &PixelFormatRequirements,
   |                         ^^^^^^^^^^^^^^^^ undefined or not in scope
   |
   = help: no candidates by the name of `WindowAttributes` found in your project; maybe you misspelled the name or forgot to import an external crate?

error[E0412]: type name `MouseCursor` is undefined or not in scope
   --> /home/kelvin/repos/glutin/src/api/emscripten/mod.rs:216:38
    |
216 |     pub fn set_cursor(&self, cursor: MouseCursor) {
    |                                      ^^^^^^^^^^^ undefined or not in scope
    |
    = help: no candidates by the name of `MouseCursor` found in your project; maybe you misspelled the name or forgot to import an external crate?

error[E0412]: type name `CursorState` is undefined or not in scope
   --> /home/kelvin/repos/glutin/src/api/emscripten/mod.rs:220:43
    |
220 |     pub fn set_cursor_state(&self, state: CursorState) -> Result<(), String> {
    |                                           ^^^^^^^^^^^ undefined or not in scope
    |
    = help: no candidates by the name of `CursorState` found in your project; maybe you misspelled the name or forgot to import an external crate?

error[E0412]: type name `Event` is undefined or not in scope
   --> /home/kelvin/repos/glutin/src/window.rs:246:17
    |
246 |     type Item = Event;
    |                 ^^^^^ undefined or not in scope
    |
    = help: no candidates by the name of `Event` found in your project; maybe you misspelled the name or forgot to import an external crate?

error[E0412]: type name `Event` is undefined or not in scope
   --> /home/kelvin/repos/glutin/src/window.rs:249:34
    |
249 |     fn next(&mut self) -> Option<Event> {
    |                                  ^^^^^ undefined or not in scope
    |
    = help: no candidates by the name of `Event` found in your project; maybe you misspelled the name or forgot to import an external crate?

error[E0412]: type name `Event` is undefined or not in scope
   --> /home/kelvin/repos/glutin/src/window.rs:263:17
    |
263 |     type Item = Event;
    |                 ^^^^^ undefined or not in scope
    |
    = help: no candidates by the name of `Event` found in your project; maybe you misspelled the name or forgot to import an external crate?

error[E0412]: type name `Event` is undefined or not in scope
   --> /home/kelvin/repos/glutin/src/window.rs:266:34
    |
266 |     fn next(&mut self) -> Option<Event> {
    |                                  ^^^^^ undefined or not in scope
    |
    = help: no candidates by the name of `Event` found in your project; maybe you misspelled the name or forgot to import an external crate?

error[E0433]: failed to resolve. Use of undeclared type or module `winit`
   --> /home/kelvin/repos/glutin/src/lib.rs:126:20
    |
126 |     winit_builder: winit::WindowBuilder,
    |                    ^^^^^^^^^^^^^^^^^^^^ Use of undeclared type or module `winit`

error[E0061]: this function takes 4 parameters but 5 parameters were supplied
   --> /home/kelvin/repos/glutin/src/window.rs:224:44
    |
224 |         let w = try!(platform::Window::new(&Default::default(),
    |                                            ^^^^^^^^^^^^^^^^^^^
    |
    = note: the following parameter types were expected:
    = note: &[type error], &PixelFormatRequirements, &GlAttributes<&api::emscripten::Window>, &platform::platform::PlatformSpecificWindowBuilderAttributes

error: no method named `get_inner_size_pixels` found for type `api::emscripten::Window` in the current scope
   --> /home/kelvin/repos/glutin/src/window.rs:386:21
    |
386 |         self.window.get_inner_size_pixels()
    |                     ^^^^^^^^^^^^^^^^^^^^^

error: no method named `as_winit_window` found for type `api::emscripten::Window` in the current scope
   --> /home/kelvin/repos/glutin/src/window.rs:482:20
    |
482 |        self.window.as_winit_window()
    |                    ^^^^^^^^^^^^^^^

error: no method named `as_winit_window_mut` found for type `api::emscripten::Window` in the current scope
   --> /home/kelvin/repos/glutin/src/window.rs:490:20
    |
490 |        self.window.as_winit_window_mut()
    |                    ^^^^^^^^^^^^^^^^^^^

error: aborting due to 4 previous errors

error: Could not compile `glutin`.

Hi! With the exciting new webassembly developments, I tried to compile a Rust project to the web and ran into this same issue. @cactorium, is there anything I can do to help you get this working?

Hello! Since then I've written a pull request that adds emscripten support to glutin: https://github.com/tomaka/glutin/pull/857 I think it's currently being blocked because it's uncertain whether this particular code of code is better suited for winit instead of glutin? If you just wanna do some playing around with it until this stuff is resolved, you could try using my branch of it for now: https://github.com/cactorium/glutin . You can help out by testing out the branch to see if it also works for wasm, and see if it still works with the latest stable and nightly :)

Great! Will do. I just spent quite a while getting all of the appropriate Emscripten infrastructure set up and am not quite through yet, but I'll report back with the wasm results on stable/nightly Rust when I have everything running!

After spending a little more time on this, I've gotten to a point where running cargo build --release --target asmjs-unknown-emscripten results in the following error:
 = note: warning: emitted code will contain very large numbers of local variables, which is bad for performance (build to JS with -O2 or above to avoid this - make sure to do so both on source files, and during 'linking')
          error: unresolved symbol: __rbt_backtrace_pcinfo
          error: unresolved symbol: __rbt_backtrace_create_state
          error: unresolved symbol: __rbt_backtrace_syminfo
          Aborting compilation due to previous errors | undefined
          Traceback (most recent call last):
            File "/Users/yurivish/Downloads/emsdk_portable/emscripten/incoming/emcc", line 13, in <module>
              emcc.run()
            File "/Users/yurivish/Downloads/emsdk_portable/emscripten/incoming/emcc.py", line 1673, in run
              final = shared.Building.emscripten(final, append_ext=False, extra_args=extra_args)
            File "/Users/yurivish/Downloads/emsdk_portable/emscripten/incoming/tools/shared.py", line 1963, in emscripten
              call_emscripten(cmdline)
            File "/Users/yurivish/Downloads/emsdk_portable/emscripten/incoming/emscripten.py", line 1852, in _main
              temp_files.run_and_clean(lambda: main(
            File "/Users/yurivish/Downloads/emsdk_portable/emscripten/incoming/tools/tempfiles.py", line 78, in run_and_clean
              return func()
            File "/Users/yurivish/Downloads/emsdk_portable/emscripten/incoming/emscripten.py", line 1857, in <lambda>
              DEBUG=DEBUG,
            File "/Users/yurivish/Downloads/emsdk_portable/emscripten/incoming/emscripten.py", line 1758, in main
              temp_files=temp_files, DEBUG=DEBUG)
            File "/Users/yurivish/Downloads/emsdk_portable/emscripten/incoming/emscripten.py", line 93, in emscript
              glue, forwarded_data = compiler_glue(metadata, settings, libraries, compiler_engine, temp_files, DEBUG)
            File "/Users/yurivish/Downloads/emsdk_portable/emscripten/incoming/emscripten.py", line 296, in compiler_glue
              cwd=path_from_root('src'), error_limit=300)
            File "/Users/yurivish/Downloads/emsdk_portable/emscripten/incoming/tools/jsrun.py", line 122, in run_js
              raise Exception('Expected the command ' + str(command) + ' to finish with return code ' + str(assert_returncode) + ', but it returned with code ' + str(proc.returncode) + ' instead! Output: ' + str(ret)[:error_limit])
          Exception: Expected the command ['/Users/yurivish/Downloads/emsdk_portable/node/4.1.1_64bit/bin/node', '/Users/yurivish/Downloads/emsdk_portable/emscripten/incoming/src/compiler.js', '/var/folders/qh/rzmdwff11pq_swsskpcxy0h00000gn/T/tmpUwgHRx.txt', '/Users/yurivish/Downloads/emsdk_portable/emscripten/incoming/src/library_pthread_stub.js'] to finish with return code 0, but it returned with code 1 instead! Output: // The Module object: Our interface to the outside world. We import
          // and export values on it, and do the work to get that through
          // closure compiler if necessary. There are various ways Module can be used:
          // 1. Not defined. We create it here
          // 2. A function parameter, function(Module) { ..gener

error: aborting due to previous error

Ah, that's because some crate in the chain's using an older version of backtrace, badboy already pushed a change to fix it, the version of backtrace in the crate hasn't been updated yet, so you need something like this to workaround it for now:
pub mod backtrace_hack {

extern crate libc;

use self::libc::uintptr_t;
use std::os::raw::{c_void, c_char, c_int};

pub type backtrace_syminfo_callback =
    extern fn(data: *mut c_void,
              pc: uintptr_t,
              symname: *const c_char,
              symval: uintptr_t,
              symsize: uintptr_t);
pub type backtrace_full_callback =
    extern fn(data: *mut c_void,
              pc: uintptr_t,
              filename: *const c_char,
              lineno: c_int,
              function: *const c_char) -> c_int;
pub type backtrace_error_callback =
    extern fn(data: *mut c_void,
              msg: *const c_char,
              errnum: c_int);
pub enum backtrace_state {}

#[no_mangle]
pub extern "C" fn __rbt_backtrace_create_state(_filename: *const c_char,
                                  _threaded: c_int,
                                  _error: backtrace_error_callback,
                                  _data: *mut c_void) -> *mut backtrace_state { 0 as *mut _ }

#[no_mangle]
pub extern "C" fn __rbt_backtrace_syminfo(_state: *mut backtrace_state,
                             _addr: uintptr_t,
                             _cb: backtrace_syminfo_callback,
                             _error: backtrace_error_callback,
                             _data: *mut c_void) -> c_int { 0 }

#[no_mangle]
pub extern "C" fn __rbt_backtrace_pcinfo(_state: *mut backtrace_state,
                            _addr: uintptr_t,
                            _cb: backtrace_full_callback,
                            _error: backtrace_error_callback,
                            _data: *mut c_void) -> c_int { 0 }
}

It's good to know that that's still an issue though!

Thanks – it compiled!
I can confirm that my project compiles successfully to the asmjs target on both nightly and stable Rust, and to wasm32 on nightly rust, but not on stable.
Trying beta now... Successfully compiled both wasm32 and asmjs.
In all cases when compilation is successful, both the wasm and asmjs versions encounter an error in the browser, which I'll debug later when I'm feeling up for it.
wasm32:
failed to asynchronously prepare wasm: CompileError: wasm validation error: at offset 4: failed to match magic number
asmjs:
Could not create canvas: ?,TypeError: canvas.getContext is not a function,{"alpha":true,"depth":true,"stencil":false,"antialias":true,"premultipliedAlpha":true,"preserveDrawingBuffer":false,"preferLowPowerToHighPerformance":false,"failIfMajorPerformanceCaveat":false,"majorVersion":1,"minorVersion":0,"explicitSwapControl":0}
hello_cargo.js:1560 thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: BackendCreationError(OsError("Error while calling emscripten_webgl_create_context: Internal error in the library (success detected as failure)"))', /buildslave/rust-buildbot/slave/stable-dist-rustc-cross-rustbuild-linux/build/src/libcore/result.rs:868

Thanks again for your help!

Any current news on this?  I'm trying to build spinning-square for wasm and am running into this issue.

I've got a fork that might be working for glutin 0.7 (see the PR referenced above), I've been meaning to work on getting it working for 0.8 but it's been getting stuck on the backburner for like the past 3 months.. Sorry guys

Just to keep everyone updated, tomaka recently pushed some changes to winit based on thiolliere's work: https://github.com/tomaka/winit/pull/286
Assuming I didn't botch my Cargo.toml changes, currently I'm getting these errors while compiling the latest glutin:
error[E0432]: unresolved import `winit::get_available_monitors`
  --> /home/kelvin/.cargo/git/checkouts/glutin-c4085701fb5e1db8/c477436/src/lib.rs:77:17
   |
77 |                 get_available_monitors, get_primary_monitor, KeyboardInput, ModifiersState,
   |                 ^^^^^^^^^^^^^^^^^^^^^^ no `get_available_monitors` in the root

error[E0432]: unresolved import `winit::get_primary_monitor`
  --> /home/kelvin/.cargo/git/checkouts/glutin-c4085701fb5e1db8/c477436/src/lib.rs:77:41
   |
77 |                 get_available_monitors, get_primary_monitor, KeyboardInput, ModifiersState,
   |                                         ^^^^^^^^^^^^^^^^^^^ no `get_primary_monitor` in the root

error[E0432]: unresolved import `winit::NativeMonitorId`
  --> /home/kelvin/.cargo/git/checkouts/glutin-c4085701fb5e1db8/c477436/src/lib.rs:78:72
   |
78 |                 MonitorId, MouseButton, MouseCursor, MouseScrollDelta, NativeMonitorId, ScanCode,
   |                                                                        ^^^^^^^^^^^^^^^ no `NativeMonitorId` in the root

error[E0433]: failed to resolve. Maybe a missing `extern crate native_monitor;`?
  --> /home/kelvin/.cargo/git/checkouts/glutin-c4085701fb5e1db8/c477436/src/api/emscripten/mod.rs:84:46
   |
84 |     pub fn get_native_identifier(&self) -> ::native_monitor::NativeMonitorId {
   |                                              ^^^^^^^^^^^^^^ Maybe a missing `extern crate native_monitor;`?

error[E0433]: failed to resolve. Maybe a missing `extern crate native_monitor;`?
  --> /home/kelvin/.cargo/git/checkouts/glutin-c4085701fb5e1db8/c477436/src/api/emscripten/mod.rs:85:11
   |
85 |         ::native_monitor::NativeMonitorId::Unavailable
   |           ^^^^^^^^^^^^^^ Maybe a missing `extern crate native_monitor;`?

error[E0433]: failed to resolve. Could not find `Context` in `platform`
   --> /home/kelvin/.cargo/git/checkouts/glutin-c4085701fb5e1db8/c477436/src/lib.rs:322:19
    |
322 |         platform::Context::new(window_builder, events_loop, &pf_reqs, &gl_attr)
    |                   ^^^^^^^ Could not find `Context` in `platform`

error[E0412]: cannot find type `Context` in module `platform`
   --> /home/kelvin/.cargo/git/checkouts/glutin-c4085701fb5e1db8/c477436/src/lib.rs:149:24
    |
149 |     context: platform::Context,
    |                        ^^^^^^^ not found in `platform`
    |
help: possible candidate is found in another module, you can import it into scope
    |
84  | use Context;
    |

error[E0046]: not all trait items implemented, missing: `resize`
   --> /home/kelvin/.cargo/git/checkouts/glutin-c4085701fb5e1db8/c477436/src/api/emscripten/mod.rs:235:1
    |
235 | / impl GlContext for Window {
236 | |     #[inline]
237 | |     unsafe fn make_current(&self) -> Result<(), ContextError> {
238 | |         // TOOD: check if == EMSCRIPTEN_RESULT
...   |
270 | |     }
271 | | }
    | |_^ missing `resize` in implementation
    |
   ::: /home/kelvin/.cargo/git/checkouts/glutin-c4085701fb5e1db8/c477436/src/lib.rs
    |
124 |       fn resize(&self, width: u32, height: u32);
    |       ------------------------------------------ `resize` from trait

error[E0046]: not all trait items implemented, missing: `resize`
   --> /home/kelvin/.cargo/git/checkouts/glutin-c4085701fb5e1db8/c477436/src/platform/emscripten/mod.rs:26:1
    |
26  | / impl GlContext for HeadlessContext {
27  | |     #[inline]
28  | |     unsafe fn make_current(&self) -> Result<(), ContextError> {
29  | |         self.0.make_current()
...   |
55  | |     }
56  | | }
    | |_^ missing `resize` in implementation
    |
   ::: /home/kelvin/.cargo/git/checkouts/glutin-c4085701fb5e1db8/c477436/src/lib.rs
    |
124 |       fn resize(&self, width: u32, height: u32);
    |       ------------------------------------------ `resize` from trait

error: aborting due to 9 previous errors

error: Could not compile `glutin`.

It looks like we're pretty close to having emscripten support here!

Glutin needs to be updated for the changes in winit, but I don't know at which point we can consider the breakages in winit to be "good enough" to ship a new major version.

Is there anything we can help with?

The emscripten backend now compiles.

The emscripten backend now compiles.


Need for ActionScript?

HTML5 options are available? The system need ActionScript for something relevant?

Hi, sorry, I am new, and perhaps ActionScript is only a plug-video legacy code... Some explanation: my team considered Concrete5 a perfect solution for a project (!), and I am preparing-me to first tests with Concrete5... But the "2.2% of Macromedia's ActionScript" (see Github language bar) surprised me, and perhaps surprised (and will surprise) others.
... So this post is only a "warning notice" to  review web/concrete/blocks/video/README.

I think the Flash for the video block is only used as a fallback in older browsers (old version of Internet Explorer mainly) - where possible it will try to use a native video tag. So it's pretty unlikely this flash will actually be used by a visitor (especially if you don't place any videos this way!). I personally have never directly placed a video, I've only ever used Vimeo and Youtube.
Perhaps in the future this bit of flash will able to be removed, but for the time being using a flash fallback is common practice.

Thanks @Mesuva !
PS: to simplify the suggestion,  perhaps need only to rename README to concrete/blocks/video/README.md  and add a link to this issue, [see discussion about Flash use](https://github.com/concrete5/concrete5/issues/3497).

@ppKrauss I'd be happy to accept a PR for that