VSCode doesn't launch at all from the terminal (Ubuntu 15) after v0.10.8

All the system information is available in the image.

@hashhar I'm assuming code is a symlink to Code, as in https://github.com/hashhar/vscode-universal-installer/blob/master/install.py? I haven't had any issues so far using Ubuntu/Compiz 15.10 and plain Debian 8.3.0. Did this just start happening with a newer version? How do you normally launch code on Linux?
Launching using sudo is a known issue https://github.com/Microsoft/vscode/issues/3068

/usr/local/bin/code is a symlink to /opt/VSCode/Code.
It started with 0.10.8. But I had also uninstalled some packages before that so it could be that. Does VSCode have any external dependencies?

I can't reproduce this on other systems. Seems to be something wrong with my machine.

@hashhar ok, if you end up figuring it out please ping this issue as vscode may be able to warn/advise about the situation.

@Tyriar Some more context. I cannot even start Code even if I build it locally.
This is what happens.

Running with --verbose gives:
ashhar@xenon:[/media/ashhar/Resources/GitHub/_Forks/vscode]🚗
$ ./scripts/code.sh --verbose
[17:16:12] Using gulpfile /media/ashhar/Resources/GitHub/_Forks/vscode/gulpfile.js
[17:16:12] Starting 'electron'...
[17:16:12] Finished 'electron' after 670 μs
[30150:0221/171612:ERROR:browser_main_loop.cc(189)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
{ [Error: ENOENT: no such file or directory, open '/home/ashhar/.config/Code-Development/storage.json']
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/home/ashhar/.config/Code-Development/storage.json' }
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell

It only happens when I try to start it from the shell. Double clicking on the symlink as well as the executable launches it without problem. I even tried clearing ~/.config/Code.
Using a different Window Manager also didn't help.
I'll now try using a different shell.

Yup. It's the SHELL. Using zsh also gave the error. But as soon as I set SHELL=/bin/zsh, it started.
@Tyriar Maybe add this to the docs or FAQ. I'll try narrowing down the source of this. I was able to reproduce it on another install. This happens after some system updates.

Works for every possible value of SHELL. I don't even have to install another shell. It just doesn't work when SHELL=/bin/bash. /bin/sh works.
This is a workaround but I would like a fix.

Interesting, I can run it just fine with bash as well as zsh.

It's not the terminal emulator. It's the shell that $SHELL is pointing to.
Try setting $SHELL to /bin/bash or /bin/sh.

It works when $SHELL is /bin/bash, /bin/sh and /bin/zsh.

Thanks. Consider this closed then. A workaround is known atleast.


Make product argument optional: use first available product by default

In many cases first available product is what we want, so make --product argument optional, just like --packageVersion.
swift-package-info --for https://github.com/airbnb/lottie-ios now works:
Identified Swift Package:
Repository URL: https://github.com/airbnb/lottie-ios
Version: Undefined
Product: Undefined

Invalid version: Undefined

Using latest found tag instead: 3.2.1

Invalid product: Undefined

Using first found product instead: Lottie

[6/6] Calculating updated binary size...
+------------------------------------------------+
|               Swift Package Info               |
|                                                |
|                  Lottie, 3.2.1                 |
+--------------+---------------------------------+
| Provider     | Results                         |
+--------------+---------------------------------+
| Binary Size  | Binary size increases by 807 KB |
| Platforms    | ios from v. 9.0                 |
| Dependencies | No third-party dependencies :)  |
+--------------+---------------------------------+
> Total of 3 providers used.

Nice work @MontakOleg! I'm merging and I'm going to create the 1.0.6 release.


[Animation] The animation controls lack the flexibility of MDB.

Describe the bug
I want to implement the staggered loading animation for the "John Doe" and "WEB DEVELOPER" texts as seen on this website: https://ascensus-mdb-uikit-tutorial.mdbgo.io/.
The "WEB DEVELOPER" text should be hidden by default and fade in with a delay of 400ms using the fade in animation.
When trying to achieve this with Animation in tw-elements, I noticed it lacks support for something like data-mdb-toggle="animation", causing the "WEB DEVELOPER" text to be visible by default. It then blinks out after 400ms before fading back in.
The website mdb implementation code:

Web developer

my unworked tw-elements  implementation code:

Web developer

my fixed code:

Web developer

To Reproduce
Expected behavior
I hope to have support for the data-te-toggle="animation" functionality, rather than always needing to manually specify opacity-0, animation-fill-mode: forwards, and the fade-in animation.
For example, I want to implement a div flying in from the right with a delay of 3000ms after page load.
my expected code

Web developer

my actual code:

Web developer

Actual behavior
Show your code
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Make sure it is indeed an issue/bug report

If it's a general support question (you just can't figure out how something works), but not an issue with the UI Kit or documentation itself it's better to ask here:
https://github.com/mdbootstrap/Tailwind-Elements/discussions/categories/support-from-community
If it's an idea for a new feature, but you cannot write the code for it yourself, it's better to ask here:
https://github.com/mdbootstrap/Tailwind-Elements/discussions/categories/share-ideas-request-features
If it's general feedback, it's better to post it here:
https://github.com/mdbootstrap/Tailwind-Elements/discussions/categories/kind-words-general-feedback

Hi, in MDB, the data-mdb-toggle="animation" attribute is used to initialize the Animation component. In TWE, we use the data-te-animation-init attribute for the same purpose. For now, there's no other way to get the effect you want without using these styles. We're working on adding the beginHidden option in the future, which will remove the opacity-0 class after the animation is done. But it'll mean adding the opacity-0 class to elements too.


Move Changing the Test below Testing Locally in README.

@aljones15 I've done a larger cleanup in #42. Would love your review!

@aljones15 do we still need this? I think #42 superseded it.

closing as README changes already occured.


Fix parameters being in the wrong order.


Insert shows all empty values.

Hi all,
I am rather new to this library and have run across a problem I have not been able to find a solution for   on the interwebs.
Here is my Knex connection:
Knex({client: 'pg', connection: config.DB, searchPath:'syp,public', debug: true})
Here is my insert:
Knex('users')
    .returning('id')
    .insert(data)
    .then(function(user) {
      console.log(user);
    }, function(err) {
      console.log(err)
    });

This is my data from the above query:
{
    "first_name": "Kenneth",
    "last_name": "Stowell",
    "email"<EMAIL_ADDRESS>}

The resulting error is:
code:"42703"
file:"parse_target.c"
length:119
line:"943"
name:"error"
position:"230"
routine:"checkInsertTargets"
severity:"ERROR"

Which would make sense as the debugger is showing the following as the sql:
sql:"insert into "users" ("first_name", "last_name", "email") values (?, ?, ?) returning "id""

I hope I am just making a newbie mistake but I cannot for the life of me figure out why. It appears to be making the bindings correctly but never applying them.
Any help appreciated!

Could you give some more information on the problem needed to reproduce it?
For example:

exact knex version used
exact Postgres version used
exact user database table schema
complete output of .toSQL() on your knex SQL command object, including its binding property
a complete but minimal javascript module that you actually used to reproduce the issue, e.g. usin g node.js

@jurko-gospodnetic That's a good list for an issue template, which we really need. I do happen to know that this issue is true for all versions of Knex.
@ktstowell Actually this is how debug: true works (and also DEBUG=knex:query). It logs the raw string as provided to the client, but not the bindings (for some reason). I'm not sure why this decision was made, but it is irritating.
Perhaps we can change this to print the bindings as well?

@elhigu, @wubzz any reason you can think of why we might not be logging bindings in debug mode?

I have no idea.

@rhys-vdw As far as I know it also logs the bindings, at least when applied via knex config object.
knex = knex({
connection: {...},
debug: true
});

knex('TestTable').where('TestColumn', 'TestValue').select()
.then(_.noop)
//
{ method: 'select',
  options: {},
  timeout: false,
  bindings: [ 'TestValue' ],
  sql: 'select * from "TestTable" where "TestColumn" = ?'
 }

Hi all,
Thanks for the replies. There was another error not piped to stdio from within the pqsql docker container. It took for ever to find but has been remedied.
Feel free to close this on my account.

Bindings are logged by DEBUG flag since 2016, closing.


Option to change charging behaviour from tray icon instead of performance plan

Would really appreciate if there was a toggle for this. I use the charge settings much more often.
Also, I know it's not in the scope of the project but if there was a way to add a script which turns off the keyboard backlight on boot along with the toolkit autostart I would be very happy.

Hi, I added the option to change the charging mode from the tray icon in the newest release. I'll look into the backlight thing later


How i can detect Moire-Pattern on image ? to check if the image taken normal or from computer screen

I need to check if the image taken normal or from screen/display of computer.
shall i label and train image with moire (image taken from screen) and normal image without bounding box as negative sample?
please if someone can advice in this subject.

@akasrawa did you find a solution ?


errors

