refactor/feat: decouple solar profile generation from Grid object, add individual calculation

Pull Request doc
Purpose
This partially addresses #213 by decoupling the solar profile creation from the Grid object and associated network-specific mappings. The user can now pass to the existing blended-state-attributes function: a Grid object (for convenience), or a dataframe of solar plants and a mapping of interconnections to state abbreviations (for maximum decoupling). A few miscellaneous unrelated changes also decouple other modules from the usa_tamu grid model.
This also introduces a new solar profile generation function which uses the individual attributes of each solar plant, since we have this information available if we start from the raw EIA data. The pre-existing function has been renamed from retrieve_data to retrieve_data_blended, and the new function is named retrieve_data_individual. I'm not married to any of these names, in case anyone else has better ideas.
A few more helper functions have been added to the prereise.gather.solardata.nsrdb.sam module to serve the shared logic of these two functions.
The underlying NREL data downloading module has been updated to include local caching of the downloaded NREL data files.
What the code is doing
Within nrel_api.py: we add an optional cache_dir input, which if it is provided acts as a location to check for pre-downloaded files, and store newly-downloaded files. There's a new helper function _build_filename to translate queries to filenames, similar to the existing function to translate queries to URLs.
Within sam.py:

There are new generalized helper functions generate_timestamps_without_leap_day and calculate_power to support the two new solar profile calculation functions.
The existing retrieve_data function has been renamed to retrieve_data_blended and refactored to be more flexible with its inputs. If the user passes a Grid object, then all relevant information (including zone mappings) comes from this object. Otherwise, the user must pass a solar_plant dataframe with enough columns to derive relationships between zone IDs and states/interconnects, and a mapping of interconnect names to state abbreviation sets (interconnect_to_state_abvs). This mapping can't be reliably derived from the solar_plant dataframe, since there may be states without solar plants in the given dataframe, but these states should still be considered in interconnect averages when looking at the EIA data table.
retrieve_data has also been refactored to no longer need the to_reise data reshaping step, by constructing a dictionary of arrays as we go, and converting these to a dataframe as the final step of the function.
A new function retrieve_data_individual has been added, which expects extra data columns to be present in solar_plant, and uses these extra data columns to produce more precise profiles for each plant, considering its specific tracking type, inverter loading ratio (ILR), and tilt angle (for fixed-tilt systems).

