 It seems that the source bimport.go was changed on 2018-06-12 22:33:41.
9a70f1fcb go/internal/gcimporter/bimport.go (Robert Griesemer     2018-06-12 22:33:41 -0700  541)               t := types.NewInterface2(p.methodList(parent, tname), embeddeds)

all projects with go get -u github.com/golang/lint/golint in CI are now bust

Any ETA on this? It blocks all our CI jobs.

Looking into this.

@griesemer is working on a fix as we speak.

All: sorry about this. On it.

Well, I missed a few more places. One more CL to come.

There's one more CL pending for review but it's only affecting tests. Please let me know if
go get -u golang.org/x/lint/golint
still doesn't work for non 1.11 builds.

We are using Travis CI and go 1.9.7, the build is now successful and go get -u golang.org/x/lint/golint is working fine now.

Post-mortem: Late last night (with emphasis on "late") I created a larger CL in an attempt to finally update x/tools with all the latest fixes and changes that we've made to the various importers in the std lib. This also included fixes to go/types and new tests. The CL was approved and passed all (1.11) tests and I submitted it somewhat in a rush this morning while running out of the door, not thinking abut pre-1.11 builds. As we all saw, the non-1.11 builds failed quickly, and with it tools such as lint that depend on go/types. It was "obvious" what needed to be fixed (the go/types.NewInterface2 call is missing pre-1.11). While submitting that fix, I missed a couple of places (sigh), and also the fact that Interface.EmbeddedType was new as well. Finally, some of the new tests don't pass at all pre-1.11 due to larger fixes in go/types. I've split up the code into version-tagged files and I believe it works now. The primary reason for having these problems in the first place (and not fixing it all with a single CL) is that I relied on the builders to test non-1.11 versions for "expediency" (I hoped to get around installing a pre-1.11 setup on my new laptop while on the go.) Lesson (re-)learned.
I still see a build failure for 1.9 but it is unrelated to the importers.
Please confirm this is now working again and close if so. Thanks.

Hello @griesemer,
Next time, to do all your changes with calm,
Isn't it better to revert the changes that cause the issue, instead trying to resolve them on the hurry (that shouldn't be comfortable for you).
Good point of the adventure : Now all gophers know your name :D

Now all gophers know your name

All decent gophers should've already known his name :-)

Hi @Tkanos, you're absolutely right, of course.


⚠ Health1 has degraded performance