Describe the bug
Subject: Urgent Resolution Required: Repeated Errors and Token Consumption
Dears ,
I am writing to express my deep frustration with the challenges I've encountered while using bolt. Despite my efforts to create a straightforward application, I’ve faced continuous errors and unresponsive, blank UI screens that have made development nearly impossible.
Throughout this process, I’ve exhausted approximately 2 million tokens, most of which were spent on attempts to resolve these repeated issues rather than advancing the project. This situation is extremely disappointing, given the time and resources invested without achieving a functional application.
I kindly request that you:
Review my usage history to verify the volume of tokens consumed in error resolution.
Provide a solution or guidance for the recurring issues that disrupt the development flow.
Reimburse the 2 million tokens spent on unsuccessful error handling and troubleshooting due to these unresolved platform issues.
I hope to see a prompt response and a solution that allows me to complete my project without further hindrance.
Thank you for your attention to this matter.
Best regards,
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-n9bxtz
Steps to reproduce
Subject: Urgent Resolution Required: Repeated Errors and Token Consumption
Dears ,
I am writing to express my deep frustration with the challenges I've encountered while using bolt. Despite my efforts to create a straightforward application, I’ve faced continuous errors and unresponsive, blank UI screens that have made development nearly impossible.
Throughout this process, I’ve exhausted approximately 2 million tokens, most of which were spent on attempts to resolve these repeated issues rather than advancing the project. This situation is extremely disappointing, given the time and resources invested without achieving a functional application.
I kindly request that you:
Review my usage history to verify the volume of tokens consumed in error resolution.
Provide a solution or guidance for the recurring issues that disrupt the development flow.
Reimburse the 2 million tokens spent on unsuccessful error handling and troubleshooting due to these unresolved platform issues.
I hope to see a prompt response and a solution that allows me to complete my project without further hindrance.
Thank you for your attention to this matter.
Best regards,
Expected behavior
Subject: Urgent Resolution Required: Repeated Errors and Token Consumption
Dears ,
I am writing to express my deep frustration with the challenges I've encountered while using bolt. Despite my efforts to create a straightforward application, I’ve faced continuous errors and unresponsive, blank UI screens that have made development nearly impossible.
Throughout this process, I’ve exhausted approximately 2 million tokens, most of which were spent on attempts to resolve these repeated issues rather than advancing the project. This situation is extremely disappointing, given the time and resources invested without achieving a functional application.
I kindly request that you:
Review my usage history to verify the volume of tokens consumed in error resolution.
Provide a solution or guidance for the recurring issues that disrupt the development flow.
Reimburse the 2 million tokens spent on unsuccessful error handling and troubleshooting due to these unresolved platform issues.
I hope to see a prompt response and a solution that allows me to complete my project without further hindrance.
Thank you for your attention to this matter.
Best regards,
Screen Recording / Screenshot
Subject: Urgent Resolution Required: Repeated Errors and Token Consumption
Dears ,
I am writing to express my deep frustration with the challenges I've encountered while using bolt. Despite my efforts to create a straightforward application, I’ve faced continuous errors and unresponsive, blank UI screens that have made development nearly impossible.
Throughout this process, I’ve exhausted approximately 2 million tokens, most of which were spent on attempts to resolve these repeated issues rather than advancing the project. This situation is extremely disappointing, given the time and resources invested without achieving a functional application.
I kindly request that you:
Review my usage history to verify the volume of tokens consumed in error resolution.
Provide a solution or guidance for the recurring issues that disrupt the development flow.
Reimburse the 2 million tokens spent on unsuccessful error handling and troubleshooting due to these unresolved platform issues.
I hope to see a prompt response and a solution that allows me to complete my project without further hindrance.
Thank you for your attention to this matter.
Best regards,
Platform
Additional context
Subject: Urgent Resolution Required: Repeated Errors and Token Consumption
Dears ,
I am writing to express my deep frustration with the challenges I've encountered while using bolt. Despite my efforts to create a straightforward application, I’ve faced continuous errors and unresponsive, blank UI screens that have made development nearly impossible.
Throughout this process, I’ve exhausted approximately 2 million tokens, most of which were spent on attempts to resolve these repeated issues rather than advancing the project. This situation is extremely disappointing, given the time and resources invested without achieving a functional application.
I kindly request that you:
Review my usage history to verify the volume of tokens consumed in error resolution.
Provide a solution or guidance for the recurring issues that disrupt the development flow.
Reimburse the 2 million tokens spent on unsuccessful error handling and troubleshooting due to these unresolved platform issues.
I hope to see a prompt response and a solution that allows me to complete my project without further hindrance.
Thank you for your attention to this matter.
Best regards,

Appreciate the feedback! A blank preview window is a known issue and is being tracked here: #1791. Additionally, this page here has a number of insights into using Bolt most effectively while maximizing token efficiency. Refund requests are handled through<EMAIL_ADDRESS>


[BUG] Very strange error while running LLaMa-2 with DeepSpeed-Chat

I am trying to run DeepSpeed-Chat almost out of the box albeit with some custom data and minor modifications to the code across logging, data loading, and model checkpointing. However, from the perspective of model we are using DeepSpeed as-is. I am facing strange errors while running which was working well previously.
The error is catalogued below (I am only pasting parts that I think are relevant):
Loading checkpoint shards:  50%|█████     | 1/2 [00:02<00:02,  2.30s/it]
Loading checkpoint shards: 100%|██████████| 2/2 [00:03<00:00,  1.37s/it]
Loading checkpoint shards: 100%|██████████| 2/2 [00:03<00:00,  1.51s/it]
You are resizing the embedding layer without providing a pad_to_multiple_of parameter. This means that the new embeding dimension will be 32008. This might induce some performance reduction as Tensor Cores will not be available. For more details  about this, or help on choosing the correct value for resizing, refer to this guide:https://docs.nvidia.com/deeplearning/performance/dl-performance-matrix-multiplication/index.html#requirements-tc
[2023-08-28 17:41:40,445] [INFO] [partition_parameters.py:332:exit] finished initializing model - num_params = 292, num_elems = 6.87B
/.local/torch/nn/init.py:412: UserWarning: Initializing zero-element tensors is a no-op
warnings.warn("Initializing zero-element tensors is a no-op")

File "/.local/lib/python3.8/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/.local/lib/python3.8/site-packages/deepspeed/runtime/zero/partitioned_param_coordinator.py", line 306, in fetch_sub_module
assert param.ds_status == ZeroParamStatus.AVAILABLE, param.ds_summary()
AssertionError: {'id': 292, 'status': 'NOT_AVAILABLE', 'numel': 0, 'ds_numel': 0, 'shape': (0,), 'ds_shape': (0, 4096), 'requires_grad': True, 'grad_shape': None, 'persist': True, 'active_sub_modules': {453}, 'ds_tensor.shape': torch.Size([0])}
The DS parameters are as follows:
'''
ZERO_STAGE=3
deepspeed main.py
--sft_only_data_path local/jsonfile
--data_split 10,0,0
--model_name_or_path meta-llama/Llama-2-7b-hf
--per_device_train_batch_size 8
--per_device_eval_batch_size 8
--gradient_checkpointing
--max_seq_len 512
--learning_rate 4e-4
--weight_decay 0.
--num_train_epochs 4
--gradient_accumulation_steps 1
--lr_scheduler_type cosine
--num_warmup_steps 100
--print_loss
--project 'deepspeed-eval'
--seed 1234
--zero_stage $ZERO_STAGE
--deepspeed
--output_dir $OUTPUT
&> $OUTPUT/training.log
'''
The versions of the essential libraries are as follows:
CUDA driver version - 530.30.02
CUDA / mvcc version - 12.1
deepspeed version - 0.10.1
transformers version - 4.29.2
torch version - 2.1.0.dev20230828+cu121
python version - 3.8
datasets version - 2.12.0
Please let us know how to proceed with this strange error.

PFA ds_report
[2023-08-29 02:06:58,321] [INFO] [real_accelerator.py:158:get_accelerator] Setting ds_accelerator to cuda (auto detect)
DeepSpeed C++/CUDA extension op report
NOTE: Ops not installed will be just-in-time (JIT) compiled at
runtime if needed. Op compatibility means that your system
meet the required dependencies to JIT install the op.
JIT compiled ops requires ninja
ninja .................. [OKAY]
op name ................ installed .. compatible
async_io ............... [NO] ....... [OKAY]
fused_adam ............. [NO] ....... [OKAY]
cpu_adam ............... [NO] ....... [OKAY]
cpu_adagrad ............ [NO] ....... [OKAY]
fused_lamb ............. [NO] ....... [OKAY]
quantizer .............. [NO] ....... [OKAY]
random_ltd ............. [NO] ....... [OKAY]
[WARNING]  sparse_attn requires a torch version >= 1.5 and < 2.0 but detected 2.1
[WARNING]  using untested triton version (2.1.0+e6216047b8), only 1.0.0 is known to be compatible
sparse_attn ............ [NO] ....... [NO]
spatial_inference ...... [NO] ....... [OKAY]
transformer ............ [NO] ....... [OKAY]
stochastic_transformer . [NO] ....... [OKAY]
transformer_inference .. [NO] ....... [OKAY]
DeepSpeed general environment info:
torch install path ............... ['/.local/lib/python3.8/site-packages/torch']
torch version .................... 2.1.0.dev20230828+cu121
deepspeed install path ........... ['/.local/lib/python3.8/site-packages/deepspeed']
deepspeed info ................... 0.10.1, unknown, unknown
torch cuda version ............... 12.1
torch hip version ................ None
nvcc version ..................... 12.1
deepspeed wheel compiled w. ...... torch 0.0, cuda 0.0
shared memory (/dev/shm) size .... 433.06 GB

seems we face the same error, see this issue.

@vinod-sarvam and @GasolSun36  -- thank you for reporting the error. I have responded in the other thread as well.
We have two scripts for llama2 models that we have tested quite extensively and they have worked without errors for us. Can you please try either of the scripts in this folder first?
https://github.com/microsoft/DeepSpeedExamples/tree/master/applications/DeepSpeed-Chat/training/step3_rlhf_finetuning/training_scripts/llama2
Please let me know if these work on your system or not. We will work closely with you to resolve these issues :)

Also, kindly update your transformers package to 4.31.0.

Also, similar to the other thread, ZeRO Stage-2 seems to be operational. Only ZeRO Stage-3 seems to be failing.

I have been facing the same error:

Somehow when i run it in my local GPU setup it runs fine - hard to say why though. [Local setup is single instance multi GPU]
I made a docker image and was trying to run on a cloud cluster - I get the same error. [This setup is Multi instance multi GPU].

I got the same error, but after downgrading transformers(4.32.0 -> 4.31.0) I could run it :)
pip install --upgrade transformers==4.31.0

I tried and this does not work for me.

I tried and this does not work for me.

I tried and this does not work for me too

Got similar warning when running bash /training_scripts/opt/single_gpu/run_1.3b from DeepSpeedExamples/applications/DeepSpeed-Chat/training/step1_supervised_finetuning.
You are resizing the embedding layer without providing a pad_to_multiple_of parameter. This means that the new embeding dimension will be....
The warning disappeared after downgrading transformers by pip install --upgrade transformers==4.31.0

update:
transformers 4.32.0->4.31.0 , it works.
more:
deepspeed==0.10.1
pytorch == 1.13.1
cuda == 11.6

Ditto.
Transformers 4.32.0->4.31.0
torch 1.13.1+cu117
deepspeed 0.10.2

I had re-installed transformers==4.31.0, but step3 still failed like before.

deepspeed==0.10.1 however does not have fused_adam and does not work with DS_BUILD_FUSED_ADAM=1 pip install deepspeed.

Hi All, thank you for trying out various things. We are aware of this new problem with ZeRO Stage 3, HF transformers > 4.31.0. Closing this issue as the downgrade resolves the problem. Please reopen with a new error. Also, strongly encourage you to open a new issue if someone is still seeing errors despite downgrading to transformers 4.31.0.

I had re-installed transformers==4.31.0, but step3 still failed like before.

I'm running Stable Diffusion training with diffusers and received this warning message.
But there is no deepspeed dependency in conda list, so maybe this is not an issue about deepspeed.

I, too, am seeing this issue even with transformers==4.31.0.

same issue.

I have been facing the same error:

Somehow when i run it in my local GPU setup it runs fine - hard to say why though. [Local setup is single instance multi GPU]
I made a docker image and was trying to run on a cloud cluster - I get the same error. [This setup is Multi instance multi GPU].

Similarly, it can run normally on a single node with multiple GPUs, but the same error will occur with multiple nodes and multiple GPUs. Is there any solution?


Feature Request: Loop Track

Sets a Track on repeat.
Many chiptune tracks are build for constant repeat, because hardware was limited etc. (Seamless transition between beginning and ending of the same song)

This should be what the option loop = true does, or is there missing something?