Within all other files: miscellaneous updates to constants or docstrings, no changes to functionality.
Testing
Unit tests seem to be failing sporadically because of a 502 Bad Gateway when trying to map buses within prereise.gather.demanddata.eia.map_ba, which I didn't touch. Not sure what's going on there.
Both functions have been tested manually on the new HIFLD grid, with both invocation methods of the blended profile generator.
Usage Example/Visuals
The second function needs to be able to associate extra information from EIA Form 860 Table 3.3 (see https://github.com/Breakthrough-Energy/PreREISE/issues/242#issuecomment-993078516), so uses the CSVs created by the latest HIFLD-grid-generating code in the daniel/solar_pv_only_plus_index branch (message me and I'll point you to the files for testing), plus the PowerSimData branch which enables the HIFLD grid (https://github.com/Breakthrough-Energy/PowerSimData/pull/566). For clarity, all usage examples will use this same HIFLD grid model.
Generating blended profiles using just a Grid object:
from powersimdata import Grid
from prereise.gather.solardata.nsrdb import sam
grid = Grid("USA", "hifld")
data = sam.retrieve_data_blended(
    YOUR_EMAIL,
    YOUR_NREL_API_KEY,
    grid=grid,
    year=2020,
    cache_dir=YOUR_CACHE_DIR,
)

Generating blended profiles using a dataframe and dictionary (athough both are derived from a Grid object in this example):
from powersimdata import Grid
from prereise.gather.solardata.nsrdb import sam
grid = Grid("USA", "hifld")
mi = grid.model_immutables
solar_plant = grid.plant.query("type == 'solar'").copy()
solar_plant["state_abv"] = solar_plant["zone_id"].map(mi.zones["id2abv"])
interconnect_to_state_abvs = mi.zones["interconnect2abv"]
data = sam.retrieve_data_blended(
    YOUR_EMAIL,
    YOUR_NREL_API_KEY,
    solar_plant=solar_plant,
    interconnect_to_state_abvs=interconnect_to_state_abvs,
    year=2020,
    cache_dir=YOUR_CACHE_DIR,
)

Generating individual profiles using additional information within EIA's Form 860 Table 3.3
import pandas as pd
from powersimdata import Grid
from prereise.gather.solardata.nsrdb import sam
grid = Grid("USA", "hifld")
solar_plant = grid.plant.query("type == 'solar'")

# Add a helper function to coerce column types
def floatify(x):
    try:
        return float(x)
    except ValueError:
        return float("nan")

# Read additional data table, and pre-process data
extra_solar_data = pd.read_csv("3_3_Solar_Y2019_Operable.csv")
boolean_columns = ["Single-Axis Tracking?", "Dual-Axis Tracking?", "Fixed Tilt?"]
float_columns = ["DC Net Capacity (MW)", "Nameplate Capacity (MW)", "Tilt Angle"]
for col in float_columns:
    extra_solar_data[col] = extra_solar_data[col].map(floatify)

extra_solar_data.index = extra_solar_data.apply(
    lambda x: f"{x['Plant Code']}_{x['Generator ID']}", axis=1
)
boolean_columns = ["Single-Axis Tracking?", "Dual-Axis Tracking?", "Fixed Tilt?"]
for col in boolean_columns:
    # 'Y' becomes True, anything else ('N', blank, etc) becomes False
    extra_solar_data[col] = extra_solar_data[col] == "Y"

# If more than one column is True, assume Fixed Tilt for the purpose of this example
bad_booleans = extra_solar_data.index[extra_solar_data[boolean_columns].sum(axis=1) != 1]
extra_solar_data.loc[bad_booleans, boolean_columns] = False
extra_solar_data.loc[bad_booleans, "Fixed Tilt?"] = True

# Join frame with additional data to the original dataframe, and process
joined = solar_plant.join(extra_solar_data, rsuffix="_extra")
data = sam.retrieve_data_individual(
    YOUR_EMAIL,
    YOUR_NREL_API_KEY,
    solar_plant=joined,
    year=2020,
    cache_dir=YOUR_CACHE_DIR,
)

Time estimate
1 hour or more.

Since retrieve_data is renamed, we should update the usage here. There is also some mocking in test_solar_data.py, and a notebook which call this. Alternatively, we could keep the name and just add the retrieve_data_individual function as you have now. I'm good with either way.

Since retrieve_data is renamed, we should update the usage here. There is also some mocking in test_solar_data.py, and a notebook which call this. Alternatively, we could keep the name and just add the retrieve_data_individual function as you have now. I'm good with either way.

I've updated the function name and behavior in the two places you mentioned, plus the demo notebook.


[Feature request] SSH sensors (monitoring via remotely executable scripts)

Is it a duplicate question?
Seems nobody has asked about it.
Is your feature request related to a problem? Please describe.
It's just a low priority idea for the future to improve monitoring and make it more flexible and accurate.
Describe the solution you'd like
A new type of sensors: Monitoring with remotely executed ssh command. Similarly to already existing HTTP sensors, the exitcode (range) can trigger up or down.
Describe alternatives you've considered
Somehow, the alternative is the already planned "Push based monitoring". Generally it's going to be the same, but triggered in the different way.

Hi, I was wondering if this FR has been considered yet? Monitoring checks over SSH opens a lot of possibilities for uptime-kuma.

I'd love to see this for monitoring our application servers behind reverseproxy and firewall

Because of the extremely similar scope and because the other issue allows ssh'ing into other boxes, I am going to close this issue as a duplicate in favour of #1117 (despite being the earlier issue)


add option to use local decap_cm.js instead of CDN

Hi,
The wait time for unpkg.com, for decap_cms.js, can be long (a minute or more). This is annoying especially in local/dev mode, but it also sometimes affects my production deployment.
Would it be possible to make this configurable, so that the user can specify a local copy of the script if they want?
I'm having a hard time deciding how to do this, though. First I tried doing it just for my site by writing a processor that modifies the rendered /admin/ page, and rewrites the src of the script to a local url. This could be encaspulated in a plugin wrapping (or coming after) the DecapCMS plugin, and it could have the desired url as an option. But this seems like a non-starter because it seems like deno-dom doesn't know about document.scripts?
So the next thing I thought of was to make the DecapCMS plugin configurable: add an option localscript or some such which the page builder function checks here: https://github.com/lumeland/lume/blob/d5ac50063d60979124ef732121a7426fc9fb436e/plugins/decap_cms.ts#L88 and uses if defined, falling back to unpkg.
It feels a bit weird to me to make this an option, but I don't see how else to make something like this configurable since the url is hard-coded.
Would you:
a. be open to a pull request adding this option
b. have a suggestion for how else I could modify this?

sorry, wrong repo!


Feature request Empty State

If there are zero rows to show can we have a empty state with a slot?

no results

fixed in v1.12.2 (thank you for your help)


mermaid diagrams won't show up when a post loads blazingly fast

Checklist

[x] I have read the tutorials and know the correct effect of the functional design.
[ ] There are no similar reports on existing issues (including closed ones).
[x] I found the bug on the latest code of the master branch.

Describe the bug

The bug is that mermaid diagrams won't show up.
The cause is that mermaid is converting elements matching css selector .mermaid to diagrams however these elements are inserted at load event captured by jquery (see mermaid.html#L47).
Sometimes, .mermaid elements are inserted before mermaid starting its initial render process and sometimes it's the other way around. As far as I know, there is no guaranteed way to reproduce this bug.
The workaround presented here does not work after step 4 (see below).
mermaid.initialize() call does not seem to kicks off the rendering process which contradicts a comment made by repo owner in issue #536 (this comment).
Adding a mermaid.init() call can fix this bug, see this commit.
To Reproduce
Steps to reproduce the behavior:

clone master branch of this repo
add a new post with nothing but a simple mermaid diagram.
comment out webfonts in /_data/assets/cross_origin.yml
set theme to dark in /_config.yml
build site and serve
go to that newly added post

For example this commit has completed steps 1,2,3,4.
Expected behavior

Expected behavior is that one diagram rendered by mermaid can be seen. Actual behavior is that one line of mermaid syntax is shown.
Screenshots

Environment
I use jekyll official image to build this site locally i.e. docker pull jekyll/jekyll.

Command
Version

ruby -v

gem -v

bundle -v

bundle exec jekyll -v

bundle info jekyll-theme-chirpy

Desktop

Smartphone

Additional context

Duplicate of #536


Question: How do I turn off rm -i ?

How do I set rm to never ask for confirmation?

Hi @Industrial, thanks for asking. We actually just resolved #205 a few days ago to provide an option to disable these because people asked to have them disabled completely. It's documented in the zpreztorc and the README for the utility module.
https://github.com/sorin-ionescu/prezto/blob/master/runcoms/zpreztorc#L194-L197
https://github.com/sorin-ionescu/prezto/tree/master/modules/utility#safe-ops
Anyway, long story short, they can be disabled by adding zstyle ':prezto:module:utility' safe-ops no to your zpreztorc (or to your zshrc before prezto is loaded, depending on your setup).
If you have any suggestions for making those more visible or easier to search for, I'd be happy to hear them. Hope this helps!

Thanks for the quick reply!

Good timing, I guess. :)
I'm going to close this for now because there's a way of disabling them, but feel free to leave any comments/suggestions you have (or if you're having trouble getting it working) and I'll reopen the issue if needed.
Cheers!


SharePoint Online Script Editor Web Part

Category

[x ] Question

Question
Is it safe using script editor web part in SPO?
If we restrict Add/Customize Pages (ACP) permission in SharePoint to limited users, will it ensure safe to use Script editor web part?
Thanks,
Praveen Kumar Padmakaran

It's as safe as you deem fit. If you build the web part with default settings it will not show up on sites with ACP=false. In general exposing random scripting to end users to pose a security threat, thus coding a proper SPFx part with code review is always the more secure approach.


Questions about evaluation

Hi, I want to ask you for help. When I run the run_evaluation.sh to evaluate the method, I just stuck in the step 'Loading the world' for a long time. When it finally displayed the frames, the screen is very slow and the script will interrupt when the ego-agent into the bend. The following is the fault code.

`========= Preparing RouteScenario_16 (repetition 0) =========

Setting up the agent
routes_town05_long_03_17_20_35_11
Loading the world
Skipping scenario 'Scenario4' due to setup error: list index out of range
Running the route
leaderboard/team_code/aim_agent.py:169: UserWarning: The given NumPy array is not writeable, and PyTorch does not support non-writeable tensors. This means you can write to the underlying (supposedly non-writeable) NumPy array using the tensor. You may want to copy the array to protect its data or make it writeable before converting it to a tensor. This type of warning will be suppressed for the rest of this program.  Please do not use them for anything important until they are released as stable. (Triggered internally at  /pytorch/c10/core/TensorImpl.h:1156.)
return torch.max_pool2d(input, kernel_size, stride, padding, dilation, ceil_mode)
/home/watson/methods/transfuser_1/leaderboard/scripts/run_evaluation.sh: line 38: 22229 Segmentation fault      (core dumped) python3 ${LEADERBOARD_ROOT}/leaderboard/leaderboard_evaluator.py --scenarios=${SCENARIOS} --routes=${ROUTES} --repetitions=${REPETITIONS} --track=${CHALLENGE_TRACK_CODENAME} --checkpoint=${CHECKPOINT_ENDPOINT} --agent=${TEAM_AGENT} --agent-config=${TEAM_CONFIG} --debug=${DEBUG_CHALLENGE} --record=${RECORD_PATH} --resume=${RESUME} --port=${PORT} --trafficManagerPort=${TM_PORT}
`

And this is the run_evaluation.sh I changed.
#!/bin/bash
export CARLA_ROOT=carla/CARLA_<IP_ADDRESS>
export CARLA_SERVER=${CARLA_ROOT}/CarlaUE4.sh
export PYTHONPATH=$PYTHONPATH:${CARLA_ROOT}/PythonAPI
export PYTHONPATH=$PYTHONPATH:${CARLA_ROOT}/PythonAPI/carla
export PYTHONPATH=$PYTHONPATH:$CARLA_ROOT/PythonAPI/carla/dist/carla-0.9.10-py3.7-linux-x86_64.egg
export PYTHONPATH=$PYTHONPATH:leaderboard
export PYTHONPATH=$PYTHONPATH:leaderboard/team_code
export PYTHONPATH=$PYTHONPATH:scenario_runner
export LEADERBOARD_ROOT=/home/watson/methods/transfuser_1/leaderboard
export CHALLENGE_TRACK_CODENAME=SENSORS
export PORT=2000 # same as the carla server port
export TM_PORT=8000 # port for traffic manager, required when spawning multiple servers/clients
export DEBUG_CHALLENGE=0
export REPETITIONS=1 # multiple evaluation runs
export ROUTES=leaderboard/data/evaluation_routes/routes_town05_long.xml
export TEAM_AGENT=leaderboard/team_code/aim_agent.py # agent
export TEAM_CONFIG=/home/watson/methods/transfuser_1/aim/log/aim # model checkpoint, not required for expert
export CHECKPOINT_ENDPOINT=results/aim_result.json # results file
export SCENARIOS=leaderboard/data/scenarios/town05_all_scenarios.json
export SAVE_PATH=data/expert # path for saving episodes while evaluating
export RESUME=True
python3 ${LEADERBOARD_ROOT}/leaderboard/leaderboard_evaluator.py
--scenarios=${SCENARIOS}
--routes=${ROUTES}
--repetitions=${REPETITIONS}
--track=${CHALLENGE_TRACK_CODENAME}
--checkpoint=${CHECKPOINT_ENDPOINT}
--agent=${TEAM_AGENT}
--agent-config=${TEAM_CONFIG}
--debug=${DEBUG_CHALLENGE}
--record=${RECORD_PATH}
--resume=${RESUME}
--port=${PORT}
--trafficManagerPort=${TM_PORT}

town05_all_scenarios.json contains a lot of scenarios so loading the scenarios takes a few minutes in general. You can switch to no_scenarios.json for faster debugging.
Regarding the segmentation fault, are you running the CARLA server and the evaluation code on CPU or GPU?

For running the CARLA server on GPU try SDL_VIDEODRIVER=offscreen SDL_HINT_CUDA_DEVICE=0 ./CarlaUE4.sh --world-port=2000 -opengl

For running the CARLA server on GPU try SDL_VIDEODRIVER=offscreen SDL_HINT_CUDA_DEVICE=0 ./CarlaUE4.sh --world-port=2000 -opengl

Hi, I try the above command then the CARLA started without display. But the run_evaluation.sh still break about save 30 rgb images and the same error.
leaderboard/scripts/run_evaluation.sh: line 38:  5193 Segmentation fault      (core dumped) python3 ${LEADERBOARD_ROOT}/leaderboard/leaderboard_evaluator.py --scenarios=${SCENARIOS} --routes=${ROUTES} --repetitions=${REPETITIONS} --track=${CHALLENGE_TRACK_CODENAME} --checkpoint=${CHECKPOINT_ENDPOINT} --agent=${TEAM_AGENT} --agent-config=${TEAM_CONFIG} --debug=${DEBUG_CHALLENGE} --record=${RECORD_PATH} --resume=${RESUME} --port=${PORT} --trafficManagerPort=${TM_PORT}

Can you tell the exact commands you used for running the server and client code?
It's a bit weird that the code works fine for 30 frames and then crashes. Segmentation fault is generally associated with memory issues.

There are two steps for me. For running the server, ./CarlaUE4.sh --world-port=2000 -opengl in one terminal. And then run /bin/bash /home/watson/methods/transfuser_1/leaderboard/scripts/run_evaluation.sh in another terminal.
I did not try to run client alone and just changed export variable in the run_evaluation.sh. Did I miss something?

what GPU are you using?

one Titan XP

Can you try monitoring GPU memory usage to verify that the server and client code are loading fine on the GPU? Try watch nvidia-smi or nvidia-smi -l 1 and manually check that when you run the server and client code GPU memory increases gradually.

I sure the server is running on the GPU. And I found that the GPU memory usage is bigger when I just run ./CarlaUE4.sh without the port and opengl.

If you don't specify opengl then CARLA uses vulkan which leads to more GPU memory usage.
The server should take around 1G memory and the client code should also load on GPU. In my case, I have observed segmentation fault when either the server or client is not running on GPU. Apart from that, I am not sure what the issue is.

Thanks for your reply. I also found the server takes around 1G and one python3 process takes around 1.3G.

I just try the leaderboard official demo and it runs without error. I will find if I have changed some code in your work. Thanks again!

Hi, forgive me for bother you again.
When I am trying to generating the data, I don't know how long should set between collecting 2 images. Or call it the interval at which data is saved. I don't know if it will affect the result of training. Could you give me some suggestion?

We collect data at 2 FPS, i.e. every 10th frame is saved. Increasing the frequency would result in large dataset size which would increase the training time.

Thanks for the quick reply! May I ask what's the interval(secnod) between 2 frames? Does it fixed by the Leaderboard?

I just try the leaderboard official demo and it runs without error. I will find if I have changed some code in your work. Thanks again!

@Watson52  Did you find any cause or solutions? I meet the same error. Does the leaderboard official demo have any difference from the code that the author releases?

@Watson52 Did you find any cause or solutions? I meet the same error. Does the leaderboard official demo have any difference from the code that the author releases?

Do you mean the 'Segmentation fault'? I did not find the specific reason. May be the environment variable or my repo directory. Since the routing problem I have created few repo folders.
I just deleted the old folders and redownload the repo. Now I could run and evaluate the Transfuser.


Stop immediatePropagation not working

[x] I've looked at the documentation to make sure the behavior is documented and expected
[x] I'm sure this is a Leaflet code issue, not an issue with my own code nor with the framework I'm using (Cordova, Ionic, Angular, React…) - well I'm pretty sure but not 100%
[x] I've searched through the issues to make sure it's not yet reported

Steps to reproduce
https://codesandbox.io/s/trusting-dust-ji174
Attach 2 click handlers to the map and attempt to stopImmediatePropagation on the first handler and see if the 2nd handler gets prevented.
Expected behavior
Second handler should not to be called.
Current behavior
Second handler is called.
Environment

Leaflet version: 1.5.1
Browser (with version): Chrome 75
OS/Platform (with version): Windows 10

Related issues
https://github.com/Leaflet/Leaflet.VectorGrid/issues/93
https://github.com/Leaflet/Leaflet/issues/6698
Additional Context
So this is admittedly somewhere between a question and possibly a issue, but after trying several combinations to stopImmediatePropagation and creating a sandbox I started thinking it might be more of a issue.
The reason why we need this is because we're using some 3rd party code to render Markers with images in canvas, see https://github.com/lycheelin/react-leaflet-canvas-markers/blob/22adc80053c46fc8a52a34138b530ec2f71b068f/src/leaflet.canvas-markers.js.
The code is definitely questionable and we'll probably rewrite it at some point. However, the basic concepts seems to be correct, in essence the code uses the cursor position to figure out what marker was clicked on in the canvas layer. This requires the addition of a map click listener see https://github.com/lycheelin/react-leaflet-canvas-markers/blob/22adc80053c46fc8a52a34138b530ec2f71b068f/src/leaflet.canvas-markers.js#L107.
However our own code originally had click listeners on each marker, 'moving' these listeners to the map as the canvas-marker code requires, results in some conflicting behavior. We are trying to mitigate this behavior by preventing the event from propagating to other listeners.
All this being said, the basic example in the sandbox should still work?

I have also encountered such a problem. Finally, I took a compromise solution to solve it.
map.scrollWheelZoom.disable();

# do something...

map.scrollWheelZoom.enable();

see : https://leafletjs.com/reference-1.5.0.html#handler
I hope to be useful to you.

@wang1212 that is probably unrelated to original issue

@ksrb there is no bug in leaflet.
Mentioned 3rd-party code itself introduces this issue.

@johnd0e

there is no bug in leaflet.

There is a bug in leaflet.

Mentioned 3rd-party code itself introduces this issue.

The sandbox @ksrb shared does not contain 3rd-party code.

Please see this sandbox:

stopImmediatePropagation of leaflet event
Two leaflet event listeners are added to the left map in this sandbox.
map1.on("click", (e) => {
  e.originalEvent.stopImmediatePropagation();
  console.log("Leaflet event 1");
});
map1.on("click", (e) => {
  console.log("Leaflet event 2");
});

stopImmediatePropagation is called on the originalEvent in the first listener.
Expected behavior
Only "Leaflet event 1" is printed to the console when the left map is clicked.
Actual behavior
"Leaflet event 1" and "Leaflet event 2" are printed to the console when the left map is clicked.
stopImmediatePropagation of DOM event
Two DOM event listeners are added to the right map in this sandbox.
mapElm2.addEventListener("click", (e) => {
  e.stopImmediatePropagation();
  console.log("DOM event 1");
});
mapElm2.addEventListener("click", (e) => {
  console.log("DOM event 2");
});

stopImmediatePropagation is called on the event in the first listener.
Expected behavior
Only "DOM event 1" is printed to the console when the right map is clicked.
Actual behavior
Only "DOM event 1" is printed to the console when the right map is clicked.

Can this issue be reopened?

There is a bug in leaflet.

All is possible. But your sandbox does not contain related code, so I do not see how to reproduce the issue.
Also: please make sample as shorter as you can.

The sandbox link has been fixed. Please let me know if the sample should be shorter.


Use standard library instead of django.utils.importlib

django.utils.importlib is a compatibility library for when Python 2.6 was
still supported. It has been obsolete since Django 1.7, which dropped support
for Python 2.6, and is removed in 1.9 per the deprecation cycle.
Use Python's import_module function instead
— [1]

References:
[1] http://stackoverflow.com/a/32763639
[2] https://docs.djangoproject.com/en/1.9/internals/deprecation/#deprecation-removed-in-1-9

LGTM

LGTM

Thank you guys!


Hangs after bringing back from background

Summary
When try to bring back from open apps list (or even just coming back from the list without switching to any other app in a mean time) app completely hangs (see picture) and needs to be killed before reopening
Environment Information

Device Name: samsung galaxy note 8
OS Version: android 8
Mattermost App Version: 1.9.2 (Build 117)
Mattermost Server Version:4.6.0 (Build 4.6.0)

Steps to reproduce
Happening every time I minimise it
Expected behavior
All in summary
Observed behavior
All in summary
Possible fixes
No clue

is the menu button responsive when the application bugs out?

Not at all. Only thing I can do is go to open apps list and close it, then
open it again from home screen.
On Sun, 1 Jul 2018, 06:41 Michał Odziemczyk<EMAIL_ADDRESS>wrote:

is the menu button responsive when the application bugs out?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mattermost/mattermost-mobile/issues/1862#issuecomment-401584503,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB8sPNvBehIfRnOGOZO2uoaA9bDVCs3sks5uCGEcgaJpZM4U998m
.

Hi all! Letting you know that we are working on a 1.9.3 dot release for this issue.

Excellent! Thanks.
On Wed, 4 Jul 2018, 14:40 amyblais<EMAIL_ADDRESS>wrote:

Hi all! Letting you know that we are working on a 1.9.3 dot release for
this issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mattermost/mattermost-mobile/issues/1862#issuecomment-402482420,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB8sPG0U3KI1P3oS-q9-w6sNgNXe4ag_ks5uDMWvgaJpZM4U998m
.

Hey @pwec! Letting you know that v1.9.3 is now released to the app stores and will be available to download in the next few days.

Thanks for info and for super quick reaction!
On 4 Jul 2018 23:46, "amyblais"<EMAIL_ADDRESS>wrote:
Hey @pwec https://github.com/pwec! Letting you know that v1.9.3 is now
released to the app stores and will be available to download in the next
few days.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mattermost/mattermost-mobile/issues/1862#issuecomment-402568630,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB8sPO8k9BItlX0eU36ygE6ISpYyMxpVks5uDUXNgaJpZM4U998m
.

Hi @pwec, I'll close this Issue for now as there haven't been updates in the past few weeks.
If you still experience the same problem, try upgrading to the latest version.
If the issue persists, reopen this issue with the relevant information and we'd be glad to help you where we can.

I can confirm that issue is solved for me. Thanks
On Wed, 18 Jul 2018, 14:19 amyblais<EMAIL_ADDRESS>wrote:

Hi @pwec https://github.com/pwec, I'll close this Issue for now as
there haven't been updates in the past few weeks.
If you still experience the same problem, try upgrading to the latest
version https://about.mattermost.com/download/.
If the issue persists, reopen this issue with the relevant information and
we'd be glad to help you where we can.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mattermost/mattermost-mobile/issues/1862#issuecomment-405927494,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB8sPE_vAxsV9Ofz45XPCy0JAMlO0vSwks5uHzXZgaJpZM4U998m
.


Layer1 -> Layer2 Bridge Failing

System Configuration: Nano Leder, Metamask
Browsers: Chrome and Brave
Blind Signing Enabled
Other Information:
The wallet was a legacy one created in 2017 on a nano ledger. When I choose it in metamask it says legacy mew, and doesn't show up in the Ledger Live section.
Issue:
I tried to bridge between L1-L2 before the snapshot the transaction just sat waiting for confirmation. There were no errors in the dev console to suggest there was anything wrong. I tried with several browsers and updated the nano ledger etc. I came back to it this morning and the transaction showed as cancelled.
I tried again this morning with no luck. Interestingly I only had one interaction with metamask and nothing popped up on the nano ledger to confirm.
Other steps:
After the snapshot, I created a new wallet on the nano ledger transferred the tokens to that wallet and then managed to successfully bridge (3) interactions with metamask.
I fear this won't allow me to get the Boba airdrop.

It's hard to debug this remotely, but it sounds like the issue was that the 2017 Ledger/wallet was not talking to MetaMask correctly (and also not appearing in Ledger Live). Somewhat unrelatedly, Chrome and Firefox tend to more reliable than Brave in terms of MetaMask/Ledger workflow.

This was closed with no discussion or steps to help debug this issue. As noted in the request, I did try this on several browsers including chrome and firefox. I can see an interact with the wallet in Ledger live.


Add test helpers, enable all plugins

This adds a common base test case with some helpers to make writing tests for plugins simpler. Several plugin PRs depend on this.
I'm pulling this out of the acks PR to hopefully make review easier...

trigger build

trigger build

trigger build


Add the option in editor to write RTL direction when the interface language is not RTL language.

Describe the feature you'd like
I'm able to write in RTL direction only when the bookstack language is set to RTL language. (Hebrew in my case).
It would be nice if there will be an option to still use English interface, and write in RTL direction.
Thanks for this great product.
Describe the benefits this would bring to existing BookStack users
The ability to use non RTL interface while writing in RTL languages too.
Can the goal of this request already be achieved via other means?
No
Have you searched for an existing open/closed issue?

[X] I have searched for existing issues and none cover my fundemental request

How long have you been using BookStack?
0 to 6 months
Additional context
No response

Nice, I'll try it.

bumping this, please add it. It's very common to use the interface in English but type in Arabic. Also you may have books/shelves in different languages.


INTPYTHON-268 Add MongoDBLoader

Leaving in draft until #43 is merged so I can add a changelog entry.

Ah, drat, I never added the new files.


Reverted change in PR #24 904ced8 to RegisterAndGetRequestStartupTasks

and added test to ensure IRequestStartup tasks are registered.
Have added the code that was removed from RegisterAndGetRequestStartupTasks and this time I remembered to update the submodule (sorry!) to Nancy v1.2 and built against that.
Let me know if you spot anything, I'm around all weekend.

Just one tiny nit :+1:

Sure, here you go!


hotfix: adding destination schema

Description (개요)
Hotfix: Adding description of destination schema to query API
Keep in Mind
If you are creating a new statement, your first commit should always be a copy of the statement(model, ThanoSQL, function) template. This will allow reviewers to see what has been changed from the template, making the review process much more efficient.
Type of change (작업사항)
Please delete options that are not relevant and check out the type of change.

[ ] Model statmenet creation
[ ] ThanoSQL statmenet creation
[ ] Function statmenet creation
[ ] Model statement fix
[ ] ThanoSQL statement fix
[ ] Function statement fix

Following templates can be found from the Tech-wiki Docs.
Writing Convention
Make sure to check out the Writing Convention.
Review Process
Review should be conducted by at least two people.

? 왜 갑자기 많은게 바뀐거죠

? 왜 갑자기 많은게 바뀐거죠

아 제목에 WIP를 까먹고 안 적었네요. 이제 바뀔 것 없을 것 같습니다.


Heatmap

Finished heatmap.
References https://github.com/odota/mobile/issues/55.

@vocosu Everything looks great on Android. However, on iOS, there's some scaling issues.

As you can see, this only happens to several player. I tested this on both iPhone 5S and iPhone 6s+. Is it possible for you to try and debug this in Xcode?
In addition, we should probably provide different map images based on the patch version. This is already implemented in the ui repo.

For your first question, I don't have a Mac or iOS device so might take me a little longer to solve that issue. I'll try to set up a VM this week so I can start debugging in Xcode.
I can definitely add the different map images based on the patch version though.

@vocosu Gotcha. And don't forget to pull from master before submitting the PR. I have updated master with 7.07 compatibility.
I'll spend most of my time this week fixing the bugs that were found by the open beta testers (e.g. iPhone X compatibility, custom font issue). Once I'm done with that, I can help you with the iOS debugging.

@Proyoyo  I have implemented changing the map image based on the patch version.
Still stuck on the iOS bug due to issues setting up my VM. I'll have access to an iOS device this weekend though. Let me know when you can help me on the iOS debugging.

Looks good! I can probably help with iOS debugging later today or tomorrow.

I've tried it on iOS and now the image doesn't get rendered anymore. I've removed the XCode reference to detailed.png and added new XCode references to the new map images. However, this doesn't solve the issue. I'll investigate this further tomorrow.

UPDATE: I have access to a Mac OS X now. I'll see if I can debug this on Xcode this week.


Perform retries when pulling/pushing charts if there are connectivity issues

If there are intermittent networking issues when using the syncer, any pull or push of the chart will fail, forcing the user to re-run the whole sync process. If the issue pulling/pushing the chart is related to connectivity issues, we should retry some times in case the error is transient.

I don't think this is a problem. The retry mechanism should be implemented by the user, not this tool.

I don't think this is a problem. The retry mechanism should be implemented by the user, not this tool.

That said, the tool creates a filesystem cache that will speed up consecutive runs.

That said, the tool creates a filesystem cache that will speed up consecutive runs.


lwIP: Server socket remains open for 120s after closing (IDFGH-4577)

Environment

Development Kit:      ESP32-Wrover
Kit version (for WroverKit): [v1]
Module or chip used:  ESP32-WROVER
IDF version (run git describe --tags to find it):    // v4.1
Build System:         idf.py
Compiler version (run xtensa-esp32-elf-gcc --version to find it):    // (crosstool-NG esp-2020r2) 8.2.0
Operating System:     Windows
(Windows only) environment type: Plain Command Prompt
Using an IDE?: Yes, but only for editing: eclipse Version: 2020-12 (4.18.0))
Power Supply:         USB, battery or external 5V

Problem Description
I have  problem with closing a server socket on the ESP32 and then having to wait 120s before I can re-open the socket again.
Expected Behavior
If a server socket is closed on the ESP32 then I should be able to reopen it again anytime after closing.
Actual Behavior
When I close a server socket on the ESP32 and I try to reopen a socket within 120s I get an error "bind failed: Address already in use".
If the client closes the socket first and then the ESP32 closes the sockets then all works correctly and I can re-open the server socket and bind without having to wait the 120s.
Application: When the user requests the log file I start a new task and open a server socket using the following sequence:
Using tcp_server.c example code to reproduce the problem.
    // Open socket
    int listen_sock = socket(addr_family, SOCK_STREAM, ip_protocol);
    int err = bind(listen_sock, (struct sockaddr *)&dest_addr, sizeof(dest_addr));
    err = listen(listen_sock, 1);
    int sock = accept(listen_sock, (struct sockaddr *)&source_addr, &addr_len);

Once the socket has connected I upload the log file and close the socket:
    // Close socket
    shutdown(sock, SHUT_RDWR);
    close(sock);
    close(listen_sock);
    ...
    vTaskDelete(NULL);

When the tcp_server_task() is restarted within 120s the bind request fails, "bind failed: Address already in use".
Steps to reproduce

Using espV4.1\esp-idf\examples\protocols\sockets\tcp_server\main\tcp_server.c, attached.
tcp_server.c.txt
Compile and flash ESP32.
Using example_test.py or any other TCP client software, Hercules SETUP utility by https://www.hw-group.com/product-version/hercules as it has a send box to do quick testing.
example_test.py.txt
Send "TestMessage Test" and close client socket on Hercules or example_test.py will close the socket after receiving the echo from the ESP32. The socket will close and loop around and call accept to accept the next connection. All as expected.
Send "TestMessage Restart" and close client socket on Hercules or example_test.py will close the socket after receiving the echo from the ESP32. The socket will close, the listen_sock will be closed, due to bTest flag, and the task deleted. The main loop will restart the tcp_server_task(), due to bTestEnd flag, and a new listen_sock will bind to the port number, 6001 in this case, and wait on accept for the next connection.  All as expected.
Send "TestMessage Close" and the ESP32 will close the server socket, due to the "Close"/bTest flag, Hercules or example_test.py will close due to the FIN ACK the socket after receiving the echo from the ESP32. The task will be deleted and the main loop will restart the tcp_server_task(). A new listen_sock will be acquired but when we try to bind we get the error "bind failed: Address already in use". I then retry every 5s and after 120s the bind will be successful.

In my development I have seen this issue before on port 80 before but because the client almost always closed the connection it was not an issue. Now that I wish to close the server socket and reopen it within 120s there seems to be a problem. I have tried calling shutdown on the listen_sock but it generates an error "shutdown failed: Invalid argument", so that isn't the issue. I have tried adding delays when closing the sock and listen_sock but that doesn't help.
Can you help please?
Code to reproduce this issue
See attached "tcp_server.c.txt".
Debug Logs
I (490) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (630) wifi:wifi driver task: 3ffc12c4, prio:23, stack:6656, core=0
I (631) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (635) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (664) wifi:wifi firmware version: 3ea4c76
I (665) wifi:config NVS flash: enabled
I (665) wifi:config nano formating: disabled
I (666) wifi:Init dynamic tx buffer num: 32
I (669) wifi:Init data frame dynamic rx buffer num: 32
I (674) wifi:Init management frame dynamic rx buffer num: 32
I (679) wifi:Init management short buffer num: 32
I (684) wifi:Init static rx buffer size: 1600
I (688) wifi:Init static rx buffer num: 10
I (691) wifi:Init dynamic rx buffer num: 32
I (697) example_connect: Connecting to TP-LINK_6CD468...
I (797) phy: phy_version: 4180, cb3948e, Sep 12 2019, 16:39:13, 0, 0
I (799) wifi:mode : sta (30:ae:a4:3d:ce:b4)
I (802) example_connect: Waiting for IP
I (1527) wifi:new:<6,2>, old:<1,0>, ap:<255,255>, sta:<6,2>, prof:1
I (2349) wifi:state: init -> auth (b0)
I (2359) wifi:state: auth -> assoc (0)
I (2364) wifi:state: assoc -> run (10)
I (2386) wifi:connected with TP-LINK_6CD468, aid = 1, channel 6, 40D, bssid = f4:f2:6d:6c:d4:68
I (2387) wifi:security: WPA2-PSK, phy: bgn, rssi: -48
I (2389) wifi:pm start, type: 1

I (2396) wifi:AP's beacon interval = 102400 us, DTIM period = 1
I (3108) esp_netif_handlers: sta ip: <IP_ADDRESS>, mask: <IP_ADDRESS>, gw: <IP_ADDRESS>
I (3109) example_connect: Got IP event!
I (3608) example_connect: Got IPv6 event!
I (3608) example_connect: Connected to TP-LINK_6CD468
I (3609) example_connect: IPv4 address: <IP_ADDRESS>
I (3613) example_connect: IPv6 address: fe80:0000:0000:0000:32ae:a4ff:fe3d:ceb4

I (3622) example: Socket created
I (3626) example: Socket bound, port 6001
I (3630) example: Timeout = 3067
I (3634) example: Socket listening
I (13368) example: Socket accepted ip address: <IP_ADDRESS>
I (13370) example: Received 15 bytes: TestMessge Test
W (14483) example: Connection closed
I (14484) example: do_retransmit end
I (14484) example: Close Socket
I (14486) example: Timeout = 1
I (14488) example: Socket listening
I (22371) example: Socket accepted ip address: <IP_ADDRESS>
I (22372) example: Received 15 bytes: TestMessge Test
W (23497) example: Connection closed
I (23497) example: do_retransmit end
I (23497) example: Close Socket
I (23500) example: Timeout = 2
I (23502) example: Socket listening
I (34352) example: Socket accepted ip address: <IP_ADDRESS>
I (34353) example: Received 18 bytes: TestMessge Restart
W (35476) example: Connection closed
I (35476) example: do_retransmit end
I (35476) example: Close Socket
I (35479) example: CLEAN_UP
I (36481) example: CLEAN_UP 2
I (36521) example: Wait 0
I (36521) example: Restarting tcp_server_task
I (36522) example: Socket created
I (36522) example: Socket bound, port 6001
I (36527) example: Timeout = 1050
I (36531) example: Socket listening
I (41420) example: Socket accepted ip address: <IP_ADDRESS>
I (41422) example: Received 18 bytes: TestMessge Restart
W (42541) example: Connection closed
I (42542) example: do_retransmit end
I (42542) example: Close Socket
I (42544) example: CLEAN_UP
I (43546) example: CLEAN_UP 2
I (43624) example: Wait 0
I (43624) example: Restarting tcp_server_task
I (43625) example: Socket created
I (43625) example: Socket bound, port 6001
I (43630) example: Timeout = 1087
I (43634) example: Socket listening
I (51767) example: Socket accepted ip address: <IP_ADDRESS>
I (51768) example: Received 16 bytes: TestMessge Close
I (51769) example: do_retransmit end
I (51772) example: Close Socket
I (51777) example: CLEAN_UP
I (52780) example: CLEAN_UP 2
I (52824) example: Wait 0
I (52824) example: Restarting tcp_server_task
I (52824) example: Socket created
**E (52825) example: Socket unable to bind: errno 112**
bind failed: Address already in use
I (52834) example: CLEAN_UP
I (53837) example: CLEAN_UP 2
I (53924) example: Wait 5000
I (58924) example: Restarting tcp_server_task
I (58924) example: Socket created
**E (58925) example: Socket unable to bind: errno 112**
bind failed: Address already in use
I (58931) example: CLEAN_UP
I (59934) example: CLEAN_UP 2
I (60024) example: Wait 5000
...
Removed 108 seconds of duplicate loop prints
...
I (168724) example: Restarting tcp_server_task
I (168724) example: Socket created
**E (168725) example: Socket unable to bind: errno 112**
bind failed: Address already in use
I (168731) example: CLEAN_UP
I (169734) example: CLEAN_UP 2
I (169824) example: Wait 5000
I (174824) example: Restarting tcp_server_task
I (174824) example: Socket created
**I (174825) example: Socket bound, port 6001
I (174827) example: Timeout = 123051**
I (174831) example: Socket listening
I (1007464) example: Socket accepted ip address: <IP_ADDRESS>
I (1007469) example: Received 15 bytes: TestMessge Test
W (1008583) example: Connection closed
I (1008584) example: do_retransmit end
I (1008584) example: Close Socket
I (1008587) example: Timeout = 2
I (1008589) example: Socket listening

Other items if possible
sdkconfig.txt

@CharlesSeartech Thanks for the very detailed reporter and letting us know, we will look into.

@CharlesSeartech Thanks for the very detailed reporter and letting us know, we will look into.

Good day,
I solved the problem.
It's a TIME_WAIT issue that the socket stays open for TIME_WAIT time before allowing bind again. You can get around it with SO_REUSEADDR.
https://hea-www.harvard.edu/~fine/Tech/addrinuse.html
Regards,
Charles

Good day,
I solved the problem.
It's a TIME_WAIT issue that the socket stays open for TIME_WAIT time before allowing bind again. You can get around it with SO_REUSEADDR.
https://hea-www.harvard.edu/~fine/Tech/addrinuse.html
Regards,
Charles

@CharlesSeartech Thanks for sharing the solution!
Could you please close the issue?

@CharlesSeartech Thanks for sharing the solution!
Could you please close the issue?


support for windows 1903

Need to add 1903 as a tag version. If your python is accessing Windows devices it has to match the release.

We don't currently have a place for these to build, unfortunately (we currently use a Windows Server 2019 VM which is nice because it can actually be updated properly, but has the downside that semi-annual releases like 1903 don't get included). ￼￼:disappointed:
https://github.com/docker-library/golang/pull/289#issuecomment-509841894

