Removed default react icon from website

📋 Description
This PR addresses the use of the React logo as the favicon, which can be seen as unprofessional for large organizations. The favicon has been removed.
🔨 Changes Made

From index.html removed favicon link
fixes #6

✅ Checklist
Before submitting the PR, please make sure you have completed the following:

[ ✅] My code follows the style guidelines of this project.
[✅ ] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation (if applicable).
[ ] My changes generate no new warnings.
[ ] I have tested it locally and it works fine.
[ ] Any dependent changes have been merged and published in downstream modules.

🏷 Types of Changes
What type of changes does your code introduce? (Check all that apply)

[ ] Bug fix (non-breaking change which fixes an issue) 🐛
[ ] New feature (non-breaking change which adds functionality) ✨
[✅ ] UI enhancement (non-breaking change which enhances UI) 🎨
[ ] Documentation update 📚

🤝 Related Issues

Fixes #6

📸 Screenshots

Can u add a favicon to it will be nice @Abheeshta-P

@Sibam-Paul Do you have any logo??

rn not but create it on yr own

@Abheeshta-P Create a issue we are goin to make it like a slack where we can discuss doubts within the project

@Abheeshta-P The react icon is still prevailing

See

@Sibam-Paul

just check the pr i have sent just now its working in my local server, If it persists let me know!

@Sibam-Paul Also could you please add hactober label to this! it would be helpful


pre-commit hook does not respect directory

Very cool tool 🔥 Ran it on a gigantic repo and it crunched through everything in 100 seconds, where as Flake8 would just puke if we tried to lint everything in 1 shot.
Only problem, I'm getting an issue trying to configure it to run as a pre-commit hook :(
I have a bad feeling that I'm just doing something dumb here, but for the life of me I cannot figure it out, so gonna file it as a bug just in case.
I have a repo where all my python files are inside a src directory in my repo root.
Running ruff src from the root dir works as expected, no errors.  However, with the following pre-commit hook
fail_fast: false
repos:
  - repo: local
    hooks:
      - id: ruff
        name: ruff
        entry: ruff src
        language: system

Ruff seems to completely ignore the directory, and all of my files from root downwards get linted.
pre-commit run
ruff.....................................................................Failed
- hook id: ruff
- exit code: 1

Found 469 error(s).
.gitignore:1:3: E999 SyntaxError: invalid syntax. Got unexpected token '.'
.pre-commit-config.yaml:2:8: E999 SyntaxError: invalid syntax. Got unexpected token Newline
docker-compose.yml:2:11: E999 SyntaxError: invalid syntax. Got unexpected token Newline
poetry.lock:4:1: E501 Line too long (99 > 88 characters)
poetry.lock:12:31: E999 SyntaxError: invalid syntax. Got unexpected token '='
poetry.lock:16:1: E501 Line too long (175 > 88 characters)
...

I think the issue here is that ruff is trying to run against all staged files. (The way pre-commit is designed is that it expects to pass the list of changed files to the underlying tool, rather than always running against a pre-defined directory like src.)
That being said, if you change .pre-commit-config.yaml to this, it should then only check staged Python files:
repos:
  - repo: https://github.com/charliermarsh/ruff-pre-commit
    rev: v0.0.95
    hooks:
      - id: ruff

Alternatively, if you want to keep using repo: local, you could do this:
repos:
  - repo: local
    hooks:
      - id: ruff
        name: ruff
        entry: ruff
        language: python
        "types": [python]

There might be a way to always run against all files in src (and no other Python files), I'll play around with it.

Oh, I think you could do this to limit to src:
repos:
  - repo: local
    hooks:
      - id: ruff
        name: ruff
        entry: ruff
        # Limit to files in `src`
        files: src
        language: python
        "types": [python]

If you run into other issues, don't hesitate to reach out!


Add a license?

I open to help contribute on things, but not without some sort of open source license attached. I would open a PR but I don't know the source of all this code.

Good point.

Added an MIT licence.

Thanks! Appreciate the repo and the work you've put in.


OpenSCAD City Tile

City tiles are by far the most complicated tiles.
I want a retaining wall, and combination of which side is a city, so I can tile to make very large cities.
https://github.com/OrsoEric/Gridfinity-medieval-tiles/issues/11
I want the homes to be procedurally generated so that each tile has a different pattern.
I want roads to come in and pins.
I want an optional marker for special buildings

This was hard.
I made a bounding box on the polygon where I want building.
I made a negative mask of the polygon to cut out.
This make the random cheap, because even if wrong, I just cut.
Then I made two house types, small and medium that are good for the quarter city blocks.


add(examples) pure javascript example

For #188 and #22
https://user-images.githubusercontent.com/2461547/137804739-851915f9-39aa-4153-9b34-560657f39688.mov

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 3 (0.0%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.1%) to 26.408%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

modules/core/src/adapters/deck-adapter.js
0
3
0.0%

Files with Coverage Reduction
New Missed Lines
%

modules/core/src/adapters/deck-adapter.js
1
0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
217

Relevant Lines:
711

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

7 of 21 (33.33%)  changed or added relevant lines in 5 files are covered.
20 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.1%) to 26.408%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

modules/core/src/animations/animation-manager.js
0
1
0.0%

modules/core/src/adapters/deck-adapter.js
0
3
0.0%

modules/core/src/animations/kepler-animation.js
3
6
50.0%

modules/core/src/keyframes/keyframes.js
4
7
57.14%

modules/core/src/animations/deck-animation.js
0
4
0.0%

Files with Coverage Reduction
New Missed Lines
%

modules/core/src/animations/deck-animation.js
2
0.0%

modules/core/src/keyframes/keyframes.js
5
60.0%

modules/core/src/adapters/deck-adapter.js
13
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
217

Relevant Lines:
711

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

7 of 21 (33.33%)  changed or added relevant lines in 5 files are covered.
20 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.1%) to 26.408%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

modules/core/src/animations/animation-manager.js
0
1
0.0%

modules/core/src/adapters/deck-adapter.js
0
3
0.0%

modules/core/src/animations/kepler-animation.js
3
6
50.0%

modules/core/src/keyframes/keyframes.js
4
7
57.14%

modules/core/src/animations/deck-animation.js
0
4
0.0%

Files with Coverage Reduction
New Missed Lines
%

modules/core/src/animations/deck-animation.js
2
0.0%

modules/core/src/keyframes/keyframes.js
5
60.0%

modules/core/src/adapters/deck-adapter.js
13
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
217

Relevant Lines:
711

💛  - Coveralls


V3: updated abstractField and fieldImage to clean up test errors

@lionel-bijaoui I'm checking out the new updates, ... and getting a bunch of TypeError: Cannot read property "options" of undefined errors on various tests...
I resolved this by updating abstractField and wrapping all the references to this.$parent.??? with objGet(this.$parent, '???').  I also updated fieldImage as well to prevent similar errors.

Coverage remained the same at 89.684% when pulling 4b7f551fac3bee335901db0d7f3f13c28cee1f58 on zoul0813:v3 into 64d0421f0b216d599de5d6037edfe87b281b1116 on vue-generators:v3.

Coverage remained the same at 89.684% when pulling 4b7f551fac3bee335901db0d7f3f13c28cee1f58 on zoul0813:v3 into 64d0421f0b216d599de5d6037edfe87b281b1116 on vue-generators:v3.

What is objGet ?

@lionel-bijaoui it's mapped to lodash's _.get, if I recall, I did not come up with that naming convention and just used what was already in place.
import { get as objGet, forEach, isFunction, isString, isArray, debounce } from "lodash";

@lionel-bijaoui Is this good to merge now?

Good work, thanks a lot !

@zoul0813 Only @icebob can approve merge

You can merge now @zoul0813 😄


TestFixture: Added WorkItemLinksCustom recipe and WorkItemByID query

@kwk snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1812-1

Codecov Report

Merging #1812 into master will increase coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1812      +/-   ##
==========================================
+ Coverage   63.79%   63.82%   +0.02%
==========================================
  Files         128      128
  Lines       11858    11858
==========================================
+ Hits         7565     7568       +3
+ Misses       3611     3610       -1
+ Partials      682      680       -2

Impacted Files
Coverage Δ

controller/workitem.go
82.52% <0%> (+0.72%)
:arrow_up:

Continue to review full report at Codecov.

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

@kwk snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1812-2


Feature: Add gRPC client for retrieving external preimages

This change adds a gRPC protobuf file and client to lnd for retrieving external preimages (see #3).
It also adds a thin wrapper around the gRPC client in order to lazily connect to the server and make the streaming API of the request feel more like a request/response pattern.
It initializes this client in the server initialization, and provides it to each created Link as part of the ChannelLinkConfig, in anticipation of its use in the exitHop.
Todos

[x] tests
[x] documentation

This is a great effort and step w/ golang and lnd. I made a few comments regarding style and am still reviewing the content of the PR. @treygriffith does lnd use go fmt or some formatting version?

@dannypaz thanks for the comments. I've responded to all of them and fixed them where I felt appropriate. When you have a chance, another review would be great.

@treygriffith this looks good to me


fix: bump up lbm-sdk to v0.43.1

Description

bump up lbm-sdk to v0.43.1
bump up ostracon to v1.0.2
fix build script

Motivation and context

How has this been tested?

Screenshots (if appropriate):
Checklist:

[ ] I followed the contributing guidelines.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.

Codecov Report

Merging #29 (1dbb4cd) into main (f360883) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main     #29   +/-   ##
=====================================
  Coverage   0.54%   0.54%
=====================================
  Files          5       5
  Lines        364     364
=====================================
  Hits           2       2
  Misses       361     361
  Partials       1       1


补充部分路由操作的单元测试

Pull Request Test Coverage Report for Build 87

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+2.4%) to 40.658%

Totals

Change from base Build 84:
2.4%

Covered Lines:
219

Relevant Lines:
493

💛  - Coveralls


A mode that disallows .ts and no extension files

Hello Again 👋
I use esbuild-node-loader mainly for running tests and development and still rely on TypeScript tsc for creating the final distribution build.
Quite often I run into this problem where I forget to add extension .js to an imported file, run my tests using esbuild-node-loader and everything works fine. Then I create the distribution build, publish the package on npm and boom everything breaks because the tsc does not rewrite import extensions.
So I thought to check with you and see if there can be a mode that only allows .js extensions, so that the code can break early in the development lifecycle

I guess it's better to set up an eslint rule?

Sounds like a plan. No idea why I didn't think about it. Thanks 👍


Fixed for Linux, GCC 64bit.

Hi. Nice lib, thanks!
Tested on Ubuntu 19.04 wtih Qt 5.12.3.
Have a nice day =)