Is there a keyboard shortcut for looping?

There's no keyboard shortcut yet, but this is planned for a future version.


RD2: Migrate Recurring Donation fields

Migrate existing Recurring Donation data to the enhanced Recurring Donation format.
Critical Changes
Changes
Issues Closed
New Metadata
Custom Labels:

RD2_DataMigrationInvalidInstallmentPeriod

Deleted Metadata

**lurch: attach W-035562

Tracking W-035562

@rponti-sforg , RD field migration is ready for testing.

QE testing is complete for this PR.  Tests have passed.
For further testing details and comments, see:
https://foundation.lightning.force.com/lightning/r/agf__ADM_Work__c/a2x1E000001C9tRQAS/view
https://salesforce.quip.com/9656A2CGxgtx
Merged PR.  WI status set to Closed.


Use common parser for DockerImageReference

Recently origin and S2I use their own implementations of ParseDockerImageReference. Right now S2I started to use github.com/docker/distribution/reference as parser and origin started use parser based on same module. I think it would be better to use the same parser for DockerImageReference to avoid differences in behavior in the future.
I made a module without dependencies on origin. It can be used in both repositories. If the parser will be changed, we will not need to synchronize our parsers any more.
https://github.com/openshift/source-to-image/pull/594
https://github.com/openshift/origin/pull/11245

@legionus @jim-minter this introduced a cyclical dependency between source-to-image and origin.  Since we flatten the vendor tree in origin, the cycle meant we couldn't move or eliminate our package (we had no need for it to be exposed in openshift).


ci: proper naming and cleanup

[deploy_demo]: proper step name, switched to "stable"
[pr_title]: proper step name

@WieFel Will release v0.7.0 after this merge.

@WieFel Can you review now.

@daadu what I find a bit strange is using .sh files for installing flutter + dependencies. Why did you come up with that solution, instead of using existing github actions that can be included?

@daadu what I find a bit strange is using .sh files for installing flutter + dependencies. Why did you come up with that solution, instead of using existing github actions that can be included?

Mainly to make the step faster - check new - 59s vs old - 66s, although the difference is not much, I expected more though!

I was expecting the 3rd party action to be using caching - for flutter binary - but looks like they don't. May be with our script can add caching to make it faster.

@daadu what I find a bit strange is using .sh files for installing flutter + dependencies. Why did you come up with that solution, instead of using existing github actions that can be included?

Mainly to make the step faster - check new - 59s vs old - 66s, although the difference is not much, I expected more though!

In my opinion, readability/clarity of the actions would be more important in this case than 5s of quicker execution.
But of course, if you prefer it this way it is also fine with me ;) you have the final word.

In my opinion, readability/clarity of the actions would be more important in this case than 5s of quicker execution. But of course, if you prefer it this way it is also fine with me ;) you have the final word.

going with your suggestion. makes sense.

@WieFel The total difference on run is of 30s - current vs previous

We can try adding caching to current to reduce time or come back to git clone approach. Anyways not important for now, just for note - if in future the CI becomes slower - we might have to think on it.

@daadu  ok!
Yeah I think 30s difference is ok for now. Github actions are actually not trimmed for running very fast anyway. Their purpose is to run on some events and give feedback, regardless needing few seconds more or less 😉

I think CI feedback should be fast though - like in about a 1-2m should now things are ok!

Yeah sure! As long as it is within this limit it is ok


Remove funcs attached to Return type

Having these here makes it hard to mock this type, and turning it into
an interface (at this level) is hard because then you can't properly
compare it to the const definition for SUCCESS, NOT_SUPPORTED, etc.
(without a cast).

