Throttling behavior may cause some events to be missed

Versions (please complete the following information):

Chokidar version: v3 and current v4 beta
Node version: N/A
OS version: N/A

To Reproduce:
I don't currently have a test case for this.
Expected behavior
A change event should be fired every time some set of changes is made to a file. It need not be fired for every change that is made, but Chokidar should not miss any changes.
Currently, the throttling behavior drops any changes that occur within 5ms of an earlier change. This means that if a file changes, and another change occurs within 5ms, only the first change will ever be recorded. This could potentially be the cause of https://github.com/paulmillr/chokidar/issues/1297.
I believe there are a few solutions:

Throttle on the trailing edge, rather than the leading edge (that is, emit the event on the last change within the 5ms window, not the first). This would add a 5ms delay to all events.
Emit events on the leading and trailing edge. This would allow events to be processed with no delay, but would result in duplicate change events being fired on Windows.
Automatically switch between the above two behaviors depending on the platform.
Throttle on the trailing edge, but reduce the time window to 1-2ms. On my machine, Windows-fired duplicate change events occur within 1-2ms of each other, but I do have a pretty fast SSD. I'm not sure how the timing would be affected by hardware.

It looks like this is also implemented as awaitWriteFinish in the current version--might it be worth simply building this into the throttling behavior by default?


Pico flash size bytes (fix #134)

Looking at the other #define values in platform_defs.h, should XOSC_MHZ also be moved elsewhere? The RP2040 datasheet says "The RP2040 supports 1MHz to 15MHz crystals" so I guess XOSC_MHZ might be a board-level thing rather than a platform-level thing?

Looking at the other #define values in platform_defs.h, should XOSC_MHZ also be moved elsewhere? The RP2040 datasheet says "The RP2040 supports 1MHz to 15MHz crystals" so I guess XOSC_MHZ might be a board-level thing rather than a platform-level thing?

Yeah the initial clock setup needs more thought in general, e.g. we should be able to support systems with no crystal at all, but currently that requires you to modify or roll your own runtime_init. It should also be hoisted up over the data init in crt0 to speed that up. I'll open an issue for it

fixes #134


Add Washington DC forecast

Data should exist, so I believe this is just a mapping issue.  Ping me for more context

The other oddity I noticed was that when you mouse-over Washington DC, the hover text reads "Blank US States Map"...
And there's a grey dot over it, which made me want to check it out even more (I assume once we have values and policy, it will be colored accordingly)

For the DC tooltip, it looks like its missing a  tag inside its . I think it was missed due to an extra nesting layer that DC's  tag is wrapped inside of a 'class="DC state"' to have a  and a , as DC is so small at this scale.
As for the "Blank ..." tooltip which shows up when you mouse over unlabeled areas, looks like that comes from the top-level  field directly inside the . I supposed you could make it " " so that the oceans/great lakes don't yield any tooltip popup.

This is now live!


Prepare next release: 1.1.1

I don't have anything pending for making a new release, let's make one :-)
Any objections @bnoordhuis, @piscisaureus ?

No objections from me.

None from me either.

Should it be 1.2.0 because of
https://github.com/libuv/libuv/commit/025602da138ec9ca908f9303427903ea1dc06494 ?

It's kind of a bugfix + a feature, we can make it 1.2.0 no problem.
Since you just landed the MinGW build fix I plan to make the release tonight.

025602d tries very hard to be both binary and source compatible.  But bumping either minor or patch is fine by me.

1.2.0 it is! https://groups.google.com/forum/#!topic/libuv/czPFocTAn_c


[Feature Request] Add "options" page for configuring certain features

I love this extension, it has a ton of things that are quite useful. However, there are one or two things I wish I could opt in/out of. In particular I like seeing the "starred" activity in the feed. However, I would love to be able to toggle on/off the comment activity in the feed, because in my own workflow I look at that activity elsewhere (usually on a repo-by-repo basis). Just a couple examples of where configurable options would be a great addition, IMHO.
Seems like there's also a good use-case for this configurability with many other existing and requested features.
Thanks for yet another great project, @sindresorhus!

@therealklanni Please see here: #57

Explained more in https://github.com/sindresorhus/refined-github/issues/10#issuecomment-184663384, https://github.com/sindresorhus/refined-github/issues/75#issuecomment-195170518 and https://github.com/sindresorhus/refined-github/issues/131#issuecomment-203949498


[bug] Terminals sometimes "leak" water

I hit this during the implementation of #1849, where edges to Terminals have negative flows when checked in update_cumulative_flows! using the flow from flow_update_on_edge. For example in the HWS model I get the following:
┌ Warning: Terminal #5415 has flow of -338.54177272319794 at 6.862248444895375e6 for a timestep of 91.35735275302858
└ @ Ribasim /Users/evetion/code/Ribasim/core/src/callback.jl:205
┌ Warning: Terminal #5415 has flow of -85.64921969175339 at 6.862339802248128e6 for a timestep of 91.35735275302858
└ @ Ribasim /Users/evetion/code/Ribasim/core/src/callback.jl:205
┌ Warning: Terminal #5415 has flow of -8.970432549715042 at 6.862431159600881e6 for a timestep of 91.35735275302858
└ @ Ribasim /Users/evetion/code/Ribasim/core/src/callback.jl:205
┌ Warning: Terminal #5415 has flow of -0.8940373957157135 at 6.862489481604243e6 for a timestep of 58.32200336178765
└ @ Ribasim /Users/evetion/code/Ribasim/core/src/callback.jl:205
┌ Warning: Terminal #5415 has flow of -0.9066413938999176 at 6.862868324295173e6 for a timestep of<PHONE_NUMBER>304897
└ @ Ribasim /Users/evetion/code/Ribasim/core/src/callback.jl:205
┌ Warning: Terminal #5415 has flow of -0.1415431797504425 at 6.863247166986104e6 for a timestep of<PHONE_NUMBER>304897
└ @ Ribasim /Users/evetion/code/Ribasim/core/src/callback.jl:205
┌ Warning: Terminal #5415 has flow of -0.06280365586280823 at 6.8643238840039205e6 for a timestep of 1076.7170178166448
└ @ Ribasim /Users/evetion/code/Ribasim/core/src/callback.jl:205
┌ Warning: Terminal #5415 has flow of -0.009804785251617432 at 6.865400601021737e6 for a timestep of 1076.7170178166448
└ @ Ribasim /Users/evetion/code/Ribasim/core/src/callback.jl:205
┌ Warning: Terminal #5415 has flow of -3.9677118062973022 at 6.882244989985872e6 for a timestep of 0.059130550789141804
└ @ Ribasim /Users/evetion/code/Ribasim/core/src/callback.jl:205
┌ Warning: Terminal #5415 has flow of -0.628738522529602 at 6.882245101221386e6 for a timestep of 0.11123551420152002
└ @ Ribasim /Users/evetion/code/Ribasim/core/src/callback.jl:205
┌ Warning: Terminal #5415 has flow of -1.5169505487529635e6 at 8.982259552166957e6 for a timestep of 3340.4478330416605
└ @ Ribasim /Users/evetion/code/Ribasim/core/src/callback.jl:205
┌ Warning: Terminal #5415 has flow of -2858.7084048986435 at 9.849623705491675e6 for a timestep of 23.70549167560891
└ @ Ribasim /Users/evetion/code/Ribasim/core/src/callback.jl:205
...

This is the Terminal at Herentals in the HWS model with an Outlet(!) before it (the only Terminal one to show such behaviour). I can imagine this happens during smaller timesteps to balance the problem, and you'll never see this on the larger saveat timesteps. Given the rather large flows/timesteps in the above, this should be investigated (could also be a bug in the code to check such flows).

To reproduce, insert the following snippet into update_cumulative_flows or see #1849.
    for (inflow_edge, outflow_edge) in zip(state_inflow_edge, state_outflow_edge)
        from_flow = inflow_edge.edge[1]
        to_flow = outflow_edge.edge[2]
        if from_flow.type == NodeType.Basin
            flow = flow_update_on_edge(integrator, inflow_edge.edge)

I cannot get your snippet to work. Can you maybe make such a snippet a PR on main that would fail the HWS integration test by checking for negative flows?
I tried reproducing by running the HWS model with saveat=0:
starttime = 2023-01-20 00:00:00
endtime = 2023-05-30 00:00:00
crs = "EPSG:28992"
input_dir = "."
results_dir = "results"
ribasim_version = "2024.10.0"

[solver]
autodiff = false
saveat=0
water_balance_abstol = 1e30 # optional, default 1e-3
water_balance_reltol = 1e20 # optional, default 1e-2

But I don't find any leaky Terminal nodes:
import ribasim

model = ribasim.Model.read(r"d:\repo\ribasim\Ribasim\models\hws\minio\hws.toml")
terminals = model.node_table().df[model.node_table().df.node_type == "Terminal"].index.to_numpy()

flow = pd.read_feather(
    r"d:\repo\ribasim\Ribasim\models\hws\minio\results\flow.arrow",
    dtype_backend="pyarrow",
)
flow = flow[flow.to_node_id.isin(terminals)]
flow.flow_rate.min()  # 0.0
flow.flow_rate.max()  # 31.31