Closing via #643 :+1:


Panic on AO tables fsync() failure

As we know since fsyncgate, there is no sense to retry fsync() because dirty data cached by the kernel may have been dropped on write-back failure. This problem was fixed in vanilla PG by a new GUC data_sync_retry, that controls a fallback to PANIC on fsync() error, and backported to GPDB. But we forgot about AO/AOC tables that use their own storage manager to bypass shared buffers. Current commit makes them panic on fsync() failure as well.

Seems legit. I don't see any other pg_fsync calls related to AO tables logic.
There still some parts of code which exception logic does not respect data_sync_retry value, but this is for reason though.

Note that FileSync() is also used in mdsyncfiletag() and aosyncfiletag().

@leskin-in it is not our case - mdsyncfiletag() and aosyncfiletag() are the possible implementations of sync_syncfiletag. There is exactly one place in the code where it is used and we handle a failed fsync() correctly.

I close current internal PR and reopen https://github.com/greenplum-db/gpdb/pull/11894 to upstream Pivotal repo. All discussions can be continued there.


RFC: Scriptless buildpacks

Readable

I really like this idea!

I implemented this as an inline buildpack that you can use with pack: pack --builder hone/scriptless.

From the WG today, I'm going to implement a buildpack build env var, so people can use this as a non-inline buildpack.