Until we come up with a better way to support mocking this type with
funcs attached to it, it's better to just have the top level function
defined (which will never change / go away.

Other than return.go, the only other files that are part of the "generated" ones are those where the timestamps change from c-for-go. None of our internal code uses the Return type directly.


alternative scheme for auth and access

Is your feature request related to a problem? Please describe.

At the moment, authentication features such as MFA, OIDC etc. requires exposing the management UI at 443.
We have the option for local auth as well as OIDC, so people can use keycloak etc. themselves.
This mechanism also requires exposing an IDP on the public network.

Describe the solution you'd like

When users login, only enable their access to the firezone management network(s) only, block everything else.
Firezone network(s) are where server's 443 and IDP (if any is used) reside.
Once they complete OIDC, or TOTP, then remove the the block.
If the user session expires, redirect browser traffic to management UI. This could be perhaps done with iptables.

Describe alternatives you've considered
Netbird, Zerotier, Twingate, Tailscale, Softether
Additional context
I believe this scheme would make deploying firezone more secure, as the IDP and the local management interface is not exposed to public internet and would help ease companies with limited resources utilize firezone efficiently.

@basaran In 1.0 the data plane and control plane are split, removing the need for this feature.


No tag for 3.2.14

Installation of the Standard Edition from composer works with version 3.2.13 but not with 3.2.14
I didn't see any 3.2.14 tag, that is the cause I guess.
composer create-project symfony/framework-standard-edition test 3.2.14

[InvalidArgumentException]
  Could not find package symfony/framework-standard-edition with version 3.2.14.

Indeed, we don't tag new versions after maintenance is over.  But you can still upgrade Symfony to 3.2.14 on any 3.2 version.


Build: Upgrade to latest Gradle version.

$ gradle wrapper --gradle-version 5.1.1

Closing - needs a bit more work to do the cleanup first.


ApplyButton component for AI Assistant panel

https://github.com/cardstack/boxel/assets/353/be16bbfa-f390-4c5a-a747-f9ee8c57f603

@burieberry ready for another round


Middleware likely ASGI-incompatible on Python 3.12

Not a minify-html bug

[X] I am not reporting an issue with minification.

Python Version
3.12.0
Django Version
No response
Package Version
No response
Description
The middleware uses the same pattern as django-htmx, so will likely need the same fix as to https://github.com/adamchainz/django-htmx/issues/381 .

This was fixed in #162.


Transfer existing subdomains to new addresses

Use the following template to create your pull request
This PR implements a new endpoint /transfer that enables users to transfer subdomains to the new addresses.
For further details #79 , https://github.com/hirosystems/stacks.js/issues/1209
Type of Change

New feature

Does this introduce a breaking change?
No, it should not
Testing information
unit tests are yet to be added
Checklist

[x] Code is commented where needed
[ ] Unit test coverage for new or modified code paths
[x] npm run test passes
[ ] Changelog is updated
[ ] Tag 1 of @person1 or @person2

cc @pradel

Is there any way we can set up a mainnet-configured instance of the registrar with this functionality so we can "test in prod" so to speak? It doesn't appear that @pradel or Hiro has relevant testnet-based usernames to use for testing here.

Hey there, any update?

This PR is deployed to https://registrar-beta.stacks.co/index/ !
cc @asimm241 @markmhx @pradel @janniks

Thanks @CharlieC3 for hosting the new instance. 🙏

@asimm241 is the subdomain data only stored in the database or is a hash/tx sent to the blockchain for each username?
I ask because the registrar and registrar-beta are not "in-sync", e.g.

https://registrar.stacks.co/v1/names/migration_test.id.stx
https://registrar-beta.stacks.co/v1/names/migration_test.id.stx

Is this something that will sync at some point (because we only poll from the chain every so often), or is this part off-chain and the two registrar instances will always have separate databases?
If the latter holds true, is it possible to clone the prod data from registrar to registrar-beta? @CharlieC3

@janniks the two deployments are using separate databases, and my understanding is that the registrar DB gets written to by a processor behind btc.us (correct me if I'm wrong). Since the processor is not pointing to registrar-beta, it will not change state after initial boot.
If you need this re-synced, can we coordinate on a day/time you're available to use it soon after it's complete to conduct your testing?

Got it. 🙏 I tried a few different things now, and replayed some sniffed traffic locally to generate some data on beta — this should be enough for a test-case. Will let you know if we need more 😉

During testing for https://github.com/hirosystems/stacks.js/pull/1226 I came across this issue:
The registrar returns Failed to validate your transfer request: signature error: SP1JCBTBSVHSGEFJ6T08567DTRVDSD7CHC6YRHRPD Cannot read property 'length' of undefined for (I think) a valid subdomain operation.

To reproduce we can use the alpha CLI build:
npm install<EMAIL_ADDRESS>-g
stx migrate_subdomains "parrot guitar tomorrow old burst grant champion require orbit slush cycle chimney" https://registrar-beta.stacks.co

This command generates the following op:
Subdomain Operation Payload = {
  subdomains_list: [
    {
      subdomainName: 'migration_test_02',
      owner: 'SP1JCBTBSVHSGEFJ6T08567DTRVDSD7CHC6YRHRPD',
      zonefile: '$ORIGIN migration_test_02.id.stx\n' +
        '$TTL 3600\n' +
        '_http._tcp\tIN\tURI\t10\t1\t"https://gaia.blockstack.org/hub/19cBN1PUh9bZay5HV1HAzvU8Ehg9CfosRu/profile.json"\n' +
        '\n',
      sequenceNumber: 1,
      signature: '007608f0ba332b477ab8e1de1250d75a33c30c0940319af3e534d141b6ada88a1204389cd630167488bbe8b5884409b0ac2905fe1ae4114c202a3655a6bf4f8e20'
    }
  ]
}

...and fails (I believe on this line) with:
Failed to validate your transfer request: signature error: SP1JCBTBSVHSGEFJ6T08567DTRVDSD7CHC6YRHRPD Cannot read property 'length' of undefined

@asimm241  Can you check the cause for this?

@janniks how did you create signature?

@janniks how did you create signature?

like this →

I finally found the discrepancy.
Both the CLI and the registrar use a method subdomainOpToZFPieces.

CLI's implementation
registrar's implementation

The CLI has an additional first line including only the subdomain name. I'm not sure why this was added, but I'm assuming the CLI is incorrect, as it was never merged and is only added in the current feature branch. @kantai can you confirm?
I'll go ahead and stick with the registrar implementation for the next tests.

Also pushed a tiny fix in f577b6b. @CharlieC3 what's the process for deploying this branch to registrar-beta?

@janniks The branch is already deployed, to run the latest image the pod just needs to be killed so it can be pulled down again. It should be running now!

Perfect thanks 🙏🏻
Will test first thing tmrw

Ah yes, that's what I meant, sorry. Can I get a kill+redeploy?
Also, are the ENV settings otherwise the same as on prod?

omg, it works! i almost can't believe it 🎉
{
  "status": true,
  "message": "Your subdomains transfer was received, and will \n            be included in the blockchain soon with txId: e2ba5019a5b9e4d7e41671db06c3ed218250462b82c9a6c2dcd5ff439070788a"
}

Awesome thanks, will take a look! I missed that one 🙏🏻

@kantai Awaiting your review, can you take a peek please?

Looks good — I did a final test and am happy 👍
We can merge this (I don't have access) and deploy 🚀
CC @stacks-network/devops

Hey there, is anyone able to merge this one? :) @CharlieC3

@janniks @pradel Merged! Will deploy today.

@pradel Deployed to both mainnet and testnet!


Update Audience Network bidder docs with params

http://prebid.org/dev-docs/bidders.html#audienceNetwork

hb_pb_audienceNetwork
hb_bidder_audienceNetwork
hb_adid_audienceNetwork

This got done in 17df405


Crashing when opening WSL filesystem

Description
When i am browing the files in WSL filesystem it will just randomly crash the app
Steps To Reproduce
Opening app
Going to WSL Ubuntu
Browsing through any folder
Expected behavior
App Crash
Files Version
<IP_ADDRESS>
Windows Version
Windows  11
Relevant Assets/Logs
debug.log
debug_fulltrust.log

Same here. Very nice software, indeed

@RageMC is this still an issue in the preview version? https://files.community/download/preview

@RageMC is this still an issue in the preview version? https://files.community/download/preview

Seems ok on Windows 11 (hangs in Windows 10)

Do you have WSL2 installed on both versions of Windows?

yes

I had a similar issue on my end, it's possible the permissions are handled differently on devices updated from Windows 10 but it seems okay on fresh installs so I'm going to mark this as complete.


HV-1761 fix interpolation of primitive arrays

https://hibernate.atlassian.net/browse/HV-1761
This is a fix for the 'HV-1328' bugs. The issue is that invoking ParameterTermResolver.interpolate (context, expression) throws the exception java.lang.ClassCastException if the value of the expression is a primitive array.
I can merge these changes into 6.1, 6.2, master brunches if needed.

Can one of the admins add this person to the trusted builders? (reply with: "add to whitelist" or "ok to test")

Could you clarify if you will release 6.1.x with this fix?

Yup, I will include it in 6.0, 6.1 and master. I'm just unsure of when I will do a release.
Do you need a quick 6.1 release?

I squashed all the commits into one. I'll merge as soon as CI is green and port it to 6.1 and master.

Yup, I will include it in 6.0, 6.1 and master. I'm just unsure of when I will do a release.

This bug is not blocker for me.
Thank you for the great work.

Merged, thanks a lot! Will work on pushing it to the other versions now.

Done. Pushed to 6.0, 6.1 and master. Thanks again for the fix!


Fixed regex test against using the .endsWith() method in challenge 'C…

Pre-Submission Checklist

[ ] Your pull request targets the staging branch of FreeCodeCamp.
[ ] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[ ] You have only one commit (if not, squash them into one commit).
[ ] All new and existing tests pass the command npm run test-challenges. Use git commit --amend to amend any fixes.

Type of Change

[ ] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[ ] Tested changes locally.
[ ] Closes currently open issue (replace XXXX with an issue no): Closes #XXXX

Description

…onfirm the Ending'

Hi @AndrewGHC. Your change looks good! You have edited the correct line and it's great that your branch name starts with fix/ and you have only one commit. I also have a couple of tips about writing a Pull Request:

If you complete the checklist items that you can confirm, it helps the person checking your PR know that you have double-checked each step (this saves time on both ends, especially if something isn't quite right)
If you add the issue number which your PR closes to the description (in this case, Closes #10282), it will add a link to that issue automatically, and also automatically include a message on the issue's page so it will link back to the PR and let everyone know that you have fixed the problem. It will also automatically close the issue once your change is merged into the repository (this again saves time)
More details in the Description section of the PR (where you currently have …onfirm the Ending') will make it clear what your change does, and it lets you use a shorter PR name and commit message (I see that yours currently cuts off before it's done).

With all that said, thanks for working on this! And if you need any help with the tips listed above, please visit the HelpContributors chatroom and ask any questions you might have. We're here to help! 😄

Hi @BKinahan ! Thanks for the feedback. I actually made a mistake as I did originally complete the form. My internet's been really poor though so somewhere along the line I must have submitted the wrong checklist.
Thanks again for the pointers.

:sparkles: :sparkles: LGTM. :sparkles: :sparkles: Thanks @AndrewGHC
:sparkles: Congratulations on your first contribution to Free Code Camp :sparkles:


PR for testing tensor2tesnor fixes on diseaseTools.git repo

PLEASE DELETE THIS PR.  These are internal corporate changes that I can NOT sign a CLA for.  Apologies!


Preview spheres for 360 images

(Now I see that screengrab it reminds me I should fix the text title wrapping while I'm here)

(This needs a fix for single-pass but I'll wait for #677 to merge before I look at that)

677 is merged now :-)

Ironed out a final Quest weirdness. I think this is good to go.
@mikeage ?

Once #697 has finished doing it's thing, are you happy with a merge for this? @mikeage

Yes


Latest Rubygems no longer supports Ruby < 3

The following is failing when building with Ruby 2.7.8.
RUN gem update --system --no-document && \
    gem install -N bundler

Rubygems has dropped support for Ruby 2.6 and 2.7 in version 3.5.0.
https://github.com/rubygems/rubygems/releases/tag/v3.5.0
This can be fixed by specifying the latest version of rubygems that is compatible with these version of Ruby. e.g.
RUN gem update --system 3.4.22 --no-document && \
    gem install -N bundler

Thanks!  Released.


Change 'Gay & Lesbian travellers' to 'LGBT travellers'

On Essential Information pages
Change 'Gay & Lesbian travellers' to 'LGBT travellers'
Example - http://www.lonelyplanet.com/usa/new-york-city/essential-information

you mean only this link:

'Gay & Lesbian travel' to 'LGBT travellers', right? @lemmiestone

Yes I believe that is what they are referring to.
On Fri, Apr 22, 2016 at 7:31 AM, Mateusz Kmieciński <
<EMAIL_ADDRESS>wrote:

you mean only this link:
[image: screen shot 2016-04-22 at 14 30 13]
https://cloud.githubusercontent.com/assets/5850443/14741487/ca9087b4-0896-11e6-8bee-0870f8c13e51.png
'Gay & Lesbian travel' to 'LGBT travellers', right? @lemmiestone
https://github.com/lemmiestone
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/lonelyplanet/rizzo/issues/1510#issuecomment-213405634

@lemmiestone done, can be closed


HHH-10612 Check for support of RefCursor in Java 8

The code always produced a NullpointerException with a Java8 DatabaseMetaData class, which was caught in the method. This has the effect, that the method always returns 'false' for the Java8 class  DatabaseMetaData.

I will add a JIRA ticket in a short time

Hi @Danny02 , have you signed the CLA?

I just did, but I think it takes a while until it is accepted

Applied upstream on master and 5.1. Thanks for the fix.


Update README.md

The Facebook Android SDK link is quite old. We should point to the official Facebook Android SDK changelog in Github: https://github.com/facebook/facebook-android-sdk/blob/master/CHANGELOG.md
Hey there! So you want to contribute to FirebaseUI? Before you file this pull request, follow these steps:

Read the contribution guidelines.
Run ./gradlew check to ensure the Travis build passes.
If this has been discussed in an issue, make sure to mention the issue number here. If not, go file an issue about this to make sure this is a desirable change.
If this is a new feature please co-ordinate with someone on FirebaseUI-iOS to make sure that we can implement this on both platforms and maintain feature parity.

@anticafe LGTM thank you!


iOS 13 StatusBar change color is not working via variables

I have gone through these following points

[x] Check latest documentation: https://docs.nativebase.io/
[x] Check for existing open/closed issues for a possible duplicate before creating a new issue: https://github.com/GeekyAnts/NativeBase/issues
[x] Use the latest NativeBase release: https://github.com/GeekyAnts/NativeBase/releases
[x] Check examples from NativeBase KitchenSink https://github.com/GeekyAnts/NativeBase-KitchenSink
[] For discussion purpose make use of NativeBase Slack: http://slack.nativebase.io/
[x] For queries related to theme, check Theme Variables from Docs and live NativeBase Theme Editor http://nativebase.io/customizer/

Issue Description
iOS 13 StatusBar change color is not working via variables

node, npm, react-native, react and native-base version, expo version if used, xcode version
Expected behaviour
Actual behaviour
Steps to reproduce

Is the bug present in both iOS and Android or in any one of them?
Any other additional info which would help us debug the issue quicker.
###Important
If you want your issue to be looked at quicker, attach a snack reproducible with your issue. Makes it easier for us!

For me, on iOS 13 the StatusBar has disappeared (or is white on white) and I can't quite adjust it by setting <Header iosBarStyle="dark-content" />
Happens with Dark Mode on and off.
But it looks like it has nothing to do with NativeBase. React-native needs to be updated to support it:
https://github.com/facebook/react-native/issues/26369

NativeBase overrides the color of StatusBar with the color from plarform.js or other theme applied to app and does not handle the appearance state change event(when dark or light os theme enabled) for iOS 13/ Android Q.

Hi @SmirnovM91 , you cannot set different-different colors on iOS Bar. This feature is limited for now. Closing for now. Let us know if any other issue occurs.
<Header iosBarStyle="dark-content" />
<Header iosBarStyle="light-content" />
<Header iosBarStyle="default" />


Clean up coffeescript error messages

If compilation of a coffeescript expression fails, we will report the
associated error if the coffeescript compiler provides one. Otherwise,
we will just report that the compilation failed.
Fixes #2

Example log output for invalid conditions test case:
INFO :: Unable to compile break or watch point >> :) << { [SyntaxError: unmatched )]
  location: { first_line: 0, first_column: 8, last_column: 8 },
  toString: [Function],
  code: '0 || (:))',
  filename: undefined }
INFO :: Unable to compile break or watch point >> process=this <<
INFO :: Unable to compile break or watch point >> ((x) -> x x) n <<
INFO :: Unable to compile break or watch point >> return << { [SyntaxError: cannot use a pure statement in an expression]
  location: { first_line: 0, first_column: 6, last_line: 0, last_column: 11 },
  toString: [Function],
  code: '0 || (return)',
  filename: undefined }

@ofrobots PTAL.

I think we should go further. We have detected that the expression doesn't compile. We should figure out a way to report it to the debuglet-controller API so that the user can be informed too. We do know that the user isn't necessarily looking at the logs.

I've updated both the watch expression and breakpoint condition paths to report compilation failures to the UI.

Looking good. Can we add a test that ensures that the API gets the error message upon compilation failure for both conditions and watch expressions?

Added tests.

lgtm.


Getting a fix response data structure

Describe the bug
I sent a prompt and ask to return the result with a fixed structure by adding "please return these ideas as a JSON Object with the structure { 'Idea':['Title':'string','Description':'string']} and using a maximum of 567 tokens per idea." to the end of prompt. but I have different result every time I try to get data.
To Reproduce
        var queryModel = new openAIModel
        {
            model = 'text-davinci-002',
            prompt = '',
            temperature = artificialIntelligencePreference.Temperature,
            max_tokens = maxCompletionLength
        };

string json = JsonConvert.SerializeObject(queryModel);
request.AddJsonBody(json);
var responseContent = templateApi.Execute(request);  --->     response = openai.ChatCompletion.create(model=request_data["model"],
max_tokens=request_data["max_tokens"],
temperature=request_data["temperature"],
messages = request_data["message"])
return responseContent.Content;
Code snippets
this is the result which I get :

1- {"choices":[{"finish_reason":"stop","index":0,"logprobs":null,"text":"\n\n1. Join or attend an event for senior .NET developers\n2. Get a mentor to help guide your development journey\n3. Use online resources to improve your understanding of the platform\n4. Use social media to connect with other developers and learn from them\n5. Attend a .NET development conference\n6. Read books and blog posts about .NET development\n7. Watch online video tutorials about .NET development\n8. Take an online course about .NET development\n9. Use Visual Studio to its fullest potential\n10. Get involved in the open source .NET community"}],"created":1680191774,"id":"cmpl-6zovGa10EKPEVJBpnB1ZkiRmkHcmg","model":"text-davinci-002","object":"text_completion","usage":{"completion_tokens":119,"prompt_tokens":38,"total_tokens":157}}

2-{"choices":[{"finish_reason":"stop","index":0,"logprobs":null,"text":"\n\n1. ASP.NET Core MVC\n\nDescription: ASP.NET Core MVC is a framework for building web applications using the Model-View-Controller design pattern. It is a powerful tool for creating rich and dynamic web applications.\n\n2. C#\n\nDescription: C# is a powerful object-oriented programming language that enables developers to create robust and scalable applications.\n\n3. .NET Framework\n\nDescription: The .NET Framework is a comprehensive and integrated development platform that provides a wide range of services and libraries for building applications.\n\n4. SQL Server\n\nDescription: SQL Server is a relational database management system that enables developers to create and manage databases.\n\n5. Visual Studio\n\nDescription: Visual Studio is an integrated development environment that provides a complete set of tools for developing applications."}],"created":1680192829,"id":"cmpl-6zpCHmuiUqbaWy8L1mP2ptcz2kuFh","model":"text-davinci-002","object":"text_completion","usage":{"completion_tokens":170,"prompt_tokens":64,"total_tokens":234}}

OS
windows10
Python version
python-dotenv==0.21.1
Library version
openai-python v0.26.04

Hi @didardivani, thanks for writing in. While our models are pretty good at trying to follow certain formats, they are by no means perfect (especially at higher temperatures). I would strong encourage you not to rely on our models to output text in a specific format, especially something as complicated as json.


Duplex Service

Is your feature request related to a problem? Please describe.
I'm using this framework and trying to implement a duplex service.
Describe the solution you'd like
Is there a plan to support duplex service? (Or is it already supported, just I didn't see?)
(A duplex service contract is a message exchange pattern in which both endpoints can send messages to the other independently. WCF supports duplex service.)
Describe alternatives you've considered
I'm aware that I can establish another connection with the server/client roles flipped. However maintaining an additional connection for each client is cumbersome and less graceful.
Additional context
None yet!
(edit: fix typo)

this can be done by hosting a shading pipe in the client git a Guid for every duplex service, the use TaskCompletionSource to sync the calls

@jacqueskang this can help https://www.codeproject.com/Articles/1179195/Full-Duplex-Asynchronous-Read-Write-with-Named-Pip

Sorry guys for being so late. Due to limited energy I want to keep this project simple.
I'm not planning to implement duplex support


MSMS Scatter plot

Module is all over the place. Product m/z in dialog is actally a precursor mz
no clue how the diagnostic fragments are supposed to work
When a fragment range is set in the chart, matching ions are not highlighted

Hi Steffen,
I am running into the same issue. Has it been resolved?


Image not getting shared in IOS devices for facebook

I am using the following snippet which works on android fb, android whatsapp, ios twitter etc but is not working for facebook in ios, image is base64 string.
var options = {
message: "share",
subject: "subject",
url: "url",
chooserTitle: 'Pick an app',
files: [image];
}
window.plugins.socialsharing.shareWithOptions(options, function(){
}, function(error){
});
after running the following code I see everything except image in facebook for IOSs share

Same here. Using a base64 image does not work in ios Facebook. It does work in ios mail app though.
Thanks,
Izaaz

I spent a lot of time on this one and found that the url option is creating this problem, if you pass the url option to the facebook then facebook rejects all the other params and scrape the content from the link itself so I think this is the issue with the facebook policy itself
https://developers.facebook.com/docs/sharing/ios


How to spread the local evidence score using Markov chain

Hi Antonin
Thanks for your talented work.I appreciate it if u can explain some parts of the paper for me.
1- As far as I understand, a vector of features F is computed for each entity e as its local compatibility.
The third feature of the vector is log p(e). What is it exactly? it has been mentioned that it is a log-linear combination of the number of statements, site likes and PageRrank but based on the code, it seems to be based on only the PageRank.
2- The output of  semantic similarity step is a column-stochastic matrix Md. I can not get how to use the local compatibility vector and  the similarity matrix Md in order to define the final feature vectors for the classification. Could u further clarify equation (1) of the paper?

Hi @sareaghaei,
Sure!

Concerning the features for each mention, you can find them here:
https://github.com/wetneb/opentapioca/blob/ad96f385b5eca424dbd431d6661984ca98928c94/opentapioca/classifier.py#L41-L47

Here is a quick explanation of equation 1.

If you have a probability distribution over nodes of a Markov chain "p", you can get the probability distribution after following one edge in the graph by computing "T p" (where "T" is the transition matrix and p is represented as a vector). Similarly, if you want to get the distribution after k steps, you can compute "T^k p".
In our case we take the transition matrix to be equal to "alpha . I + (1 - alpha) M_d", which means that with probability alpha we stay on the same node and with probability 1 - alpha we follow an edge of the graph (with probability determined by the similarity measure). That should explain the "(alpha . I + (1 - alpha) M_d)^k" term.
Let me know if anything is still unclear!

Thanks for yr reply.
1-  LC(d) in the page6-equetion1 should be denoted the local compatibility, right?  which part of the code computes the distribution after k steps?
2- Do u think adding another feature as the similarity score of tag-description context and the text-input context can be improve the accuracy to some extend?

Thanks for yr reply.
1- LC(d) in the page6-equetion1 should be denoted the local compatibility, right? which part of the code computes the distribution after k steps?
2- Do u think adding another feature to feature-vector as the similarity score of tag-description context and the text-input context can be improve the accuracy to some extend?

1- LC(d) in the page6-equation1 should be denoted the local compatibility, right? which part of the code computes the distribution after k steps?

It is done here:
https://github.com/wetneb/opentapioca/blob/ad96f385b5eca424dbd431d6661984ca98928c94/opentapioca/classifier.py#L300-L303

2- Do u think adding another feature to the feature-vector as the similarity score of tag-description context and the text-input context can improve the accuracy to some extend?

Maybe! It's hard to say without trying :)


Consider converting this into a Terraform module

Whilst talking with my friend @nandajavarma, we discussed ways of doing a v2 of this and converting this into a Terraform module which could then be published.
Requirements:

it must be cloud-agnostic. Any compatible machine on any cloud should be able to run this
it must be Terraformable

Suggestions:

Change this to using the official k3s Ansible script that can then be plugged into Terraform

That sound like a great idea. I am using Terraform and Ansible to setup my whole cluster with Monitoring, Certmanager, Longhorn, MetalLB etc. but the most important part is missing, automatic installation of gitpod. Since you helped me so much in the past, dm me on discord if you want to have my current scripts or if i can help in any form.


Memory Error and Lack of GPU Usage

I'm attempting to train a Multi-planar U-Net with MPUNet 0.2.2 on an Ubuntu 18.04.3 LTS virtual machine with an Nvidia Tesla K80 GPU. Executing the command "mp train --force_GPU=true" produces a run through the training data:

Logged by: 'prepare_for_iso_live' in 'image_pair.py'
OBS: Using 1 percentile BG value of [32768.0, 32768.0, 32768.0, -5.138273081684019e-06, 0.0]
1012_NSK47177
--- shape:      [108 162 100   5]
--- real shape: [108. 162. 100.]
--- pixdim:     [1. 1. 1.]

Logged by: 'prepare_for_iso_live' in 'image_pair.py' ...

But it leads to the following error:
Traceback (most recent call last):   File "/usr/local/bin/mp", line 11, in <module>     load_entry_point('MultiPlanarUNet==0.2.2', 'console_scripts', 'mp')()   File "/usr/local/lib/python3.6/dist-packages/MultiPlanarUNet-0.2.2-py3.6.egg/MultiPlanarUNet/bin/mp.py", line 55, in entry_func     mod.entry_func(parsed.args)   File "/usr/local/lib/python3.6/dist-packages/MultiPlanarUNet-0.2.2-py3.6.egg/MultiPlanarUNet/bin/train.py", line 398, in entry_func     raise e   File "/usr/local/lib/python3.6/dist-packages/MultiPlanarUNet-0.2.2-py3.6.egg/MultiPlanarUNet/bin/train.py", line 394, in entry_func     run(project_dir=project_dir, gpu_mon=gpu_mon, logger=logger, args=args)   File "/usr/local/lib/python3.6/dist-packages/MultiPlanarUNet-0.2.2-py3.6.egg/MultiPlanarUNet/bin/train.py", line 331, in run     args=args)   File "/usr/local/lib/python3.6/dist-packages/MultiPlanarUNet-0.2.2-py3.6.egg/MultiPlanarUNet/bin/train.py", line 238, in get_data_sequences     base_path=project_dir)   File "/usr/local/lib/python3.6/dist-packages/MultiPlanarUNet-0.2.2-py3.6.egg/MultiPlanarUNet/preprocessing/data_preparation_funcs.py", line 176, in prepare_for_multi_view_unet     is_validation=True, **hparams["fit"])   File "/usr/local/lib/python3.6/dist-packages/MultiPlanarUNet-0.2.2-py3.6.egg/MultiPlanarUNet/image/image_pair_loader.py", line 432, in get_sequencer     self.prepare_for_iso_live_views(**kwargs)   File "/usr/local/lib/python3.6/dist-packages/MultiPlanarUNet-0.2.2-py3.6.egg/MultiPlanarUNet/image/image_pair_loader.py", line 381, in prepare_for_iso_live_views     image.prepare_for_iso_live(bg_value, bg_class, scaler)   File "/usr/local/lib/python3.6/dist-packages/MultiPlanarUNet-0.2.2-py3.6.egg/MultiPlanarUNet/image/image_pair.py", line 271, in prepare_for_iso_live     bg_value = [np.percentile(self.image[..., i], bg_pct) for i in range(self.n_channels)]   File "/usr/local/lib/python3.6/dist-packages/MultiPlanarUNet-0.2.2-py3.6.egg/MultiPlanarUNet/image/image_pair.py", line 271, in <listcomp>     bg_value = [np.percentile(self.image[..., i], bg_pct) for i in range(self.n_channels)]   File "/usr/local/lib/python3.6/dist-packages/MultiPlanarUNet-0.2.2-py3.6.egg/MultiPlanarUNet/image/image_pair.py", line 147, in image     dtype=self.im_dtype)   File "/usr/local/lib/python3.6/dist-packages/nibabel-2.5.1-py3.6.egg/nibabel/dataobj_images.py", line 348, in get_fdata     data = np.asanyarray(self._dataobj).astype(dtype, copy=False)   File "/home/akshay/.local/lib/python3.6/site-packages/numpy/core/_asarray.py", line 138, in asanyarray     return array(a, dtype, copy=False, order=order, subok=True)   File "/usr/local/lib/python3.6/dist-packages/nibabel-2.5.1-py3.6.egg/nibabel/arrayproxy.py", line 355, in __array__     raw_data = self.get_unscaled()   File "/usr/local/lib/python3.6/dist-packages/nibabel-2.5.1-py3.6.egg/nibabel/arrayproxy.py", line 350, in get_unscaled     mmap=self._mmap)   File "/usr/local/lib/python3.6/dist-packages/nibabel-2.5.1-py3.6.egg/nibabel/volumeutils.py", line 524, in array_from_file     n_read = infile.readinto(data_bytes)   File "/usr/lib/python3.6/gzip.py", line 276, in read     return self._buffer.read(size) MemoryError
What could be causing this? Moreover, running "nvidia-smi" shows no active GPU processes. Are there any other ways of checking whether MultiPlanarUNet is interacting with GPUs?

