New pull request from cendrassos.net

Official website URL:   www.cendrassos.net
URL of the official website where 2 years of Web Applications Development curs is offered:

https://www.cendrassos.net/estudispral/info-sup-estudis

Student guide of Web Applications Development curs:

https://issuu.com/el_suro_cendrassos/docs/daw1516

@juaky Pull request merged. Thank you!


Optimize tx decoration using tx proposals in tx history

Coverage increased (+0.02%) to 82.826% when pulling 82e02e2d4998d171cdf2c582ceb30775387ffec5 on isocolsky:ref/history into 5d5f887edbaefc71a4cb21323bb6756d24e4d514 on bitpay:master.

ACK


Provide a consistent way to get/ set properties via steps/ actions tied to the life time of a specific adaptive dialog.

Describe the bug
I spent 30 minutes trying to figure out why my LG expression for a TextInput wasn't working and it was because InputDialog derives from Dialog and not DialogCommand.  All steps should derive from DialogCommand otherwise you'll create random sandboxes where dialog.xxxx isn't visible to LG or the steps expressions.
[bug]

We discussed this and landed on $foo to support dialog property getter/ setter up to the parent container dialog level. All our docs and samples should use $foo to refer to properties that are tied to the scope of the containing adaptive dialog.

Solved as agreed on the email thread on this.


typo: publically -> publicly

@nschonni : Thanks for your contribution! The author, @billmath, has been notified to review your proposed change.


sti rebuild fails with index out of range

The sti and sample app are on github, running the following commands causes an index out of range
rh-wfh-dbokde:camel-hello-world dbokde$ sti build https://github.com/dhirajsb/camel-hello-world dhirajsb/karaf4-sti camel-hello-world-sti
rh-wfh-dbokde:camel-hello-world dbokde$ sti rebuild --force-pull=false camel-hello-world-sti --loglevel=5
I0811 13:42:20.466769 60224 util.go:34] Using<EMAIL_ADDRESS>credentials for pulling camel-hello-world-sti
I0811 13:42:20.479539 60224 docker.go:199] Image camel-hello-world-sti:latest available locally
panic: runtime error: index out of range

goroutine 1 [running]:
main.func·004(0x208760ea0, 0x20875d5c0, 0x1, 0x3)
	/go/src/github.com/openshift/source-to-image/_output/local/go/src/github.com/openshift/source-to-image/cmd/sti/main.go:217 +0x694
github.com/spf13/cobra.(*Command).execute(0x208760ea0, 0x20875d500, 0x3, 0x3, 0x0, 0x0)
	/go/src/github.com/openshift/source-to-image/Godeps/_workspace/src/github.com/spf13/cobra/command.go:476 +0x65c
github.com/spf13/cobra.(*Command).Execute(0x208760820, 0x0, 0x0)
	/go/src/github.com/openshift/source-to-image/Godeps/_workspace/src/github.com/spf13/cobra/command.go:541 +0x18d
main.main()
	/go/src/github.com/openshift/source-to-image/_output/local/go/src/github.com/openshift/source-to-image/cmd/sti/main.go:366 +0x619

goroutine 5 [chan receive]:
github.com/golang/glog.(*loggingT).flushDaemon(0x68b1e0)
	/go/src/github.com/openshift/source-to-image/Godeps/_workspace/src/github.com/golang/glog/glog.go:839 +0x78
created by github.com/golang/glog.init·1
	/go/src/github.com/openshift/source-to-image/Godeps/_workspace/src/github.com/golang/glog/glog.go:406 +0x2a7

goroutine 7 [syscall]:
os/signal.loop()
	/usr/lib/golang/src/os/signal/signal_unix.go:21 +0x1f
created by os/signal.init·1
	/usr/lib/golang/src/os/signal/signal_unix.go:27 +0x35

goroutine 9 [runnable]:
net/http.(*persistConn).readLoop(0x2087b4160)
	/usr/lib/golang/src/net/http/transport.go:928 +0x9ce
created by net/http.(*Transport).dialConn
	/usr/lib/golang/src/net/http/transport.go:660 +0xc9f

goroutine 10 [select]:
net/http.(*persistConn).writeLoop(0x2087b4160)
	/usr/lib/golang/src/net/http/transport.go:945 +0x41d
created by net/http.(*Transport).dialConn
	/usr/lib/golang/src/net/http/transport.go:661 +0xcbc
rh-wfh-dbokde:camel-hello-world dbokde$

@dhirajsb I can't reproduce this using the sti binary built from the master. Can you please try to update?
π ~/sandbox sti rebuild --force-pull=false camel-hello-world-sti --loglevel=5
I0817 11:54:26.366665 20035 docker.go:211] Image camel-hello-world-sti:latest available locally
I0817 11:54:26.369945 20035 docker.go:211] Image dhirajsb/karaf4-sti:latest available locally

Application Name:	camel-hello-world-sti
Description:		Platform for building and running Karaf4 based applications
Builder Name:		Karaf4
Builder Image:		dhirajsb/karaf4-sti
Source:			https://github.com/dhirajsb/camel-hello-world
Source Ref:		master
Output Image Tag:	camel-hello-world-sti
Incremental Build:	enabled
Remove Old Build:	disabled
Force Pull:		disabled
Quiet:			disabled
Layered Build:		disabled
STI Scripts URL:	https://raw.githubusercontent.com/dhirajsb/karaf4-sti/master/.sti/bin/
Docker Endpoint:	unix:///var/run/docker.sock

I0817 11:54:26.373298 20035 docker.go:211] Image dhirajsb/karaf4-sti:latest available locally
I0817 11:54:26.377871 20035 sti.go:113] Preparing to build camel-hello-world-sti
I0817 11:54:26.378053 20035 clone.go:28] Cloning into /tmp/sti613751614/upload/src

Is it possible the issue was in v1.0.1 and has since been fixed on master? Maybe if you can quickly test it against 1.0.1 and it causes the same error then we'd know it's been fixed on master.

@dhirajsb can you try this with the 1.0.2 release?

closing as i believe it is fixed, @dhirajsb if you are able to reproduce with v1.0.2, please reopen.


[Android] Add tests for validators

Related Issue
Fixes #4554
Description
Adds unit tests for all validation types in android.
Fixes in other places:

Fixes SetInput for time input
Fixes Text length validation to be performed by validators
Fixes empty number, date and time values to not be validated if the value is empty

How Verified
This includes a lot of unit tests so it verifies itself
Microsoft Reviewers: Open in CodeFlow

If this PR has fixes for other issues, can you please reference those in the description here for proper correlation? Thanks

Related Issue
Fixes #4554
Description
Adds unit tests for all validation types in android.
Fixes in other places:

Fixes SetInput for time input
Fixes Text length validation to be performed by validators
Fixes empty number, date and time values to not be validated if the value is empty

How Verified
This includes a lot of unit tests so it verifies itself
Microsoft Reviewers: Open in CodeFlow

Ideally try to avoid bundling in different unrelated commits in a single one. And if you do, pls do make sure the PR title/description reflects that :) Eg this looks to be many more fixes and not just new unit tests that have been added. Do ensure the PR title reflects this.


Allow mult-dimension arrays when generating base string for HMAC-SHA1 signature. Fixes #39

With this implementation, multi-dimensional arrays can be passed
to League\OAuth1\Client\Server::getHeaders() and be correctly
transformed. For prior art, consider the WP REST API - OAuth 1.0a Server
plugin. Specifically:

https://github.com/WP-API/OAuth1/blob/master/lib/class-wp-rest-oauth1.php#L667-L674
https://github.com/WP-API/OAuth1/blob/master/lib/class-wp-rest-oauth1.php#L706-L753

There are some code style issues that need to be resolved: https://travis-ci.org/thephpleague/oauth1-client/jobs/108124923
Also, I would like to request to that you provide some test cases that support the changes you are making.

Yes, you're right. Ashamed to admit I didn't read the CONTRIBUTING.md until AFTER submitting.

Ditto @stevenmaguire :)
Check out fabpot/php-cs-fixer :)

Closing in favor of #61 which contains tests, and code style issues are addressed.


fix: types not resolved in ts >=4.5, fix #119

copied-and-pasted from my local environment, not tested on this branch

hell yeah thank you @antfu!!


Example on Github readme page does not load SandDance extension

The package and version I'm asking about:
Microsoft.dotnet-interactive
Version: 1.0.317502+9c2a225c543085a04516cc4fc490919d5925ba87
Build date: 2022-03-25T20:43:44.0000000Z
Question
Trying to run the housingData sandDance example here (verbatim):
https://github.com/dotnet/interactive#visualization
I get the error:
Error: (3,13): error CS1061: 'DataFrame' does not contain a definition for 'ExploreWithSandDance' and no accessible extension method 'ExploreWithSandDance' accepting a first argument of type 'DataFrame' could be found (are you missing a using directive or an assembly reference?)
It seems the extension for SandDance is not being loaded.
I’m running VS Code Version: 1.66.1 on MacOS 11.6.1.

Seeing the same problem.

That gif should be updated to have a little more context.
The package you need to install is here: https://www.nuget.org/packages/SandDance.InteractiveExtension/
The Script & Interactive tab shows the #r command you run to install it.

Thank you @jonsequitur, I installed that extension and restarted the kernel. Got a new error message now:

Solve the same problem using @andrerav solution in the post https://github.com/dotnet/interactive/issues/1979.
I just summarized it here:

Install the package.
#r "nuget: SandDance.InteractiveExtension, 1.0.45"
Add .ToTabularDataResource() to the last line.
data.ToTabularDataResource().ExploreWithSandDance().Display();

Hi @jonsequitur,
I don't think that's necessary, the error I got was due to a missing call to ToTabularDataResource. See #1979 for details.

@peteot try replacing
housingData.ExploreWithSandDance().Display();

with
housingData.ToTabularDataResource().ExploreWithSandDance().Display();

This should fix the issue for you.


Question: Highlighting changes

I'm looking at visually highlighting changes that have occurred between two pages (Page A and Page B) - specifically things that were "added" or "removed" and prototyping it with snabbdom based on a VDOM diff. Before I dig this rabbit hole any deeper, how viable do you think this is?
It's part of a visual detection tool and standard techniques that I'm already using (e.g. image diffing, basic text diffing) are OKAY but not GREAT.


Compat issues

This might fix the weird error encoutered here in RasterDataSources.
If I understand correctly we would need to register a new ASCIIrasters version after this is merged ?

Thanks beat me to it! Yes it will need anew version so Pkg.jk can resolve it for 1.6


CC: Reconfigure sidebar nav to closely reflect the CC user journey

Fixed in https://github.com/cockroachdb/docs/pull/5891


Please invite me to the community

Name
alphadev102
Additional Context
I am very interested in this organization.
Let me join here.
Thanks.

Invitation sent to join the GitHub Organization. Welcome to Infraform 🎉Please check your mail to accept the invitation sent by GitHub! 🤖About usInfraform is an open source solution for serverless platforms, it is designed for developing solutions and enhancing creators to create their infrastructure 💻 Great to have you in our community ✨ Looking forward to your valuable contributions! 🤓 You can also check our community ✨ Github ✨ LinkedIn 💜 You can also share our community with other folks who want to learn about development, DevOps, tech, and contribute together and with us 👉💜👈


CP-SAT StopSearch() does not work in java

