Play UX and UI (design & themes)

@todo

[ ] #144: Play brand book / design guide

[ ] #145: Searchable collection page

[ ] #146: Editor

[ ] #147: Organization/About page

INSPIRATION (style)
We like:

pixelart - maybe wizardamigos logo style can be re-used? (maybe not?)
80s synthwave retro design](synthwave 80s)
blockchain design
https://www.pinterest.co.uk/serapath/play/
synthwave colors
pixelart synthwave 80s retro
voxelart
https://www.awwwards.com/5-old-school-web-design-trends-nobody-misses.html
https://www.retro-synthwave.com/design/retro-design-world
https://www.pinterest.nz/mikeh3434/design-inspiration/
https://www.pinterest.de/chmandracchia/synthwave/
pinterest isometric blockchain design
https://www.artstation.com/search?q=synthwave&sort_by=relevance
https://dribbble.com/shots/5683458-Blockchain-Gambling-Platform

wallpapers

image search
https://natewren.com/themes/wallpaper2/radpack/radpack_15.jpg
https://natewren.com/themes/wallpaper2/radpack/radpack_1.jpg

videos

https://www.youtube.com/watch?v=EAYfJckSEN0
https://www.youtube.com/watch?v=WQaH3lh-CA4
https://www.youtube.com/watch?v=CqaAs_3azSs
https://www.youtube.com/watch?v=UbQgXeY_zi4
https://www.youtube.com/watch?v=GBUCmMxmup0
https://www.youtube.com/watch?v=kfoJUeyMsOE
https://www.youtube.com/watch?v=7-tNUur2YoU
https://www.youtube.com/watch?v=RAdX_nwXlrY
https://www.youtube.com/watch?v=7AqTB30d-Mc
https://www.youtube.com/watch?v=9RHFFeQ2tu4

INSPIRATION (searchable listing)

https://glitch.com/
https://codesandbox.io/search
https://codesandbox.io/explore
https://codepen.io/search/pens?q=...
https://www.behance.net/
https://dribbble.com/
https://ethfiddle.com/recent_fiddles
https://trendland.com/
https://www.uplabs.com/

INSPIRATION (editor)

https://lab.superblocks.com/
https://codepen.io/serapath/pen/NZgOBQ
https://codesandbox.io/s/vanilla
https://testing.playground.aepps.com/editor

INSPIRATION (landingpage)

https://wizardamigos.com
https://repl.it/
https://store.google.com/us/product/stadia_founders_edition?hl=en-US
https://dribbble.com/shots/4006478-landing-page/attachments/917370
https://codesandbox.io/
https://mixbytes.io/
https://blocksoftlab.com/
https://poa.network/
https://www.mobilego.io/
https://secbit.io/
https://authio.org/
https://cardstack.com/developers
https://scrimba.com/
https://ui8.net/shift-design-system
https://nomiclabs.io/
https://webflow.com/
https://ddex.io/
https://omisego.network/
https://akomba.com/#
https://morpheuslabs.io/
https://shapeshift.com/

INSPIRATION (playproject)

https://oneclickdapp.com/
https://play.ethereum.org
https://play.ethereum.org/editor-solidity

inspiration
http://letsmakegames.org/wp-content/uploads/2010/06/LMG_HexagonHeroes_banner.jpg
https://depositphotos.com/43497101/stock-illustration-modern-hexagon-design.html

NEW
http://lynnekenney.com/wp-content/uploads/2014/03/EncouragePlay_Logo1.jpg
https://thumbs.dreamstime.com/z/flat-design-concept-science-horizontal-banner-scientist-laboratory-workplace-scientific-research-experiment-infographics-89365366.jpg
https://thumbs.dreamstime.com/z/cute-magic-collection-unicon-rainbow-fairy-wings-stars-65592453.jpg
http://www.letsplaycolne.co.uk/wp-content/uploads/2015/09/lets-play-childrens-activity-centre-logo1.png
https://www.dreamstime.com/stock-illustration-colorful-play-box-logo-web-print-media-image85675744
https://www.dreamstime.com/modern-simple-easy-to-recognize-right-logo-design-your-company-related-music-dj-recording-etc-play-symbol-icon-image117981773
https://imgur.com/a/CJg0ADq

We also need to define our communication/branding goals (professional?, playful?, functional?, magical?, artsy?, minimalistic?, ... -> what to focus on )

i like playful sci-fi magic, and minimalistic - i just don't know how to merge that :D

Alex,
I think we can use the color of playful sci-fi magic but the style uses minimalistic. Coz these two things are conflict a lot. So, basically we can pick up the point thing to decorate it.

I found most popular effect js that you've been showed me some website are using it.
https://vincentgarreau.com/particles.js/
I've been thinking maybe we can find some other very cool effect library to add it on the website.

Hey, I made the inspirations on pinterest, and it's private that only ppl know the link can view the board.
https://pin.it/quf6n3n6ucexey

yeah, let's take some time on tuesday to go through and gather some opinons from everyone to see what are pro's and con's and what would be nice to communicate with what we choose ...and also what makes sense or what is possible in the context of the actual tool we are trying to build

update for https://playproject.io/
here is the selection from your pinterest that i think is closest to what we imagine :-)

https://www.pinterest.de/serapath/play2/

I added some extra and below is a list of additional relevant links

cards

https://glitch.com/@glitch/glitch-this-week-june-26-2019
https://codesandbox.io/search
https://codesandbox.io/explore
https://codepen.io/search/pens?q=wallpaper&page=1&order=popularity&depth=everything
https://ethfiddle.com/recent_fiddles

editors

https://playproject.io/editor-solidity/
https://lab.superblocks.com/
https://codesandbox.io/s/vanilla
https://testing.playground.aepps.com/editor

landingpages

https://cardstack.com/
https://www.mobilego.io/
https://poa.network/
https://mixbytes.io/

and some more color schemes ...not yet sure about the exact ones

black
white
https://coolors.co/aaff00-07fdfc-e706ff-ea32ff-09ffc3
https://coolors.co/8756d9-f222ff-ff2975-00ff9f-0df3f5
https://coolors.co/07fdfc-aa00ff-8700ff-e706ff-ff009d

Looks very great. Thanks. I will follow these to create the concept for the editor first. And if maybe there will be enough time to concept for the search list in this week.

Sounds great! Ping us if you need any input :)
On Wed, 10 Jul 2019, 06:29 Fiona<EMAIL_ADDRESS>wrote:

Looks very great. Thanks. I will follow these to create the concept for
the editor first. And if maybe there will be enough time to concept for the
search list in this week.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/ethereum/play/issues/52?email_source=notifications&email_token=AAIGZS6X7CGMGPG372VAED3P6VXUPA5CNFSM4GFSODO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZSKX3I#issuecomment-509914093,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAIGZSZLJ66A3UTPUP2KZNDP6VXUPANCNFSM4GFSODOQ
.

Hey, Alex and Nina,
This is so far that I've finished the wireframe prototype, and make the dark and white theme, also created the prototype for each themes.
I will design sign up, sign in and user profile pages.
Please give me some advices, and check the behavior of prototype if there is not suitable or need to improve that we can discuss on the meeting or leave a message on slack to me.
Wireframe prototype
https://projects.invisionapp.com/share/U9SZMK6J873#/screens/373710393_Editor_Solidity_Wireframe_-_Default
Dark theme prototype
https://projects.invisionapp.com/share/U9SZMK6J873#/screens/373710476_Editor_Solidity_-_Dark_Theme
White theme prototype
https://projects.invisionapp.com/share/U9SZMK6J873#/373710475_Editor_Solidity_-_White_Theme

Hey, Fiona,
I like the themes for the editor. I think we should go with your suggestion and see how users will like it. I think what is also important to add is How will we show users that sending transaction is in progress (currently we have a little animation, because on blockchain executions (=transactions) are not instant, they take a bit time)... See my demo. https://www.loom.com/share/eda49b7304bf4e568b83f90d4b99a813
Also, we need to make a detailed view for each data type (string, integer, bytes, array, etc.). We should maybe have another call tomorrow before the meeting and we walk you through the editor and show you all the details that we thought through already.
I created 4 sub-issues so we can more in details discuss each part of the project.

I think that before going to user profiles, I would rather to back to collection page, since we'll need couple of months (more than 1/2 of a year) to have "backend" and the rest of the app ready for profiles page, so we are not in a hurry with this.