@sclevine @hone @nebhale @ekcasey I've updated the RFC based on our discussion and the comments. I'm pretty keen on some variation of this: https://github.com/buildpack/rfcs/blob/scriptless-buildpacks/text/0000-scriptless-buildpacks.md#restricting-layer-access-in-scripts

There was a question along the lines:

How do we handle logic that needs to access more than one layer?

If we use the mechanism proposed (where the layer script get $1 as normal) and add a way to force layer regenerate, then I think this is solved.

Related at least in terms of developer UX -- single file entry points really helps folks on-board and I like this idea a lot.
Story time. A former project that Deft worked on had about seven different services to coordinate with different lifecycles for each one. Each service was in a subdirectory of a monorepo and we had a single Makefile at the top directory with phony Makefile targets to orchestrate commands. Each service usually had some similar commands web-test api-test web-up api-up web-logs api-logs etc.
Even if everyone on the team didn't completely understand how the makefile targets worked most folks had no trouble consuming the services from the single entry point. That gave new folks on the team a leg up when trying to understand the workflow. We kind of tried it out expecting it to fall apart and by in large it held together better than I expected. Although the Makefile got pretty long.
Some of the positives from our experience:

All common tasks were in a single file
Targets in a Makefile behave very predictably and the behavior was well defined
Possible to combine targets via target dependencies (build: web-build api-build db-build)
Very easy to add a new target
Possible to dependency chain make targets make detect build
Generators can append to Makefiles
Make was available nearly everywhere for everyone