(issue #1474 did not reopen)
If the delay of stopSearch() is set shorter than the time needed for the Search to be started, it never stops. Current Master is unstable and so far I can not see any improvement. Are the aforementioned tests public?
proto.zip

Which version ?
master is stable now,

Latest (unsuccessful) test was performed yesterday (after commit 88054f79e687174ea67ebc95dca7c06b35659b06).

how are you using stopSearch() ?

because if I use Ctrl-C during presolve, which should do the same, the solver stop, a bit slowly I agree. But search never starts, and it ends with status UNKNOWN.

I tried small example with attached proto file, at first I thought that it works on version 7.3 but later I found that when you call stopSearch method too early - for this data on my computer between 0-1.6s after start of solve, it doesn't work.
Visually line "Parameters: log_search_progress: true num_search_workers: 8" is displayed after my text informing me that stopSearch method was called.
TestStopSearch.zip

Thanks a lot.
Fixed on master.


add project

[x] Add a Bubble Game Project #63
[x] i don't have any bugs in my project
[x] i upload bulle game in in projects folder
Added HTML.html file to the projects/BUBBLE_GAMES directory.

Checklist:

[x] I have read CONTRIBUTING.md.
[x] This pull request is all my own work -- I have not plagiarized.
[x] I know that pull requests will not be merged if they fail the automated tests.
[x] This PR only changes one Project folder.  To ease review, please open separate PRs for separate algorithms.
[x] All new Project files are placed inside an existing directory.
[x] If this pull request resolves one or more open issues then the description above includes the issue number(s) with a closing keyword: "Fixes #ISSUE-NUMBER".
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[x] The title of my pull request is a short description of the requested changes.
[x] I have made corresponding changes to the documentation
[x] My PR needs documentation change

ATTACH SCREEN-SHOTS
|      Before      |  |      After      |
| :--------------: | :-------------: |
|   |   |

Describe your change:
Added BUBBLE_GAMES Project
Updated Projectlist json and updated the project details


Convert CRLF ➡ LF in .java File

All other non-Windows files in the repository have Unix line-endings (LF), except AttributeSet.java.

At one point we weren't touching this file because we up-streamed it from Android4M, though it hasn't had a commit since 2008. So I guess we can start a whitespace only change.

Thank you for the merge!


Frame problem

for this one, the best bet would most likely be to use the _MASK.png layer for the mask .... and then size it to encircle the entire image ... like so:

I'll play around with the image a little bit to see if I can get a proper ring around it without it looking too funky.


1/8 scan matrix 32x32, only half is working

Hi,
I tested this lib with 64x32 1/16 FM6124 disp;ay - all is fine
but with 32x32 1/8 TC5020AP only a half is working.

As written in the readme. 1/8 scan panels are not supported. I don't have one of these to test with either.

i faced a similar issue my self when using the example for 1/8 scan panels.
go to ESP32-VirtualMatrixPanel-I2S-DMA.h
and comment out lines 163 and 164
basically
//  coords.x = x;
//  coords.y = y;
and this seemed to fix it for me


can you help me

Describe your problem here.
i want to make the icons bounce on the freeplay menu
btw i dont know how to code lol
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
wavy bg action bulid for 0.5.1 lol

Lua cannot be used outside of playstate

Lua cannot be used outside of playstate

https://github.com/ShadowMario/FNF-PsychEngine/issues/10324#issuecomment-1229072034
Says no but ok

Lua cannot be used outside of playstate

#10324 (comment) Says no but ok

thats pause not freeplay buddy
and pause menu is a substate

Lua cannot be used outside of playstate

#10324 (comment) Says no but ok

The pause menu is INSIDE PlayState.hx you dum dum, the freeplay ISN'T!

Find the icon bounce code in PlayState or smth

Find the icon bounce code in PlayState or smth

bruh

Lmao

cl,ose this issue as its not possible to be solved i think


Fix/fix chart layout

Fixes #26867

/build-deploy-preview env=release

/build-deploy-preview env=release

/build-deploy-preview env=release

/build-deploy-preview env=release

@rajatagrawal
Bar chart: Labels on the x axis aren’t seen after a certain point. They don’t show up even when the widget is resized to a large extent

Column Chart: When long labels are added, the ellipsis doesn’t go away to reveal the entire data even on resizing the widget considerably. Loom

/ok-to-test sha=b6033a7

/build-deploy-preview env=release

/build-deploy-preview env=release

/ok-to-test sha=da66ef6

/build-deploy-preview env=release

/ok-to-test sha=da66ef6

/ok-to-test sha=da66ef6

@rajatagrawal As discussed, can we add in ellipsis to mitigate overlap on labels in the Y-axis.

The chart size is also changing once deployed: https://www.loom.com/share/Untitled-application-1-or-Editor-or-Appsmith-15-September-2023-231b47c6251248d8acfeede958ee1c25?sid=a24bd565-ce95-4428-ac44-2ddd94b6c5c8
Also, on removing a series data (not the object itself) and when only one series remains, we still see an undefined legend on the widget

/build-deploy-preview env=release

/ok-to-test sha=ee35934

/build-deploy-preview env=release

/build-deploy-preview env=release

/build-deploy-preview env=release

/build-deploy-preview skipTests=true

/build-deploy-preview env=release

/build-deploy-preview env=release

/build-deploy-preview env=release

/build-deploy-preview env=release

/ok-to-test sha=4921d09

Verified. Changes look good to me!


Add Particles

The Encode / Decode trait I've done so far seems pretty ugly to me, as I continue to change it, suggestions are welcome.
Checklist:

[x] All the particles except Item particle
[ ] Item particle ( not yet implemented: takes an item slot as its data. Unsure )
[x] Particle example
[x] Encode trait
[ ] Decode trait ( is this necessary? It would add quite a few LOC and theoretically never be used )

Unfortunately, wiki.vg is outdated
These are the discrepancies I've found so far:
Particles missing:

SonicBoom, id 24
SculkSoul, id 29
SculkCharge, id 30, extra data 'roll: float'
SculkChargePop, id 31

Concerning implementing the final particle, Item, this is how the client reads it
It seems to me that we will need to impl Encode for ItemStack?

There is a Slot type alias that implements Encode.

TODO: update README ?

Anything else this PR needs to move forward?
Happy to do more

I'm working on some large architectural changes to the project at the moment. All of the protocol stuff including particles is going to go in a separate protocol library. Because of this, we will need a Decode implementation. Once that's done we can merge.

You could write round trip unit tests to test Encode -> Decode produces the same struct

Also wondering if it would be better to define all the particle ids as constants so they won't be all spread out throughout the code

Since particle IDs are only used in this one place AFAICT it's probably not a problem. Otherwise we can write an extractor to create all the particle IDs for us.

The valence_protocol transition is now complete. If you could move particle.rs to the new valence_protocol crate that would be great. Also you'll have to replace the vek types with [T; 3].


HTMLHinter Error Finding oddity

Presently if you break a > on the beginning tag of a pair, then break tags above it, then fix the original tag the highlighting remains

I think the fix @gideonthomas is doing in #127 will fix this.  Please confirm with his patch.

Fixed in latest update to HTMLHinter


Tax calculation

Adding w2 Salary taxes to Federal Income Taxes

This is a new css fix that's been added now to this branch

Results.vue page: Reorganize the top rows: Basically the current page looks like this with 2 rows 2 columns https://prnt.sc/vwi1yg Want to turn it into only 1 row, 3 columns and move the button to the bottom https://prnt.sc/vwi5ja

we created a new branch results-update to reflect the css changes that were commited in this branch, so we can push that out sooner.


[#105] Chocolatey params passed in when upgrading a package.

LGTM!

@bozho Thanks for your contribution!


Rolling Restarts

What would you like to be added:
Ability to perform rolling restarts of resources (i.e kubectl rollout restart <resource_type> <name>)
Why is this needed:
Would be a useful feature to have
Environment you are Lens application on:
Kubernetes deployed with KubeSpray on Premise.
Windows

This is already documented as #498, I guess?

Closing in favour of #498


Can't remove results

Describe the bug
Logged in, Select Result, use either "Delete Result" or "Report" and then "Remove result" as admin, does not remove the result.
To Reproduce
Steps to reproduce the behavior:

https://<IP_ADDRESS>/result_search
Filter: Benchmarks "someone/benchmarks"
Go to page 6, find
someone/benchmarks | paris | email | ...
Click "Delete Result" button -> The method is not allowed for the requested URL.
Click "Report", provide reason, e.g. "duplicate of IFCA-LCG2 results", Submit (successful)
Goto "Admin menu", select "Review first result report"
Find the report
Click "Remove result" red button (page bottom)
Goto the search page again, complete steps 1.-3. above, the result is still there, i.e not removed.

Expected behavior
Result is removed.

Click "Delete Result" button -> The method is not allowed for the requested URL.

It seems it's calling report result with a POST, which is not accepted. Why the delete button is calling the report end point (e.g. the same point as the report button) in the first place, I don't know. Please advise @Falkenberg-Marc

Click "Report", provide reason, e.g. "duplicate of IFCA-LCG2 results", Submit (successful)
Goto "Admin menu", select "Review first result report"
Find the report
Click "Remove result" red button (page bottom)
Goto the search page again, complete steps 1.-3. above, the result is still there, i.e not removed.

For this, my assumption is that the result properly gets marked as hidden, but that the ResultFilterer does not check for hidden results and just returns them all. Please advise @darkphoenix

Hidden-ness is indeed not considered, will fix when I get home.

I have checked, the delete button issue seems to be related to #13. Any progress on #13? @Falkenberg-Marc

My part of this bug should be resolved now.

I have checked, the delete button issue seems to be related to #13. Any progress on #13? @Falkenberg-Marc

I moved @Falkenberg-Marc 's part of #13 to #34. Just wanted to mention that to avoid confusion.

I moved @Falkenberg-Marc 's part of #13 to #34. Just wanted to mention that to avoid confusion.

Oh, I actually meant #16 , sorry. Forgot the issue number inbetween pages.

Should work now.


Resource error

@ruidan
I downloaded this code and seem that the code does not work. The error message:

Please help!

Seems you are using tensorflow as backend. You should use Keras 1.2.1 with Theano 0.9.0 as backend

@ruidan
Thank you so much! It works very well, but I confuse that if I want to get the target(s) of a sentence by the user's input with this model, e.g "The sushi was lousy - too sweet or too salty and the portions tiny", which method is to extract the terms of "sushi" and "portions", and to classify them to the categories of "Food"? I spent some time on studying code but I haven't found the answer. The deadline of my projecy is coming, so I will be in debt to you if you can help you

This current code does not provide specific api for that directly. But you can easily implement it by yourself:

For a given new text, you need to first preprocess it the same way as the code does on the training and test sentences. (This step is very important).

The model will assign an inferred aspect label to the input sentence. Since the model training is completely unsupervised, the inferred aspects are represented as ranked word lists. You need to
to manually map each inferred cluster to a gold category label to get the prediction of the gold label.  Please refer to evaluation.py, where you can find how the model assigns an gold label to each test sentence. Of course, you can develop some other methods to automatically map inferred aspects to gold aspects without human interruption.

The model is not designed to extract aspect terms/targets. You can still use it for that purpose if you want a simple unsupervised method. One possible way is to use the learned attention weights as scores, where higher score indicates higher probability to be an aspect term. For each sentence, you can set a threshold value according to the sentence length to select the possible aspect terms. The model can learn very reasonable attention weights even in an unsupervised setting. To see the quality of the learned attention weights, you can simply run the evaluation scripts on the pre-trained restaurant model to generate the attention weights on all test sentences (refer to Evaluation in README). Since the method is unsupervised, you should not expect the performance in aspect term extraction as good as other supervised methods.

@ruidan
Thanks for your detailed explanation, I have implemented it.


Properly document each arch, SoC family and board

I've been thinking for some time on how to better organize and document all the hardware that NuttX supports. My idea is to have three levels of "supported X" sections in Documentation:

Supported Architectures
Supported SoCs
Supported Boards

For (1) it would document how things are implemented in arch/arm (and each arm version), arch/risc-v, etc. Not very familiar with those parts but most likely something things are worth explaining.
For (2) it would document how each SoC family (stm32, stm32l4, nrf52, etc) exposes and implements hardware functionality on NuttX.
For (3) I think it would be useful to document each board similarly to how Zephyr does. For example: https://docs.zephyrproject.org/latest/boards/arm/atsamd21_xpro/doc/index.html
This means a picture of the board, description of on-board devices (possibly indicating either supported or not supported features) and maybe some examples of particular configurations demonstrating some interesting ability of the board (ie: LVGL running on embedded display, etc).
For both (1) and (2) there are surely quite a lot of APIs to document which would also help in understanding how to support new chips/boards. These are also good places to document required toolchains.
For (3) we currently have board READMEs, which vary in quality/techical detail. Many were copied from other READMEs and there's a lot of repetition explaining how to do basic NuttX things or things that apply to all boards with the SoC (an example of something to document at (2)). So I'm not sure how much we could take advantage of those READMEs but of course they would be a starting point for (3).
What I'm unsure about is where to place these RST documents. The normal thing would be to continue documenting all of this under Documentation/. But I wonder if someone who changes something for a board, SoC or architecture will really be aware of the documentation which need updating if it is placed elsewhere. Of course just placing the file "close" to the relevant sources is no guarantee either. The downside of doing so is that board pictures for example would probably have to be stored next to sources (probably not a good idea). What do you think about this?
I know all of this is a lot of documentation to write but I think it is better to have start exposing this with very basic information than to not have anything at all.

I think it makes sense to put these docs in the Documentation folder.  I think making sure people update the docs is just something we need to get in a habit of during the review process.
Putting the docs there also makes it easier to link to shared information. I'm happy to help get some of the board documentation up to date at least for boards that I have.
We do have a lot of boards that are quite old and not available anymore, I guess we can base it on what is already there.
There is still a lot of good information in the wiki that we should also start migrating over.

I think it makes sense to put these docs in the Documentation folder. I think making sure people update the docs is just something we need to get in a habit of during the review process.

Yes, it is probably better to do so.

Putting the docs there also makes it easier to link to shared information. I'm happy to help get some of the board documentation up to date at least for boards that I have.

Great, thanks.

We do have a lot of boards that are quite old and not available anymore, I guess we can base it on what is already there.
There is still a lot of good information in the wiki that we should also start migrating over.

Yes, that is also something I looked over the other day. It will be challenging since it will probably involve finding good places for each piece of information and maybe creating new sections.

I think we can start by the boards (point (3)) and work our way up.  Documenting everything in arch or the different chips can be daunting.  At least, we can just list the devices/features that are supported.
In the old documentation, we had an HTML table that groups all the supported architectures, chips and boards and then some descriptive details where given in a section below.
The  boards READMEs are more for technical details, they show how to run the configs and how to overcome certain issues.
For the boards, we can group all the information in one document as suggested.  We would end up with something similar to the Zephyr example.

I think making sure people update the docs is just something we need to get in a habit of during the review process.

Yes, we really need to do that.  In the previous 2 releases we had to update the documents during the preparation of the release notes.  That was somewhat painful as things can accumulate.

I think we can start by the boards (point (3)) and work our way up. Documenting everything in arch or the different chips can be daunting. At least, we can just list the devices/features that are supported.

Yes, there could be a lot to document, but we can focus on the important things first. I would create a skeleton for (1) and (2) and at least begin to document nRF52 in (2) which I'm most familiar with.
What I'm not sure is if we should create a "Supported Hardware" section which starts with a list of (1), and then for each item in (1) have all items in (2) and same with (3) (ie: mimicking the hierarchy of the code). The alternative is three lists, (1), (2) and (3) as top-level sections.

In the old documentation, we had an HTML table that groups all the supported architectures, chips and boards and then some descriptive details where given in a section below.

Yes, that is in:

https://nuttx.apache.org/docs/latest/introduction/supported_platforms.html
https://nuttx.apache.org/docs/latest/introduction/detailed_support.html

but I think we should simply replace that as it gives mostly historical data which is already out of date in most cases.

Yes, there could be a lot to document, but we can focus on the important things first. I would create a skeleton for (1) and (2) and at least begin to document nRF52 in (2) which I'm most familiar with.
What I'm not sure is if we should create a "Supported Hardware" section which starts with a list of (1), and then for each item in (1) have all items in (2) and same with (3) (ie: mimicking the hierarchy of the code). The alternative is three lists, (1), (2) and (3) as top-level sections.

I find the three top-level sections option better.  I think it would be easier to surf and find information.

but I think we should simply replace that as it gives mostly historical data which is already out of date in most cases.

I agree.  Some of what's written there is still relevant and we can still leverage from it.  But for the most part, it should be replaced by this new organisation.

I decided to start this, in the hopes that we can get better organized arch/board documentation. I documented nRF52 arch and will document the nRF52832-MDK board as a starting point. I also started some stubs for ESP32/BL602 to test how the hierarchy looks for boards on other archs.
I'm currently thinking how to organize the documentation. We discussed three top-level sections but I think that gets really messy since the arch-soc-board hierarchy gets flattened. I think the best way is to mimic the organization inside boards/ as: Documentation/platforms/<arch>/<soc>/<board>, which allows to document things at their proper level with an individual index.rst (eg: platforms/arm/index.rst, platforms/arm/nrf52/index.rst, etc.).
The only thing I'm not sure how to handle is that I would like to have this three-level hierarchy visible as a ToC, but this means having the board index.rst's generate a section at the same level that of a SoC. To make this work, I had to create a "Supported Boards" section inside the soc document, which may feel a bit weird. The result is the following:

Notice that in the last screenshot the document is not visible on the sidebard as it is limited to three levels, to avoid listing too many document sections. The problem is that if I do not nest boards under a "Supported Boards" section, board entries will appear at the same level as soc document sections. Another option is to completely hide the "supported boards" section
(they can still be exposed as in the first screenshot) but it will still not be visible in the sidebar.
Do you think this approach is OK? The only other way I see is to manually create this hierarchy by writing a boards/index.rst with sections and subsections for arch-soc and manually written list of links to board documents. This would make the sidebar look as expected while having a similar layout as first screenshot. I guess this could be scripted (create this .rst on the fly), but I'm not sure what's better in that case.

BTW, I decided to overlook for the time being that maybe we should actually have core-level and arch-variant documentation (ie: cortex-m4, archv7m). I think these could be sibling documents to the arch one (arm/cortex-m4.rst), in which there could be extra ToCs for these in arm/index.rst. But I'm not really sure if it is really important to do this right now. I think documenting SoC-level and board-level functionality first is more important.

@Ouss4 @btashton @xiaoxiang781216
Opinions?

@v01d I think the way you did in the screenshot is better. Separating by core-level and arch-variant is interesting only from technical point of view and organization. For end users it is better to have the name of the chip and the board names.
Maybe instead of having a single "Supported Platforms" session we could do this way:
Support ARM Platforms
  Nordic nRF52
    nRF52832-MDK
      Clock Configuration
      System Timer
      Regulator Control
      Peripheral Support
      BLE Support
      Supported Boards
Support RISC-V Platforms
Support Xtensa Platforms

This way we will get the board name

You mean top-level sections? (like sidebar entries?) I think that when we include all supported archs it will get too crowded.
Also, note that the leaf sections are documenting a the nRF52 SoC, not the board.

Yes, I noticed that the leaf was the nRF52 SoC, this is why I suggested creating Supported XXXX Platform as top item, but I agree with you it could be too crowded. Maybe we could modify the system to display one more level.

I managed to increase depth of sidebar to five levels. As it requires expanding with the [+] it still looks OK for deeply nested sections (in fact it helps navigation). Now the first screenshot is the same, whereas the last one looks like:

The board description page is no longer "hidden" (note the sidebar):

BTW, how do we deal with licensing of images? This pinout diagram is from MakerDairy official GitHub with MIT license. Should I add the copyright notice somewhere?

@v01d That is perfect! Could you please submit it? So we will use it as base for other boards.

BTW, how do we deal with licensing of images? This pinout diagram is from MakerDairy official GitHub with MIT license. Should I add the copyright notice somewhere?

Yes the NOTICE file needs to be updated for these bundled binaries see
https://www.apache.org/legal/src-headers.html#faq-media
We should also be very careful about keeping the images we use small if possible so we do not blow up the repository size.

I like this @v01d  I think we should take this in whatever form seems reasonable and then iterate on it as we add content to it.


Unable to execute rake jobs

I'm trying to execute a rake task, but cannot as bundler requires rake, but cannot find it. It doesn't make any sense -- rake is there, bundle install works just fine, rails c production loads etc.
Command:
$ rake my_namespace:my_task

Backtrace:
/home/user/.rvm/gems/ruby-2.4.0/gems/bundler-1.14.5/lib/bundler/spec_set.rb:87:in `block in materialize': Could not find rake-12.0.0 in any of the sources (Bundler::GemNotFound)
	from /home/user/.rvm/gems/ruby-2.4.0/gems/bundler-1.14.5/lib/bundler/spec_set.rb:80:in `map!'
	from /home/user/.rvm/gems/ruby-2.4.0/gems/bundler-1.14.5/lib/bundler/spec_set.rb:80:in `materialize'
	from /home/user/.rvm/gems/ruby-2.4.0/gems/bundler-1.14.5/lib/bundler/definition.rb:176:in `specs'
	from /home/user/.rvm/gems/ruby-2.4.0/gems/bundler-1.14.5/lib/bundler/definition.rb:235:in `specs_for'
	from /home/user/.rvm/gems/ruby-2.4.0/gems/bundler-1.14.5/lib/bundler/definition.rb:224:in `requested_specs'
	from /home/user/.rvm/gems/ruby-2.4.0/gems/bundler-1.14.5/lib/bundler/runtime.rb:118:in `block in definition_method'
	from /home/user/.rvm/gems/ruby-2.4.0/gems/bundler-1.14.5/lib/bundler/runtime.rb:19:in `setup'
	from /home/user/.rvm/gems/ruby-2.4.0/gems/bundler-1.14.5/lib/bundler.rb:100:in `setup'
	from /home/user/.rvm/gems/ruby-2.4.0/gems/bundler-1.14.5/lib/bundler/setup.rb:20:in `<top (required)>'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'

Gemfile, environment details, etc. here: https://gist.github.com/samnissen/3fd9230921127d7c11cf871f326b526a

have you tried bundle exec rake my_namespace:my_task or bin/rake ...?

@hmistry Yes. Both result in the same error message.

Exact same think here using the jekyll docker image:
kwisatz@duncan:~/website - master $ docker-compose run serve bundle config
Running `bundle config` with bundler 1.14.4
Settings are listed in order of priority. The top value will be used.
without
Set for your local app (/srv/jekyll/.bundle/config): "test:deploy"
Set via BUNDLE_WITHOUT: "test:deploy"

disable_shared_gems
Set for your local app (/srv/jekyll/.bundle/config): "true"

path
Set via BUNDLE_PATH: ".docker/bundle"

I got the error alike:
↪ rails s rake                                                                                15:38:15
Ignoring json-1.8.3 because its extensions are not built.  Try: gem pristine json --version 1.8.3
Ignoring nokogiri-1.6.8 because its extensions are not built.  Try: gem pristine nokogiri --version 1.6.8
Ignoring nokogiri-1.6.8 because its extensions are not built.  Try: gem pristine nokogiri --version 1.6.8
Ignoring nokogiri-1.6.8 because its extensions are not built.  Try: gem pristine nokogiri --version 1.6.8
Ignoring json-1.8.3 because its extensions are not built.  Try: gem pristine json --version 1.8.3
Ignoring nokogiri-1.6.8 because its extensions are not built.  Try: gem pristine nokogiri --version 1.6.8
Ignoring nokogiri-1.6.8 because its extensions are not built.  Try: gem pristine nokogiri --version 1.6.8
Ignoring nokogiri-1.6.8 because its extensions are not built.  Try: gem pristine nokogiri --version 1.6.8
Could not find rake-12.0.0 in any of the sources
Run `bundle install` to install missing gems

Same problem. Happens on every new project. I'm using RubyMine.
/usr/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) -Ilib /Applications/RubyMine.app/Contents/rb/testing/runner/tunit_or_minitest_in_folder_runner.rb
Testing started at 11:14 AM ...
/Library/Ruby/Gems/2.0.0/gems/bundler-1.14.6/lib/bundler/spec_set.rb:87:in `block in materialize': Could not find rake-11.3.0 in any of the sources (Bundler::GemNotFound)
	from /Library/Ruby/Gems/2.0.0/gems/bundler-1.14.6/lib/bundler/spec_set.rb:80:in `map!'
	from /Library/Ruby/Gems/2.0.0/gems/bundler-1.14.6/lib/bundler/spec_set.rb:80:in `materialize'
	from /Library/Ruby/Gems/2.0.0/gems/bundler-1.14.6/lib/bundler/definition.rb:176:in `specs'
	from /Library/Ruby/Gems/2.0.0/gems/bundler-1.14.6/lib/bundler/definition.rb:235:in `specs_for'
	from /Library/Ruby/Gems/2.0.0/gems/bundler-1.14.6/lib/bundler/definition.rb:224:in `requested_specs'
	from /Library/Ruby/Gems/2.0.0/gems/bundler-1.14.6/lib/bundler/runtime.rb:118:in `block in definition_method'
	from /Library/Ruby/Gems/2.0.0/gems/bundler-1.14.6/lib/bundler/runtime.rb:19:in `setup'
	from /Library/Ruby/Gems/2.0.0/gems/bundler-1.14.6/lib/bundler.rb:100:in `setup'
	from /Library/Ruby/Gems/2.0.0/gems/bundler-1.14.6/lib/bundler/setup.rb:20:in `<top (required)>'
	from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'

Process finished with exit code 1

RubyMine 2017.1
Build #RM-171.3780.96, built on March 20, 2017
JRE: 1.8.0_112-release-736-b13 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.12.3

What is the output of bundle env?

@segiddins I've added it to my output: https://gist.github.com/samnissen/3fd9230921127d7c11cf871f326b526a#file-output-sh-L470
My attempts to solve this might have caused some drift between the results there and my previous information, but none of the fundamentals have changed.

What happens if you run bundle exec rake?

bundle exec rake my_namespace:my_task or bin/rake my_namespace:my_task do not change the resulting error message

Here's my bundle env: https://gist.github.com/kwisatz/97ad8c7914a67f23849295f3bd116dc2
And bundle exec rake:
kwisatz@mazer:~/ master $ docker-compose run serve bundle exec rake
Could not find rake-12.0.0 in any of the sources
/usr/lib/ruby/gems/2.3.0/gems/bundler-1.14.6/lib/bundler/spec_set.rb:87:in `block in materialize'
/usr/lib/ruby/gems/2.3.0/gems/bundler-1.14.6/lib/bundler/spec_set.rb:80:in `map!'
/usr/lib/ruby/gems/2.3.0/gems/bundler-1.14.6/lib/bundler/spec_set.rb:80:in `materialize'
/usr/lib/ruby/gems/2.3.0/gems/bundler-1.14.6/lib/bundler/definition.rb:176:in `specs'
/usr/lib/ruby/gems/2.3.0/gems/bundler-1.14.6/lib/bundler/definition.rb:235:in `specs_for'
/usr/lib/ruby/gems/2.3.0/gems/bundler-1.14.6/lib/bundler/definition.rb:224:in `requested_specs'
/usr/lib/ruby/gems/2.3.0/gems/bundler-1.14.6/lib/bundler/runtime.rb:118:in `block in definition_method'
/usr/lib/ruby/gems/2.3.0/gems/bundler-1.14.6/lib/bundler/runtime.rb:19:in `setup'
/usr/lib/ruby/gems/2.3.0/gems/bundler-1.14.6/lib/bundler.rb:100:in `setup'
/usr/lib/ruby/gems/2.3.0/gems/bundler-1.14.6/lib/bundler/setup.rb:10:in `<top (required)>'
/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/lib/ruby/gems/2.3.0/gems/bundler-1.14.6/lib/bundler/cli/exec.rb:71:in `kernel_load'
/usr/lib/ruby/gems/2.3.0/gems/bundler-1.14.6/lib/bundler/cli/exec.rb:27:in `run'
/usr/lib/ruby/gems/2.3.0/gems/bundler-1.14.6/lib/bundler/cli.rb:335:in `exec'
/usr/lib/ruby/gems/2.3.0/gems/bundler-1.14.6/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/usr/lib/ruby/gems/2.3.0/gems/bundler-1.14.6/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/usr/lib/ruby/gems/2.3.0/gems/bundler-1.14.6/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'
/usr/lib/ruby/gems/2.3.0/gems/bundler-1.14.6/lib/bundler/cli.rb:20:in `dispatch'
/usr/lib/ruby/gems/2.3.0/gems/bundler-1.14.6/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'
/usr/lib/ruby/gems/2.3.0/gems/bundler-1.14.6/lib/bundler/cli.rb:11:in `start'
/usr/lib/ruby/gems/2.3.0/gems/bundler-1.14.6/exe/bundle:32:in `block in <top (required)>'
/usr/lib/ruby/gems/2.3.0/gems/bundler-1.14.6/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'
/usr/lib/ruby/gems/2.3.0/gems/bundler-1.14.6/exe/bundle:24:in `<top (required)>'
/usr/bin/bundle:22:in `load'
/usr/bin/bundle:22:in `<main>'
Run `bundle install` to install missing gems.

Thanks! Looks like a real bug

@kwisatz looking at your environment, bundler is behaving as intended. Since the only thing that has declared a dependency on rake is capistrano, which is in the deploy group, running with BUNDLE_WITHOUT=test:deploy will indeed cause bundler to not activate rake. Either add rake as a dependency outside of the without groups, or remove the deploy group from without.

@samnissen I was unable to reproduce the issue with the Gemfile & Gemfile.lock that you shared

@segiddins I have finally realized my very silly mistake. Hopefully my embarrassment can save someone else's. I have followed some advice to fix an issue with the gem mini_magick that looks a bit like this:
$ cat config/environments/production.rb
# ...
ENV['PATH'] = "/usr/bin:#{ENV['PATH']}"

I finally realized that causes this weird situation:
$ ruby -v
ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-linux]

$ irb
2.4.0 :001 > `ruby -v`
 => "ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-linux]\n"
2.4.0 :001 > quit

$ rails c production
Loading production environment (Rails 5.0.1)
2.4.0 :001 > `ruby -v`
 => "ruby 2.0.0p648 (2015-12-16) [x86_64-linux]\n"

As you can see, Rails is picking up a different version of Ruby -- indeed, the system Ruby, and not my RVM-managed Ruby 2.4.
For reference, a fix to the mini_magick issues that does not cause Rails to pick up the wrong Ruby version is to symlink mogrify (and not add the line to production.rb):
$ sudo ln -s /usr/bin/mogrify /usr/local/bin/mogrify

Thanks, and sorry for wasting your time.
As a final note: Is there any way to make it so Bundler can detect mismatches like this? That would be very cool!

@samnissen Thanks for coming back and telling us the root cause and solution... really appreciate it.


Work-around for .option-list regression of  styling

After #1330, we have an issue that .option-list is affected. It's not too bad, and we cannot really create a more sophisticated negative rule for a parent path... because of logic :)
So either we create an inverse kind of positive rule for .option-list dt kbd or we accept that <kbd> doesn't style inside a dt.
Before:

After:

and we cannot really create a more sophisticated negative rule for a parent path... because of logic

I gave an example of this in #1330


Fix the missing - in file.

Oh wait, could this be the reason why all GPU models are broken for the moment? Not a single model is working for me for the moment...
Check this issue: https://github.com/Itseez/opencv/issues/5970#issuecomment-179790264

:+1:

For me only the upper body was corrupted, so I don't think this is the issue you go @StevenPuttemans
This could however be related to the conversion form old to new model?


The format of the encoding table is broken.

Please see the following picture.
BTW, I have test the Encoding.GetEncodings method ant only got 8 codepages within the Windows 10 IoT core OS. How to convert the ANSI (e.g. chinese ANSI) txt file to the UNICODE?
CodePage(WindowsCodePage) BodyName
1200(1200) utf-16
1201(1200) utf-16BE
12000(1200) utf-32
12001(1200) utf-32BE
20127(1252) us-ascii
28591(1252) iso-8859-1
65000(1200) utf-7
65001(1200) utf-8
Best regards.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: e108a631-9747-7d6e-dc36-280b0591cd68
Version Independent ID: f630aa07-55fd-5352-f0c3-bd2e263cd70b
Content: Encoding Class (System.Text)
Content Source: xml/System.Text/Encoding.xml
Product: dotnet-api
GitHub Login: @rpetrusha
Microsoft Alias: ronpet

Thanks for pointing this out, @moyanming. I've opened PR dotnet/dotnet-api-docs#406 to correct the table formatting.


Some cleanups for the codebase

See each commit for the details.

Just the one question. :+1:

Just fixed. :zap:

:zap:


Cheese order

not sure why this branch is called this doesn't have anything to do with what i was doing


Get third-party dependencies from CDN

All of the third-party libraries used by uw-frame are available from CDNJS, so here's a suggestion to replace our use of bower dependencies with CDN URLs.
Note: adblockers like to block angulartics-google-analytics, so I made it fail gracefully in initialization rather than bork up the requirejs module loader or the angularjs "module" loader.
Pros:

Browsers can use the same cached resource across all MyUW apps (or any site)
Reduces build time
Reduces build configuration
Reduces load on webservers
cdnjs has better uptime than we do
All the URLs are versioned

Cons:

Not managed through a command-line tool (jspm+systemjs could address this)
A single page load might be slower, due to the extra DNS lookup
Local webservers might be less latent for local users
We don't control the CDN (I'm not sure this is a con at all, but it's a popular argument)

Coverage increased (+0.1%) to 33.67% when pulling e10898537685528238acdf58d41f21d422dfd75a on paulerickson:master into baf7728751439f00066efc0929f376818ca2637c on UW-Madison-DoIT:master.

I can edit my final review comment, this makes me sigh. I was going to add I really like this change so far, just a minor tweak needed for uw-frame-java

Coverage increased (+0.1%) to 34.32% when pulling ab4115099b394abcab2aa97690fe911af0b78e02 on paulerickson:master into b6ba5162e505c46f6ecafd74069c63825efe318f on UW-Madison-DoIT:master.

Coverage increased (+0.1%) to 34.32% when pulling b02307904ba466abc0f34d50eaa81aba1925656c on paulerickson:master into b6ba5162e505c46f6ecafd74069c63825efe318f on UW-Madison-DoIT:master.

Okay, I believe I have sorted out the pom and addressed all the feedback.  npm run jetty and npm run static both look good.

Coverage increased (+0.1%) to 34.32% when pulling 4c8a97bcc2c6b5a53bf834bb6c5ca007f932af0c on paulerickson:master into b6ba5162e505c46f6ecafd74069c63825efe318f on UW-Madison-DoIT:master.

False alarm, there's still more.

also may want to check npm run docs

Coverage increased (+0.1%) to 34.32% when pulling 2b99f78d11199e8b8748fcf68f423e5ec36fc772 on paulerickson:master into b6ba5162e505c46f6ecafd74069c63825efe318f on UW-Madison-DoIT:master.

@timlevett Done.  I did the same with docs and made sure it loads.
Two notification service unit tests are failing and I can't see why so I ran git bisect.  It says they started failing in the last revision:
first bad commit: [d0aae5e15caa8ebde07f11d24fb572a1d2a809ec] Refactor notifications controller and service

Coverage increased (+0.1%) to 39.432% when pulling 272034c4b170326ca5bbe18248d00bef9b86f1be on paulerickson:master into 469a5a72191bcd51bcba597bf19ecac3d820a80b on UW-Madison-DoIT:master.


Movielens fix #7

Looks good! Thanks you.
Have you tried running any experiments on Movielense?

I did, here the results so far using 1 NVIDIA P100:
*10 epochs,1gpu,bs=128,lr=0.005,hidden=512,512,1024,tr_time=1113s(18min),RMSE=0.8869814801625296
*50 epochs,1gpu,bs=256,lr=0.005,hidden=512,512,1024,tr_time=5026s(1.4h),RMSE=0.8500938244957209
*200 epochs,1gpu,bs=256,lr=0.005,hidden=512,512,1024,tr_time=19456s(5.4h),RMSE=0.8430963735001938

The rmse is lower than if you do ALS with a rank of 12, which I got 0.80. The next thing I will do is to try different layers. Have you done experiments with configurations in a diminishing order? like 512,512,256 or 512,256,128?
I noticed that when doing ALS if I use a rank of 200 I get RMSE of 0.97, but if I reduce the rank to 12 I get near 0.8. So maybe in this dataset we need a smaller latent space.
What is you experience on this?

If ALS of rank 12 gets 0.80, I would try DeepRecommender with an architecture of 12,12.
Making first layer large (e.g. 512,....) is dangerous because it can trigger severe over-fitting, because then first fully connected layer will be of size num_movies_x_512.
In fact, even with Netflix, the most time I spent fighting over-fitting.

ok, thank you for the guidance, I'll do experiments on my end and I will share them with you.


.NET Binding: PointClass is not treated as a flags enum

PointClass is a bitmask enum, however the conversion logic for PointClass in CLRAdapter does not treat it as a flags enum.
opendnp3::PointClass Conversions::Convert(PointClass clazz)
{
    switch (clazz)
    {
    case (PointClass::Class1):
        return opendnp3::PointClass::Class1;
    case (PointClass::Class2):
        return opendnp3::PointClass::Class2;
    case (PointClass::Class3):
        return opendnp3::PointClass::Class3;
    default:
        return opendnp3::PointClass::Class0;
    }
}

Also PointClass enum in .NET bindings is not decorated with [Flags] attribute.

PointClass is used to represent a single class (e.g. to assign a point to a class). When a bitfield of classes is required, the C# API uses ClassField.

I've checked and the 2.x release had the exact same behaviour. PointClass represents a single class, ClassField represents a bitfield of classes.


[BUG] I cannot update a runcard

Running the following code fails:
from qiboconnection.api import API
from qiboconnection.connection import ConnectionConfiguration

import qililab as ql

config = ConnectionConfiguration(username="qat", api_key="meow")

api = API(configuration=config)

modified_runcard = api.get_runcard(runcard_name="galadriel")

platform = ql.build_platform(runcard="dummy/soprano_master_galadriel_main.yml")

modified_runcard.runcard = platform.to_dict()
api.update_runcard(runcard=modified_runcard)

Returns:
[qibo-connection] 0.12.0|INFO|2023-10-04 16:39:22]: Storing personal qibo configuration...
[qililab] [0.20.4|WARNING|2023-10-04 16:39:23]: Cannot set `output_i=3` and `output_q=2` in hardware. The I/Q signals sent to sequencer 1 will be swapped to allow this setting.
[qililab] [0.20.4|WARNING|2023-10-04 16:39:23]: Cannot set `output_i=1` and `output_q=0` in hardware. The I/Q signals sent to sequencer 1 will be swapped to allow this setting.
[qililab] [0.20.4|WARNING|2023-10-04 16:39:23]: Cannot set `output_i=3` and `output_q=2` in hardware. The I/Q signals sent to sequencer 3 will be swapped to allow this setting.
[qibo-connection] 0.12.0|ERROR|2023-10-04 16:39:23]: {
  "title": "MethodNotAllowed",
  "status": 500,
  "detail": "405 Method Not Allowed: The method is not allowed for the requested URL. 500 Server Error:  for url: https://qilimanjaroqaas.ddns.net:8080/api/v1/runcards/2"
}
[qibo-connection] 0.12.0|ERROR|2023-10-04 16:39:23]: {"title":"MethodNotAllowed","status":500,"detail":"405 Method Not Allowed: The method is not allowed for the requested URL."}

Traceback (most recent call last):
  File "/Users/albertmitjans/Developer/qililab/.venv/lib/python3.10/site-packages/qiboconnection/errors.py", line 59, in custom_raise_for_status
    raise HTTPError(json.dumps(json_text, indent=2), response=response)
requests.exceptions.HTTPError: {
  "title": "MethodNotAllowed",
  "status": 500,
  "detail": "405 Method Not Allowed: The method is not allowed for the requested URL. 500 Server Error:  for url: https://qilimanjaroqaas.ddns.net:8080/api/v1/runcards/2"
}

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/Users/albertmitjans/Developer/qililab/dummy/update_runcard.py", line 15, in <module>
    api.update_runcard(runcard=modified_runcard)
  File "/Users/albertmitjans/Developer/qililab/.venv/lib/python3.10/site-packages/typeguard/__init__.py", line 1033, in wrapper
    retval = func(*args, **kwargs)
  File "/Users/albertmitjans/Developer/qililab/.venv/lib/python3.10/site-packages/qiboconnection/api.py", line 967, in update_runcard
    runcard_response = self._update_runcard_response(runcard=runcard)
  File "/Users/albertmitjans/Developer/qililab/.venv/lib/python3.10/site-packages/qiboconnection/api.py", line 975, in _update_runcard_response
    response, status_code = self._connection.send_post_auth_remote_api_call(
  File "/Users/albertmitjans/Developer/qililab/.venv/lib/python3.10/site-packages/qiboconnection/connection.py", line 47, in decorated
    raise ex
  File "/Users/albertmitjans/Developer/qililab/.venv/lib/python3.10/site-packages/qiboconnection/connection.py", line 44, in decorated
    return func(self, *args, **kwargs)
  File "/Users/albertmitjans/Developer/qililab/.venv/lib/python3.10/site-packages/typeguard/__init__.py", line 1033, in wrapper
    retval = func(*args, **kwargs)
  File "/Users/albertmitjans/Developer/qililab/.venv/lib/python3.10/site-packages/qiboconnection/connection.py", line 294, in send_post_auth_remote_api_call
    return process_response(response)
  File "/Users/albertmitjans/Developer/qililab/.venv/lib/python3.10/site-packages/qiboconnection/util.py", line 153, in process_response
    custom_raise_for_status(response)
  File "/Users/albertmitjans/Developer/qililab/.venv/lib/python3.10/site-packages/qiboconnection/errors.py", line 63, in custom_raise_for_status
    raise HTTPError(json_text_str, response=response) from ex
requests.exceptions.HTTPError: {"title":"MethodNotAllowed","status":500,"detail":"405 Method Not Allowed: The method is not allowed for the requested URL."}

https://github.com/qilimanjaro-tech/qiboconnection/pull/92 should fix this


chore: add badge to open mathlib in Codespaces

Requested by @AlexKontorovich at https://leanprover.zulipchat.com/#narrow/channel/113488-general/topic/adding.20codespaces.20link.20to.20main.20mathlib4.20website

Hmm, the default badge is much bigger than the others:

Would it be possible to also add a big standalone button in the Installation section please, right above the same for Gitpod? Thanks!!

As far as I can tell there's no existing badge that matches the others at the top (and yes, this is an official GitHub badge).
It lines up terribly side by side with the Gitpod badge, so this might be the best we get without designing our own:

bors merge


Some questions

I tried to use this method, but the GetUnicastAddresses didn't return any IP addresses which had IsIPv6Teredo  true. Do I have to do anything else to "enable" this feature?
I started a TcpListener with AllowNatTraversal set to true and set it to listen before calling GetUnicastAddresses not sure if the order makes a difference in this case?
Does the TcpListener have to use a specific port for this method?
Is this still a recommend way to handle NAT in 2019 or are there newer methods/ways?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 9ef99bd6-bf1a-7337-b135-9c515a387547
Version Independent ID: 60f6f5ad-b128-14d3-9c81-ddb52694952b
Content: NAT Traversal using IPv6 and Teredo
Content Source: docs/framework/network-programming/nat-traversal-using-ipv6-and-teredo.md
Product: dotnet-framework
Technology: dotnet-networking
GitHub Login: @karelz
Microsoft Alias: ncldev

@davidsh can you help with these questions?

I tried to use this method, but the GetUnicastAddresses didn't return any IP addresses which had IsIPv6Teredo true. Do I have to do anything else to "enable" this feature?
I started a TcpListener with AllowNatTraversal set to true and set it to listen before calling GetUnicastAddresses not sure if the order makes a difference in this case?
Does the TcpListener have to use a specific port for this method?
Is this still a recommend way to handle NAT in 2019 or are there newer methods/ways?

IPv6Teredo is a transitional technology which was used to enable IPv6 connections over IPv4 networks. But in today's world, most routers, modems, and ISPs support both IPv4 and IPv6 directly. In those cases, you won't see any "Teredo" network interfaces listed at all when do you an "ipconfig /full" from the CMD.EXE window.
The use of the IPv6 teredo network interface is also subject to enterprise group policy depending on your network. There are ways to diagnose this.  See: https://social.technet.microsoft.com/Forums/windows/en-US/943a3542-67d7-4071-9a3f-f567a8f079f9/teredo-offline-how-to-enable-it

Is this still a recommend way to handle NAT in 2019 or are there newer methods/ways?

NAT is a concept usually for local area networks and IPv4 networks only. But IPv6 doesn't really need NAT at all. That is why proper firewall configuration is important.


ImageEmbedder not working

🐛 Bug
When I try to use the ImageEmbedder I get the following error message:
ModuleNotFoundError: Required dependencies not available. Please run: pip install 'vissl' 'fairscale' 'lightning-flash[image]'
I insalled vissl as described on their website using conda.
I have:
vissl.__version__ = 0.1.6
fairscale.__version__ = 0.3.7
flash.__version__ = 0.7.1
torch.__version__ = 1.7.1
To Reproduce
Run the code from the lightning_flash doc example:
import torch
from torchvision.datasets import CIFAR10

import flash
from flash.core.data.utils import download_data
from flash.image import ImageClassificationData, ImageEmbedder

# 1. Download the data and prepare the datamodule
datamodule = ImageClassificationData.from_datasets(
    train_dataset=CIFAR10(".", download=True),
    batch_size=16,
)

# 2. Build the task
embedder = ImageEmbedder(
    backbone="resnet",
    training_strategy="barlow_twins",
    head="barlow_twins_head",
    pretraining_transform="barlow_twins_transform",
    training_strategy_kwargs={"latent_embedding_dim": 128},
    pretraining_transform_kwargs={"size_crops": [196]},
)

Expected behavior
Run without error
Environment

OS (e.g., Linux): Pop!_OS 21.10
Python version: 3.8.13
Relevant python dependencies described above.

Hi @sirtris Thanks for reporting this! This is working ok for me locally and in our CI. Could you share the command you used to install Flash? It would need to be pip install 'lightning-flash[image]' for this example to work

Thanks that solved it.
I was only using pip install lightning-flash


JobData doesn't accept arrays

The following code won't work in a QueuedJob
public function process() {
    if (!$this->myArray) {
        $this->myArray = array();
    }

    $this->myArray[] = 'myval';
}

Instead, just empty arrays are stored

Properties on a QueuedJob aren't automatically store and serialised... you need to manually store / restore data via setJobData and getJobData.
We successfully store array data in fulltextsearch with the below code.
public function getJobData()
    {
        $data = new stdClass();
        $data->totalSteps = count($this->getAllIndexes());
        $data->currentStep = count($this->completed);
        $data->isComplete = $this->jobFinished();
        $data->messages = $this->messages;

        $data->jobData = new stdClass();
        $data->jobData->skipped = $this->skipped;
        $data->jobData->completed = $this->completed;
        $data->jobData->indexes = $this->getAllIndexes();

        return $data;
    }

    public function setJobData($totalSteps, $currentStep, $isComplete, $jobData, $messages)
    {
        $this->isComplete = $isComplete;
        $this->messages = $messages;

        $this->skipped = $jobData->skipped;
        $this->completed = $jobData->completed;
        $this->indexes = $jobData->indexes;
    }

Thanks!

Well actually, they are - via __set and __get. The problem is using [] syntax on an array returned from a reference that triggers a ->__get()  method call. Normally in this scenario I do something like
public function process() {
    $arr = $this->myArray;
    if (!$arr) {
        $arr = array();
    }

    $arr[] = 'myval';

    $this->myArray = $arr;
}

The same applies for functions that modify the array passed in, such as array_shift, sort etc

ok, so the problem is with AbstractQueuedJob specifically. I guess we can write tests for a subclass of this abstract class.

I've triaged this as a "add some tests" task


Sound missing

I have pagermon working only how do I get the sound active?

What sound? Sorry not sure what you mean

Pagermon has no sound per say...
RTL_FM listens to the pager freq then pipes what it hears to Multimon which decodes it into text and then gets piped to pagermon app which processes the info..
Your not meant to hear that lovely POCSAG or Flex noise...

I see a bell into de GUI so i think i can use a sound notification when a new massage is arrived.. into the top i see refesh and than a Bell icon i can activite

That enables browser level notifications - I'm not sure whether you can configure the browser to make sound on one of those notifications, would be a browser or OS level configuration though.

Bet me to it @davidmckenzie 👍
Mine Dings when a notification comes through but yeah prob browser/os setting somewhere..

Thanks, Iam happy that you make this software GUI..
+1


UK Truck Simulator has weird black stuff on grass and trees

Software information
UK Truck Simulator version 1.32 with max settings without anti aliasing turned on
System information

GPU:Nividia Geforce GTX 1650 4GB EVGA

Driver:461.7
-Windows 11 22H2

DXVK version: 2.3

Apitrace file(s)

https://drive.google.com/drive/folders/1OIrgTzsDVRrk7SOAHBMb-yFo7JOpVhLS?usp=drive_link

Hi there and thank you for the issue. Can you verify that the issue goes away by putting a file called dxvk.conf next to the games exe and inserting d3d9.floatEmulation = Strict in to it?

Your fix fixed the game.I no longer see those weird black stuff .

Oh ok.

@GTAbestplayer123 I gather this is the first game which isn't available online?
Can you send how the path to the exe looks from the games folder? I can see the apitrace that contains actual data is called game.trace so the main exe doesn't have a unique name.
Basically i'll want to know what the name of the default game install folder is called and then from there the path to the exe.

The game used to be avilable digitally but SCS took the site to buy the game down. Game.exe is used for game configuration and license activation i believe.

Before we let you get back to driving trucks in peace can you verify that the issue is gone without any config files if you use the download at the bottom of this page https://github.com/doitsujin/dxvk/actions/runs/7398166082 ?

It fixed the problem although the 32 bit files will  cause the game not to run at all but the  64 bit files works fine.

Is the game 32bit? If yes then using the 64bit files means it isn't using dxvk

I remeber running the game on Windows XP many years ago so i think it is 32 bit.

Sorry the crash was a brainfart from me. This should hopefully work with the 32bit version https://github.com/doitsujin/dxvk/actions/runs/7398629921

The game now runs correctly.

It also fixed that annoying bug on  Windows 10 and 11 when the game will suddenly crash after a certain amount of time without any fixes apply to it.


After installing VS the logo doesn't show up

VSCode Version: Code 1.11.2 (6eaebe3b9c70406d67c97779468c324a7a95db0e, 2017-04-13T08:01:14.464Z)
OS Version: Linux x64 4.10.0-19-generic
Extensions: none

Steps to Reproduce:

The issue is unclear to me
Please describe the expected behavior and the actual behavior, along with any repo steps. Screenshots would also be helpful

Closing since there is not enough info to investigate this


Use go 1.20 image for CI builds

Description
Update Dockerfile.prow to use go 1.20 image.
This is a prerequisite step before we can update CI config files to use go 1.20 image.
Type of change
What type of changes does your code introduce to the Prometheus operator? Put an x in the box that apply.

[ ] CHANGE (fix or feature that would cause existing functionality to not work as expected)
[ ] FEATURE (non-breaking change which adds functionality)
[ ] BUGFIX (non-breaking change which fixes an issue)
[ ] ENHANCEMENT (non-breaking change which improves existing functionality)
[ ] NONE (if none of the other choices apply. Example, tooling, build system, CI, docs, etc.)

Changelog entry
Please put a one-line changelog entry below. This will be copied to the changelog file during the release process.

/lgtm


About the pretrained model (pretrained_model/pretrained_model_sceneflow.ckpt) EPE:1.093, different from the result in Table 5

A wonderful work!
I'd like to know whether the pretrained model corresponds to Table 5, because I tested the pretrained model in the test dataset of SceneFlow and got the result EPE:1.093, further larger than the result in Table 5.

Table 5 is results on KITTI, not Scene Flow. The pretrained model is for Scene Flow

Are the pretrained model the best? I run the pretrained model you provided in the test dataset of SceneFlow, but just get EPE 1.093, further larger than the result in your paper.

You can use "python test_sceneflow.py" to test model on Scene Flow.

Thanks for replying. I got the same result as described in your paper this time.  The previous result is caused by the compression of image files.  To save storage, I compressed the original image files from the format 'PNG'  to 'JPG'. Although there is little perceptual difference between the original and compressed, the final result diverges.


Support OCI GenAI embedding model

Expected Behavior
Support Oracle Cloud Infrastructure (OCI) GenAI Embedding models
Current Behavior
No implementation exists
Context
Spring AI has support for Oracle vector database, but is missing some pieces around gen AI. I'd like to fill in those gaps with the relevant implementations.

I've created a PR for the embedding model here, that should resolve this issue: https://github.com/spring-projects/spring-ai/pull/1254/


[BUG] Tooltips as react children element don't show anything

Describe the bug
The tooltip is not displayed when it is created with custom html (React children elements). The children  example is broken too.
Version of Package
v5.3.0
To Reproduce
<anyElement id="element-id" />

<Tooltip anchorId="element-id">

should work

</Tooltip>

➡ Workaround ⬅
Just add content="." and it should works for now.
<anyElement id="element-id" />

<Tooltip anchorId="element-id" content=".">

now work

</Tooltip>

Expected behavior
Should show tooltip
Desktop (please complete the following information if possible or delete this section):

OS: Windows
Chrome
Latest

Hi Felipe!
We had noticed this issue earlier but hadn't started investigating it yet. Your workaround made it quite easy to realize what was causing the issue, so big thanks for that.
We should have a version with the fix up and running soon.

Yeah, I also found that it only shows the children if I set the content either as a prop or as a data attribute.


[docs-infra] Fix markdown version for material

Fix #40659
@danilo-leal I assume it's kind of typo you did.

I did the change on purpose in https://github.com/mui/material-ui/pull/38410/commits/99acbfbeeac023eda76a4e00614a25293fc8967a to improve the performance of the page transition (it's much faster between buttons than between other pages because they share the same layout).
I think the fix should go the other way around, fix MarkdownDocsV2 so we can progressively kill MarkdownDocs.

(@Janpot @michaldudak this is an example of what I have in mind with docs-infra / code-infra / other-infra changes being propagated everywhere in the codebase: breaking changes goes into new APIs, until enough MUI X, Toolpad, projects migrated)

100% agreed. All changes should be opt-in until all repositories have migrated. imo, this shouldn't apply only to internal code, we could benefit from organizing the versioning of our public code around the same philosophy. Any breaking change is introduced opt-in before a major version makes it the default.
This gives users the freedom to plan the migration of individual features at their own pace before increasing a major. This in contrast with having a major version mandating an all-or-nothing migration effort which is way riskier and harder to plan for.

At least with the infra team we now have devs in each team aware of the modification, but opening issues and setting deadlines could help to avoid accumulating those

The purpose of the opt-in behavior is to improve collaboration. To allow multiple people make breaking changes concurrently without requiring a release cadence. It is not to be used as a way to produce migration work for other teams.
I think the most effective way to enforce this is to establish end-to-end ownership of a feature. Ideally the person who builds the new feature also propagates it to dependent projects, either by actually coding it themselves or serving as a liaison for someone on the dependent team.

Suggestion could be to prefer polymorphism over conditionals here. i.e. use something like a headers.hasApiSection flag over checking the product id. But conditionals on product id are already all over the place, so... yeah 🤷

Yes, I thought about it, more like ignoreApiSection, but the idea of adding that to all the base-ui markdown feels bad


Towards Modularized HPX

This commit adds the basic infrastructure to develop modular HPX
libraries. That is, that each library in the libs subdirectory is
supposed to be a self contained CMake project, with clear dependencies
Any background context you want to provide?
In order to streamline our development process, I think it is paramount, that we improve the structure of our code base with clearer dependencies. This is a proposal on how this might look like.

Thanks @sithhell (I got it right this time!). Does this kind of setup mean that as a user I'd have to do find_package(HPX.libA) and then find_package(HPX.libB)? Instead of find_package(HPX) and then use as link targets HPX::libA and HPX::libB? On the other hand, I guess the top CMakeLists.txt can re-export targets from subprojects so that you get both?

Yes, both should be possible at the end.


Allow team access to group EC2 instance

As a developer, I want to be able to access the same resources as my teammates so we can all contribute and view each other's work.

[ ] Add user permissions for the whole team to access the "official" EC2 instance

[x] Alexi
[ ] Ashray
[ ] Brandon
[x] Jason
[ ] Lucas
[x] Victor

[ ] Everyone can view and edit the /home/homeassistant/ directory

Add new user account

Generate a keypair

Create a shared folder

Test it out!

Make sure to provide the public key NOT the private key. See Slack for how to do this.

Make sure to set correct permissions for the private key: chmod 600 priv-key.pem

No one else has requested, so closing.


GH-189 Support binding anon to built-in exchange

Fixes https://github.com/spring-cloud/spring-cloud-stream-binder-rabbit/issues/189
queueNameGroupOnly does not work with anonymous groups.

... and cherry-picked to 2.0.x as https://github.com/spring-cloud/spring-cloud-stream-binder-rabbit/commit/3fd410828fb3eafa440fcf4e8f7e4de581dce45d after reverting Base64UrlNamingStrategy change.


Carla compilation environment version and docker Ubuntu version does not match

carlamsim/carla docker image is built from nvidia/vulkan:1.1.121-cuda-10.1-alpha which is based on Ubuntu 16.04.
It seems that carla is compiled on Ubuntu 18.04, this causes compatibility issues when this docker image is modified to add Ubuntu's Python 3.5 and libstdc++6.
Why is https://github.com/carla-simulator/carla/blob/master/Util/Docker/Release.Dockerfile based on nvidia/vulkan:1.1.121-cuda-10.1-alpha ? Shouldn't it be based rather on nvidia/vulkan:1.1.121-cuda-10.1--ubuntu18.04 ?
I did my testing with Carla 0.9.9.
Regards,

@erdnaxe this seems to be a good suggestion. We would appreciate a PR with the change.

@erdnaxe our docker build in carlasim is build on Ubuntu 16.04, because is the minimum version we support.
If we apply your change, will it break our docker on Ubuntu 16.04?

Indeed my change will upgrade carlasim/carla docker to 18.04. Maybe it could be possible to ship two docker images, one based on nvidia/vulkan:1.1.121-cuda-10.1--ubuntu18.04 and one based on nvidia/vulkan:1.1.121-cuda-10.1--ubuntu16.04 ?
@bernatx You seem to indicate that Ubuntu 16.04 is used to build carla, but at least in carlasim/carla:0.9.9 I observed that:

/home/carla/PythonAPI/carla/dist/carla-0.9.9-py3.7-linux-x86_64.egg was built using Python3.7 which is not Ubuntu 16.04 default Python3. This makes it impossible to import in 16.04 Python3 without an additional PPA.
/home/carla/Tools/RecastBuilder was compiled using Ubuntu 18.04 libstdc++. This makes it impossible to use without a core dump on 16.04.

That is why I propose to upgrade the docker to match the Ubuntu version. If your goal is to provide an Ubuntu 16.04 docker image, then maybe there is a version mismatch during the building process ?

I am also confused with this problem. I found your docs about building on linux says 'Since release 0.9.9, CARLA cannot run in Ubuntu 16.04 using default compilers', but release image is based on 16.04 ...

The thing is that we support Ubuntu 16.04 for building CARLA, but you need to install the proper version of compilers. The default compilers of Ubuntu 16.04 will not compile CARLA, because UE 4.24 requires newer versions of compilers.

@bernatx Got it, so where could I find requirements about compiler and libraries to build in Ubuntu 16.04? Thx!

In this link: https://carla.readthedocs.io/en/latest/build_linux/
You have requeriments for Ubuntu 18.04 and for previous versions (16.04)


Feature request:  caption for "external cron"-Plugin to complete

I suggest caption for "external cron"-Plugin to complete, namely thus

Use external server or service to run Hubzilla-poller/cron regularly

The addition Hubzilla-/cron can help for English-Beginners to differentiate between poller Interviewer and cron job. S. also "external cron"-Plugin -support-request.

Changed to 'background tasks' as we do not directly invoke the poller task any more and cron will only have meaning to people who are familiar with Unix (and its derivatives).  No doubt this will also have translation issues; in which case please re-open as a task to auto translate code, since this is taken from a comment in the code and is not a constant string which can be easily provided for translation.


init webpack fails when vue isn't installed globally

Given the following package.json
{
  "name": "details",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {},
  "author": "",
  "license": "ISC",

  "dependencies": {
    "vue": "^2.5.13"
  },
  "devDependencies": {
    "vue-cli": "^1.0.0"
  }
}

I've run the following commands in a docker container so they're reproducable:
docker run --rm -ti -v $(pwd):/src --user 1000 node:8 bash
$ cd /src

When initialising an empty webpack repo, vue-cli just fails with a JS error:
$ npm install
$ node_modules/.bin/vue init webpack test
description: test.js
if_or: (y/N) y
if_eq: (y/N) y
e2e: (y/N)
name: (test)
unit: (y/N) y
author: me<EMAIL_ADDRESS>lint: (y/N) y
router: (y/N) n
template_version:
unless: (y/N) y

This configuration results in:
   vue-cli · ((helpers.if_or || (depth0 && depth0.if_or)) || helperMissing).call is not a function

I've tried several different combination of flags (the flags have no documentation at all that I could find. Not very newbie-friendly!) and the error remains the same, except when I don't include if_or:
   vue-cli · Missing helper: 'if_or'

I have the same problem on:
Ubuntu 16.04
<EMAIL_ADDRESS>node v8.9.4
npm 5.6.0

@adimit I only now noticed that you installed vue-cli with ^1.0.0 version. Why? That would install a very old version which very probably doesn't worm wit this template.
@MarkProffitt that doesn't apply to yiu, obviously. I would assume your situation is different, what're exactly is happening?

vue init webpack wptut
A newer version of vue-cli is available.
latest:    2.9.2
installed: 2.0.2
[ { name: '1.0',
commit:
{ sha: '49b3ac5de552ab82ac6b44f3bb197bfc54063688',
url: 'https://api.github.com/repos/vuejs-templates/webpack/commits/49b3ac5de552ab82ac6b44f3bb197bfc54063688' } },
{ name: 'develop',
commit:
{ sha: 'd8fb86400e67be892208cb1d606a9681de949648',
url: 'https://api.github.com/repos/vuejs-templates/webpack/commits/d8fb86400e67be892208cb1d606a9681de949648' } },
{ name: 'fix_installerror_1168',
commit:
{ sha: 'a5a47eda8566e900ea24e4b9216216f45c16e133',
url: 'https://api.github.com/repos/vuejs-templates/webpack/commits/a5a47eda8566e900ea24e4b9216216f45c16e133' } },
{ name: 'gh-pages',
commit:
{ sha: '73e8b76a64193f291c99dd46daf6fbec46030b7f',
url: 'https://api.github.com/repos/vuejs-templates/webpack/commits/73e8b76a64193f291c99dd46daf6fbec46030b7f' } },
{ name: 'improve_env_var_usage',
commit:
{ sha: '4f0f8eb160090879d206a61f023d26b5b52f728f',
url: 'https://api.github.com/repos/vuejs-templates/webpack/commits/4f0f8eb160090879d206a61f023d26b5b52f728f' } },
{ name: 'improve_template_tests',
commit:
{ sha: '730f331630051b6fc1ca4913aec4d29cd5a33be6',
url: 'https://api.github.com/repos/vuejs-templates/webpack/commits/730f331630051b6fc1ca4913aec4d29cd5a33be6' } },
{ name: 'master',
commit:
{ sha: 'c29ab6a4679f74d970e025bb60c4602542eaff08',
url: 'https://api.github.com/repos/vuejs-templates/webpack/commits/c29ab6a4679f74d970e025bb60c4602542eaff08' } },
{ name: 'optimize_CI_recognition',
commit:
{ sha: '1fdcdd976394c671fd98d45e34b29c176203e4fd',
url: 'https://api.github.com/repos/vuejs-templates/webpack/commits/1fdcdd976394c671fd98d45e34b29c176203e4fd' } } ]
? name wptut
? author me
vue-cli · Missing helper: "if_or"

latest: 2.9.2
installed: 2.0.2

Your version is outdated

I get the same error with both versions

If that helper is missing, you do not use the most recent version.

OK, how do I get it I?  I've uninstalled. Installed locally, Installed globally.  Nothing fixes this problem

So vue -v says 2.9.2, yet installing the template fails?
In that case: absolutely no idea where to start.
If that command doesn't return 2.9.2 even though you did npm install vue-cli@latest -g, then your node npm installation is probably messed up.


Discuss!

Okay guys! Let's first clear out all those "creator related but not to us" comments as soon as we get it! @studenton

And @manishmarahatta I wanted you to some task. Lets try adding the changing text of like openosk.github.io

sure buddy ..on it!!

@mr-turdoide lets not make nav transparent .......3 scroll down it looks horrible

@mr-turdoide  2016 nepal lai pachadi rakham hola ....that don't make any sense .....agadi cha

@mr-turdoide  fixed logo and tag issue

i'll work on transparency and font ...u better work on padding for "2016 Nepal"

Rather than using our photo lets us the wallpaper from SFD Global website of Freedom Matters or Register.

Sure @manishmarahatta  and @nikeshbalami

@manishmarahatta  Just kept that 2016 Nepal in random. Will work on it

And wait @manishmarahatta @nikeshbalami @studenton , Some files are still to upload. :)

okay....i'm working on sfd countdown almost complete ......we could replace the 17th sep stuff

yeah thats the spirit!! Will be awesome.

I'll be reuploading the files soon. Just because an error occured.

Re-upload completed and now, everything works well. @manishmarahatta Dai,  _sites was not needed. So, it wasn't that confusing this time to upload all. @nikeshbalami Keep suggesting what should be where!

@manishmarahatta Are you on that time countdown ?

Lets add some more pages:

About
Agenda
-  Program Draft
- Expected Session
Support
- Sponsor a Event
- Become a Speaker
Team
Celebrating Partners
Contact

Tyo Agenda - Program Draft - Expected Session bhaneko "Agenda" page bhitra Program Draft ra Expected Session haina?

@studentonOkay, the nav bar issue is fixed. My fault. I left my modification on half way so it happened! :D

So do we have photos of every volunteer now?

guys i'm completely free today ..let us complete this website and get done with it ..maybe lot's of stuff might be pending with this website @mr-turdoide @studenton

"Become a Sponsor" ra "Become a Speaker" ko lagi chuttei page banaune ki tei front page ma hunxa form?

@studenton No, we donot have!
I have the photos of:
Nikesh Dai, Abhishek Pandey, Rumi Rajbhandari and myself.
I am asking for others to create of their own. So, currently, I removed all photos from the home!

@manishmarahatta @studenton Yeah dai, have you made that countdown?

@studenton Hunchha tei frontpage mai banauda!!

Guys lets make the page for "Become a Sponsor" and "Become a Speaker" ASAP, we should start sharing it for the sponsorship.

@mr-turdoide Official countdown ni ayexa.  This looks good! https://drive.google.com/file/d/0B-YGC_yC0qvvVndfbmpvdjRZVmc/view

@mr-turdoide @studenton @nikeshbalami yup this looks great tara alli opacity milayera halam hai

@manishmarahatta Orange thikai thyo huna ta! Bharkhar SFD ko wiki update gardai thiye. That's too orange dominant! :D

@manishmarahatta @nikeshbalami @studenton Could we possibly use google forms for "Become a sponsor" and "Become a speaker"?

I just created main.html for "The Event". To contain "Agenda - Program Draft - Expected Session" and all other details related to the event day!

Brown color garda yesto vo

Yo vanda orange nei thik lagyo. Yesma ramro color haru xa http://flatuicolors.com .

I think orange is okay!

@mr-turdoide we don't need those Google forms kinds of stuff, all we need is a separate static page for both of them, "Become a Sponsor" and "Become a Presenter"

@nikeshbalami Tyo page ma form rakhne ho ki sponsorship ko bare lekhne?
Btw, google form rakhena vane aru mildaina. Github ma backend hunna, so afnei form handle garna mildaina. Baru, google form lai page mei embed garna milxa.

@mr-turdoide Vai, yo herata if you're free. Google forms lai custom design garne. Kam garxa ki. http://www.earlybirdstrategy.com/customize-google-forms/ . Mero exam xa 2 din. I'll be absent here.

@studenton @manishmarahatta @nikeshbalami However, we can create our own but seems to be complicated. https://coderwall.com/p/8lq1ba/how-to-create-a-contact-form-for-a-github-pages-served-jekyll-website

@studenton @mr-turdoide @manishmarahatta Tyo dubai page ma lekhne martai ho, form haru pardena..tyo Drive a vayako Presenter Call and Sponsorship Proposal ko sabai kura haru rakhne natrai ho..so, that sabai lai online pani padna milos vanee ho..form pardena

okay @nikeshbalami

@nikeshbalami What are we going to include in 'Agenda', 'Program Draft' and 'Expected session'??

@mr-turdoide @nikeshbalami form na parne bhaye pachi ma form ma kaam garna chod diye hai...yedi form chaiene ho bhane pani it's not that complicated garna sakincha...just let me know

@mr-turdoide Tyo Moods Resturant fixed ho? Website ma venue update garna lako.

@studenton ahh moods lounge, tripureshwar fix ho

@studenton I am now working on the https://foss-np.github.io/sfd-2016/sfdteam.html page! Lets finish it by tomorrow. On this page, lets make different sections of the volunteers on the basis of Teams section on this page: http://wiki.fossnepal.org/index.php?title=30th_July_2016,_1st_meeting,_Jyaasa,_Lalitpur where the style is same of the volunteers display at home page!

@studenton Exams over ? You coming to Kathford today ?

Nope, board exams are starting from this Monday. It will be for 28 days.
Ok, I'll work on that.
On Sat 3 Sep, 2016, 11:05 AM Amit Shrestha<EMAIL_ADDRESS>wrote:

@studenton https://github.com/studenton Exams over ? You coming to
Kathford today ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/foss-np/sfd-2016/issues/3#issuecomment-244527626, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIMHteJt0dm6RYz0LAZC82d2BVOLsN7mks5qmQOAgaJpZM4JmoSC
.

@mr-turdoide I've added all the sections and update up to design and event documentation team till now. I'll update others in next break. Leave this task to me. You focus on other.

@mr-turdoide  I'll complete it by tomorrow noon.

@mr-turdoide Ok the work is completed.
Euta issue xa. Please look into it. Tyo https://foss-np.github.io/sfd-2016/sfdteam.html page ma logistics team ko layout kina ho mili ra xaina 5 jana bhayera. Aru sabei team ko milya xa.

@mr-turdoide Ok the work is completed.


Azure and SSL

While we moved our continuous integration services on Azure virtual machines, we started facing randomly some SSLException. It does not seem to depend on the resource download nor on the project. It occurs sometime 3x in a row or 1x during a day but was not there with our previous provider. Some similar issues suggest that it could be linked to a time-related cause. Is there a way to getting more info with coursier out of this?
...
Downloaded https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
Downloaded https://repo1.maven.org/maven2/org/apache/ant/ant/1.9.6/ant-1.9.6.jar
Downloaded https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/io.spray/sbt-revolver/scala_2.10/sbt_0.13/0.8.0/jars/sbt-revolver.jar
Downloaded https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.scala-js/sbt-scalajs/scala_2.10/sbt_0.13/0.6.13/jars/sbt-scalajs.jar
coursier.ResolutionException: 1 download error
  Caught javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: Tag mismatch! (Connection has been shutdown: javax.net.ssl.SSLException: Tag mismatch!)
[error] (*:update) coursier.ResolutionException: 1 download error
[error]   Caught javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: Tag mismatch! (Connection has been shutdown: javax.net.ssl.SSLException: Tag mismatch!)
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore?

I also run into those on Travis CI from time to time (but I can't remember having run into those on Appveyor). Just re-running the corresponding job fixes it though.
I'm thinking about adding a retry when a javax.net.ssl.SSLException is caught.
When you see those in a row, do they all originate from the same URL?

It is each time different whenever it happens in a row (max 3x). Retrying sounds good.


Jonmv/faster query profile compilation

@bratseth please review.
More to come, but this is a factor of more than π, so worth a merge imo.

Truly great stuff!
The last commit fails on
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project container-search: Compilation failure: Compilation failure:
[ERROR] /source/container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileCompiler.java:[254,24] cannot find symbol
[ERROR]   symbol:   class Deque
[ERROR]   location: class com.yahoo.search.query.profile.QueryProfileCompiler.PathTree.Node
[ERROR] /source/container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileCompiler.java:[57,57] incompatible types: com.yahoo.search.query.profile.DimensionBinding cannot be converted to com.yahoo.search.query.profile.compiled.Binding
[ERROR] /source/container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileCompiler.java:[59,69] incompatible types: com.yahoo.search.query.profile.DimensionBinding cannot be converted to com.yahoo.search.query.profile.compiled.Binding
[ERROR] /source/container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileCompiler.java:[61,65] incompatible types: com.yahoo.search.query.profile.DimensionBinding cannot be converted to com.yahoo.search.query.profile.compiled.Binding
[ERROR] /source/container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileCompiler.java:[63,60] incompatible types: com.yahoo.search.query.profile.DimensionBinding cannot be converted to com.yahoo.search.query.profile.compiled.Binding
[ERROR] -> [Help 1]
[ERROR]

Truly great stuff!
The last commit fails on
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project container-search: Compilation failure: Compilation failure:
[ERROR] /source/container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileCompiler.java:[254,24] cannot find symbol
[ERROR]   symbol:   class Deque
[ERROR]   location: class com.yahoo.search.query.profile.QueryProfileCompiler.PathTree.Node
[ERROR] /source/container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileCompiler.java:[57,57] incompatible types: com.yahoo.search.query.profile.DimensionBinding cannot be converted to com.yahoo.search.query.profile.compiled.Binding
[ERROR] /source/container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileCompiler.java:[59,69] incompatible types: com.yahoo.search.query.profile.DimensionBinding cannot be converted to com.yahoo.search.query.profile.compiled.Binding
[ERROR] /source/container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileCompiler.java:[61,65] incompatible types: com.yahoo.search.query.profile.DimensionBinding cannot be converted to com.yahoo.search.query.profile.compiled.Binding
[ERROR] /source/container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileCompiler.java:[63,60] incompatible types: com.yahoo.search.query.profile.DimensionBinding cannot be converted to com.yahoo.search.query.profile.compiled.Binding
[ERROR] -> [Help 1]
[ERROR]

Argh, need to stop editing commit diffs.

Argh, need to stop editing commit diffs.

Collecting variants took 375s before, and is down to 20s. The rest took 75s and still does. Will try to work a little on this as well.

Collecting variants took 375s before, and is down to 20s. The rest took 75s and still does. Will try to work a little on this as well.

Cache more names, that is ...

Cache more names, that is ...

450s to 30s now. PTAL. May still do some minor clean-up. It's also still possible to reduce the number of duplicate variants considered, but it's getting complicated now :)

450s to 30s now. PTAL. May still do some minor clean-up. It's also still possible to reduce the number of duplicate variants considered, but it's getting complicated now :)

Merging! :-)

Merging! :-)


Can't record an error with Crashlytics.recordError()

So that pretty much it is. Crashlytics.crash() does well and everything gets recorded as expected, but not in case with recordError(error) method.
My code snipped is below and it's needless to say that componentDidCatch() method is called as well.
componentDidCatch(error, info) {
    Crashlytics.recordError(error);
  }

What could be the reason of such behavior? Any help is appreciated.

recordError only works on iOS and the reverse is true of logException on Android. Are you on Android? I've added code in my exception handles to check Platform.OS before calling a method but its less than ideal.

@willderness no, I use iOS device and emulator for testing and still can't make it work. How is that even possible? The very first and basic function doesn't work for some reason.
Thanks for your reply.

@shyaniv7 could you please elaborate on what environments you manage to makes it work?

As stated in the code this will log an error to crashlytics on both android and iOS using a single logError function.

@shyaniv7 I mean configuration like are you on debug mode, simulator, or device. Something like that

We actually have environment variables where we are able to know what environment we are running, what device, api version, app version and more information and whenever we use the logError we concatenate those information onto the error message before logging it.
We wrote a fetch wrapper that makes our api requests and handles any caught errors using logError


Add files via upload

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

[ ] Filename in the lowercase format
[ ] Image format: png
[ ] Image size: 256 by 256 px

Also, you can use these graphics to say that your ERC20 token fully compatible with Trust Wallet (https://trustwalletapp.com/logo-assets). Tokens will show up automatically once the user receives them.
Feel free to share this on social media and tag Trust Wallet:
Twitter: @TrustWalletApp
Facebook: @TrustWalletApp

Yes thats sure will do this.
Can you also help to list our project on binance?
On Sun, Sep 16, 2018, 12:50 AM Viktor Radchenko<EMAIL_ADDRESS>wrote:

Also, you can use these graphics to say that your ERC20 token fully
compatible with Trust Wallet (https://trustwalletapp.com/logo-assets).
Tokens will show up automatically once the user receives them.
Feel free to share this on social media and tag Trust Wallet:
Twitter: @TrustWalletApp
Facebook: @TrustWalletApp
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/TrustWallet/tokens/pull/450#issuecomment-421693755,
or mute the thread
https://github.com/notifications/unsubscribe-auth/An3uwIlBT0D1WknhVjnaViFs5Ir9sO1Eks5ubdiAgaJpZM4Wqq3e
.

@CreaEther focus on solving problems, rather than listings.


[Card] Long titles in cards won't show on mobile device

since the long titles are truncated using CSS only and only show their tooltips on Hover, they are not readable on a mobile device

@scottdickerson  this pattern of "long text" and supporting mobile rendering is why in graphite we have a 'TextOverflow' component and we rarely render text on it's own.  For all values, labels, data, etc, everything is wrapped in a <TextOverflow> to allow us to uniformly handle what happen.  I'm not 100% happy with our implementation, but, the good news is that when/if we should redo it no downstream components need to be changed.
Manageing this is not trivial either, since, you need to check the post rendered element to detect the overflow and then hook in the popup controller to manage the click/show of the popup tooltip.  It also means that the labels need to listen for resize events on the page and check themselves as the screen changes size, etc.  But as I said, one pattern in one place.
Something to consider as you attempt this problem.

There is still the CSS solution for card titles, but now it is also possible to click on a truncated card title to get the Carbon Tooltip showing the full text.

I think now that it's clickable this fixes the issue