Removed
Ok. I will answer in that topic

Thanks @Riflio!
 If he gets a chance, I'd be more comfortable if someone else can get it working as well since I can't try it on Linux.

Thanks @Riflio!
 If he gets a chance, I'd be more comfortable if someone else can get it working as well since I can't try it on Linux.

I am very sorry, I thing I had tried at Debug.
All tests cases works at Release mode, except 2:StackOverflow. It does not call _posixSignalHandler.


Latest msys2 (cygwin 3.2) breaks windows terminal input on

Windows Terminal version (or Windows build number)
10.0.19042.985, 1.8.1032.0
Other Software
msys2-x86_64-20210419
Steps to reproduce

Open bash from msys2 in windows terminal
split pane
try to input in previous pane

This issue will be more widespread, when git for windows updates its msys2 to latest and in turn uses cygwin 3.2.
Expected Behavior
I can enter text into pane
Actual Behavior
Cannot enter text

Is there a thread tracking this upstream? If msys2 worked in the Terminal before the update, and it doesn't after the update, that would suggest to me that the root cause of the issue doesn't lie with the Terminal, but instead with cygwin/msys2.

You are right describing the situation - it seems it is cygwins fault

If there's an upstream issue, feel free to link back to it here, so future readers can follow it. Thanks!

After further investigation I've pinpointed that it only gets stuck with default ohmyzsh theme - robbyrussell. Linking issue raised there: https://github.com/ohmyzsh/ohmyzsh/issues/9953
For reference my stack:
Terminal: windows terminal preview 1.9
Cygwin: CYGWIN_NT-10.0 LAT-5F3FMQ2 3.2.0(0.340/5/3) 2021-03-29 08:42 x86_64 Cygwin
Shell: zsh 5.8 + oh my zsh (706b2f3) + theme robbyrussell (default)
Windows version: 10.0.19043 N/A Build 19043
@zadjii-msft I've also tracked down that it is the actual windows terminal window resizing that makes input stuck. May be this clue brings something to your mind? Coz it might be hard to pint point faulty part at whole "input" stack.


Add information about how to save photos in custom directory

For users it is hard to set up photo widget to store photos to custom folder. We should have a documentation how to do that. There are many obstacles:
See howto: https://lutraconsulting.slack.com/archives/CC95JK1T9/p1639493148382000

duplicate of https://github.com/MerginMaps/docs/issues/65


Use subtree to track upstream PSS policies

Checklist

[ ] Update changelog in CHANGELOG.md.

Self-reminder: DON'T SQUASH THIS PR


Follow [optionally] atom-beautify's approach when formatting

Is it possible to make .vue file formatting behave closer to atom-beautify's approach for <template> section? In that context, the very first <template></template>, <script></script>, and <style></style> pairs of tags in .vue files are treated as a kind of "section identifier", so that their inner contents are never indented relatively to them. Example:
<template>
<div> <-- this line is NOT indented
  (...) <-- inner contents are indented as usual
</div>
</template>

<script>
let var1 = 'foo' <-- this line is NOT indented

export default {
  (...) <-- inner contents are indented as usual
}
</script>

<style>
.foo { <-- this line is NOT indented
  display: inline; <-- inner contents are indented as usual
  (...)
}
</style>

Current VSCode/Vetur formatter works the same way for .vue files, except for <template> section (it does indent its first child). Would it be possible to add an option to Vetur to prevent it from indenting <template>'s first child, as atom-beautify does?

I won't add setting for not indenting <template>, but I'll add options so you can choose to have initial indent or not for <script> and <style>.
Just take a look at official vue examples. It's idiomatic to indent <template> but not others:
https://github.com/vuejs/vuex/blob/dev/examples/chat/components/App.vue


Narration flow rework of section 3.2

Addresses #72 and #18 .

I don't know how to squash commits if they're already pushed. I don't want to mess this up. I'll be grateful if you squash them.


Fix "all blocks" manual pinmux check so it works again after Chip Select added to Pinmux

This PR fixes the "all blocks" manual pinmux check (and the pinmux checker in general) so that the latest main which includes changes from #262 will now work again. See the commit messages for more details.
This PR primarily does 3 things:

Updates the Pinmux config to add the SPI Chip Select to PMOD, where it was previously missing. Whilst at it, I also updated PMOD0 to use SPI2 instead of SPI3, and PMOD1 to use SPI3 instead of SPI4, because it appears that the eventual pinmux mapping (see here) intends to use this mapping. By making this smaller change now in this PR, it reduces the amount of work we have to do later, as the "all blocks" test should stay passing and not break with that PR.
It then updates the pinmux checker and the "all blocks" check to use the above features. That is, it modifies the SPI test in the pinmux checker to now use the SPI's CS rather than just a GPIO pin, and it changes the available SPI to be 2-3 instead of 3-4 as before. It updates the pinmux mappings and SPI instance being used in the "all blocks" testplan to match the new values in pinmux.md after the config change.
Finally, it fixes a couple of minor issues I found while looking at the code. One is just a small good practice (use sizeof(jedec_id) instead of 3), and the other is changing the UART test so that it now actually uses the timeout and test_length values provided in the test, rather than hard-coded literals as I had apparently accidentally done previously.

This has been tested with the existing pinmux tests (which will also run in CI), as well as the manual "all blocks" check itself, and the small manual pinmux check over UART0. All pass as expected.

Force push is rebasing on main to address merge conflicts with the PWM mapping changes that just went in.

Have force pushed to add 9b84346f759980ed314c0174f8c52bb7f7d8516d to hopefully make the code a bit cleaner. No other changes. From manual testing on the previous bitstream everything still seems to pass fine.

CI is all passing so I'm going to merge, thanks for the review @alees24.


Remember me function

Can you please provide some comments.

The last used e-mail and password will be loaded when the user is on the login screen and not yet authenticated. The URL is saved and restored but e-mail and password not at the moment.

The only way to get to the login screen is to click "Logout" button. Why would someone click logout just to login with the same credentials?

Multiple servers, server config (ip/port,security) changed, user credentials changed on server, etc...

It makes some sense to save an email, but not the password. Having same password on different servers is not very good from security point of view.

Yeah, that's true. Maybe we can enable the e-mail loading as a short term solution and in long term some sort of account handling. Hm?

Not sure what you mean by account handling.
Please update your pull request to include only email.

Merged. Thanks.


Using urbparm_lcz.tbl with old 3 urban classes. Set use_wudapt_lcz=0