Some downsides from our experience:

Pipes can confuse exist codes and sometimes break in weird ways
More complicated scripts or non-shell scripts typically needed to run as commands
Make errors can be obtuse to read or understand
Hard to test reliably

For buildpacks, I mostly think make offers some interesting corollaries to consider.
For funsies, I pseudo-coded a Makefile from our scaffolding on the prior project to show what it'd look like.
define USAGE
detect - determines whether buildpack should be applied
build - executes buildpack logic
inspect - shows metadata about your buildpack
usage - shows this prompt
endef
export USAGE

.DEFAULT_GOAL := usage

.SHELL: /bin/bash
.SHELLFLAGS = -o pipefail

# Everything below is a script target
.PHONY: $(MAKECMDGOALS)

detect:
	test -f Gemfile

build:
	./bin/build

inspect:
	./bin/explain_config_to_mere_mortals< buildpack.toml

usage:
	@echo "$$USAGE"

Closing because this has dropped in priority


Twitter codes stopped working

I got FreeOTPPlus working with many sites, including github, gitlab, twitter, etc.
Yesterday I logged on to Twitter in the browser, got the prompt to enter the verification code from FreeOTPPlus.
Twitter says the code is not good, no matter how many times I try.
In the end I had to use a backup code.
Disabled and re-enabled the 2FA on Twitter, re-created the entry in FreeOTPPlus several times, but no luck no matter what.
Can somebody re-produce this, please?
EDIT: nevermind, I also used Google Authenticator, same problem...

Nothing, anybody?

Let me enable 2FA on twitter and test

I have tried 2FA log in using FreeOTP+ on multiple devices and all of them are working correctly.
I also cross checked google authenticator and compare the code between FreeOTP+  and Authenticator. They showed the same code.


Channels improvements

[ ] Remove this settings - "number of items in friends block" - but check first if it's used anywhere

[ ] Comments with hashtags aren't displayed in channels, however comments were integrated into Timeline already

[ ] Add followers block enabled by default

[ ] Add the following description for "add channel auto" action - Automatically create new channel when new hashtag is mentioned by anyone with this level

3f6818a - Related commit for UNA 12.1.0


Missing VCI curation

I was looking through some old curations of ours (Broad Institute Rare Disease Group)  in the VCI and found one that we had made a page for but now seems to be missing. I have the link from the original page but it doesn't work anymore. Can you help us figure out if this was deleted somehow? The link is below:
https://curation.clinicalgenome.org/variant-central/?edit=true&variant=ec84687d-5f24-4245-[…]ation=073032e2-cfef-41e4-8b5e-67d816e69fc0&summary=true](https://curation.clinicalgenome.org/variant-central/?edit=true&variant=ec84687d-5f24-4245-ae3e-83957f5960ea&interpretation=073032e2-cfef-41e4-8b5e-67d816e69fc0&summary=true

Hi @msingerb, with the December 2020 rearchitecture the URL structures have slightly changed. You should be able to access the variant using the URL https://curation.clinicalgenome.org/variant-central/ec84687d-5f24-4245-ae3e-83957f5960ea/.


add color options for title and desc

need more color options about title and desc when we decieded to use white as bg color

LGTM. Thanks!


fix id length

The way self.location_ids was initialised prevented saving IDs longer than one character. This fixes this issue by allowing IDs of maximum 20 characters.

@guiwitz have you checked this will fix the issue? dtype=str should not impose a length limit

@hongquanli The problem is that the indices get initialized with '' which is a string of length 1. When later updating the ID in the table, the  string is also forced to have length 1. Here's an MRE:
import numpy as np

str_array = np.empty((0,), dtype=str)
str_array = np.append(str_array, '')
str_array[0] = 'my longer ID'

str_array

which outptus:
array(['m'], dtype='<U1')


Cookie warning with localStorage disabled

JS Bin uses cookies to protect against CSRF attacks, so with cookies disabled, you will not be able to save your work

This warning comes up with cookies enabled but with localStorage disabled.
The message isn't very useful and you should consider changing it.
PS: jsbin also throws TypeError: localStorage is null.

Will do.


Show number of active threads in the review

Fixes #230
/cc @pakrym

Hmm.. any idea how to find which checks are hung?

Might be another check-enforcer bug, cc @mitchdenny


Zombie of the "Explore repositories" in these days

Appeared in these days....

    Explore repositories

https://github.com/kachick/depop/blob/931354c950be28ea8f1290bedb0a98d22bd869ab/src/github-patcher.ts#L15-L22


Typo "** Important **"→"** Important &#42…

…;*"
https://docs.microsoft.com/en-us/sql/relational-databases/system-information-schema-views/check-constraints-transact-sql?view=sql-server-2017

@hyoshioka0128 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@carlrabeler - Could you review the proposed changes? It's not clear what formatting you're aiming for. Thanks.


docs: remove commercial support part in README.md

Signed-off-by: Allen Sun<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
remove commercial support part in README.md.
Since Dragonfly will try to be neutral, we need to remove some legacy part of document.
No commercial support for Dragonfly now.
Ⅱ. Does this pull request fix one issue?

none
Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗？)
no need, just doc update.
Ⅳ. Describe how to verify it
none
Ⅴ. Special notes for reviews
none

lgtm


API Interaction Script Implementation

Proposed Implementation
Script Functionality:

Reads a given API configuration file (JSON or YAML).
Parses the configuration to extract endpoint details, parameters, and other relevant information.
Displays available commands and flags in a human-readable format when run without arguments.
Constructs and performs an API request based on provided arguments.

Command Line Interface Design:

Utilizes packages like yargs or commander for handling command line arguments.
Defines commands and flags based on the configuration file's content.
Implements help commands for user guidance.

API Request Handling:

Uses axios for making HTTP requests.
Constructs request URL, headers, and body based on user input and configuration file.

Error Handling and Validation:

Robust error handling for issues like invalid arguments, network errors, or API errors.
Validates user input against parameters defined in the configuration file.

Output Formatting:

Formats API response in a user-friendly way with options for different output formats (e.g., plain text, JSON).

Considerations for Improvement
Interactive Mode:

Adds an interactive mode for user-friendly input prompts.

Response Handling:

Handles different types of API responses and displays meaningful messages.

Extensibility:

Designs the script to be easily extendable for new endpoints or API changes.

Documentation and Examples:

Provides thorough documentation and examples of usage.

Testing:

Implements unit tests for reliability and stability.

Authentication Handling:

Implements a secure method for handling API keys or tokens.

Implementation Steps
Initial Setup:

Sets up a Node.js project with necessary dependencies (yargs, axios, etc.).
Creates a main script file.

Configuration File Parsing:

Implements functionality to read and parse the configuration file.

CLI Design:

Defines the CLI structure based on the configuration file.
Implements help and usage instructions.

API Request Construction and Execution:

Constructs and executes the API request based on user input.

Testing and Documentation:

Tests the script in various scenarios.
Documents usage and examples.

This issue should likely be a milestone and split into issues


I am able to upload images just fine when I insert url from cloudnairy in rich text editor. But images won't show up at all in the website. It does show up in the preview when i am adding in rich text editor. https://github.com/jaymehta20/gatsby-starter-hello-world

Describe the bug
Images are not working
Images are not showing up in the website when I add them through the rich text editor. The preview comes up but the image won't load on the website. Only way I can add images is to upload via URL
https://github.com/jaymehta20/gatsby-starter-hello-world

Hi @jaymehta20, per https://www.netlifycms.org/docs/cloudinary/#connecting-cloudinary-to-netlify-cms you should configure the media library at the top level:
backend:
  name: git-gateway
  branch: master

publish_mode: editorial_workflow
media_folder: 'static/img/'
public_folder: 'static/img/'

media_library:
  name: cloudinary
  config:
    cloud_name: codegrain
    api_key: '973338231686312'

collections:
  - name: 'blog'
    label: 'Blog'
    folder: 'content/blog'
    create: true
    slug: 'index'
    media_folder: ''
    public_folder: ''
    path: '{{title}}/index'
    editor:
      preview: true
    fields:
      - {
          label: 'Slug',
          name: 'slug',
          widget: 'string',
          required: true,
          pattern:
            ['^[a-z0-9]+(?:-[a-z0-9]+)*$', 'A slug can have no spaces or special characters'],
        }
      - { label: 'Title', name: 'title', widget: 'string' }
      - { label: 'Publish Date', name: 'date', widget: 'datetime' }
      - { label: 'Description', name: 'description', widget: 'string' }
      - { label: 'Body', name: 'body', widget: 'markdown' }
      - { label: 'Thumbnail', name: 'thumbnail', widget: 'image' }

Also, you'll need to install and register netlify-cms-media-library-cloudinary per https://www.netlifycms.org/blog/2019/07/netlify-cms-gatsby-plugin-4-0-0#using-media-libraries-with-netlify-cms-app