In 384ec5a, Health1 (https://health1.jenshamann.solutions) experienced degraded performance:

HTTP code: 502
Response time: 1848 ms

Process restarted after upgrading node modules

Resolved: Health1 performance has improved in 414420a after 24 minutes.


Disable interface statistics by default

Signed-off-by: Rastislav Szabo<EMAIL_ADDRESS>

Coverage remained the same at 69.457% when pulling 95e05ae12520b63f69d0cad962b0d46e7acd8a68 on rastislavszabo:master into da99e1467f126c77643f0aaa6a3bfffe8db17912 on contiv:master.


Updating the build and CI scripts to take ROCM_PATH as the first positional argument

Can one of the admins verify this patch?

two failures in rocm-xla
( http://ml-ci.amd.com:21096/job/develop-upstream-unit-tests/job/tensorflow-upstream-unit-tests-rocm-xla/1515/console)
//tensorflow/compiler/tests:image_ops_test_gpu                           FAILED in 3 out of 3 in 21.7s
//tensorflow/compiler/tests:image_ops_test_gpu_mlir_bridge_test          FAILED in 3 out of 3 in 24.6s

the return of flakiness?

jenkins : retest rocm-xla please


fix: "Toggle" commponent react export doesn't update state

This pull request resolves https://github.com/IBM/carbon-ui-builder/issues/135

@prasoonmhwr, you're on the right track.
Testing the following fragment in the deploy preview with this fragment:
{
  "items": [
    {
      "type": "toggle",
      "header": "Toggle",
      "offText": "Off",
      "onText": "On",
      "disabled": false,
      "checked": false,
      "size": "md",
      "id": "856023431236538704152076911133684",
      "codeContext": {
        "name": "toggle-856023431236538704152076911133684"
      }
    },
    {
      "type": "checkbox",
      "label": "Checkbox",
      "id": "19053493579018925117473618283427",
      "codeContext": {
        "name": "checkbox-19053493579018925117473618283427"
      }
    }
  ],
  "id": 1
}

You can use import JSON functionality to recreate it.
Checkbox has a nice state of {"checkbox-19053493579018925117473618283427":true} <-- boolean
Toggle's state is {"toggle-856023431236538704152076911133684":{"dispatchConfig":null,"_targetInst":null,"nativeEvent":null,"type":null,"target":null,"eventPhase":null,"bubbles":null,"cancelable":null,"defaultPrevented":null,"isTrusted":null,"_dispatchListeners":null,"_dispatchInstances":null}} <-- looks like an event object, should get the boolean value out of it
I displayed the state by adding {JSON.stringify(state)} below FragmentComponent in CodeSandbox export.
This means that toggle needs to figure out a nice boolean to pass to the state.
Does this make sense?

@prasoonmhwr, you're on the right track.
Testing the following fragment in the deploy preview with this fragment:
{
  "items": [
    {
      "type": "toggle",
      "header": "Toggle",
      "offText": "Off",
      "onText": "On",
      "disabled": false,
      "checked": false,
      "size": "md",
      "id": "856023431236538704152076911133684",
      "codeContext": {
        "name": "toggle-856023431236538704152076911133684"
      }
    },
    {
      "type": "checkbox",
      "label": "Checkbox",
      "id": "19053493579018925117473618283427",
      "codeContext": {
        "name": "checkbox-19053493579018925117473618283427"
      }
    }
  ],
  "id": 1
}

You can use import JSON functionality to recreate it.
Checkbox has a nice state of {"checkbox-19053493579018925117473618283427":true} <-- boolean
Toggle's state is {"toggle-856023431236538704152076911133684":{"dispatchConfig":null,"_targetInst":null,"nativeEvent":null,"type":null,"target":null,"eventPhase":null,"bubbles":null,"cancelable":null,"defaultPrevented":null,"isTrusted":null,"_dispatchListeners":null,"_dispatchInstances":null}} <-- looks like an event object, should get the boolean value out of it
I displayed the state by adding {JSON.stringify(state)} below FragmentComponent in CodeSandbox export.
This means that toggle needs to figure out a nice boolean to pass to the state.
Does this make sense?

Looking into it

@zvonimirfras I have corrected it please check again.
https://user-images.githubusercontent.com/52622674/196029592-27733ca3-29ae-4723-b757-c50bfab3d88d.mov

It is, thank you!

It is, thank you!

Can I ask a favor , can you star this repo(https://github.com/prasoonmhwr/prasoonmhwr)

What do you get from that? 🤔

It is, thank you!

Can I ask a favor , can you star this repo(https://github.com/prasoonmhwr/prasoonmhwr)

What do you get from that? 🤔

Just trying to increase my visibility 😅


UndefVarError in OptimizationForwardDiffExt.jl

Every so often I hit
ERROR: UndefVarError: `x` not defined.

Unfortunately my code is too large to boil down to a MWE, but the cause is clear:
https://github.com/SciML/OptimizationBase.jl/blob/ba54a1f45360c4eb0346c9831c59a278b6d58044/ext/OptimizationForwardDiffExt.jl#L261
Expected behavior
x should be defined

Which solver are you using out-of-place with though?


[BUG] Cannot train Dreambooth with sdxl

Prerequisites

[X] I have read the documentation.
[X] I have checked other issues for similar problems.

Backend
Colab
Interface Used
CLI
CLI Command
No response
UI Screenshots & Parameters
!autotrain dreambooth
--model ${MODEL_NAME}
--project-name ${PROJECT_NAME}
--image-path /content/gdrive/MyDrive/AI/autotrain/images/
--prompt "${PROMPT}"
--resolution ${RESOLUTION}
--batch-size ${BATCH_SIZE}
--num-steps ${NUM_STEPS}
--gradient-accumulation ${GRADIENT_ACCUMULATION}
--lr ${LEARNING_RATE}
--mixed-precision ${MIXED_PRECISION}
--username ${HF_USERNAME}
$( [[ "$USE_XFORMERS" == "True" ]] && echo "--xformers" )
$( [[ "$TRAIN_TEXT_ENCODER" == "True" ]] && echo "--train-text-encoder" )
$( [[ "$USE_8BIT_ADAM" == "True" ]] && echo "--use-8bit-adam" )
$( [[ "$DISABLE_GRADIENT_CHECKPOINTING" == "True" ]] && echo "--disable_gradient-checkpointing" )
$( [[ "$PUSH_TO_HUB" == "True" ]] && echo "--push-to-hub --token ${HF_TOKEN}" )
Error Logs
NFO     | 2024-11-12 18:41:44 | autotrain.preprocessor.dreambooth:_save_concept_images:87 - Saving concept images
INFO     | 2024-11-12 18:41:44 | autotrain.preprocessor.dreambooth:_save_concept_images:88 - /content/gdrive/MyDrive/AI/autotrain/images/nestpas.jpg
INFO     | 2024-11-12 18:41:44 | autotrain.preprocessor.dreambooth:_save_concept_images:87 - Saving concept images
INFO     | 2024-11-12 18:41:44 | autotrain.preprocessor.dreambooth:_save_concept_images:88 - /content/gdrive/MyDrive/AI/autotrain/images/sabine_two_feet_flip.jpg
INFO     | 2024-11-12 18:41:44 | autotrain.preprocessor.dreambooth:_save_concept_images:87 - Saving concept images
I
INFO     | 2024-11-12 18:41:44 | autotrain.backends.local:create:20 - Starting local training...
INFO     | 2024-11-12 18:41:44 | autotrain.commands:launch_command:523 - ['python', '-m', 'autotrain.trainers.dreambooth', '--training_config', 'db-sbne/training_params.json']
INFO     | 2024-11-12 18:41:44 | autotrain.commands:launch_command:524 - {'model': 'stabilityai/stable-diffusion-2-1', 'vae_model': None, 'revision': None, 'tokenizer': None, 'image_path': 'db-sbne/autotrain-data', 'class_image_path': None, 'prompt': 'a sbne chicken', 'class_prompt': None, 'num_class_images': 100, 'class_labels_conditioning': None, 'prior_preservation': False, 'prior_loss_weight': 1.0, 'project_name': 'db-sbne', 'seed': 42, 'resolution': 1024, 'center_crop': False, 'train_text_encoder': False, 'batch_size': 1, 'sample_batch_size': 4, 'epochs': 1, 'num_steps': 500, 'checkpointing_steps': 100000, 'resume_from_checkpoint': None, 'gradient_accumulation': 4, 'disable_gradient_checkpointing': False, 'lr': 0.0001, 'scale_lr': False, 'scheduler': 'constant', 'warmup_steps': 0, 'num_cycles': 1, 'lr_power': 1.0, 'dataloader_num_workers': 0, 'use_8bit_adam': False, 'adam_beta1': 0.9, 'adam_beta2': 0.999, 'adam_weight_decay': 0.01, 'adam_epsilon': 1e-08, 'max_grad_norm': 1.0, 'allow_tf32': False, 'prior_generation_precision': None, 'local_rank': -1, 'xformers': False, 'pre_compute_text_embeddings': False, 'tokenizer_max_length': None, 'text_encoder_use_attention_mask': False, 'rank': 4, 'xl': False, 'mixed_precision': 'fp16', 'token': None, 'push_to_hub': False, 'username': 'cindyloo337', 'validation_prompt': None, 'num_validation_images': 4, 'validation_epochs': 50, 'checkpoints_total_limit': None, 'validation_images': None, 'logging': False}
Returning existing local_dir db-sbne as remote repo cannot be accessed in snapshot_download (404 Client Error. (Request ID: Root=1-6733a16c-20b926282da64b5a53cc8450;a241750b-e782-46b2-b73b-064f46ecf236)
Repository Not Found for url: https://huggingface.co/api/datasets/db-sbne/autotrain-data/revision/main.
Please make sure you specified the correct repo_id and repo_type.
If you are trying to access a private or gated repo, make sure you are authenticated.).
You are using a model of type clip_text_model to instantiate a model of type . This is not supported for all configurations of models and can yield errors.
/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py:1142: FutureWarning: resume_download is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use force_download=True.
warnings.warn(
{'thresholding', 'clip_sample_range', 'dynamic_thresholding_ratio', 'sample_max_value', 'rescale_betas_zero_snr', 'variance_type', 'timestep_spacing'} was not found in config. Values will be initialized to default values.
{'latents_std', 'scaling_factor', 'latents_mean', 'force_upcast'} was not found in config. Values will be initialized to default values.
{'resnet_skip_time_act', 'class_embeddings_concat', 'attention_type', 'time_embedding_dim', 'transformer_layers_per_block', 'conv_out_kernel', 'timestep_post_act', 'dropout', 'conv_in_kernel', 'mid_block_type', 'addition_embed_type', 'time_embedding_type', 'encoder_hid_dim', 'resnet_out_scale_factor', 'mid_block_only_cross_attention', 'projection_class_embeddings_input_dim', 'cross_attention_norm', 'num_attention_heads', 'encoder_hid_dim_type', 'reverse_transformer_layers_per_block', 'time_cond_proj_dim', 'resnet_time_scale_shift', 'addition_time_embed_dim', 'addition_embed_type_num_heads', 'time_embedding_act_fn', 'class_embed_type'} was not found in config. Values will be initialized to default values.
ERROR    | 2024-11-12 18:42:23 | autotrain.trainers.common:wrapper:215 - train has failed due to an exception: Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/autotrain/trainers/common.py", line 212, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/autotrain/trainers/dreambooth/main.py", line 185, in train
main(_args)
File "/usr/local/lib/python3.10/dist-packages/autotrain/trainers/dreambooth/train.py", line 684, in main
train_dataset = DreamBoothDataset(
File "/usr/local/lib/python3.10/dist-packages/autotrain/trainers/dreambooth/train.py", line 170, in init
raise ValueError("Instance images root doesn't exists.")
ValueError: Instance images root doesn't exists.
ERROR    | 2024-11-12 18:42:23 | autotrain.trainers.common:wrapper:216 - Instance images root doesn't exists.
INFO     | 2024-11-12 18:42:25 | autotrain.cli.run_dreambooth:run:392 - Job ID: 45466
Additional Information
I have tried multiple ways to address the ValueError: Instance images root doesn't exists. I looked inside train.py and train_xl.py and I don't see how else to specify the image directory for that module as it is properly accessing the concept images
what is the difference and why is it trying to access
Repository Not Found for url: https://huggingface.co/api/datasets/db-sbne/autotrain-data/revision/main. ?
my HF_TOKEN is a write token with the proper var name, so there shouldn't be an issue writing anythign to my HF account..
please advise, thank you

This issue seems caused by the behaviour change of func "huggingface_hub.snapshot_download", which doesn't raise exception anymore when it fails to access remote repo, it return local_dir instead. See below log:
Returning existing local_dir db-sbne as remote repo cannot be accessed in snapshot_download (404 Client Error. (Request ID: Root=1-6733a16c-20b926282da64b5a53cc8450;a241750b-e782-46b2-b73b-064f46ecf236)
This changed behaviour leads 'config.image_path = os.path.join(config.project_name, "concept1")', which omits the folder "autotrain-data" in the path and cause instance_data_root not existing.
My temp workaround works on colab:
sed -i -e 's/^(\s*)config.image_path = os.path.join(config.project_name, "concept1")/\1config.image_path = os.path.join(config.project_name if config.token else config.image_path, "concept1")/' /usr/local/lib/python3.10/dist-packages/autotrain/trainers/dreambooth/main.py

INFO     | 2024-11-16 17:06:44 | autotrain.cli.run_dreambooth:run:388 - Running DreamBooth Training
WARNING  | 2024-11-16 17:06:44 | autotrain.trainers.common:init:286 - Parameters supplied but not used: config, train, data_path, version, func, valid_split, deploy, train_split, inference, log, backend
INFO     | 2024-11-16 17:06:44 | autotrain.preprocessor.dreambooth:_save_concept_images:87 - Saving concept images
INFO     | 2024-11-16 17:06:44 | autotrain.preprocessor.dreambooth:_save_concept_images:88 - images/cropped-IMG_4464.png
INFO     | 2024-11-16 17:06:44 | autotrain.preprocessor.dreambooth:_save_concept_images:87 - Saving concept images
INFO     | 2024-11-16 17:06:44 | autotrain.preprocessor.dreambooth:_save_concept_images:88 - images/cropped-IMG_3583.png
INFO     | 2024-11-16 17:06:44 | autotrain.preprocessor.dreambooth:_save_concept_images:87 - Saving concept images
INFO     | 2024-11-16 17:06:44 | autotrain.preprocessor.dreambooth:_save_concept_images:88 - images/cropped-IMG_7141.png
INFO     | 2024-11-16 17:06:44 | autotrain.preprocessor.dreambooth:_save_concept_images:87 - Saving concept images
INFO     | 2024-11-16 17:06:44 | autotrain.preprocessor.dreambooth:_save_concept_images:88 - images/cropped-IMG_7147.png
INFO     | 2024-11-16 17:06:44 | autotrain.preprocessor.dreambooth:_save_concept_images:87 - Saving concept images
INFO     | 2024-11-16 17:06:44 | autotrain.preprocessor.dreambooth:_save_concept_images:88 - images/cropped-IMG_3598.png
INFO     | 2024-11-16 17:06:44 | autotrain.preprocessor.dreambooth:_save_concept_images:87 - Saving concept images
INFO     | 2024-11-16 17:06:44 | autotrain.preprocessor.dreambooth:_save_concept_images:88 - images/cropped-IMG_7544 2.png
INFO     | 2024-11-16 17:06:44 | autotrain.preprocessor.dreambooth:_save_concept_images:87 - Saving concept images
INFO     | 2024-11-16 17:06:44 | autotrain.preprocessor.dreambooth:_save_concept_images:88 - images/cropped-IMG_3634.png
INFO     | 2024-11-16 17:06:44 | autotrain.preprocessor.dreambooth:_save_concept_images:87 - Saving concept images
INFO     | 2024-11-16 17:06:44 | autotrain.preprocessor.dreambooth:_save_concept_images:88 - images/cropped-IMG_5027.png
INFO     | 2024-11-16 17:06:44 | autotrain.preprocessor.dreambooth:_save_concept_images:87 - Saving concept images
INFO     | 2024-11-16 17:06:44 | autotrain.preprocessor.dreambooth:_save_concept_images:88 - images/.ipynb_checkpoints
Traceback (most recent call last):
File "/usr/local/bin/autotrain", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.10/dist-packages/autotrain/cli/autotrain.py", line 70, in main
command.run()
File "/usr/local/lib/python3.10/dist-packages/autotrain/cli/run_dreambooth.py", line 391, in run
job_id = project.create()
File "/usr/local/lib/python3.10/dist-packages/autotrain/project.py", line 567, in create
self.params = self._process_params_data()
File "/usr/local/lib/python3.10/dist-packages/autotrain/project.py", line 539, in _process_params_data
return dreambooth_munge_data(self.params, self.local)
File "/usr/local/lib/python3.10/dist-packages/autotrain/project.py", line 304, in dreambooth_munge_data
params.image_path = dset.prepare()
File "/usr/local/lib/python3.10/dist-packages/autotrain/dataset.py", line 124, in prepare
return preprocessor.prepare()
File "/usr/local/lib/python3.10/dist-packages/autotrain/preprocessor/dreambooth.py", line 118, in prepare
self._save_concept_images(_file)
File "/usr/local/lib/python3.10/dist-packages/autotrain/preprocessor/dreambooth.py", line 100, in _save_concept_images
with open(_file, "rb") as f:
IsADirectoryError: [Errno 21] Is a directory: 'images/.ipynb_checkpoints'
RESOLVE THIS ISSUE

discussed many times
READ OTHER ISSUES!

autotrain doesnt support dreambooth anymore. to train loras please use: https://huggingface.co/spaces/autotrain-projects/train-flux-lora-ease


fix typo in replies.rst #210

A new inspection was created.

The inspection completed: No new issues

Codecov Report

Merging #211 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #211   +/-   ##
========================================
  Coverage    84.53%   84.53%
========================================
  Files           28       28
  Lines         1106     1106
========================================
  Hits           935      935
  Misses         171      171

Continue to review full report at Codecov.

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


Custom uploaded profiles in local BRouter-web instance

I was successful in configuring BRouter-web to run locally in my Windows. I have added selection of my profiles to the config.js. so I can select them as if they were the standard ones.
See Screenshot of profile selection
All works fine, if I use untouched standard profiles, or my profiles, now "standard" profiles as well.
But if I modify them in the text field and upload them back, so they get <custom>, the routing for such <custom> profiles never finishes, even if trivially short.
The custom profile with random numeric name is created in the folder specified in BRouter java launch command. So does such custom profile is listed in the command line  in the BRouter console window.
What am I doing wrong ?

I run BRouter web as http://localhost:8000/brouter-web/
after running the batch below, placed in server.cmd in BRouter main folder:

@echo off
REM BRouter standalone server
REM java -cp brouter.jar btools.brouter.RouteServer
REM maxRunningTime is the request timeout in seconds, set to 0 to disable timeout
set JAVA_OPTS=-Xmx1024M -Xms512M -Xmn8M -DmaxRunningTime=300
set CLASSPATH=./brouter.jar
start "BRouter server" java %JAVA_OPTS% -cp %CLASSPATH% btools.server.RouteServer .\segments4 .\profiles2 .\customprofiles 17777 1
start "Python file provider" s:\PFiles\Python27-32\python.exe -m SimpleHTTPServer

Hm, I don't see anything obvious that could be wrong. I just tested with the latest BRouter release on Ubuntu and local upload should be working in general.
Are there any errors in the server or the Browser console (Ctrl-Shift-i)?
Is the profile saved to the customprofiles folder complete (when you open it in a text editor)?

Thanks for the reply.  I will check the profile completeness when I return home.
For now, what looks at least suspicious are the Brouter.jar parameters
.\segments4 .\profiles2 .\customprofiles
While I would suppose   .(dot) should mean for all 32 parameters the current folder ( the BRouter home data folder in my case), it measn the current folder just for .\segments4 and  .\profiles2.
On contrary,  dot in  .\customprofiles does not mean current folder, but currentfolder\profiles2.
Is possible, that BRouter and BRouter-web did not negotiate well, where the custom profiles are stored ?

You are right, just checked the code, the customprofiles parameter is relative to the profiles folder. Not sure if that is a problem, but you could try ..\customprofiles instead.
The client does not really need to know where the customprofiles folder is. The path setting in config.js is only optional for displaying the currently selected profile and this is independent from loading and processing a profile on the server.

So, the custom profiles are complete.
I have prviously used for customeprofiles folder just dot as well, what causes profiles landing at profiles2 folder, but without any effect.
Errors seems near none, but this one>
SyntaxError: JSON.parse: bad escaped character at line 8 column 28 of the JSON data
L.BRouter<._handleRouteResponse()
brouter-web.js:36
o.Util.bind/<()
brouter-web.js:1
brouter-web.js:36:1605
the debugger points to line
L.BRouter=L.Class.extend({statics:{URL_TEMPLATE:BR.conf.host+"/brouter?lonlats={lonlats}&nogos={nogos}&profile={profile}&alternativeidx={alternativeidx}&format={format}",URL_PROFILE_UPLOAD:BR.conf.host+"/brouter/profile",PRECISION:6,NUMBER_SEPARATOR:",",GROUP_SEPARATOR:"|",ABORTED_ERROR:"aborted"},options:{},format:"geojson",initialize:function(t){L.setOptions(this,t),this.queue=async.queue(L.bind(function(t,e){this.getRoute(t.segment,e)},this),1),this.queue.kill=function(){var t=this.tasks;this.drain=null,this.tasks=[],t.forEach(function(t){t.callback(L.BRouter.ABORTED_ERROR)})}},setOptions:function(t){L.setOptions(this,t)},getUrlParams:function(t,e){return{lonlats:this._getLonLatsString(t),nogos:this._getNogosString(this.options.nogos),profile:this.options.profile,alternativeidx:this.options.alternative,format:e||this.format}},parseUrlParams:function(t){var e={};return t.lonlats&&(e.lonlats=this._parseLonLats(t.lonlats)),t.nogos&&(e.nogos=this._parseNogos(t.nogos)),t.alternativeidx&&(e.alternative=t.alternativeidx),t.profile&&(e.profile=t.profile),e},getUrl:function(t,e){var o=this.getUrlParams(t,e),r=L.Util.template(L.BRouter.URL_TEMPLATE,o);return r},getRoute:function(t,e){var o=this.getUrl(t),r=new XMLHttpRequest;return o?(r.open("GET",o,!0),r.onload=L.bind(this._handleRouteResponse,this,r,e),r.onerror=L.bind(function(t,e){e(BR.Util.getError(t))},this,r,e),void r.send()):e(new Error("Error getting route URL"))},_handleRouteResponse:function(t,e){var o,r;return 200===t.status&&t.responseText&&"application/vnd.geo+json"===t.getResponseHeader("Content-Type").split(";")[0]?(r=JSON.parse(t.responseText),o=L.geoJson(r).getLayers()[0],e(null,o)):void e(BR.Util.getError(t))},getRouteSegment:function(t,e,o){this.queue.push({segment:[t,e]},o)},uploadProfile:function(t,e,o){var r=L.BRouter.URL_PROFILE_UPLOAD;xhr=new XMLHttpRequest,t&&(r+="/"+t),xhr.open("POST",r,!0),xhr.onload=L.bind(this._handleProfileResponse,this,xhr,o),xhr.onerror=function(){var t=this;o("Upload error: "+t.statusText)},xhr.send(e)},_handleProfileResponse:function(t,e){var o;200===t.status&&t.responseText&&t.responseText.length>0?(o=JSON.parse(t.responseText),e(o.error,o.profileid)):e("Profile error: no or empty response from server")},_getLonLatsString:function(t){for(var e="",o=0;o<t.length;o++)e+=this._formatLatLng(t[o]),o<t.length-1&&(e+=L.BRouter.GROUP_SEPARATOR);return e},_parseLonLats:function(t){var e,o,r=[];if(!t)return r;e=t.split(L.BRouter.GROUP_SEPARATOR);for(var n=0;n<e.length;n++)o=e[n].split(L.BRouter.NUMBER_SEPARATOR),r.push(L.latLng(o[1],o[0]));return r},_getNogosString:function(t){for(var e,o="",r=0;r<t.length;r++)e=t[r],o+=this._formatLatLng(e.getLatLng()),o+=L.BRouter.NUMBER_SEPARATOR,o+=Math.round(e.getRadius()),r<t.length-1&&(o+=L.BRouter.GROUP_SEPARATOR);return o},_parseNogos:function(t){var e,o,r=[];if(!t)return r;e=t.split(L.BRouter.GROUP_SEPARATOR);for(var n=0;n<e.length;n++)o=e[n].split(L.BRouter.NUMBER_SEPARATOR),r.push(L.circle([o[1],o[0]],o[2],L.Draw.Circle.prototype.options.shapeOptions));return r},_formatLatLng:function(t){var e="";return e+=L.Util.formatNum(t.lng,L.BRouter.PRECISION),e+=L.BRouter.NUMBER_SEPARATOR,e+=L.Util.formatNum(t.lat,L.BRouter.PRECISION)}}),L.bRouter=function(t){return new L.BRouter(t)};

The error looks like the client can't read the server response, maybe some encoding issue?
Could you post the response, please: With Ctrl-Shift-i go to the Network tab, provoke the error, right click on the last (?) line and select "Copy Answer".

It looks strange, as it triggers 2 network responses with response code 200 = OK
First is POST profile, the second is GET

POST:
{
"profileid": "custom_1474519161334"
}

GET:
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"creator": "BRouter-1.1",
"name": "brouter_.\customprofiles\1474519161334_0",
"track-length": "1483",
"filtered ascend": "37",
"plain-ascend": "37",
"cost": "2338",
"messages": [
["Longitude", "Latitude", "Elevation", "Distance", "CostPerKm", "ElevCost", "TurnCost", "NodeCost", "InitialCost", "WayTags", "NodeTags"],
["17135558", "49385374", "250", "1483", "1450", "0", "187", "0", "0", "highway=tertiary", ""]
]
},
"geometry": {
"type": "LineString",
"coordinates": [
[17.136931, 49.406331, 213.25],
[17.137000, 49.406225, 213.25],
[17.137581, 49.405213, 214.75],
[17.137712, 49.405002, 214.75],
[17.137974, 49.404528, 214.25],
[17.138107, 49.404195, 214.0],
[17.138377, 49.403549, 215.25],
[17.138434, 49.403409, 215.5],
[17.138439, 49.403344, 215.75],
[17.138438, 49.403255, 216.25],
[17.138365, 49.403057, 217.5],
[17.137781, 49.402330, 223.75],
[17.138152, 49.402177, 222.5],
[17.138896, 49.401907, 221.25],
[17.139200, 49.401774, 221.25],
[17.139655, 49.401520, 222.25],
[17.140272, 49.401025, 224.25],
[17.140569, 49.400842, 224.5],
[17.141148, 49.400538, 224.25],
[17.140967, 49.400234, 224.75],
[17.140955, 49.400066, 225.0],
[17.140952, 49.399325, 227.75],
[17.141261, 49.398673, 232.0],
[17.141325, 49.398573, 232.5],
[17.141911, 49.397664, 234.25],
[17.142212, 49.397178, 234.0],
[17.142091, 49.397006, 234.75],
[17.141648, 49.396218, 237.5],
[17.141334, 49.395658, 239.5],
[17.140884, 49.394856, 250.75]
]
}
}
]
}

Note that the same stalling behaviour ( but debug responses not tested ) occured with Firefox (45.0.2) in Safe mode with disabled addons, to test if NoScript , uBlock origin or Requst policy addons interfere.
Can it matter that I relolaced to batch placement and default folder to the main folder ?

Thanks, now I can track it down to the following line:
"name": "brouter_.\customprofiles\1474519161334_0",
The single backslash '' is invalid in the (Geo)JSON response. Removing the directory part from the name doesn't work on Windows - and thus custom profiles won't work, haven't noticed before.
Needs to be fixed on the server side.

I got it as server side = localhost:17777 brouter.jar server, being on Arndt's court side......

Yes, the brouter.jar and abrensch/brouter repository, but I'm going to take care of this. Just was implying that I will create a separate issue/pull request, probably after the current short brouter-web release I'm working on.

Temporary workaround is creation of dedicated test profile in the profiles2 and add its name to the config.js file of brouter-web. Modification need The page reload or a new page instance is needed if modified.

I submitted a pull request for BRouter, meanwhile you could try using this:
brouter.jar.zip

Thanks, it works now.


fyne cross build fails with latest version v1.4.0

Describe the bug:
fyne cross build fails with latest version v1.4.0 where as the same works on v1.3.0 release
To Reproduce:
Steps to reproduce the behaviour:
go install github.com/fyne-io/fyne-cross@latest
fyne-cross windows ..build app command
Device and debug info (please complete the following information):
Device info

OS: Windows 10
Go version: go1.20.2 windows/amd64
fyne-cross version:  v1.4.0
Fyne version:  v2.3.3

Debug info
[i] Target: windows/amd64
[i] Cleaning target directories...
[✓] "bin" dir cleaned: /app/fyne-cross/bin/windows-amd64
[✓] "dist" dir cleaned: /app/fyne-cross/dist/windows-amd64
[✓] "temp" dir cleaned: /app/fyne-cross/tmp/windows-amd64
[i] Checking for go.mod: C:\apps\gui\go.mod
[✓] go.mod found
[i] Packaging app...
/usr/local/go/pkg/tool/linux_amd64/link: running zig failed: exit status 1
lld-link: error: duplicate resource: type ICON (ID 3)/name ID 3/language 1033, in /tmp/go-link-4066145781/000000.o and in /tmp/go-link-4066145781/000001.o
lld-link: error: duplicate resource: type MANIFEST (ID 24)/name ID 1/language 1033, in /tmp/go-link-4066145781/000000.o and in /tmp/go-link-4066145781/000001.o
failed to rebuild after adding metadata: exit status 2

Can you please share an error log? There is not enough information available to reproduce as far as I can see.

Do you get the same error if you build for Linux instead of Windows? I can not replicate this locally. Do you get the same error if you are compiling a simple Fyne application (like https://github.com/fyne-io/fyne/tree/master/cmd/hello)?

Is there anything in your program named MANIFEST or ICON?

This is the error i get for building Linux on windows
fyne-cross linux -app-id "app 1.0.1" ./src/main
[i] Target: linux/amd64
[i] Cleaning target directories...
Unable to find image 'fyneio/fyne-cross-images:linux' locally
linux: Pulling from fyneio/fyne-cross-images
f1f26f570256: Already exists
ac8bff897005: Already exists
d3bf6660b440: Already exists
e5dc830a6e83: Already exists
4f4fb700ef54: Already exists
0de09f7a5fdc: Already exists
180ea05fc1e8: Already exists
023cf6ee2dc5: Already exists
e70852a853bc: Already exists
5c3fbd07c8a9: Already exists
2ca97eabffd0: Pull complete
Digest: sha256:12a940979499d6865d4addeaee1bcdcd7ef01670aea46b6b9e3ea2939f8f162b
Status: Downloaded newer image for fyneio/fyne-cross-images:linux
[✓] "bin" dir cleaned: /app/fyne-cross/bin/linux-amd64
[✓] "dist" dir cleaned: /app/fyne-cross/dist/linux-amd64
[✓] "temp" dir cleaned: /app/fyne-cross/tmp/linux-amd64
[i] Checking for go.mod: C:\dev\apps\gui\go.mod
[✓] go.mod found
[i] Packaging app...
go: downloading github.com/godbus/dbus/v5 v5.1.0
dev/apps/gui/src/main
/usr/local/go/pkg/tool/linux_amd64/link: running zig failed: exit status 1
ld.lld: error: /tmp/go-link-2917912233/000000.o: unknown file type
error building application: exit status 2
[✗] could not package the Fyne app: could not package the Fyne app: exit status 1

Does it have the same behavior with for example fyne calculator: https://github.com/fyne-io/calculator ?

Calculator worked fine.
fyne-cross windows -app-id "calc 1.0.1" .
[i] Target: windows/amd64
[i] Cleaning target directories...
[✓] "dist" dir cleaned: /app/fyne-cross/dist/windows-amd64
[✓] "temp" dir cleaned: /app/fyne-cross/tmp/windows-amd64
[✓] "bin" dir cleaned: /app/fyne-cross/bin/windows-amd64
[i] Checking for go.mod: C:\dev\github\calculator\go.mod
[✓] go.mod found
[i] Packaging app...
adding: Calculator.exe (deflated 58%)
[✓] Package: "C:\dev\github\calculator\fyne-cross\dist\windows-amd64\Calculator.exe.zip"

Do you by any chance have some pre-compiled or platform specific object files in your repository?

Yes. I do have rsrc.syso in my repository.

Oh, that is an unexpected file. That totally explain the error. Was there a reason for this file?

I have seen .syso files appear during interrupted Windows target builds

We do auto-generate some during the build - required for windows builds as we package.
Any local .syso file will probably break things as they are platform/architecture specific.


Move from travis to GitHub actions

[x] deploying book (on devel)
[x] new release

[x] distribute package
[x] deploy book

[x] run tests

They're all here, but the new release one needs testing!


Added lottery minigame (ISSUE #147)

Added lottery minigame #147

Looks good!
I had in mind to use a MultiAction for the command, but this will look a lot better in the commands list.
Will take a proper review of the code when I get home from work :+1:

Made some changed and merged the code.
Thank you!


Add a possibility to connect to server via encrypted connection

Since it's possible to configure a server to communicate with clients via encrypted connection we need to support this option as well.

Should be considered as a part of #29

@AlexPikalov : out of curiosity what are you using to achieve this
rusttls ?
or Tokio

@harrydevnull
It is openssl's ssl https://docs.rs/openssl/0.9.6/openssl/ssl/index.html
Only hardcore 😄


Rely documentation links to missing file

https://reason-native.com/docs/rely/advanced#running-with-custom-reporters-https-githubcom-facebookexperimental-reason-native-blob-master-src-rely-reporterre links to https://github.com/facebookexperimental/reason-native/blob/master/src/rely/Reporter.re which doesn't exist - it should probably link to https://github.com/facebookexperimental/reason-native/tree/master/src/rely/reporters ?

Thanks for filing, I updated the link to https://github.com/facebookexperimental/reason-native/blob/master/src/rely/reporters/Reporter.re, it should be live shortly!


Add Breadcrumb to Member Portal

I added the breadcrumb but it's look bad. I need first to make a code review and integrate our style with css. It will take me some time and maybe we dont see any changes on the monday's meeting but im workin on that

@antoniumolnar, I agree.  Please first get CoreUI working correctly first.  Then we can start to add the new UI features.

breadcrumb should work (links to pages)

Breadcrumb is still not working.  Please take a look

Waiting on new UI design implementation. Start date of tomorrow, target completion by Monday

I will finish this task when I will change the style of the new Member Portal

Planned Hours: 1-2 Hours
End Date: July 12th, 2021

2 Hours


Release v0.18.0

Breaking Changes:

Added support Files API (application/octet-stream) in OpenAPI Spec (#572). The signatures of Upload, Download and Delete have changed; these methods now take UploadRequest, DownloadRequest, and DeleteRequest structures, respectively. Shortcut methods are generated for DownloadByFileName and DeleteByFileName for convenience. The WriteFile and ReadFile methods are removed.
Propagate Request Headers to client.go (#589). The Do method of Client now requires an additional parameter for request headers. Add headers to requests using this parameter, or pass nil if no headers are needed.

Breaking API Changes:

Removed w.SecurableTags workspace-level service and all associated structures.
Removed w.SubentityTags workspace-level service and all associated structures.
Renamed ProvisioningState field to ProvisioningInfo for catalog.ConnectionInfo.
Changed catalog.ProvisioningState to catalog.ProvisioningInfoState.
Removed InstancePoolFleetAttributes field for compute.CreateInstancePool.
Removed InstancePoolFleetAttributes field for compute.EditInstancePool.
Removed compute.FleetLaunchTemplateOverride.
Removed compute.FleetOnDemandOption.
Removed compute.FleetOnDemandOptionAllocationStrategy.
Removed compute.FleetSpotOption.
Removed compute.FleetSpotOptionAllocationStrategy.
Removed InstancePoolFleetAttributes field for compute.GetInstancePool.
Removed InstancePoolFleetAttributes field for compute.InstancePoolAndStats.
Removed compute.InstancePoolFleetAttributes.
Changed GetByName method for w.Experiments workspace-level service to return ml.GetExperimentResponse.
Changed GetExperiment method for w.Experiments workspace-level service to return ml.GetExperimentResponse.
Renamed ml.GetExperimentByNameResponse to ml.GetExperimentResponse.

API Changes:

Changed List method for a.AccountStorageCredentials account-level service to return catalog.StorageCredentialInfoList.
Added w.ModelVersions workspace-level service.
Added w.RegisteredModels workspace-level service.
Added BrowseOnly field for catalog.CatalogInfo.
Added FullName field for catalog.CatalogInfo.
Added ProvisioningInfo field for catalog.CatalogInfo.
Added SecurableKind field for catalog.CatalogInfo.
Added SecurableType field for catalog.CatalogInfo.
Added Options field for catalog.CreateCatalog.
Added Options field for catalog.UpdateCatalog.
Added catalog.CreateRegisteredModelRequest.
Added catalog.DeleteAliasRequest.
Added catalog.DeleteModelVersionRequest.
Added catalog.DeleteRegisteredModelRequest.
Added catalog.GetByAliasRequest.
Added catalog.GetModelVersionRequest.
Added catalog.GetRegisteredModelRequest.
Added catalog.ListModelVersionsRequest.
Added catalog.ListModelVersionsResponse.
Added catalog.ListRegisteredModelsRequest.
Added catalog.ListRegisteredModelsResponse.
Added catalog.ModelVersionInfo.
Added catalog.ModelVersionInfoStatus.
Added catalog.ProvisioningInfo.
Added catalog.ProvisioningInfoState.
Added catalog.RegisteredModelAlias.
Added catalog.RegisteredModelInfo.
Added catalog.SetRegisteredModelAliasRequest.
Added catalog.UpdateModelVersionRequest.
Added catalog.UpdateRegisteredModelRequest.
Added Volumes field for compute.InitScriptInfo.
Added compute.VolumesStorageInfo.
Added w.Files workspace-level service.
Added files.DeleteFileRequest.
Added files.DownloadRequest.
Added files.DownloadResponse.
Added files.UploadRequest.
Added CustomTags field for provisioning.CreateWorkspaceRequest.
Added CustomTags field for provisioning.UpdateWorkspaceRequest.
Added CustomTags field for provisioning.Workspace.
Added provisioning.CustomTags.
Added Parameters field for sql.ExecuteStatementRequest.
Added RowLimit field for sql.ExecuteStatementRequest.
Added sql.StatementParameterListItem.

SDK Internal Changes:

Added support for io.ReadCloser for request and response bodies (#590).
Fixed nightly test failures for Go SDK (#592).

OpenAPI Generator Changes:

Improved error handling for ill-defined parameters (#582).
Switched to logging consistently rather than printing to stdout (#588).

OpenAPI SHA: 5d0ccbb790d341eae8e85321a685a9e9e2d5bf24, Date: 2023-08-29

Codecov Report
Patch and project coverage have no change.

Comparison is base (3480d7c) 16.57% compared to head (a2146b9) 16.57%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #593   +/-   ##
=======================================
  Coverage   16.57%   16.57%
=======================================
  Files          85       85
  Lines       11411    11411
=======================================
  Hits         1891     1891
  Misses       9353     9353
  Partials      167      167

Files Changed
Coverage Δ

service/catalog/model.go
0.00% <0.00%> (ø)

service/compute/model.go
0.00% <ø> (ø)

service/iam/model.go
0.00% <ø> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Extend VarCouldBeVal to include analysis of file- and class-level properties

Second poor soul attempting to conquer #1330. Also, I noticed what could be a potential false-positive issue for var properties declared in object literals that escape their containing declaration, so this code includes checks for that.

First issue identified:
[reports] at /home/runner/work/detekt/detekt/detekt-cli/src/main/kotlin/io/gitlab/arturbosch/detekt/cli/CliArgs.kt:78:5

I'm not sure what kind of "tell" there would be for this one, given it's marked as private not overtly modified in the class. It seems like this would be a place to add a suppression annotation. Thoughts?

[reports] at /home/runner/work/detekt/detekt/detekt-cli/src/main/kotlin/io/gitlab/arturbosch/detekt/cli/CliArgs.kt:78:5

I guess reports can be made public as all other fields in this class or internal.

[reports] at /home/runner/work/detekt/detekt/detekt-cli/src/main/kotlin/io/gitlab/arturbosch/detekt/cli/CliArgs.kt:78:5

Other option is to add an ingnoreAnnotated and ignore the params that had the @param annotation. For sure I'm talking about adding that configuration in our own configuration, not as a default one.

Thanks for the contribution!


"Request a new" in top bar navi stacks up and does not bring me back when "cancel" is pressed

What happened?
"Request a new" calls stack up and pressing cancel button does not cancel them all and does not bring me back to my initial page.
https://github.com/Aiven-Open/klaw/assets/215975/781d0aac-d2ad-4643-9ace-05407c826e62

What did you expect to happen?
Pressing cancel button should bring me back to my initial view, i.e. topics overview page in this particular example.

That's an interesting user flow. Each of these forms is its own page, and Cancel actually does a "back" browser action, so it is working as expected.
I don't think there is a way to track an "initial view" to get back to. The only alternative option we have would be to hardcode the "Cancel to bring you back to an arbitrary page (for example, "Browse topic" for "Create new topic" or "Browse connectors" for "Create connector"). But that does not work in the case when you accessed the form from another page.

This is a POC of how it could work using the state API from react-router: https://github.com/Aiven-Open/klaw/commit/07679f1c52ee37390049161670f1ac85c6a4f00f
The behaviour we get is this:
https://github.com/Aiven-Open/klaw/assets/20607294/9ad39316-1f0d-43c6-9575-11e682df27b4

@mathieu-anderson  should we tackle this one? I think the type safety issue (in this case) is ok to accept, since we can be sure what type to expect, as you wrote. I think it would a nice improvement.


Add Permission Boundary Support to AWS Load Balancer Controller

What does this PR do?
Allow a permissions boundary to be applied to the IRSA IAM role. Additionally, support applying it to the role created by the AWS load balancer controller addon.
Motivation
We use a IAM role to provision our Terraform which has permissions boundary attached. That policy must be applied to all IAM roles created by the Terraform. It is used to prevent privilege escalation in keeping with https://aws.amazon.com/premiumsupport/knowledge-center/iam-permission-boundaries/
More

[x] Yes, I have tested the PR using my local account setup  (Provide any test evidence report under Additional Notes)
[ ] Yes, I have updated the docs for this feature
[x] Yes, I ran pre-commit run -a with this PR

For Moderators

[ ] E2E Test successfully complete before merge?

Additional Notes
I would be happy to add the same functionality to the other addons, as they're adopted by us. I do not have the capacity to test them at the moment.

@bobdoah thank you for the PR!
To aid in adding support to other add-ons, it probably makes sense to add permission boundary support the helm-addon submodule. LBC add-on doesn't leverage the helm-addon submodule yet, but our plan is to update all add-ons which deploy helm charts to leverage it in the near future. We could prioritize updating the LBC add-on if you need.

Thanks @vara-bonthu, @kcoleman731 for the prompt response.
I have corrected the documentation markers, an oversight on my part. I had thought I had inserted the docs in the correct place.
@kcoleman731 I have added support to the helm-addon module as suggested. It didn't look like there were many modules using that, at the moment. It would be great if you could prioritise the LBC change. My intent was to revisit the other modules as I adopted them.

Realised I need to add this to the modules using helm-addon or they will not work.

Any chance of getting this merged? Is there something I need to do fix the pr-test action?


Update MVC Migration article

#1424

@Rick-Anderson Please review

Closing this and creating a new PR against dev branch.


feat: support for database sockets and fetching client certificates

This change will is adding support for our database proxy.

support for requesting a client cert
./mysocketctl client cert fetch --host aged-paper-7977.edge.mysocket.io

support for creating a database socket as part of the connect command:
./mysocketctl connect --name database-demo --port 3306 -t database --cloudauth --allowed_email_addresses<EMAIL_ADDRESS>--allowed_email_domains 'gmail.com' --upstream_username root --upstream_password my-secret

support for creating a database socket as part of the socket command:
./mysocketctl socket create --type database --name "db socket"  --cloudauth --allowed_email_addresses<EMAIL_ADDRESS>--allowed_email_domains 'gmail.com' --upstream_username root --upstream_password my-secret

Then to use this:
First request client cert:
./mysocketctl client cert fetch --host aged-paper-7977.edge.mysocket.io
Client certificate file: /Users/<user>/.mysocketio/aged-paper-7977.edge.mysocket.io.crt and key /Users/<user>/.mysocketio/aged-paper-7977.edge.mysocket.io.key

Then connect with MySQL, using the mtls cert:
$ mysql -h icy-star-1910.edge.mysocket.io -P 59386 --protocol TCP --ssl-cert=~/.mysocketio/aged-paper-7977.edge.mysocket.io.crt  --ssl-key=~/.mysocketio/aged-paper-7977.edge.mysocket.io.key -u root
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 10023
Server version: MysocketSQL 0.1 MySQL Community Server - GPL

Copyright (c) 2000, 2021, Oracle and/or its affiliates.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MySQL>


ARP/Update metadata/Add de-DE locale: JanFiala.PSpad <IP_ADDRESS>9

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

-----------------------------------------------------
Manifest: manifests\j\JanFiala\PSpad\<IP_ADDRESS>9
-----------------------------------------------------
URI: http://www.pspad.com/en/, Validation result: Failed, Error Message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
URI: http://www.pspad.com/en/faq.htm, Validation result: Failed, Error Message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
URI: http://www.pspad.com/include/page/privacypolicy.html, Validation result: Failed, Error Message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
URI: http://www.pspad.com/en/, Validation result: Failed, Error Message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
URI: http://www.pspad.com/en/licence.php, Validation result: Failed, Error Message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
URI: https://pspad.poradna.net/release/pspad506_x64_setup.exe, Validation result: Passed
URI: https://pspad.poradna.net/release/pspad506_setup.exe, Validation result: Passed
URI: http://www.pspad.com/en/, Validation result: Failed, Error Message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
URI: http://www.pspad.com/de/faq.htm, Validation result: Failed, Error Message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
URI: http://www.pspad.com/include/page/privacypolicy.html, Validation result: Failed, Error Message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
URI: http://www.pspad.com/de/, Validation result: Failed, Error Message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
URI: http://www.pspad.com/de/licence.php, Validation result: Failed, Error Message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

The site does appear to support https, try changing it to that just for lols

Is the bot not accepting http anymore?


Add support for a wait/hourglass cursor

This adds support for the wait/hourglass cursor with a Windows implementation using ICL_WAIT and using XC_watch on X11.

This overlaps with #427.

Oh, sorry. You are right.

So, how to continue? Should we close this PR? When will the other PR make it into master?
It'd be really nice to have at least the hourglass cursor supported on Windows and Linux.

Both issues pose the same basic question: should cursors be supported that are not provided by every platform? Once standard cursors are optional, they're less useful.
This issue poses an additional question: should a cursor be supported that encourages single-threaded applications?

Since cursor themes aren't really a thing on OS X, the ones that are supported by the other platforms could be emulated with matching images, if someone volunteers to draw them. That would be doubly useful as OS X has the smallest set of built-in cursors.


python311Packages.ratarmount: 0.14.1 -> 0.14.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python311Packages.ratarmount is: Mounts archives as read-only file systems by way of indexing
meta.homepage for python311Packages.ratarmount is: https://github.com/mxmlnkn/ratarmount
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.14.2 with grep in /nix/store/mxrws3fi4w0pg1a78zrbxi8bx89v8igx-python3.11-ratarmount-0.14.2
found 0.14.2 in filename of file in /nix/store/mxrws3fi4w0pg1a78zrbxi8bx89v8igx-python3.11-ratarmount-0.14.2

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath
python311Packages.ratarmount
python312Packages.ratarmount
ratarmount

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/mxrws3fi4w0pg1a78zrbxi8bx89v8igx-python3.11-ratarmount-0.14.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python311Packages.ratarmount https://github.com/r-ryantm/nixpkgs/archive/d5112e04d90bd77624b8987125970d24d791c23c.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/d5112e04d90bd77624b8987125970d24d791c23c#python311Packages.ratarmount

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/mxrws3fi4w0pg1a78zrbxi8bx89v8igx-python3.11-ratarmount-0.14.2
ls -la /nix/store/mxrws3fi4w0pg1a78zrbxi8bx89v8igx-python3.11-ratarmount-0.14.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

2 packages failed to build:

python312Packages.ratarmount
python312Packages.ratarmount.dist

2 packages built:

ratarmount (python311Packages.ratarmount)
ratarmount.dist (python311Packages.ratarmount.dist)

Maintainer pings
cc @mxmlnkn for testing.

Why are there two PRs for the same thing? #302290 and #302250

Why are there two PRs for the same thing?

I guess the bot consider them to be different packages. It's being tracked here https://github.com/ryantm/nixpkgs-update/issues/315


Create database tables for ActiveStorage

Add the migration created by rails active_storage:install and update schema.rb.

Yay!


feat: allow treesitter default options to be overwritten by user preferences

If we move the default options for treesitter to opts you could then overwite them based on your preferences without altering the default config by doing something like this:
-- lua/custom/plugins/treesitter.lua

return {
  {
    'nvim-treesitter/nvim-treesitter',
    opts = {
      -- add your own config options here
      ensure_installed = { 'css', 'javascript', 'styled' },
    }
  }
}

Thanks for this @rbaumgardner93 I was annoyed there was a git conflict in my config until I realized that this will be the last conflict. Cool change :heart:
The example is also very helpful!


Add bucket param to operator config args

Issue #, if available: https://github.com/awslabs/aws-service-operator/issues/193
Description of changes:
This change adds the bucket param to the operator deployment config. It also makes a minor change to the documentation, removing the optional tag from creating an S3 bucket. As with out the use of an S3 bucket a user encounters a number of errors when creating the cloudformation templates.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

https://github.com/awslabs/aws-service-operator/blob/76312848693937324f5920d771cde1abe2f51fdd/configs/aws-service-operator.yaml is auto-generated from https://github.com/awslabs/aws-service-operator/blob/76312848693937324f5920d771cde1abe2f51fdd/code-generation/pkg/codegen/assets/aws-service-operator.yaml.templ (see https://github.com/awslabs/aws-service-operator/blob/master/development.adoc) so - --bucket=<BUCKET_NAME> needs to be added to the templ file too.
It may be worth removing the aws-operator default value (setting it to an empty string) from
https://github.com/awslabs/aws-service-operator/blob/76312848693937324f5920d771cde1abe2f51fdd/cmd/aws-service-operator/main.go#L57

When providing a custom bucket in the --bucket=test-cluster-aws-service-operator-random-string, and applying a custom template with
kubectl -n aws-service-operator apply -f cloudformationtemplates/dynamodb.yaml

the bucket stays empty and aws-service-operator logs
time="2019-06-28T20:00:12Z" level=error msg="error uploading cloudformation" error="NoSuchBucket: The specified bucket does not exist\n\tstatus code: 404, request id: 84A7357DF705903F, host id: XXX" hostname=aws-service-operator-865978fc59-x2njq

Moreover, changing the bucket name to something else that the default aws-operator results in aws-service-operator inability to create resources like https://github.com/awslabs/aws-service-operator/blob/master/examples/dynamodb.yaml.

I am trying to follow along, but it isn't clear to me. Should adding a bucket in us-east-1 work at this point?

If I remember well, using a custom bucket is not working.

If I remember well, using a custom bucket is not working.

OK, thanks. That is my experience as well.


Added missing plugin templates to manifest

Description

Plugins come with their own templates dir which has to be included in MANIFEST.in
Motivation and Context

Fixes #583
How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Thanks! If you add Fixed #583 or Fixes #583 somewhere in the commit message, the related issue will be automatically closed when this is merged.

@claudep ok, added.


clarifying DQ limits

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


Add context menu with duplicate

/claim #201
modified #293 so that it only contains the duplication feature. (removed pin, summary, and delete functionality)
https://github.com/user-attachments/assets/cfd9976d-50b2-4f38-b152-db3900217635

I saw that it wasn't even compiling so I don't think you've made enough effort to lock this issue. @varshith257.

Right, but now its finished after mine. (Not that it was much work as most of it was done by @DoomTas3r)

I don't ever open a PR that someone else is already working on unless I think that they haven't made a good effort in their PR.
That's why I opened the PR. (Because a PR that doesn't compile means that you haven't even run in on your own computer yet)

@urbit-pilled Nice, although some requested features from this proposal were left out, most notably the Ctrl-D shortcut to Duplicate.

It was a bit ambiguous to me what @manuq wanted because later on he said that the other things should be discussed first.
but I think you're right @DoomTas3r, I think he was referring to the pin and summary when he was talking about features that need discussing first.
I have added back the Ctrl + d shortcut and added Delete to the dropdown menu.

Thanks @urbit-pilled . I squashed the commits and took the liberty to improve the commit message in #345, while still giving credit to the original author @DoomTas3r. Thanks both.


Installing trust store does not work for opendoas instead of sudo

I have opendoas instead of sudo, and this causes mkcert -install to fail:
Created a new local CA 💥
ERROR: failed to execute "tee": exit status 1

sudo: invalid option -- '-'
usage: doas [-Lns] [-C config] [-u user] command [args]

Can the implementation be updated to support multiple 'sudo' programs?

I had the same issue and decided to look at it
I've written a small bash script that wraps doas to accept some sudo args (and omit the  unsupported ones)
So the "--prompt" arg would be stripped when running mkcert -install
See https://github.com/ubermanu/sudoas/blob/main/sudo.bash


Failed to compile the git master version of vscode Ubuntu 20.04.

ERROR: "watch-extensions" exited with 1.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Any hints for solving this problem?
Regards,
HY

I believe you should be using yarn, not npm.
I don't know what this line is for, I don't believe it is necessary.
npm install --save-dev vscode-gulp-watch esbuild jsonc-parser parse-semver katex performance.
Instead, you should just be doing yarn or yarn install.
So general steps to clone, compile, and open would be something like this.
git clone https://github.com/microsoft/vscode.git
cd vscode
yarn # Installs dependencies, including nested project dependencies.
yarn watch # Compiles, then watches the source code for changes.
# Open a new terminal for this next command.
./scripts/code.sh # This runs the compiled version.

This link may be helpful, https://github.com/microsoft/vscode/wiki/How-to-Contribute.

But the yarn failed to install according to the guide here:
$ sudo npm install --global yarn

><EMAIL_ADDRESS>preinstall /usr/local/lib/node_modules/yarn
> :; (node ./preinstall.js > /dev/null 2>&1 || true)

$ which yarn
$

Any hints for solving this problem?
Regards,
HY

According to the installation guide here, it seems the problem can be fixed by the following command:
$ sudo npm install -g node-gyp

But on another Ubuntu 20.04 machine, I encountered the following error when issuing yarn commands:
$ yarn
yarn install v1.22.5
$ node build/npm/preinstall.js
[1/4] Resolving packages...
[2/4] Fetching packages...
info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>[4/4] Building fresh packages...
[1/15] ⠐ keytar
[6/15] ⠐ nsfw
[8/15] ⠐ vscode-ripgrep
[7/15] ⠐ spdlog
error /home/apollo/Public/repo/github.com/microsoft/vscode.git/node_modules/keytar: Command failed.
Exit code: 1
Command: prebuild-install || npm run build
Arguments:
Directory: /home/apollo/Public/repo/github.com/microsoft/vscode.git/node_modules/keytar
Output:
prebuild-install WARN install No prebuilt binaries found (target=12.0.7 runtime=electron arch=x64 libc= platform=linux)
npm WARN lifecycle The node binary used for scripts is /tmp/yarn--1621905519343-0.09953397031551625/node but npm is using /usr/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.

><EMAIL_ADDRESS>build /home/apollo/Public/repo/github.com/microsoft/vscode.git/node_modules/keytar
> node-gyp rebuild

Traceback (most recent call last):
  File "/usr/share/nodejs/node-gyp/gyp/gyp_main.py", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3254, in <module>
    def _initialize_master_working_set():
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3237, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3266, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 584, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 901, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 787, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'gyp==0.1' distribution was not found and is required by the application
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/share/nodejs/node-gyp/lib/configure.js:355:16)
gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Linux 5.4.0-26-generic
gyp ERR! command "/usr/bin/node" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /home/apollo/Public/repo/github.com/microsoft/vscode.git/node_modules/keytar
gyp ERR! node -v v10.19.0
gyp ERR! node-gyp -v v6.1.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>build: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

I think your issue is still related to installing yarn/node-gyp.  You are more likely to get better help on stackoverflow than here.
Sorry, I can't be much more help.  I am not super familiar with Linux.

Does the following must also be run:
$ sudo npm install -g node-pty

It seems that this problem can be fixed by running the following commands immediately under the top-level root directory of vscode's local repo:
$ git clean -xdf
$ git pull

But now I meet the following error:
$ yarn
yarn install v1.22.5
$ node build/npm/preinstall.js
[1/4] Resolving packages...
[2/4] Fetching packages...
info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>[4/4] Building fresh packages...
[6/15] ⠁ nsfw
[7/15] ⠂ spdlog
[11/15] ⠂ electron
[9/15] ⠂ vscode-sqlite3
error /home/apollo/Public/repo/github.com/microsoft/vscode.git/node_modules/electron: Command failed.
Exit code: 1
Command: node install.js
Arguments:
Directory: /home/apollo/Public/repo/github.com/microsoft/vscode.git/node_modules/electron
Output:
RequestError: Client network socket disconnected before secure TLS connection was established
    at ClientRequest.request.once.error (/home/apollo/Public/repo/github.com/microsoft/vscode.git/node_modules/got/source/request-as-event-emitter.js:178:14)
    at Object.onceWrapper (events.js:286:20)
    at ClientRequest.emit (events.js:203:15)
    at ClientRequest.origin.emit.args (/home/apollo/Public/repo/github.com/microsoft/vscode.git/node_modules/@szmarczak/http-timer/source/index.js:37:11)
    at TLSSocket.socketErrorListener (_http_client.js:401:9)
    at TLSSocket.emit (events.js:198:13)

Presumably, the problem was caused by the proxy settings used by npm and yarn. Seems the following settings can fix the problem:
werner@X10DAi:~$ npm config list|grep -A5 '; "user'
; "user" config from /home/werner/.npmrc

https-proxy = "http://<IP_ADDRESS>:8080/"
proxy = "http://<IP_ADDRESS>:8080/"
strict-ssl = false

werner@X10DAi:~$ cat .yarnrc
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1

proxy "http://<IP_ADDRESS>:8080"
https-proxy "http://<IP_ADDRESS>:8080"
lastUpdateCheck<PHONE_NUMBER>752
strict-ssl=false true


TokenEndPoint problem bind HttpMethod parameter

In TokenEndPoint class on version 2.0.6 is added the functionality to support others httpMethods, and receive a parameter with HttpMethod. I'm using Spring 3 and in this version the Spring can't bind this parameter and the value is NULL and always I receive the exception HttpRequestMethodNotSupportedException, See the code below:
@RequestMapping(value = "/oauth/token")
	public ResponseEntity<OAuth2AccessToken> getAccessToken(Principal principal, @RequestParam
	Map<String, String> parameters, HttpMethod requestMethod) throws HttpRequestMethodNotSupportedException {

		if (!allowedRequestMethods.contains(requestMethod)) {
			throw new HttpRequestMethodNotSupportedException(requestMethod.toString());
		}

               ....
}

Spring 3 doesn't bind HttpMethod in a @RequestMapping?

Yes, you can see this information in the documentation, Only in Spring 4 you can bind HttpMethod
Spring 3
http://docs.spring.io/spring/docs/3.2.13.RELEASE/spring-framework-reference/html/mvc.html#mvc-ann-arguments
Spring 4
http://docs.spring.io/spring/docs/current/spring-framework-reference/html/mvc.html#mvc-ann-arguments

I guess Spring 3 is not a dependency of this project, so it' snot really a surprise it doesn't work. The easiest way to get it to work is to simply not support anything other than POST anyway (which ironically is what @ccampo133 wanted in #327).
I don't think we really want to commit to always supporting old versions of Spring, but this on the face of it a small thing to change (even though it might have a big effect on people who are misusing the token endpoint). Anyone else got opinions?

To resolve my problem I do this workaround bellow. In the version 2.0.5 the Spring OAuth works fine with Spring 3.
        @Override
        public void configure(AuthorizationServerEndpointsConfigurer endpoints) throws Exception {
            ...
            endpoints.allowedTokenEndpointRequestMethods().getAllowedTokenEndpointRequestMethods().add(null);
        }

The solution that set the default request method to POST, but still allowed other HTTP request methods, was to prevent any users who were using GET, PUT, etc. from completely breaking their set up, per the request of @dsyer . That being said, technically POST is the only method supported by the token endpoint in the OAuth 2 spec, and I still believe that should be enforced.
We could still resolve this issue by injecting HttpServletRequest instead of HttpMethod, as that is supported by Spring 3, and then using that to get the HTTP request method. I do agree though, allowing only POST is the cleanest (and easiest) solution :)
Best,


[Bug] pad function wrong result when len.val==str_char_size

Search before asking

[X] I had searched in the issues and found no similar issues.

Version
master
What's Wrong?
Pad function get wrong result when input string have chinese charactor and input string length euqal to second param.
for example:
SELECT RPAD(‘你',1,'123');

What You Expected?
fix this bug at lpad and rpad
How to Reproduce?
No response
Anything Else?
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

you can see vec-pr143
and i created a similar issue , issue-6562

you can see vec-pr143
and i created a similar issue , issue-6562

@zbtzbtzbt
The problem mentioned in #6562 has been fixed by #6564.


[5.6] gracefully handle pre-existing binary artifact from failed downloads (#4021)

5.6 cherry-pick of #4021

Explanation:
When binary artifact download fails it may leave behind a partial or otherwise corrupt file, which fail subsequent attempts to resolve the dependency graph unless manually cleaned up (remove .build)
Scope of Issue:
This impacts the reliability of SwiftPM when resolving graphs with binary dependencies.
Reason for Nominating to 5.6 :
Important reliability fix for real-world use case.
Risk:
Low risk; No functional changes, this removes a file if exists before attempting to write it.
Reviewed By: @abertelrud
Automated Testing: Unit tests
Dependencies: None
Impact on CI: None
How to Verify: Resolve package dependencies on a binary dependency, cause it to fail mid way, try to resolve again.

@swift-ci please test


Bannerlord Perk doesn't work

Should give +2 to party size for each fief owned. (It's personal but should probably be clan leader, as they are the only ones who can own fiefs?)

hey @Skau I tagged you on this, you can remove yourself if you have another focus

Np, I'll give it a try


[DO NOT MERGE] ref new codecovcli upload command

This PR is primarily to confirm that the codecovcli invocation at least gets past the Error loading Python lib '/tmp/_MEImwrRwT/libpython3.11.so.1.0': dlopen: /usr/lib/aarch64-linux-gnu/libm.so.6: version GLIBC_2.35' not found (required by /tmp/_MEImwrRwT/libpython3.11.so.1.0)` reported here.
These tests show that we're able to acheive this with the source distribution variant of the codecovcli (0.6.0) package.

https://github.com/rapidsai/pynvjitlink/actions/runs/9371539018/job/25801234092?pr=87
https://github.com/rapidsai/pynvjitlink/actions/runs/9371539018/job/25801234433?pr=87

A second test was carried out in this job which used the same installation format (source dist).
Accompanying shared-workflows PR is linked here.

Thanks for testing this @AyodeAwe! I think it looks like it's working?

Thanks for testing this @AyodeAwe! I think it looks like it's working?

Yep


Register custom row constructor function for Gluten.

What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

Please also fix the code format issue.

Done


Model preds 12-14

Thank you for your submission @potnissa. Please remove the binary files .DS_Store from the submission PR.
Also consider including designated_github_users field in the metadata file to assist timely merging of PRs.


No package metadata was found for email-validator

Initial Checks

[X] I confirm that I'm using Pydantic V2

Description
Hey! Thanks for the work on this project. Been running well on version 1, just tried to upgrade to v2 and having some issues.
I am deploying to aws lambda and a very simple works.
Then when i try to use EmailStr and I get an issue saying i need to pip install pydantic[email]
Once i do that... i get an error:
[ERROR] Runtime.ImportModuleError: Unable to import module 'app.main': No package metadata was found for email-validator

I checked the code and the email-validator dep is in the lambda code. I have tried quite a few different approaches, but keep getting this metadata issue.
Would love suggestions on other ideas to debug this. Thanks!!
Example Code
"""
API

Main entrypoint to API
"""

from pydantic import BaseModel, EmailStr

from fastapi import FastAPI
from mangum import Mangum

# Properties to receive via API on creation
class SampleModel(BaseModel):
    email: EmailStr

# Set up app
app = FastAPI(
    title="SAMPLE_NAME",
)

@app.get("/test", response_model=SampleModel)
async def trigger_error():

    return<EMAIL_ADDRESS>    # division_by_zero = 1 / 0

# Wrap in ASGI to deploy on lambda
handler = Mangum(app)  # type: ignore

Python, Pydantic & OS Version
running in aws lambda

runtime python 3.11

@dwbelliston,
Have you tried pip install email-validator? That should resolve the issue!
Marking as resolved for now, but feel free to ping me if you're still having trouble!

Thanks for the help
Yes, I have put an email-validator in my requirements.txt for my deploy to AWS lambda. When I download the zip, I do see the email-validator package alongside pydantic.
No package metadata thats the issue I am getting. As opposed to module not found. So I do believe its being installed, something is off though and I have not been able to figure it out.

@dwbelliston,
Huh, that's quite odd. What happens when you run said code in a local environment?


[silx convert] Allow to use a filter id for compression

The command line argument is converted to int, if possible.

I think the accompanying documentation should be improved too. For instance by showing the usage with some typical filters id (GZIP, LZ4,..) and providing a link to the HDF5 group page where the filter ids are stored:
https://support.hdfgroup.org/services/filters.html

I was also thinking about adding mapping (id<->name) on hdf5plugins? At least filters exposed.


Add vs code gitignore

Based off https://github.com/github/gitignore/blob/master/Global/VisualStudioCode.gitignore

@hughbe,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot


Post-release 0.1.0

Close #4
Support HTTPS as git operations protocol
Add check on git status (no un-commited changes allowed when running roll_release.sh)
Add version 0.1.0 to (local) Spack package

I would add to README
[![zenodo](https://zenodo.org/badge/DOI/10.5281/zenodo.11241331.svg)](https://doi.org/10.5281/zenodo.11241331)
and possibly even the status of the pipeline
[![pipeline status](https://gitlab.com/cscs-ci/ci-testing/webhook-ci/mirrors/657496524998283/7598378243915359/badges/main/pipeline.svg)](https://gitlab.com/cscs-ci/ci-testing/webhook-ci/mirrors/657496524998283/7598378243915359/-/commits/main)

Excellent suggestion! Should I also add the CSCS logo or other acknowledgements?

Excellent suggestion! Should I also add the CSCS logo or other acknowledgements?

Right, I would add an acknowledgment section as in DLA-Future with CSCS, ETHZ and PASC.

Spack is acting up... I'll need to look into it more carefully.

Spack is acting up... I'll need to look into it more carefully.

With the build cache enabled, concretisation ends up having the same packages multiple times with different arch (ubuntu20.04/ubuntu22.04).

Blocked by https://github.com/eth-cscs/DLA-Future-Fortran/pull/9.


Rake 0.9.1 Deprecation Warnings...

When rake goes to parse lib/tasks/rspec.rake (in 1.3.2):
WARNING: Global access to Rake DSL methods is deprecated. Please Include Rake::DSL into classes and modules which use the Rake DSL methods.
WARNING: DSL method Spec::Rake::SpecTask#task called at lib/tasks/rspec.rake:28:in `initialize'
to fix:
module Spec
module Rake
class SpecTask
# Start
include ::Rake::DSL
# end
def initialize(name)
"include Rake::DSL" gets confused and looks in the Spec namespace's Rake, which doesn't have DSL, so you have to ::Rake...

Fixed by #11.


make to be able to uncheck file/folders associations in explorer

make to be able to uncheck file/folders associations in explorer. It some times can break OS because didn't working properly. My OS WindowsXP (I know it that didn't supported).

As you can see on screenshot, dblclick on folder didn't simple open folder but open Brackets with this folder.

@bambus1980 Please uninstall Brackets and while reinstalling, from the below installer window, make sure to uncheck "Add Open With Brackets to Explorer context menus for all files and folders". This would remove the entries in the explorer context menus.

Thank you, it is really helped me. But it will be better to add this option in Brackets settings.

We are depending on installer to do this, as it helps in managing the program installation scope meaning when uninstalling, it just undoes every thing that was part of the installation. In the above case, upon installation it would remove the explorer context menu entries, had you chosen "Add "Open With Brackets"..." option.

I understand, thank you.


Blocks with comments in code

Hello, is it possible to make such blocks with comments in the code?
https://community.openhab.org/t/documentation-comment-blocks/137053

I think this additional option was better at separating the code into commented parts than popups that constantly turn off their display and move around and change size.

+1 from another Educator - Is it possible in MakeCode Arcade to have an option for comments so that it writes out like a normal comment line?  When we used VEX VR last year, we were able to do this:

totally possible to do, but might need some user testing. i was once told by one of the scratch folks that they did something like this but ended up rolling it back because novice coders thought they could write code in that block (or just write what they thought the program should do at that point)

@riknoll A very strange story in the place where the hint is indicated that this is a comment to the code to write code and wait for it to execute...
I really need such a block, because it can be used to separate blocks with code by signing, which is what the code below does


Buy voltage regulator

See  details of which regulator to purchase in the comments of issue #5

4 voltage regulators ordered from Amazon with projected delivery on Dec 24.
part description:
https://www.amazon.com/Diymore-Adjustable-Regulator-Converter-Constant/dp/B07Y7YB14L?th=1
Order:
Order #113-0437045-2593032
Not that a 5V > 3.3 V regulator is also needed but it is low current, and easy to find.

Four of these voltage regulators have arrived. We should probably test them and maybe do some documentation, like how to adjust output voltage and current limit (i.e which way to turn the multi-turn pot screws.)
Leaving this issue open until testing and documentation done.

uploading odt and pdf versions of file voltageRegulator-20A to pcb/power in github. It contains documentation and calibration procedures.


Rearranging widgets not working with chrome anymore :(

Chrome Version 51.0.2704.103 m
Trying to drag a widget does nothing.
It works fine on Edge.
It works fine on Firefox.

Works for me both in 51 and 52.

Thank you @andrecarlucci for posting this, as I was worried dragging-and-dropping wasn't an option. :smile:
For whatever it's worth, I'm seeing the same issue.  I can drag panes using Edge, but with Chrome I can't move anything.

+1

It has been working fine on Firefox and IE but just stopped working for me. I went over to Microsoft Edge and now it works. This is really strange. Why would it all of a sudden stop working?

I'm not able to move panes on neither chrome 60.0.3112 nor Firefox 54.0.1 when using Fedora 26.
With Windows 10 Chrome 60.0.3112 and Firefox 55.0 both work fine.

I had a problem where on Fedora 26 I couldn't move panes in any browser but when using windows 10 VM the same browser versions worked fine.
The issue turned out to be the fact that I'm using a touchscreen laptop, when touchscreen features are turned on moving panes with a mouse doesn't work. Moving panes using the touchscreen itself works fine.

This seems to be an issue with an older version of gridster not handling touch & mouse inputs properly.
See a fix here:
https://github.com/ducksboard/gridster.js/commit/021a6c23e851210c1b817bd353a1e5e19ce10b90
And an issue topic here:
https://github.com/ducksboard/gridster.js/issues/236

This seems to be an issue with an older version of gridster not handling touch & mouse inputs properly.
See a fix here:
https://github.com/ducksboard/gridster.js/commit/021a6c23e851210c1b817bd353a1e5e19ce10b90
And an issue topic here:


Countdown instead of countup TC possible?

This may be a total rookie question but is there a way to create a countdown timer from the variables of Hyperdeck?  I can display the count-up timer variable but would love to create a countdown timer display.  Is there arithmetic possible with variables?
Thanks,
M

Unfortunately, there doesn't seem to be a way to get clip duration back from the Hyperdeck, only the current timecode of a clip. So there is no way to calculate remaining time.

It's possible to get the clip duration from the disk list command based on which I started to implement this but I found quickly that the display timecode is not guaranteed to start at 0 and so I had to implement the clips get command which includes the start timecode to calculate offsets.
Tl;dr: work in progress.


fix: remove some empty fields from imported yaml model

Main improvements in this PR:
The importYaml function defines and creates a set of model fields at the start of import, which means that if some fields are missing from the .yml file, the corresponding fields in the Matlab structure will be empty. Since some functions expect fields to be of a certain length (e.g., those relating to metabolites, genes, and reactions), empty fields may cause errors in those functions.
This PR implements a change in the importYaml function that checks if any model fields are still empty at the end of the import process, and removes those fields. A few exceptions are included to avoid removing some fields which are OK to be empty (description, version).
This PR also addresses an Issue in the Mouse-GEM repository.
I hereby confirm that I have:

[X] Tested my code on my own computer for running the model
[X] Selected develop as a target branch

this PR enables importYaml to get rid of empty and non-essential fields - it looks fine to me


Write to Characteristics (Droid) throws object reference not set to an instance exception.

Hi,
Iam trying to write a byte[] value to a specific characteristics using the method
characteristics.Write(command); // command = byte[2] / [0] = 0x30, [1] = 0
This ends with the following output:
12-11 13:48:38.273 I/mono-stdout(17978): OnServicesDiscovered: Success
12-11 13:48:38.333 D/Mono    (17978): Assembly Ref addref Robotics.Mobile.Core[0x79339798] -> System.Threading.Tasks[0x7b57b940]: 3
12-11 13:48:42.327 D/BluetoothGatt(17978): writeCharacteristic() - uuid: 6bed05a0-1bab-11e3-82ea-0002a5d5c51b
.....Write
12-11 13:48:42.327 I/mono-stdout(17978): .....Write
12-11 13:48:42.377 D/BluetoothGatt(17978): onCharacteristicWrite() - Device=D0:5F:B8:52:24:56 UUID=6aed05a0-1bab-11e4-82ea-0002a7d5c51b Status=0
[0:]
Object reference not set to an instance of an object
[0:] Object reference not set to an instance of an object
12-11 13:48:44.849 I/mono-stdout(17978): Object reference not set to an instance of an object
According to your code this method is not tested under Droid but the "...Write" debug output is at the end of the method. Do I miss something?

@Dragon160 - do you have a repro project you can share with us?

@bryancostanich unfortunately not. I switched to an 'native' implementation after several tries implementing my own Droid BLE service. I had a look on Monkeys implementation and its basically the same. I couldnt find out my this error occured.
Are you able to write characteristics?


[TypeError: tuple indices must be integers or slices, not tuple] from post_process_data.py

When I run python post_process_data.py following the guidance, I got the error :

Then I changed the reduce(np.average, weights=sig.hann(nperseg)) to reduce(np.average) at line 721, 726, 731, 736, 741, 746, 751, 756, 762, 768. The code works now.
But I'm not sure if this is the right way to handle it, can anyone answer this?

Hey @LemingVan sorry it has taken me so long to look into this, I away for fieldwork. I'm glad to see you found a solution, although I not 100% sure on the xarray API for the reduce function, so I don't know if it is doing exactly the same thing.
I'll see if I get the same error on my machine.

So I got the same error as you with a fresh conda environment. There must have been some breaking changes to xarray since I created this repository. My solution is to install an older version of xarray (e.g. run conda install xarray=0.16) and then it ran no problem on my machine.


NixOS cloud images should not include references to regulatory.db

Issue description
When booting an AWS NixOS machine dmesg contains:
[    4.161383] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2

Kernel module cfg80211 contains this feature.
See https://www.linuxquestions.org/questions/showthread.php?p=5814902#post5814902 for context.
Why is that kernel module loaded on the shipped 18.03 AWS image?
Steps to reproduce
I didn't try to create a minimal case, but I didn't explicitly enable wireless for example. I'd expect a mkDefault false for wireless configuration, which would then not load such kernel modules.

AFAICT this is not a NixOS problem but rather kernel and/or ec2 problem since cfg80211 doesn't get loaded on e.g. QEMU (and that there's that non-NixOS thread you found).


Use hex string version of operation ID instead of bytes

This PR is easiest to review commit-by-commit
This pull request modifies how we log failures for operations. Rather than printing the operationId as bytes we can convert it to hex, which we can cross-reference with the Query History API.
Related Tickets & Documents
Closes #163

Fixed merge conflict on the changelog.


mkdir ./vanilla first to avoid copy ./v as ./vanilla

thank you for your PR. And Happy New Year: )


Wrong Trimesh conversion

🐛 Bug

Hi,
First of all, thanks for this amazing library.
I was trying to convert a torch_geometric Data object in Trimesh, but I wasn't able to properly colour the vertices I wanted. Apparently Trimesh re-orders the vertices during the conversion.
To Reproduce
Steps to reproduce the behavior:

Do the following:

torch_geom_obj = torch_geometric.io.read_obj(PATH)
trim_obj = torch_geometric.utils.to_trimesh(torch_geom_obj)
torch_geom_obj_2 = torch_geometric.utils.from_trimesh(trim_obj)

Comparing torch_geom_obj.pos with torch_geom_obj_2.pos you will notice that they are different.

Expected behavior
In my opinion torch_geom_obj.pos and torch_geom_obj_2.pos should be the same, this would ease the display of information on the mesh through Trimesh (e.g. it would allow to colour vertices given indices or vertex-wise colours obtained in pytorch geometric).
This behaviour is actually trvial to fix. It is just a matter of changing the returned object of the following function
https://github.com/rusty1s/pytorch_geometric/blob/35003e272c723187d2cb5be51bcf04861db12518/torch_geometric/utils/convert.py#L116-L128
with:
return trimesh.Trimesh(
          vertices=data.pos.detach().cpu().numpy(),
          faces=data.face.detach().t().cpu().numpy(),
          process=False)

Awesome, I didn't know about the process flag. Fixed in master! Thank you.

Cool, thanks to you!

ImportError: Package trimesh could not be found.

ImportError: Package trimesh could not be found.

You need to install trimesh via:
pip install trimesh

You need to install trimesh via:
pip install trimesh


The warning on the UI for charts not supported for k8s 1.21+ is generic

on 2.6 commit id: a55f77f

Deploy a downstream cluster
Warning on the cluster for CIS Scans and Monitoring apps are generic.
Monitoring v2 and CIS scans v2 are still supported.

Expected:
Warning should call out v1 charts specifically.

Tested on Rancher v2.6-head version 2778eca with the following steps:
Enable legacy features.
Navigate to CIS scans and project logging.
Result:
The warning for charts not supported has been updated to call out v1 specifically.


expo-sqlite-next-persister not working

Describe the bug
If I try to use createExpoSqliteNextPersister and follow the changes as here, the connection to the database does not seem to work. In the console I can only see  INFO  BEGIN undefined being logged.
Tagging @alanjhughes @brentvatne since they submitted the expo-sqlite-next-persister PR https://github.com/tinyplex/tinybase/pull/114
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Here are some code snippets:
Working:
import * as SQLite from "expo-sqlite";

export const dbName = "test.db";

export const db = SQLite.openDatabase(dbName);

export function initDatabase() {
  console.error("Initializing db", db);
  db.exec(
    [
      {
        sql: `CREATE TABLE IF NOT EXISTS "todo" ("id" PRIMARY KEY, "text", "completed" INTEGER DEFAULT 0);`,
        args: [],
      },
    ],
    false,
    () => {},
  );
}

  const store = useStore();

  useEffect(() => {
    initDatabase();
  }, []);

  const persister = useCreatePersister(
    store,
    (store) =>
      createExpoSqlitePersister(
        store,
        db,
        {
          mode: "tabular",
          tables: {
            load: { todo: { tableId: "todo", rowIdColumnName: "id" } },
            save: { todo: { tableName: "todo", rowIdColumnName: "id" } },
          },
        },
        console.info,
      ),
    [db],
    async (persister) => {
      await persister.startAutoLoad();
      await persister.startAutoSave();
    },
  );

Not working:
import * as SQLite from "expo-sqlite/next";

export const dbName = "test.db";

export const db = SQLite.openDatabaseSync(dbName);

export function initDatabase() {
  console.error("Initializing db", db);
  db.execAsync(
    `CREATE TABLE IF NOT EXISTS "todo" ("id" PRIMARY KEY, "text", "completed" INTEGER DEFAULT 0);`,
  );
}

  useEffect(() => {
    initDatabase();
  }, []);

  const persister = useCreatePersister(
    store,
    (store) =>
      createExpoSqliteNextPersister(
        store,
        db,
        {
          mode: "tabular",
          tables: {
            load: { todo: { tableId: "todo", rowIdColumnName: "id" } },
            save: { todo: { tableName: "todo", rowIdColumnName: "id" } },
          },
        },
        console.info,
      ),
    [db],
    async (persister) => {
      await persister.startAutoLoad();
      await persister.startAutoSave();
    },
  );

Expected behavior
No response
Screenshots or Videos
No response
Platform
"expo": "^50.0.0-preview.7",
"expo-sqlite": "~13.2.0",
"react-native": "0.73.1",
"tinybase": "4.5.10",
I'm testing on an Android Emulator with Android 14.0
Additional context
No response

we made some changes to the expo-sqlite/next API during the beta, we'll need to update the persister. cc @alanjhughes

Standing by to accept the PR! It would be cool to unbreak this. Thanks!


Experimental: Java FFI bindings for the fragment data structure

Describe your problem
As titled.
Additional context
See also #227.

Close as the java fragment has been merged into GraphScope.


Package ipa with xcode8

I cant package ipa project using :
ionic state reset
ionic build ios --release --device
cd platform/ios
xcodebuild clean -project 'Forum test.xcodeproj'
archive -project 'Forum test.xcodeproj' -scheme 'Forum test'

the last command stucks without any output.
my info
Your system information:
Cordova CLI: 6.4.0
Ionic Framework Version: 1.2.4-nightly-1917
Ionic CLI Version: 2.1.4
Ionic App Lib Version: 2.1.2
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Mac OS X Sierra
Node Version: v6.8.0
Xcode version: Xcode 8.0 Build version 8A218a

fixed by adding build.json file