No such file or directory: '/StyleHEAT_result/train_video_styleheat/epoch_00010_iteration_000023000_checkpoint.pt'

D:\anaconda\python.exe D:/work/vgan/StyleHEAT-main/inference.py
Same-id testing
Load pre-trained e4e Encoder from checkpoints/Encoder_e4e.pth done.
Load pre-trained hfgi encoder from checkpoints/hfgi.pth done.
Traceback (most recent call last):
File "D:/work/vgan/StyleHEAT-main/inference.py", line 223, in
main()
File "D:/work/vgan/StyleHEAT-main/inference.py", line 202, in main
generator = StyleHEAT(opt.model, PRETRAINED_MODELS_PATH).cuda()
File "D:\work\vgan\StyleHEAT-main\models\styleheat\styleheat.py", line 36, in init
self.load_checkpoint(opt, path_dic)
File "D:\work\vgan\StyleHEAT-main\models\styleheat\styleheat.py", line 59, in load_checkpoint
ckpt = torch.load(path, map_location='cpu')['net_G_ema']
File "D:\anaconda\lib\site-packages\torch\serialization.py", line 699, in load
with _open_file_like(f, 'rb') as opened_file:
File "D:\anaconda\lib\site-packages\torch\serialization.py", line 231, in _open_file_like
return _open_file(name_or_buffer, mode)
File "D:\anaconda\lib\site-packages\torch\serialization.py", line 212, in init
super(_open_file, self).init(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: '/StyleHEAT_result/train_video_styleheat/epoch_00010_iteration_000023000_checkpoint.pt'
Load pre-trained StyleGAN2 from checkpoints/StyleGAN_e4e.pth done.
Stage: inference

the same

The error is caused due to the wrong path setting in inference.yaml.
I have updated the inference.yaml or you can specify the free_styler_path as your local path to StyleHEAT_visual.pt.


Upstream request: wavLM

I see WavLM now topped all of the SUPERB tasks (10 tasks). So, I would like to request to add this audio embedding to upstream.
Paper: https://arxiv.org/pdf/2110.13900.pdf
Code/Model: https://github.com/microsoft/unilm/tree/master/wavlm
Currently, only base and base+ models are available; the large version will be added soon.

I see WavLM now topped all of the SUPERB tasks (10 tasks). So, I would like to request to add this audio embedding to upstream.
Paper: https://arxiv.org/pdf/2110.13900.pdf Code/Model: https://github.com/microsoft/unilm/tree/master/wavlm
Currently, only base and base+ models are available; the large version will be added soon.

Hi, I am Yu Wu, the author of WavLM. I am glad to add the WavLM to the upstream. We are glad to offer any help that we can provide.  Let's wait the reply from the repo owner.

Hi @MarkWuNLP,
That will be a great contribution. I think the owner will be happy with that, right @leo19941227 ?
This repo is very open; I make several contributions and they always accept it.
I already have the unispeechSat model in my local's upstream. I may make PR for this upstream too.

Hi @bagustris and @MarkWuNLP !
Cool! We are happy to have WavLM and UnispeechSAT in S3PRL!
Would it be okay for @bagustris to make PR for these two models and perhaps @MarkWuNLP could help review it?
Many thanks!
Sincerely,
Leo

Thanks! however, I have a problem with my implementation of WavLM  (I think because of fairseq version), so I would let @MarkWuNLP to do this PR as he is the original author. We may have someone to review it.

Hi @bagustris  and  @leo19941227 ,
I discussed the PR with Sanyuan Chen (first author of the paper) yesterday. He will merge  WavLM into S3PRL, and he also mentions the different version FAIRSEQ issue. Our initial plan is to use a simple Pytorch code for the PR.
@bagustris, will you merge the unispeechSat models into the S3PRL?

Thank's @MarkWuNLP!
I'll try.
I have working code for unispeechSat base, base+, and large with huggingface config. I also have this problem with fairseq version if I implement it on the direct model (without huggingface). So I implement it with the already uploaded model in the Huggingface. If you could upload the model into Huggingface, I think the steps could be simpler (I just copy the wav2vec2 directory from upstream and modify it accordingly).
Let me test one of the official downstream tasks before I make a PR.

Hi @bagustris and @leo19941227 ,
I have made a pull request #246  to merge WavLM model into S3PRL, and tested it on QbE task.
Please take a review and let me know if you have any questions.

Thanks @Sanyuan-Chen !
I have merged the PR for WavLM.

Hi @bagustris !
Thanks for planning to merge Unispeech-SAT!
Since recently we wish to study these very new SOTA models on more speech tasks, may I ask about your schedule on sending the PR?
Thanks!

Hopefully this week, sorry for the long delay!
I can confirm their claimed result on ER task (with a few eval steps) but need to confirm the base and base+ model.
Or I can directly make a PR.

Oh no problem! Thanks for confirming the correctness.
I would suggest to make the PR directly so I can also help to test on other tasks :)

Hi @bagustris,
For your convenience, I pasted our fine-tuning hyper-parameters here. You can follow our settings in Base and Base+ to reproduce the results you need. Thank you for the UniSpeech-SAT integration!
\begin{table}[t]
% \small
\centering
% \begin{center}
\caption{Hyperparamenters of fine-tuning UniSpeech-SAT models on SUPERB downstream tasks.
LR and BSZ denote leaning rate and batch size respectively.
}\label{table:superb_hyper}
\resizebox{0.45\textwidth}{!}{
\begin{tabular}{l|cc|cc|cc|cc}
\toprule
\multirow{2}{*}{Task}    & \multicolumn{2}{c|}{Base} & \multicolumn{2}{c|}{Base+} & \multicolumn{2}{c}{Large} & \multicolumn{2}{c}{Large+} \
% \hline
& LR & BSZ   & LR & BSZ  & LR & BSZ & LR & BSZ \ \hline
SID &  1e-1   & 512 & 1e-1 &  512  & 1e-1 & 512 & 1e-1 & 512  \
ASV &  5e-5 & 512 & 1e-4  & 512  & 1e-4 &  512 & 5e-5 & 512 \
SD & 1e-3 & 256  & 1e-3 &  256 & 5e-3 &  256  & 1e-3 & 256 \
PR & 1e-3 & 128  & 1e-4 & 128  & 1e-4 & 128 & 1e-4 & 128 \
ASR & 5e-4 &  128 & 1e-4 & 128  &  1e-4 & 128 & 1e-4 & 128   \
KS & 1e-5 &  512 & 1e-5 &  512 &  1e-5  &  512 & 1e-5 & 512 \
IC & 5e-5 & 128  & 1e-4 & 128  &  1e-4 & 128 & 1e-3 & 128   \
SF & 2e-4 & 128  & 1e-4 & 128  &  1e-4  &  128 & 5e-5 & 128 \
ER & 5e-5 & 32  & 5e-5 & 32  &  5e-5  &  32 & 1e-5 & 32 \
\bottomrule
\end{tabular}}
% \end{center}
\end{table}

Both WavLM and Unispeech are not merged into the master branch.
I am closing this issue.
Thanks @Sanyuan-Chen and @MarkWuNLP again for your great contribution!

Perfect! Amazing works.
Sorry for my PR, I didn't have time last two-weeks to implement the raw Unispeech-sat.
As for wavlm_large, can you double-check it again? I have no problem with base and base_plus of wavlm,
but for the large version, torch compains: "EOFError: Ran out of input ."

Hi @bagustris
Can you try to run_downstream.py again with -r option. I believe this error might be due to incomplete download.

Oh I did not notice you fix the problem in the latest PR. Let me check. Thanks!


The nested group call is unsupported when the parent section is in a loop.

I am using a lot of call groups in my project, they helped me to structure better my pipeline. Meanwhile, I face a little problem with calling subgroups.
I had prepared a little bit tricky example of pypyr usage to show the problem.

steps:
  - name: pypyr.steps.default
    in:
      defaults:
        index: 0
  - name: pypyr.steps.call
    in:
      call:
        groups:
            - main
    while:
        stop: !py 'index > 2'

main:
  - name: pypyr.steps.contextmerge
    in:
      contextMerge:
        index: !py 'index + 1'

  - name: pypyr.steps.call
    in:
      call:
        groups:
          - subgroup

subgroup:
  - pypyr.steps.debug

This pipeline will stack in the infinity loop, due to the call section is overridden after the first iteration.
It seems that the nested group call is unsupported when the parent section is in a loop.
The problem is that the nested group is resetting 'call' key in the context,
and unfortunately while from the main will call subgroup section instead of the main
How can we deal with this?

Thanks for raising this @Reskov, and furthermore thank you for providing more input & ideas on the discord, much appreciated! 🙇
I've added quite a few new integration tests to test scenarios like these, you can find input/output pipeline examples in tests/pipelines/call/ .
There was an additional side-effect where counters for loops (while/for/retry) didn't behave all that well during nested calls either - this also amended.
Before I merge & close this off, would you like to double-check the intended branch is behaving as you expect?

Looks good! I have only one small note about context.get https://github.com/pypyr/pypyr-cli/commit/4a573da5d2774716c22d5e564adad61ab6d6c2dc#r38249336
This change will help my fork to stay consistent. All the other looks pretty good. Thank you!

Thanks for the review & the heads-up, @Reskov! Great catch on the .get for cases where key is not context! I've amended the code to support this. While I was there, I also done #177, so removing in keys from context after step completion is now in the pypyr core.
Given that #177 has the potential to break current pipelines, it's not switched on by default as is, that'll come with the next major release server increment.


The game closes after displaying AdColony.

Hi, I use Android sdk 14 with UE 4.13.
The problem appears when AdColony Interstitial is finish and the game is resumed. At once, my game is exit.
I only have this.

logcat:

10-02 16:29:49.697: D/UE4(29694): LogAndroidEvents: EnqueueAppEvent : 12, 0, tid = 29715
10-02 16:29:49.797: D/UE4(29694): [2016.10.02-19.29.49:797][-7977044]LogAndroid: Case APP_CMD_SAVE_STATE
10-02 16:29:49.798: D/UE4(29694): [2016.10.02-19.29.49:798][-7977044]LogAndroidEvents:Display: DequeueAppEvent : 12, 0
10-02 16:29:50.073: D/UE4(29694): Case APP_CMD_RESUME
10-02 16:29:50.073: D/UE4(29694): LogAndroidEvents: EnqueueAppEvent : 7, 0, tid = 29715
10-02 16:29:50.073: D/UE4(29694): App is running in Landscape
10-02 16:29:50.073: D/UE4(29694): ==============> Resuming main init
10-02 16:29:50.074: D/UE4(29694): ==============> GameActive.onResume complete!
10-02 16:29:50.082: D/UE4(29694): LogAndroidEvents: EnqueueAppEvent : 11, 0, tid = 29715
10-02 16:29:50.174: D/UE4(29694): [2016.10.02-19.29.50:174][-7977044]LogAndroid: Case APP_CMD_RESUME
10-02 16:29:50.174: D/UE4(29694): [2016.10.02-19.29.50:174][-7977044]LogAndroid: Case APP_CMD_GAINED_FOCUS
10-02 16:29:50.174: D/UE4(29694): [2016.10.02-19.29.50:174][-7977044]LogAndroidEvents:Display: DequeueAppEvent : 7, 0
10-02 16:29:50.180: D/UE4(29694): Execution has been resumed!
10-02 16:29:50.181: D/UE4(29694): [2016.10.02-19.29.50:180][-7977044]LogAndroidEvents:Display: DequeueAppEvent : 11, 0