So, I think the best way to go forward would be to also make a UI/UX for collection page now and then we can slowly start with first round of implementation. I already prepared a basic collection page view with the basic logic, so after we are ready we can start brushing the html and css part (javascript part will most likely stay untouched, or we'll fix some minor issues and I will help with working on this.).

Hi Nina,
Yes, I also tried my way to capture some of the screens on editor. The results is you see on the prototype that I added a loading icon (That would be using animation, but not sure you'd like it. :D)
Because I've done the pages very quickly, thus I think to design other page. Lol You have any plan or idea, we can discuss always. :)
I would like to know more about collection what is there need to add more or take care the details.
I'm working on the wireframes of sign in/up, we may discuss it together or choose another day to discuss it. (It's not urgency.)


[e2e]: container tag main registry-username-secret

Repo: https://github.com/slsa-framework/example-package/tree/v31.0.544
Run: https://github.com/slsa-framework/example-package/actions/runs/11063821631
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.container.tag.main.registry-username-secret.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.container.tag.main.registry-username-secret.yml
Trigger: push
Branch: v31.0.544
Date: Fri Sep 27 03:09:07 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/v31.0.545
Run: https://github.com/slsa-framework/example-package/actions/runs/11080568640
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.container.tag.main.registry-username-secret.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.container.tag.main.registry-username-secret.yml
Trigger: push
Branch: v31.0.545
Date: Sat Sep 28 03:12:07 UTC 2024
Tests are passing now. Closing this issue.


Create end-to-end integration tests for router-server interaction

All the tests for the router that we have currently are unit tests that mocks the selector and the server. This masks any issues related to integration such as #297. It will be good to prioritize on creating these tests to give us more confidence on the router and any incremental changes we make.

PR #344

Fixed in #344


[SPARK-5982] Remove incorrect Local Read Time Metric

This metric is incomplete, because the files are memory mapped, so much of the read from disk occurs later as tasks actually read the file's data.
This should be merged into 1.3, so that we never expose this incorrect metric to users.
CC @pwendell @ksakellis @sryza

Test build #27914 has started for   PR 4749 at commit 9737b5e.

This patch merges cleanly.

This LGTM.
Curious, have you thought about how to properly capture this metric? I haven't given this any serious thought but my first idea is that need to have some extra bookkeeping to know what blocks are remote vs. local and then use that in BlockStoreShuffleFetcher:unpackBlock() to write out the time taken to read the block?

Test build #27914 has finished for   PR 4749 at commit 9737b5e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/27914/
Test PASSed.

@ksakellis I did this in my own branch here: https://github.com/kayousterhout/spark-1/commit/eb84a0a2201d392a275179293f8a1c4c23981b24 and can submit a PR for Spark if there is sufficient interest.  We can't do it in unpackBlock; the problem is that the data gets read record-by-record, so we'd have to add how long it took to read each record (in unpackBlock, we still have have an iterator that points to a memory-mapped region, but the data still isn't necessarily read from disk there).  Any kind of per-record logging ends up being too high overhead.  The way I did it in the change I referred to is to add buffering to the reading of input data, and then you can log the time to read each chunk of the buffer (this is the same thing we do to track the time to write shuffle files to disk).

LGTM - thanks Kay!

Merged into master and 1.3!


Ephemeral instances no longer have any example data

Bug description
When you spin up an ephemeral instance in a PR, example data such as dashboard, charts, etc. no longer exist.
How to reproduce the bug

Go to a PR
Spin up an ephemeral
Log into the ephemeral
Go to the dashboard list

Notice that the dashboard list is empty where we used to have example dashboards.
Screenshots/recordings
No response
Superset version
master / latest-dev
Python version
3.9
Node version
16
Browser
Chrome
Additional context
No response
Checklist

[ ] I have searched Superset docs and Slack and didn't find a solution to my problem.
[ ] I have searched the GitHub issue tracker and didn't find a similar bug report.
[ ] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

@michael-s-molina we tracked it down to your PR: https://github.com/apache/superset/pull/28789 that was causing this. Wondering if you have time to take a look at this?

@sadpandajoe @eschutho I executed the load examples command many times in my dev environment so I believe if might be something with the ephemeral environment. Do you have any additional information about the error? Any logs?
I'm really busy for the next days so feel free to revert the PR if needed.

This might be a clue for anyone looking into this: https://github.com/apache/superset/issues/27633

@michael-s-molina I've created this PR to revert in case if you can't get to this before 4.1 is ready: https://github.com/apache/superset/pull/29766. Will hold off from merging for now.


Any plans for MMLU and BBH?

I think it would be pretty simple to add MMLU and BBH datasets to LM eval. Any reason it is not added yet?
https://huggingface.co/datasets/lukaemon/mmlu
https://huggingface.co/datasets/lukaemon/bbh
Maybe I can do it?

MMLU is already implemented, https://github.com/EleutherAI/lm-evaluation-harness/blob/master/lm_eval/tasks/hendrycks_test.py. There is a PR to add BBH: https://github.com/EleutherAI/lm-evaluation-harness/pull/406

I see thanks


FUSETOOLS2-2322: Add UI test for Update exchange variable values whil…

…e debugging

not working with camel 4.4.0 - bug or feature?

not working with camel 4.4.0 - bug or feature?

Camel Exchange variables were introduced in Camel 4.4 https://camel.apache.org/manual/variables.html

not working with camel 4.4.0 - bug or feature?

Camel Exchange variables were introduced in Camel 4.4 https://camel.apache.org/manual/variables.html

So with Camel 4.4.0 this should be working, right?

I am getting Internal Error when using 4.4.0. On the other hand 4.4.1 is working properly.

Required method was missing in 4.4.0, fixed in 4.4.1 (https://issues.apache.org/jira/browse/CAMEL-20445).


"Fatal: Failed to write EVM genesis state: database contains incompatible genesis" after running previous fakenet

Describe the bug
After running a fakenet (e.g lachesis --fakenet 1/1), stopping it, and then running another fakeset (e.g `lachesis --fakenet 1/5), I get the following error:
"Fatal: Failed to write EVM genesis state: database contains incompatible genesis"
To Reproduce
Steps to reproduce the behavior:

Clone scope2
Run go build -o ./build/lachesis ./cmd
cd build
lachesis --fakenet 1/1
Stop lachesis
lachesis --fakenet 1/5

Expected behavior
I should be able to start a new network, overriding the previous blocks / genesis file.
Desktop:

OS: Mojave 10.14.6

With different fakenet settings, you get different genesis balances and hence different genesis blocks, i.e. completely different networks, so the behavior is expected. We think that it's dangerous to automatically drop the previous data, even in fakenet.
If you want to work with different fakenets from time to time, then you may specify different datadirs for them:
lachesis --fakenet 1/1 --datadir ~/.lachesis/fakenet.1.1
lachesis --fakenet 15 --datadir ~/.lachesis/fakenet.1.5

For the failure due to attempt to overwrite an EVM genesis state, it's fine, as it can protect existing db.
However, on the second launch in step 6, it'd be good that it will check and output if some conditions do not meet (such as the existence of db, paths, etc).

Agreed with Quan.
Kind regards,
Michael Kong
0422 775 856
On Mon, Oct 21, 2019 at 4:43 PM quan8<EMAIL_ADDRESS>wrote:

For the failure due to attempt to overwrite an EVM genesis state, it's
fine, as it can protect existing db.
However, on the second launch in step 6, it'd be good that it will check
and output if some conditions do not meet (such as the existence of db,
paths, etc).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Fantom-foundation/go-lachesis/issues/361?email_source=notifications&email_token=ABG6WDCKDJES7LXO5QRJHJ3QPU6PDA5CNFSM4JCXYGM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBZDZBI#issuecomment-544357509,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABG6WDF2M2GWVX3VFGHMU23QPU6PDANCNFSM4JCXYGMQ
.

Will be fixed with #368 , see https://github.com/sfxdxdev/go-lachesis/commit/79a3b45a7aff7cee407f2e89618a56d3c9f419d4#diff-fa9214965f3ca5286d7cd213bbc4d35b


docsRename Title of FAQ-CN Version

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

Hi,It is best not to deliberately split the modification into a line of code and a pull request.
This increases the pressure of workflow.


More type safety

This is part of the NotificationOptions:
    /// If you are using a provider token instead of a certificate, you must
    /// specify a value for this request header. The topic you provide should be
    /// provisioned for the your team named in your developer account.
    pub apns_topic: Option<String>,

It would be great if it were impossible to pass this to a client initialized with a provider token. Maybe two types of notification options could be provided?
For ergonomics, both could implement a common trait that converts the checked option types to an unchecked version.

This is kind of problematic, because you can change the topic per message using the same connection. So basically one token connection can deliver messages to one app, but that app can use different topics.
If you have some ideas how to do this better, I'm up for pull requests here!

Hm, I see... Not sure what the best approach might be here... :slightly_smiling_face:
Maybe when sending a push that combination could be at least checked before actually sending the request? Or does the API return clear error messages?

Ok, I guess that is fine then.


[BUG] SiliconCloud account not available with US number?

Describe the Bug
I'd like to set my API key but I cannot seem to log into SiliconFlow using a US telephone number, is there a solution?
Error text or screenshot of the error.
Steps to Reproduce
Please provide the workflow or steps to reproduce the bug.
Environment

OS: [e.g., Linux Ubuntu 12.04, Windows 10]
Browser: [e.g., chrome, safari]

Additional Context
Add any other context about the problem here.

I am sorry for that the US number is not available NOW in siliconcloud.
but it will be available much likely in two weeks.
I will comment the updates here then.

@nexusjuan12 US phone number is available for signing in the siliconcloud, please try it again. please let us know if you encounter any issues.


[warehouse]Add support for greptimedb.

What's changed?

Add support for greptimedb.
Checklist

[ ]  I have read the Contributing Guide
[ ]  I have written the necessary doc or comment.
[ ]  I have added the necessary unit tests and all cases have passed.

@killme2008 hi, please help us take a review thanks. 😄😄😄

@killme2008 hi, please help us take a review thanks. 😄😄😄

Coooool! Let me see.


SOPs for plutus-ir and plutus-tx

This is the second batch of SOPs work. There will be one more batch with a few standalonwe Plutus Tx bits, like the SOP-based lifting.
Notable things:

PlutusIR.Compiler.Datatype has all the logic for compilation. I've attempted to keep the Notes updated and useful. Note that we support both ways of compiling datatypes, for backwards compatibility.
PlutusIR.Compiler has to work on Programs now, because we care about the version so we can ensure that we don't try to use the wrong compilation strategy on old versions.
Various Plutus Tx stuff now has to be version-aware, which is somewhat painful. The Lift related stuff is particularly not great, but I'm not sure how to make it better.
There are plugin options to control target version and compilation style. I didn't try to make it pick a sensible default based on the version: if you pick and old version you also need to pick the old compilation style.

Pre-submit checklist:

Branch

[x] Tests are provided (if possible)
[x] Commit sequence broadly makes sense
[x] Key commits have useful messages
[x] Changelog fragments have been written (if appropriate)
[x] Relevant tickets are mentioned in commit messages
[x] Formatting, PNG optimization, etc. are updated

PR

[ ] (For external contributions) Corresponding issue exists and is linked in the description
[x] Targeting master unless this is a cherry-pick backport
[x] Self-reviewed the diff
[x] Useful pull request description
[x] Reviewer requested

Does it ever make sense to choose different encodings (SOP vs Scott) for different datatypes in the same script?

I don't think so. I think the only reason to choose Scott encoding is if you are targeting a language version that doesn't support SOPs.

/benchmark plutus-benchmark:nofib

Some nofib programs got worse, but those slowdowns become speedups with my patch (and all other nofib programs become faster compared to this branch as well, see this).

I want to know though :D

I fixed almost all the regressions. There were some missing cases in the purity analysis for UPLC, so we weren't inlining as much. Fixed!

Okay, I think this is good to go.


cancelAnimationFrame does not work if callback uses setState

Description
Happens most of the time.
React Native Version
0.72.4
Output of npx react-native info
> npx react-native info
info Fetching system and libraries information...
System:
  OS: Windows 10 10.0.22621
  CPU: "(12) x64 AMD Ryzen 5 5600 6-Core Processor              "
  Memory: 16.28 GB / 31.91 GB
Binaries:
  Node:
    version: 20.2.0
    path: C:\Program Files\nodejs\node.EXE
  Yarn: Not Found
  npm:
    version: 9.7.2
    path: C:\Program Files\nodejs\npm.CMD
  Watchman: Not Found
SDKs:
  Android SDK: Not Found
  Windows SDK: Not Found
IDEs:
  Android Studio: AI-222.4459.24.2221.9971841
  Visual Studio:
    - 17.5.33424.131 (Visual Studio Community 2022)
Languages:
  Java:
    version: <IP_ADDRESS>
    path: C:\Program Files\Microsoft\jdk-<IP_ADDRESS>-hotspot\bin\javac.EXE
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.72.4
    wanted: 0.72.4
  react-native-windows: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: Not found
  newArchEnabled: Not found
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

Steps to reproduce
Create an Expo project using the code below.

Remove foo from App.js.
Ticks are still being logged.

If it stops logging immediately, add some string to text, SAVE (hot-reload), remove it, SAVE (hot-reload). It may be required to repeat this 5-10 times, but happens after all.
Snack, screenshot, or link to a repository
https://gist.github.com/szmarczak/10680a2bcef82f89de2e764ee96a16ea

Stupid bot.

@szmarczak I've checked this on expo sandbox and cannot reproduce it here sandbox

@groot007 Don't use Snack, it's like another environment.
Clone this repo: https://github.com/szmarczak/rn-raf-bug
Running npm run start and modifying the App.tsx file as previously mentioned triggers the bug for me.


Disable text selection within buttons

Currently the text within any button component is selectable.
This isn't noticeable most of the time, but if users are selecting text and drag over a button they may be surprised to find extra text copied to their clipboard. Text selection also doesn't feel like the expected behavior when tapping and holding a button on mobile.
This behavior can be changed with user-select which is supported (with vendor prefixes) by the browsers we're targeting.
Should this become the default behavior, an optional modifier, or not offered at all?
.pf-c-button {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

:tada: This issue has been resolved in version 1.0.59 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Minor issue with TF Lite building natively on aarch64

Linux qds101 4.4.65 #1 SMP PREEMPT Mon Sep 18 13:34:00 CDT 2017 aarch64 aarch64 aarch64 GNU/Linux
VERSION="16.04.2 LTS (Xenial Xerus)"
VERSION_ID="16.04"
VERSION_CODENAME=xenial
== are we in docker =============================================
No
== compiler =====================================================
c++ (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
== uname -a =====================================================
Linux qds101 4.4.65 #1 SMP PREEMPT Mon Sep 18 13:34:00 CDT 2017 aarch64 aarch64 aarch64 GNU/Linux
== check pips ===================================================
numpy (1.13.3)
protobuf (3.4.0)
tensorflow (1.3.0)
tensorflow-tensorboard (0.1.5)
== check for virtualenv =========================================
False
== tensorflow import ============================================
tf.VERSION = 1.3.0
tf.GIT_VERSION = v1.3.0-rc1-1607-gbe4e5ef
tf.COMPILER_VERSION = v1.3.0-rc1-1607-gbe4e5ef
Describe the problem
When I try to compile TF Lite example on my aarch64 machine, i get an error from gcc.
The problem, i think, is that kernels/internal/BUILD file does not support aarch64 properly:
NEON_FLAGS_IF_APPLICABLE = select({
":arm": [
"-O3",
"-mfpu=neon",
"-mfloat-abi=softfp",
But for aarch64 gcc those options do not exist (https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html#AArch64-Options). If I remove those two options, compilation is successful.
Source code / logs
user@qds101:~/ml/tf_lite/tensorflow$ bazel build --verbose_failures --config opt  --cxxopt=-std=c++11 --config monolithic  //tensorflow/contrib/lite/examples/label_image:label_image
WARNING: /home/user/.cache/bazel/bazel_user/5b7d3a270696b210c6b4e035929a0ce1/external/protobuf_archive/WORKSPACE:1: Workspace name in /home/user/.cache/bazel/bazel_user/5b7d3a270696b210c6b4e035929a0ce1/external/protobuf_archive/WORKSPACE (@com_google_protobuf) does not match the name given in the repository's definition (@protobuf_archive); this will cause a build error in future versions
INFO: Analysed target //tensorflow/contrib/lite/examples/label_image:label_image (1 packages loaded).
INFO: Found 1 target...

Have I written custom code: No
OS Platform and Distribution - Ubuntu 16.04.2 LTS
TensorFlow installed from: https://github.com/tensorflow/tensorflow.git
TensorFlow version: last commit 1e4b5b8c0cc1675b9ecac3569c91563a2a4f9984
Bazel version: Build label: 0.8.1- (@non-git)
CUDA/cuDNN version N/A
GPU model and memory N/A
Exact command to reproduce: bazel build --verbose_failures --config opt --cxxopt=-std=c++11 --config monolithic //tensorflow/contrib/lite/examples/label_image:label_image

I sent a PR on this, see https://github.com/tensorflow/tensorflow/pull/16175

Nagging Awaiting Response: It has been 14 days with no activityand the awaiting response label was assigned. Is this still an issue?

It has been 14 days with no activity and the awaiting response label was assigned. Is this still an issue?


change the name of "mode" argument to awswrangler.s3.to_csv

Describe the bug
The method (awswrangler.s3.to_csv) supports a "mode" argument and **pandas_kwargs.  The "mode" argument is not passed through to Pandas, but consumed in the awswrangler method, which also expects dataset=True to use "mode".  In some cases, it would be useful to pass this argument through to Pandas.
If there is already a way to pass "mode" to Pandas, a documentation update would resolve this issue:
How to Reproduce
import awswrangler as wr
...
load a DataFrame and name it df
...
Pandas "mode"
wr.s3.to_csv(df, "some_test_file_name", mode="a", header=False)
awswrangler expects mode="append", dataset=True
Expected behavior
No response
Your project
No response
Screenshots
No response
OS
AWS Lambda x86_64 Architecture
Python version
3.10
AWS SDK for pandas version
3.2.0
Additional context
No response

To avoid a breaking change we can consider introducing a one-off parameter (pandas_mode for example) that is re-labeled as mode and passed to the underlying pandas method. I can open a PR and the team can discuss if this is how we'd like to move forward.

Still investigating here as this may require refactoring on how we are reading existing S3 File objects in order to support modes like append(a)

This may not be necessary at all if there is a way to append an existing file.  For example, this seems to silently fail (doesn't append the dataframe "df" to the s3 file "target" and does not raise an exception):
wr.s3.to_csv(df, target, dataset=True, mode='append')

Is there a different way to append an existing file?  We use pandas "append" mode primarily with pandas "chunksize" for large text files.  If there's a different way to do this using awswrangler, "chunksize" and "mode" for pandas are not necessary.


I2C Pins to use for interfacing with ESP32S3

Hi,
I'm trying to figure out the SDA and SCL pins of ESP32S3 for interfacing SEN0359 gravity board (UART to I2C breakout)
I don't know the pins and I'm not also able to pass the software SDA-SCL pins as arguments in .begin() function.
Is there a way-out?
Thanks in Advance!

Are you unsure about the default I2C pins of ESP32S3? Perhaps you can find a file in your Arduino IDE's SDK that will tell you the default I2C pin numbers for ESP32S3. Hopefully, this can help you resolve your issue.

No reply for too long, so temporarily closed

I've checked the default pins on my esp32 it's 21 for SDA and 22 for SCL. The code from the example still isn't able to make a connection.

I did not find this problem when I tested it. Could you please use the latest updated version library for testing feedback? Thank you.You can scan the i2c address, that may indeed be a problem with the library, but I did not test found.

okay, this place can be closed for now


2nd taskbar

Description of the new feature / enhancement
I would find it very useful to have a 2nd taskbar available & visible on-screen, capable of having its own set of icons for starting apps, etc.
Scenario when this would be used?
It is quite convenient and intuitive to have the current general-purpose taskbar, and a 2nd one for specific-purpose, or specific-user items.
Supporting information
Other windowing systems allow this and it proves frequently used - and useful

For Windows 10/11 related issue (enhancement), please file this on the Feedback hub. Thank you!

I think if could be great if when we're using multiple monitors, every task bars allow us pin icons in which ones


Navigating unexplored environment with turtlebot3 burger

ISSUE TEMPLATE ver. 0.4.0

Which TurtleBot3 platform do you use?

[Yes ] Burger
[ ] Waffle
[ ] Waffle Pi

Which ROS is working with TurtleBot3?
Melodic

[ ] ROS 1 Kinetic Kame
[Yes ] ROS 1 Melodic Morenia
[ ] ROS 1 Noetic Ninjemys
[ ] ROS 2 Dashing Diademata
[ ] ROS 2 Eloquent Elusor
[ ] ROS 2 Foxy Fitzroy
[ ] etc (Please specify your ROS Version here)

Which SBC(Single Board Computer) is working on TurtleBot3?

[ ] Intel Joule 570x
[ Yes] Raspberry Pi 3B+
[ ] Raspberry Pi 4
[ ] etc (Please specify your SBC here)

Which OS you installed on SBC?

Yes[ ] Raspbian distributed by ROBOTIS
[ ] Ubuntu MATE (16.04/18.04/20.04)
[ ] Ubuntu preinstalled server (18.04/20.04)
[ ] etc (Please specify your OS here)

Which OS you installed on Remote PC?

[ ] Ubuntu 16.04 LTS (Xenial Xerus)
[Yes ] Ubuntu 18.04 LTS (Bionic Beaver)
[ ] Ubuntu 20.04 LTS (Focal Fossa)
[ ] Windows 10
[ ] MAC OS X (Specify version)
[ ] etc (Please specify your OS here)

Specify the software and firmware version(Can be found from Bringup messages)

Software version: [x.x.x]
Firmware version: [x.x.x]

Specify the commands or instructions to reproduce the issue.

HERE

Copy and Paste the error messages on terminal.

HERE

Please describe the issue in detail.

I'm trying to figure out what I can't set way points on unexplored environments while SLAM is on.In the Rviz, when I click the map with "2D Nav Goal", nothing happens, even on the parts of the mpa that SLAM has discovered. Is there a parameter in one of the turtlebot3 config files I have to set?
My test code also doesnt work either.
#/usr/bin/python2.7
import rospy
import math
from move_base_msgs.msg import MoveBaseActionGoal
from geometry_msgs.msg import PoseStamped
from nav_msgs.msg import Odometry
from nav_msgs.msg import OccupancyGrid
from nav_msgs.msg import Path

goal= PoseStamped()
goal.header.stamp = rospy.get_rostime()
goal.header.frame_id = 'map'
goal.pose.position.x = 1.203
goal.pose.position.y = -0.4769
goal.pose.position.z = 0

goal.pose.orientation.x = 0
goal.pose.orientation.y = 0
goal.pose.orientation.z = 0
goal.pose.orientation.w = 1

def callback(msg):
    pass

rospy.init_node("control")
pub = rospy.Publisher("goal", PoseStamped, queue_size=1, latch=True)
rospy.Subscriber("/odom", Odometry, callback)

while not rospy.is_shutdown():
    pub.publish(goal)
    rospy.sleep(10.5)
    goal.pose.position.x = 0.203
    goal.pose.position.y = -0.4769
    pub.publish(goal)
    rospy.sleep(10.5)

My launch file I use to run this code:
<launch>
    <node pkg="action_practice" type="tester.py" name="control"    ns="move_base_simple" output="screen"/>
</launch>

@PhilipAmadasun
Sorry for the late reply
You need to run the navigation node to activate the 2D Nav Goal.
Please refer to the attached link and launch the Navigation.
Unfortunately, Turtlebot3 provides technical support only for the official package.
Thank you for your understanding.

@PhilipAmadasun This issue will be closed due to prolonged inactivity. Please try again with the Humble or Noetic versions, and if the issue persists, feel free to reopen it.


Addresses some accessibility issues referenced in #3

What does this Pull Request do?

Adds some HTML5 semantic elements (header, footer)
Adds ARIA roles to header and footer
Adds alt text for Sept Ninja logo

:+1:


Feature/multifield datepicker value not loaded in touchui dialog

Like richtext field, the datepicker field should load the name from the first input instead of the second. The second input name is for typehint.

Coverage remained the same at 31.626% when pulling c0e8775fd65648abf030e82f5b18843bd8c1acbd on victor994:feature/Multifield_datepicker_value_not_loaded_in_touchui_dialog into 9feb6ebdb086779ebbe3cc2af5d16476b635ec1f on Adobe-Consulting-Services:master.

Coverage remained the same at 31.626% when pulling c0e8775fd65648abf030e82f5b18843bd8c1acbd on victor994:feature/Multifield_datepicker_value_not_loaded_in_touchui_dialog into 9feb6ebdb086779ebbe3cc2af5d16476b635ec1f on Adobe-Consulting-Services:master.

Coverage remained the same at 31.626% when pulling c0e8775fd65648abf030e82f5b18843bd8c1acbd on victor994:feature/Multifield_datepicker_value_not_loaded_in_touchui_dialog into 9feb6ebdb086779ebbe3cc2af5d16476b635ec1f on Adobe-Consulting-Services:master.

Coverage remained the same at 31.626% when pulling c0e8775fd65648abf030e82f5b18843bd8c1acbd on victor994:feature/Multifield_datepicker_value_not_loaded_in_touchui_dialog into 9feb6ebdb086779ebbe3cc2af5d16476b635ec1f on Adobe-Consulting-Services:master.

Coverage remained the same at 31.626% when pulling c0e8775fd65648abf030e82f5b18843bd8c1acbd on victor994:feature/Multifield_datepicker_value_not_loaded_in_touchui_dialog into 9feb6ebdb086779ebbe3cc2af5d16476b635ec1f on Adobe-Consulting-Services:master.

Coverage remained the same at 31.626% when pulling c0e8775fd65648abf030e82f5b18843bd8c1acbd on victor994:feature/Multifield_datepicker_value_not_loaded_in_touchui_dialog into 9feb6ebdb086779ebbe3cc2af5d16476b635ec1f on Adobe-Consulting-Services:master.

Thanks!


CORE-12070 - Adding a flow fiber cache (shared between virtual nodes)

Overview
This flow fiber cache is a caffeine cache with key (vnodeId, flowId) and soft reference values to flow fiber objects. Due to issues with mockito and mocking quasar's Fiber class, the cache itself holds type Any, and we safely cast to FlowFiberImpl in the FlowFiberFactoryImpl.
Weakly referenced fibers
The values in the cache are configured as weakValues() meaning weak references are used for these fibers. This means fibers are "allowed to be garbage collected if there are no other strong references to the keys" - I assume the impact of this will be: cache may depopulate on garbage collections, however very large objects in the cache will be removed in response to memory demand.

Note - using weakValues() causes fibers to be compared using identity (==) rather than equals(). See https://github.com/ben-manes/caffeine/wiki/Eviction#reference-based.

Cache is not per sandbox
The cache was not moved to the sandbox level, the cache is shared with all virtual nodes. CaffeineCacheMetrics has issues with recreating the cache (for example after a vnode sandbox is evicted) due to naming conflicts.
Configuration
The maximum size defaults to 10 and expiry after write is defaulted to 60 seconds. This is overridable via system properties. This is similar to RepeatedLogonsCache.

net.corda.flow.fiber.cache.maximumSize
net.corda.flow.fiber.cache.expireAfterWriteSeconds

Unit tests
Due to mockito's inability to mock the Fiber from quasar (even though we have mock-maker-inline configured) the FlowFiberImpl is not unit tested, and no unit tests were added for this class and the cache / deserialization selection.
Preparing fiber for caching
To avoid having references to a pile of flow context related classes, we null out the flowFiberExecutionContext and suspensionOutcome. These are populated again in FlowFiberImpl.resume. Quasar itself populates some other fields in unparkDeserialized.
Manual testing
Manually tested that after suspending, the flow restarts from the correct line of code after unparking.
Soak testing
TODO, merge Chris' sandbox eviction memory leak fix, run soak tests with more virtual nodes than sandbox cache size, observe if we get new memory leak.

Due to issues with mockito and mocking quasar's Fiber class, the cache itself holds type Any, and we safely cast to FlowFiberImpl in the FlowFiberFactoryImpl.

:warning: Please don't even try mocking Quasar Fibers. Just use TestOSGi tasks to test with actual Quasar. :warning:.

It sounds like you've already compromised your implementation to accommodate Mockito

I've changed the cache to hold FlowFiberImpl instead of "Any" which was at the time of writing the comment.
I've ran several different types of tests on the aws cluster and identified a couple issues which I resolved. Some references can be seen in the description links.
I'm preparing to look into testOSGi tests and make sure all of this code has good test coverage. It would be good to get any feedback on these changes while I do that.


Merging snakemake into master

PR for merging new version of pyinseq that uses snakemake for workflow execution into master branch.

Codecov Report

Merging #80 (56783af) into master (bddd089) will decrease coverage by 0.21%.
The diff coverage is 95.12%.

@@            Coverage Diff             @@
##           master      #80      +/-   ##
==========================================
- Coverage   92.68%   92.46%   -0.22%
==========================================
  Files           3        3
  Lines         205      239      +34
==========================================
+ Hits          190      221      +31
- Misses         15       18       +3

Impacted Files
Coverage Δ

pyinseq/tests/test_utils.py
84.34% <88.23%> (+3.33%)
:arrow_up:

pyinseq/tests/test_functions.py
100.00% <100.00%> (ø)

pyinseq/tests/test_script.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bddd089...56783af. Read the comment docs.

Once merged:

Delete readthedocs site.
Add to bioconda, test to ensure it is working well.
Update README.md to remove the disclaimer.
New release.
Update on PyPi.

Changes that I need to do:

Resolve merge conflicts
yaml -> yml extensions
Change additional_params to snakemake_params
Add config-file description to README table


Move GSOC money to SunPy

Since we have the Moore money now, we discussed it with Stuart and it makes sense to move the GSOC money (from Open Astronomy) into the SunPy account.
I don't think we need to take any action, but FYI.

@Cadair As far as you know, did this get taken care of?

I think so, let me double check.

@kelle not all it's done. We are still missing few things:

Last year GSoC money to SunPy and other smaller groups
If we want SunPy to keep the accounting for all OA, then there's also more to transfer.

I'll give you details via e-mail.

@dpshelio , can this be closed? (I'll open a new issue for the request you sent this morning via email.)

Mail from NumFOCUS Finance of 2021-07-06, subject “Re: Astropy / Sunpy & Open Astronomy GSOC money”, seems to confirm that this issue has been resolved. That was sent to stakeholders from both projects, and nobody has objected. I therefore propose to close this issue. Please reopen if you feel this matter has not been satisfactorily resolved.


Updated instructions on building from source

Created separate section for compiling binaries to validate on an external chain and added details on the necessity of the "release" flag when building.

@Pete-LunaNova from a closer look, I agree with Bowen. You can merge your content within the pages in this section: https://github.com/near/docs/tree/master/docs/local-setup

Closing to resubmit with changes to alternative document.


[Feat]: Pass a logger into components, rather than relying on console.log

Tell us what problem the feature would solve
The usecase is primarily to redirect logging messages into any structured logger, rather than relying on capturing the console output.
Describe the solution you'd like
The top-level object creators should allow passing a logger like so:
interface Logger {
  debug: (...args: unknown[]) => void,
  log: (...args: unknown[]) => void,
  warn: (...args: unknown[]) => void,
  error: (...args: unknown[]) => void,
  fatal: (...args: unknown[]) => void,
}

// redirecting all logs of REST manager to directly submit into some logging implementation
createRestManager({ token: ..., logger: createLogger({ prefix: "DD: REST Client" });

Describe alternatives you've considered
There are currently no alternatives, except capturing the console like so, which then lacks the ability to discern the source of the log (unless analyzing the stack):
{
    // capturing console and redirecting it into winston
    const logger = loggerFactory("BASE:!Console");
    console.log = (...args: Parameters<typeof console.log>) => logger.info(args);
    console.warn = (...args: Parameters<typeof console.warn>) => logger.warn(args);
    console.error = (...args: Parameters<typeof console.error>) => logger.error(args);
    console.debug = (...args: Parameters<typeof console.debug>) => logger.debug(args);
}

Additional Info
No response

An (hacky) alternative is to import the logger from @discordeno/utils and override methods in there as gateway (only has debug logs) and rest use the import from @discordeno/utils

I see, this is indeed some option in the meantime to redirect the logs into a better destination instead of the console catch-all:
POC:
    const apiLogger = loggerFactory("WEBHK:Discord:Client");

    denoLogger.debug = apiLogger.debug;
    denoLogger.error = apiLogger.error;
    denoLogger.fatal = apiLogger.crit;
    denoLogger.info = apiLogger.info;
    denoLogger.log = apiLogger.info;
    denoLogger.warn = apiLogger.warn;

    const client = createRestManager({
        token: token,
        applicationId: applicationId,
        version: 10,
    });

It is not the cleanest thing as

You are editing a module function
You will have TS errors with the .log method especially as it expects a value from the LogLevels enum[^proj]
You can't edit it for rest and have another one for gateway

But in the meantime, it is the only thing you can do as for what i know
[^proj]: I have overriden the logger in a personal project and I had to add a //@ts-expect-error or else the enums for the LogLevel will not match and TS will bother

Considering that the bot object returned by createBot() has a logger attached to it and by default is a different logger than the one that gateway and rest uses: what should accept the createBot function for the logger option?

Use a single logger property and use it for rest.logger, gateway.logger and bot.logger
Have 2 options, one for the bot.logger one and one for the rest.logger and gateway.logger
Provide one for gateway.logger and rest.logger but still create a logger instance of the discordeno logger for bot.logger

Why not a factory? As a user I don't particularly care how many channels you create (as long as it's reasonably documented) and if I know what you're passing, I can [still, from the user view], write you a callback to provide you a logger with all my fluff attached to it. That way I'm also future-proof for whatever logger channels you will need.

Why not a factory? As a user I don't particularly care how many channels you create (as long as it's reasonably documented) and if I know what you're passing, I can [still, from the user view], write you a callback to provide you a logger with all my fluff attached to it. That way I'm also future-proof for whatever logger channels you will need.

I would say that this can work fine. I did not think at all at a factory, lol


Add the SonarCloud post-submit job

Relates to:
https://github.com/stolostron/backlog/issues/20014
The PR SonarCloud jobs will be done in Prow in a separate PR.

Here is the Prow PR:
https://github.com/openshift/release/pull/26628

/retest


Regroup fxml

Closes #77
Replaced BorderPane with AnchorPane which has a VBox child to vertically align items.
Rationale: current design does not seem to require left and right border components, so they are redundant.

Good job, closing


Unable to install via pip on MacOS Mojave 10.14

I wanted to install onedrive-sdk to manage my files on OneDrive. I created a conda environment with Python 3.5 with the following modules:

pip
requests
pillow

I proceeded to run:
pip install onedrivesdk
Which threw the following error:
Collecting onedrivesdk
Using cached https://files.pythonhosted.org/packages/b3/76/9a3fe5b36079f5c40b33c89ad6f7737e3b8609010a80c9ed24d762ddb93e/onedrivesdk-2.0.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/private/var/folders/90/h42xgbnd22x3c6fs9kkb2x680000gn/T/pip-install-7zlfo9w0/onedrivesdk/setup.py", line 9, in
with open(NOTICE, 'r', encoding='utf-8') as f:
NotADirectoryError: [Errno 20] Not a directory: '/private/var/folders/90/h42xgbnd22x3c6fs9kkb2x680000gn/T/pip-install-7zlfo9w0/onedrivesdk/setup.py/../NOTICE.rst'
I do not understand how pip works internally, why does it want to use that cached address, or why is it trying to access that unexistent directory on my system.
About my hardware and config:
brew config
HOMEBREW_VERSION: 2.1.10
ORIGIN: https://github.com/Homebrew/brew
HEAD: 925ec737fba1db97d0170c56de982900711cacd3
Last commit: 11 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: c637adf2f778c349063c431f52d51ff0421b20f3
Core tap last commit: 14 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_NO_ANALYTICS_THIS_RUN: 1
CPU: quad-core 64-bit ivybridge
Homebrew Ruby: 2.3.7 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby
Clang: 10.0 build 1001
Git: 2.18.0 => /usr/local/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: 10.0.1, 1.8.0_172
macOS: 10.14.6-x86_64
CLT: <IP_ADDRESS>.1.1562985497
Xcode: 10.3
CLT headers: <IP_ADDRESS>.1.1562985497
XQuartz: 2.7.11 => /opt/X11
About this mac
MacBook Pro (13-inch, mid 2012)
Processor: 2.5 GHz Intel Core i5
RAM: 8 GB 1600 MHz DDR3

I have the same error popping up. But I'm trying to install the package on  raspberry pi via python3
I currently have
pip=19.2.3
Python=3.7.3
Raspberry pi is raspbian buster

I had the same problem. Upon further investigation, I discovered that the currently-available PyPI package has absolutely nothing to do with this repository; it now has a no-op deprecation notice that doesn't even work and is otherwise empty.

Same problem on Ubuntu 18.04

I have the same error popping up. But I'm trying to install the package on raspberry pi via python3
I currently have
pip=19.2.3
Python=3.7.3
Raspberry pi is raspbian buster

I ended up just using the requests Oauth Library
https://requests-oauthlib.readthedocs.io/en/latest/
And I read the docs for the microsoft Graph API
https://docs.microsoft.com/en-us/graph/api/driveitem-put-content?view=graph-rest-1.0&tabs=http

Having the same issue on Ubuntu 18.04

So there's no answer or support for this sdk?
Will it ever be?
If there's no plan to fix it or update, I'd like to have some news from the team working on it.
Why is there a package on PyPI with the same name but no relation to this repo?

I had the same on a Raspberry Pi but the following worked:
pip3 install git+https://github.com/OneDrive/onedrive-sdk-python.git

@ricdea You're right. Installing giving the github repo works. Marking this as closed.

Install from github repo is not the solution. Any plan to fix pip install?
@gmagannaDevelop This issue should keep it open.

@billzhong the question then is: Is this repo being maintained?

@ddacunha I don't think so. I end up making my own by using requests.


feat: 🎸 Added debug option, made rules parser debuggable

debug is now an option instead of a property, allowing to use it during construction. Grammar parsers can use a base parser with the debug option by using the debugRulesParser option. This allows the lib to be more easily debuggable.

Because the debug option is provided during construction. Do you want me to make it writable?

Hi,
Do you have an interest in merging this PR ? Do you need anything ?

Sorry, I forgot to do it. You may be interested in the WebAssembly sister of this repository https://github.com/lys-lang/lys-tokenizer/blob/master/src/parser/lysgrammar.lys


Task 2 - root_simple unable to find root for tanh(x)

I'm having some issues with task 2. I can't get root_simple to find the roots of tanh(x) when given a positive initial guess. It will always exceed the maximum number of steps. However, for negative guesses it is fine. Any ideas on how to resolve this without changing the algorithm? I'm a little confused because tan and tanh have roughly the same behavior around x = 0 and I do not have this issue with finding the roots of tan

Have you tried taking reference from https://github.com/ubsuny/CompPhys/blob/main/Calculus/rootfinding.ipynb ?


Use lispkit.org to document everything

I have lispkit.org so I want to put it to good use
I would like:

List of features and their configuration
List of available commands
Video tutorials
Internal source documentation

How to accomplish:

I will put forth a VPS to use.
I will maintain the VPS.
The site must be a statically generated set of pages
The site's source must be a part of this repo.

Questions:

What to use for this?

The Lisp docstring->html generators output awful HTML, to be frank. I've used Sphinx in the past with great success as it allows a mixture of both free form text and automatically parsed docstrings. Does such a thing exist for Common Lisp or am I right in thinking it does not.

Hello there, now there's https://github.com/CommonDoc/codex, a documentation system for Common Lisp. I tried it and it works as advertised.
https://commondoc.github.io/codex/docs/tutorial.html

Take a stab at it if you fancy.


Handle scenario where user has no credentials for a deployment.

This may occur initially or because the user has chosen to refresh credentials
Have to handle:

deployment section:

Disabling / removing deploy operation icon
Update of the tooltip

Home View:

Disable entry within dropdown, with some indication of why it is disabled
Update deploy button enabled, if the selected entry becomes disabled
Update deployment status to indicate they have no credentials that match the URL

We have talked about adding an API that could be called for each deployment, which indicates if there are any known credentials. This was thought of to remove the responsibility of the UX to loop through existing credentials and see if there are any URL matches. Having to make an API call for each of the deployments would be pretty chatty, so I'm not in favor of this alternative API idea, I'd rather just check within the UX.
One possible alternative is then to make it easier to check, so we could add some type of metadata field to the deployment API which would return if there were any credentials for the deployment, thereby eliminating the need for the UX to query all accounts and then do it's own matching. This would be helpful in the future when the backend would also be making sure there are some credentials which have ownership/collaboration access to the content item on the server, as the metadata could be enhanced.

Moving this out of v1.2.0 for now, but I believe we can close this one. Looking at the requirements above I believe they are all taken care of currently


Why not static

May be it's a newbie question, but why not declare these Http11StatusRepository Http10StatusRepository classes as static?
It's seems good to just get the status string without an object creation.

Hi, and thanks a lot for taking the time to ask this question, which is frequently asked (and also applies to the Singleton pattern).
The short answer:
Static classes are limiting.
The long answer:
If object creation is a concern for you for performance, do not worry, this is definitely not where a bottleneck will appear in your application (profiling tools are here to help you locate bottlenecks).
If object creation is a concern for you for the ease of use (like, having 1 line of code to retrieve a HTTP status string vs. 2 lines of code), then there are other ways to achieve this (examples of alternatives will follow).
In general, static classes defeat the purpose of polymorphism (which is why the HttpStatusRepository interface is here): with concrete classes, you could substitute a Http11StatusRepository object by a Http10StatusRepository, and your application would run the same way (expecting a HttpStatusRepository class/interface):
class Whatever
{

	private $httpStatusRepository;

	public function __construct(HttpStatusRepository $repository)
	{
		$this->httpStatusRepository = $repository;
	}

	public function notFound()
	{
		return $this->getHttpStatus(404);
	}

	private function sendHttpStatus($code)
	{
		return $this->httpStatusRepository->get($code);
	}
}

// Both object will work (almost) the same:
$whatever = new Whatever(new Http10StatusRepository());
$whatever = new Whatever(new Http11StatusRepository());

With static calls, once a call is written in your code, your application will not be able to fetch HTTP/1.0 statuses anymore, as there is now a "hard-wiring" (a.k.a. coupling) to a class:
function whatever()
{
	$status = Http11StatusRepository::get(404); // Bound to HTTP/1.1 implementation

	header($status);
}

With static classes, you lose the ease of testing of your code, as you'd have no way of replacing a real production-ready HttpStatusRepository by a testing double (see https://phpunit.de/manual/current/en/test-doubles.html):
public function testNotFound()
{
	$httpStatusRepositoryMock = $this->getMock('\\perf\\Http\\Status\\HttpStatusRepository');
	// More mocking stuff

	$whatever = new Whatever($httpStatusRepositoryMock);

	$result = $whatever->notFound();

	// Assert stuff
}

Static classes and methods makes them accessible from everywhere, which is a open door for spaghetti code (have you ever seen a typical Symfony 1.x application?).
Not the case here but just to highlight it: static classes (and also singletons) can carry a state which can be altered and shared accross an application, which could lead to unexpected behavior.
Alternatives:

Keep on instanciating an object prior to retrieve a HTTP status string (not convenient).
Instanciate it once, somewhere, then access it when needed (not optimal, because maybe sometimes you won't need it)
Use a dependency-injection container, which will only instanciate the object (once) if needed (see https://symfony.com/doc/current/components/dependency_injection/index.html).

Also, and just for convenience (for quick and not-so-dirty developments), we could add and use a static constructor (which I just added in release 1.0.1):
$status = Http11StatusRepository::create()->get(404);

More references:
Object-oriented terminology -- http://www.giorgiosironi.com/2009/10/object-oriented-terminology.html
Why static classes are evil! -- http://blog.goyello.com/2009/12/17/why-static-classes-are-evil/
Why Singletons are Evil -- http://blogs.msdn.com/b/scottdensmore/archive/2004/05/25/140827.aspx
Hope that answers your (not so newbie) question :)

Thank you for your time and this answer! It's helpful and contains something new for me to learn.


how to set another callback function, not "recaptchaCallback"?

I cannot set a js callback function except "recaptchaCallback".
I'm trying to use 2 widgets in one page, so they should call their own functions not just "recaptchaCallback". i tried
 <?php echo  \himiklab\yii2\recaptcha\ReCaptcha::widget([                      'name'                => 'reCaptcha',                     'jsCallback'          => 'recaptchaCallbackMyFunction',                     'jsExpiredCallback'   => 'recaptchaExpiredCallbackMyFunction',                 ] ); ?>
but it does not work.
Could you help me?

https://github.com/himiklab/yii2-recaptcha-widget/pull/20/files?short_path=04c6e90


entity-filter returns all entities instead of the filtered ones

Using that configuration returns a card with all entities, except for the filtered ones.
- type: entity-filter
        filter:
          - entitiy_id: "automation.temperatur_*"
        card_config:
          title: "Temperaturregelung"

browser?

entity_id


Image upload with any filesystem

Currently, image uploading only works with the local driver. Using the url() method allows to use image upload with any driver, such as S3.

Thank you :)


Merkle tree deserialize correctness check

Does mt_deserialize check for correctness of the tree, i.e., root is correct given the nodes in the tree?

No it doesn't. It performs some lower level checks, but it doesn't recompute the hashes. I'm planning to change the serialization so as not to save internal hashes at all (to save space), but as a side-effect it would also recompute the internal hashes. So far, I haven't had time to actually do that though.

Then, does it make sense to rebuild the tree from the leaves instead of serializing/deserializing if deserializing side does not trust the correctness of the tree it receives? Is there a better/cheaper way to ensure correctness in this case?

I don't think there's anything cheaper because you have to check every single hash computation since you can't invert them. Maybe we could save some extra information during serialization that allows us to cut some paths during deserialization, but I'm not convinced it would pay off.

I understand, thank you!
For correctness, after deserialization, would it be enough to get the root with mt_get_root and compare the received root to the expected value? From the code, it seems to me mt_get_root calculates the root starting with the leaves and going up. Therefore, the root returned from this function should be the correct root of the deserialized tree.

I am curious: is there a public RFC or other standard for merkle trees that the code is trying to meet?

On 30 Apr 2020, at 12:01, Christoph M. Wintersteiger<EMAIL_ADDRESS>wrote:
I don't think there's anything cheaper because you have to check every single hash computation since you can't invert them. Maybe we could save some extra information during serialization that allows us to cut some paths during deserialization, but I'm not convinced it would pay off.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/project-everest/hacl-star/issues/293#issuecomment-621736397, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDABHTBHPW4I4BLOSELYNTRPFD7ZANCNFSM4MTK2KJA.

If I remember correctly, deseralization does set the rhs_ok flag to false, so that it triggers a recalculation, but that's only for the right-most hashes on every level of the tree, so I don't think that would be enough.
@prosecco: I don't know the answer, but if you find it, please forward it to me!

This is the only public spec I see: https://tools.ietf.org/html/rfc6962#section-2.1 https://tools.ietf.org/html/rfc6962#section-2.1
I don’t expect the F* code follows this though.

On 6 May 2020, at 11:03, Christoph M. Wintersteiger<EMAIL_ADDRESS>wrote:
If I remember correctly, deseralization does set the rhs_ok flag to false, so that it triggers a recalculation, but that's only for the right-most hashes on every level of the tree, so I don't think that would be enough.
@prosecco https://github.com/prosecco: I don't know the answer, but if you find it, please forward it to me!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/project-everest/hacl-star/issues/293#issuecomment-624528242, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDABHUL22OG6YQFO4S22TTRQERU7ANCNFSM4MTK2KJA.


macbook M1 Streamlit

File "/usr/local/bin/streamlit", line 5, in
from streamlit.cli import main
File "/usr/local/lib/python3.11/site-packages/streamlit/init.py", line 48, in
.....
TypeError: Descriptors cannot not be created directly.
genai-stack-loader-1      | If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
genai-stack-loader    | If you cannot immediately regenerate your protos, some other possible workarounds are:
genai-stack-loader      |  1. Downgrade the protobuf package to 3.20.x or lower.
genai-stack-loader      |  2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
all 3 deployments have this problem
genai-stack-bot
genai-stack-pdf_bot
genai-stack-loader
Mac book M1.
Streamlit was always causing problems on M1.

I have an M1 too, but the streamlit app is run inside of the container.
Not sure if there's a docker setting that helps with this? @slimslenderslacks


Allow for custom text in image

Just saw this project today and I'm keen on using it, but our main problem is that we want to have text placed within the stickers, similar to how the cartoon ones currently in Teams work. Is this possible?

I believe this is doable but I don't think it would be as seemless as the stock stickers in Teams. It would also take a significant amount of engineering work =)

In the current version it does not support this feature. Will share this idea to the concerned team.


Make test timeout configurable , "test_timeout" is not working, used it in env/default/java.properties

Is your feature request related to a problem? Please describe.
Right now my Gauge Tests are running for infinite time, tried using test_timeout configuration by adding in in env/default/java.properties file but it is of no help. Do we have any workaround for this available for java project?
Describe the solution you'd like
Want a way to listing the test run time and stop the test post it passes a certain time threshold
Describe alternatives you've considered
tried using test_timeout configuration by adding in in env/default/java.properties file but it is of no help.
Additional context
NA

@AbhinawAnandPgg Perhaps you have found test_timeout option in the example of the following page.
https://docs.gauge.org/configuration.html?os=linux&language=javascript&ide=vscode#language-plugin-configurations
However, test_timeout option seems to be javascript specific option and not available in gauge-java.
(Or perhaps I cannot find the appropriate option for your usecase. I would like to know the option too)

https://docs.gauge.org/configuration.html?os=linux&language=java&ide=vscode#global-configuration-of-gauge-gauge-properties


Fix typo in implicit conversion

This is a binary breaking change, potentially source-breaking if someone imports these by name.

Thanks! I picked this back to series/0.22.


[IBCDPE-386] Adds CI step to publish GHCR container

This PR adds the ghcr-publish step to our CI GitHub Action to publish a container to GHCR each time new changes are pushed to the dev branch. It also will apply the latest tag to the container so that the nf-agora pulls the most up-to-date version (once we update it).
I have tested this in GitHub Actions and the most recent version of the container that I published can be found here. The new container was tested on tower successfully as well.

Something to test/verify (If it wasn't already done): Make sure that building the pipeline a second time is correctly applying the latest tag to the new image and removing it from the old image.

Something to test/verify (If it wasn't already done): Make sure that building the pipeline a second time is correctly applying the latest tag to the new image and removing it from the old image.

The Action that was triggered when I created this PR finally finished. This version of the container was published and tagged correctly.


I found the fixme package :tiny_potato:

// TODO:

Need to update your pr as container is gone

Need to update your pr as container is gone

:crab_dance:

@liach @Yanis48 I'll fix all the errors. Most of these are due to my keyboard being f***cked to hell.

New PR for the realms classes: #1170

New PR for just the util package changes: #1171

Closing this as there is a new PR: #1172


v2 auto-complete database queries could use better test coverage

Related to https://github.com/NuGet/NuGetGallery/pull/4093

UTs or functional tests?

@skofman1 either, as long as we assert that behavior is correct

UTs and functional tests were added. Closing.


Update to new gir and various related fixes

This is as green as it gets until we merged all the PRs.


extension broken with firefox 71.0

Description
Today I updated Firefox to version 71.0 and now almost everything from ESGST is broken. I cannot sync anymore. It doesn't even show that it is trying to sync anything. Endless scrolling doesn't work. User stuff isn't shown anymore. Giveaway filters seems to work but I can't disable or change them. Giveaway extractor doesn't work and I cannot change ESGST settings.
Console Errors
Promise resolved after context unloaded esgst.js:1
Promise resolved after context unloaded esgst.js:1
Promise resolved after context unloaded esgst.js:1
Promise resolved after context unloaded esgst.js:1
GET https://www.steamgifts.com/account/settings/profile?esgst=sync [HTTP/2.0 200 OK 180ms]
Site is not inverted: https://www.steamgifts.com/account/settings/profile?esgst=sync Index.js:3043:29

System (please complete the following information):

ESGST Version: Extension v8.5.10
Browser + Version: Firefox v71.0

I tried to reinstall ESGST and now ESGST isn't loaded any more. Nothing in Console.

seems to be a firefox bug with linux which corrupts local storage https://bugzilla.mozilla.org/show_bug.cgi?id=1601365


Failed to complete tunnel connection

The connection to https://xxxxx.ngrok.io was successfully tunneled to your ngrok client, but the client failed to establish a connection to the local address localhost:1449.
Make sure that a web service is running on localhost:1449 and that it is a valid address.
The error encountered was: dial tcp [::1]:1449: getsockopt: connection refused
Works fine for a while, added a bitly redirect link and it just crashes after using the redirect link, any ideas?

verify your network

I am exactly having the same problem,someone having the solution pleas help your brother.
Thanks


Make date formatting consistent across the app

Across the app, several different date formats are being used. We should always use MM/DD/YYYY anywhere a date is displayed

@hmyers-cms to add examples for devs to chase down

From our show and tell on December 11,

Erin Sizemore to Everyone (11:14 AM)
For date format - consider dd/mmm/yyyy (11/dec/2020) if possible. this will be an unambiguous date, whereas mm/dd/yyyy (12/11/2020) can be confused

One concern with this format is that entry would either need to be some other format or we'd need to return to the three-box design that users seemed to dislike.

Places we display or ask for dates that I can find, and their current format for December 12 2020:

Test Queue

[ ] User search widget - patient date of birth (2020-12-11)
[ ] Test card - patient date of birth (12/11/2020)
[ ] Time of Test questions: Was this your most recent COVID-19 test? (Friday, December 11, 2020 11:14AM)
[ ] Time of Test questions: Date of Most Recent Test (12/11/2020)

Results

[ ] Date of Test (Dec 11, 2020 11:58 AM)

People

[ ] Date of Birth (2020-12-11)

People edit page

[ ] Date of Birth (12/11/2020)
[ ] Date of Test (Dec 11, 2020 8:58 AM)

@hmyers-cms I think this is all of them


Use write_all instead of write to ensure everything is written

write doesn't always write everything, but write_all makes sure you don't drop any output.
Found by cargo clippy: https://rust-lang.github.io/rust-clippy/master/index.html#unused_io_amount
Clippy also gives some warnings about small inefficiencies and code that could be shorter, but this was the only functional thing.

Thanks for mentioning cargo clippy. I should consider adding it to the CI pipeline along with cargo fmt.


Run make apply

Summary
Run make apply
Ticket Link
None

Codecov Report

Merging #181 (7460ce9) into master (f004262) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #181   +/-   ##
=======================================
  Coverage   44.95%   44.95%
=======================================
  Files           7        7
  Lines         803      803
=======================================
  Hits          361      361
  Misses        417      417
  Partials       25       25

Impacted Files
Coverage Δ

server/manifest.go
100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f004262...7460ce9. Read the comment docs.


Update client3:async-http-client-backend-cats, ... to 3.8.11

Updates

com.softwaremill.sttp.client3:async-http-client-backend-cats
com.softwaremill.sttp.client3:circe
com.softwaremill.sttp.client3:core

from 3.8.2 to 3.8.11.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.softwaremill.sttp.client3" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.softwaremill.sttp.client3" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #226.


Use SigCheck w/ Zimmerman Tools

This fixes many of the tools that are running into an error in our Daily checks (https://github.com/mandiant/VM-Packages/wiki/Daily-Failures). These specific tools run into an issue where we need to manually update the hashes due to the links not having a version in them so our updater does not properly update the packages for us.
Specifically, this fixes:

evtxecmd.vm
pecmd.vm
recmd.vm
registry_explorer.vm
rla.vm
sqlecmd.vm

This is a great improvement, thanks for working on this @emtuls!! 💖
I do not like that we have a code that is long and complicated repeated in many packages. could you please add a helper function that we can reuse so that the code in every of the packages is simple and the complicated code is in a single place making it easier to maintain and understand? 🙏
Question: Why can't we use VM-Assert-Signature for RegCool? It seem you didn't need to do anything special in this case 🤔

I've modified the VM-Install-From-Zip to include a new argument for verifying a signature. I was a bit hesitant at first to do it because it seems to make the code look a little bit ugly, but I think it is generally fine and makes for the other code bits in each package to be much cleaner.
The alternative would have been its own function, but it would mimic the VM-Install-From-Zip function in a lot of ways, so I wasn't sure if that would be any better.
As for why we can't use it with RegCool. I believe that this is because the cert used to sign that tool is a self signed cert which is not verified via our method that we use to verify signatures, whereas these tools have a standard CA signing authority.

@Ana06 I totally agree with the idea of a "better" code. But meanwhile, new users like me are struggling to complete a fresh install of Flare-VM without running into issues. I think it comes down to weighing both sides... what might be more important at the moment: a not-so-pretty code that could be improved later, or new users having a smooth experience?
Anyway, sorry to interrupt, but I thought perhaps the perspective of a new user could add to the discussion. Thank you both for all this work.


IntentIq ID & Analytics Modules: update documentation

🏷 Type of documentation

[x] new examples

📋 Checklist

[x] Related pull requests in prebid.js or server are linked ->https://github.com/prebid/Prebid.js/pull/12314

Merging - was released with 9.17


docs: update docs with Stacks 2.1 information for Hiro products

Ahead of Stacks 2.1 launch, we need updated docs to reflect any changes the next protocol upgrade will have on Hiro products.

Capturing chatter from slack, so when we get to this, we can document the expectations wrt Clarity1 vs. Clarity2.
question

is the parser v2 backward compatible with Clarity1?
(i think the answer is no, but checking)

It is compatible with Clarity1, but not exactly Epoch 2.05 Clarity1. It's just some minor differences that are incompatible. It'll still be better than specifying Clarity2 because the type checks and what not will be correct.

to clarify my question:
if i write a contract with the parser v2, and don't use clarity2 functions, is my contract compatible with clarity1?

Yes* mostly

if i load an existing Clarity1 contract, is the parser v2 able to build an AST out of it?

Yes
There are differences between Epoch 2.05 Clarity1 and Epoch 2.1 Clarity1, but they are small. Mostly fixing bugs in the parser v1 behavior that didn't match the expected Clarity1 behavior.
So it would be good if other commands besides the LSP still used parser v1 (by specifying Epoch2.05 so that those minor differences would get caught, for example, before deploying.

For more info refer to this blog: https://www.youtube.com/watch?v=zZzpGjBcRH0

Possible changes in the Docs

Open API Spec
Stacks 2.0 -> Stacks 2.1

Given the overlapping window in which there can be a stacking bleeding situation, we will have to clearly articulate the Stacks blockchain behavior in this window, and how our products are going to handle the overlapping period with "error messages" or otherwise—all these needs to be captured in 2.1-focused Docs.

All the possible approaches are noted in the Notion page: https://www.notion.so/hiropbc/Docusaurus-plugins-to-get-remote-content-to-docs-repo-d2a888dbc9a34bc695bb08bf21218c12
Developers can weigh in and suggest what is the approach that they want to go with.

more information here
https://www.hiro.so/blog/a-developers-guide-to-stacks-2-1

For more info refer to this blog: https://www.youtube.com/watch?v=zZzpGjBcRH0

@LakshmiLavanyaKasturi - I think this is my playlist! 😆
I shared the blog post above

Stacks 2.1 migration docs are added for API and StacksJS in the PR: https://github.com/hirosystems/docs/pull/220

Stacks 2.1 updates are done for API and Stacks JS in - PR: https://github.com/hirosystems/docs/pull/220.
Clarinet updates are pending.

This is complete.


Error:

`┌─[sambhrama@parrot]─[~]
└──╼ $npx create-react-app basaveshwar_hardwares
npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning EHOSTUNREACH: request to https://registry.npmjs.org/create-react-app failed, reason: connect EHOSTUNREACH <IP_ADDRESS>:443
npm WARN registry Using stale data from https://registry.npmjs.org/ due to a request error during revalidation.
Creating a new React app in /home/sambhrama/basaveshwar_hardwares.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...
^A[       ...........] | idealTree:type-fest: sill fetch manifest<EMAIL_ADDRESS>      ..........] / idealTree:snapdragon-util: sill npm ERR! code ERR_SOCKET_TIMEOUT
npm ERR! errno ERR_SOCKET_TIMEOUT
npm ERR! request to https://registry.npmjs.org/coa/-/coa-2.0.2.tgz failed, reason: Socket timeout
npm ERR!
Deleting generated file... node_modules
Deleting generated file... package.json
Deleting basaveshwar_hardwares/ from /home/sambhrama
Done.
npm ERR! code 1
npm ERR! path /home/sambhrama
npm ERR! command failed
npm ERR! command sh -c create-react-app basaveshwar_hardwares
npm ERR! A complete log of this run can be found in:
npm ERR!     /home/sambhrama/.npm/_logs/2020-12-16T07_20_12_208Z-debug.log
┌─[✗]─[sambhrama@parrot]─[~]
└──╼ $
`

@Sambhrama754  Do  you have perfect Internet Connection?

yes

I have similar problem
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...

npm ERR! code ERR_SOCKET_TIMEOUT
npm ERR! errno ERR_SOCKET_TIMEOUT
npm ERR! request to https://registry.npmjs.org/babel-preset-react-app failed, reason: Socket timeout

npm ERR!

Deleting generated file... package.json
Deleting jsx/ from /home/mka/Desktop/Modern_react_kurs
Done.

with:

npm  7.3.0
node v15.5.0

K

K

I have similar problem
create-react-app jsx

Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...

npm ERR! code ERR_SOCKET_TIMEOUT
npm ERR! errno ERR_SOCKET_TIMEOUT
npm ERR! request to https://registry.npmjs.org/babel-preset-react-app failed, reason: Socket timeout

npm ERR!

Deleting generated file... package.json
Deleting jsx/ from /home/mka/Desktop/Modern_react_kurs
Done.

with:

npm  7.3.0
node v15.5.0

EDITED:
Today i added timeout=60000 to .npmrc file and after run: create-react-app jsx all work just fine

You're a legend ! It worked for me ( btw why the specific timeout value ? )

I have similar problem
create-react-app jsx

Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...

npm ERR! code ERR_SOCKET_TIMEOUT
npm ERR! errno ERR_SOCKET_TIMEOUT
npm ERR! request to https://registry.npmjs.org/babel-preset-react-app failed, reason: Socket timeout

npm ERR!

Deleting generated file... package.json
Deleting jsx/ from /home/mka/Desktop/Modern_react_kurs
Done.

with:

npm  7.3.0
node v15.5.0

EDITED:
Today i added timeout=60000 to .npmrc file and after run: create-react-app jsx all work just fine

You're a legend ! It worked for me ( btw why the specific timeout value ? )

It's about you're internet connection speed. I set it to one minute because i was considering that it will be enough time to download all required react packages. (If it won't work i would probably try to get a better internet than increasing this value to bigger and bigger).

tq for help

I have similar problem
create-react-app jsx

Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...

npm ERR! code ERR_SOCKET_TIMEOUT
npm ERR! errno ERR_SOCKET_TIMEOUT
npm ERR! request to https://registry.npmjs.org/babel-preset-react-app failed, reason: Socket timeout

npm ERR!

Deleting generated file... package.json
Deleting jsx/ from /home/mka/Desktop/Modern_react_kurs
Done.

with:

npm  7.3.0
node v15.5.0

EDITED:
Today i added timeout=60000 to .npmrc file and after run: create-react-app jsx all work just fine

but where to find that .npmrc file and how to change it? (windows)

Propably in your username directory, but you can also create this file manually e.g. in your project directory .npmrc

got it!
thank you 😊
On Thu, 27 Jan 2022, 13:09 mka142, @.***> wrote:

Propably in your username directory, but you can also create this file
manually e.g. in your project directory .npmrc
https://docs.npmjs.com/cli/v6/configuring-npm/npmrc
—
Reply to this email directly, view it on GitHub
https://github.com/facebook/create-react-app/issues/10251#issuecomment-1022927885,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARGMPRZI6VM4WFIAYPX3N5TUYDZDDANCNFSM4U5Q3GNA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...
npm ERR! code ERR_SOCKET_TIMEOUT
npm ERR! network Socket timeout
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly.  See: 'npm help config'
npm ERR!      C:\Users\khwaa\AppData\Local\npm-cache_logs\2022-04-22T09_49_56_712Z-debug-0.log
Aborting installation.
npm install --no-audit --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.
Deleting generated file... node_modules
Deleting generated file... package.json
Deleting my-app/ from D:\REACTJS
Done.

Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...
npm ERR! code ERR_SOCKET_TIMEOUT
npm ERR! network Socket timeout
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly.  See: 'npm help config'
npm ERR!      C:\Users\khwaa\AppData\Local\npm-cache_logs\2022-04-22T09_49_56_712Z-debug-0.log
Aborting installation.
npm install --no-audit --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.
Deleting generated file... node_modules
Deleting generated file... package.json
Deleting my-app/ from D:\REACTJS
Done.

I had same error
Creating a new React app in C:\Users\admin\Desktop\git\bootcamp-2020-class-2.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...
npm ERR! code ERR_SOCKET_TIMEOUT
npm ERR! network Socket timeout
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly.  See: 'npm help config'
npm ERR!      C:\Users\admin\AppData\Local\npm-cache_logs\2022-04-27T00_20_16_050Z-debug-0.log
Aborting installation.
npm install --no-audit --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.
Deleting generated file... node_modules
Deleting generated file... package.json
Deleting bootcamp-2020-class-2/ from C:\Users\admin\Desktop\git
Done.

In my case I updated the npm and run one more command and then the problem solved.. <------- For ubuntu
npm i -g<EMAIL_ADDRESS>npm audit fix --force

I had same error
Creating a new React app in C:\Users\HP\Desktop\belajareact\my-app.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...
npm ERR! code ERR_SOCKET_TIMEOUT
npm ERR! network Socket timeout
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
npm ERR!  C:\Users\HP\AppData\Local\npm-cache_logs\2022-07-25T05_40_19_499Z-debug-0.log
Aborting installation.
npm install --no-audit --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.
Deleting generated file... node_modules
Deleting generated file... package.json
Deleting bootcamp-2020-class-2/ from C:\Users\admin\Desktop\git
Done.

I had same error
Creating a new React app in C:\Users\HP\Desktop\belajareact\my-app.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...
npm ERR! code ERR_SOCKET_TIMEOUT
npm ERR! network Socket timeout
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
npm ERR!  C:\Users\HP\AppData\Local\npm-cache_logs\2022-07-25T05_40_19_499Z-debug-0.log
Aborting installation.
npm install --no-audit --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.
Deleting generated file... node_modules
Deleting generated file... package.json
Deleting my-app/ from C:\Users\HP\Desktop\belajareact
Done.

I have similar problem
create-react-app jsx

Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...

npm ERR! code ERR_SOCKET_TIMEOUT
npm ERR! errno ERR_SOCKET_TIMEOUT
npm ERR! request to https://registry.npmjs.org/babel-preset-react-app failed, reason: Socket timeout

npm ERR!

Deleting generated file... package.json
Deleting jsx/ from /home/mka/Desktop/Modern_react_kurs
Done.

with:

npm  7.3.0
node v15.5.0

EDITED:
Today i added timeout=60000 to .npmrc file and after run: create-react-app jsx all work just fine

You're a legend ! It worked for me ( btw why the specific timeout value ? )

It's about you're internet connection speed. I set it to one minute because i was considering that it will be enough time to download all required react packages. (If it won't work i would probably try to get a better internet than increasing this value to bigger and bigger).

Problem solved, thank you. I used timeout=180000.

actually, none of the above solutions worked !!


Permalinks to no-JS version

Right now, each chart's # permalink uses the hash, like this: http://caniuse.com/#feat=svg-html
I noticed you can get a no-JS version of each chart which progressively enhances into the full experience if you remove the #feat=, so when linking to CNI I do that manually.
It would be cool if the permalinks pointed that way by default, like so: http://caniuse.com/svg-html

This is now the behavior on the beta site (https://beta.caniuse.com), e.g. https://beta.caniuse.com/svg-html (works with & without JS)
Will close this issue once it's on the main site.

This is now available on the main site.


ENH: Build VIC drivers using Autotools/Automake

It would be nice to have a single command-line utility to handle building any of the VIC drivers.  This could be done using GNU Autotools/Automake. This might look something like this:
./configure --driver=image \
            --disable-openmp \
            --with-netcdf=yes \
            --prefix=./ \
            --enable-extension=rvic

As we add dependencies and build out the extensions in VIC 5, we can put most of the build time decisions in the configure scripts, allowing the VIC source code to stay mostly clear of build time directives.

:+1:


Request textDocument/hover failed.

Describe the bug
I am getting a slew of these errors everytime my mouse idles for a split second on syntax in a liquid file. One of the features of the extension (among others, which are useful and working) is that it's supposed to provide documentation on hover. For some reason that's not working for my install and IDE just keeps spamming this error.
Source
All liquid files in any of my repos
Expected behaviour
Shopify Liquid VS Code extension is supposed to provide documentation on hover
Actual behaviour
VS Code throws the following error everytime I hover any syntax in a Liquid file: Request textDocument/hover failed.
Error output:
[Error - 11:27:04 AM] Request textDocument/hover failed.
  Message: Request textDocument/hover failed with message: request to https://raw.githubusercontent.com/Shopify/theme-liquid-docs/main/data/latest.json failed, reason: unable to get local issuer certificate
  Code: -32603

Debugging information

Mac
Ventura 13.5
Theme Check Version 2

Additional context
Here's my other extensions, in case there's a conflict in there. I already tried:

Uninstalling and reinstalling Shopify Liquid
Uninstalling Liquid Languages Support and Shopify Content Schema, testing with those uninstalled, and reinstalling, to no avail

Does this still happen? It looks like it might have been caused by a raw.githubusercontent.com outage.

hi @charlespwd thanks for getting back to me. Yes this is still happening to me, consistently, every day since I created this ticket.
Screenshot from seconds ago:

sorry, screenshot didn't load. here it is:

Alright strange. Looks like your VS Code doesn't want to allow the fetch request to our docsets on raw.githubuser.com.
I'll include the most updated contents of those files as a fallback in our build so that even if the request fails you at least have something to fallback on.

Thanks again for your help on this @charlespwd. Yes, I was able to load the URL above in my browser, I got:
{ "revision": "7c64217076e25564b2580b1370557a0f1dcfb93e" }
I will check with my IT department to see whether something they're pushing is messing with HTTP certificates. But given that I could load the URL in my browser manually, I suspect it might be something else? Let me know what you think, and again, appreciate your assistance and the fallback support!


dtNavMeshQuery::findRandomPoint got failed sometimes

https://github.com/recastnavigation/recastnavigation/blob/314e94b692fe6c5df1de703527c8774a473526b7/Detour/Source/DetourNavMeshQuery.cpp#L301-L307
In some case, the pt calculated by dtRandomPointInConvexPoly would be exactly at right edge (+x) of this poly, e.g:

And it failed in getPolyHeight after, because dtPointInPolygon said this point is not in the triangle.
I know the last part is a feature of dtPointInPolygon, but it is really weird if I just want a random position and got DT_INVALID_PARAM.

Hmm yeah good catch.  Seems like in every case this is used we want something where none of the barycentric values are exactly 0 or 1.
Moreover though I'm not sure why it needs to check that getPolyHeight succeeds immediately after choosing a random point in the triangle.  It appears that it's just checking that dtRandomPointInConvexPoly actually worked?  Not sure.  @memononen maybe you recall some edge case here this is handling?

Hi, there is a simple fix at #560 . I think if the algorithm of dtRandomPointInConvexPoly  is guaranteed, it does not need to check the status of getPolyHeight.

As I recall, the problem was that we needed to change dtClosestHeightPointTriangle to handle degeneracy which broke the existing implementation of getPolyHeight that was based on it. At that time, I believe I convinced myself it makes more sense that getPolyHeight is about exact XZ contains check, and closestPointOnPoly is the robust one that works.
I think the bugfix here is just going to be to replace getPolyHeight with closestPointOnPoly. But if you think introducing epsilon in getPolyHeight is better, then that seems reasonable to me too.

It should be as permissive as it can be, imho it should clamp rather than discard.

FWIW, this would make getPolyHeight and closestPointOnPoly equivalent APIs. That makes sense to me, but of course the DetourNavMeshQuery code with the bug above would still need to change to not check the return value.

getPolyHeight() indeed seems obsolete. And I agree that closestPointOnPoly() is the right choice to use in this case.


Fix logo rendering

I used the logo from the brand page (https://getbootstrap.com/docs/4.2/about/brand/#mark-and-logo) and increased the border width to 1px, this should render better on non-retina screens.
It looks like the logo from the brand page wasn't the same as the logo in the header. Not sure which one is the correct logo
Closes #27938

Navbar one is correct, I have the source files and I can share those or fix it myself.

@mdo: I don't suppose you have this ready?
BTW this branch needs a rebase.

We're going to have a look at using the same logo everywhere, I'll close this for now.


Implement Github Actions

Need to have Github actions to create binaries automatically on push/release

Implemented the goreleaser action


Reanimated animation

I have tried to play with Reanimated 2, but unable to make it work.
The gradient and radius stay the same.
It works on React native SVG for the radius while updating it, but did get how to figure out how to draw a gradient.
Thx for your help.

React-native-radial-gradient does not re-render on iOS, but state change works on Android


TF 2.0: metrics get mixed up when adding metrics in multiple layers

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): macOS 10.14.6, Ubuntu 18.04
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): v2.0.0-beta0-16-g1d91213fe7 2.0.0-beta1 and v2.0.0-beta1-5101-gc75bb66a99 2.0.0-rc0
Python version: 3.6.6
CUDA/cuDNN version: N/A
GPU model and memory: N/A

Describe the current behavior
Creating a Layer and Model, calling add_metric in both results in the metric values getting mixed up.
Describe the expected behavior
Metric values should not get mixed up
Code to reproduce the issue
#!/usr/bin/env python

import numpy as np
import tensorflow as tf
from tensorflow.python.keras import Model
from tensorflow.python.keras.layers import Layer

class MyLayer(Layer):
    def __init__(self, **kwargs):
        super(MyLayer, self).__init__(**kwargs)

    def call(self, input, training=None, mask=None):
        self.add_metric(tf.ones([32]) * 2.0, name='two', aggregation='mean')
        return input

class MyModel(Model):
    def __init__(self, **kwargs):
        super(MyModel, self).__init__(**kwargs)
        self._sampler = MyLayer(name='sampler')

    def call(self, input, training=None, mask=None):
        z = self._sampler(input)
        self.add_metric(tf.ones([32]) * 1.0, name='one', aggregation='mean')
        self.add_metric(tf.ones([32]) * 3.0, name='three', aggregation='mean')
        return z

def train(dataset_train, epochs):
    tf.config.experimental_run_functions_eagerly(True)

    optimizer = tf.keras.optimizers.Adam(learning_rate=1e-4)

    loss = tf.losses.mean_squared_error

    model = MyModel()
    model.compile(optimizer=optimizer, loss=loss, run_eagerly=True)

    print('Training...')
    history = model.fit(dataset_train, epochs=epochs, verbose=1, callbacks=[])

def main():
    print('Preparing data...')
    batch_size = 32
    num_examples = 32
    xdata = np.random.uniform(size=[num_examples, 16]).astype(np.float32)
    dataset_train = tf.data.Dataset.from_tensor_slices((xdata, xdata))
    dataset_train = dataset_train.batch(batch_size, drop_remainder=True)

    train(dataset_train, epochs=3)

if __name__ == '__main__':
    main()

Output:
1/1 [==============================] - 0s 17ms/step - loss: 0.0000e+00 - two: 1.0000 - one: 3.0000 - three: 2.0000

Note how the values got mixed up. 'two' should assume a value of 2.0, 'one' a value of 1.0, 'three' a value of 3.0.
Other info / logs
The problem appeared in a more complex example (training on GPU, graph mode), so although the minimal example above is using eager mode, it also happens when running non-eagerly.

I have tried on colab with TF version 2.0 beta1,2.0.0-rc0 and 2.0.0.dev20190902 and was able to reproduce the issue.Please, find the gist here. Thanks!

@peterkfm I am closing the issue as it was resolved by https://github.com/tensorflow/tensorflow/pull/32220. Please check the gist here. Thanks!