Ok, I'll try this but my question is what if want to make it work without Cloudinary? Isn't there any option or I have to use a 3rd party image uploader to upload my images? Cause that Cloudinary config is something I added later to the experiment. The default was set to none(media_library)

Ok, so when I tried your config it gave me this error:
https://ibb.co/jLD33Gr

The CMS has a built in media library you can use, and supports Cloudinary, Netlify Large Media and Uploadcare .
 If they are files you'll need a nested query since Gatsby transform files into complex objects. See https://github.com/netlify-templates/gatsby-starter-netlify-cms/blob/97ae8f37c996af7598bc98aca1fdf142a181ec09/src/components/BlogRoll.js#L90
I recommend reading https://www.gatsbyjs.com/docs/tutorial/ to better understand how Gatsby sources data from your repo and lets you query it in your site.

I don't see a childImageSharp in my graphql that's why I added the image like that. Can you elaborate on that nested query part.
Like how do I use it here?

Hi @jaymehta20, you can read more about that here https://www.gatsbyjs.com/plugins/gatsby-plugin-image

I have these plugins installed but the problem is I don't see it in graphql.

I'm not sure what's the issue. I think this is more related to Gatsby than the CMS.
I recommend trying in one of their support channels https://www.gatsbyjs.com/contributing/community/#where-to-get-support

It's related to netlify cms. The initial problem is that I am to add images in netlify's rich text editor but it doesn't render out on the actual site. So I tried cloudinary. If you are able to figure out how to make those images work without any 3rd party media library that would be gr8.
You can check the images not rendering here on this final website:
https://gatsbyblogtesting.netlify.app/
I think I have messed up somewhere in config yaml file

Ok, I'll try that starter and rebuilt the website


Update NPM package @vscode/wasm-wasi-lsp

Hello, following the release of 1.0 of @vscode/wasm-wasi package, @vscode/wasm-wasi-lsp was not updated (the code on Github seems up to date and ready for 1.0). It is unusable for now as vscode will get the latest version of ms-vscode.wasm-wasi-core which rely on 1.0, but wasm-wasi-lsp is still targeting the pre-release version.
The package should be updated to support latest features.

Thanks for pointing this out. A new version 0.1.0-pre.8 is on its way.


Azure Key Vault pricing page - Managed HSM Pools

I have found some documentation that has led me to believe that utilizing a Managed HSM Pool is only required if you need FIPS-2 compliance.
However, on this page*, it isn't clear if you will get charged the $4.85/hour for Managed HSM Pools if you simply use an HSM backed key from a Premium Tier Azure Key Vault.
Some clarification around when an Azure user will require Managed HSM Pools would be good, so we can easily understand if we will incur the cost for it.
*No "feedback" button for this specific page is available, thus the manually created issue.

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

ID: 982ce790-e393-7ba1-358b-c87594899e87
Version Independent ID: d7599c28-fc03-af2d-b588-aa86bc1f13be
Content: Azure Managed HSM Overview - Azure Managed HSM
Content Source: articles/key-vault/managed-hsm/overview.md
Service: key-vault
Sub-service: managed-hsm
GitHub Login: @msmbaldwin
Microsoft Alias: mbaldwin

@mlcooper We have requested the content team to review this ask and update the docs as necessary .

@mlcooper AKV Premium and Managed HSM are two separate product SKUs. Managed HSM is more secure FIPS Level 3 and more costly. AKV Premium is more affordable option integrated with Azure with FIPS Level 2.

#please-close

@jlichwa are you able to document what you just described on the pricing page?


To use variables in service connection inputs, we need to use expressions. Just using plain variables doesn't work

To use variables in service connection inputs, we need to use expressions like ConnectedServiceName: ${{ variables.ConnectedServiceName_1 }}. Just using plain variables like $( variables.ConnectedServiceName_1) doesn't work. It works for other inputs though.
Is this behaviour documented somewhere?
Based on this issue https://github.com/microsoft/azure-pipelines-tasks/issues/11555

In fact the exact opposite is documented:
"Service connection cannot be specified by variable" from https://docs.microsoft.com/en-us/azure/devops/pipelines/library/service-endpoints?view=azure-devops&tabs=yaml
I wasted a full day on this, and almost gave up thinking it wasn't possible. @shashban @prativen  @Lovakumar @kasubram can one of you reassign this to the documentation team so people can at least have a chance of finding the solution to this inconsistency without wasting so much time?


I was hoping if it was possible to infer optional props from object.

Search Terms
optional prop inference.

Suggestion
Optional Arguments type creation.

Use Cases

Currently we need to define a partial to infer optional types.
I was hoping if we could create something as mentioned in the example for inferring optional props.
Examples
const someObj = {a: 'someString', b: undefined as number};
type someObjType = typeof someObj;
someObjType = {a: string, b?: number}

Checklist
My suggestion meets these guidelines:

[ ] This wouldn't be a breaking change in existing TypeScript / JavaScript code
[ ] This wouldn't change the runtime behavior of existing JavaScript code
[ ] This could be implemented without emitting different JS based on the types of the expressions
[ ] This isn't a runtime feature (e.g. new expression-level syntax)

Why is it important that we infer a type for b that isn't present in the actual value? Why not just write const someObj = { a: "", b: undefined } and let the inferred type be { a: string, b: undefined }? That would be assignable to { a: string, b?: number }.

the inferred type for b for someObj would be any, hence it could take value
of a string or a number or any other object. if we define b as "b:
undefined as number" it will only take number as a value, an assignment of
string to b should throw an error, defining it all in a single object
instead of using partials is really convenient.
And the type for someObj as mentioned above will be {a: string, b: any}, b
is not optional in the inferred type.
On Tue, Sep 25, 2018 at 9:53 PM Andy<EMAIL_ADDRESS>wrote:

Why is it important that we infer a type for b that isn't present in the
actual value? Why not just write const someObj = { a: "", b: undefined }
and let the inferred type be { a: string, b: undefined }? That would be
assignable to { a: string, b?: number }.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/TypeScript/issues/27336#issuecomment-424406834,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVMSFRRDhZYaXT3Gwm9IhbUyoenwB8_lks5ueliYgaJpZM4W4TYb
.

Try adding "stict": true to your tsconfig to avoid the inferred type of b being any.

Sure I'll try that
On Wed 26 Sep, 2018, 12:21 AM Andy<EMAIL_ADDRESS>wrote:

Try adding "stict": true to your tsconfig to avoid the inferred type of b
being any.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/TypeScript/issues/27336#issuecomment-424458827,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVMSFU2nRANQ9fcRQFId4K86xYGmIJ6Oks5uensmgaJpZM4W4TYb
.


Wrong DragAdorner offset in TreeView

What steps will reproduce this issue?

Create a TreeView with parent & child items
Collapse childs
Drag with dd:DragDrop.UseDefaultDragAdorner="True"

Expected outcome
No offset of the dragged items
Environment

GongSolutions.WPF.DragDrop 2.2.0
Windows OS 10
.NET Framework 4.7.2

Hi punker76,
i want to back Suplanus issue, because i'm struggling with the behavior also. Drag groups with child items attached is a common requirement and the offset is challenging to the end user. I hope you will find the time to dig into the issue.
Thanks and regards.
Koepisch

First investigation result, I think this is a bug (or feature) in WPF. If I drag a collapsed TreeView, then the captured TreeViewItem is correct. If I expand and collapse this TreeViewItem again, then the captured visual is wrong, it's the expanded descended and not the collapsed. It feels like that there is a cache mechanism.

  What's happening is VisualTreeHelper.GetDescendantBounds() does not take into account the bounds (or lack thereof) of collapsed Visual elements.
I happened upon this whilst trying to figure out why the Highlight adorner would highlight the wrong amount of area when I'd collapsed a DataGridRow containing row details.
I've raised a case on the official WPF repo here.
In the mean time I have applied a workaround I have developed (detailed in the above case) to a separate branch, forked from develop, here.
I've also made alterations to DragDropExtensions.cs to try and correctly render the dragged item, which also fixes this issue (#346).
I have not created a pull request for all this yet as the reflection-based workaround is fairly horrifying, although it does appear to work as desired.  With that being said however, I'm not sure if there is a better way of working around this that wouldn't risk the behaviour starting to increasingly drift from the original VisualTreeHelper.GetDescendantBounds() method.
Let me know if you do actually want me to create a pull-request with these changes, @punker76.

@Metritutus First, really thank you for looking in to this bad issue. Indeed, reflections, ah damn :-)
After looking in your code I made an alternative with some ideas from your code: https://github.com/punker76/gong-wpf-dragdrop/tree/fix/346
I changed the implementation of GetVisibleDescendantBounds and created the bounds with the height of the DesiredSize.
And yeah, this works now for the collapsed TreeViewItem :-D
It would be nice if you can check this for collapsed DataGridRow  in a DataGrid, because I don't habe a good sample. If you have one then add it to this PR.