Hi,
The --force_GPU flag is used to set a specific GPU independent of whether it is already in use or not. E.g. if you want to use GPU with identifier '0' - no matter its current status - you would set --force GPU 0. In many cases you won't have to use the --force_GPU flag as an available GPU is automatically selected. However, if you have other applications using the GPU it can be necessary to set the --force_GPU flag.
The MemoryError seems to occur when loading your data.  How large is the dataset and how much memory does your computer have?
Currently, MultiPlanarUNet loads all data into memory before training. There is no functionality for streaming data from disk. However, let me know if this would be of interest, then I might add it in the future.
Cheers,
Mathias

In order to test that the GPU is working you could run the training script with the --just_one flag to load only a single image for testing purposes.

Hi Mathias,
According to "du -sh -- *", I have 53Gb of training and validation data. According to MPUNet's audit: this consumes a total of 120.784GiB of memory, which is definitely more than my 56Gb of system memory can handle. Streaming data of this magnitude would be a great feature.
As for GPUs, that turned was due to an incorrect TensorFlow installation. Thanks!

Hi,
I have added this feature request to the TODO list. I will unfortunately not have time myself to work on this until mid-late December. I hope you can wait until then :-)


Fix behat tests suite when running with ext-jsonc

Fix #138

The change is done.
Travis is in error because of a timeout on composer install