And, the log in UE4Game/game/game/Saved/Logs/game.log is incomplete.
How can i fix/debug this?
I will try deploy a empty game for test this.
Regards

Hi,
You can subscribe on AdColonyAdStarted and AdColonyAdAttemptFinished events.
It will give you more information about what is happening with the interstitial in your game.
Also please check if you have specified right AdColonyAppID and AdColonyZoneIDInterstitialVideo in YourProjectName\Config\DefaultEngine.ini file in [Advertisement] section.
Best regards.

Hi, I put those nodes and my log cat says this.
http://pastebin.com/L8f27Nc7
1 or 2 fps after advertising the game is exit.
I was check AdColonyAppID and AdColonyZoneIDInterstitialVideo in my config and it is ok.
Also, in my AdColony's panel, I can see the number of views.
Just now, my sdk version is 14 (Minimum and Target), and my NDK Level is 19.
there's something I'm forgetting me?
`Regards
Sorry my English, I am studying it :D

Do you have fps drop only after AdColony ads is shown? What about Chartboost, are there some troubles with it?

Hi, I try with Chartboost, and I have the same problem. After hiding advertising the game is close.
but, with AdMob it's work fine.
I leave here the log for a review.

D/UE4     (20285): [2016.10.06-00.44.48:731][-7973112]LogChartboost: AndroidThunkCpp_HasInterstitial OK
D/UE4     (20285): [2016.10.06-00.44.48:735][-7973112]LogBlueprintUserMessages: [GameTestGameMode_BP_C_0] HasInterstitial ? false
D/UE4     (20285): In AndroidThunkJava_ShowAdBanner
D/UE4     (20285): AdID: ca-app-pub-************************
D/UE4     (20285): In AndroidThunkJava_HideAdBanner
D/UE4     (20285): Case APP_CMD_PAUSE
D/UE4     (20285): LogAndroidEvents: EnqueueAppEvent : 6, 0, tid = 20307
D/UE4     (20285): ==============> GameActive.onPause complete!
D/UE4     (20285): [2016.10.06-00.44.52:666][-7973112]LogAndroid: Case APP_CMD_PAUSE
D/UE4     (20285): [2016.10.06-00.44.52:704][-7973112]LogAndroidEvents:Display: DequeueAppEvent : 6, 0
D/UE4     (20285): [2016.10.06-00.44.54:541][-7973112]LogBlueprintUserMessages: [GameTestGameMode_BP_C_0] DidDisplayInterstitial Default
D/UE4     (20285): [2016.10.06-00.44.54:541][-7973112]LogBlueprintUserMessages: [GameTestGameMode_BP_C_0] DidCacheInterstitial Default
D/UE4     (20285): AndroidEGL::ResetDisplay()
D/UE4     (20285): Execution has been paused...
D/UE4     (20285): LogAndroidEvents: EnqueueAppEvent : 10, 0, tid = 20307
D/UE4     (20285): LogAndroidEvents: EnqueueAppEvent : 12, 0, tid = 20307
D/UE4     (20285): [2016.10.06-00.44.54:643][-7973112]LogAndroid: Case APP_CMD_LOST_FOCUS
D/UE4     (20285): [2016.10.06-00.44.54:644][-7973112]LogAndroid: Case APP_CMD_SAVE_STATE
D/UE4     (20285): [2016.10.06-00.44.54:644][-7973112]LogAndroidEvents:Display: DequeueAppEvent : 10, 0
D/UE4     (20285): [2016.10.06-00.44.54:644][-7973112]LogAndroidEvents:Display: DequeueAppEvent : 12, 0
D/UE4     (20285): Case APP_CMD_RESUME
D/UE4     (20285): LogAndroidEvents: EnqueueAppEvent : 7, 0, tid = 20307
D/UE4     (20285): App is running in Landscape
D/UE4     (20285): ==============> Resuming main init
D/UE4     (20285): ==============> GameActive.onResume complete!
D/UE4     (20285): LogAndroidEvents: EnqueueAppEvent : 11, 0, tid = 20307
D/UE4     (20285): [2016.10.06-00.45.18:025][-7973112]LogAndroid: Case APP_CMD_RESUME
D/UE4     (20285): [2016.10.06-00.45.18:025][-7973112]LogAndroid: Case APP_CMD_GAINED_FOCUS
D/UE4     (20285): [2016.10.06-00.45.18:025][-7973112]LogAndroidEvents:Display: DequeueAppEvent : 7, 0
D/UE4     (20285): [2016.10.06-00.45.18:070][-7973112]LogUdpMessaging: Initializing bridge on interface <IP_ADDRESS>:0 to multicast group <IP_ADDRESS>:6666.
D/UE4     (20285): [2016.10.06-00.45.18:078][-7973112]LogTcpMessaging: Initializing TcpMessaging bridge, listening on <IP_ADDRESS>:6666
D/UE4     (20285): Execution has been resumed!
D/UE4     (20285): [2016.10.06-00.45.18:082][-7973112]LogAndroidEvents:Display: DequeueAppEvent : 11, 0
D/UE4     (20285): [2016.10.06-00.45.18:231][-7973112]LogStats:Warning: MetaData mismatch. Did you assign a stat to two groups? New //STATGROUP_Threads//FUdpMessageBeacon///Thread_51d1_0///####STATCAT_Advanced#### old //STATGROUP_Threads//FUdpMessageBeacon///Thread_5076_0///####STATCAT_Advanced####
D/UE4     (20285): [2016.10.06-00.45.18:232][-7973112]LogStats:Warning: MetaData mismatch. Did you assign a stat to two groups? New //STATGROUP_Threads//FUdpMessageProcessor.Sender///Thread_51d2_0///####STATCAT_Advanced#### old //STATGROUP_Threads//FUdpMessageProcessor.Sender///Thread_5077_0///####STATCAT_Advanced####
D/UE4     (20285): [2016.10.06-00.45.18:232][-7973112]LogStats:Warning: MetaData mismatch. Did you assign a stat to two groups? New //STATGROUP_Threads//FUdpMessageProcessor///Thread_51d0_0///####STATCAT_Advanced#### old //STATGROUP_Threads//FUdpMessageProcessor///Thread_5075_0///####STATCAT_Advanced####
D/UE4     (20285): [2016.10.06-00.45.18:232][-7973112]LogStats:Warning: MetaData mismatch. Did you assign a stat to two groups? New //STATGROUP_Threads//UdpMessageMulticastReceiver///Thread_51d3_0///####STATCAT_Advanced#### old //STATGROUP_Threads//UdpMessageMulticastReceiver///Thread_5078_0///####STATCAT_Advanced####
D/UE4     (20285): [2016.10.06-00.45.18:232][-7973112]LogStats:Warning: MetaData mismatch. Did you assign a stat to two groups? New //STATGROUP_Threads//FTcpMessageTransport///Thread_51d4_0///####STATCAT_Advanced#### old //STATGROUP_Threads//FTcpMessageTransport///Thread_5073_0///####STATCAT_Advanced####
D/UE4     (20285): [2016.10.06-00.45.18:233][-7973112]LogStats:Warning: MetaData mismatch. Did you assign a stat to two groups? New //STATGROUP_Threads//FTcpListener///Thread_51d6_0///####STATCAT_Advanced#### old //STATGROUP_Threads//FTcpListener///Thread_5074_0///####STATCAT_Advanced####

Hi,
please make a sample project with the plugin and send it to me<EMAIL_ADDRESS>

Hi,
I discovered something interesting. the bug occurs only in my Tablet CX9006.
In others devices this does not happen.
I will check on more devices and I will report the result.
Regards


[hdom] better error reporting / dev UX

To help newcomers and generally be more helpful during the dev process, we should add more checks for potential errors and then also produce more helpful error messages. These checks should all be wrapped within a if (process.env.NODE_ENV === "development") guard to remove them from production builds...

Some common error are:
Uncaught Error: illegal argument(s): div is not a valid tag name
or
Error: illegal argument(s): 0 is not a valid tag name
a message could help on identify the nature of the error (right now it is not very meaningfull) like the famous React:
Warning: Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.


Improve error recovery in delimited groups when can't parse anything inside

Simpler variant of #594.
While writing an issue for the potential null parse recovery, it just hit me that we might not need to support that generally but rather just limiting that to the delimited group would give us enough bang for the buck.
TerminatedBy null parse recovery can be a bit too greedy, i.e. we might recover some unexpected item definition just because... we recovered at the final terminator. However, the delimited group is a reasonable boundary since it's simple (2-3 kinds of general delimiters versus different kinds of potentially versioned terminated statements) and the opening delimiter must always match the closing one, so it produces more reliable and self-contained recovered phrases, hence attempting to recover from a null parse in a delimited group makes more sense.

Updated and added a changeset file (for this and for delimited error recovery in general)


dotnet-sdk-sts: Update to version 7.0.404 and update the manifest

What type of Apps related PR is this? (check all applicable)

[ ] ✨ Add Manifest
[x] ♻ Refactor
[ ] 🐛 Bug Fix
[x] 👷 Optimization
[ ] 🚩 Other

Description
Unifying the manifest file with other dotnet manifest for the autoupdate.hash and the checkver sections.
Updating to the latest version of the sdk-sts
Related Tickets & Documents
None
[optional] What gif/emoji best describes this PR or how it makes you feel?
:adhesive_bandage: :zap: :wrench:
Did you verify the followings
Add/Modify a description in the manifest?

[x] 👍 yes
[ ] 🙋 yes, but I need help
[ ] 🙅 no, because they aren't needed

Check URLs?

[x] 👍 yes
[ ] 🙋 yes, but I need help
[ ] 🙅 no, because they aren't needed

Update to the latest version?

[x] 👍 yes
[ ] 🙋 yes, but I need help
[ ] 🙅 no, because they aren't needed

Update Hashes?

[x] 👍 yes
[ ] 🙋 yes, but I need help
[ ] 🙅 no, because they aren't needed

Format the json manifest?

[x] 👍 yes
[ ] 🙋 yes, but I need help
[ ] 🙅 no, because they aren't needed

Did you identify extra steps
Notes in the manifest?

[ ] 👍 yes
[ ] 🙋 yes, but I need help
[x] 🙅 no, because they aren't needed

Application Dependencies?

[ ] 👍 yes
[ ] 🙋 yes, but I need help
[x] 🙅 no, because they aren't needed

Application Suggestions?

[x] 👍 yes
[ ] 🙋 yes, but I need help
[ ] 🙅 no, because they aren't needed

Pre-installation steps to perform?

[ ] 👍 yes
[ ] 🙋 yes, but I need help
[x] 🙅 no, because they aren't needed

Post-installation steps to perform?

[ ] 👍 yes
[ ] 🙋 yes, but I need help
[x] 🙅 no, because they aren't needed

File persistence to perform?

[ ] 👍 yes
[ ] 🙋 yes, but I need help
[x] 🙅 no, because they aren't needed

All changes look good.
Wait for review from human collaborators.
dotnet-sdk-sts

[x] Description
[x] License
[x] Hashes
[x] Checkver
[x] Autoupdate
[x] Autoupdate Hash Extraction


Instruction how to send logs over mqtt

I am looking for the option to send over the logs, with mqtt.
Is there a possibility to do that?
Why could i like to do that?
I want to use the somfy control to manage other things then a somfy device.
The remote i have is the one with a scroll wheel. Your code is the first one, which works great with this scroll wheel.
I want to use the data that is visible in the logs tab, to send it to node-red and do things with it.
What did i try:
Made a shade and setup it up.
I receive data in mqtt. It show is the shade is moving up or down (on the 1 or -1 data).
But i can't see which button is activated.

If you install the Main firmware to your device you will get three additional MQTT topics
cmd - The last command sent
cmdSource - internal = command came from ESPSomfy RTS, group = command was issued on the request of a group, remote = an external remote issued the command
cmdAddress - The address of the remote that issued the command.

That is a quick update.
Uploade the firmware to 2.2.1b
I tested it, but the "step up" isn't send over mqtt
What did i test and compared it with "logs" in your UI.
command      received in log        received mqtt topic /cmd
UP                      Yes visible                     Yes visible
Down                 Yes visible                     Yes visible
MY                     Yes visible                     Yes visible
STEP UP             Yes visible                      No Not visible
STEP DOWN       Yes visible                     Yes visible
MY + UP             Yes visible                     Yes visible
MY + DOwn        Yes visible                     Yes visible
Tried inverting the shade in the ESP. Made no difference for "step up".
Still it is showing in the log, but not on MQTT
Also directions and other topics aren't send over MQTT. But those work on version 2.2.0

Step up only exists with 80-bit motors.  That is part of the 3-bytes located in the inter-frame silence.  So if the motor it not defined as 80 bits it has no idea that it needs to decode it.

Could you explaine it more?
I don't get it what it makes the difference in V2.2.0 and V2.2.0b
On V2.2.0 i made a config and saw the direction topic (for example), for the "step up"
Now on V2.2.0b the "step up" direction is gone, without a change on the config.
In both versions i see the "step up" in the log, but this is different with mqtt messages.
This is the log. Where a 80-S bits is written. The module has received a command

When i compare those signals in nodered, then i only see the "step down".

Check my previous edit.  The tilt wheel has an interesting movement in that with an 80-bit blind with integrated tilt it first moves the tilt direction and when it reaches 0 on that it starts moving the lift.

Uploaded the new SomfyController.ino.esp32.bin you just put on github
With that version the "step up" and "step down" are working
I only tested the mqtt messages. The ESPsomfy-rts is not going to controll the blinds.
Reason: Unfortunally my somfy blinds died. Have other blinds motors which i want to controll with the same remote.
That is now possible with your great work. Thanks for the effort

If you look there is also a GP_Relay protocol that can trigger up and down with relays to directly control the motor if you need it.  This also works with the step up/down timing and it will trigger with the remote.

Thanks for the information about the GP_Relay protocol.
But i went the long way.
I made a very basic code with an MPU-6050 and EPS32 which measures the angle of the venetian blinds.
When a  motor command is received, the blinds will move to the angle which is requested. This can be a mqtt received command which is trigger by your code
Why this complex solution.
I made my own mechanics for the blinds with a servo motor in it.
But also the manual control still exists, with the ropes. That is why i need the angle sensor, to monitor manual movement.
This manual control is in case of power failure, motor failure. Or just because you are standing close to the blinds and want to change the angle.

Closing this enhancement, because the added changes made it work.


Add Notification support

Hello,
not sure if I didn't find the way to do that but I need to send a notification to Alexa, not to the mobile application, but to Echo devices.
The one that leaves the yellow ring blinking.
Maybe it's possible to do it with Routine -> Custom but I really don't know how to work with it.
This is the page with the reference of the api.
https://developer.amazon.com/en-US/docs/alexa/alexa-smart-properties/alexa-for-hospitality-notifications-api.html

This is what you need
https://flows.nodered.org/node/node-red-contrib-alexa-notifyme

Well no because it works only in English.
Il Lun 17 Gen 2022, 21:28 bwims @.***> ha scritto:

This is what you need
https://flows.nodered.org/node/node-red-contrib-alexa-notifyme
—
Reply to this email directly, view it on GitHub
https://github.com/bbindreiter/node-red-contrib-alexa-remote2-applestrudel/issues/44#issuecomment-1014867117,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIJLFEZZRLUMTJ5CKG5DB53UWR3YLANCNFSM5MFG323A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
<bbindreiter/node-red-contrib-alexa-remote2-applestrudel/issues/44/1014867117
@github.com>

Oh ok.  Well, the existence of this routine implies that what you want cannot be achieved in Alexa Remote applestrudel,
Therefore I would suggest you raise an issue with the author of notifyme here https://github.com/bartbutenaers/node-red-contrib-alexa-notifyme
Ask him what he thinks needs to be done to allow for non-English speakers, and if it is possible to make such changes.  If it is, either persuade him to do it or fork the project.
Just my thoughts.

Notifyme works using a Skill named Notify Me and that skill is available
only in English, so it's nothing about Notifyme itself.
I wonder why you say it's not possible to send a Notification to Alexa
using Alexa Remote applestrudel as it involves using an API call like any
other functions already implemented.
Actually with Alexa Other node is possible to add a Notification, but only
in the form of a Timer, Reminder or Alarm, it will be so different to add
just the ability to send a message as a Notification to all the devices?
Il giorno lun 17 gen 2022 alle ore 22:59 bwims @.***>
ha scritto:

Oh ok. Well, the existence of this routine implies that what you want
cannot be achieved in Alexa Remote applestrudel,
Therefore I would suggest you raise an issue with the author of notifyme
here https://github.com/bartbutenaers/node-red-contrib-alexa-notifyme
Ask him what he thinks needs to be done to allow for non-English speakers,
and if it is possible to make such changes. If it is, either persuade him
to do it or fork the project.
Just my thoughts.
—
Reply to this email directly, view it on GitHub
https://github.com/bbindreiter/node-red-contrib-alexa-remote2-applestrudel/issues/44#issuecomment-1014913353,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIJLFE3UFYRY5OLN2RFDS4TUWSGKZANCNFSM5MFG323A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
<bbindreiter/node-red-contrib-alexa-remote2-applestrudel/issues/44/1014913353
@github.com>

Note that I am not an Alexa programmer, just a Node Red user who's been using this for a couple of years now.  This is what I think I know.

  Their APIs are aimed at developers of commercial objects that make money for their companies and Amazon.   Features can and do stop working and need recoding.
alexa-remote2-applestrudel is a wrapper for the library alexa-remote2  maintained here https://github.com/Apollon77/alexa-remote  This is the place to raise an issue, I think.
There is indeed a custom feature which works for everything except pushNotifications, and a pushnotification option which appears to succeed, but does nothing at all.   I would guess this has fallen victim to the API changes, because it used to work, for this guy here...  https://discourse.nodered.org/t/alexa-speak-msg-payload-within-a-defined-sentence/32763/4   (this has examples that show you how to construct a Custom routine.)
While Notifyme is a skill, it has to be to in order to construct access to the (new?) APIs and access your Echo remotely. But it does work (in the English world).  It is not intended as something you actually access from your Echo, but from Node Red.
There is some discussion over at the Notifyme github right now.  https://github.com/bartbutenaers/node-red-contrib-alexa-notifyme/issues/11

Sorry not to have been of more help.

I'm sorry, it's a known limitation at the moment. There's an API that some skills use but it's not available via alexa-remote2 (yet).


Upgrade 3.3

This is a naive upgrade using ember-cli-upgrade and it's --run-codemods option.

Closing in favor of #5


Adding some bold fonts in info.html

I want to add some bold fonts in the long paragraph of info.html so that it can highlight the important points. users will not miss any points if its highlighted.

cool go-ahead and make a PR


Add deep links to Spotify

Create Spotify URI links that open Spotify directly
Add button to save the track/album directly

FWIW, for someone hoping to help contribute to this but not well versed in Rails, it'd be handy for closed issues to link to a corresponding commit, if possible 😄


[SPARK-9263] Added flags to exclude dependencies when using --packages

While the functionality is there to exclude packages, there are no flags that allow users to exclude dependencies, in case of dependency conflicts. We should provide users with a flag to add dependency exclusions in case the packages are not resolved properly (or not available due to licensing).
The flag I added was --packages-exclude, but I'm open on renaming it. I also added property flags in case people would like to use a conf file to provide dependencies, which is possible if there is a long list of dependencies or exclusions.
cc @andrewor14 @vanzin @pwendell

Merged build triggered.

Merged build started.

Merged build finished. Test FAILed.

Just minor things, wonder why the build didn't run.

Jenkins, retest this please.

Merged build triggered.

Merged build started.

Merged build triggered.

Merged build started.

Test build #38124 has started for   PR 7599 at commit 1536d7a.

Test build #66 has started for   PR 7599 at commit 1536d7a.

Thanks @vanzin. Addressed your comments. Didn't know about StringUtils.isBlank, now I can use it everywhere :)

Merged build triggered.

Merged build started.

Test build #38130 has started for   PR 7599 at commit 154f5db.

Test build #66 has finished for   PR 7599 at commit 1536d7a.

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

Merged build finished. Test FAILed.

Test build #38124 has finished for   PR 7599 at commit 1536d7a.

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

Merged build finished. Test FAILed.

Test build #38130 has finished for   PR 7599 at commit 154f5db.

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

Merged build finished. Test FAILed.

Jenkins, retest this please.

Merged build triggered.

Merged build started.

Test build #82 has started for   PR 7599 at commit 154f5db.

Merged build triggered.

Merged build started.

Test build #38238 has started for   PR 7599 at commit 154f5db.

Test build #82 has finished for   PR 7599 at commit 154f5db.

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

Merged build finished. Test FAILed.

Test build #38238 has finished for   PR 7599 at commit 154f5db.

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

Merged build finished. Test FAILed.

"SparkSubmitSuite.includes jars passed in through --packages" failed, so it seems like it could be a legitimate test problem.

Merged build triggered.

Merged build started.

Test build #39072 has started for   PR 7599 at commit b5e508e.

@vanzin The tests passed locally :/ I don't want to see it get flaky again, let's see what happens.

Test build #39072 has finished for   PR 7599 at commit b5e508e.

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

Merged build finished. Test FAILed.

Jenkins retest this please.

Wow that last one was an error I had never seen before.

Merged build triggered.

Merged build started.

Test build #169 has started for   PR 7599 at commit b5e508e.

Merged build triggered.

Merged build started.

Merged build finished. Test FAILed.

Test build #169 has finished for   PR 7599 at commit b5e508e.

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

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #39103 has started for   PR 7599 at commit 6e54ede.

Test build #39103 has finished for   PR 7599 at commit 6e54ede.

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

Merged build finished. Test FAILed.

jenkins retest this please

Merged build triggered.

Merged build started.

Merged build triggered.

Merged build started.

Test build #170 has started for   PR 7599 at commit 6e54ede.

Test build #39121 has started for   PR 7599 at commit 6e54ede.

Test build #170 has finished for   PR 7599 at commit 6e54ede.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class QRDecomposition[UType, VType](Q: UType, R: VType)

Merged build finished. Test FAILed.

Test build #39121 has finished for   PR 7599 at commit 6e54ede.

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

Merged build finished. Test PASSed.

LGTM, just a couple of nits.

@andrewor14 Could you please take a look? I think this could go in today.

Merged build triggered.

Merged build started.

Test build #39244 has started for   PR 7599 at commit 636f410.

Test build #39244 has finished for   PR 7599 at commit 636f410.

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

Merged build finished. Test PASSed.

@pwendell @andrewor14 This patch got one LGTM. Could you please take a look? It would be nice to have this support in 1.5. Some users can't download some packages, which have licensing issues or bad poms.

I won't have time to review this in depth, but @vanzin feel free to merge if it LGTY

@vanzin would you like to merge this? It's going to conflict with one of my other patches.

Sure, I'll merge it.

Merged to master and branch-1.5. Thanks!

@vanzin Thanks! Congrats by the way on becoming a committer!

@brkyvz I ran into a trouble using sparkR with the CSV package from the master branch and I think this PR might be the related to the problem. If I run ./bin/sparkR --packages com.databricks:spark-csv_2.10:1.2.0 then I get
Exception in thread "main" java.lang.NullPointerException
        at org.apache.spark.deploy.SparkSubmitUtils$.createRepoResolvers(SparkSubmit.scala:812)
        at org.apache.spark.deploy.SparkSubmitUtils$.resolveMavenCoordinates(SparkSubmit.scala:962)
        at org.apache.spark.deploy.SparkSubmit$.prepareSubmitEnvironment(SparkSubmit.scala:286)
        at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:153)
        at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:120)
        at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)

This seems to be happening because we pass Some(args.repositories) in line 287 [1] and if the argument is not given it'll be null ? Should this just be Option(args.repositories) ?
[1] https://github.com/apache/spark/blame/a3aec918bed22f8e33cf91dc0d6e712e6653c7d2/core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala#L287


"quotes" rule only lints over 'string' data types

need to lint over all other string literals too.
https://github.com/OpenZeppelin/zeppelin-solidity/pull/556

[ ] import statements
[ ] pragma (experimental)

quote rule checks & fixes quotes of import statements in v1.0.6
cc @azavalla


Disable GOWORK by default when running invoke tasks

What does this PR do?

Disable GOWORK by default when running invoke tasks.
Motivation

Go workspaces are great for IDEs, but we don't actually use them in the CI, so building / testing / linting is not supported with workspaces enabled.
Workspaces are enabled by default in Go if you have a go.work file, they can be disabled by setting GOWORK=off.
It means every time one runs an invoke task they need to export GOWORK=off, or the command will fail weirdly.
To avoid that by default, this PR adds a piece of code which exports GOWORK=off, if go can find a go.work file and the GOWORK environment variable is not already defined.
In case of doubt (eg. the go command is not found or fails), it doesn't do anything.
One can still explicitly enable go workspaces by setting GOWORK="" (go will find the go.work file by itself) or directly the path of the go.work file.
Additional Notes

When go workspaces are implicitly disabled, a warning is printed to make it visible.
Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided. Except if the qa/skip-qa label, with required either qa/done or qa/no-code-change labels, are applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

/merge


Retries do not apply to ingress gateways

Is this the right place to submit this?

[X] This is not a security vulnerability or a crashing bug
[X] This is not a question about how to use Istio

Bug Description
Ingress gateways do not follow the default http retries. They also do not honor any retries in the virtual service.
apiVersion: networking.istio.io/v1
kind: Gateway
metadata:
  name: httpbin-gateway
spec:
  # The selector matches the ingress gateway pod labels.
  # If you installed Istio using Helm following the standard documentation, this would be "istio=ingress"
  selector:
    istio: ingressgateway
  servers:
  - port:
      number: 80
      name: http
      protocol: HTTP
    hosts:
    - "httpbin.example.com"
---
apiVersion: networking.istio.io/v1
kind: VirtualService
metadata:
  name: httpbin
spec:
  hosts:
  - "httpbin.example.com"
  gateways:
  - httpbin-gateway
  http:
  - match:
    - uri:
        prefix: /status
    - uri:
        prefix: /delay
    route:
    - destination:
        port:
          number: 8000
        host: httpbin
      retries:
        attempts: 5
        perTryTimeout: 2s

Is this by design? This prevents external traffic from benefitting from retries.
Version
Istio 1.19.10

Additional Information
No response

Do you see this in recent versions?

Do you see this in recent versions?
@keithmattix
I have not tried in awhile. Zach Butcher confirmed this was broken in previous Istio version. Should I try again on latest?

Yeah that would help confirm if this is still broken


UX Issue: Hand pointer should not be used globally across all frames.

Description: The hand pointer is used all over the application. It should only be activated when the user hovers the pointer over a clickable item like button or textbox.

Issue Resolved in the Latest Release


 --* Then Run main script
Type of change

[*] Added new project

Project name : Face Recognition

Short description :

unlock or lock your device with face recognition
Checklist

[*] The code is Python 3 compatible
[*] I have added relevant comments in my file to make code understandable
[*] I have added my project in a folder which includes all the necessary files

Looks good! Thank you. 🚀


Detail for readme file completiness

Where?
section 2.1.7 modify
Available whitespace settings are:
What?
add
 :strip # remove whitespace from both ends of the input

Hi Philippe,
Thanks for using the gem. Could you please submit PR?


[Hub Generated] Review request for Microsoft.HybridCompute to add version preview/2022-08-11-preview

This is a PR generated at OpenAPI Hub. You can view your work branch via this link.
ARM API Information (Control Plane)
Azure 1st Party Service can try out the Shift Left experience to initiate API design review from ADO code repo.  If you are interested, may request engineering support by filling in with the form https://aka.ms/ShiftLeftSupportForm.
Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[x] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
By default, Azure SDKs of all languages (.NET/Python/Java/JavaScript for both management-plane SDK and data-plane SDK, Go for management-plane SDK only ) MUST be refreshed with/after swagger of new version is published. If you prefer NOT to refresh any specific SDK language upon swagger updates in the current PR, please leave details with justification here.

Contribution checklist (MS Employees Only):

[ ] I commit to follow the Breaking Change Policy of "no breaking changes"
[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[x] Check this box if any of the following apply to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review.  Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki.

[ ] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.
Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Additional details on the process and office hours are on the Breaking Change Wiki.
NOTE: To update API(s) in public preview for over 1 year (refer to Retirement of Previews)
Please follow the link to find more details on PR review process.

@ankjayant - Ensure you have examples for the new API in the PR

Update Swagger spec to reflect the API route:
https://armmanifest.visualstudio.com/One/_git/Manifest/pullrequest/5501?_a=files
https://msazure.visualstudio.com/One/_git/compute-hybridrp/pullrequest/6697124?_a=files

Hi @mentat9  - Appreciate if you can take a look at this PR.
We have an upcoming feature release containing this functionality

Please study the guidelines described in the submission form and attest to that by checking the box:
[ ] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

@ankjayant, @jianyunt - Please be sure to remove the ARMChangesRequested label when you want the ARM reviewer to circle back. Otherwise, your PR doesn't show as ready for review/revisit.

I removed the label, requesting a circle back now

@raghushantha @ankjayant I proposed to add the subscription to the path even if we are not using it. What do you think? Otherwise, I am good with this PR

@ankjayant - Please don't force-push to replace commits. It makes it impossible for reviewers to just review the changes, and comments lose their anchor locations. We need to be able to diff changes and see comment context, so we aren't re-reviewing the same code over and over.

Hi @rkmanda, can you review our new API again? If there is any non-blocking issue in our previous APIs. Let us know and we'll keep them in our backlog and deal with them in another swagger PR. Our partner is waiting for this new API and we would like to continue to the next step earlier

@rkmanda, got this error. I checked the proxyResource definition and found not location inside of the properties. Does ""x-ms-azure-resource": true" automatically add location property to the object?

@ArcturusZhang @msyyc could you help approve the SDK breaking change ?


Switch to Node.js --enable-source-maps

Per https://github.com/seek-oss/skuba/pull/395#discussion_r605678796, we currently recommend runtime registration of source maps via skuba-dive.
Node.js 12 has a built-in --enable-source-maps flag that we can use instead.

Example implementation in https://github.com/seek-oss/skuba/commit/e6d8cac438d2c1bd107d4ada5f1fcd4e26818625.

We'll play this on our next major when we require a Node.js version that has this flag as stable (14.18+)


Share extension unitest fix

Feature or Bugfix

Bugfix

Detail

Initially share has expiration = 1
In test the extension request with expiration value = 1 is submitted
Expected that share is extended for 2 moths. But instead  is stays the same
FIX: Submit extension with expiration value = 2

Relates

Security
Please answer the questions below briefly where applicable, or write N/A. Based on
OWASP 10.

Does this PR introduce or modify any input fields or queries - this includes
fetching data from storage outside the application (e.g. a database, an S3 bucket)?

Is the input sanitized?
What precautions are you taking before deserializing the data you consume?
Is injection prevented by parametrizing queries?
Have you ensured no eval or similar functions are used?

Does this PR introduce any functionality or component that requires authorization?

How have you ensured it respects the existing AuthN/AuthZ mechanisms?
Are you logging failed auth attempts?

Are you using or adding any cryptographic features?

Do you use a standard proven implementations?
Are the used keys controlled by the customer? Where are they stored?

Are you introducing any new policies/roles/users?

Have you used the least-privilege principle? How?

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@TejasRGitHub  is it the right logic?
At first share with extension period = 1 is expired at 30.09.2024 0:00 (today midnight), but it's just created.
May it be the bug, that the moths is counted from 1 of, regardless of current date?


Autoscaling

See CHANGELOG.md in this PR for a summary of changes to the Helm chart. These changes close #11.
Beyond the Helm chart, the default API and Engine configurations for Docker/Podman setups have been modified to use the upstream license server as a backup if the License Proxy is down. Closes #8.

Brent and I did a live review where he walked me through the changes and I asked questions as they arose.


Add GCP+GKE metric attributes

Enable the GCP resource processor on the opentelemetry agent. This adds the following resource attributes:

cloud.provider
cloud.platform
cloud.account.id
cloud.region OR cloud.availability_zone
host.id
host.name (when not using workload identity)

When then GCE metadata server is unavailable, the resource processor exits without modifying the resource attributes. So it's safe to enable globally.
Enabling the resource processor on the agent sidecars allows for more accurate attributes, like the host.id of the node the reconciler is on, instead of the host.id of the otel-collector.

For more details, see the docs:
https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/resourcedetectionprocessor

/retest
TestOverrideGitSyncDepthV1Beta1 flaked

/retest
TestConflictingDefinitions_NamespaceToNamespace flaked with ERROR: validating metrics: expected metric "reconciler_errors" (tags: [{{component} sync}]) to equal 1 but got 0, which should (i think) be fixed by https://github.com/GoogleContainerTools/kpt-config-sync/pull/100 later.

/retest

/retest

/retest

/retest

/lgtm

/retest

/retest

/retest


ci: assign reviewer on pr

:tada: This PR is included in version 0.30.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Added data-types validation.

This is a partial fix for #114

Coverage increased (+0.08%) to 60.904% when pulling 16b5d75bdf9c993cfd1f86c36923af6480624078 on datatypes-validation into 2850c6fd718932cdb9d2e00ed3482a323ee23562 on master.

Coverage increased (+0.08%) to 60.904% when pulling 16b5d75bdf9c993cfd1f86c36923af6480624078 on datatypes-validation into 2850c6fd718932cdb9d2e00ed3482a323ee23562 on master.


Documentation for code structuring and flow

🚨🚨 Feature Request
It would be good if we can add code structure and flow information for new contributer who want to get started contributing to the project.

[ ] Related to an existing Issue
[ ] A new implementation (Improvement, Extension)

Hey @ChandanChainani, and welcome to Hub! For this issue, what exactly do you have in mind? We have a CONTRIBUTING.md for contributing guidelines, and the Documentation for how to use Hub.

Hi @dhiganthrao
smart_open one of the project in github has extending doc with the help of which one can easily extend the capability of the smart_open, which explain a bit about how the code is structured how all the pieces come together.
It will help new contributors to quickly get started adding new features, functionality and maybe new storage

Hey @ChandanChainani, I see what you mean. We could potentially include this in a doc, thank you for the example and raising this issue! Let me get back to the team about this.

Is this issue still open to work in?

Hey @jaivanti sorry for late reply. It's open to work on if you're still interested.

Yeah! I would like to work

Hello @tatevikh
If possible can you please explain on what exactly do I have to do

Hi @jaivanti . Thanks a lot for your interest. To be honest this ticket is not relevant anymore. But we very much value your interest in Hub. So I would like to ask you to reach out to @mikayelh (Mikayel) in our slack community. He will point you to a good starting tasks for new contributors. Good luck and thanks again.


update requirements.txt

"The file serving/model_request_processor.py imports torch, but torch is missing from serving/requirements.txt"

Thanks for noting @EvgeniiMoskovtsev - would you care to PR a fix?


Fix timer function

time.perf_counter is added in Python 3.3 so we can now assume it's always available.
https://docs.python.org/3.6/library/time.html#time.perf_counter
Also note that time.clock is removed in Python 3.8.

/test

/test

/test

/test

Test passed.


feat(performance): save tag state as individual project scope

Tag state is currently saved as a single JSON blob. This is provided a simple translation layer between in-memory tag state and its persisted representation. However, there are a few caveats to this approach:

The whole tag state must be read and written every time save is requested. As the tag state grows, load times will begin to suffer
Users rarely use more than a few tag scopes per neovim session. Why should we load all of them?
Lazy loading is possible, but feels a bit awkward. E.g. want to lazily load one tag scope, but would need to instead load all tag scopes
(nit) Editing a large JSON file can be annoying if a user, say, wants to manually delete a scope from the tag state

A different approach would be to serialize each tag scope individually, saving them as separate files within a common directory (e.g. a grapple cache directory). This would be advantageous for several reasons:

A neovim session will only ever need to load one or two project scopes at a time
Tag state can now be (properly) lazy loaded, which in turn makes lazy loading Grapple an easier task
An implicit timestamp is now provided which means features like automatic tag scope pruning is feasible
Users are able to simply "delete a file" to delete a tag scope

This does have some disadvantages:

By design, this approach is more complex. I don't think the implementation is too difficult, but some details will need ironing out
Getting information on all tag scopes is more difficult as it now would require interaction with the file system. For example,

What are all the scopes available?
How many tags are in each scope?
Other meta information about scopes

Grapple state is now fragmented.  This is highly experimental


Unable to get Podman to run an image, building from source

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
I am unable to get Podman to run an image, this is being built from scratch and I've followed the dependencies for installation.  The most confusing part is the CNI plugins, however, I have build them and setup the config in /etc/cni/net.d, yet when I try to run the image it has an obscure error with iptables:
INFO[0000] About to add CNI network podman (type=bridge)
DEBU[0000] mounted container "b2492a8b728319e70eae54524e4bfd7062e89b467ab0e2bb2bc494dcc9fbdd4b" at "/home/core/var/lib/containers/storage/overlay/357c856ed0dcb232cb74d59a85f999e18bbac84cccce73891f1ac5ebed29f55b/merged"
DEBU[0000] Created root filesystem for container b2492a8b728319e70eae54524e4bfd7062e89b467ab0e2bb2bc494dcc9fbdd4b at /mnt/ssd0data/home/core/var/lib/containers/storage/overlay/357c856ed0dcb232cb74d59a85f999e18bbac84cccce73891f1ac5ebed29f55b/merged
ERRO[0000] Error adding network: running [/usr/sbin/iptables -t nat -A CNI-701a16b5b6a1ae7074a21462 -d <IP_ADDRESS>/16 -j ACCEPT -m comment --comment name: "podman" id: "b2492a8b728319e70eae54524e4bfd7062e89b467ab0e2bb2bc494dcc9fbdd4b" --wait]: exit status 1: iptables: No chain/target/match by that name.
ERRO[0000] Error while adding pod to CNI network "podman": running [/usr/sbin/iptables -t nat -A CNI-701a16b5b6a1ae7074a21462 -d <IP_ADDRESS>/16 -j ACCEPT -m comment --comment name: "podman" id: "b2492a8b728319e70eae54524e4bfd7062e89b467ab0e2bb2bc494dcc9fbdd4b" --wait]: exit status 1: iptables: No chain/target/match by that name.
DEBU[0000] unmounted container "b2492a8b728319e70eae54524e4bfd7062e89b467ab0e2bb2bc494dcc9fbdd4b"
DEBU[0000] Network is already cleaned up, skipping...
DEBU[0000] Cleaning up container b2492a8b728319e70eae54524e4bfd7062e89b467ab0e2bb2bc494dcc9fbdd4b
DEBU[0000] Network is already cleaned up, skipping...
DEBU[0000] Container b2492a8b728319e70eae54524e4bfd7062e89b467ab0e2bb2bc494dcc9fbdd4b storage is already unmounted, skipping...
DEBU[0000] ExitCode msg: "error configuring network namespace for container b2492a8b728319e70eae54524e4bfd7062e89b467ab0e2bb2bc494dcc9fbdd4b: running [/usr/sbin/iptables -t nat -a cni-701a16b5b6a1ae7074a21462 -d <IP_ADDRESS>/16 -j accept -m comment --comment name: \"podman\" id: \"b2492a8b728319e70eae54524e4bfd7062e89b467ab0e2bb2bc494dcc9fbdd4b\" --wait]: exit status 1: iptables: no chain/target/match by that name.\n"
ERRO[0000] error configuring network namespace for container b2492a8b728319e70eae54524e4bfd7062e89b467ab0e2bb2bc494dcc9fbdd4b: running [/usr/sbin/iptables -t nat -A CNI-701a16b5b6a1ae7074a21462 -d <IP_ADDRESS>/16 -j ACCEPT -m comment --comment name: "podman" id: "b2492a8b728319e70eae54524e4bfd7062e89b467ab0e2bb2bc494dcc9fbdd4b" --wait]: exit status 1: iptables: No chain/target/match by that name.

Steps to reproduce the issue:

Build Podman from source

Setup dependencies, load image from well known obi-minimal "registry.access.redhat.com/ubi8/ubi-minimal" that works on Fedora 28.

Save using 'podman save oci-redhat-minimal.tar'

Load image on another Linux system, 'podman load -I oci-redhat-minimal.tar'

This works:

[root@test1 /]# podman images
REPOSITORY              TAG      IMAGE ID       CREATED       SIZE
localhost/ubi-minimal   latest   db87fd3a378e   6 weeks ago   91.7 MB

Try to run it and it fails with the above message 'podman run --log-level debug ubi-minimal'

Describe the results you received:
Error on iptables
Describe the results you expected:
Just to run without error
Additional information you deem important (e.g. issue happens only occasionally):
Occurs every time
Output of podman version:
[root@nc1 /]# podman version
Version:            1.6.2-dev
RemoteAPI Version:  1
Go Version:         go1.10.8
OS/Arch:            linux/amd64

Output of podman info --debug:
[root@nc1 /]# podman info --debug
debug:
  compiler: gc
  git commit: ""
  go version: go1.10.8
  podman version: 1.6.2-dev
host:
  BuildahVersion: 1.11.3
  CgroupVersion: v1
  Conmon:
    package: Unknown
    path: /usr/libexec/podman/conmon
    version: 'conmon version 2.0.2-dev, commit: 0e888a95b9f7a632ce2557332967e142675cb661'
  Distribution:
    distribution: unknown
    version: unknown
  MemFree:<PHONE_NUMBER>0
  MemTotal:<PHONE_NUMBER>8
  OCIRuntime:
    package: Unknown
    path: /usr/bin/runc
    version: |-
      runc version 1.0.0-rc9+dev
      commit: 4e3701702e966b4258fbab5b92efa6418c5ae6c6
      spec: 1.0.1-dev
  SwapFree: 0
  SwapTotal: 0
  arch: amd64
  cpus: 8
  eventlogger: journald
  hostname: nc1
  kernel: 4.19.24
  os: linux
  rootless: false
  uptime: 39m 23.49s
registries:
  blocked: null
  insecure: null
  search:
  - docker.io
  - quay.io
  - registry.fedoraproject.org
store:
  ConfigFile: /etc/containers/storage.conf
  ContainerStore:
    number: 5
  GraphDriverName: overlay
  GraphOptions:
    .mountopt: nodev
    .skip_mount_home: "false"
  GraphRoot: /home/core/var/lib/containers/storage
  GraphStatus:
    Backing Filesystem: extfs
    Native Overlay Diff: "false"
    Supports d_type: "true"
    Using metacopy: "true"
  ImageStore:
    number: 1
  RunRoot: /home/core/var/run/containers/storage
  VolumePath: /home/core/var/lib/containers/storage/volumes

Package info (e.g. output of rpm -q podman or apt list podman):
N/A built from source

Additional environment details (AWS, VirtualBox, physical, etc.):
Stripped down Linux OS based on Fedora, physical box

You mention your Linux install is stripped down - is IPTables installed? Is it running? Any rules created by default?

iptables (xtables-multi) is installed with all of the plugins installed as well.  I start Podman with an empty ruleset for iptables.  Same result the iptables error.

Empty ruleset? As in, iptables -nvL returns no active rules?

Correct it returns no active rules.  In fact iptables-save is also empty, but after running the podman run command it is populated with the rule that perhaps should have already been there?
[root@nc1 ~]# iptables -nvL
Chain INPUT (policy ACCEPT 106 packets, 7485 bytes)
 pkts bytes target     prot opt in     out     source               destination

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination

Chain OUTPUT (policy ACCEPT 91 packets, 7830 bytes)
 pkts bytes target     prot opt in     out     source               destination

After running podman run output of iptables-save (prior it was empty):
[root@nc1 ~]# iptables-save
# Generated by iptables-save v1.6.2 on Thu Oct 17 18:08:32 2019
*nat
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
:CNI-c9de117064a1b26e2e3ed3ab - [0:0]
COMMIT
# Completed on Thu Oct 17 18:08:32 2019
# Generated by iptables-save v1.6.2 on Thu Oct 17 18:08:32 2019
*filter
:INPUT ACCEPT [117:8375]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [116:12393]
COMMIT
# Completed on Thu Oct 17 18:08:32 2019

The error message has the same CNI hash that was added above:
ERRO[0000] Error while adding pod to CNI network "podman": running [/usr/sbin/iptables -t nat -A CNI-c9de117064a1b26e2e3ed3ab -d <IP_ADDRESS>/16 -j ACCEPT -m comment --comment name: "podman" id: "7162f9b03bc66c349b68b43581623b65ff81bfaf1a28e515ea3fbbd06e888805" --wait]: exit status 1: iptables: No chain/target/match by that name.
Error: error configuring network namespace for container 7162f9b03bc66c349b68b43581623b65ff81bfaf1a28e515ea3fbbd06e888805: running [/usr/sbin/iptables -t nat -A CNI-c9de117064a1b26e2e3ed3ab -d <IP_ADDRESS>/16 -j ACCEPT -m comment --comment name: "podman" id: "7162f9b03bc66c349b68b43581623b65ff81bfaf1a28e515ea3fbbd06e888805" --wait]: exit status 1: iptables: No chain/target/match by that name.

This one was a bit tricky, but turned out the kernel I'm building did not have the CONFIG_NETFILTER_XT_MATCH_COMMENT enabled...
The error message was quite cryptic from iptables.
I really appreciate the help, made me look further into iptables!

SO @hickersonj I guess  we can close this issue, reopen if I am mistaken.


자료구조 2주차

Hi @futurevibe ! Seems like the submitted issue is empty. Could you provide some more info about your setup and the specific issue you are experiencing? Also, be sure to be using the latest Spyder release (Spyder 5.4.5). If that is not the case I would suggest to try to update Spyder and see if the issue persists.
For more info you can check the Spyder docs troubleshooting guide: https://docs.spyder-ide.org/current/troubleshooting/index.html
Let us know if the info above helps!

Closing due to lack of response


Problem with forwarding l2_multi

Hello,
I have read some posts about problems with l2_multi and tried some of the answers but no luck.
I am using mininet and pox (eel) to run a simple network with only two switches and two host each (to avoid loops, 4 host total) I use the command ./pox.py forwarding.l2_multi openflow.discovery --eat-early-packets --no-flood --hold-down
then i wait a few seconds and open an xterm on mininet to send a ping but all the packages of the ping are lost.
I check the values on the switches and mac_map dictionaries and they are correct according to the topology but I check the code on l2_multi and print the MAC on the event used to validate the _handle_PacketIn if packet.dst.is_multicast but all the MAC from the pings are FF:FF:FF:FF:FF:FF so it always enter to flood() instead of continue to install_path, how can i solve this?
i also tried with a program to send UDP packages, no luck.
Thanks for the help.

I suspect that the commandline you actually use is more like:
./pox.py forwarding.l2_multi openflow.discovery --eat-early-packets openflow.spanning_tree --no-flood --hold-down

Given that your topology has no loops, the first thing I'd try is dropping the spanning_tree part and then see if it works like you expect.
Also, you say the MAC from all the pings are FF:FF:FF:FF:FF:FF.  I suspect that these aren't the pings and are actually the ARP messages, yes?

yes, i also tried without the spanning tree but the results are the same
./pox.py forwarding.l2_multi openflow.discovery
dictionaries are filled correctly but ff:ff:ff:ff:ff:ff on the MACs
i have the following
h1--s1--s2--h2
i ping h2 (<IP_ADDRESS>) from h1 (<IP_ADDRESS>)
the packages with ff are the ones entering from host1 to switch1 so yes if h1 doesn't know the mac of h2 then they are ARP i guess
i tried the same with l2_learning and print the same value (value in _handle_PacketIn packet.dst) but in l2_learning it already has the MAC of h2 as dst

Closing due to lack of activity.
One thought is whether the test was run for long enough.  Discovery, etc. can take a moment.


Add "If" step class to Routines

Describe the feature
Routines should have conditional evaluation with an "If" step class to change the path of Chain scripts they execute.
Technical details
This would involve the addition of an "If" step, as seen by the commented code in the existing Routine parser.
Alternatives
Conditional evaluation could be built into Chain itself, but that goes against the principle of simplicity for the language.

Superseded by #4! It will be a better solution than this.


Ignore data utf8 uri

Hello,
I discovered that the library is not ignoring data:image/svg+xml;utf-8"
I found it parsing the following stylesheet:
https://gist.github.com/Kikobeats/0d295b07c88c2e25ca1c2f91cc3824c5

Hi @Kikobeats
Could you please provide an example with full data-url that is not ignoring now?

I created a a tiny project called css-urls for extracting and normalize urls.
I'm trying a set of urls to ensure the service is working fine. When I provided https://carto.com/css/main.b11e3c63.css as input, It throws me an error
{ TypeError [ERR_INVALID_URL]: Invalid URL: http://data:image/svg+xml;utf-8
    at onParseError (internal/url.js:237:17)
    at parse (internal/url.js:246:3)
    at new URL (internal/url.js:321:5)
    at module.exports (/Users/josefranciscoverdugambin/Projects/css-urls/node_modules/normalize-url/index.js:32:17)
    at normalizeUrl (/Users/josefranciscoverdugambin/Projects/css-urls/node_modules/@metascraper/helpers/index.js:20:37)
    at getUrl (/Users/josefranciscoverdugambin/Projects/css-urls/node_modules/@metascraper/helpers/index.js:30:3)
    at originalUrls.map.url (/Users/josefranciscoverdugambin/Projects/css-urls/src/index.js:20:36)
    at Array.map (<anonymous>)
    at fromHTML (/Users/josefranciscoverdugambin/Projects/css-urls/src/index.js:20:25)

so the input looks it is http://data:image/svg+xml;utf-8, it is the test that I added

I've written code which downloads your file and uses css-url-parser to get urls from it, but it doesn't return any data-urls
Here is code and execution example: https://runkit.com/s0ph1e/5b576821d2a6e2001243d2bf
@Kikobeats could you please check what exactly css-url-parser returns in your case? I can not see incorrect output for this file


Custom Events and Listeners not being loaded

The package prevents automatic recognition of Events and Listeners that come with Laravel 11. However, I can use my own Events and Listeners by defining them within the AppServiceProvider.

@bulentsakarya I tried to replicate this but I don't have any issue getting the events automatically recognized. When you remove this package it does automatically recognize the Events and Listeners - and when you add this package it does not anymore?
https://laravel.com/docs/11.x/events#event-discovery


Code fix for {cu, roc}SOLVER

make _gesvdj_batched cpdef'd
fix work space size on ROCm for gesvd

Jenkins, test this please

Jenkins CI test (for commit 210f988603f6b6505b5d8468ec9aa9b8f41008db, target branch master) succeeded!


nixt(...).touch is not a function

I've just followed README, created nixt.js file with
var nixt = require('nixt');

nixt()
  .touch('/tmp/test')
  .run('ls /tmp/')
  .stdout(/test/)
  .end();

Run it with node nixt and got error:
22:40 $ node nixt
/Users/nkbt/github/p-s/nixt.js:4
  .touch('/tmp/test')
   ^

TypeError: nixt(...).touch is not a function
    at Object.<anonymous> (/Users/nkbt/github/p-s/nixt.js:4:4)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)
    at Module.runMain (module.js:575:10)
    at run (node.js:348:7)
    at startup (node.js:140:9)
    at node.js:463:3

I did some debugging and it does not look like docs match the code =(, nixt instance does not have any of those methods.
On a side note I have a general question if the project is alive and maintained.
Cheers,
Nik

Yeah, it seems .touch was replaced with .writeFile early on and never really implemented.
You can use .exec('touch file') or .writeFile('file', '') instead (note that the latter doesn't update atime and overwrites the file if it exists).
I've just updated the docs.


Support a Configuration File

Inspektor Gadget has a lot of parameters that can be configured at run time. Currently, all those parameters must be specified in the CLI, however this approach is not flexible, and it should be possible to define those parameters on a file to:

Avoid the user having to type them all the time it uses the CLI. It should be possible to override the values by using the CLI though.
Allow the user to configure Inspektor Gadget when running gadgets without the CLI as describe in the “Declarative way to run gadgets” case.

These are the parameters we should support through the configuration file. Many of them are already exposed in the CLI (try running kubectl gadget or ig without any argument to see them)
ig / ig-k8s
Workarounds

Auto mount file systems: Automatically mount bpffs, debugfs and tracefs if they are not already mounted
Auto sd unit restart: Automatically run in a privileged systemd unit if lacking enough capabilities
Auto wsl workaround: Automatically find the host procfs when running in WSL2

Container runtimes (docker, cri-o, containerd, podman)

Namespace (only for containerd?)
Socket paths
Enable/disable: if IG should try to contact that container runtime

OCI registry

Credentials
Bool flag indicating if this is an insecure registry
Security policies (TODO add link to security issue)

Exporters

Prometheus

Metrics listen address: Address to serve Prometheus metrics on
Metrics path: Path to export Prometheus metrics on

kubectl-gadget

API server connection: How to connect to the k8s API server. (It seems some of them are inherited from the kubeconfig)

connection-timeout
request-timeout
client-certificate
client-key
insecure-skip-tls-verify
kubeconfig
server
tls-server-name
token

Specific IG connection params

tcp-port

gadget-namespace
verbose

gadgetctl

connection-timeout
remote-address: Comma-separated list of remote address (gRPC) to connect to (default "unix:///var/run/ig/ig.socket")
Verbose

Implementation options
A lot of projects already use any sort of configuration file, so it’s a well-known approach in the industry. Projects like https://github.com/spf13/viper should contain all the support we need for this.

Although https://github.com/inspektor-gadget/inspektor-gadget/pull/2831 was merged I will keep this issue for follow-up work:

Support for ig-k8s
Add unit/integration tests
See if we can improve getting all the operators, currently GetDataOperators() might miss some but it needs to be looked into.


Is it safe to dedupe ui/gap calls?

In the calculator example, I added a single global gap
(def gap (ui/gap 0 padding))

and then replaced all (ui/gap 0 padding) calls with gap.
Some of the lines between buttons are now missing:

Is this expected? I found this while refactoring this namespace with (interleave (ui/gap 0 padding) ...) calls which seem to work in other examples, but not here.

I haven’t think about it, but actually it might not be safe to do that with more stateful components. But I also realized I do it with the gap all the time. I guess gaps should be ok? I wonder what’s going on there

I looked more into this. My mistake, the reason the lines were deleted was because I replaced (ui/gap 0 padding) with (ui/gap padding 0). Seems to work fine.


collecting images from multiple workers

I did a search for the issues in the wandb git repo. There were no such issues last year. Only this year, a couple of similar issues got reported. So, did testing by installing older versions starting from the latest version 0.10.22 .  The issue is reproducible till 0.10.0. Below this version, the issue is not reproducible and is working fine with multiple workers.
Please install wandb version 0.9.7 which was released on Sep 8, 2020.
We can activate the conda env and install using 'pip install wandb==0.9.7'
Wandb team is releasing the patches frequently. They released 13 versions since Sep 8, 2020. Hopefully, they will fix the issue soon.
Originally posted by @suryatechie in https://github.com/Berkeley-Data/hpt/issues/2#issuecomment-800827362

It works fine if we use wandb version 0.9.7.


feat(FieldTheory/IsPerfectClosure): predicate IsPerfectClosure

Main definitions

pNilradical: the p-nilradical of a ring is an ideal consists of elements x such that
x ^ p ^ n = 0 for some n (mem_pNilradical). It is equal to the nilradical if p > 1
(pNilradical_eq_nilradical), otherwise it is equal to zero (pNilradical_eq_bot).

IsPRadical: a ring homomorphism i : K →+* L of characteristic p rings is called p-radical,
if or any element x of L there is n : ℕ such that x ^ (p ^ n) is contained in K,
and the kernel of i is contained in the p-nilradical of K.
A generalization of purely inseparable extension for fields.

IsPerfectClosure: a ring homomorphism i : K →+* L of characteristic p rings makes L a
perfect closure of K, if L is perfect, and i is p-radical.

PerfectRing.lift: if a p-radical ring homomorphism K →+* L is given, M is a perfect ring,
then any ring homomorphism K →+* M can be lifted to L →+* M.
This is similar to IsAlgClosed.lift and IsSepClosed.lift.

PerfectRing.liftEquiv: K →+* M is one-to-one correspondence to L →+* M,
given by PerfectRing.lift. This is a generalization to PerfectClosure.lift.

IsPerfectClosure.equiv: perfect closures of a ring are isomorphic.

Main results

IsPRadical.trans: composition of p-radical ring homomorphisms is also p-radical.

PerfectClosure.isPerfectClosure: the absolute perfect closure PerfectClosure is a
perfect closure.

IsPRadical.isPurelyInseparable, IsPurelyInseparable.isPRadical: p-radical and
purely inseparable are equivalent for fields.

perfectClosure.isPerfectClosure: the (relative) perfect closure perfectClosure is a
perfect closure.

[x] depends on: #8563 [need one_lt_rootMultiplicity_iff_isRoot_gcd]
[x] depends on: #8860
[x] depends on: #8861
[x] depends on: #8873
[x] depends on: #9156
[x] depends on: #9392
[x] depends on: #10282
[x] depends on: #10405
[x] depends on: #10574
[x] depends on: #10839
[x] depends on: #10882

The works about separable degree and separable closure were already split as other PRs:

[x] depends on: #9041 [part one]
[x] depends on: #9338 [part two: separable closure]

... and does not depend on: #9488 [part three: purely inseparable]

In order to ease automation, this should be a simp lemma

I marked quite a lot of results as simp lemmas. Not sure if they are too many.

Thanks for this contribution!
bors merge


Add blob support

The new blob type is effectively identical to varchar and is treated as such for most operations. They may diverge further as we look into proper utf-8 support for character strings, but that's a future discussion.
Since blob is basically varchar (and will be represented as such for downgrade purposes) rather than implement a new type, riak_ql now has the concept of "external" vs "internal" type representations. Externally a blob will be represented as a blob, while internally for storage it's a varchar.
Pull Requests:

riak_kv https://github.com/basho/riak_kv/pull/1540
riak_ql https://github.com/basho/riak_ql/pull/156
riak_pb https://github.com/basho/riak_pb/pull/211
riak_shell https://github.com/basho/riak_shell/pull/61
riak_test https://github.com/basho/riak_test/pull/1212

@borshop retry

This can be retried once pb and ql are merged.

@borshop: retry

Tests weren't running but needed another merge with upstream anyway. Running through tests manually.

+1 6601d25

@borshop merge


Patch imports in types.dart

In this PR we allow the Gradle plugin to patch imports in any Dart file, not just in .pb.dart ones.
In order to collect info about known types, we generate types.dart file in every package. Previously, our Gradle plugin did not resolve relative path imports in those files. Now it does. Thanks to that, we're able to use Dart Protobuf classes from spine_client instead of generating them in place each time.
Also, protoDart.modules now final to prevent corrupting Gradle model with nulls.
Also, a minor TODO in another Gradle tool is resolved (no issue attached).

@armiol, PTAL.

Codecov collapse is a mystery.


Change contributions page URL schema

Current behavior
I suspect our CDN bans might be related to how we structure contribution links for individual users. Currently, all categories and users are handled by a single page with query parameters like /contributions/?user=1&category=category&....
This pattern is unideal because CDNs typically do not differentiate query parameters. As a result, pages like /contributions/?category=peer&user=156511 and /contributions/?category=peer&user=148850 are likely treated as a single page, which might lead to throttling limits being applied as if they were the same resource..
Expected/desired behavior

[ ] Change contributions page pattern to contributions//
[ ] Create a backward compatibility redirect page from  /contributions/?user=1&category=category&... to contributions/<category>/<userID>?other_query_params

Ready for QA on dev


Unable to use Annyang on Mac in Electron

I'm trying to build an Electron app using Annyang on my Mac (10.11.5) but it is failing. I've done some rudimentary debugging and it looks like Annyang keeps trying to restart itself but I haven't figure it out beyond that.
I have tried the "annyang-electron-demo" and am getting the same results.

I believe this might be due to the same issue described in #138.
For a software to use Google's Speech APIs, it needs a API key... and it looks like Electron has passed their quota. Hopefully they are working on allowing developers to use their own keys.
See the discussion in #138


Read-only members get a error page when selecting View Config

Version - v1.0.0
Steps to Reproduce:

Authenticate using GitHub
Add a member to an Environment and set them as read-only
Log in as read-only member
Go to Stacks and select View Config (either through menu or through the stack's detail page icon)

Results:  Error page pops up saying a is undefined

Expected: Should I be able to export the config as read-only?

Version - master 10/23
Not fixed

Version - 1.2.0-pre4-rc7 UI - v1.2.20
I can click the View Config button in stack page and get same error.

Version - master 11/15
Verified fixed


Drop OpenStackDataPlaneService.Spec.Label field

The field was proving to be redundant, since it always matched the name
of the Service. It was only really being used to enforce a length, that
logic is moved to a function to just use the first 53 chars of the name,
then the field can be dropped.
Signed-off-by: James Slagle<EMAIL_ADDRESS>

recheck

/test dataplane-operator-build-deploy-kuttl

/lgtm

/retest

recheck

/lgtm


Error: can't subscribe to newBlockHeaders

can't figure out why this works with metamask when infura doesn't allow subscriptions to newBlockHeaders. Having trouble figuring out how to disable or make a workaround.

Currently, the Base app doesn't support Ethereum, so this issue is not actual anymore.


Image location don't respect Column width

I set custom column width while defining sheet columns. When adding an image using coordinate (50% column to use), the image don't respect my custom width.
Additional explanation: https://github.com/exceljs/exceljs/issues/650#issuecomment-645887635
Code :
      sheet.columns = [
          { header: 'Id', key: 'id', width: 10 },
          { header: 'Name', key: 'name', width: 32 },
      ];

      var imageId2 = workbook.addImage({
        base64: myBase64Image,
        extension: 'png',
      });

      sheet.getColumn(4).width = 38;
      // sheet.addImage(imageId2, 'B2:D6');
      sheet.addImage(imageId2, {
                          tl: { col: 1, row: 1 },
                          br: { col: 1.5, row: 4 }
                        });

      sheet.addImage(imageId2, {
                          tl: { col: 3, row: 1 },
                          br: { col: 3.5, row: 4 }
                        });

      workbook.xlsx.writeBuffer({
                  base64: true
              })
      .then(function(xls64) {
          // done
          var data = new Blob([xls64], { type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" });
          saveAs(data, "output.xlsx");
      });

Actual result :

Expected result:

@yuvpf did you find any workaround?

@yuvpf @GendelfLugansk
Hello guys, i fix it in pull request #702,
if You need it quicly, i have build branch in my repo:
https://github.com/p3rio/exceljs/tree/build
npm:
    "dependencies": {
        "exceljs": "github:p3rio/exceljs#build"
    }

Hi @Siemienik  Still facing image alignment issue with custom column width.

hmm.. it works for me really well, which version have you?

hmm.. it works for me really well, which version have you?

I am using 4.0.1. How you are calculating colOff and rowOff?

it's enough to specify col and row values. collOff and rowOff will be calculated during saving

Thanks for the response @Siemienik .
I am facing a issue when I am trying to align image to the right of a particular cell with custom column width i.e. if we change the column width to some other width and try to right align image in a cell of that column using col and row coordinate then image is not displaying in the right.

In the above image I want cross image same as tick image in size and cross image should right align within the cell. Did you have any solution for this ?

after that you changed column width, are col and row properties has the same value as before?

First I am reading a excel file and then I am only adding the image on a particular cell. If width of the column for that cell is default column width then image alignment is working fine using col and row but If the excel file that I am reading, have custom column width then adding image to a cell that has custom width , in that right image alignment is not working.

Is there any workaround for this bug at the moment?

Good day guys,
I'm also facing the same problem. The version that I already trying is the latest and this one 4.2.1.
When adding an image using coordinate (70% column), the image doesn't respect my custom width.
is there any workaround for this bug?


Jazzmin admin theme

trumpets

On second thought, shouldn't this PR be made against the private repo, where you do have staticfiles?

Ready for re-review!


Catch catches too much in generators

I have found a problem in my Generator.prototype.return code. The following new test fails:
function* f () {
  try {
    yield 1;
  } catch (e) {
    f.x = 1;
  } finally {
    f.y = 2;
  }
}

var g = f();
g.next();
g.return(3);
assert.equal(f.x, undefined); // XXX The current implementation produces 1 here
assert.equal(f.y, 2);

I'm going to fix this asap.

Ammended in 400e2b77f116c63373ae77197f06884355d85cdd


fix: #758 archetype config overrides conflicts

Overview/Summary
fixes #758
Archetype config overrides now use the ALZ built in name as the map key, not the mg id.
Testing Evidence
Created Terratest test to prove this
As part of this Pull Request I have

[x] Checked for duplicate Pull Requests
[x] Associated it with relevant issues, for tracking and closure.
[x] Ensured my code/branch is up-to-date with the latest changes in the main branch
[x] Performed testing and provided evidence.
[x] Updated relevant and associated documentation.

/azp run unit

/azp run update

AB#29783

/azp run unit

/azp run unit

/azp run unit


Add pkg to file-table-export

Motivation

I think it will come in useful to have the package information in
Sorbet's file table export. The export is already pretty small, so it's
not that much extra data to export.
Test plan

See included automated tests.

Current dependencies on/for this PR:

master

PR #6941

PR #6919

PR #6945   👈

This comment was auto-generated by Graphite.

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_NiNSoAB0JAUx68
→ https://go/builds/bui_NiNSIoDiHrIe3b
→ https://go/builds/bui_NiNSyk0QjYOg7I

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_NjT8gi3N6cyyaZ
→ https://go/builds/bui_NjT8nY31hYFcld
→ https://go/builds/bui_NjT8kfJsrlaUsK


Uncaught ServiceUnavailableError in exception_mapping_utils.py line 507

Aider version: 0.62.1
Python version: 3.11.10
Platform: macOS-14.7-arm64-arm-64bit
Python implementation: CPython
Virtual environment: No
OS: Darwin 23.6.0 (64bit)
Git version: git version 2.39.5 (Apple Git-154)
An uncaught exception occurred:
Traceback (most recent call last):
  File "handler.py", line 565, in completion
  File "http_handler.py", line 386, in post
    setattr(e, "message", e.response.read())
    ^^^^^^^
  File "http_handler.py", line 372, in post
    "POST", url, data=data, json=json, params=params, headers=headers  # type: ignore
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "_models.py", line 763, in raise_for_status
    raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Server error '503 Service Unavailable' for url 'https://api.anthropic.com/v1/messages'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/503

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "main.py", line 1755, in completion
    )

  File "handler.py", line 580, in completion
    if error_response and hasattr(error_response, "text"):
litellm.llms.anthropic.common_utils.AnthropicError: upstream connect error or disconnect/reset before headers. reset reason: remote connection failure, transport failure reason: delayed connect error: Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "aider", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "main.py", line 827, in main
    io.tool_error(f"Message file not found: {args.message_file}")
    ^^^^^^^^^^^
  File "base_coder.py", line 738, in run
    while True:
            ^^^^
  File "base_coder.py", line 781, in run_one
  File "base_coder.py", line 1278, in send_message
    if lint_errors:

  File "base_coder.py", line 1979, in auto_commit
  File "repo.py", line 110, in commit
    commit_message = self.get_commit_message(diffs, context)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "repo.py", line 195, in get_commit_message
    commit_message = simple_send_with_retries(
                     ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "sendchat.py", line 118, in simple_send_with_retries
  File "sendchat.py", line 98, in send_completion
  File "utils.py", line 1013, in wrapper
    original_function=original_function,
    ^^^^^^^
  File "utils.py", line 903, in wrapper
    result._hidden_params["response_cost"] = (
         ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
  File "main.py", line 2999, in completion
  File "exception_mapping_utils.py", line 2116, in exception_type
    "exception_mapping_worked": exception_mapping_worked,
    ^^^^^^^
  File "exception_mapping_utils.py", line 507, in exception_type
    raise litellm.ServiceUnavailableError(
litellm.exceptions.ServiceUnavailableError: litellm.ServiceUnavailableError: AnthropicException - upstream connect error or disconnect/reset before headers. reset reason: remote connection failure, transport failure reason: delayed connect error: Connection refused. Handle with `litellm.ServiceUnavailableError`.

Thanks for trying aider and filing this issue.
This looks like a duplicate of #2220. Please see the comments there for more information, and feel free to continue the discussion within that issue.
I'm going to close this issue for now. But please let me know if you think this is actually a distinct issue and I will reopen this issue.Note: A bot script made these updates to the issue.


Feature: [table data view template list or Edit] New Action "Duplicate"

Add new Action "Duplicate".
This action copies data from the current record in a table to a new record in the same table in the same Saltcorn instance.
Usage scenario:
0. The user is in a view with a List or Edit template (optional).

The user selects an existing record and clicks on the "Duplicate" action.
The user will see the Edit template with a new record for insertion into the table, prepopulated with data from the current record.
ID Primary key is filled in by the system automatically.
The user can edit the rest of the fields and save the new record.

Configuration:
List of colums to be copied - not allways we need to copy all columens.
If not defined - copy all columns instead of ID.

Implemented in #652


Refactoring service for filtering links to external and internal.

Refactoring service for filtering links to external and internal (Java interfaces)

done


Almost a year for 2.2 beta?

Seems like it's coming up on a year for the 2.2 beta. Is it still beta?

Are there any commit tags for this version?  The last tag is v1.2b104 shown in the Releases.  Which commit is 2.2b?

Is there a build for 2.2b 117 that's available for download? Attempting to build my own from the branch, but thought I'd ask.


Pre-compiled binaries not available currently

I tried getting the pre-compiled binaries listed on mainpage. But I'm getting a 503 error.
https://cdn.discordapp.com/attachments/745513646888714265/1009083625184182292/unknown.png

Any news on this? The prebuilt binaries link is still broken.


[Bug]: Extensions in headless

Bug description
Dear puppeteer makers,
I'm not sure if it's really a big, but would it be possible to use the --headless=chrome switch instead of --headless, which supports extensions in headless mode.
Puppeteer version
13.1.3
Node.js version
16.13.2
npm version
8.1.3
What operating system are you seeing the problem on?
Linux
Relevant log output
No response

It's more of a feature request. The new headless mode is kind of experimental for Puppeteer as not all tests pass yet. I am adding the support here https://github.com/puppeteer/puppeteer/pull/8260.

@OrKoN It's hard to know what 'chrome' implies without checking the PR.
I think this sentence should be added at documentation just to clarify:

'chrome' means to support extensions in headless mode.

Is there anywhere I can learn more about the differences between --headless and --headless=chrome, specifically performance differences? I was only able to find these docs which don't mention --headless=chrome

@mxr it's not publicly documented yet but I am told some public documentation is coming in the next months. In general, the performance of the new headless should be the same as the performance of the headful browser.

Thanks!

Puppeteer already has the option for utilizing headless: 'new', and has documentation for it here - https://pptr.dev/guides/chrome-extensions
Announcement - https://developer.chrome.com/docs/chromium/new-headless


Filtering example

Is your feature request related to a problem? Please describe.
I would like to be able to filter get_multi endpoint.
Describe the solution you'd like
I want to be filtering and searching in the get_multi endpoint. This is such a common feature in most CRUD system that I consider relevant. This is also available in flask-muck.
Describe alternatives you've considered
Some out-of-the-box solution are out there:
https://github.com/arthurio/fastapi-filter (sqlalchemy + mongo)
https://github.com/OleksandrZhydyk/FastAPI-SQLAlchemy-Filters (specific sqlalchemy)
Additional context
Add any other context or screenshots about the feature request here.
Ifnot being implemented could an  example be provided?

@dtiesling do you want to do it?

Sure! If I can write it for flask-muck I’m sure I can get it working for fastcrud. Assign it to me and I’ll check it out this week.

I don't think I'm following this ticket. I thought the request was to add filtering to get_multi but the docs say that is already supported.
relevant docstring

I believe it's for the get_multi endpoint, not the method. Can you please clarify it @AndreGuerra123?

Relevant code here and here

OIC I missed that it wasn't implemented at the endpoint level. This will be an interesting way to learn FastAPI.
@igorbenav do you have any opinions on the schema for sending filters? In Flask-Muck I have it as json-encoded object in the filters query param. You can see what that looks like here.
Another option is to try dynamically building a list of all possible filters for a model and adding those to the endpoint.
It also looks simple to grab all the parameters off the raw request object and use those to generate the arbitrary filters but then they wouldn't be documented in the OpenAPI spec.

Hmm maybe combining json-encoded objects for complex filters, but still dynamically building the simple filters by column is a good balance between simplicity and flexibility.
Another possibility is actually creating all possible (even complex) filters based on the column type (numeric or date alow gt, gte etc). This would be complete chaos when there are too many filters though.
Either way, I think it would be best to let the user have some control over it, having the option of no filters, simple filters only or combined for example. What do you think?

believe it's for the get_multi endpoint, not the method. Can you please clarify it @AndreGuerra123?

From my understanding (I could be totally wrong), the get_multi method is used by the endpoint. I assume that if there are some filters defined in the method it works. However, there are several caveats some specific to the get_multi method, others to the filtering strategy itself:

Regarding the method, only supports "ands" and exact matches because uses the kwargs to filter in the inner crud operation. I think most other CRUD creators support more filtering strategies such as le,gt and support dates.
Allowing "referenced entity" filtering. I don't know how without a join strategy. However I've seem it as well in a similar project.
The CRUD get_ multi_by_cursor pagination only seem to sort by one element the sorted filter and it has to be "id" to work properly as non-unique filter fail. I think and effort to decouple the pagination from filtering and sorting should be done. Maybe unite both queries.

Recommendation from what I feel it's intuitive:

Use fastapi-filter to have all kind of support for filtering. The default could be at an initial stage no filter, however other CRUD creators automatically support filter for string, datetime and numeric out-of-the-box.
Allow user user to specify they "FilterDepends", basically what can you filter with. Use the same package sorting mechanism as is intuitive, but doesn't seem a prio.
(This maybe just me being naive, but can we include selectively just the get_multi endpoint? I suggest to call it list as well to be honest).

Hope I have helped. If you need the refs I found from other projects I will gladly add them here. Just not want to contaminate your project with external links.
Regards,

I had a little time to look into this tonight. Having the filters come in as a json blob makes the whole thing easier from an implementation standpoint because there is a static query param argument that we can type hint.
If the preference is each filter is its own query param I'm leaning toward an approach where the query params are read directly from the request object. To handle the issue of the openapi spec I think there could be a helper that generates all the openapi parameters and passes it to the openapi_extra kwarg  in the call to add_api_route. I would have to test to see how that openapi_extra plays with the spec FastAPI is already creating

Cool, @dtiesling, go ahead and update as you go please

Hey, @dtiesling, any news?

Sorry @igorbenav Ive had a ton of stuff come up lately and haven’t been able to get to this. You should pull me off of this ticket and I’ll update here if I free up and can make more movement on it.

Sure

Hi folks, I'm in the same scenario. I would like to filter or add a WHERE clause in this get_multi operation. Do we have any news about this update? Thanks!

@samuel-favarin-dbc if you are talking about FastCRUD's get_multi method, you can already do this. You just need to pass the filters as kwargs, documentation here.
Ex: get all users with name "John":
crud = FastCRUD(User)

crud.get_multi(
    db=db,
    name="John"
)

It also supports filters like greater than, greater than or equal etc. Docs here.
If you are talking about filters in the auto generated get_multi endpoint, I need to do some stuff before.


Generate 2.1 Cypher statements

The Query and CypherQueryTest classes should generate 2.1 statements instead of 2.0.
I would have contributed but I'm struggling getting my old fork up to date with the 2.1.4 tag.

I'm gonna close this as outdated. Sorry folks.