Describe your issue
Hi @matthiasdemuzere
Could you help me with this bug?
After use w2w, I have this message running wrf.exe: USING URBPARM_LCZ.TBL WITH OLD 3 URBAN CLASSES. SET USE_WUDAPT_LCZ=0
I supposed that the w2w output is correct (please see the attached figure - there are 39 classes because the region doesn't have classes 1 and 11). ). I can't find a solution on WRF forum or similar.
I also attached the namelist.input and a screenshot of the wrf.

namelist.txt

Cheers,
Vladimir
w2w --version
w2w 0.5.0
nc-config --all
This netCDF 4.9.0 has been built with the following features:

  --cc            -> gcc
  --cflags        -> -I/home/juliao/libs/netcdf/include -I/home/juliao/libs/include -I/home/juliao/libs/netcdf/include -I/home/juliao/libs/grib2/include
  --libs          -> -L/home/juliao/libs/netcdf/lib -lnetcdf
  --static        -> -lm -lsz -lcurl -lnetcdf -lhdf5_hl -lhdf5 -lz

  --has-c++       -> no
  --cxx           ->

  --has-c++4      -> no
  --cxx4          ->

  --has-fortran   -> yes
  --fc            -> gfortran
  --fflags        -> -I/home/juliao/libs/netcdf/include -I/home/juliao/libs/netcdf/include
  --flibs         -> -L/home/juliao/libs/netcdf/lib -lnetcdff -L/home/juliao/libs/lib -L/home/juliao/libs/netcdf/lib -L/home/juliao/libs/grib2/lib -lnetcdf -lm -lnetcdf -lhdf5_hl -lhdf5 -lz
  --has-f90       ->
  --has-f03       -> yes

  --has-dap       -> no
  --has-dap2      -> no
  --has-dap4      -> no
  --has-nc2       -> yes
  --has-nc4       -> yes
  --has-hdf5      -> yes
  --has-hdf4      -> no
  --has-logging   -> no
  --has-pnetcdf   -> no
  --has-szlib     -> yes
  --has-cdf5      -> yes
  --has-parallel4 -> no
  --has-parallel  -> no
  --has-nczarr    -> yes
  --has-zstd      -> no
  --has-benchmarks -> no

  --prefix        -> /home/juliao/libs/netcdf
  --includedir    -> /home/juliao/libs/netcdf/include
  --libdir        -> /home/juliao/libs/netcdf/lib
  --version       -> netCDF 4.9.0

Installed Packages
.

Traceback
No response

Hi @VladimirSobral,
Thanks for reaching out.
What WRF/WPS version are you using? I wonder whether this error message has to do with the change in LCZ class numbers in the latest releases? @andreazonato?

Hi @matthiasdemuzere,
I'm using WRF 4.5.2 and WPS 4.5.

I have used CGLC-MODIS-LCZ dataset in WRF. With this dataset, Wrf runs successfully.
Do you think I could find better results using w2w compared to CGLC-MODIS-LCZ?
The purpose of my research is to evaluate outdoor thermal comfort at a local scale.
Cheers,
Vladimir

I see.
Ok, so this version of WRF expects the LCZ classes to be numbered 50-61, consistent with the CGLC-MODIS-LCZ dataset. So good to hear that this works.
But ... as far as I know the full integration of W2W in WPS/WRF is not finished yet? Is this correct @andreazonato?
The CGLC-MODIS-LCZ data is based on the global LCZ map. So if you use this map in W2W, the urban areas should be more or less the same. What might differ are the natural areas, that are based on CGLC data or the default MODIS data.
Though I believe that the CGLC-MODIS-LCZ data contains the most up to date information.
Also, the treatment of LCZ-based urban canopy parameters should be improved in the latest WRF releases compared to what I developed for W2W. But again here, I am not sure if these developments are already available ...

Hello everyone,
Yes @matthiasdemuzere, now the 4.5* version uses 50-61 LCZ instead of 30-41, in order to avoid the overlapping with NLCD landuse categories.
So, @VladimirSobral  you have 2 possibilities

To employ W2W, and shift all the categories of 20, and modify num_land_cat accordingly
as Matthias is suggesting using the CGLC-MODIS-LCZ data, present now in the geog static data.

I have a WRF-integrated version of W2W right now. However, since it takes some time to release this in the new WRF version, it may takes some month to have it publicly available
Andrea

Hello everyone,
I have a similar issue as Vladimir, where I am attempting to use W2W with WRF 4.5.X and the land cover categories have shifted. As mentioned by @andreazonato, I have attempted to manually shift the data with NCO tools. I can change LU_INDEX values appropriately, but I've spent an embarrassing amount of time trying to convert LANDUSEF values with no success. The trouble exists because LANDUSEF is a variable, and I need to change land_cat values which is a dimension of LANDUSEF.
Since I am not familiar with doing this, I am curious to know if anyone has done this before or has some recommended steps to take in addition to what @andreazonato posted. I am not tied to any particular library (xarray was also attempted) so any suggestion is welcome.
Lastly, I apologize in advance if this is not the appropriate place to post, but I could not find a better area.
~Eliott

Hi @wefoust,
The only thing you need to do is to change the LCZ class values in LU_INDEX. There is no need to change any of the other parameters.
Changing the LCZ class values in LU_INDEX can be done with the following code snippet:
import xarray as xr
import os

ds = xr.open_dataset('./geo_em.d04_LCZ_params.nc')
print(ds['LU_INDEX'].max())
ds['LU_INDEX'] = ds['LU_INDEX'].where(ds['LU_INDEX'] <= 30, ds['LU_INDEX'] + 20)
print(ds['LU_INDEX'].max())
ds.to_netcdf('./geo_em.d04_LCZ_params_UPDATED.nc')

I hope this helps.

Hi @wefoust
Actually, LANDUSEF is not used by WRF.
You should modify LU_INDEX and IVGTYP (AND NUM_LAND_CAT=61 to make them readable by WRF
Andrea

Thank you all! I was surprised how I got stuck on this. Xarray turned out to be a great tool to do this, and that helped me convert the LANDUSEF variable is well (Needed to maintain consistency as I pass files along to others)

Hi @wefoust are you able to solve the problem, I am using the 4.5.1 version WRF and got the same problem (able to run metgrid, real.exe but fails at wrf.exe), then I changed the LCZ class values in LU_INDEX (as suggested by @matthiasdemuzere but now I got a problem in metgrid.exe), any suggestions??

Yes, I also have this issue (v4.5.2), even if the geo_em has 61 categories. I'm investigating what may be the problem.

In my case, this error pops up when using the NoUrban file and may be related to this bug https://github.com/wrf-model/WRF/issues/1878. Was this fix in 4.5.2 @andreazonato? I will try with that version...
The geo_em.d0?.LCZ_params.nc file doesn't work either, but the error message is more cryptic and produces a memory issue (?)

Hi @dargueso ,
I do not think the NoUrban file  should be the problem. The params too is strange! What are the errors?

My setup is a large domain and then two identical domains focused on a city, one with urban areas and the other without. That's why I thought the NoUrban file could be the problem, but I'm not sure. Still looking at it.
The LCZ_params doesn't work either because GREENFRAC is NaN in all urban areas, and WRF crashes. This is probably related to https://github.com/matthiasdemuzere/w2w/pull/127#issuecomment-2000237340, but I need to check too.

Could it be related to the bug above (https://github.com/wrf-model/WRF/issues/1878)? Because using only the NoUrb and setting:
USE_WUDAPT_LCZ = 1
I get:
-------------- FATAL CALLED ---------------
USING URBPARM_LCZ.TBL WITH OLD 3 URBAN CLASSES. SET USE_WUDAPT_LCZ=0
-------------------------------------------

and setting it to:
USE_WUDAPT_LCZ = 0
I get:
-------------- FATAL CALLED ---------------
USING 10 WUDAPT LCZ WITHOUT URBPARM_LCZ.TBL. SET USE_WUDAPT_LCZ=1
-------------------------------------------

Hi @wefoust Actually, LANDUSEF is not used by WRF. You should modify LU_INDEX and IVGTYP (AND NUM_LAND_CAT=61 to make them readable by WRF
Andrea

Not at all? I'm trying to implement the option of having different LCZs in the input (geo_em) and when running WRF, it reverts LU_INDEX to 13, despite the fact that the met_em files have LCZs. I've been ignoring LANDUSEF based on this comment but I suspect that real.exe is actually using LANDUSEF to set LU_INDEX in the wrfinput files.

No, it doesn't use LANDUSEF. It is used just for tiling NOAH in case you use the MOSAIC approach.
BUT it is the variable I'm using in WRF to use LCZ from geo em, ad it is the one you should use to employ LCZ from geo em (it brings the subgrid information, i.e. the percentage of every landuse classes on every grid cell)
Hope I explained pretty clear
Andrea

OK, I've updated the code to define LANDUSEF based on LCZ categories, so WRF doesn't revert LU_INDEX to 13. See #127.
I've tested it and it works fine - at least it doesn't complain anymore.


Confused about the transpose in positional encoding of key

https://github.com/csrhddlam/axial-deeplab/blob/fe1d0523faa7b3068ee59ab13f222a46c511d0aa/lib/models/axialnet.py#L67
I'm a bit confused about this transposision. After reading the issue #17, I kind of understood it, but if the key should be transposed, then why the value shouldn't?
In addition, I noticed that there is a scaler 1/sqrt(n) after multiplication of q and v in the original Transformer model, but the scaler is removed here, why?

In our implementation, the similarity matrix has the shape of [batch, group or head, query length, key length]. In our case, the query length equals to the key length, but the query axis is always before the key axis. This implementation choice determines whether we transpose q, k and v. As shown in this v example, we sum over the last key dimension, and predict a vector for each query position.
https://github.com/csrhddlam/axial-deeplab/blob/fe1d0523faa7b3068ee59ab13f222a46c511d0aa/lib/models/axialnet.py#L74
1/sqrt(n) is replaced by batch norm which has a similar normalizing effect, as we discussed in the paper. BN removes the need for this careful initializations or scalings, and BN works well in practice.


[BUG] Symbol.asyncIterator is not defined.

i got this error when i run this comment instamancer hashtag instagood -d, any help for this kind of error ?

I believe this is because the version of Node you're using is not up to date. What version of Node, NPM, and Instamancer are you using?

hi @ScriptSmith ,
im using node v<IP_ADDRESS>  and npm version 5.6

hi @ScriptSmith ,
im using node v<IP_ADDRESS>  and npm version 5.6

sorry, im update node to version 10 and the error has gone, thanks @ScriptSmith

No worries


Atom displays only white screen on 1.19 and later

Description
Atom displays only white screen on 1.19 and later
but if i use 1.18 it runs perfectly fine.
Additional Information
I'm using hacked Yosemite on unsupported Macbook.

Thanks for bringing this up.
This is most likely because of the Electron upgrade from v1.3.x in v1.18 of Atom to v1.6.x in v1.19 of Atom. Between those versions, the required version of macOS was changed. While, technically, Yosemite is v10.10 of macOS and satisfies Electron's minimum requirements, you're not running Yosemite.
I hope that helps!


TypeError: Cannot read property 'innerText' of null

Steps to reproduce
Tell us about your environment:

Puppeteer version: 1.0.0
Platform / OS version: OS
URLs (if applicable):
Node.js version: 8.9.1

What steps will reproduce the problem?
Please include code that reproduces the issue.
1.Error logs:
(node:79739) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Evaluation failed: TypeError: Cannot read property 'innerText' of null
    at <anonymous>:3:113
(node:79739) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

2.Here is code: jsfiddle
What is the expected result?
How to fix this ?
What happens instead?

this is chrome Dev tools console.

Looks like a problem with the code inside your page.evaluate: apparently, some of the elements you query for don't exist on a page.

While I am querying in web developer console for a class, I am able to get results. However in puppeteer its giving be empty HTML Collection


The code can't create hostfile file correctly

W1206 18:53:57.353000 18802 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 18835 closing signal SIGTERM
W1206 18:53:57.354000 18802 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 18836 closing signal SIGTERM
W1206 18:53:57.354000 18802 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 18837 closing signal SIGTERM
W1206 18:53:57.354000 18802 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 18839 closing signal SIGTERM
W1206 18:53:57.354000 18802 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 18840 closing signal SIGTERM
W1206 18:53:57.354000 18802 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 18841 closing signal SIGTERM
W1206 18:53:57.355000 18802 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 18842 closing signal SIGTERM
E1206 18:53:57.387000 18802 site-packages/torch/distributed/elastic/multiprocessing/api.py:869] failed (exitcode: 1) local_rank: 3 (pid: 18838) of binary: /home/chacha/anaconda3/envs/drive/bin/python
Traceback (most recent call last):
  File "/home/chacha/anaconda3/envs/drive/bin/accelerate", line 8, in <module>
    sys.exit(main())
  File "/home/chacha/anaconda3/envs/drive/lib/python3.10/site-packages/accelerate/commands/accelerate_cli.py", line 48, in main
    args.func(args)
  File "/home/chacha/anaconda3/envs/drive/lib/python3.10/site-packages/accelerate/commands/launch.py", line 1159, in launch_command
    multi_gpu_launcher(args)
  File "/home/chacha/anaconda3/envs/drive/lib/python3.10/site-packages/accelerate/commands/launch.py", line 793, in multi_gpu_launcher
    distrib_run.run(args)
  File "/home/chacha/anaconda3/envs/drive/lib/python3.10/site-packages/torch/distributed/run.py", line 910, in run
    elastic_launch(
  File "/home/chacha/anaconda3/envs/drive/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 138, in __call__
    return launch_agent(self._config, self._entrypoint, list(args))
  File "/home/chacha/anaconda3/envs/drive/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 269, in launch_agent
    raise ChildFailedError(
torch.distributed.elastic.multiprocessing.errors.ChildFailedError:

/home/drive/DriveDreamer-main/DriveDreamer-main/dreamer-train/dreamer_train/distributed/run_task.py FAILED

Failures:
<NO_OTHER_FAILURES>
Root Cause (first observed failure):
[0]:
time      : 2024-12-06_18:53:57
host      : DESKTOP-EJP3C2O.localdomain
rank      : 3 (local_rank: 3)
exitcode  : 1 (pid: 18838)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
Traceback (most recent call last):
  File "/home/drive/DriveDreamer-main/DriveDreamer-main/./dreamer-train/projects/launch.py", line 35, in <module>
    main()
  File "/home/drive/DriveDreamer-main/DriveDreamer-main/./dreamer-train/projects/launch.py", line 32, in main
    launch_from_config(config_path, ','.join(opts.runners))
  File "/home/drive/DriveDreamer-main/DriveDreamer-main/dreamer-train/dreamer_train/distributed/launch.py", line 175, in launch_from_config
    launcher.launch('{} --config {} --runners {}'.format(file_path, config_path, runners))
  File "/home/drive/DriveDreamer-main/DriveDreamer-main/dreamer-train/dreamer_train/distributed/launch.py", line 159, in launch
    os.remove(self.hostfile_path)
FileNotFoundError: [Errno 2] No such file or directory: '_tmp/2024-12-06-185351_hostfile'

When the code running, this code will create a config file and a hostfile file with timestamps, but the hostfile can't create correctly.

It's possible that you forgot to modify some path details in the file drivedreamer-img_sd15_corners_hdmap_res448.py. I remember I also encountered this issue, and after modifying the details in this file and importing some pre-trained weights, it was able to run.

It's possible that you forgot to modify some path details in the file drivedreamer-img_sd15_corners_hdmap_res448.py. I remember I also encountered this issue, and after modifying the details in this file and importing some pre-trained weights, it was able to run.
I change the exp_dir, test_data and train_data but it still don't work, can you tell me more about the details

It's possible that you forgot to modify some path details in the file drivedreamer-img_sd15_corners_hdmap_res448.py. I remember I also encountered this issue, and after modifying the details in this file and importing some pre-trained weights, it was able to run.

I change the exp_dir, test_data and train_data but it still don't work, can you tell me more about the details

In the ENV.py file, you need to modify the paths for os.environ['TORCH_HOME'], os.environ['TRANSFORMERS_CACHE'], os.environ['HUGGINGFACE_HUB_CACHE'], and os.environ['XDG_CACHE_HOME'].
Then, you need to download the pre-trained weights such as models--openai--clip-vit-large-patch14 and models--runwayml--stable-diffusion-v1-5.
Since my server does not have access to the internet, I first downloaded them locally and then transferred them to the server.
I hope this helps you.


update felix-plugin to generate the exported version numbers correctly

Hi Ron,
it took a while because it confused me that the maven build of swagger was not automatically adding the exported version as in the other projects that I had. Then I noticed that swagger was using maven-bundle-plugin 2.3.4. whereas the other projects that I had were using a newer version either 2.3.7, 2.4.0, or 2.5.4 and they are all automatically generating the exported version number. After switching swagger to use 2.3.7, the version numbers are now correctly included. So, I needed just a single line change ;-)
regards, aki

:+1:


⚠ AlphaRatio has degraded performance

In cb6b2ee, AlphaRatio ($AR) experienced degraded performance:

HTTP code: 200
Response time: 1242 ms

Resolved: AlphaRatio performance has improved in da1db28.


feat(select): select can now select via value prop

fixes #875
possible large performance slowdown on first render in the following case:
<mwc-select value="nonempty">

Some assignedNode that is not a selectable item

</mwc-select>

This slowdown was introduced because in the shady dom case, if you init with value, by first render callback you need your list items to be ready to select with .value. To prevent this wait on newer browsers, I limited it to the case where value was set, there are assigned nodes, but mwc-select does not know of any list-items. I felt that this would be a highly uncommon case as it is documented that setting value before the child is attached would not work as intended.

copybaraing for tap run


Destroy colorpicker

How to properly destroy a color picker instance?

as a simple work around, i added this to the create method and access it using
element.data("colorPickerDelete", function () {
                element.unbind();
                newPalette.remove();
                newHexLabel.remove();
                newHexField.remove();
                newControl.remove();
            });

and then executed as needed with
 $(element).data("colorPickerDelete")();


YARN-11097. Support refresh load limit on ResourceManager

Description of PR
Use yarn rmadmin -refreshLoadLimitConfiguration to refresh load limit related configurations.
How was this patch tested?
UTs and manual

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 55s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  1s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
buf
0m  0s

buf was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+0 :ok:
mvndep
12m 37s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
23m  7s

trunk passed

+1 :green_heart:
compile
9m 41s

trunk passed with JDK Ubuntu-11.0.14+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
8m 29s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
1m 41s

trunk passed

+1 :green_heart:
mvnsite
4m 51s

trunk passed

+1 :green_heart:
javadoc
4m 23s

trunk passed with JDK Ubuntu-11.0.14+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
4m 10s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
8m  8s

trunk passed

+1 :green_heart:
shadedclient
21m  0s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 27s

Maven dependency ordering for patch

-1 :x:
mvninstall
0m 30s
/patch-mvninstall-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-common.txt
hadoop-yarn-common in the patch failed.

-1 :x:
mvninstall
0m 32s
/patch-mvninstall-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt
hadoop-yarn-server-resourcemanager in the patch failed.

-1 :x:
mvninstall
0m 22s
/patch-mvninstall-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-router.txt
hadoop-yarn-server-router in the patch failed.

-1 :x:
compile
1m  1s
/patch-compile-hadoop-yarn-project_hadoop-yarn-jdkUbuntu-11.0.14+9-Ubuntu-0ubuntu2.20.04.txt
hadoop-yarn in the patch failed with JDK Ubuntu-11.0.14+9-Ubuntu-0ubuntu2.20.04.

-1 :x:
cc
1m  1s
/patch-compile-hadoop-yarn-project_hadoop-yarn-jdkUbuntu-11.0.14+9-Ubuntu-0ubuntu2.20.04.txt
hadoop-yarn in the patch failed with JDK Ubuntu-11.0.14+9-Ubuntu-0ubuntu2.20.04.

-1 :x:
javac
1m  1s
/patch-compile-hadoop-yarn-project_hadoop-yarn-jdkUbuntu-11.0.14+9-Ubuntu-0ubuntu2.20.04.txt
hadoop-yarn in the patch failed with JDK Ubuntu-11.0.14+9-Ubuntu-0ubuntu2.20.04.

-1 :x:
compile
0m 53s
/patch-compile-hadoop-yarn-project_hadoop-yarn-jdkPrivateBuild-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07.txt
hadoop-yarn in the patch failed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07.

-1 :x:
cc
0m 53s
/patch-compile-hadoop-yarn-project_hadoop-yarn-jdkPrivateBuild-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07.txt
hadoop-yarn in the patch failed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07.

-1 :x:
javac
0m 53s
/patch-compile-hadoop-yarn-project_hadoop-yarn-jdkPrivateBuild-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07.txt
hadoop-yarn in the patch failed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07.

-1 :x:
blanks
0m  1s
/blanks-eol.txt
The patch has 2 line(s) that end in blanks. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply

-0 :warning:
checkstyle
1m 21s
/results-checkstyle-hadoop-yarn-project_hadoop-yarn.txt
hadoop-yarn-project/hadoop-yarn: The patch generated 12 new + 90 unchanged - 0 fixed = 102 total (was 90)

-1 :x:
mvnsite
0m 32s
/patch-mvnsite-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-common.txt
hadoop-yarn-common in the patch failed.

-1 :x:
mvnsite
0m 34s
/patch-mvnsite-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt
hadoop-yarn-server-resourcemanager in the patch failed.

-1 :x:
mvnsite
0m 23s
/patch-mvnsite-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-router.txt
hadoop-yarn-server-router in the patch failed.

+1 :green_heart:
javadoc
2m 38s

the patch passed with JDK Ubuntu-11.0.14+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
2m 28s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

-1 :x:
spotbugs
0m 30s
/patch-spotbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-common.txt
hadoop-yarn-common in the patch failed.

-1 :x:
spotbugs
0m 33s
/patch-spotbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt
hadoop-yarn-server-resourcemanager in the patch failed.

-1 :x:
spotbugs
0m 23s
/patch-spotbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-router.txt
hadoop-yarn-server-router in the patch failed.

-1 :x:
shadedclient
7m 30s

patch has errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
0m 55s
/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-api.txt
hadoop-yarn-api in the patch passed.

-1 :x:
unit
0m 32s
/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-common.txt
hadoop-yarn-common in the patch failed.

-1 :x:
unit
0m 34s
/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt
hadoop-yarn-server-resourcemanager in the patch failed.

-1 :x:
unit
27m 46s
/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client.txt
hadoop-yarn-client in the patch passed.

-1 :x:
unit
0m 27s
/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-router.txt
hadoop-yarn-server-router in the patch failed.

+1 :green_heart:
asflicense
0m 35s

The patch does not generate ASF License warnings.

157m 55s

Reason
Tests

Failed junit tests
hadoop.yarn.conf.TestYarnConfigurationFields

hadoop.yarn.client.cli.TestRMAdminCLI

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4097/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4097

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell cc buflint bufcompat

uname
Linux afa76a371edd 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 577e70a8e8a0c0c365662b56b69f23fb5e3d75d9

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.14+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4097/1/testReport/

Max. process+thread count
562 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router U: hadoop-yarn-project/hadoop-yarn

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4097/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.


EMail ALT Text

Hey, Looks like the email ALT text has been statically set to<EMAIL_ADDRESS>Fixed it by manually setting it in the index.html but for future if you do any updates :)
Aydan

If possible, it would be nice, to add in line 156 and 160 a configurable placeholder as is done for links.

@WhyAydan came to post about this exactly - am new at docker - how do you access the index.html file within a docker container like this?

@Anthonyyp the problem with editing index.html inside docker container is that this change will only last as long docker container lives. At the next restart of the container (that is, next change) it will be reverted back to original state.

@Anthonyyp Hey so you need to terminal in the Docker Container then cd into www.
Once in there you need to type vi index.html
Use the arrow keys to find the email place holder once you found it press the i key. Edit the field and then press CTRL+C followed by :wq
Let me know if you need more help

That's what I thought. I'm new to docker and containerization.
On Sun, Aug 15, 2021, 2:55 PM madvip3r @.***> wrote:

@Anthonyyp https://github.com/Anthonyyp the problem with editing
index.html inside docker container is that this change will only last as
long docker container lives. At the next restart of the container (that is,
next change) it will be reverted back to original state.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/techno-tim/littlelink-server/issues/6#issuecomment-899095267,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVG42IN2BSAQLAHACXQVBKTT5AESRANCNFSM5CGFPEWQ
.
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&utm_campaign=notification-email
.

@Anthonyyp the problem with editing index.html inside docker container is that this change will only last as long docker container lives. At the next restart of the container (that is, next change) it will be reverted back to original state.

That's what I thought - am new to docker and containerization.

@Anthonyyp Hey so you need to terminal in the Docker Container then cd into www.
Once in there you need to type vi index.html
Use the arrow keys to find the email place holder once you found it press the i key. Edit the field and then press CTRL+C followed by :wq
Let me know if you need more help

I'm SSH'd into the machine running it and have been combing through directories and I can not find where the www folder is. I must be overlooking something.

@Anthonyyp you can use docker command to "ssh" into the container:
docker exec -it CONTAINER_ID bash
Replace CONTAINER_ID with name or id of container. When you want to get back, you just enter exit or Ctrl-D.

This has been fixed by https://github.com/techno-tim/littlelink-server/commit/77c5cfba2a57ea55e7220e19c81a5ed8de2b14ef
It should now render your email within the button!  Sorry about that and thanks for reporting it!


Validation Error

Validation Error at all
@check_call = GreenSMS::GreenSMSClient.new(
   user: 'valid user', pass: 'valid pass' )
begin
  response = @check_call.call.send(to: get_user.phone.to_s)
  rescue GreenSMS::RestError => e
  render json: [response, e.to_json, get_user.phone.to_s]
end

require "greensms"
@check_call = GreenSMS::GreenSMSClient.new(
   user: 'test', pass: 'test' )
begin
  response = @check_call.call.send(to: '79262345718')
  rescue GreenSMS::RestError => e
  render json: [response, e.to_json]
end
puts response["request_id"]

works just fine.

What error do you receive?


issue/1639-change-doc-embedded-entity (#7495)

Pull request opened by the merge tool on behalf of #7495

Merged into branches iso6 in ea18b45f9fe8a26663d1182d5b5392c6801010cb


added ALLOCATE_BUFFERS_ON_INSTANCE_DEVICE.

Thanks for the very useful Python backend implementation.
When using BLS to perform inference on other models, the default behaviour allocates a buffer on the same devices as the other model.
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A   1439550      C   ...onserver/bin/tritonserver     5034MiB |
|    0   N/A  N/A   1440233      C   ...riton_python_backend_stub      678MiB |
|    0   N/A  N/A   1440361      C   ...riton_python_backend_stub      616MiB |
|    1   N/A  N/A   1439550      C   ...onserver/bin/tritonserver     5034MiB |
|    1   N/A  N/A   1440233      C   ...riton_python_backend_stub      616MiB |
|    1   N/A  N/A   1440361      C   ...riton_python_backend_stub      702MiB |
+-----------------------------------------------------------------------------+

In the above example, PID 1440233, even though residing on device 0, is allocating 616MiB on device 1.
Similarly, PID 1440361, although residing on device 1, is allocating 616MiB on device 0.
This is a major scaling issue. If you have 8-GPUs in your Triton setup and just one BLS on each device, you'll end up with 7 x 616MB = 4.2 GB lost just for buffers on every device. Because of this, it also becomes impractical to have more than 1 BLS run on each device.
To address this, I made this pull request that results in this:
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A   1447653      C   ...onserver/bin/tritonserver     5034MiB |
|    0   N/A  N/A   1448447      C   ...riton_python_backend_stub      678MiB |
|    1   N/A  N/A   1447653      C   ...onserver/bin/tritonserver     5034MiB |
|    1   N/A  N/A   1448561      C   ...riton_python_backend_stub      664MiB |
+-----------------------------------------------------------------------------+

As you can see each BLS model stays on its own device.
To implement it, I added a new boolean flag ALLOCATE_BUFFERS_ON_INSTANCE_DEVICE that can enable/disable the default behaviour. To stay backward compatible, the default behaviour is the same as before. However, once this flag is active, it only allocates memory on the instance device.
python_be contains the logic for parsing the configuration and the default flag. During the call to request_executor->Infer I pass the instance device id.
  int32_t instance_device_id = DeviceId();
  if (!model_state->AllocateBuffersOnInstanceDevice()){
    instance_device_id = -1; // No preference.
  }
  infer_response = request_executor->Infer(
      infer_request, &inference_response, instance_device_id);

I personally don't like doing this, but couldn't think of a better pattern. Is there an easy way to access ModelState and ModelInstanceState once inside the request executor? The alternative/better approaches would make the code more complex by increasing the dependencies.
Once inside the executor, we need to update the userp for InferResponseComplete callback. The function takes a pointer as userp and is currently used to pass shm_pool_.get().
We need to pass the preferred device id so that during the callback we specify the correct device id. We will need to have a more complex object that contains the original userp and the new data. We could construct an array on the fly with the shm_pool_.get() and the preferred device id and pass the pointer, keeping it backward compatible (as the first entry will be the same as if used with void*, but the type of the second entry will not be known and may make the code dirtier than it should be. I ended up creating a simple data structure to hold the two objects.
struct UserpAndDeviceID {
  // This data structure is used to pass the userp and device ID to the
  // TRITONSERVER_InferenceRequestSetResponseCallback function.
  // We need the buffer device id to allocate memory for the response
  // on the correct device.
  void* userp;
  int32_t buffer_device_id;
};

which again, I don't like, but I can't think of a better way to handle it. Finally, on the callback I simply do:
  if (preferred_memory_type == TRITONSERVER_MEMORY_GPU) {
    // We have a response data from a GPU model and need to allocate
    // the response buffer.
    if (userp_and_device_id->buffer_device_id != -1){
      // The buffer must be allocated on the BLS instance device id.
      *actual_memory_type_id = userp_and_device_id->buffer_device_id;
    }else{
      // We allocate the buffer on the same device as response.
      *actual_memory_type_id = preferred_memory_type_id;
    }
  }

While this addresses the cross-gpu memory allocation issue, there's also another case that I think should be handled differently. If the BLS kind is set to CPU the response tensors from other models may be on a GPU device, which is counter-intuitive and pattern-breaking, to say, at least. In these cases, the default behaviour should be to transfer the response to CPU before returning to Python.
I'd be more than happy to incorporate improvements and fixes into this.

@Tabrizian close, but not quite right.
Let's say we have ModelA (in our case it is TensoRT) and a  Python BLS_ModelB that does some pre-processing and post-processing before calling ModelA internally.
Let's say they are laid out like the below (one instance of each model on each GPU).
GPU1: ModelA, BLS_ModelB
GPU2: ModelA, BLS_ModelB
GPU3: ModelA, BLS_ModelB
GPU4: ModelA, BLS_Model5
When BLS_ModelB needs to do inference on ModelA the actual execution might happen on any GPU, as we have multiple instances available.
When the result from ModelA comes back, just before we get back to the BLS_ModelB, the Python backend needs to allocate a buffer to copy the response from ModelA. The default strategy is to allocate the memory on the same device as the response buffer coming from ModelA. This is problematic because after a while, each BLS_ModelB will have memory allocations on every single device. Please re-read the first post to see exactly what happens with more details.
This pull-request fixes the issue by allocating the buffer on the same device as the BLS_ModelB instance, rather than wherever ModelA is located for each inference, therefore not allocating unnecessary memory on the other GPUs.
I hope this clarifies the problem better. Let me know if you need more information.
Cheers.


Remove gulp-sprite-generator from blacklist

Hello!
I am the author of gulp-sprite-generator plugin.
After 5 month after release Ive found plugin blacklisted. =)
So my issue is - why? As I said to inaccesible @sindresorhus in his commit to the blacklist.json, my plugin has use case that is differ from gulp.spritesmith. If my plugin uses css files to find references to the images, combine to sprite them, and then replace refs in existing css, than gulp.spritesmith do another job - to group set of separate images into one css spritesheet. This is not duplication. One dup thing is just the both uses spritesmith..

ping

ping

@sindresorhus thanks :+1:


Add no_std + alloc support, refactoring persistence

Pursuant to https://github.com/AltSysrq/proptest/issues/47
Three related kinds of changes were necessary:

The failure seed persistence system was made into a generic trait, FailurePersistence, of which FileFailurePersistence (the legacy enum of file-lookup-related-variants) is one available option.
Innumerable uses of standard library code were either replaced with core-based alternatives, often conditionally.
New features were added to manage conditional compilation and dependency features: "std", "nightly", and "alloc". Currently the only sensible combinations are either "std" (the default) or "nightly" and "alloc" but not "std."

I'm not a fan of the verbosity necessary to manage all the conditional uses, but I didn't see any non-magical alternative.
A few nonessential changes may have snuck in due to auto-rustfmt'ing. If any are problematic, I'd be happy to roll them back.
CC: @AltSysrq

Some additional fixes had to be made to account for changes in nightly that removed access to some float-related methods (see: https://github.com/rust-lang/rust/pull/49896 ) .  All checks are green now.

@AltSysrq Ping for prospective approval/merge/version-bump/glory.

Sorry for the delay. Latest changes look good, so I'll see about getting this out now.

Awesome, thank you!


Update Consul to version 0.6.1

See praekeltfoundation/puppet-seed_stack#5

Tested and working on a fresh VM. Two minor things, though:

The UI is now only accessible from /ui/ for some reason.
Setting the ui flag false or removing the flag completely didn't stop the UI from being available.

:+1: after adding a comment about the ui flag not working correctly.

Added comments and created issue #40.


please add  feature of  uv search   to search  pip  source package

please add  feature of  uv search   to search  pip  source package

That's probably not gonna happen, as the PyPi API for that was deprecated in 2020. You can read more about that here and here.

yes , and  it's  already exits    pip_search


refactor: use IoBuf instead of IoBufMut in AsyncWriteRentAt

AsyncWriteRentAt does not need a mutable buffer such as AsyncRead, however, this is a breaking change, please evaluate it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

This is a breaking change.


Run-time localization for validator messages takes no effect [5.3]

In my app i want to override locale constant according to user's settings. In config/app.php it defined as 'en', but in my site service provider i use:
App::setLocale('ru');

It takes effect on trans(), but validator error messages is still in 'en'. Only changing locale key in config/app.php makes it work as expected.
Is it bug?

It's my mistake. Sorry. In service provider I only bind class with localization, which called only from view at this time.


struct.error: 'i' format requires -2147483648 <= number <=<PHONE_NUMBER>

Hi there, I tried to use cellphoneDB on my data (800kcells x 30k genes). It seemed something wrong with the analysis.
The output is as follows. Is the dataset is too big for this analysis? How can I solve this problem?
[ ][APP][18/12/21-10:09:05][WARNING] Latest local available version is `v2.0.0`, using it
[ ][APP][18/12/21-10:09:05][WARNING] User selected downloaded database `v2.0.0` is available, using it
[ ][CORE][18/12/21-10:09:05][INFO] Initializing SqlAlchemy CellPhoneDB Core
[ ][CORE][18/12/21-10:09:05][INFO] Using custom database at /home/u21111240011/.cpdb/releases/v2.0.0/cellphone.db
[ ][APP][18/12/21-10:09:05][INFO] Launching Method cpdb_statistical_analysis_local_method_launcher
[ ][APP][18/12/21-10:09:05][INFO] Launching Method _set_paths
[ ][APP][18/12/21-10:09:06][INFO] Launching Method _load_meta_counts
[ ][APP][18/12/21-10:10:09][INFO] Launching Method _check_counts_data
[ ][CORE][18/12/21-10:10:09][INFO] Launching Method cpdb_statistical_analysis_launcher
[ ][CORE][18/12/21-10:10:09][INFO] Launching Method _counts_validations
[ ][CORE][18/12/21-10:10:10][INFO] Launching Method get_interactions_genes_complex
[ ][CORE][18/12/21-10:11:13][INFO] [Cluster Statistical Analysis] Threshold:0.1 Iterations:1000 Debug-seed:-1 Threads:30 Precision:3
[ ][CORE][18/12/21-10:13:24][INFO] Running Real Analysis
[ ][CORE][18/12/21-10:13:24][INFO] Running Statistical Analysis
[ ][APP][18/12/21-10:19:18][ERROR] Unexpected error
Traceback (most recent call last):
  File "/home/u21111240011/miniconda3/envs/cellphonedb/lib/python3.7/site-packages/cellphonedb/src/api_endpoints/terminal_api/method_terminal_api_endpoints/method_terminal_commands.py", line 150, in statistical_analysis
    debug,
  File "/home/u21111240011/miniconda3/envs/cellphonedb/lib/python3.7/site-packages/cellphonedb/src/local_launchers/local_method_launcher.py", line 75, in cpdb_statistical_analysis_local_method_launcher
    output_path
  File "/home/u21111240011/miniconda3/envs/cellphonedb/lib/python3.7/site-packages/cellphonedb/src/core/methods/method_launcher.py", line 111, in cpdb_statistical_analysis_launcher
    output_path)
  File "/home/u21111240011/miniconda3/envs/cellphonedb/lib/python3.7/site-packages/cellphonedb/src/core/methods/cpdb_statistical_analysis_method.py", line 43, in call
    output_path
  File "/home/u21111240011/miniconda3/envs/cellphonedb/lib/python3.7/site-packages/cellphonedb/src/core/methods/cpdb_statistical_analysis_complex_method.py", line 91, in call
    separator)
  File "/home/u21111240011/miniconda3/envs/cellphonedb/lib/python3.7/site-packages/cellphonedb/src/core/methods/cpdb_statistical_analysis_helper.py", line 486, in shuffled_analysis
    results = pool.map(statistical_analysis_thread, range(iterations))
  File "/home/u21111240011/miniconda3/envs/cellphonedb/lib/python3.7/multiprocessing/pool.py", line 268, in map
    return self._map_async(func, iterable, mapstar, chunksize).get()
  File "/home/u21111240011/miniconda3/envs/cellphonedb/lib/python3.7/multiprocessing/pool.py", line 657, in get
    raise self._value
  File "/home/u21111240011/miniconda3/envs/cellphonedb/lib/python3.7/multiprocessing/pool.py", line 431, in _handle_tasks
    put(task)
  File "/home/u21111240011/miniconda3/envs/cellphonedb/lib/python3.7/multiprocessing/connection.py", line 206, in send
    self._send_bytes(_ForkingPickler.dumps(obj))
  File "/home/u21111240011/miniconda3/envs/cellphonedb/lib/python3.7/multiprocessing/connection.py", line 393, in _send_bytes
    header = struct.pack("!i", n)
struct.error: 'i' format requires -2147483648 <= number <=<PHONE_NUMBER>

See https://github.com/Teichlab/cellphonedb/issues/136 .
Doing conda install python=3.8 works for me.


add support for Zengge Wi-Fi bulbs

Description:
This adds support for Zengge Wi-Fi LED bulbs. They support RGB and Warmwhite, but only one of them at a time. They also support an amount of fix modes like flashing 7 colors, continuous dimming of red, green and so on, but it's not implemented here.
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#7947
Example entry for configuration.yaml (if applicable):
light:
  - platform: zengge-wifi
    host: IP_ADDRESS

Checklist:

[ ] The code change is tested and works locally.
[ ] Local tests pass with tox. Your PR cannot be merged unless tests pass
[ ] There is no commented out code in this PR.

If user exposed functionality or configuration variables are added/changed:

[X] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[X] New dependencies have been added to the REQUIREMENTS variable (example).
[X] New dependencies are only imported inside functions that use them (example).
[X] New or updated dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[X] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

Hi @autinerd,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

This protocol looks very similar (if not the same) to the one supported by light.flux_led. Perhaps the necessary support can be added to that component and/or its underlying library?

@joncar Thank you for your hint! I didn't see that it was already implemented, so this can be closed.

This protocol looks very similar (if not the same) to the one supported by light.flux_led. Perhaps the necessary support can be added to that component and/or its underlying library?

Heads up, the light.flux_led is different with these bulbs - so these changes or at least parts of them should be merged in or added into flux_led.

@ned-kelly I'm working on bugfixes so that the communication with these bulbs works without problems, see #20733


Can't debug C# apps on Windows

I have tried every solution I could find but I cannot get it to work. I am currently stuck with this error:
initialize: can't create debug session for adapter 'mono'

Following is contents of launch.json:
{
	"version": "0.2.0",
	"configurations": [
		{
			"name": "Debug test",
			"type": "mono",
			"request": "launch",
			"program": "test.exe",
			"args": [],
			"cwd": ".",
			"runtimeExecutable": null,
			"env": {}
		},
		{
			"name": "Attach",
			"type": "mono",
			"request": "attach",
			"address": "localhost",
			"port": 5858
		}
	]
}

@Ibrahim-Islam VS Code does not support debugging C# (mono) on Windows.
From: https://code.visualstudio.com/docs/editor/debugging
Q: What are the supported debugging scenarios?
A: Debugging of Node.js based applications is supported on Linux, OS X, and Windows. Debugging of C# applications running on Mono is supported on Linux and OS X. ASP.NET 5 applications are compiled using the Roslyn compiler, not the Mono compiler. ASP.NET 5 debugging will be available through a VS Code extension.


Configure ACR code snippets wrong

In PowerShell need an initial '$' to set CLIENT_ID and ACR_ID environment variables.  Also confusing is that the title of each code snippet is "Azure CLI" when in fact the snippets are entered into PowerShell

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

ID: d4af71a4-648e-580f-7e86-94ce05196de5
Version Independent ID: 134b8ba0-b085-076a-d2e1-16d0ddff5586
Content: Kubernetes on Azure tutorial  - Deploy Cluster
Content Source: articles/aks/tutorial-kubernetes-deploy-cluster.md
Service: container-service
Product: unspecified
GitHub Login: @neilpeterson
Microsoft Alias: nepeters

@bobrundle - the commands have been updated to remove the variables. This unfortunately means that some additional copy and pasting is necessary, however the commands now work both in Bash and PowerShell.
We are working on some platform tooling that will allow the code bloc two switch between two 'languages'. Once the tooling is ready, we will update to include proper PowerShell and Bash examples.
Does this help?

@bobrundle - I am going to close this issue. If you have any additional questions or concerns, please let em know.
#please-close

@bobrundle We will now close this issue. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Can Youtube Music notification style be created with Notifee

I have 2 types of Notifications which i would like to ask if the are possible with react native notifee :)
This has an image on the left and 3 buttons on the right

This is as the previous one but has a progress bar which is being updated from the application and can send events back to the application :

no unfortunately we do not support this type of notification

Yooo, can i pay/donate somehow for this feature to be added ☺?


How to add dots in calendar date against appointment

Hello all,
I am using this library into my project but I am stuck in one thing, actually I want to show dots on calendar date in which date I have appointment for. Any suggestion or code will be appreciated.
Thanks in Advance

Read up Decorator API


storage: Fix build-release-tarball py3 compatibility.

Open files in storage.py with 'rb' mode
which allow to use decode command in PY3.

Automated message from Dropbox CLA bot
@kkanahin, it looks like you've already signed the Dropbox CLA. Thanks!

Merged, thanks @kkanahin!


Bug 435. Login redirects and running under different hostnames

Seemingly fix #435
I tested the changes by using a different hostname for referring to the local deployment. I managed to turn

into

It works for all the use cases of middleware redirects. I believe that might be the fix for the issue.

Regarding the second change, I made sure every feature still works locally for me

@MytsV, the root cause of our client side routing troubles is the cache of the NextJS client side router.
Setting window.location.href to redirect to a new page forces the page to completely reload thereby opting out of the client side router of NextJS, and also resetting its cache.
There are certain performance and security nuances with the NextJS router that would be nice for us to leverage. In Next14 and 15, the staleTime is controllable and 0, respectively out of the box. I'd probably give the client side router another shot before completely changing how we do client side routing. :)
If everything fails with the framework, your solution is definitely a fix :)


Project not loading after updating VS Code

Issue Type: Bug
SDK Version: 2.1.504

dotnet new console
open the project folder with VS Code, the project fails to load with this message

Starting OmniSharp server at 3/9/2019, 6:01:27 PM
    Target: c:\Dev\TPro

OmniSharp server started.
    Path: C:\Users\brini\.vscode\extensions\ms-vscode.csharp-1.17.1\.omnisharp\1.32.8\OmniSharp.exe
    PID: 3200

[info]: OmniSharp.Stdio.Host
        Starting OmniSharp on Windows 6.2.9200.0 (x64)
[info]: OmniSharp.Services.DotNetCliService
        DotNetPath set to dotnet
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Located 2 MSBuild instance(s)
            1: Visual Studio Community 2017 15.9.28307.423 - "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin"
            2: StandAlone 15.0 - "C:\Users\brini\.vscode\extensions\ms-vscode.csharp-1.17.1\.omnisharp\1.32.8\msbuild\15.0\Bin"
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Registered MSBuild instance: Visual Studio Community 2017 15.9.28307.423 - "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin"
[info]: OmniSharp.Cake.CakeProjectSystem
        Detecting Cake files in 'c:\Dev\TPro'.
[info]: OmniSharp.Cake.CakeProjectSystem
        Could not find any Cake files
[info]: OmniSharp.WorkspaceInitializer
        Project system 'OmniSharp.DotNet.DotNetProjectSystem' is disabled in the configuration.
[info]: OmniSharp.MSBuild.ProjectSystem
        No solution files found in 'c:\Dev\TPro'
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for 'c:\Dev\TPro\TPro.csproj'
[info]: OmniSharp.Script.ScriptProjectSystem
        Detecting CSX files in 'c:\Dev\TPro'.
[info]: OmniSharp.Script.ScriptProjectSystem
        Could not find any CSX files
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpWorkspaceOptionsProvider
[info]: OmniSharp.WorkspaceInitializer
        Configuration finished.
[info]: OmniSharp.Stdio.Host
        Omnisharp server running using Stdio at location 'c:\Dev\TPro' on host 4532.
[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: c:\Dev\TPro\TPro.csproj
[warn]: OmniSharp.MSBuild.ProjectManager
        Failed to load project file 'c:\Dev\TPro\TPro.csproj'.
c:\Dev\TPro\TPro.csproj(1,1)
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Build, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.Build, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
   at OmniSharp.MSBuild.ProjectFile.ProjectFileInfo.Load(String filePath, ProjectLoader loader)
   at OmniSharp.MSBuild.ProjectManager.LoadOrReloadProject(String projectFilePath, Func`1 loader)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

[fail]: OmniSharp.MSBuild.ProjectManager
        Attemped to update project that is not loaded: c:\Dev\TPro\TPro.csproj

Any help is appreciated, thank you
Extension version: 1.17.1
VS Code version: Code 1.32.1 (05f146c7a8f7f78e80261aa3b2a2e642586f9eb3, 2019-03-08T00:51:49.278Z)
OS version: Windows_NT x64 10.0.17763

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz (8 x 3392)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
7.94GB (2.97GB free)

Process Argv

Screen Reader
no

VM
0%

The project loads fine when the version of MSBuild used, is the one that comes with Omnisharp. A conflict can occur when you have the full Visual Studio and Visual Studio Code installed on the same machine.
For the record, the project loads fine when as described above, using MSBuild of Omnisharp.
OmniSharp server started.
    Path: C:\Users\brini\.vscode\extensions\ms-vscode.csharp-1.17.1\.omnisharp\1.32.8\OmniSharp.exe
    PID: 11256

[info]: OmniSharp.Stdio.Host
        Starting OmniSharp on Windows 6.2.9200.0 (x64)
[info]: OmniSharp.Services.DotNetCliService
        DotNetPath set to dotnet
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Located 1 MSBuild instance(s)
            1: StandAlone 15.0 - "C:\Users\brini\.vscode\extensions\ms-vscode.csharp-1.17.1\.omnisharp\1.32.8\msbuild\15.0\Bin"
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        MSBUILD_EXE_PATH environment variable set to 'C:\Users\brini\.vscode\extensions\ms-vscode.csharp-1.17.1\.omnisharp\1.32.8\msbuild\15.0\Bin\MSBuild.exe'
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Registered MSBuild instance: StandAlone 15.0 - "C:\Users\brini\.vscode\extensions\ms-vscode.csharp-1.17.1\.omnisharp\1.32.8\msbuild\15.0\Bin"
            CscToolExe = csc.exe
            CscToolPath = C:\Users\brini\.vscode\extensions\ms-vscode.csharp-1.17.1\.omnisharp\1.32.8\msbuild\15.0\Bin\Roslyn
            MSBuildExtensionsPath = C:\Users\brini\.vscode\extensions\ms-vscode.csharp-1.17.1\.omnisharp\1.32.8\msbuild
            MSBuildToolsPath = C:\Users\brini\.vscode\extensions\ms-vscode.csharp-1.17.1\.omnisharp\1.32.8\msbuild\15.0\Bin
[info]: OmniSharp.Cake.CakeProjectSystem
        Detecting Cake files in 'c:\Dev\TPro'.
[info]: OmniSharp.Cake.CakeProjectSystem
        Could not find any Cake files
[info]: OmniSharp.WorkspaceInitializer
        Project system 'OmniSharp.DotNet.DotNetProjectSystem' is disabled in the configuration.
[info]: OmniSharp.MSBuild.ProjectSystem
        No solution files found in 'c:\Dev\TPro'
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for 'c:\Dev\TPro\TPro.csproj'
[info]: OmniSharp.Script.ScriptProjectSystem
        Detecting CSX files in 'c:\Dev\TPro'.
[info]: OmniSharp.Script.ScriptProjectSystem
        Could not find any CSX files
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpWorkspaceOptionsProvider
[info]: OmniSharp.WorkspaceInitializer
        Configuration finished.
[info]: OmniSharp.Stdio.Host
        Omnisharp server running using Stdio at location 'c:\Dev\TPro' on host 2696.
[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: c:\Dev\TPro\TPro.csproj
[info]: OmniSharp.MSBuild.ProjectManager
        Successfully loaded project file 'c:\Dev\TPro\TPro.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
        Adding project 'c:\Dev\TPro\TPro.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Update project: TPro


AutoSize Container has 0-width in corner case

new Container
{
    Anchor = Anchor.TopLeft,
    Origin = Anchor.TopRight,
    Position = new Vector2(200f, 200f),
    AutoSizeAxes = Axes.Both,
    Child = new SpriteText
    {
        Anchor = Anchor.TopLeft,
        Origin = Anchor.TopRight,
        AutoSizeAxes = Axes.Both,
        TextSize = 16f,
        Text = "My parent has a width of 0 :-("
    }
}

The above container will despite being AutoSize and despite its only child having a size (and not being RelativeSized) have a width of 0. I'm unsure as to whether that is intended behaviour or a bug, but it doesn't seem right to me.
Clarification for why this occurs or a fix if it happens to be a bug would be greatly appreciated.
Alternatively, a good workaround for wrapping a right-to-left SpriteText in a container that actually works would be pretty handy too.

This is indeed intentional. The behaviour of AutoSizeAxes is to automatically resize a container to the smallest size that fits all children. In your case, the child has Anchor = TopLeft and Origin = TopRight, which means that the child is always fully outside of its parent, regardless of its parent's size. Thus, the child is ignored for AutoSize computation.

Since this is intended behaviour, it is notable that applying BlurEffect (or anything building on BlurEffect, such as OutlineEffect) is broken for SpriteTexts like the above, since they create this exact situation.


Payment Service needs to extract baggage

[ ] The payment service should extract the synthetic_request baggage item and add it as a span attribute.

#335 sets the value of the app.payment.charged attribute to true/false based on the baggage item.


Library still being maintained?

Is this library still being maintained? I haven't seen an update/release for 3 years! I did have a couple of questions:

Does anyone know of a good alternative?
If I do not include any of the mentioned animation libraries, will there be animations of out the box? Noty is advertising itself as a dependancy-free library, but if I don't include an animation library, will that affect the user experience?

Thanks!

I actually have been using the default animations that come with Noty.
I only include these two:
https://cdnjs.cloudflare.com/ajax/libs/noty/3.1.4/noty.min.js
https://cdnjs.cloudflare.com/ajax/libs/noty/3.1.4/noty.min.css
I include nothing else, except jquery and bootstrap 4, as I use them along my website, but I believe Noty doesn't make use of these directly, as the current version is independent from jQuery, and I'm not specifying any bootstrap 4 themes on the Noty's.
As far as I'm concerned, not including any other animation libraries has not affected in any means the user experience.

@needim can you chime in here please? doesn't look good to update the sponsor list and not bothering to answer issues on the project. There are developers who relied on your library, made donations and gave you sponsorship and this is left in "limbo".

@needim can you chime in here please? doesn't look good to update the sponsor list and not bothering to answer issues on the project. There are developers who relied on your library, made donations and gave you sponsorship and this is left in "limbo".


Update common submodule

And update also gitignore

Fixes: https://github.com/sclorg/postgresql-container/issues/482


Run travis tests with python 3.5 & python 3.6.


saving area detector images from (a/d)scan

'''
In [117]: ascan.settle_time  = 30
In [118]: ascan.user_detectors
Out[118]:
[EpicsSignal(name='quadem_sumall', read_pv='XF:11IDA-BI{AH401B}AH401B:SumAll:MeanValue_RBV', rw=False, string=False, limits=False, put_complete=False, pv_kw={}, auto_monitor=None),
AreaDetectorFileStoreTIFF(name='xray_cam_img', basename='XF:11IDB-BI{Cam:08}', stats=False, shutter=None, shutter_rb=None, shutter_val=None, file_path='/XF11ID/data/', ioc_file_path=None)]
ascan(nullmtr, 0, 1, 1200)
'''
we tried to use the 'xray_cam_img' area detector to save data (images) from ophyd.
This worked, but we had to enable manualy the file saving plugin in area detector.
This means we also had to remember to turn it off at the end if we didn't want to continue creating files into the filestore directly from areadetector and not from ophyd ... (obviously, we forgot to do this a number of times and created a number of 'orphans' over there - i.e. files without a scan ...)

This has been fixed at CHX and is in NSLS-II/ophyd#134

ophyd link should be NSLS-II/ophyd#143


HA clarifications

I'm finding this text a little vague:
> The request goes through an Azure Load Balancer to determine which Application Proxy service instance should take the request. Per region, there are tens of instances available to accept the request. This method helps to evenly distribute the traffic across the service instances
Does Azure do anything to to ensure availability in the event of a regional outage? If so, it would be good to document it here; if not, it would be good to document what Azure users can do to enable HA.

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

ID: 408b9c70-1fd4-1a00-e3b0-c83dde8e14f0
Version Independent ID: c8a11a16-4751-47be-a1e2-42b3e3ddbf78
Content: High availability and load balancing for Azure AD Application Proxy
Content Source: articles/active-directory/manage-apps/application-proxy-high-availability-load-balancing.md
Service: active-directory
Sub-service: app-mgmt
GitHub Login: @msmimart
Microsoft Alias: mimart

@cocowalla Thanks for your feedback! We will investigate and update as appropriate.

Hi @cocowalla, the service makes use of Azure AD high availability design, where servers are set up in multiple datacenters to fail over in case of outages. Beyond the recommendations given, like any Azure AD service, availability relies on the Azure infrastructure.

@msmimart so from here, I can presume that Application Proxy is highly available, such that it is tolerant to regional failures? If so, this is great to hear - would also be great to update the Application Proxy docs to reflect this :smile:

@cocowalla thanks for this feedback, we'll add a reference to the Azure AD architecture article  (https://github.com/MicrosoftDocs/azure-docs-pr/pull/90948).
#please-close


What is the licence requirement for this code?

Hey Rak, This looks like a good API for use developers.
Is the code copyright? How can we use/sell devices with this code?
If we need a license please can you tell us how to get that?
Best Wishes

Hi @Cloolalang
The example source codes provided by RAK are open source and are not under copyright. You are free to use the whole or part of the example codes in your commercial products sold to customers. There is no license required for the RAK provided example codes.
But we are using 3rd party libraries in our example code. You have to check the copyright/license requirements for these libraries by yourself


DCAP deployment improvement

Motivation & problem statement
The deployment for DCAP attestation is not well supported. runtime.config.toml and build.config.toml have to be modified manually. There are three runtime.config.tomls in config, docker and tests/fixtures respectively.

Besides, there are many issues about the DCAP attestation:
#667

Hi @henrysun007, I noticed that the port for attestation is hardcoded as 443 in attestation/src/service.rs:
let addrs = url.socket_addrs(|| match url.scheme() {
    "https" => Some(443), // Fixed port.
    _ => None,
})?;

Is it possible for us to change the binding port? Sometimes 443 on the local machine is already in use for other services so that we cannot deploy DCAP.


Looping charts not update when page changed

Hi, thank you for the hardwork for this chart wrapper. I hope you guys is in good condition.
I try to loop the chart for every chart in list. It worked like charm. However, the issue is, when i changed the page using pagination, the list of charts(numbers in list) is changing, but not the charts. If anyone has idea on how can i solved this issue, please, feel free to comment. Below is my code:

Hello,
I belive the problem is taht you have the same @ref for all charts

Hello @joadan , thank you for response,
how can i make the @ref for each chart? because chart update can only update once

because chart update can only update once

Not sure I understand what do you mean.

I just had a similar situation. I "fixed" it with a button to show / hide the chart - after hiding and showing again the data in the chart got updated.

Clean up


shell script for training on BDD100K

The paper mentions experiments on both BDD and AVHD datasets. However, I couldn't find the initial training files (.sh or .py) for BDD. Could you kindly share the BDD-related files? Thanks.

Hi! Sorry, I don't have those available. Those experiments were done by @mtli -- perhaps you could contact him for more details.

Sorry for the late reply! We didn't release this code or scripts, but you might find these two files useful. The first is a standalone script that converts the BDD dataset into AVHD format, and the second file is the mmdet-style config for the converted BDD dataset.
bdd_utils.zip

Thanks so much! @mtli


why create a new Bridge for each container?

Hi @glyn
I'm curious why create a new Bridge for each container in Garden? what's the benefit?
for container reachable from Host or to Host, there are many ways:

like Warden, just Veth in Host
like Docker, one Bridge for all containers
so what's the purpose for not useing this two method? Is there any designe documents i can follow?

Thanks

This came in with the introduction of support for multiple containers to share a subnet, which simplifies the network management for the user in that use case.
garden-linux creates a bridge per subnet (and does not avoid creating the bridge for a /30, although the bridge is not strictly necessary in that case). The benefit of a bridge per a subnet is that it consumes a single IP address (actually the highest valid IP address) from the subnet range and this allows the user to  choose container IP addresses without having to avoid multiple IPs allocated for the host sides of virtual ethernet  pairs. I hope that's clear.
I'm afraid there isn't any design documentation.

thanks @glyn
Get it, one Bridge for a subnet, somewhat like Docker, but Docker only have one subnet in a Host, and Garden can have many subnet. right?
we found this by depoly Diego release use BOSH, it use subnet with /30 by default the, maybe your are right: in the default case, Brige is not necessary :-)
And also, this match our network mode, which also need a Bridge for one subnet.
But we have to resolve the IP assignment problem, because two subnet in different cell is connected. If use Garden IP assignment menthod, it will cause two container(in different cell) may have the same IP, because garden manage IP resource pool itself, and the pool on each cell is the same.
we may need a scheduler who can decide which IP can be used for a new container (like auctioneer as a commander). and the remain IP resource in the pool may stored in ETCD, so there can be not single problem. And also we want reuse the Fence code as much as possible.
any suggestion? Thanks very much

Right - garden-linux supports multiple subnets.
We are about to change the fence code to make the networking function
easier to understand/modify/reuse.
I'm not sure I understand your requirement, but currently it is not
possible for two containers on distinct instances of garden-linux to be in
the same subnet.
On Fri, Feb 6, 2015 at 10:01 AM, tsjsdbd<EMAIL_ADDRESS>wrote:

thanks @glyn https://github.com/glyn
Get it, one Bridge for a subnet, somewhat like Docker, but Docker only
have one subnet in a Host, and Garden can have many subnet. right?
we found this by depoly Diego release use BOSH, it use subnet with /30 by
default the, maybe your are right: in the default case, Brige is not
necessary :-)
And also, this match our network mode, which also need a Bridge for one
subnet.
But we have to resolve the IP assignment problem, because two subnet in
different cell is connected. If use Garden IP assignment menthod, it will
cause two container(in different cell) may have the same IP, because garden
manage IP resource pool itself, and the pool on each cell is the same.
we may need a scheduler who can decide which IP can be used for a new
container (like auctioneer as a commander). and the remain IP resource in
the pool may stored in ETCD, so there can be not single problem. And also
we want reuse the Fence code as much as possible.
any suggestion? Thanks very much
—
Reply to this email directly or view it on GitHub
https://github.com/cloudfoundry-incubator/garden-linux/issues/18#issuecomment-73213684
.

--
Regards,
Glyn

Hi @glyn
I'm useing this net mode to Garden, this make two containers on distinct instances of garden-linux to be in the same subnet (consider four containers with green color in two VM, they are in the same subnet). so under the net mode, one subnet is spread over differents cell. And this make us face the IP assignment problem (one subnet's IP pool, need be shared for all cell)

We spoke to @onsi about this and there may be bigger issues if you are
reusing Diego and not just garden-linux.
On Sat, Feb 7, 2015 at 1:44 AM, tsjsdbd<EMAIL_ADDRESS>wrote:

Hi @glyn https://github.com/glyn
I'm useing this net mode to Garden, this make two containers on distinct
instances of garden-linux to be in the same subnet (consider four
containers with green color in two VM, they are in the same subnet). so
under the net mode, one subnet is spread over differents cell. And this
make us face the IP assignment problem (one subnet's IP pool, need be
shared for all cell)
[image: image]
https://cloud.githubusercontent.com/assets/7219402/6090207/7987c232-aeac-11e4-8c9a-0a0fc8e02570.png
—
Reply to this email directly or view it on GitHub
https://github.com/cloudfoundry-incubator/garden-linux/issues/18#issuecomment-73343756
.

--
Regards,
Glyn

Could you explain the bigger issue if reusing Diego?
@glyn

I'm not a Diego expert, I'm afraid.


ERROR  TypeError: undefined is not a function, js engine: hermes (RNCWebViewModule.shouldStartLoadWithLockIdentifier undefined)

Bug description:
I created an app with create-expo-app, with this in App.tsx:
import { WebView } from 'react-native-webview';

export default function App() {
  return (
    <WebView source={{ uri: 'https://mydomain.com/login' }} style={{ flex: 1 }} />
  );
}

When I log in to my app with Android, I get this error:

This part of the code is in https://github.com/react-native-webview/react-native-webview/blob/master/src/WebView.android.tsx#L72:
  const onShouldStartLoadWithRequestCallback = useCallback((shouldStart: boolean,
    url: string,
    lockIdentifier?: number) => {
    if (lockIdentifier) {
      RNCWebViewModule.shouldStartLoadWithLockIdentifier(shouldStart, lockIdentifier);
    } else if (shouldStart && webViewRef.current) {
      Commands.loadUrl(webViewRef.current, url);
    }
  }, []);

This same error seems to be here: https://github.com/facebook/react-native/issues/37116
Environment:

OS: Ubuntu
OS version: 22.04.2
react-native version<EMAIL_ADDRESS>react-native-webview version<EMAIL_ADDRESS>

The commit for this part of the code seems to be this https://github.com/react-native-webview/react-native-webview/commit/5558e28feab2e8bd881450f155e642cf1e66caad by @Titozzz

The title calls out "js engine: hermes". Does it work if you disable hermes?

The title calls out "js engine: hermes". Does it work if you disable hermes?

I added this to app.json in Expo app:
{
  "expo": {
    "jsEngine": "jsc",
  }
}

And it really did seem to help, no error anymore.

The title calls out "js engine: hermes". Does it work if you disable hermes?

I added this to app.json in Expo app:
{
  "expo": {
    "jsEngine": "jsc",
  }
}

But no help, still the same error.

Same error here.

What version of Expo are you using? Have you tried previous versions of react-native-webview?
I noticed that Expo Snack version 48 seems unhappy with versions 12 and up of react-native-webview... not certain if that's related though.

Any solution for this one? I'm stuck with it, upgraded to expo 49 and started getting this.

What version of Expo are you using? Have you tried previous versions of react-native-webview?
I noticed that Expo Snack version 48 seems unhappy with versions 12 and up of react-native-webview... not certain if that's related though.

I encountered a similar issue (same error, different stack trace) using<EMAIL_ADDRESS>and<EMAIL_ADDRESS>Changing<EMAIL_ADDRESS>-><EMAIL_ADDRESS>solved my issue.

check your version

"react-native-webview": "13.12.3",

disable newArchEnabled

     [
        "expo-build-properties",
        {
          "ios": {
            "newArchEnabled": false
          },
        }
      ],

     [
        "expo-build-properties",
        {
          "ios": {
            "newArchEnabled": false
          },
        }
      ],

@ShineKidd Which file should I add this to?

app.json
Using Expo build RN App.
Expo SDK51

Can we get this working with newArchEnabled & without downgrading the RNW dependency?


OnBlur event improvement

Hi, your credit card solution for react very nice!
It would be awesome, if OnBlur event, for each inputs, would shows us an invalid state.
Also if input is invalid, error notification shoud not disapear.
Now If you fill card number (with invalid card), then fill CVC input - there is no error message for invalid card.
For example, if I'd like to disable submit button, if at least one input are invalid.
Now its looks like -

And if invalid card, no error after filling CVC and OnBlur

I am currently finishing up a new package for using payment inputs with React, which I hope to publish soon!
The new package will handle error event handling much better.
If you're interested, I'm planning to add a migration guide to migrate from react-credit-card-input to the new package - don't worry, it will be a small migration.
I'll comment here again once it's published. :)

I am currently finishing up a new package for using payment inputs with React, which I hope to publish soon!
The new package will handle error event handling much better.
If you're interested, I'm planning to add a migration guide to migrate from react-credit-card-input to the new package - don't worry, it will be a small migration.
I'll comment here again once it's published. :)

Hi, Jake
Sounds great!
Btw, I'm still waiting for resolving this issue. If you have a better package that would be nice, I'll definitely  use it )

We have just recently published a new library, React Payment Inputs which is a rewrite of react-credit-card-input, and fixes a lot of issues that were raised in this repository as well as a few extra enhancements.
Your issue that you raised here should be fixed in React Payment Inputs - however, if you wish to still use react-credit-card-inputs, I'll try find time to fix this issue in the future.


⚠ Jenkins Plugins Artifactory has degraded performance

In a65e629, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1997 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 86b29b3 after 44 minutes.


eliminate new users from active users in metrics

I think metrics are also double counting shares.

dupe #1296