What about this on main?
diff --git core/src/callback.jl core/src/callback.jl
index 8990d86f..c3bf1d2c 100644
--- core/src/callback.jl
+++ core/src/callback.jl
@@ -92,7 +92,14 @@ Update with the latest timestep:
 """
 function update_cumulative_flows!(u, t, integrator)::Nothing
     (; p, uprev, tprev, dt) = integrator
-    (; basin, user_demand, flow_boundary, allocation) = p
+    (;
+        basin,
+        user_demand,
+        flow_boundary,
+        allocation,
+        state_inflow_edge,
+        state_outflow_edge,
+    ) = p
     (; vertical_flux_bmi, vertical_flux_from_input) = basin

     # Update tprev
@@ -150,6 +157,25 @@ function update_cumulative_flows!(u, t, integrator)::Nothing
             end
         end
     end
+
+    for (inflow_edge, outflow_edge) in zip(state_inflow_edge, state_outflow_edge)
+        from_flow = inflow_edge.edge[1]
+        to_flow = outflow_edge.edge[2]
+        if from_flow.type == NodeType.Basin
+            flow = flow_update_on_edge(integrator, inflow_edge.edge)
+            if to_flow.type == NodeType.Terminal && flow < 0 && to_flow.value != 0
+                @warn "Unsupported inflow type $(to_flow.type) #$(to_flow.value) with flow $flow"
+            end
+        end
+
+        if to_flow.type == NodeType.Basin
+            flow = flow_update_on_edge(integrator, outflow_edge.edge)
+            if from_flow.type == NodeType.Terminal && flow > 0 && from_flow.value != 0
+                @warn "Unsupported outflow type $(from_flow.type) #$(from_flow.value) with flow $flow"
+            end
+        end
+    end
+
     return nothing
 end

Just a thought, it could be my mac here, producing slightly different stuff than linux/windows here. Then again seeing ┌ Warning: Unsupported inflow type Terminal #5415 with flow -2858.7084048986435 is bad.

#1856 shows this reproduces on CI and @evetion managed to reproduce locally based on the results as well:

They are very short negative spikes so likely not much impact on the water balance.

Earlier I couldn't reproduce just because I didn't run quite long enough to hit the error.
I saw that ImplicitEuler doesn't have this issue, but is taking much much longer, e.g. 30 minutes instead of 10 seconds or so.
It started getting slow in March as the Meuse started surging. Note in the picture above that this Outlet that goes to the Terminal is under DiscreteControl based on Monsin. The HWS still has huge DiscreteControl tables for Rhine and Meuse. This is known to be problematic, and we need to replace these with ContinuousControl instead. I quickly tried removing DiscreteControl altogether, but unfortunately that didn't eliminate the leaky Terminal.


Raspberry Pi Docker Image - USB Audio issues

Hi guys, thanks for all the help thus far.  I am at a point where I test with transcribe stream.  I am using a USB sound card and its set as default on the Raspberry Pi in Alsamixer.
When running the voice2json transcribe-stream, I am reveiving this response.
pi@raspberrypi:~ $ voice2json transcribe-stream
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5047:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2564:(snd_pcm_open_noupdate) Unknown PCM default
arecord: main:828: audio open error: No such file or directory
I have seen an issue that is still open and looked at that and ran the following , with no joy...
pi@raspberrypi:~ $ voice2json transcribe-stream --device /dev/snd:/dev/snd
usage: voice2json [-h] [--profile PROFILE] [--base-directory BASE_DIRECTORY]
[--certfile CERTFILE] [--keyfile KEYFILE]
[--setting SETTING SETTING] [--machine MACHINE] [--debug]
{print-version,print-profile,print-downloads,print-files,train-profile,transcribe-wav,transcribe-stream,recognize-intent,record-command,wait-wake,pronounce-word,generate-examples,record-examples,test-examples,show-documentation,speak-sentence}
...
voice2json: error: unrecognized arguments: --device /dev/snd:/dev/snd
pi@raspberrypi:~ $
somehow the docker image isnt working from the usb sound device, but I am slightly lost.

Looks like you're getting close :)
The --device argument is meant for the docker run command. Having Docker see your microphone can be a tough thing, so you may just want to pipe audio in via standard in:
$ arecord -r 16000 -f S16_LE -c 1 | voice2json transcribe-stream --audio-source -

You can pass -D to arecord to change the device (see arecord -L for a list).
You might also try editing the voice2json Docker script and removing the --user argument. That runs the Docker container as your current user, but I've found it sometimes won't be able to access my microphone. Beware that your voice2json profile will be owned by root if you do this.

Thank you so much for the rapid response will do that first thing in the AM
as its currently 21:18 South Africa Time.
On Thu, 09 Jul 2020, 20:53 Michael Hansen<EMAIL_ADDRESS>wrote:

Looks like you're getting close :)
The --device argument is meant for the docker run command. Having Docker
see your microphone can be a tough thing, so you may just want to pipe
audio in via standard in:
$ arecord -r 16000 -f S16_LE -c 1 | voice2json transcribe-stream --audio-source -
You can pass -D to arecord to change the device (see arecord -L for a
list).
You might also try editing the voice2json Docker script and removing the
--user argument. That runs the Docker container as your current user, but
I've found it sometimes won't be able to access my microphone. Beware that
your voice2json profile will be owned by root if you do this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/synesthesiam/voice2json/issues/21#issuecomment-656293865,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOR357256MIBCRX64DGGBMTR2YGZNANCNFSM4OV2JHXA
.

Ok so First I try
pi@raspberrypi:~ $ arecord -r 16000 -f S16_LE -c 1 | voice2json
transcribe-stream --audio-source -
Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 16000 Hz, Mono
{"text": "", "likelihood": 0, "transcribe_seconds": 0, "wav_seconds": 0,
"tokens": null, "timeout": false}
{"text": "", "likelihood": 0.19661878419905868, "transcribe_seconds":
2.973578785999962, "wav_seconds": 0.00475, "tokens": [{"token": "",
"start_time": 3.13, "end_time": 3.57, "likelihood": 0.9996000336374518},
{"token": "", "start_time": 3.58, "end_time": 4.29, "likelihood":
1.0}], "timeout": false}
{"text": "", "likelihood": 0, "transcribe_seconds": 0, "wav_seconds": 0,
"tokens": null, "timeout": false}
{"text": "", "likelihood": 0, "transcribe_seconds": 0, "wav_seconds": 0,
"tokens": null, "timeout": false}
I can see the usb audio blinking and cpu doing routines but I cannot
figure it out if it understood the word.  I used the word "start"
Then I tried
pi@raspberrypi:~ $ arecord -r 16000 -f S16_LE -c 1 | voice2json
transcribe-stream | voice2json recognize-intent
Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 16000 Hz, Mono
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_card_driver
returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_concat
returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer
returned error: No such file or directory
ALSA lib conf.c:5047:(snd_config_expand) Evaluate error: No such file or
directory
ALSA lib pcm.c:2564:(snd_pcm_open_noupdate) Unknown PCM default
arecord: main:828: audio open error: No such file or directory
read unix @->/var/run/docker.sock: read: connection reset by peer
I have come far with this attempt, while I wait on reply I will setup
another card with the armhf deb package and see If I can get to this part
which I have not been able to do with the debian package for some off
reason.
Many thanks for you help so far
On Thu, 9 Jul 2020 at 20:53, Michael Hansen<EMAIL_ADDRESS>wrote:

Looks like you're getting close :)
The --device argument is meant for the docker run command. Having Docker
see your microphone can be a tough thing, so you may just want to pipe
audio in via standard in:
$ arecord -r 16000 -f S16_LE -c 1 | voice2json transcribe-stream --audio-source -
You can pass -D to arecord to change the device (see arecord -L for a
list).
You might also try editing the voice2json Docker script and removing the
--user argument. That runs the Docker container as your current user, but
I've found it sometimes won't be able to access my microphone. Beware that
your voice2json profile will be owned by root if you do this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/synesthesiam/voice2json/issues/21#issuecomment-656293865,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOR357256MIBCRX64DGGBMTR2YGZNANCNFSM4OV2JHXA
.

Got the system working with deb package and correctly configuring usb audio device

Old issue - but for anyone who had issues with getting audio with docker going, i had success with a quick demo setup here: https://github.com/jonnyAnd/voice2json-Docker-Compose


Fixes tweets for app following new loklak api and loads tweets over HTTPS

Fixes #1229
Changes: Changes the query format from eg fossasia%20from:fossasia to fossasia&from:fossasia. Also loads the tweets over HTTPS for loading the tweets for urls using HTTP.
Screenshots for the change:

Demo: https://geekyd.github.io/eventApplication
@mariobehling @aayusharora @Princu7 Please review it. Thanks

Codecov Report

Merging #1250 into development will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           development    #1250   +/-   ##
============================================
  Coverage        65.28%   65.28%
============================================
  Files                9        9
  Lines             1515     1515
  Branches           224      224
============================================
  Hits               989      989
  Misses             526      526

Continue to review full report at Codecov.

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

This was a bad idea.

Please revert the query format change

@Orbiter The loklak api was not returning any tweets for FOSSASIA even when the tweets were available using the format fossasia%20from:fossasia. Can you please elaborate why we should revert to the old format?


Using Enum in FormFlow. Error when deployed to Telegram and Facebook

Bot Info

SDK Platform: .NET
SDK Version: 3.14
Active Channels: Telegram, Facebook, Web Chat, Emulator
Deployment Environment: Azure

Issue Description
Everything works well in Emulator, Test in Web Chat and Web Chat (on the azurewebsites.net). Failed in Telegram and Facebook Messenger with codes :
Telegram error message
{"ok":false,"error_code":400,"description":"Bad Request: message must be non-empty"}
Facebook error message
{"error":{"message":"(#100) Param name_placeholder[elements][0][title] must be a non-empty UTF-8 encoded string","type":"OAuthException","code":100,"fbtrace_id":"CK5TPveI0SR"}}
Code snippet
return new FormBuilder<CrucialInfo>()     .Message(PromptSetImportantPersonalNFOAsk)     .Field(new FieldReflector<CrucialInfo>(nameof(AskContinue))     .SetPrompt(new PromptAttribute(PromptExistingDataOnRecord + " {||}") { ChoiceStyle = ChoiceStyleOptions.Auto })     .SetFieldDescription(new DescribeAttribute(DescribeSetImportantPersonalNFOAsk))     .SetNext((value, x) =>         {             x.AskContinue = (ContinueCommand)value;             if (x.AskContinue== ContinueCommand.Yes)             {                  return new NextStep(new[] { nameof(Identity) });              }             else if (x.AskContinue == ContinueCommand.No)             {                 return new NextStep(StepDirection.Quit); // Caller will handle the exception: FormCanceledException             }             else              {                  return new NextStep(new[] { nameof(AskContinue) }); } //Todo: how to handle this? Or simply else and not else if above (and remove this)             }))
Did this
Looking at Nov. 2016 issue #1678, I played around with .Message, Describe-Title and test all possibility on ChoiceStyle = ChoiceStyleOptions.Auto
What works on both Telegram and Facebook
ChoiceStyle = ChoiceStyleOptions.PerLine
So, the option for Yes and No no more shown as buttons but in text
1 Yes
2 No
Note: PromptExistingDataOnRecord is some text and {*}
On Facebook Messenger, the option 1 Yes and 2 No shown as above (in rows) after the {*} content and include a CR/LF. On Telegram, the option presented in-line with the last entry of the {*} content and 1 Yes, 2 No in the same line.
Expected Behavior
Button to choose Yes or No
Actual Results
See the error reported in Azure - Web App Bot - Channels (above in Issue Description)
Ps. Apologize for the Code Snippet, edited multiple times to make it shows better code but failed.

How lucky I am, no one really took any action....yet. Else that someone will be pissed. Found out that same method works on other form. I must have done something different on the form that failed. Need to go into the code again and will share what's wrong with my code that renders the error.
My bad. Sorry.

Ok, got it. Should have read #1678 carefully.

[Prompt(" {||}")] also fails. [Prompt("X{||}")] does not.

The problem lies in
.SetPrompt(new PromptAttribute(PromptExistingDataOnRecord + " {||}") { ChoiceStyle = ChoiceStyleOptions.Auto })  Nothing got to do with using ChoiceStyleOptions.PerLine to make it works. Still, curious why ChoiceStyleOptions.PerLine works.
Its the space in " {||}". Everything works fine when using .SetPrompt with {||} provided that no blank space before the opening curly brace.
eg.
.SetPrompt(These are your current entry{||}) works.
.SetPrompt(These are your current entry {||}) will produce the error _something-something_ must be non-empty in Telegram and Facebook.
A reminder for me, be careful while coding or ask the development team to change something in the framework to take care of the issue.
@JasonSowers ?

Hi @MNHarun
I'm not sure what the issue is here.  Please provide a code example, so we are able to assist you.

Issue is with FormFlow with prompt that is using {||} template. Failure in Telegram and Facebook Messenger.
Failed code: .SetPrompt(new PromptAttribute(ShowOptionButtons + "Pick one {||}") { ChoiceStyle = ChoiceStyleOptions.Auto })
Working code: .SetPrompt(new PromptAttribute(ShowOptionButtons + "Pick one{||}") { ChoiceStyle = ChoiceStyleOptions.Auto })
My finding.
Cannot have a blank space before the first curly brace.
If want to have a space before the first curly brace, need to use ChoiceStyleOptions.PerLine as the choice display type.


Port the behaviors tests

We have no way of adding behaviors to elements yet in dart, but once we do then we can add these tests.
Blocked on https://github.com/dart-lang/polymer-dart/issues/551.

This is now unblocked in the behaviors branch of the repo. This has not been merged with master for two reasons:

It has a path dependency on reflectable, and a github dependency on the behaviors branch of polymer.
The transformer in current version of reflectable does not quite fully work for our purposes yet (there are some unimplemented errors at runtime post-transformation).

Once those issues are resolved we can merge the branch into master.

I also got the neon_animated_pages_test working in this branch, just to confirm things are working as expected.

@ErikGrimes @vsheyanov If either of you would like to start porting behaviors tests this is ready (see notes above). You will need to locally clone the reflectable package in a directory next to this repo in order to successfully run pub get.

[ ] Iron behaviors
[ ] Neon behaviors
[ ] Paper behaviors

Ported the first one of these, so there is another example to work off of https://github.com/dart-lang/polymer_elements/commit/d71ea1e6ec06c75615f088b2855e60bffb7f27c5.

all done!


[feature] Ze DMA - [merged]

In GitLab by @NicolasDenoyelle on Apr 2, 2021, 16:23
Merges ze_dma -> staging
Implementation of aml dma using ze backend.

In GitLab by @NicolasDenoyelle on Apr 2, 2021, 16:26
added 1 commit
499de1d2 - fix doc
Compare with previous version

In GitLab by @NicolasDenoyelle on Apr 7, 2021, 09:54
Commented on src/dma/ze.c line 129
Do as cuda,
Move the assumption, that layout is continuous and contiguous into a copy operator rather than the dma itself. It reduces the burden of reimplementation to a single operator rather than a full dma when implementing dma for different types of layouts.

In GitLab by @NicolasDenoyelle on Apr 7, 2021, 13:29
added 9 commits
499de1d2...0f4d391e - 2 commits from branch staging714984d4 - Compiling ze dma423d4085 - Default dma instanciationa9a88c6c - Compiling tests8971466e - Working tests7d906a9b - fix doc911a87a2 - do assumption on layout shape in copy operator712d2871 - rebase fixes
Compare with previous version

In GitLab by @NicolasDenoyelle on Apr 8, 2021, 13:47
added 1 commit
2c53abff - remove extra aml error conversion
Compare with previous version

In GitLab by @perarnau on Apr 8, 2021, 15:35
changed title from Ze DMA to {+[feature] +}Ze DMA

In GitLab by @perarnau on Apr 8, 2021, 15:35
assigned to @perarnau

In GitLab by @perarnau on Apr 8, 2021, 15:36
merged

In GitLab by @perarnau on Apr 8, 2021, 15:36
mentioned in commit 715a4251877097b27b0f77470cce5cf3e54a89f6


Serialtiles length reporting

Before starting a copy, we should count the number of lines in a serialtiles file, and report this to the progress-stream so that we get accurate % complete reporting.

This is an old ticket. I'm presuming this is not critical, so closing.


XML variable substitution not working for configSections

The XML variable substitution is not working for configSections in web.config file. The sections 'value' does not update as per the Release definition variables.

@nirjashrestha , thanks for reporting this issue and the fix.
I shall fix this issue with my  other PR.
For a workaround, you can set up a private agent and modify the task as the fix will be available only in next deployment.

Hi @nirjashrestha . Can you please share the debug logs for the task. Also please share the web.config file that you are trying to apply the transformations on. You can send the files to<EMAIL_ADDRESS>

@arjgupta @vincentdass Please could you provide an update on this issue. Have sent the log and web.config file.

@nirjashrestha , I am closing this issue based on our offline discussion. Your first issue was regarding xml variable substitution for setparameters file. This has been added to our back log. Your second query, was regarding how the xml variable substitution work in general. We are in process of writing blogs and help articles for the same, and the task will be updated with links to those accordingly

When will this be working?  I'm on 3.* and variable substitution is not working.  I've added variables to the environment definition but it never changes in the web.config file on release.  Please advise, thank you.

We are also seeing this issue on task version 3.*, but with the appSettings section.  We are using the KeyVault task to download secrets and set build variables, and are expecting these build variables to be substituted in the Web Deploy process.  This isn't happening.
This worked for us just fine until this week.  Has there been a bad release of this task?


I’ve repgram git

CORRECTION i reprogrammed git

I swear to god...

https://user-images.githubusercontent.com/115441433/194797807-e6515448-5ddb-4ff0-9860-c7498a13144c.mp4

I swear to god...

That.Friday.feeling.via.Malik_AdeityInstagram.mp4

you when you got 0 bitches

didn't ask


Base image from private repo not pulled on image build

Description of problem:
Docker fails to build images if the base image comes from a private repository and doesn't exist locally.
Steps to Reproduce:

Make sure the ~/.dockercfg file contains valid credentials to authenticate against the (private) repository containing your base image
Create the following Dockerfile (replace the FROM image with an existing image):

FROM <private.repo.com/baseimage>
RUN echo hello

Build an image from this Dockerfile:

$ docker build -t myimage .

Actual Results:
Build fails with the error:
Sending build context to Docker daemon
Step 0 : FROM private.repo.com/baseimage:latest
Pulling repository private.repo.com/baseimage
Error: image baseimage:latest not found

Expected Results:
Docker pulls the base image and the build eventually completes.
Additional info:
It works if you follow the exact same procedure but pull the image manually beforehand with:
$ docker pull private.repo.com/baseimage

Environment:
AWS EC2 instance - type t2.small
docker version:
Server version: 1.7.0
Server API version: 1.19
Go version (server): go1.4.2
Git commit (server): 0baf609-dirty
OS/Arch (server): linux/amd64

docker info:
Containers: 1
Images: 9
Storage Driver: overlay
 Backing Filesystem: extfs
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 4.0.5
Operating System: CoreOS 723.0.0
CPUs: 1
Total Memory: 1.957 GiB
Name: ip-10-100-0-24.eu-west-1.compute.internal
ID: EJKP:KOFZ:E6Y2:YZ2O:JCB5:4M7V:IOBV:I5NL:ZCHE:FCEC:FTLI:RAME

uname -a:
Linux ip-10-100-0-24.eu-west-1.compute.internal 4.0.5 #2 SMP Thu Jun 25 01:57:28 UTC 2015 x86_64 Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz GenuineIntel GNU/Linux

This was doesn't happen with Docker 1.7.1 anymore. Closing


hard-fail on missing zshbuiltin is-at-least

From man zshbuiltins:
with -R, an error message is printed and command processing aborted
immediately the search fails, i.e. at the autoload command rather
than at function execution..
Fixes #249

@Eriner Why not just fall back to echo "$ZSH_VERSION" | sed 's/\.//g' if we can't use is-at-least?

 This is, in fact, an extremely convenient test for that, because if it fails, no zim code is executed at all and we don't leave the shell in a half-broken state.
If we can't rely on is-at-least to be present, then God only knows what else is broken and missing. The way this broke is interesting too due to the negative conditional, but that's a different matter.

Hey @Eriner 👋
On zsh 5.3 (x86_64-apple-darwin17.0) I get
autoload: bad option: -R

And I don't see any documentation for that switch on man zshbuiltins either.

Arrrg. This wasn't added until 5.4.2: https://github.com/zsh-users/zsh/commit/f26d1ba6b01a358c83f28219c7a01e546e84d2ee

This stack overflow question seems to have an answer.
Ripped from the answer:
if typeset -f foo > /dev/null; then
  echo there is a foo function
fi

Yes, something like that will be necessary. It's unfortunate, but this is another case of nice features introduced in Zsh over a year ago that we can't use becasue we have to support old versions (due to the maintainers of those OS' and distros not updating packages on reasonable timelines -- par for the course.


Support for TermLevel Missing queries

see https://www.elastic.co/guide/en/elasticsearch/guide/current/_dealing_with_null_values.html#_missing_query
Let me know if there is an alternate approach to this otherwise I could do a PR

Also interested in this

Thank you @romainjanvier for the suggestion. It's a perfect solution for this problem.
missing and filters were removed from the elastic search and now are gone in this DSL library as well.


Train on specified GPUs

Hello, how to train on the specified gpu, if I have 8 Gpus, only 2 and 3 are not used, I only want to train on the number of 2 and 3 gpu, how should I set in the code?

I think you can export CUDA_VISIBLE_DEVICES=2,3 in bash before running the python scripts. (please help report any issues if this doesn't work..)

I think you can export CUDA_VISIBLE_DEVICES=2,3 in bash before running the python scripts. (please help report any issues if this doesn't work..)

It really worked, problem solved. Thanks for your help


ngMockE2E not mock $httpBackend when accessing "/#/" with enabling html5Mode

Hi,
I found a bug about ngMockE2E. Creating $httpBackend mock for E2E test and accessing /#/ with html5Mode = true, the mock doesn't work.
To show this bug, I created the repo, so please review them.
Thanks.

Sorry for taking so long to respond to this.
I don't understand the problem. The $httpBackend should be used to mock API requests, and htmlMode is for the app only. So the two should not have any problems interacting.

Hi,

The $httpBackend should be used to mock API requests, and htmlMode is for the app only. So the two should not have any problems interacting.

Yeah, exactly. That's what I expected, but somehow creating a route to / with location.htmlMode = true, and then mocking the backend on E2E testing, the mock doesn't work like this
The repo doesn't have so long code, so please review it.

Hi :smiley:
I have a question. Does $httpBackend.when on ngMockE2E work if the route (which means route that defined on the app) is changed on E2E testing? I supposed the following case:
(mock requests) -> (call brower.get('/#/') -> (Redirects to / by html5Mode) -> (Does mock set at 1st step work?)

@hiroaki-yamamoto, I tried reproducing the problem, but the repo seems to be broken (I ran into several issues trying to npm install on Windows, until I gave up). Even reading at the code or the readme or this issues, it's not clear what the problem is (i.e. what is the actual vs expected behavior).
I'm going to close this. If you are still having problems with the latest versions, please open a new issue with a clear reproduction.


IoC Support.

Basic IoC Support, including:

New swaggerRouter optional parameter ('injected') that is passed to controller constructors.
Ability for swaggerRouter controllers to return function(inj) from require() and have that processed.
Updated tests to reflect and cover these changes (Users controller now requires it in test suite)
Documentation updates reflecting all of the above.

Are the issues on this one just related to me self-enforcing eslint's comma-dangle rule? If so, can you just chop the offending dangling commas on the merge? I've got to sleep, and this is the third time I've gone through BeyondCompare trying to get things to line up since collapsing commits is the work of the git-devil.

Let's discuss this in #337 first and merge if we decide it's necessary.  My initial thoughts are that IoC is not part of the problem domain swagger-tools' middleware should be involved in, especially since swagger-router already provides a means to build your own router mapping.

Dangling commas issue fixed, hopefully. Just looking to TravisCI to confirm, but nothing seems to have picked up the need to rebuild yet.


[SAPRK-36372] v2 ALTER TABLE ADD COLUMNS should check duplicates for the user specified columns

What changes were proposed in this pull request?

Currently, v2 ALTER TABLE ADD COLUMNS does not check duplicates for the user specified columns. For example,
spark.sql(s"CREATE TABLE $t (id int) USING $v2Format")
spark.sql("ALTER TABLE $t ADD COLUMNS (data string, data string)")

doesn't fail the analysis, and it's up to the catalog implementation to handle it. For v1 command, the duplication is checked before invoking the catalog.
Why are the changes needed?

To check the duplicate columns during analysis and be consistent with v1 command.
Does this PR introduce any user-facing change?

Yes, now the above will command will print out the fllowing:
org.apache.spark.sql.AnalysisException: Found duplicate column(s) in the user specified columns: `data`

How was this patch tested?

Added new unit tests

Test build #141925 has started for PR 33600 at commit 22414b6.

Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/46435/

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

Test build #141925 has finished for PR 33600 at commit 22414b6.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

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

Test build #141926 has started for PR 33600 at commit 38c0935.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/46436/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/46436/

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

Test build #141926 has finished for PR 33600 at commit 38c0935.

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

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

cc @cloud-fan

I will add a similar check to REPLACE COLUMNS as a separate PR.

thanks, merging to master/3.2!


Render aeroway=aircraft_crossing

Hello,
I would like to propose that the map begin rendering the tag aeroway=aircraft_crossing.
The tag allows for mappers to indicate where a road or path intersects with an aeroway. The most famous examples are the Gilbratar airport which is bisected by a major highway, but these rare situations are important in the local area for routing/route planning purposes.
The tag was approved and since then has been implemented by the community around the world. As these crossings are not common, the overall numbers are not high, but have been applied to nearly every example I can find.
The proposal also included a possible icon. for these crossings, adapted from the "level crossing" icon.
Dian
50px-Airside_crossing_example_icon svg

This would require a change to OpenMapTiles, as aeroway=aircraft_crossing is not yet present in its schema.
railway=level_crossing et al. are also missing from OpenMapTiles, for what it's worth. If aircraft crossings are added to OpenMapTiles, railway crossings should probably be added as well.

Beyond the valid points made about this tag not being present in the schema, and the low proliferation of the tag, I would question whether it would be cartographically appropriate for this style to render crossings.  If a railroad or runway crosses a road, do we really need to place an icon at the intersection?  Are there examples of either on maps, American-style or otherwise?

Apologies, I was not aware that level crossings themselves were not yet rendered!


Additional lightwalletd metrics and monitoring

A compiled list of request monitoring that would be useful for wallet developers.

stats on the range and frequency of blocks served so that we can get a clear idea of our caching needs (how far back is best to cache)
Average amount of time it takes a user to sync (this may be tricky but if we could try to get some visibility it might help)
Reorg detection
Unique users / day / month
Metrics that help us understand our bandwidth needs
Cache misses (we could probably infer this based on response times)
Memory use so that we can get an idea of whether we can increase the cache size. Can we cache the entire chain?
Frequency of failed sends. Does this spike around reorgs?

Some of this is possible once we get the prometheus framework merge (https://github.com/zcash/lightwalletd/pull/172) and some will require research.
@braddmiller can we create an epic to split these issues up and prioritize based on importance?

maybe it is so obvious that it doesn't need to be enumerated but "downtime" should be monitored so that we can react quickly when the service falls over.


This article does not go deep enough

When trying to change the ActivePrinter many people get the 1004 error. What's not explained here is how to change the ActivePrinter.

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

ID: 0d092187-f2df-262e-cd62-0f8f1e2506bf
Version Independent ID: a9401f84-d9a9-3ecd-e2a0-dfc5b58164e4
Content: Application.ActivePrinter Property (Excel)
Content Source: api/Excel.Application.ActivePrinter.md
Product: excel
GitHub Login: @o365devx
Microsoft Alias: o365devx

@Linda-Editor created a pull request for this, will understand if it gets declined. The user has to do a minimum amount of investigation into their setup before using. It's a very specific method, when applied at a basic level like this.

This is an Excel OM issue/question and should be assigned to an Excel team member who knows about this area of the OM.
From: barnam3<EMAIL_ADDRESS>Sent: Tuesday, October 1, 2019 7:59 PM
To: MicrosoftDocs/VBA-Docs<EMAIL_ADDRESS>Cc: Bryan Reich<EMAIL_ADDRESS>Assign<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/VBA-Docs] This article does not go deep enough (#45)
@Linda-Editorhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FLinda-Editor&data=02|01|brreich%40microsoft.com|ec2a88a2c42e47f3646808d746e47e06|72f988bf86f141af91ab2d7cd011db47|1|0|637055819503915314&sdata=T1JDLDBv%2Bhq%2Fe26EGJBSTq7jVBLdmusfeUl8NPMnEQc%3D&reserved=0 created a pull request for this, will understand if it gets declined. The user has to do a minimum amount of investigation into their setup before using. It's a very specific method, when applied at a basic level like this.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FVBA-Docs%2Fissues%2F45%3Femail_source%3Dnotifications%26email_token%3DAKNEZYKQCD7MBC23OGZP3ADQMQE7XA5CNFSM4FQVL6W2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEADMJJQ%23issuecomment-537314470&data=02|01|brreich%40microsoft.com|ec2a88a2c42e47f3646808d746e47e06|72f988bf86f141af91ab2d7cd011db47|1|0|637055819503915314&sdata=Ix%2FWWMMbk%2FsHxSdUWIkN%2FhpC2lGCaMrDLy4QFkG%2FOW4%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKNEZYMWD6KX7AZYYZ3E33LQMQE7XANCNFSM4FQVL6WQ&data=02|01|brreich%40microsoft.com|ec2a88a2c42e47f3646808d746e47e06|72f988bf86f141af91ab2d7cd011db47|1|0|637055819503925307&sdata=IKcSSdJQ%2Bexu%2FCKilmEPtNvUgmPRY0UFGMPIXXwwVEs%3D&reserved=0.

@lindalu-MSFT Can you get this assigned to an Excel team member? Thanks...

@Linda-Editor I'll see what I can do! @sumurthy Can you address this with the customer?


Date assertion after and before java LocalDateTime

Work branch: issue5_after_before_date
i.e. https://github.com/authorjapps/zerocode/tree/issue5_after_before_date

e.g.
"startDateTime": "$DATE.AFTER:2015-09-14T09:49:34.000Z"
"endDateTime": "$DATE.BEFORE:2015-09-14T09:49:34.000Z"

See implementation of $GT.
Trace code:     public static final String ASSERT_VALUE_GREATER_THAN = "$GT.";

Hi, I would like to contribute to this project. I am a beginner to open source contribution. Please let me know if i can work on any issue or enhancement.
Thanks,
Indra

Sure, Sounds cool @ispandey81 ,
You can please pick this issue or any other issue which you think is good for the first time. I would suggest to pick a simpler one. This issue is also a simpler one.
Kindly read the CONTRIBUTING.MD which will make things easy.
And  then could you please join our mailing/gitter lists below.

Join the collaborators mailing list
https://groups.google.com/forum/#!members/zerocode-automation

Join Gitter room
https://gitter.im/zerocode-testing/help-and-usage

Hi,
I'd like to work on this issue if that's ok. Please assign it to me.
Thanks

@jbonn360, thanks, please proceed. Let us know in case you need any heads up please!
@ispandey81, hope you are ok with this as it's been long time the ticket has not been worked upon!
You can review the PR for your learning(in case it interests you)!

@authorjapps Cheers! One question, should we support any other datetime formats apart from ISO8601 (as in '2015-09-14T09:49:34.000Z')?

Hi,
I apologise for not being able to start work on this issue. Happy for it to
be picked up by someone else. Will look for a different issue from the list.
Cheers,
Indra
On Tue, Jun 4, 2019 at 5:49 AM authorjapps<EMAIL_ADDRESS>wrote:

@jbonn360 https://github.com/jbonn360, thanks, please proceed. Let us
know in case you need any heads up please!
@ispandey81 https://github.com/ispandey81, hope you are ok with this as
it's been long time the ticket has not been worked upon!
You can review the PR for your learning(in case it interests you)!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/authorjapps/zerocode/issues/5?email_source=notifications&email_token=AHVKOUAA7ZZVTTGXLMOGEYTPYWGXLA5CNFSM4CLBL43KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODW2ZKRI#issuecomment-498439493,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHVKOUD63LFTZ6YILNSGH23PYWGXLANCNFSM4CLBL43A
.

@ispandey81 Thank you Indra 🙏

PR looks great with great test coverage! Thanks @jbonn360.
Version 1.3.9 will contain this feature.

@jbonn360 , can you help us here to amend this PR or raise a new PR please? 🙏
We need to amend these tokerns to be consistent with the simillar tokens already in use.
Apologies for the late intimation.
$DATE.BEFORE to $LOCAL.DATETIME.BEFORE to avoid confusion in the future.
Also same for
$DATE.AFTER to $LOCAL.DATETIME.AFTER
Thanks for understanding!

@authorjapps no worries, I'll submit a new PR

Feature available in version 1.3.9 and higher.


How to listen for an event without jQuery

Can I write the following without using jQuery?
        $(element)
            .on('changed.jstree', this.onChanged)
        ;

       // this never fires.
        element.addEventListener('changed.jstree',  (event) => {
            console.log(event, 'no jquery!!');
        });

I know jQuery events are different than regular dom events, but not sure this is even possible.  In v4 this will be standard, of course, but I'm wondering if there's a way to start coding in preparation for that.

Unfortunately not - jQuery will not fire standard events (as far as I know), but it seems that creating a plugin which overwrites the trigger function might work:
(function ($, undefined) {
	"use strict";
	$.jstree.plugins.domevents = function (options, parent) {
		this.trigger = function (ev, data) {
    		parent.trigger.call(this, ev, data);
            if(!data) { data = {}; }
			data.instance = this;
            this.get_container()[0].dispatchEvent(new CustomEvent(ev, { detail : data }));
		};
	};
})(jQuery);

Include this in your page and then in the plugins config array add "domevents".
I have not tested this - it is off the top of my head. You can experiment and modify this as you please.
Keep in mind v.4 will be a major new version. Unfortunately I doubt it will be compatible with old event handlers, configurations, etc.


Bitemporal Change Detection on GEE with the iMAD Algorithm

What is the objective of the proposed tutorial?
The Multivariate Alteration Detection (MAD) algorithm was proposed and developed some time ago by Allan Nielsen and his coworkers at the Technical University of Denmark and later extended to an iterative version (iMAD). It has since found widespread application for the generation of change information as well as for performing relative radiometric normalization of optical/infrared imagery. Particularly with the development of the fantastic tools available in Google Earth Engine (GEE) it is easy to generate reflectance time series animations from satellite imagery which show changes quite dramatically. Such visualizations are very good as eye-openers to give a conceptual, qualitative impression of change. This may, however, be perceived differently from person to person. With rigorous statistical methods on the other hand one can derive formal, quantitative and reproducible change information on both pixel and patch/field levels. The iMAD algorithm is one such method.
What is the scope of the proposed tutorial?
I propose to structure the tutorial similarly to my previous SAR tutorials. It is based on the description of iMAD given in Chapter 9 of my textbook Image Anaylsis, Classification and Change Detection in Remote Sensing. In preparing it I intend to take as much advantage as possible of the GEE platform to illustrate and demonstrate the theory interactively .
Please provide an outline of the structure of the proposed tutorial?
The tutorial will be an elaboration of one written in April,2021 and advertised on Twitter, see the Gist
https://gist.github.com/mortcanty/1f5b1924dd655944c9866ec74c657820
Part 1. Bitemporal change detection and radiometric normalization, the iMAD algorithm
Part 2. Unsupervised classification of change images
Part 3. Applications, including  a Jupyter widget interface for exploration of the GEE archive: Sentinel, Landsat.
In what format will you be submitting the tutorial?
Colab
This request will be reviewed by the Earth Engine community maintainers, who
will reply on this issue tracker with any questions or suggestions. Once
approved, this issue will be assigned to you and you can begin work on the
tutorial following instructions in
Writing a tutorial.
When creating your Pull Request, enter "Closes #issueno" in the description of
your Pull Request to link the tutorial to this issue.

Any remarks, or does this stuff just have low priority at present? Thanks, Mort

Hi again, Mort! It was great to hear that you were working with David on SAR change detection. I hope that all went okay.
Sorry for the slow reply, I think we were doing our annual Geo for Good user summit the week to posted this and now finally getting through the backlog.
This looks great! Please proceed to preparing the notebook and submitting a PR. It looks like you have a lot of the work done already (based on the gist you shared). I see that you are using folium for the map, which is great; however, wanting to let you know that @tylere is developing a library of helpers for displaying and inspecting maps in Jupyter env that provides some shortcuts - you might try using it (certainly not necessary though). Here is a Colab notebook showing some of its basic usage - see sections on map vis and inspecting: https://colab.research.google.com/drive/14h1C_chywvYr1_LFltx7d7YHOMSDAKHV?usp=sharing

Thanks for the go-ahead, Justin.
I had intended to use ipyleaflet rather than folium anyway, and Tyler's library looks really good. In the tutorial I want to elaborate and extend the stuff in the gist and especially look in more detail at clustering and interpretation of the MAD change images.
The 4 months with David and Trent were certainly fun for me. I hope Google got its money's worth :-)
Mort

We've been publishing these, closing.


Update plugin-veracode-scan.yml

Change path for compatibility issue.

Description

Submitter checklist for changing permissions

Always

[ ] Add link to plugin/component Git repository in description above

For a newly hosted plugin only

[ ] Add link to resolved HOSTING issue in description above

For a new permissions file only

[ ] Make sure the file is created in permissions/ directory
[ ] artifactId (pom.xml) is used for name (permissions YAML file).
[x] groupId / artifactId (pom.xml) are correctly represented in path (permissions YAML file)
[ ] Check that the file is named plugin-${artifactId}.yml for plugins

When adding new uploaders (this includes newly created permissions files)

[ ] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable
[ ] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[ ] Make sure to @mention the users being added so their GitHub account names are known if they require GitHub merge access (see below).
[ ] All newly added users have logged in to Artifactory at least once

Reviewer checklist (not for requesters!)

[ ] Check this if newly added person also needs to be given merge permission to the GitHub repo (please @ the people/person with their GitHub username in this issue as well). If needed, it can be done using an IRC Bot command
[ ] Check that the $pluginId Developers team has Admin permissions while granting the access.
[ ] In the case of plugin adoption, ensure that the Jenkins Jira default assignee is either removed or changed to the new maintainer.
[ ] If security contacts are changed (this includes add/remove), ping the security officer (currently @daniel-beck) in this pull request. If an email contact is changed, wait for approval from the security officer.

There are IRC Bot commands for it

You didn't check any boxes or provide the information requested in the PR template.

@slide , we changed our group id in pom.xml file in our Jenkins plugin open source repo, so I think we need to update this path so that we can have permission to push, am I right? thank you!

Yes, if you change the groupId you need to change this file, but you didn't provide any information that is requested in the PR template.

@slide, sorry about that, we just want to compatible with our old plugin, so I have to change it, is it good enough now? do you need me provide more information? please let me know, thanks.

There is a section titled Always, you need to at least provide the information that is requested there

Hi @slide , got it.
Our plugin Git Repo is:
https://github.com/jenkinsci/veracode-scan-plugin
We have changed group id in our "group-id" branch:
<groupId>com.veracode.jenkins</groupId>
<artifactId>veracode-scan</artifactId>

and we will merge it to dev/master branch after this pull request is approved, thank you!


kubectl throws strange error

when running deployment with help or kubectl, sometimes get strange errors:
 error: SchemaError(io.k8s.api.core.v1.CinderVolumeSource): invalid object doesn't have additional properties
for example,
$ kubectl apply -f https://raw.githubusercontent.com/rancher/longhorn/master/deploy/longhorn.yaml
error: SchemaError(io.k8s.api.core.v1.CinderVolumeSource): invalid object doesn't have additional properties

Sorry,  just find this https://github.com/rancher/k3s/issues/409


PIO jmp pin branch is always taken

Hi again,
I found another potential issue with the PIO implementation. It seems like when using jmp pin, xxx, it always branches to the jump target. If I understand the documentation correctly, this branch should only be taken if the pin reads high.
Here is an example: https://wokwi.com/arduino/projects/314054657341129280
Start the simulation, set a breakpoint on PIO instruction 31 and play around with the switch.
Not sure if I configured something wrong, the relevant line of code seems fine.

Ok, I think I found the reason. I uploaded a fix, and got it to work with pin 2:
https://wokwi.com/arduino/projects/314060101811962434
Note that I also had to set the pin to input mode (otherwise the input is not enabled, apparently).
Not sure why it doesn't work with pin 0. My bet is that it's conflicting with the UART.

Works now, thanks for the quick fix!
That's good to know, didn't realize the REPL was injected by UART, I thought you had hooks in the USB stack. If this affects Pin 0/1 in general, maybe you should add a warning to the hover tooltip on those pins.
Cheers!

Hooray!
The REPL indeed goes through USB, but there might be some remainders from the UART REPL in the code. I might also be wrong - need to check and see what's going on with pin 0


Enabled xml doc generation

@NTaylorMullen

The change in general is :shipit: but need to get that doc comment update clarified.

:shipit: with fixes requested above.


[Bug]: WAU Configurator throws permission errors on launch

The problem
If you will try to launch WAU Configurator after installing WAU you will receive permission errors:

What version of WAU has the issue?
1.19.2-0
What version of Windows are you using (ex. Windows 11 22H2)?
Windows 11 23H2
What version of winget are you using?
v1.7.3452-preview
Log information
No response
Additional information
No response

@soredake I'd like to confirm one more thing before it gets investigated. That would limit the area of investigation.
It does not look like a problem with PS LanguageMode.
It can be verified by runnign this command:
$ExecutionContext.SessionState.LanguageMode
What is the Execution Policy for that PS context?
It can be checked by running this command:
Get-ExecutionPolicy -List
Happy Xmas

❯  $ExecutionContext.SessionState.LanguageMode
FullLanguage
❯  Get-ExecutionPolicy -List

        Scope ExecutionPolicy
        ----- ---------------
MachinePolicy       Undefined
   UserPolicy       Undefined
      Process       Undefined
  CurrentUser    RemoteSigned
 LocalMachine    RemoteSigned

Thanks :)
WAU is not signed, You will be running it in system/machine context.
Please check if it works after changing the Local Machine policy to Bypass:
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope LocalMachine
You may revert the change after the test back to previous state by running this command.
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine

Word of caution:
relaxing execution policy may expose your system to potential risk when some process using PowerShell does something sinister without your attention.
More details there

After uninstalling and installing WAU again i don't see WAU Configuration in start menu anymore so i think this can be closed.


Detect overlapping outputs between tasks via output registry

Split from https://github.com/gradle/build-cache/issues/130
Like https://github.com/gradle/build-cache/issues/564, but disable caching when we detect outputs are from another task and provide diagnostics about where the outputs came from.

Let's keep this open.


Maya: Hotfix for Deadline + Redshift renders without merge AOVs

Fixes #3953
Brief description
Instead of taking the resolved output from Render Products which is the "image prefix" that matches the written output files for the renderer with the current layer's setting submit to Deadline with the actual "image prefix" value of that layer.
Description
See #3953 for more details on why the error happened originally.
Additional info
Would've preferred the code to be even cleaner than this by e.g. just having something like imageFilePrefix or rawImageFilePrefix stored in the instance.data so we could retrieve it directly instead of having to access the scene again.
Testing notes:

Render with Redshift from Maya without merge AOVs / multilayer through Deadline.
Publish of rendered images fails.

Bug was also present with V-Ray. This PR would also fix that case.

Hi, I will do it asap...we have some issues with Deadline submits causing immediete fails/errors so I cant test it right now, sry.

Ok I have tested it and it renders all out with correct naming like Main.####.exr or/and Main_N.####.exr (for normal AOV pass).
Not sure but Publish of the rendered imgs fails... not clear for me if its right or not by reading your description above...
Just clarify it and I can make Review to finnish it. Thx
L.

this was merged in with #3981


Problem with Apache2

Last times after vagrant up -  instead nginx started apache2.
I fixed this by adding a strings to provision.sh
sudo apt-get remove apache2*
sudo apt-get autoremove

and replace string:
apt-get install -y phpmyadmin
to:
apt-get --no-install-recommends install -y phpmyadmin
https://github.com/uptimizt/vagrant-boilerplate/blob/custom/provision.sh#L79


Report bug from users that use the platform

Have a location for users to report bugs that they encounter. Would help track issues we may not come across.

I can take and this issue.

@ri0nardo on which route to make the reporting for bugs ? Where to save them ?

this is no longer needed


What is the latency of reclaiming ports with closed flows?

How quickly does the Load Balancer reclaim ports used by flows closed normally? (as opposed to those closed after a 4-minute idle timeout)
https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-outbound-connections#exhaustion

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

ID: a96406ce-2ffc-cdb3-1234-5154ccd5cc76
Version Independent ID: f840a092-e1bf-16e2-1916-4270cdfbbcdd
Content: Outbound connections in Azure
Content Source: articles/load-balancer/load-balancer-outbound-connections.md
Service: load-balancer
GitHub Login: @KumudD
Microsoft Alias: kumud

@olegsych Thanks for the feedback. We are actively investigating and will get back to you soon.

@olegsych this behavior is documented Here.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Not an Issue: Dynamic Step support

I'm wondering if you are going to support dynamic steps?
for example I have a min: 0 to max: 3,000,000 and I would like to have different steps for 0 - 3000 range, 3000 - 1,000,000 range and 1,000,000 to 3,000,000 range.

0 - 3000 will have 100 steps
3000 - 1000000 will have 1000 steps
1000000 - 3000000 will have 250,000 steps

but they will only use a single slider
let me know if you have answer
Regards,
Kim

I think that #280 solves an issue similar to yours but it doesn't handle ticks...

An other option is to update the step value on the onChange event: http://jsfiddle.net/5kaea452/

I mean you are using single value slider as your example. How about slider with range value?
http://jsfiddle.net/kimwan/jzbu207b/

Oh OK, then it won't work.


Blackbox testing with dune runtest

Dune supports cram-like tests using mdx tool. This is is a good candidate to use for black box tests. See Dune's documentation.
Another approach is https://github.com/ocaml/dune/tree/master/test#blackbox-testing. Basically, the examples and counter-examples located in the examples directory should be run and checked automatically. Using dune runtest provides us support for "promoting" (i.e. updating) tests.

Some typechecker tests using mdx: https://github.com/anton-trunov/modal-type-theory/commit/93dda875a2ebcb746b2cfcfad33db8596b0628f2

Closing this general issue, because there is a number of tests using this approach the project just needs more tests with each patch/feature.


Pair end read name bug

Due to multiple format for pair end reads' name, program is unable to locate the correct position of reads' order (mate1/mate2).

Fixed. I modified the locating module in clipmode.py. Now the program is able to locate pair-end rank in 3 formats:
@HWUSI-EAS100R:6:73:941:1973#0/1
@EAS139:136:FC706VJ:2:2104:15343:197393 1:Y:18:ATCACG
@SRR001666.1 071112_SLXA-EAS1_s_7:5:1:817:345 length=36
which include most of the fastq files.


ERROR: LoadError: UndefVarError: ClosestDispatch not defined Stacktrace:  [1] top-level scope at /Users/guyfarmer/.julia/packages/AmbulanceDeployment.jl/src/AmbulanceDeployment.jl:15

Unusual error. Somehow ClosestDispatch isn't recognized. Not sure if it isn't reading the file or hasn't been properly initialized

have to define the file containing ClosestDispatch in both AmbulanceDeployment.jl and robust.jl. must define before the declaration


Multicluster: Use the port 443 for all the traffic into a cluster, including for access to kube-apiserver

Using a single port will simplify the configuration. Using the standard port will simplify the firewall configuration. Using a single IP (the one of the ingress gateway, instead of using both Ingress Gateway and kube-apiserver) will simplify the configuration, including the firewall configuration.

@costinm @rshriram @andraxylia What do you think?


Don't show mail-notification settings when ENABLE_NOTIFY_MAIL is false

Description
I wasted time playing with mail-notification settings in the profile and adding / removing mail addresses.
Till i realized that there is a ENABLE_NOTIFY_MAIL setting, which is false per default.
I think the mail notification setting in the profile should not be available (grayed out), or there should be some
"Mail notifications are disabled by the Administration" or any other hint making it obvious that it is not available.
Screenshots

Gitea Version
1.17.0-rc1
Can you reproduce the bug on the Gitea demo site?
Yes
Operating System
No response
Browser Version
Brave 1.40.105 Chromium: 103.0.5060.53

This is another example of a user struggling with notification at https://discourse.gitea.io/u/JVC-MSF
I believe that @uriesk's suggestions above would resolve this challenge


Regex matching seems kinda busted? (or perhaps just not intuitive)

Steps to reproduce the problem:

Catch some requests that have JSON responses
Try to limit your display to responses that contain an empty list

What is the expected behavior?
Something like ~bs '"key"':[] should result in matching all bodies that contain "key":[]
What went wrong?
No match
Any other comments?
I've tried several different variations of quoting and escaping the [] to no avail.  My ultimate goal is to match bodies that contain the key, but whose value is not an empty list, and my responses are all minified JSON.  (So my expression would be something like ~bs '"key"' & ! ~bs '"key":[]' which I've tried, and it tells me Invalid filter expression.)

Mitmproxy Version: 0.16
Operating System: OS X Mavericks

It looks like there's an issue with the quotation marks - I need to look into it. In the meantime, the following workaround works just fine:
mitmdump '~bs key.:\[\]'

curl -k -x localhost:8080 https://gist.githubusercontent.com/mhils/c9b70d25504bdb26bd6e/raw/7b66f2ef49adea9f8876ea8cc9c4
786387aabd74/a.json && curl -k -x localhost:8080 https://gist.githubusercontent.com/mhils/c9b70d25504bdb26bd6e/raw/7
b66f2ef49adea9f8876ea8cc9c4786387aabd74/b.json

For what I want to do, it looks like I'm going to have to just write a script, because at this point I'm basically trying to parse JSON with regex so now I've got 2 problems... (relevant: https://xkcd.com/1171/)


Creation of Subheader for Administrative Tools and Resources

As the title suggests, do we want to create a new subheader specifically for tools that can be used to improve administrative workflows in local governments and planning organizations?  That might include resources or even frameworks that support:

Plan review
Task automation
Processing scanned documents (e.g., file conversion)
More generally, converting files to a machine-readable format

To that end, what kind of support is available for resources that are free and open source?  Let me know your thoughts.
-Li

I think we need to start with the materials we collected with NPC, but something we need a decision quickly on is the taxonomy. Do we group them? Do we need multiple categories?
Thoughts (question marks where  I weakly held opinions.

We put this in platforms.
We make a "Operations, Permitting, and Development Review" subheader?
We rename Urban Planning Tools and Platforms to "Land Use Planning Tools & Platforms"?

@lianplass - I think we just call it "Administrative Tools & Resources" like you said. Do we put digital plans in a separate category?

First draft in #f7c49e07e4e219c445315eac6a95464d39f1dfc0

Closing this for now. We might need to revisit for digital plans.


Update setup.py //solve some bug fix layout of codes

@googlebot I signed it!

@kste is this necessary?


MM-43792 - fix invite modal email results

Summary
This PR adds the correct css to the invitation modal results so when there is a long list of emails, the modal keeps its size and adds a scroll bar to the result list.
Ticket Link
https://mattermost.atlassian.net/browse/MM-43792
Related Pull Requests
n/a
Screenshots
Before:

After:

Release Note
NONE

done @matthewbirtch
https://user-images.githubusercontent.com/10082627/168679144-19a2e193-a51a-4b7a-8635-abdcd439bf94.mp4

/update-branch

**blocker ** Expected — Waiting for status to be reported

hey @matthewbirtch is there something you need to do to remove the blocker that doesn't allow to merge the PR?

Not sure what is causing it not to be reported in this specific case, but seems more like an issue with Circle CI not completing something correctly:

https://discuss.circleci.com/t/circleci-reports-waiting-for-status-to-be-reported/35866
https://discuss.circleci.com/t/waiting-for-status-to-be-reported/10875/3

Not sure what is causing it not to be reported in this specific case, but seems more like an issue with Circle CI not completing something correctly:

https://discuss.circleci.com/t/circleci-reports-waiting-for-status-to-be-reported/35866
https://discuss.circleci.com/t/waiting-for-status-to-be-reported/10875/3

oh, ok! thanks @neallred for the info

**blocker ** Expected — Waiting for status to be reported

hey @matthewbirtch is there something you need to do to remove the blocker that doesn't allow to merge the PR?

No, I approved

/update-branch

/cherry-pick cloud

Cherry pick is scheduled.


linker command failed with exit code 1

[ ] Review the documentation: https://facebook.github.io/react-native
[ ] Search for existing issues: https://github.com/facebook/react-native/issues
[ ] Use the latest React Native release: https://github.com/facebook/react-native/releases

Environment

React Native Environment Info:
System:
OS: macOS 10.14
CPU: x64 Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz
Memory: 1.23 GB / 8.00 GB
Shell: 5.3 - /bin/zsh
Binaries:
Node: 10.8.0 - /usr/local/bin/node
Yarn: 1.9.4 - /usr/local/bin/yarn
npm: 6.2.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
Android SDK:
Build Tools: 23.0.1, 23.0.2, 23.0.3, 24.0.1, 25.0.0, 25.0.1, 25.0.2, 26.0.0, 26.0.1, 26.0.2, 26.0.3, 27.0.2, 27.0.3, 28.0.2
API Levels: 10, 21, 23, 24, 25, 26, 27, 7
IDEs:
Android Studio: 3.0 AI-171.4443003
Xcode: 10.1/10B61 - /usr/bin/xcodebuild
npmPackages:
react: 16.4.1 => 16.4.1
react-native: 0.56.0 => 0.56.0
npmGlobalPackages:
create-react-native-app: 1.0.0
react-native-cli: 2.0.1
react-native-git-upgrade: 0.2.7
react-native-rename: 2.2.2

Description
When i build via xcode 10.1 I got error

ld: warning: directory not found for option '-L/Users/gifary/Library/Developer/Xcode/DerivedData/hellobeautyvendor-buwtwjsnileccuckwrfwdxvbwidb/Build/Products/Debug-iphonesimulator/React'
ld: library not found for -lRNFirebase
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Reproducible Demo
I open project .xcworkspace and run with emulator

Try deleting your node_modules and running yarn or npm install again to reinstall your dependencies. If that doesn't work, this is probably an issue with react-native-firebase. There are some similar issues here: https://github.com/invertase/react-native-firebase/issues

I had this issue a few weeks ago.
As the error says there is something wrong in your Xcode project and the linked libarires you have added. I suggest checking if you are adding some libraries that does not exist or should not be added. I removed linker, and the issue was solved.

@vemundeldegard thanks a lot, that's work by deleting library doesn't exist.

react-native link in the root directory of the project solved the problem for me.

I just updated React Native to version 0.60.0 today and now i am getting the same error. For debugging, i created a fresh new project via react-native init Blank. Running the blank project via react-native run-ios works without any problem but starting the blank project from within Xcode doesn't work because
ld: warning: directory not found for option '-L/Users/iwan_uschka/Library/Developer/Xcode/DerivedData/Blank-buuuhanmafucpqhebeygzipdxioc/Build/Products/Debug-iphonesimulator/yoga'
ld: library not found for -lDoubleConversion
clang: error: linker command failed with exit code 1 (use -v to see invocation)

My system:

Mac OS X 10.13.6
Xcode 10.1
Node v12.6.0
react 16.8.6
react-native 0.60.0
react-native-cli 2.0.1

Ok, after reading

Maybe you open xcode with the XXX.xcodeproj and you must open xcode with the XXX.xcworkspace

at https://github.com/react-native-community/react-native-maps/issues/2829#issuecomment-488816768 and discovering some official statement

CocoaPods will instruct you to use the generated .xcworkspace file henceforth to be able to use these installed dependencies.

at https://facebook.github.io/react-native/docs/troubleshooting#missing-libraries-for-react i tried using my xcworkspace file and it worked (iOS simulator and connected device).


Update harfbuzzjs to ^0.2.0 (harfbuzz 3.0.0)

Discussion here: https://github.com/papandreou/subset-font/issues/12

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 997199723:
0.0%

Covered Lines:
44

Relevant Lines:
44

💛  - Coveralls

Thanks for the help! I'm still a bit worried about that failing reference image test in the subfont test suite, so I tried creating the subset font before/after upgrading to harfbuzzjs 0.2.0. Here's the diff of the ttx representations as well as the files themselves: https://gist.github.com/papandreou/cca1b1a17adb7f60b1f7794bea608f6f
Any idea what's going on?
Rendering of the original web page (or when subset with harfbuzzjs 0.1.5)

Rendering of the web page when subset with harfbuzzjs 0.2.0

subfont --debug says that these glyphs are being included in the subset, in case that helps:
[
  {
    assetFileName: 'testdata/referenceImages/fontVariant/index.html',
    fontUsages: [
      {
        smallestOriginalSize: 77420,
        smallestOriginalFormat: 'woff',
        texts: [
          '   a á ă â ä ạ à ả ā ą å ǻ ã ắ ặ ằ ẳ ẵ ấ ậ ầ ẩ ẫ ğ ĝ ģ ġ ß α ά а ӓ ӑ ¯ ˙ ¨ ˝ ´ ` ˆ ˇ ˚ ΄ ̉     g g 0 0 ˜ ˜ ˜ ˘ ˘ ˘ ',
          '   0 1 2 3 4 5 6 7 8 9 ',
          '   0 1 2 3 4 5 6 7 8 9 /   ⁄ ₀ ₁ ₂ ₃ ₄ ₅ ₆ ₇ ₈ ₉   ² ³ ¹ ⁰ ⁴ ⁵ ⁶ ⁷ ⁸ ⁹   ⁄² ⁄³ ⁄¹ ⁄⁰ ⁄⁴ ⁄⁵ ⁄⁶ ⁄⁷ ⁄⁸ ⁄⁹ ₀² ₀³ ₀¹ ₀⁰ ₀⁴ ₀⁵ ₀⁶ ₀⁷ ₀⁸ ₀⁹ ₁² ₁³ ₁¹ ₁⁰ ₁⁴ ₁⁵ ₁⁶ ₁⁷ ₁⁸ ₁⁹ ₂² ₂³ ₂¹ ₂⁰ ₂⁴ ₂⁵ ₂⁶ ₂⁷ ₂⁸ ₂⁹ ₃² ₃³ ₃¹ ₃⁰ ₃⁴ ₃⁵ ₃⁶ ₃⁷ ₃⁸ ₃⁹ ₅² ₅³ ₅¹ ₅⁰ ₅⁴ ₅⁵ ₅⁶ ₅⁷ ₅⁸ ₅⁹ ₆² ₆³ ₆¹ ₆⁰ ₆⁴ ₆⁵ ₆⁶ ₆⁷ ₆⁸ ₆⁹ ₇² ₇³ ₇¹ ₇⁰ ₇⁴ ₇⁵ ₇⁶ ₇⁷ ₇⁸ ₇⁹ ₈² ₈³ ₈¹ ₈⁰ ₈⁴ ₈⁵ ₈⁶ ₈⁷ ₈⁸ ₈⁹ ₉² ₉³ ₉¹ ₉⁰ ₉⁴ ₉⁵ ₉⁶ ₉⁷ ₉⁸ ₉⁹ ',
          '   a o ',
          '   a g 0 á ă â ä ạ à ả ā ą å ǻ ã ắ ặ ằ ẳ ẵ ấ ậ ầ ẩ ẫ ğ ĝ ģ ġ ß α ά а ӓ ӑ ',
          '   a á ă â ä ạ à ả ā ą å ǻ ã ắ ặ ằ ẳ ẵ ấ ậ ầ ẩ ẫ α ά а ӓ ӑ ',
          '   g ğ ĝ ģ ġ ',
          '   0 ',
          '   ß '
        ],
        pageText: ' /0123456789`ago¨¯²³´¹ßàáâãäåāăąĝğġģǻˆˇ˘˙˚˜˝̉΄άαаӑӓạảấầẩẫậắằẳẵặ⁄⁰⁴⁵⁶⁷⁸⁹₀₁₂₃₄₅₆₇₈₉',
        text: ' /0123456789`ago¨¯²³´¹ßàáâãäåāăąĝğġģǻˆˇ˘˙˚˜˝̉΄άαаӑӓạảấầẩẫậắằẳẵặ⁄⁰⁴⁵⁶⁷⁸⁹₀₁₂₃₄₅₆₇₈₉',
        props: {
          'font-stretch': 'normal',
          'font-weight': 'normal',
          'font-style': 'normal',
          'font-family': 'IBMPlexSans',
          src: 'url(IBMPlexSans-Regular.woff) format("woff")',
          'font-display': 'swap'
        },
        fontUrl: 'file:///home/andreas/work/subfont/testdata/referenceImages/fontVariant/IBMPlexSans-Regular.woff',
        fontFamilies: Set { 'IBMPlexSans' },
        preload: true,
        codepoints: {
          original: [
              0,  13,  32,  33,  34,  35,  36,  37,  38,  39,  40,  41,
             42,  43,  44,  45,  46,  47,  48,  49,  50,  51,  52,  53,
             54,  55,  56,  57,  58,  59,  60,  61,  62,  63,  64,  65,
             66,  67,  68,  69,  70,  71,  72,  73,  74,  75,  76,  77,
             78,  79,  80,  81,  82,  83,  84,  85,  86,  87,  88,  89,
             90,  91,  92,  93,  94,  95,  96,  97,  98,  99, 100, 101,
            102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113,
            114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125,
            126, 160, 161, 162,
            ... 727 more items
          ],
          used: [
               32,    47,   48,   49,   50,   51,   52,   53,   54,
               55,    56,   57,   96,   97,  103,  111,  168,  175,
              178,   179,  180,  185,  223,  224,  225,  226,  227,
              228,   229,  257,  259,  261,  285,  287,  289,  291,
              507,   710,  711,  728,  729,  730,  732,  733,  777,
              900,   940,  945, 1072, 1233, 1235, 7841, 7843, 7845,
             7847,  7849, 7851, 7853, 7855, 7857, 7859, 7861, 7863,
             8260,  8304, 8308, 8309, 8310, 8311, 8312, 8313, 8320,
             8321,  8322, 8323, 8324, 8325, 8326, 8327, 8328, 8329,
            63191, 63192
          ],
          unused: [
              0,  13,  33,  34,  35,  36,  37,  38,  39,  40,  41,  42,
             43,  44,  45,  46,  58,  59,  60,  61,  62,  63,  64,  65,
             66,  67,  68,  69,  70,  71,  72,  73,  74,  75,  76,  77,
             78,  79,  80,  81,  82,  83,  84,  85,  86,  87,  88,  89,
             90,  91,  92,  93,  94,  95,  98,  99, 100, 101, 102, 104,
            105, 106, 107, 108, 109, 110, 112, 113, 114, 115, 116, 117,
            118, 119, 120, 121, 122, 123, 124, 125, 126, 160, 161, 162,
            163, 164, 165, 166, 167, 169, 170, 171, 172, 173, 174, 176,
            177, 181, 182, 183,
            ... 644 more items
          ],
          page: [
               32,    47,   48,   49,   50,   51,   52,   53,   54,
               55,    56,   57,   96,   97,  103,  111,  168,  175,
              178,   179,  180,  185,  223,  224,  225,  226,  227,
              228,   229,  257,  259,  261,  285,  287,  289,  291,
              507,   710,  711,  728,  729,  730,  732,  733,  777,
              900,   940,  945, 1072, 1233, 1235, 7841, 7843, 7845,
             7847,  7849, 7851, 7853, 7855, 7857, 7859, 7861, 7863,
             8260,  8304, 8308, 8309, 8310, 8311, 8312, 8313, 8320,
             8321,  8322, 8323, 8324, 8325, 8326, 8327, 8328, 8329,
            63191, 63192
          ]
        },
        smallestSubsetSize: 6752,
        smallestSubsetFormat: 'woff2'
      }
    ]
  }
]

Any idea what's going on?

Unfortunately I'm no longer involved with the upstream :/ comparing fonttools's ttx result of the two should give a good clue.

@ebraminio, oh, sorry to hear that 😿
The above gist does include a ttx diff, but it's rather big, so it isn't clear to me what the actual issue might be. I guess I'll spend some time looking at it and maybe report it upstream if I can reproduce it with the hb_subset binary.

Hmm, I can reproduce it with just the hb-subset binary wired into subfont instead. That setup also reproduces it with harfbuzz 3.1.1 and 3.0.0, but 2.8.1 (which harfbuzzjs was using before) is fine.
git bisect says that the behavior changed in cb5a6b5a27cfe616113bafe7f23ad33f1b0d0a1e:
cb5a6b5a27cfe616113bafe7f23ad33f1b0d0a1e is the first bad commit
commit cb5a6b5a27cfe616113bafe7f23ad33f1b0d0a1e
Author: Qunxin Liu<EMAIL_ADDRESS>Date:   Wed May 19 17:33:46 2021 -0700

    [subset] support option --layout-features

Passing --layout-features=aalt,dnom,frac,kern fixes it for the particular test case, but I guess we should just pass --layout-features=* as we did to pyftsubset -- that also works and should be safer.
We can ape what hb-subset --layout-features=* does:
diff --git a/index.js b/index.js
index ba08ff2..e079161 100644
--- a/index.js
+++ b/index.js
@@ -49,6 +49,14 @@ async function subsetFont(
   const face = exports.hb_face_create(blob, 0);
   exports.hb_blob_destroy(blob);

+  // Do the equivalent of --font-features=*
+  const layoutFeatures = exports.hb_subset_input_set(
+    input,
+    6 // HB_SUBSET_SETS_LAYOUT_FEATURE_TAG
+  );
+  exports.hb_set_clear(layoutFeatures);
+  exports.hb_set_invert(layoutFeatures);
+
   if (preserveNameIds) {
     const inputNameIds = exports.hb_subset_input_set(
       input,

... but that requires harfbuzzjs to expose hb_set_clear and hb_set_invert.

but that requires harfbuzzjs to expose hb_set_clear and hb_set_invert.

0.2.1 published with it :)

Released in 1.4.0. Thanks for all the help, @ebraminio :hugs:


[feature request] Suppress banner output.

Can you add a way to suppress the banner output? It gets annoying when using this gem in rails (or even a cli tool) as it outputs the banner every time any rails action is run.

Good point. The banner is now conditional  on  $DEBUG, $RUBYCOCO. Uploaded a new gem, that is, v1.0.1. Cheers. Prost.


Typo tolerance disableOnAttributes ineffective for attributes with similar content

Hey, I'm having trouble configuring/understanding the typo tolerance setting disableOnAttributes. Not sure if this is a bug or just behavior that I don't understand.
I added the following documents:
[
  {
    "id": "1",
    "attr1": "Meilisearch",
    "attr2": "hello Meilisearch"
  },
  {
    "id": "2",
    "attr1": "Meilisearch",
    "attr2": "foobar"
  }
]

With default configuration I see the following result when searching for Meilisearch:
{
  "hits": [
    {
      "id": "1",
      "attr1": "Meilisearch",
      "attr2": "hello Meilisearch",
    },
    {
      "id": "2",
      "attr1": "Meilisearch",
      "attr2": "foobar"
    }
  ],
  "query": "Meilisearch",
}

Searching for Meilisearcx results in:
{
  "hits": [
    {
      "attr1": "Meilisearch",
      "attr2": "hello Meilisearch",
      "id": "1"
    },
    {
      "attr1": "Meilisearch",
      "attr2": "foobar",
      "id": "2"
    }
  ],
  "query": "Meilisearcx",
}

Everything as expected so far.
When limiting the searchable attributes to attr1 and disabling typo tolerance on attr1, the results change as expected.
Searching for Meilisearch => 2 hits.
Searching for Meilisearcx => 0 hits.
Now I add attr2 to searchable attributes and disable typo tolerance on attr2 as well.
{
  "enabled": true,
  "minWordSizeForTypos": {
    "oneTypo": 5,
    "twoTypos": 9
  },
  "disableOnWords": [],
  "disableOnAttributes": [
    "attr1",
    "attr2"
  ]
}

Searching for Meilisearch => 2 hits, as expected.
But when searching for Meilisearcx, I would have expected to get no results. Instead, I get one hit, although typo tolerance is disabled on attr1 and attr2:
{
  "hits": [
    {
      "attr1": "Meilisearch",
      "attr2": "hello Meilisearch",
      "id": "1"
    }
  ],
  "query": "Meilisearcx",
}

When changing the documents to:
[
  {
    "id": "1",
    "attr1": "Meilisearch",
    "attr2": "something else"
  },
  {
    "id": "2",
    "attr1": "Meilisearch",
    "attr2": "foobar"
  }
]

I do not get any results, as I would expect.
So in short: Disabling typo tolerance on two attributes that have similar content does not seem to work.
Meilisearch version: v1.5.1

Hello @Florian86,
Indeed, it's a bug,
I reproduced the bug on v1.5.0 and v1.5.1.
However, the bug doesn't seem to appear on the main branch (future v1.6.0).
So this bug should be fixed in the next release (v1.6.0).
The first release candidate has already been released; don't hesitate to try it:
https://github.com/meilisearch/meilisearch/releases
If you manage to reproduce the bug with the release candidate,
please reopen the issue, and we'll make further investigation,
Thank you for the report!
see you!

Closing this issue as fixed in v1.6.0


Mist fails if output directory doesn't exist

Mist currently errors out if the output directory does not exist.
Create the output directory (--output <output>) if required.

Fixed in #10.


correcting last commit about reconnect + DnD

Adding missing design services file.
refactoring of services

J'ai ajouté le drag and drop dans ce pull request.

Done ! Thank you @yanngv29 !


Tape measure

MILWAUKEE 5M METRIC PREMIUM TAPE MEASURE
Article Number: 48227305

Key Features

Nylon bond blade protection
5-point reinforced frame
Magnetic hook
Finger stop
Double sided printing


COPY failed: stat OpenSprinkler-Firmware/OpenSprinkler: file does not exist

Hi, I am very interested in trying out your OpenSprinkler Firmware Add-on for Homeassistant. However, when trying to Install the Add-On it fails with the following error: "COPY failed: stat OpenSprinkler-Firmware/OpenSprinkler: file does not exist".

Hi @derbrowser ,
This add-on is not supported anymore for a long time.
Please take a look at https://github.com/vinteo/hass-opensprinkler
Br


Migrate from webpack to rollup + tersec

rollup is easier/simpler to configure.
I also found I had less issues with rollup than webpack when migrating to ESM (esm branch).
Downside: The size-limit check is not done as part of GitHub actions anymore.

Issues as cluster polyfill is needed but not support by rollup plugin. Resolved by upgraded js-libp2p... which needs the package to be migrated to ESM. Hence cannot spit conversion to rollup.


TypeDoc failing in GitHub Actions

Expected Behavior
Typedoc will work correctly when run from the example Actions file deploy-gh-pages.yml
Actual Behavior
2021-11-19T12:10:40.5303299Z ##[group]Run npm docs
2021-11-19T12:10:40.5303938Z npm docs
2021-11-19T12:10:40.5351103Z shell: /usr/bin/bash -e {0}
2021-11-19T12:10:40.5351586Z ##[endgroup]
2021-11-19T12:10:40.8514286Z npm ERR! code 3
2021-11-19T12:10:40.8542715Z npm ERR! Command failed: xdg-open https://github.com/lloydjatkinson/affirm#readme
2021-11-19T12:10:40.8553401Z npm ERR! /usr/bin/xdg-open: 869: www-browser: not found
2021-11-19T12:10:40.8554473Z npm ERR! /usr/bin/xdg-open: 869: links2: not found
2021-11-19T12:10:40.8555418Z npm ERR! /usr/bin/xdg-open: 869: elinks: not found
2021-11-19T12:10:40.8556312Z npm ERR! /usr/bin/xdg-open: 869: links: not found
2021-11-19T12:10:40.8557185Z npm ERR! /usr/bin/xdg-open: 869: lynx: not found
2021-11-19T12:10:40.8558039Z npm ERR! /usr/bin/xdg-open: 869: w3m: not found
2021-11-19T12:10:40.8559301Z npm ERR! xdg-open: no method available for opening 'https://github.com/lloydjatkinson/affirm#readme'
2021-11-19T12:10:40.8561052Z npm ERR!
2021-11-19T12:10:40.8914363Z
2021-11-19T12:10:40.8924434Z npm ERR!

Steps to Reproduce the Problem

Clone the repo
Push to your own new repo
Wait for GitHub Actions to fail

Changes
The only changes I've made from this setup is I have swapped over to npm and I specify Node 16 in the deploy_pages job step.
TypeDoc works fine locally.

Do you have a link to a failing deploy_pages job? Works fine on latest master https://github.com/metachris/typescript-boilerplate/runs/4236963691?check_suite_focus=true 🤔


Question about training

Hi, reading this paper make me feel astonish and inspired!!!
I would like to implement this algorithm in real environment. I want to train this algorithm into real business, and adjust it to fit in.
But I got a question here, I don't know which method to choose. The first one is that I use a little bit data, such as a week data which include almost all kinds of alarms to train , and then enlarge the amount of data. The other one is that I use one type of alarms to train, and make this fit to real situation, and then add another type of alarm to continue, and so on, until the algorithm absorb all of the alarms.
Would you please give me some advice? Which one is quicker, and which one could be more accurate?

Hi Mozolotov809,

The training time depends only on the total amount of data that you give to it, so either using the full data once, or parts of the data in little chunks will be equivalent.
Regarding accuracy, this will depend on the type of data that you train with, but in general, the closer your dataset is to a real-world scenario, the more accurate DeepCASE will become.


Treat underscore as word/path-segment separator?

Starting from activerecord/lib/active_record/connection_adapters/abstract_adapter.rb, I typed pool.
I wanted to find activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb, but the top results were:
> activerecord/test/cases/pooled_connections_test.rb
> activerecord/lib/active_record/connection_adapters/postgresql/oid/legacy_point.rb
> activerecord/lib/active_record/relation/predicate_builder/polymorphic_array_value.rb
> activestorage/test/controllers/previews_controller_test.rb
> activestorage/app/controllers/active_storage/previews_controller.rb
> actionview/test/fixtures/actionpack/test/potential_conflicts.erb
> actionpack/test/controller/controller_fixtures/vendor/plugins/bad_plugin/lib/plugin_controller.rb
> activesupport/lib/active_support/core_ext/range/overlaps.rb
> actionpack/test/fixtures/public/foo/other-index.html
> actionpack/test/fixtures/公共/foo/other-index.html
> railties/lib/rails/generators/rails/app/templates/config/databases/oracle.yml.tt
> activesupport/lib/active_support/logger.rb

The first match does contain a contiguous pool at the start of the filename, so it's not unreasonable that it came first. And the second has a split prefix match for po*/o*/l*. But the rest are pretty spread-out arbitrary single-letter substring matches.
Given the path similarity, I expected my target to be at the top of the list, followed by activerecord/lib/active_record/connection_adapters/statement_pool.rb (shorter, but no abstract).
cp and spoo are sufficient to get those two files, respectively, to the top while using their first character.
I know different people/projects use underscores (and similar characters) in different ways, and sometimes treating it as a full word separator equal to / could give equally surprising results in the opposite direction. Perhaps the list of separators could be configurable?

:heart: :green_heart: :blue_heart: :yellow_heart: :purple_heart:
Thanks so much for cpsm! Its match quality has completely changed my mind about the usefulness of fuzzy finders -- and it's only because of that "always knows what I mean" awesomeness that I'm opening this issue to report where it's tripped me up.

_ is actually recognized as a word separator, which is why cp and spoo work. The problem is that cpsm isn't very good at matching queries that don't at least match at the beginning of the basename, because in the current implementation word matching is a bit of hack to prevent matching from being exponential-time in the length of the query. I have some ideas on how to improve this, but it'll probably involve another matcher redesign.


Viewer tool read/set topic interface

See #21
UI:
Topic Name:
Topic Value:
Update from network: y/n
Request button
Narrow to host: IP addr
Store locally/Load from local store

https://docs.oracle.com/javafx/2/ui_controls/table-view.htm


Error in project.assets.json file when trying to compile

When trying to compile the solution I get the error below. The Target Framework in Visual Studio is blank and disabled.  It seems there's something missing on my machine but I am not sure what it is. An old version of some SDK?
Severity	Code	Description	Project	File	Line	Suppression State
Error		Assets file 'C:\inetpub\wwwroot\DevExtreme.AspNet.Data-master\net\DevExtreme.AspNet.Data\obj\project.assets.json' doesn't have a target for '.NETStandard,Version=v1.0'. Ensure that restore has run and that you have included 'netstandard1.0' in the TargetFrameworks for your project.	DevExtreme.AspNet.Data	C:\Program Files\dotnet\sdk\2.1.102\Sdks\Microsoft.NET.Sdk\build\Microsoft.PackageDependencyResolution.targets	167

Try to manually delete the bin and obj directories in every failing project. Or make a fresh clone of the repo.


Turn # of teammates into a Tip

Pulled the last sentence "Free and Essentials customers can create 1 teammate per account, and Pro customers or higher packages up to 1000 teammates." from the first paragraph and turned it into a Tip callout to make more visible for customers.
Description of the change: See above
Reason for the change: More visible for users, to avoid getting lost in paragraph.
Link to original source: https://sendgrid.com/docs/ui/account-and-settings/teammates/

Closes #

Hello @kelseyenglish,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


Automated test workflows

Raising issue as part of JOSS review https://github.com/openjournals/joss-reviews/issues/5021
Issue: You should set up a GitHub action to automatically run your tests for PRs and commits to master,  report code-coverage.
Nice have: automated workflow to build your documentation, automated workflow to push package releases to PyPI.

#95 Once this pull request merge, the automated test should be running as well


InjectFromComponent fails and gives null

i am using ```
compile com.google.dagger: dagger :2.9'
androidTestCompile 'com.github.fabioCollini:DaggerMock:0.6.6'

**I have the following single component set up in dagger:**

@Singleton
@Component(modules = {AppModule.class, NetworkModule.class, RepositoryModule.class, UseCaseModule.class, ActivityModule.class, PresenterModule.class})
public interface AppComponent {

    void inject(NetworkSessionManager target);
    void inject(SplashActivity target);
    void inject(AuthenticationActivity target);
    void inject(WelcomeActivity target);
    void inject(LoginFragment target);
}

the networkModule.java if interested looks like this:

@Module
public class NetworkModule {

    public static final String BASE_URL = "BASE_URL";
    private static final String REQUEST_INTERCEPTOR = "requestInterceptor";

    @Provides
    @Singleton
    @Named(REQUEST_INTERCEPTOR)
    public Interceptor provideRequestInterceptor(@ApplicationContext Context context) {
        return new NetworkSessionManager(context);
    }

    @Provides
    @Named(BASE_URL)
    public String provideBaseUrlString() {
        return BuildConfig.BASE_ENDPOINT;
    }

    @Provides
    @Singleton
    public Converter.Factory provideGsonConverter() {
        return GsonConverterFactory.create();
    }

    @Singleton
    @Provides
    public OkHttpClient provideOkHttpClient(@Named(REQUEST_INTERCEPTOR) Interceptor networkSessionManager) {
        final OkHttpClient.Builder builder = new OkHttpClient.Builder();
        if (BuildConfig.RETROFIT_LOG_ALL) {
            HttpLoggingInterceptor logging = new HttpLoggingInterceptor();
            logging.setLevel(HttpLoggingInterceptor.Level.BODY);

            /*add logging as the last interceptor to get all logs https://futurestud.io/tutorials/retrofit-2-log-requests-and-responses*/
            builder.addInterceptor(networkSessionManager);
            builder.addInterceptor(logging);
        }
        return builder.build();
    }

    @Provides
    @Singleton
    public Retrofit provideRetrofit(Converter.Factory converter, OkHttpClient client, @Named(BASE_URL) String baseUrl, MockWebServer ignored) {
        return new Retrofit.Builder()
                .baseUrl(baseUrl)
                .client(client)
                .addCallAdapterFactory(RxJava2CallAdapterFactory.create())
                .addConverterFactory(converter)
                .build();
    }

    @Singleton
    @Provides
    MockWebServer providerMockWebServer() {
        return new MockWebServer();
    }
}

Now, in androidTest folder i have created one test called LoginIntegrationTest:

public class LoginIntegrationTest {

  @Rule
     public ActivityTestRule<AuthenticationActivity> mActivityRule = new ActivityTestRule(AuthenticationActivity.class);

    @Rule
    public final DaggerMockRule<AppComponent> rule = new DaggerMockRule<>(AppComponent.class,
            new AppModule(getApp()),new RepositoryModule(),new NetworkModule(),new UseCaseModule());

    public MyApplication getApp() {
        return (MyApplication) InstrumentationRegistry.getInstrumentation().getTargetContext().getApplicationContext();
    }

@InjectFromComponent
    Retrofit r;

    @Before
    public void setup() throws IOException {

      // here AND afterwards retrofit object is null , why ?

    }
}

Why is retrofit null on a simple test like this?  could you help, what am i missing ?
and its not just retofit i cant inject. Things like SharedPreferences, FirebaseAuth, show as null too.

You can use InjectFromComponent only when the object is exposed in the component. In your example I think you should add a Retrofit retrofit(); method in your component.

I wonder if there is a way to provide this info in a compiler error or warning...

that was the issue.  i had a stackoverflow question on it which i posted but maybe a quick example in the docs could help .but yah the issue can be closed.

Sorry for hijacking this thread but I have a similar issue.
Adding "Retrofit retrofit();" to the component does not work as I get a build error saying Retrofit  cannot be provided without an @Inject constructor or from an @Provides-annotated method.
Any ideas ?

@fabioCollini Is there anyway we can @InjectComponent from module itself ? (without adding method to component) ?


Plan for release v3.0.0

After #231 and #237 are done, we will release the next version.
It is not compatible with the previous version because frames() is updated, so it looks appropriate that the major version is updated.

@kangz12345
I released the newest version.
Please check it and close this issue if there is no problem!

👍


New Org:  Good Forever

https://www.goodforever.org/

Only needs lontermism as cause_area to be ready.

ready for review


Test code v1.3 rev1

Add various test codes and improve logic of some features.

Pull Request Test Coverage Report for Build 414

9 of 9 (100.0%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+4.8%) to 84.212%

Totals

Change from base Build 412:
4.8%

Covered Lines:
2811

Relevant Lines:
3338

💛  - Coveralls