@punker76 The change in my original code was general purpose, it would work for the evaluation of any Visual with collapsed descendants (I've tested it working with DataGrid rows with collapsed row details).  The only other thing I needed to change for this issue was how the drag-drop preview image was being rendered (which fixes the preview looking squashed when dragging around a Visual containing collapsed components such as a TreeViewItem after using the new GetVisibleDescendantBounds() method).
I have also had a look at your change.  Because you're using VisualTreeHelper.GetDescendantBounds(), both the Width and the Location properties you're using would be affected by collapsed elements and thus potentially misaligned.
Looking at where you're using DesiredSize though, you could probably just replace what you have there with new Rect(0, 0, uiElement.DesiredSize.Width, uiElement.DesiredSize.Height).
However, although DesiredSize does seem to work in this case, it looks like it's calculated in a very different manner to how GetDescendantBounds() operates, not to mention that it depends on a Visual being a UIElement in order to correctly account for collapsed children.
On top of this, my understanding is that DesiredSize refers to how big a UIElement wishes to be, not how big it actually is after the whole layout process has completed.  ActualWidth and ActualHeight would probably be closer to what is needed, but they're on FrameworkElement, which would narrow the useful usability of the function further still.
As far as I can see, the reflection solution seems to remain the best approach to this in terms of reliability and minimising functional changes.  With any luck, Microsoft will come back with a positive response that either fixes this or adds a new method to VisualTreeHelper.  If that is the case then I've mentioned in the case that I'm happy to try and put together a pull request for WPF for whatever change is needed to ultimately address all of this.
In the mean time, having slept on this for a bit, I'll create a pull request with my changes for this repo.  If WPF gets updated to resolve this then the reflection workaround can then be removed later.


Fix($animate) : svg element with classNameFilter animation fix.

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
classNameFilter for animation with svg element should work same as the other elements.
What is the current behavior? (You can also link to an open issue here)
classNameFilter not working for svg element.
What is the new behavior (if this is a feature change)?
classNameFilter also handles svg element.
Does this PR introduce a breaking change?
NO
Please check if the PR fulfills these requirements

[ ] The commit message follows our guidelines: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#commit-message-format
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Other information:
This PR fix #14508 issue.
Fix($animate) : svg element with classNameFilter animation fix.

Looks good. I only wonder if getAttribute is much slower than className.

@Narretz can we do like this?
angular.isString(node.className) ? node.className : node.getAttribute('class')

I don't think it's worth the isString check. jQuery recently switched from className to get/setAttribute and actually reported it being faster: https://github.com/jquery/jquery/pull/2268


Added support of remote data

Idia is very simple, just look at the code below:
from mimesis.package import DataPackage

datapack = DataPackage(url='http://dataset.example/dir/dir/datapack.json')
data = datapack.get('super_data')

for item in data:
    # ...

This provider can be used extracting data from remote .csv, .json and .zip files.

@sobolevn @duckyou What do you think?

Datahub uses a similar way to get custom data: http://datahub.io/core/gold-prices#python

I would also make this a separate package.
Since it would require additional requirements:

requests
caching
possibly some others

@sobolevn So, I'll close this issue, because we'll not add it to mimesis. I will try to implement this as a separate package in my spare time.


Refactor RoomCharacter transmission

Should not send Connection IDs (Connected boolean is sufficient)

In fact, it probably doesn't even need the Connected boolean (can be derived from Ephemera subscription)


Fix reference flags

Not sure why Travis is having a fit. I'll take a look today/tomorrow morning. Thanks for the PR!

Example of use:
https://github.com/android/platform_frameworks_base/blob/master/packages/SystemUI/res/layout/heads_up.xml
android:layout_gravity="@integer/notification_panel_layout_gravity"


Java class is not being called in executable jar

When we use executable jar and run the feature file then the java class which we called from different package inside the feature file is not getting executed and giving below error:-

failed features:

js failed:
01: javaclass.getPayload(map)
<<<<
org.graalvm.polyglot.PolyglotException

sun.misc.Unsafe.ensureClassInitialized(Native Method)
java.lang.invoke.DirectMethodHandle$EnsureInitialized.computeValue(DirectMethodHandle.java:330)
java.lang.invoke.DirectMethodHandle$EnsureInitialized.computeValue(DirectMethodHandle.java:327)
java.lang.ClassValue.getFromHashMap(ClassValue.java:227)
java.lang.ClassValue.getFromBackup(ClassValue.java:209)
java.lang.ClassValue.get(ClassValue.java:115)
java.lang.invoke.DirectMethodHandle.checkInitialized(DirectMethodHandle.java:351)

I have attached a sample jar file which demonstrates this behaviour directly (i.e. by showing the content is empty when run from a jar)
Instructions.
unzip the karate-sample.zip jar file and open up the project in your ide.
Run the file TestApplication as a java app in the IDE.
The output of the test will indicate content:
19:27:29.878 [main] INFO  com.intuit.karate - [print] Request body---> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
SOAP-ENV:Header/
SOAP-ENV:Body
<ns3:GetShareholderMeetingRequest xmlns="http://syntel.nl/Epos/Common/ServiceContext" xmlns:ns2="http://www.able.eu/Epos/Common/SharedObjects" xmlns:ns3="http://syntel.nl/Epos/Custody/GetShareholderMeeting/Request">

2b14dd4f29ea8ba6
2
nl

RK88YA

1234

abcdef

ns3:shareholderMeeting
ns3:id12345</ns3:id>
</ns3:shareholderMeeting>
</ns3:GetShareholderMeetingRequest>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
19:27:30.617 [main] INFO  com.intuit.karate - [print]
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
SOAP-ENV:Header/
SOAP-ENV:Body
SOAP-ENV:Fault
SOAP-ENV:Server
An unexpected error occurred

<ns2:faultResponseMessage xmlns:ns2="http://syntel.nl/Epos/Common">
ns2:responses
ns2:response
ns2:code5054</ns2:code>
ns2:domainGetInternalIdByExternalId</ns2:domain>
ns2:parameter
ns2:descriptionEPOS Version</ns2:description>
ns2:id-1</ns2:id>
ns2:value<IP_ADDRESS></ns2:value>
</ns2:parameter>
ns2:parameter
ns2:descriptionEPOS RequestID</ns2:description>
ns2:id-2</ns2:id>
ns2:valuedc2d8bf0-5bde-446a-9b40-d67a934c334b</ns2:value>
</ns2:parameter>
ns2:parameter
ns2:descriptionConversationID</ns2:description>
ns2:id-3</ns2:id>
ns2:value2b14dd4f29ea8ba6</ns2:value>
</ns2:parameter>
ns2:serviceAuthorisationLogDA</ns2:service>
ns2:severityERROR</ns2:severity>
ns2:shortDescriptionInvalid ExternalIdentificationId: abcdef for type: EXTERNAL_1</ns2:shortDescription>
</ns2:response>
</ns2:responses>
ns2:version8030400</ns2:version>
</ns2:faultResponseMessage>

</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

feature: src/main/resources/features/Test2.feature
scenarios:  1 | passed:  1 | failed:  0 | time: 3,3617
19:27:31.622 [main] INFO  com.intuit.karate.Suite - <> feature 1 of 1 (0 remaining) src/main/resources/features/Test2.feature
Karate version: 1.0.1
elapsed:   8,86 | threads:    1 | thread time: 3,36
features:     1 | skipped:    0 | efficiency: 0,38
scenarios:    1 | passed:     1 | failed: 0
[======================================================]
Now run the maven clean install
karate-sample.zip
build, this will build out an executable jar called: sample-test-jar-with-dependencies.jar
Run this as a java jar file: java -Depos.environment=testbe2 -Depos.version=320 -Dkarate.env=develop
ment -jar target\sample-test-jar-with-dependencies.jar
The output of the test now is :

failed features:

js failed:
01: javaclass.getPayload(map)
<<<<
org.graalvm.polyglot.PolyglotException

sun.misc.Unsafe.ensureClassInitialized(Native Method)
java.lang.invoke.DirectMethodHandle$EnsureInitialized.computeValue(DirectMethodHandle.java:330)
java.lang.invoke.DirectMethodHandle$EnsureInitialized.computeValue(DirectMethodHandle.java:327)
java.lang.ClassValue.getFromHashMap(ClassValue.java:227)
java.lang.ClassValue.getFromBackup(ClassValue.java:209)
java.lang.ClassValue.get(ClassValue.java:115)
java.lang.invoke.DirectMethodHandle.checkInitialized(DirectMethodHandle.java:351)

karate-sample.zip

tagging this as help wanted - not considered a priority. we've had enough headaches with JAR files, refer #520

@rohit1212s there's no way I will consider this as a "simple" example, please read the instructions and try again: https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue

in case this makes sense and saves you time - please try this:
graal prevents you from loading a java class in some situations (which are not clear to me) and I think a JAR file is one of them
so your solution could be that you should instantiate the java class before-hand (say from your JUnit / Java runner) and figure out a way to pass it to your karate feature - how exactly I don't know and it may need changes to karate. and this is certainly not a priority for me

@rohit1212s are you sure you uploaded the right zip file ? your instructions don't match what I am seeing. please try again

Hi Peter,
Thanks for your quick turnaround. I resolved the issue yesterday night
itself. The method which was throwing an exception I put in the try-catch
block then it started working again. But the only weird thing was that it
throws an exception when it runs from a jar file but if I run it with maven
test or from the Junit or from feature then it doesn't throw any exception.
Only if I run from the jar then only it throws an exception. Though your
help was much appreciated. without your help I could not have created the
jar file. Thanks a ton!
Thanks and Regards,
Rohit Kumar
On Wed, Jun 23, 2021 at 8:22 PM Peter Thomas @.***>
wrote:

@rohit1212s https://github.com/rohit1212s are you sure you uploaded the
right zip file ? your instructions don't match what I am seeing. please try
again
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/intuit/karate/issues/1660#issuecomment-867060611, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AJYEKQ47VK3M36DNCHMTCVDTUIQ65ANCNFSM47EEYXIQ
.


I can't stop the video once is started or see any option of the videoplayer menu.

I'm submitting a ...

[] bug report
[ ] feature request
[X] support request

General information
I'm running kodi 18 in raspbian strech in a raspberry pi b 3
Prerequisites

[X] Are you running the latest version?
0.13.13

Description
[Description of the bug or feature]
I cannot stop the videoplayer once the serie/movie is started o even call someone of the video player options for stop, play, subtitles, etc.
Steps to Reproduce

[First Step]
Install the plugin version 0.13.13
[Second Step]
Play any serie/movie

Expected behavior: [What you expected to happen]
Stop the video or showing the videoplayer menu.
Actual behavior: [What actually happened]
Fade out screen to black
Context (Environment)
I was able to compile and install kodi 18.0.BETA3 in raspbian stretch and install it some binary addons (inputstream.adaptive and inputstream.rtmp) in order to run this pluging.
Installation

[ ] I installed the plugin via zip from the Releases page
[X] I´m using the Netflix Repo
[ ] I´m using a different source (Please tell which)

Operating System

[ ] Linux (x86/x64)
[ ] OSX (x86/x64)
[ ] Windows (x86/x64)
[X] Linux (ARM)
[ ] Android

Additional informatin on the environment
I installed Retropie 4.4 which is based on Raspbian Stretch and compile Kodi 18 with the binary extra addons instead of the Kodi 17.3 available in this distribution.

I have the same issue. Have you found a fix?

Yes, the problem was the kodi default skin if you change it to aeon nox for example the menu it's fixed.

Yes, the problem was the kodi default skin if you change it to aeon nox for example the menu it's fixed.

It worked! How can this issue has not been reported yet? It's weird, there's no indication in README about any incompatibility between the add-on and the default skin.
I also have Kodi installed from RetroPie. Could the issue has anything to do with it?

I don't know, maybe this should be posted in the kodi forum insted here because  the problem isn't the plugin itself but the kodi skin, I don't have much time to find a solution but I think the issue is related with the size of the pictures, because only happens in some screen resolutions, for example in my small monitor the plugin works fine but in my 55' smart tv won't)
Obtener Outlook para Androidhttps://aka.ms/ghei36

From: Arthur Pinheiro<EMAIL_ADDRESS>Sent: Wednesday, February 13, 2019 1:19:05 AM
To: asciidisco/plugin.video.netflix
Cc: carlosricardocm; Author
Subject: Re: [asciidisco/plugin.video.netflix] I can't stop the video once is started or see any option of the videoplayer menu. (#487)
Yes, the problem was the kodi default skin if you change it to aeon nox for example the menu it's fixed.
It worked! How can this issue has not been reported yet? It's weird, there's no indication in README about any incompatibility between the add-on and the default skin.
I also have Kodi installed from RetroPie. Could the issue has anything to do with it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/asciidisco/plugin.video.netflix/issues/487#issuecomment-463087042, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AArQMIg0SqGcGF0U6bYRKCRoKxg8g0Xuks5vM7xpgaJpZM4W9slU.

Do you have an idea of what resolution can work with the default skin?

Sorry, I did the test a long time ago.
But, you can test it in smaller resolutions.


docs(website): use docusaurus instead of GitBook

Move from GitBook to docusaurus.
#293
TODO

[ ] Update index page layout
[ ] Move example
[x] Disable GitBook deploy temporaly

I've created migration tool gitbook to plain markdown

https://github.com/azu/gitbook-plugin-include-codeblock/pull/60

I've added a workaround for redirect script https://github.com/almin/almin/pull/304/commits/53d9be14f33ce79f79acd8251c7bea0a9b5b4bc4

https://github.com/facebook/Docusaurus/issues/292


Avoiding Spack error

This is to avoid Benchpark configs running into https://github.com/spack/spack/issues/44533, once that issue is resolved, we can advance the pinned Spack commit.


fix(mu4e): make alerts work again

At some point in the original PR alerts stopped working. I've finally
tracked down why and found three components to the problem:

I'm calling start-process incorrectly
truncate-string-to-width is called on nil when no from name is
given
mu4e-alert uses :docid to check for duplicates, which is not provided
in mu 1.6, and so :message-id must be used instead.

LGTM. Thanks again!


Change group name from com.eed3si9n to com.sbt or equivalent

I was looking for an official sbt-assembly plugin and landed on this page. However, the group name com.eed3si9n looks very unofficial to me. Hoping to see a more official like group name is possible in the future release.

What does official mean? The one published by me is the de facto standard.

What does official mean? The one published by me is the de facto standard.

Well, you should mention this in your README and explain why the group name is not 'com.sbt'.

What does official mean? The one published by me is the de facto standard.

Also explain why the copy right looks like this.
'Copyright (c) 2010-2014 e.e d3si9n, Coda Hale'

sbt plugins in general are mostly maintained by individual volunteers.

Lmao, it's forcefully closed without any explanations. This is why people should never, don't even bother to, use any unofficial libraries for any production applications.

I suggest you to learn from them, instead of owning a personal project to satisfy your own ego.

scientists have identified a new, more virulent form of the Open Source Entitlement virus and wish to warn the public that the mutation be spreading in the wild

I suggest you to learn from them, instead of owning a personal project to satisfy your own ego.

??? learn from them?! 🤔  Sure you should learn from Eugene.
He spends his life on OpenSource projects so that people like you and me can use them.

@Kevin-Lee Sure, I appreciate his efforts on this. Sure, tons of open source projects are developed and maintained by individual volunteers.
But for this particular one, sbt-assembly, "The one published by me is the de facto standard." ??? By "me", really? What I saw was a fork from an old repo, and has dozens of other great engineers also made contribution.
I should learn from Eugene for what?

(By the way, I'm not using this plugin unless the organization name changes.  No one else is merging pull requests, or cutting releases. If the organization name reflects that and makes people uncomfortable, I think I've communicated the situation fine.
Also in general, sbt-assembly should not be used that widely. sbt-native-packager is where it's at.


When I catkin_make the navigation's codes,there are some errores occured.

When I catkin_make the navigation's codes,there are some errores occured.
Now,I am trying to use the navigation's codes,but some errores comed.
The source is https://github.com/ms-iot/navigation.
I can't complie the code.I hope some persons can help me.Thanks very much.

NMAKE : fatal error U1073: don't know how to create “gtest-NOTFOUND”
Stop.
NMAKE : fatal error U1077: “"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\nmake.exe"”: return code“0x2”
Stop.
NMAKE : fatal error U1077: “"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\nmake.exe"”: return code“0x2”
Stop.
Invoking "nmake" failed
If you have any ideas,please tell me.Thanks very much.

Hi there,
Did you run rosdep in the catkin directory?
rosdep update
rosdep install --from-paths src --ignore-src -r -y

I did it just now.But there are some problems:

rosdep install --from-paths src --ignore-src -r -y
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
navfn: No definition of [netpbm] for OS [windows]
Continuing to install resolvable dependencies...
#All required rosdeps installed successfully

And I install the netpbm by pip.There are some errors.
2.  C:\navigation_ros>pip install netpbm
Collecting netpbm
Using cached https://files.pythonhosted.org/packages/e4/85/5922ed47c1cfd659b7cff42fe17749bd4e08ad4bf2cc3f318d3236670b17/netpbm-0.0.1.zip
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "c:\users\syx\appdata\local\temp\pip-install-sop3x9\netpbm\setup.py", line 54, in
with open(str(MODULE_PATH), "r", encoding="utf-8") as source_code_file:
TypeError: 'encoding' is an invalid keyword argument for this function
----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in c:\users\syx\appdata\local\temp\pip-install-sop3x9\netpbm
You are using pip version 18.1, however version 19.1.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
Thanks for your answer.

@budongyue
Did you try to checkout the navigation code init_windows branch? For example, https://github.com/ms-iot/navigation/tree/init_windows?
We typically don't directly check-in changes to melodic-devel and we push the windows specific changes to init_windows instead.

seanyen
Yes,you are right.Thanks very much.I have successed.

@seanyen
Yes,you are right.Thanks very much.

@budongyue Sounds good. I will close this issue. And thanks for your confirmation.


Nullable is not working in to_struct()

class Person(models.Base):
    nickname = fields.StringField(nullable=True)
person = Person()
>>> person.to_struct()
{
    'nickname': None,
}

If you try to reproduce the example above from your documentation (Person with nullable Nickname to_struct()) it will return nothing, and not a 'nickname': None.
That's because there's no nullable verification in parser.py to_struct() function. Could you add it please, like in the example below?
def to_struct(model):
    """Cast instance of model to python structure.

    :param model: Model to be casted.
    :rtype: ``dict``

    """
    model.validate()

    resp = {}
    for _, name, field in model.iterate_with_name():
        value = field.__get__(model)
        if value is None and not field.nullable:
            continue

        value = field.to_struct(value)
        resp[name] = value
    return resp

Hey, thanks @buriedguns - I understand the problem, will look into it :)

Hey, thanks @buriedguns - I understand the problem, will look into it :)