Thank you @iamluc


Change Stable from 2.5.4 to new 2.5.5 Patch

A new default branch build was released today... Please update? Thank you!

https://store.steampowered.com/news/app/445220/view/600764624349954733?l=english

Maybe it's time to investigate https://github.com/rfvgyhn/docker-avorion/pull/22 lol

LOL my players were harassing me to get the server updated, so I just mapped the following volumes
./server/bin:/home/steam/avorion-dedicated/bin
./server/data:/home/steam/avorion-dedicated/data
And I threw my client's updated bin and data folders into the respective bound directories... lol it works for now.


Indentation when copying mulit-line functions

If you copy a multi-line function into a rice terminal rice adds extra indentation.
Given a function
foo <- function(x) {
  x <- x + 1
  x <- x + 2
  x <- x + 3
}

If I open rice and copy the full lines into rice I get the following
rice
R version 3.4.1 Patched (2017-08-06 r73048) -- Single Candle
Platform: x86_64-apple-darwin15.6.0

r$> foo <- function(x) {
      x <- x + 1
        x <- x + 2
          x <- x + 3
          }
r$>

I guess due to the prompt toolkit trying to be helpful for python's significant whitespace. But since R doesn't have indentation significant whitespace it would be nicer if this reproduced the original formatting.
You get better the expected behavior if you copy the full function as a block rather than line-by-line

Did you copy the lines one by one? Are you using something like Nvim-R to send those lines?

Actually, it is myself added this feature https://github.com/randy3k/rice/blob/1e421053990446bbad4a6a415458fb682f61ca96/rice/keybinding.py#L66-L66

Yes I am using Nvim-R to send the lines usually (where I first noticed this issue), but it also happens if you just copy the lines one by one.

@jalvessq and I had some discussions here https://github.com/jalvesaq/Nvim-R/issues/227
He implemented an option
let R_source_args = "bracketed paste"

This option doesn't alter the behavior of \l but that of \ss and \ff. This may not be exactly what you want (I didn't). You can check if you like it or not.
A more permanent solution is to write a function <Plug>RDSendSelectionBracketed and bind \l to it in the visual mode.

An temporary solution for rice is to add an option in rice to control the auto indentation.

I have a key bound to <Plug>RDSendLine in normal mode and <Plug>REDSendSelection in visual mode. The latter works fine, the former exhibits the behavior I described (as does copying the lines manually).
👍 on an option to control the indentation

close by v0.0.14

Setting options(rice.auto_indentation = FALSE) seems to have no effect as far as I can tell, the behavior remains the same as before.
With rice versions 0.0.14 and 0.0.21.

It seems that there is a bug in parsing rice settings. Will fix soon

It is strange, 0.0.21 works for me. Could you check options("rice.auto_indentation") in rice console?

By the way, you need to set it up in .Rprofile as it won't be loaded dynamically.

See https://asciinema.org/a/7GbLlcLxhosnci1UjoKnmzfJ8 for what it is doing on my machine, this is just copy pasting into a rice terminal, without Nvim-R at all.
An additional issue that has appeared is rice seems to be stripping the trailing newline when pasting and I now have to explicitly hit enter to start a new line. Previous behavior retained the pasted newline, which is what I would prefer.

let's keep this open.

I understand what is going on now, rice.auto_indentation now only disable the indentation after the braces. What you are experiencing is an automatic indentation based on the indentation of the previous line, and it was designed by prompt_toolkit. I guess I have to also turn that off.

I can also reproduce stripping newline issue.

The stripping newline issue has fixed 8349baf

The indentation issue is fixed b24a0e68da1ca1a8c334aea0e1562383316fb79c

v0.0.23 should have addressed all these.
Btw, thank you for the feedbacks. They are extremely helpful.

Thanks for your persistence, can confirm it is now fixed!

Just want to let you know that Nvim-R now supports bracketed paste mode https://github.com/jalvesaq/Nvim-R/pull/258 so you just need to put
let g:R_bracketed_paste = 1

and Nvim-R will send the R code with bracketed paste without worrying the auto indentation. In other words, with this settings, a user can enjoy the auto indentation in the console, while the code sends through Nvim-R will not trigger auto indentation (as well as auto matching quotes/ parens).


Update Division include Nemesis #2 and #3

Division list needs to be updated to include latest Divisions

Done


feat(zetaclient): propagate context across codebase & refactor zetacore client

Description
This PR revamps the zetaclient codebase mainly by wiring ctx context.Context across the codebase.

[x] Add retrier package with exponential backoff out-of-the-box
[x] Add bg package for running go routines safely
[x] Drastically refactor zetacore client package.
[x] Propagate ctx across the codebase
[x] Add several panic handlers for goroutines
[x] Improve logging with log fields
[x] Improve testing suite, switch to mockery for ZetaClient interface

How Has This Been Tested?

[x] Tested CCTX in localnet
[ ] Tested in development environment
[x] Go unit tests
[x] Go integration tests
[ ] Tested via GitHub Actions

@coderabbitai can you please give a summary of the changes


While running SyncTrayzor, local HTTP requests to the REST API fail

I wrote a Node.js script that changes Syncthing config using the REST API, called locally. It works while Syncthing is running without SyncTrayzor, and GET requests always work, but when SyncTrayzor is running the POST requests to /config fail with a 403: "CSRF error".
I don't know if this is a SyncTrayzor or Syncthing problem, but there is this issue about a CSRF problem with two Syncthing web GUI tabs open.
I'm using SyncTrayzor 1.0.32.

Any node.js scripts you use shouldn't be relying on the CSRF stuff: use the header X-API-Key and set the value to the API key.
SyncTrayzor overrides Syncthing's API key: ignore the API key in Syncthing's Config screen and instead copy the one from SyncTrayzor's Settings -> Syncthing tab.
Also your SyncTrayzor version is pretty out of date :wink:

SyncTrayzor overrides Syncthing's API key: ignore the API key in Syncthing's Config screen and instead copy the one from SyncTrayzor's Settings -> Syncthing tab.

I'm confused. What do you mean? I should copy that? Does SyncTrayzor modifies how Syncthing works? How?
So anyone using SyncTrayzor must get the key from that screen so they can use the Syncthing API? Why?

Also, I'm using this library which is setting X-API-Key. I don't understand why the CSRF error also.

What API key is it using? Using the wrong key has the same effect as not using a key at all.
If you want to use Syncthing's API, you need to provide an API key. The API key is configured in Syncthing's settings, or it can be overridden by passing a command-line flag to Syncthing when you start it.
SyncTrayzor uses Syncthing's API, and so needs to provide an API key. It does this by choosing a key, and passing it to Syncthing as a command-line flag when it starts Syncthing, thus overriding the API key in Syncthing's settings.
You can view, and change, the API key which SyncTrayzor uses in SyncTrayzor's settings menu, as I described.
If you want to let SyncTrayzor start Syncthing, and talk to Syncthing's API, you need to copy the API key in SyncTrayzor's settings, and use it when taking to Syncthing.

I get it. Thank you. That is what is happening. SyncTrayzor is overriding Syncthings API key.
Does SyncTrayzor really needs that? I mean, perhaps SyncTrayzor could read the default Syncthing API key from config.xml and so it wouldn't break other apps that used the default Syncthing API key. My script, for example, works whenever Syncthing is ran normally, but fails when it is started by SyncTrayzor.

SyncTrayzor does not know about the format of config.xml, nor should it. It would also be very hard to start Syncthing for the first time: start Syncthing, wait until it creates config.xml, read it, then try and talk to Syncthing.
I have a PR in progress to allow Syncthing to accept both the API key from its configuration and the API key specified on the command line, if any: syncthing/syncthing#2748.

You're right. Thank you for the PR.


What is the package format or installation mechanism?