sat-stac vs pystac

I see this uses sat-stac, but isn't the COG gang mostly using pystac now?    Or doesn't it matter for this application?
ping @matthewhanson

The short answer is that we started work on Intake-stac before pystac began development (https://github.com/azavea/pystac/commit/1fe88114bb30fc58692d77a92e8e08b80ad47ef8). @matthewhanson and I have talked a bit about the future of sat-stac but for now, we have sat-stac as a dependency. If there was interest, we could explore adding pystac support (either as a replacement for or in addition to sat-stac.

Thanks for the explanation @jhamman!

I'm going to reopen this since I think it'll be relevant in the coming months as the STAC spec approaches a 1.0 release:
https://medium.com/radiant-earth-insights/stac-0-9-0-release-our-final-major-release-before-1-0-beta-17467953e45e
We should probably keep the dependencies of intake-stac limited to one or the other.

closed by #72


Favorite Commands

I apologize in advance if a feature or a feature request exists for this already, I couldn't find anything similar in the backlog.

I find myself searching for a same commands several times in the command palette.
What would improve my user experience and be really cool is:

Mark a command in the Command Palette as favorite
Allow the assignment of keyboard shortcuts to a favorite command
Allow to group the favorite commands under a new menu item.
e.g. Favorite Commands
Command 1    -keyboard-shortcut-
Command 2   -keyboard-shortcut-

Allow the assignment of keyboard shortcuts to a favorite command

You can change or assign (additional) shortcuts to most of the commands with  >Preferences: Open Keyboard Shortcuts in Command Palette already.


How can I disable the month dropdown?

I want the month and year to be static values, but month is a dropdown and year is an input. How can I achieve this?

Hey @ohtanya
The easiest way to do that is revert to v4.5.7 which doesn't have the month dropdown.

@chmln I'm actually using the react component https://github.com/haoxins/react-flatpickr, so I'm not sure how to avoid using the latest version. I even tried to update all instances of<EMAIL_ADDRESS>to<EMAIL_ADDRESS>but that didn't work.

@ohtanya in that case the easiest way to solve this is just forking react-flatpickr and pinning the version in package.json to "flatpickr": "4.5.7"

I would like to disable it too. But looks like if I pin it to 4.5.7, I will be missing the bug fixes and improvements?

Hadn't realized this might be such a big problem. @chmln can I go ahead with an option to disable the month and year selectors respectively?
Something like:
monthSelectorType: dropdown|static
yearSelectorType: input|static

@viorelsfetea Yes, although the option for the year seems not necessary just yet

@viorelsfetea
I was looking for this option great work by the way.
Is this already working and good to use?

Static Month and Year and only have the left and right arrow to change month. That would be very useful for me.

This has been released in v4.6.2

This has been released in v4.6.2

What about the year? :)

Thanks for adding the monthSelector!
In my use case only dates in the near future are picked. Disable the year too would be a real benefit for me, because no one chooses a date a year ahead. If so, they could still click the arrow a couple of times…

Hadn't realized this might be such a big problem. @chmln can I go ahead with an option to disable the month and year selectors respectively?
Something like:
monthSelectorType: dropdown|static
yearSelectorType: input|static

But if we set 'showMonths': 2(or more), option 'monthSelectorType': 'dropdown' doesn't work. Help me please, how can I do it

?

I am looking for the same solution regarding disabling the year being input as no one will select a year ahead, it would be good just to have the left and right arrows. I have done monthSelectorType: "static" and works perfect for the month but the year is a input field and on hover it shows the up and down arrows to change the year to a year in the future. Is there any solution yet on version 4.6.3?

+1 for the yearSelectorType option

For the month drop down, monthSelectorType: "static",
to disable the year input you can use the cur-year class in css and make the  pointer-events to none and it's disabled, about the arrows use both classes arrowUp and arrowDown display none and they're gone

Also, .flatpickr-months{display:none;} works pretty well.

Hadn't realized this might be such a big problem. @chmln can I go ahead with an option to disable the month and year selectors respectively?
Something like:
monthSelectorType: dropdown|static
yearSelectorType: input|static

But if set 'showMonths': 2(or more) then option 'monthSelectorType': 'dropdown' doesn't work. Help me please, how can I do it?


Add an option to disable the new Copilot Recall feature (You made a video on this yourself, its basically Spyware).

Is your feature request related to a problem? Please describe.
 Simple as that, lol.
Describe the solution you'd like
Remove the Recall Copilot feature. (Again, basically spyware.)
This may be possible by doing these steps

but there's probably a way of fully removing Copilot in some other way.
Describe alternatives you've considered
N/A?
 This is mandatory!

The issue is now fixed in Tweaks page overhaul. Is there anything else to solve?

The issue is now fixed in Tweaks page overhaul. Is there anything else to solve?

It appears that this, Edge, and OneDrive aren't fully removed.
https://github.com/ChrisTitusTech/winutil/issues/2089

Ugh.


Should allow same sandbox name for different Studies

Right now, there is a name check when creating a Sandbox, it will prevent using a Sandbox name that has been used in another study, but that does not give any sense. It should be allowed to have the same sandbox name twice, if it is in two different studies

Allready fixed