There is no information on this page on how the package installer actually works.  Should the package be a .msi file?  A PowerShell script?  How about support for Chocolatey packages?  There is zero information here on the interaction with the script, any parameters to pass in, how to support license files, et cetera.

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

ID: 1990fefe-9aee-5205-04aa-02ad58016077
Version Independent ID: 9737fc6f-99a0-563a-b809-348326155834
Content: Create and deploy VM application packages - Azure Virtual Machines
Content Source: articles/virtual-machines/vm-applications-how-to.md
Service: virtual-machines
Sub-service: gallery
GitHub Login: @cynthn
Microsoft Alias: cynthn

@mark-strasser-nnl Thank you for your feedback!  We've assigned this to the document author for further review.

#reassign @ericd-mst-github Can you take a look at this feedback?

Hi @mark-strasser-nnl, thank you for your feedback.
Our general overview article expands a bit on supported package types and command interpreters as the article in this issue is more on deployments.
Let me confirm with engineering on checking those other packages in terms of support and parameters.

Hello,
The overview article has been updated with this package feedback in mind as well as licensing files. I confirmed with engineering that license files can be included in the configuration blob. We typically provider support for a default configuration at publishing time but that can be overridden during deployment.
We are currently in discussion to determine which platforms to keep in mind for providing more direct support.
Thank you once again for your feedback.
#please-close


Sort array without expression

Expect:

{{ i }}

to be:

1
2
3

Closed with #12


Error using transaction as shown in example code

Hi,
When I try to use the transactional code as shown on the readme, it fails with the following error.
2016/05/29 09:45:42 parsing time "" as "Mon, 02 Jan 2006 15:04:05 -0700": cannot parse "" as "Mon" &{ 0xc820065e00 http http://***:****@localhost:7474/db/data/cypher http://***:******@localhost:7474/db/data/transaction <nil>}
09:45:42.422369 FTL TopicGraphReadModel Error committing transation
   err: commit errors: {[{"Neo.ClientError.Transaction.TransactionNotFound" "Unrecognized transaction id. Transaction may have timed out and been rolled back."}]}

The code that I am using to execute this is below. It is virtually identical to your code but builds up the statements with a range over a slice. I also have my db at global scope where in your code you open a db in the local method scope. Other than this it is the same.
addNameCreate = `MERGE (t:Topic {aggregateID:{0}})
                     CREATE (n:TopicName { Name : {1}, Culture: {2}, Domain: {3} })
                     CREATE (n)-[r:IS_NAME_FOR {Count:{4}}]->(t)`
tx, err := db.Begin()
    if err != nil {
        logger.Fatal("Error beginning transaction", "err", err)
    }

    stmt, err := tx.Prepare(addNameCreate)
    if err != nil {
        logger.Fatal("Error preparing transation", "err", err)
    }

    for _, event := range evs {
        if ev, ok := event.Event().(*TopicNameAdded); ok {
            stmt.Exec(event.AggregateID(), ev.Name, ev.Culture, ev.Domain, ev.SourceCount)
            continue
        }
        logger.Fatal("Unable to cast event to TopicNameAdded")
    }

    err = tx.Commit()
    if err != nil {
        logger.Fatal("Error committing transation", "err", err)
    }

Any ideas

I'm new using this library, but taking a first look at your code, you're ignoring possible errors when calling stmt.Exec(...) and because that you're not rolling back tx.Rollback() we should do a Rollback when there's errors in a transaction context, and that's why there's this sentence in your logs: ... Transaction may have timed out and been rolled back


Fixed ZMSUtils to correctly determine PrincipalType

Description
Background is similar to https://github.com/AthenZ/athenz/pull/2532.
When home domain and user domain are identical, the ZMSUtils.principalType() returns Principal.Type.USER regardless a provided principal string was Principal.Type.GROUP.
e.g.
home domain = user domain = personal
ZMSUtils.principalType("personal.hiragi-gkuth") // returns USER
ZMSUtils.principalType("personal.hiragi-gkuth.service") // returns USER but SERVICE is expected
ZMSUtils.principalType("personal.hiragi-gkuth:group.mygroup") // returns USER but GROUP is expected
ZMSUtils.principalType("personal.hiragi-gkuth.subdomain:group.subgroup") // returns USER but GROUP is expected
So we add more conditions.
Contribution Checklist:

[ ] The pull request does not introduce any breaking changes

There might be unintended consequences that I haven't anticipated.

[x] I have read the contribution guidelines.
[ ] Create an issue and link to the pull request.

Attach Screenshots (Optional)

I'll fix failed test.

I have a few questions regarding this test code.
After adding some conditions to determine the principal type,these lines started to fail. I had thought that user.jack.sub1.api was not a valid principal name for the Athenz Service (but home.jack.sub1.api is valid I think). Is this correct? And what is the purpose of adding user.jack.sub1.api to the Athenz Group in this test case?

If you’re using user as the prefix for your personal domains then yes, user.jack.sub1.api is a valid service principal.

We don’t recommend using the same prefix for users and home domains - for backwards compatibility they’re the same value but from experience it’s confusing so we have switched to using user to identify users and home to identify personal domains. So when we get user.joe it’s always a user identity and when we get home.joe then it’s user’s personal domain.

add the following two lines on line 84 in the test case and that should fix the failure.
`        ServiceIdentity service2 = new ServiceIdentity().setName(ResourceUtils.serviceResourceName("user.jack.sub1", "api"));
zmsImpl.putServiceIdentity(ctx, "user.jack.sub1", "api", auditRef, false, service2);
    ServiceIdentity service3 = new ServiceIdentity().setName(ResourceUtils.serviceResourceName("user.jack.sub1", "service"));
    zmsImpl.putServiceIdentity(ctx, "user.jack.sub1", "service", auditRef, false, service3);`

add the following two blocks on line 84 in the test case and that should fix the failure.

Thank you. I realized that someone had just not created the service because the tests were being conducted with the user and home domains being the same.


Changed pools to display APR instead of APY

closing because i should be making pulls into staging, not master


images not showing issue resolved

I have resolved the issue which is of the images are not show

I have made this pr under Gssoc'24 and hacktoberfest

it's showing conflicts. kindly update with latest code, and then I'll merge.


feat: Add a search/filter for collection pane

This feature adds a search/filter functionality to the collection pane, allowing users to easily search for specific requests based on their names. Users can input search queries to filter the requests displayed in the collection pane, improving the navigation and organization of requests within the application.
PR Description
Add your description
Related Issues

Related Issue #305
Closes #305

Checklist

[ x] I have gone through the contributing guide
[x ] I have updated my branch and synced it with project main branch before making this PR
[ ] I have run the tests (flutter test) and all tests are passing

Added/updated tests?
We encourage you to add relevant test cases.

[ ] Yes
[ ] No, and this is why: please replace this line with details on why tests have not been included

@sudhar08 Review your approach. This feature can be implemented at UI level without touching providers.

@ashitaprasad we can't implement this feature without the provider because we need the  data to search

@sudhar08 All required data is already flowing into collection_pane.dart

You just need at max one provider to store search query, but nothing more other than that.

You just need at max one provider to store search query, but nothing more other than that.

Yes I need one provider for store the search query

But, no other modification is required in CollectionStateNotifier that you have currently done.
Also, the provider for storing search query goes in ui_providers.dart

But, no other modification is required in CollectionStateNotifier that you have currently done.
Also, the provider for storing search query goes in ui_providers.dart

What I was done here is the when the user search the query store in the provider and it and it search for the query in the CollectionStateNotifier


Cloud dropbox is vscode

Please provide more information.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Abililty to override libs folder ( from /libs to /lib)

Currently, we are trying to integrate jib in our builds. In our project we have a lot of custom logic and all that logic assumes all libs are placed in lib folder. But jib places it into libs folder. Is there a way to override it?
Sorry if if i am just missing it from, but checked it multiple times and didn't find such option :C

If you can pre-bake a symlink into the base image, that may be one option?
Writing your own Jib extension is another option (the Jib Layer-Filter extension is an example), but it requires some effort.

ok, thank you for information! <3


[documentation] Add option's default values

Please add in the Options table information about:

required properties
default values for optional properties
In my case I wonder what's the default value for quality. Thanks

Could you make a PR?


Missing locales in /etc/locale.gen

Hey there. Thanks so much for the image - I'm using it over on the develop branch of Archer for testing Ansible roles with Molecule.
I'm sure you're aware of this, but the image here only ships with en_US.UTF-8 in /etc/locale.gen. Are you planning on refactoring this?
It breaks the locale_gen Ansible module, which doesn't add specified locales to the gen file (but it probably should; I'm going to open an issue for that in the ansible repo).

Hi @sudoforge, thanks for your interest in this project.
This project's file structure is ment to be overridden when needed. You could fork it and add the missing locales in bootstrap/etc/locale.gen or remove the line root.x86_64/etc/locale.gen from exclude. The thing with this images is that I need to provide a default LANG so I picked to only obvious choice en_US.UTF-8. However this might not work for everyone.
I see 3 ways how I could deal with this:

Add all locales to locale.gen and uncomment 1 LANG during installation.
Add an optional LANG parameter as a docker build argument
Leave it as it is but add better documentation on how to modify the docker image

Let me know what would solve your issue.

Hey there! Thanks for the reply.
As I mentioned, my use case for this image is as a container for testing Archer (you can see this on the develop branch currently), a set of Ansible playbooks meant to automate the provisioning of an Arch Linux workstation.

This project's file structure is ment to be overridden when needed. You could fork it and add the missing locales in bootstrap/etc/locale.gen or remove the line root.x86_64/etc/locale.gen from exclude.

The "workaround" for my issue was simply adding the correct locale line to /etc/locale.gen after starting the container, and before attempting to generate locales. Admittedly, on the first use of this image, I didn't actually attach to it and inspect it -- I simply ran an Ansible task that took a list of locales, ensured they were uncommented in /etc/locale.gen, and attempted to generate locales. This errored, of course, because the "other" locales didn't exist in the genfile at all!
It was pretty simple to figure out a workaround, and my inital approach wasn't the most fail-safe anyway, but I decided to open this issue because your image differs from a base Arch Linux installation (perhaps neccessarily). In a base Arch Linux installation, the user is provided the full list of locales at /etc/locale.gen, and must uncomment one.
For the purposes of this image, I believe it should behave accordingly - that is, include all of the locales, and simply uncomment the desired default. Whether or not their is additional functionality provided to the user so that they can more easily control the locales present in a running container is, in my opinion, out of the scope of the reason this issue was created.


Drift functions

Another question regarding drift functions (I didn't check anymore) is that, typically (as web designer) you position an element in the "right position" without thinking in animations or so. After that, you plan to drop-in an animation library so the elements "appear animated" but you expect (I think) that the final position of the element stay in the "right position" you defined before, otherwise your element ends at 100px or 50px offset of the "right position".
So in my opinion (but maybe I'm wrong), functions like driftLeft (I didn't review anymore) should be like this:
driftLeft: (v=100) => {         return { "data-lax-translate-x": 'vh ${v}, elh 0' }       },       driftRight: (v=100) => {         return { "data-lax-translate-x": 'vh ${-v}, elh 0' }       },
So the element start "offsetted" and ends in the "right position" you originally had it. I don't know what is the consensus among other animation libraries... but I like to think that if for any reason the user lacks of javasript, the elements place the right position.

Not sure about this. Personally I think it should start in the right place and move across. You can define custom transitions if you want more control.


Import of gltf with blendshapes without tangents fails

Tested versions

Not reproducible in 4.2beta5
Reproducible in 4.2beta6 through 4.2.1

System information
Godot v4.2.beta6 - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3090 (NVIDIA; <IP_ADDRESS>13) - Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz (16 Threads)
Issue description
Importing a gltf file without tangents in the editor with Ensure Tangents unchecked will fail for all meshes containing blend shapes with the following error log:
  Blend shape format must match the main array format for Vertex, Normal and Tangent arrays.
  scene/resources/mesh.cpp:1802 - Condition "err != OK" is true.
  scene/resources/mesh.cpp:1923 - Index p_idx = -1 is out of bounds (surfaces.size() = 0).
  scene/resources/mesh.cpp:1943 - Index p_idx = -1 is out of bounds (surfaces.size() = 0).
  servers/rendering/renderer_rd/storage_rd/mesh_storage.cpp:891 - Index p_shape = 0 is out of bounds ((int)mi->blend_weights.size() = 0).

The same thing happens at runtime. Since there is no option to enable Ensure Tangents for runtime that I can find, this is not possible to workaround for runtime import.
The issue affects the https://github.com/V-Sekai/godot-vrm/ project, however it happens with these models in the builtin gltf importer.
issues may be related:

#84875
#85406
I filed this issue since it is easy to reproduce and leads to a missing mesh during import, but maybe solving those issues will also address this one.

Steps to reproduce

Open the attached project.
Clear the console and reimport Godette_vrm_v4.glb - this will produce errors.
Open sample_scene.tscn and notice the models are all missing faces.
Click play to run the project. This will run load_at_runtime_scene.tscn which loads a gltf at runtime. this is also missing the face and produces errors in the Debugger -> Errors tab.
Optional: enable "Ensure Tangents" in the import dock and notice that the glb files now contain a face in the editor. This does not solve the runtime case.

Minimal reproduction project (MRP)
MeshTangents.zip

for runtime import, we found that using gltf_document.append_from_file(path, gltf_state, 8) works around the issue:
8 is the constant for EditorSceneFormatImporter.IMPORT_GENERATE_TANGENT_ARRAYS
Even though there is a workaround, I still think this is a bug: it only affects models with blend shapes.

I think this is related to another issue I raised in #86698

I think this is related to another issue I raised in #86698 Perhaps we could close the one I opened and add the MRP from it to this issue?

https://github.com/godotengine/godot/issues/86698 is a different issue unfortunately, so we should leave it open


DatabaseTransactions not working on production

Hello there,
This is my repository; https://github.com/Thijmen/laravel-bug
I stumbled on this 'bug' because my database was acting weird on production.
When I clone the repo on my Mac, connect with the database, run the tests it works all fine. Yet, on my server it fails after the first run.
Steps to reproduce

git clone https://github.com/Thijmen/laravel-bug.git
composer install
Fill in .env with correct credentials
php artisan migrate
vendor/bin/phpunit
Result:

 vendor/bin/phpunit
PHPUnit 5.5.4 by Sebastian Bergmann and contributors.

..F                                                                 3 / 3 (100%)

Time: 170 ms, Memory: 10.00MB

There was 1 failure:

1) UserTest::testCreateOther
Failed asserting that 1 matches expected 2.

/home/thijmen/testing/tests/UserTest.php:33

FAILURES!
Tests: 3, Assertions: 3, Failures: 1.

Server info
php -v
PHP 7.0.10 (cli) (built: Aug 25 2016 18:04:55) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
    with Zend OPcache v7.0.10, Copyright (c) 1999-2016, by Zend Technologies

MySQL:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 54115
Server version: 5.5.50-cll MySQL Community Server (GPL)

Anyone has an idea what is going wrong? In my production project I have this in my TestCase:
 public function setUp() {
        parent::setUp();
        DB::beginTransaction();
    }

    public function tearDown()
    {
        DB::rollBack();
        parent::tearDown();
    }

Update: I found out that DatabaseTransactions are not working with MyISAM but are working with InnoDB. Anyone who can confirm this too and is there a way to make InnoDB the default engine when creating migrations?

iirc if the MySQL server doesn't have it set as the default you can set it globally here:
https://github.com/laravel/laravel/blob/master/config/database.php#L66

As far as i know MyISAM doesn't support database transactions. You will need to change the default database engine to InnoDB.


Typo in oneview_server_profile_template_with_resource_name.yml

Line 129: comlianceControl: "checked"
instead of complianceControl: "checked"

Thanks for pointing this out. We will fix this.


License

It's not an issue, but a request for license to be included...
I want to include it in one of my projects but can't find any license info.
Thanks

Feel free to use it. 😀


Use MixinImpls in documentation examples

This issue aims to reduce the examples' code size by consistently using mixins instead of separate embeddable implementations.

which ones specifically?

Like these:
https://docs.openzeppelin.com/contracts-cairo/0.10.0/erc721#usage
https://docs.openzeppelin.com/contracts-cairo/0.10.0/erc20#usage


Atom 1.41 on Linux periodically makes a white flash and doesn't crash but generates a coredump

Prerequisites

[X] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description

If you use Atom 1.41 on Linux the GUI will periodically make a white flash and the application will not crash but it will generate a coredump.  No specific steps cause the white flash to happen you just have to use the application for an unspecified amount of time and it will periodically happen.  This problem didn't occur in 1.40.1 or earlier version so I'm guessing it might have to do with the Electron upgrade?
$ sudo journalctl | grep atom
Nov 05 12:45:57 dubbi audit[30999]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=2 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=30999 comm="atom" exe="/usr/share/atom/atom" sig=11 res=1
Nov 05 12:45:57 dubbi kernel: atom[30999]: segfault at 7f83ad0e1fff ip 00007f82b600f5db sp 00007fff7955c2c0 error 6 in vmwgfx_dri.so[7f82b5bfa000+c8e000]
Nov 05 12:45:58 dubbi systemd-coredump[37620]: Process 30999 (atom) of user 1000 dumped core.
                                               #5  0x0000557b9a686904 n/a (atom)
                                               #6  0x0000557b9a68686e n/a (atom)
                                               #7  0x0000557b9a686cf4 n/a (atom)
                                               #8  0x0000557b9a687367 n/a (atom)
                                               #9  0x0000557b9a6964c8 n/a (atom)
                                               #10 0x0000557b9a689886 n/a (atom)
                                               #11 0x0000557b9aa3fb06 n/a (atom)
                                               #12 0x0000557b9a932cea n/a (atom)
                                               #13 0x0000557b9a908af0 n/a (atom)
                                               #14 0x0000557b9a91ce89 n/a (atom)
                                               #15 0x0000557b9a8e03c8 n/a (atom)
                                               #16 0x0000557b9ad21f5e n/a (atom)
                                               #17 0x0000557b9ad21db4 n/a (atom)
                                               #18 0x0000557b9ad20cf6 n/a (atom)
                                               #19 0x0000557b9ad1bb07 n/a (atom)
                                               #20 0x0000557b9ad1a095 n/a (atom)
                                               #21 0x0000557b9ad27d15 n/a (atom)
                                               #22 0x0000557b99b24538 n/a (atom)
                                               #23 0x0000557b99b3f130 n/a (atom)
                                               #24 0x0000557b99b3f676 n/a (atom)
                                               #25 0x0000557b99b3f873 n/a (atom)
                                               #26 0x0000557b99b54b9f n/a (atom)
                                               #30 0x0000557b99b404c2 n/a (atom)
                                               #31 0x0000557b99b5b645 n/a (atom)
                                               #32 0x0000557b9c885e18 n/a (atom)
                                               #33 0x0000557b999cd969 n/a (atom)
                                               #34 0x0000557b9adc8475 n/a (atom)
                                               #35 0x0000557b999cbba1 n/a (atom)
                                               #36 0x0000557b97fdd27b n/a (atom)
                                               #38 0x0000557b97fdd02a _start (atom)
                                               #1  0x0000557b99bc68a2 n/a (atom)
                                               #2  0x0000557b99b40171 n/a (atom)
                                               #3  0x0000557b99b5b645 n/a (atom)
                                               #4  0x0000557b99b8f10f n/a (atom)
                                               #5  0x0000557b99bcee17 n/a (atom)
                                               #1  0x0000557b99bdba4a n/a (atom)
                                               #2  0x0000557b99bd93e3 n/a (atom)
                                               #3  0x0000557b99bcc8d2 n/a (atom)
                                               #4  0x0000557b99b5b645 n/a (atom)
                                               #5  0x0000557b99b82f77 n/a (atom)
                                               #6  0x0000557b99b8f10f n/a (atom)
                                               #7  0x0000557b99bcee17 n/a (atom)
                                               #1  0x0000557b99bc68a2 n/a (atom)
                                               #2  0x0000557b99bc6aa1 n/a (atom)
                                               #3  0x0000557b99b7ec18 n/a (atom)
                                               #4  0x0000557b99b7f132 n/a (atom)
                                               #5  0x0000557b99b7ee34 n/a (atom)
                                               #6  0x0000557b99bcee17 n/a (atom)
                                               #1  0x0000557b99bc68a2 n/a (atom)
                                               #2  0x0000557b99bc6aa1 n/a (atom)
                                               #3  0x0000557b99b7ec18 n/a (atom)
                                               #4  0x0000557b99b7f132 n/a (atom)
                                               #5  0x0000557b99b7ee34 n/a (atom)
                                               #6  0x0000557b99bcee17 n/a (atom)
                                               #1  0x0000557b99bdba4a n/a (atom)
                                               #2  0x0000557b99bd93e3 n/a (atom)
                                               #3  0x0000557b99bcc8f0 n/a (atom)
                                               #4  0x0000557b99b5b645 n/a (atom)
                                               #5  0x0000557b99b8f10f n/a (atom)
                                               #6  0x0000557b99bcee17 n/a (atom)

Steps to Reproduce

Use Atom 1.41 on Linux for an unspecified amount of time.

Reproduces how often:
All the time but cannot say how much use time needs to occur before you see it.
Versions
1.41

Source of the issue is with mesa library for people using VMware on Linux guest, I posted issue here and is fixed in mesa.  https://github.com/vmware/open-vm-tools/issues/400


Create testlibs for all eras except Shelley and move Arbitrary instances over to those

testlib for Shelley was handled in #3288 Posting here just for the record.