Create experimentation is failing with padding error

I am just trying to create an experiment with oasst datasets
LLM backbone selected openlm-research/open_llama_7b
All other settings is default.
And I get this error
ValueError: Unable to create tensor, you should probably activate truncation and/or padding with 'padding=True' 'truncation=True' to have batched tensors with the same length. Perhaps your features (input_ids in this case) have excessive nesting (inputs type list where type int is expected).
Killed
Full log below
===================================BUG REPORT===================================
Welcome to bitsandbytes. For bug reports, please run
python -m bitsandbytes
and submit this information together with your error trace to: https://github.com/TimDettmers/bitsandbytes/issues
bin /home/g30097220/.local/share/virtualenvs/h2ostudio-KXp7YeDl/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cpu.so
/home/g30097220/.local/share/virtualenvs/h2ostudio-KXp7YeDl/lib/python3.10/site-packages/bitsandbytes/cextension.py:34: UserWarning: The installed version of bitsandbytes was compiled without GPU support. 8-bit optimizers, 8-bit multiplication, and GPU quantization are unavailable.
warn("The installed version of bitsandbytes was compiled without GPU support. "
/home/g30097220/.local/share/virtualenvs/h2ostudio-KXp7YeDl/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cpu.so: undefined symbol: cadam32bit_grad_fp32
CUDA SETUP: Loading binary /home/g30097220/.local/share/virtualenvs/h2ostudio-KXp7YeDl/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cpu.so...
/home/g30097220/.local/share/virtualenvs/h2ostudio-KXp7YeDl/lib/python3.10/site-packages/torch/cuda/init.py:546: UserWarning: Can't initialize NVML
warnings.warn("Can't initialize NVML")
2023-08-09 11:49:17,520 - INFO: Global random seed: 635003
2023-08-09 11:49:17,521 - WARNING: No OpenAI API Key set. Setting metric to BLEU.
2023-08-09 11:49:17,521 - INFO: Preparing the data...
2023-08-09 11:49:17,521 - INFO: Setting up automatic validation split...
2023-08-09 11:49:17,705 - INFO: Preparing train and validation data
2023-08-09 11:49:17,705 - INFO: Loading train dataset...
You are using the legacy behaviour of the <class 'transformers.models.llama.tokenization_llama.LlamaTokenizer'>. This means that tokens that come after special tokens will not be properly handled. We recommend you to read the related pull request available at https://github.com/huggingface/transformers/pull/24565
normalizer.cc(51) LOG(INFO) precompiled_charsmap is empty. use identity normalization.
normalizer.cc(51) LOG(INFO) precompiled_charsmap is empty. use identity normalization.
Using pad_token, but it is not set yet.
Using cls_token, but it is not set yet.
Using sep_token, but it is not set yet.
2023-08-09 11:49:18,459 - INFO: Stop token ids: [tensor([  718, 31912, 18569,   451, 31912, 31901]), tensor([  718, 31912,   488, 14622, 31912, 31901]), tensor([  718, 31912, 15322, 31912, 31901])]
2023-08-09 11:49:18,650 - INFO: Sample prompt: <|prompt|>What would the assumed affect on computer graphics then?<|answer|>
2023-08-09 11:49:18,650 - INFO: Loading validation dataset...
normalizer.cc(51) LOG(INFO) precompiled_charsmap is empty. use identity normalization.
normalizer.cc(51) LOG(INFO) precompiled_charsmap is empty. use identity normalization.
Using pad_token, but it is not set yet.
Using cls_token, but it is not set yet.
Using sep_token, but it is not set yet.
2023-08-09 11:49:19,414 - INFO: Stop token ids: [tensor([  718, 31912, 18569,   451, 31912, 31901]), tensor([  718, 31912,   488, 14622, 31912, 31901]), tensor([  718, 31912, 15322, 31912, 31901])]
2023-08-09 11:49:19,419 - INFO: Sample prompt: <|prompt|>Write a joke about my life<|answer|>
2023-08-09 11:49:19,419 - INFO: Number of observations in train dataset: 25072
2023-08-09 11:49:19,419 - INFO: Number of observations in validation dataset: 254
normalizer.cc(51) LOG(INFO) precompiled_charsmap is empty. use identity normalization.
normalizer.cc(51) LOG(INFO) precompiled_charsmap is empty. use identity normalization.
Using pad_token, but it is not set yet.
Using cls_token, but it is not set yet.
Using sep_token, but it is not set yet.
2023-08-09 11:49:20,221 - ERROR: Exception occurred during H2O LLM Studio run:
Traceback (most recent call last):
File "/home/g30097220/.local/share/virtualenvs/h2ostudio-KXp7YeDl/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 731, in convert_to_tensors
tensor = as_tensor(value)
File "/home/g30097220/.local/share/virtualenvs/h2ostudio-KXp7YeDl/lib/python3.10/site-packages/torch/utils/_device.py", line 62, in torch_function
return func(*args, **kwargs)
File "/home/g30097220/.local/share/virtualenvs/h2ostudio-KXp7YeDl/lib/python3.10/site-packages/torch/cuda/init.py", line 247, in _lazy_init
torch._C._cuda_init()
RuntimeError: No CUDA GPUs are available
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/jupyter/h2ostudio/train_wave.py", line 106, in
run(cfg=cfg)
File "/home/jupyter/h2ostudio/train.py", line 594, in run
model = cfg.architecture.model_class(cfg)
File "/home/jupyter/h2ostudio/llm_studio/src/models/text_causal_language_modeling_model.py", line 141, in init
self.backbone, self.backbone_config = create_nlp_backbone(
File "/home/jupyter/h2ostudio/llm_studio/src/utils/modeling_utils.py", line 530, in create_nlp_backbone
config = update_backbone_config(config, cfg)
File "/home/jupyter/h2ostudio/llm_studio/src/utils/modeling_utils.py", line 478, in update_backbone_config
tokenizer = get_tokenizer(cfg)
File "/home/jupyter/h2ostudio/llm_studio/src/datasets/text_utils.py", line 111, in get_tokenizer
tokenizer(stop_word, return_tensors="pt", add_special_tokens=False)[
File "/home/g30097220/.local/share/virtualenvs/h2ostudio-KXp7YeDl/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 2577, in call
encodings = self._call_one(text=text, text_pair=text_pair, **all_kwargs)
File "/home/g30097220/.local/share/virtualenvs/h2ostudio-KXp7YeDl/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 2683, in _call_one
return self.encode_plus(
File "/home/g30097220/.local/share/virtualenvs/h2ostudio-KXp7YeDl/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 2756, in encode_plus
return self._encode_plus(
File "/home/g30097220/.local/share/virtualenvs/h2ostudio-KXp7YeDl/lib/python3.10/site-packages/transformers/tokenization_utils_fast.py", line 497, in _encode_plus
batched_output = self._batch_encode_plus(
File "/home/g30097220/.local/share/virtualenvs/h2ostudio-KXp7YeDl/lib/python3.10/site-packages/transformers/tokenization_utils_fast.py", line 473, in _batch_encode_plus
return BatchEncoding(sanitized_tokens, sanitized_encodings, tensor_type=return_tensors)
File "/home/g30097220/.local/share/virtualenvs/h2ostudio-KXp7YeDl/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 211, in init
self.convert_to_tensors(tensor_type=tensor_type, prepend_batch_axis=prepend_batch_axis)
File "/home/g30097220/.local/share/virtualenvs/h2ostudio-KXp7YeDl/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 747, in convert_to_tensors
raise ValueError(
ValueError: Unable to create tensor, you should probably activate truncation and/or padding with 'padding=True' 'truncation=True' to have batched tensors with the same length. Perhaps your features (input_ids in this case) have excessive nesting (inputs type list where type int is expected).
Killed
make: *** [Makefile:86: llmstudio] Error 137

Hi @gpnath82, the error message states  RuntimeError: No CUDA GPUs are available
The error can also be reproduced on a GPU machine by setting
CUDA_VISIBLE_DEVICES= make llmstudio

@maxjeblick  hello Max I lost my GPU, can't we run this without GPU ?
on text_utils.py I have set padding=True but still no luck.

Sorry to hear that you lost your GPU!
While you cannot finetune without GPUs, you could use the CLI functionality to finetune (smaller) models on kaggle or colab:
https://www.kaggle.com/code/philippsinger/h2o-llm-studio-cli

@maxjeblick  Thank you Max for quick help. there is mad rush for GPU in google cloud in India. Not a single GPU is available in any of the zones. I have now ordered 2 L4 GPUs in Singapore.


Block Resolution from node_modules

We need a method and strategy for importing Block files from node_modules. This should include solutions for:

[ ] Custom name-spacing
[ ] Custom property scopes
[ ] Asset Delivery (ex: background images referenced in css)
[ ] { Add More Requirements Here }

TODO: Flesh out this ticket with a full node_modules resolution RFC

Closing in leu of #192


Non-ailment cdot multiplier

I have scoured the interface in Calcs, etc. to find where the Non-Ailment Chaos Damage over Time multiplier should be, and I can't find it anywhere. Since there's a breakdown of "more" and "increased," I expect this multiplier to fall somewhere between those two. Am I mistaken?

Someone on reddit showed me the multiplier is shown when you hover the DoT damage - closing this.


Specify the format of EXTRA_LANGUAGES in various places

The format is a comma separated list of words that are in the links or buttons that switch languages. Haven't figured out another way yet.
This might be specified in notes in the code, as indicated, but should also be in the README.
Originally issue posted by @niharikasingh in https://github.com/plocket/docassemble-cucumber/pull/51#discussion_r532981626

On hold until we get languages up and running again.

We may use language codes instead, but it would still be a comma separated list.

Closed by #735


Fix get_table_comment return value

@andrasore-kodinfo
Thanks for raising pull request.
It will be great help if you can explain for which issue you have raised PR.
also, we can't merge PR until DCO sign-off is added.
Please add DCO sign-off. Without that we can't merge it.
Check this doc about DCO sign-off: https://github.com/ibmdb/python-ibmdbsa#contributing-to-ibm_db_sa-python-project
Thanks.


Defining structure which has member pointing to same struct type

This issue is to report a couple of quirks related to manually defining structures.
Suppose you are entering/defining a structure, a member of which is a pointer to a structure of the same type. Here's a real-world example:
struct SCSIHdr {
  struct SCSIHdr *    qLink;                  /* (internal use, must be nil on entry)   */
  short               scsiReserved1;          /* ->     reserved for input          */
  UInt16              scsiPBLength;           /* -> Length of the entire PB        */
  UInt8               scsiFunctionCode;       /* -> function selector           */
  UInt8               scsiReserved2;          /* <-     reserved for output          */
  volatile OSErr      scsiResult;             /* <- Returned result               */
  DeviceIdent         scsiDevice;             /* -> Device Identifier (bus+target+lun)*/
  SCSICallbackUPP     scsiCompletion;         /* -> Callback on completion function     */
  UInt32              scsiFlags;              /* -> assorted flags            */
  BytePtr             scsiDriverStorage;      /* <> Ptr for driver private use   */
  Ptr                 scsiXPTprivate;         /* private field for use in XPT      */
  long                scsiReserved3;          /* reserved                    */
};

The first quirk is that you can't define a member as being a pointer to the same type of structure when you initially create it. But you can edit it later.

In Data Type Manager, right click, New->Structure...
Type the structure name in the Name: field, e.g. teststruct
Defining the first member, enter teststruct * under DataType. An error message "Unrecognized data type of "teststruct" appears at bottom of window.
To work around that, instead set the type of first member to void * member1.
Then define a second member, e.g. short dummy
Click the save icon then close the Structure Editor window.

If you edit the structure you just defined, you can change the type of the first member to teststruct *. However a second quirk happens when you do that:

Edit the structure you just created. It has two members: void * member1 and short dummy.
Add another member, e.g. dword test2. You can add some more members too if you want.
Change the type of the first member from void * to teststruct *
When you do that, the extra member(s) you just defined (dword test2 etc.) disappear from the list!

Environment (please complete the following information):

OS: Windows 10
Java Version: 11.0.12
Ghidra Version: 10.1-BETA

The first seems entirely expected behavior to me, you haven't saved it so it doesn't exist yet; therefore, you can't use it.  Save after creating the struct and you can immediately use teststruct * (you can save a 0 byte struct).  The 2nd one I've run into as well maybe, it sounds similar or at least related  (https://github.com/NationalSecurityAgency/ghidra/issues/2345)

@mumbel is correct for the first issue you mentioned - you must perform an initial save of the structure before you can refer to it as a pointer within the structure.  The second issue I was able to reproduce and does  appear to be a bug where new components get wiped-out in editor when setting a self-referencing pointer above the the new component.


after update give me error

[Onkyo] eventError: ERROR (send_not_connected) Not connected, can't send data: "ZVLQSTN"

[Onkyo] getInputState - INPUT QRY: ERROR - current i_state: 1

[Onkyo] eventError: ERROR (send_not_connected) Not connected, can't send data: "PWRQSTN"

[Onkyo] ERROR: Your configuration is missing the parameter "volume_type". Assuming "none".

        "receivers": [
            {
                "name": "Receiver main",
                "model": "TX-RZ800",
                "ip_address": "<IP_ADDRESS>",
                "inputs": [
                    {
                        "input_name": "dvd",
                        "display_name": "Apple TV 4K"
                    },
                    {
                        "input_name": "video2",
                        "display_name": "Apple TV Japan"
                    },
                    {
                        "input_name": "video3",
                        "display_name": "Fire TV"
                    },
                    {
                        "input_name": "strm-box",
                        "display_name": "AppleTV Office"
                    }
                ],
                "filter_inputs": true,
                "default_volume": 42,
                "max_volume": 100,
                "volume_dimmer": true,
                "volume_speed": false,
                "map_volume_100": true,
                "poll_status_interval": "1000",
                "zone": "main"

I can't control volume in the home app anymore

Can you please use the homebridge UI to configure the new "volume type" setting?

"volume type" setting?
have to update README config sample?

I use the Homebridge UI and now is working
thank you


Add success/failure callbacks

Sometimes it is helpful for the class to return success/failure callbacks rather than just the resulting value. This can now be achieved by including the Mandate::Callbacks module.
See README changes for example usage.

(cc @kntsoriano @ccare @dougal @andrewradev @gabrielsandoval as people who will probably use this in production)


Allow to run cron manually

Closes #1154

Codecov Report
Base: 44.71% // Head: 44.76% // Increases project coverage by +0.05% :tada:

Coverage data is based on head (cb99587) compared to base (da7d13a).
Patch coverage: 50.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1338      +/-   ##
==========================================
+ Coverage   44.71%   44.76%   +0.05%
==========================================
  Files         137      137
  Lines        9873     9873
==========================================
+ Hits         4415     4420       +5
+ Misses       5196     5191       -5
  Partials      262      262

Impacted Files
Coverage Δ

server/cron/cron.go
36.70% <50.00%> (ø)

server/logging/log.go
54.65% <0.00%> (+5.81%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

if repo is gated you still have to approve it, just a nit but it would nice that in this case it does run directly

if repo is gated you still have to approve it, just a nit but it would nice that in this case it does run directly

never mind also for "manual pipeline" so it is it's own issue


Notification sound doesn't work

I tested with: Default sound(ogg) and MP3
Ubuntu 17.10
GNOME Shell 3.26.2
Great App!!! And I'll be grateful for any help.
Timer Screen

Alarm Screen

Are you using the github version?

No, I used GNOME Shell Extensions
https://extensions.gnome.org/extension/1238/time/

That is very outdated unfortunately. Gonna close this since the github version doesn't have this issue.

I followed your suggestion, downloaded the Github version, but I still do not hear anything.

The notification plays but you can't hear any sound?
Type into a terminal:
journalctl /usr/bin/gnome-shell -f -o cat

Then play a notification and see if the terminal spits any errors.

No error!
I tried the default notification and the full screen. No sound! No error in terminal with command above.

Try changing the Repeat notification sound? in the default timer preset.
Try to see if there are any errors when executing: journalctl /usr/bin/gnome-shell -r  | less with regards to this extension.

Good news! It works.
I heard the beep when checking repeat

But how do I not be repetitive?

That's it!

Is it fixed or what?

This is a bug. You can uncheck that and it should play the sound only once; however, I cannot reproduce this. Unless you can use the above commands I gave to find an error I can't help you.
Uncheck that repeat option, play a notification, and show me the output of journalctl /usr/bin/gnome-shell -r here.

I tried 3 times the "TIMER" and once the "ALARM", did not register error at that time, the errors that appeared were previous to the tests. Anyway, follow the log...

-- Logs begin at Sat 2018-03-24 08:36:59 -03, end at Wed 2018-04-18 08:36:08 -03. --
abr 18 08:19:20 pc-main org.gnome.Shell.desktop[3251]: [3740:3779:0418/081920.109113:ERROR:upload_data_presenter.cc(73)] Not implemented reached in virtual void extensions::RawDataPresenter::FeedNext(const net::
abr 18 07:58:01 pc-main org.gnome.Shell.desktop[3251]: [1:16:0418/075801.964189:ERROR:adm_helpers.cc(73)] Failed to query stereo recording.
abr 18 07:58:01 pc-main org.gnome.Shell.desktop[3251]: [1:18:0418/075801.680549:ERROR:adm_helpers.cc(73)] Failed to query stereo recording.
abr 18 07:57:07 pc-main org.gnome.Shell.desktop[3251]: [3786:3786:0418/075707.193397:ERROR:gles2_cmd_decoder.cc(10094)] [.DisplayCompositor-0x30244d2e7c00]RENDER WARNING: texture bound to texture unit 2 is not r
abr 18 07:57:07 pc-main org.gnome.Shell.desktop[3251]: [3786:3786:0418/075707.193114:ERROR:gles2_cmd_decoder.cc(10094)] [.DisplayCompositor-0x30244d2e7c00]RENDER WARNING: texture bound to texture unit 1 is not r
abr 18 07:57:07 pc-main org.gnome.Shell.desktop[3251]: [3786:3786:0418/075707.192776:ERROR:gles2_cmd_decoder.cc(18268)] [.DisplayCompositor-0x30244d2e7c00]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextu
abr 18 07:57:07 pc-main org.gnome.Shell.desktop[3251]: [3786:3786:0418/075707.191996:ERROR:gles2_cmd_decoder.cc(18268)] [.DisplayCompositor-0x30244d2e7c00]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextu
abr 18 07:55:11 pc-main org.gnome.Shell.desktop[3251]: [1:18:0418/075511.799952:ERROR:adm_helpers.cc(73)] Failed to query stereo recording.
abr 18 07:55:05 pc-main org.gnome.Shell.desktop[3251]: [1:18:0418/075505.217934:ERROR:adm_helpers.cc(73)] Failed to query stereo recording.
abr 18 07:54:46 pc-main org.gnome.Shell.desktop[3251]: [1:1:0418/075446.114039:ERROR:render_media_log.cc(30)] MediaEvent: PIPELINE_ERROR PIPELINE_ERROR_DECODE
abr 18 07:54:46 pc-main org.gnome.Shell.desktop[3251]: [1:19:0418/075446.113870:ERROR:render_media_log.cc(30)] MediaEvent: MEDIA_ERROR_LOG_ENTRY {"error":"video decode error"}
abr 18 07:54:46 pc-main org.gnome.Shell.desktop[3251]: [1:19:0418/075446.113777:ERROR:render_media_log.cc(30)] MediaEvent: MEDIA_ERROR_LOG_ENTRY {"error":"Failed to send video packet for decoding: EOS"}
abr 18 07:54:08 pc-main org.gnome.Shell.desktop[3251]: [1:18:0418/075408.266793:ERROR:adm_helpers.cc(73)] Failed to query stereo recording.
abr 18 07:54:07 pc-main org.gnome.Shell.desktop[3251]: [1:1:0418/075407.838369:ERROR:render_media_log.cc(30)] MediaEvent: PIPELINE_ERROR DEMUXER_ERROR_NO_SUPPORTED_STREAMS
abr 18 07:54:07 pc-main org.gnome.Shell.desktop[3251]: [1:19:0418/075407.838164:ERROR:render_media_log.cc(30)] MediaEvent: MEDIA_ERROR_LOG_ENTRY {"error":"FFmpegDemuxer: no supported streams"}
abr 18 07:51:58 pc-main org.gnome.Shell.desktop[3251]: [1:18:0418/075158.213571:ERROR:adm_helpers.cc(73)] Failed to query stereo recording.
abr 18 07:51:31 pc-main org.gnome.Shell.desktop[3251]: [1:1:0418/075131.773657:ERROR:render_media_log.cc(30)] MediaEvent: PIPELINE_ERROR DEMUXER_ERROR_NO_SUPPORTED_STREAMS
abr 18 07:51:31 pc-main org.gnome.Shell.desktop[3251]: [1:19:0418/075131.772315:ERROR:render_media_log.cc(30)] MediaEvent: MEDIA_ERROR_LOG_ENTRY {"error":"FFmpegDemuxer: no supported streams"}
abr 18 07:51:29 pc-main org.gnome.Shell.desktop[3251]: [1:1:0418/075129.609195:ERROR:render_media_log.cc(30)] MediaEvent: PIPELINE_ERROR DEMUXER_ERROR_NO_SUPPORTED_STREAMS
abr 18 07:51:29 pc-main org.gnome.Shell.desktop[3251]: [1:19:0418/075129.607305:ERROR:render_media_log.cc(30)] MediaEvent: MEDIA_ERROR_LOG_ENTRY {"error":"FFmpegDemuxer: no supported streams"}
abr 18 07:51:06 pc-main org.gnome.Shell.desktop[3251]: [1:1:0418/075106.973377:ERROR:render_media_log.cc(30)] MediaEvent: PIPELINE_ERROR DEMUXER_ERROR_NO_SUPPORTED_STREAMS
abr 18 07:51:06 pc-main org.gnome.Shell.desktop[3251]: [1:19:0418/075106.973069:ERROR:render_media_log.cc(30)] MediaEvent: MEDIA_ERROR_LOG_ENTRY {"error":"FFmpegDemuxer: no supported streams"}
abr 18 07:50:44 pc-main org.gnome.Shell.desktop[3251]: [1:18:0418/075044.439418:ERROR:adm_helpers.cc(73)] Failed to query stereo recording.
abr 18 07:49:17 pc-main org.gnome.Shell.desktop[3251]: [1:1:0418/074917.414483:ERROR:render_media_log.cc(30)] MediaEvent: PIPELINE_ERROR DEMUXER_ERROR_NO_SUPPORTED_STREAMS
abr 18 07:49:17 pc-main org.gnome.Shell.desktop[3251]: [1:19:0418/074917.414295:ERROR:render_media_log.cc(30)] MediaEvent: MEDIA_ERROR_LOG_ENTRY {"error":"FFmpegDemuxer: no supported streams"}
abr 18 07:48:56 pc-main org.gnome.Shell.desktop[3251]: [1:17:0418/074856.806849:ERROR:adm_helpers.cc(73)] Failed to query stereo recording.
abr 18 07:48:32 pc-main org.gnome.Shell.desktop[3251]: [1:18:0418/074832.928722:ERROR:adm_helpers.cc(73)] Failed to query stereo recording.
abr 18 07:21:21 pc-main org.gnome.Shell.desktop[3251]: [3740:3767:0418/072121.937768:ERROR:in_progress_cache_impl.cc(93)] Could not read download entries from file because there was a read failure.
abr 18 07:21:20 pc-main org.gnome.Shell.desktop[3251]: ATTENTION: default value of option force_s3tc_enable overridden by environment.
abr 18 07:20:20 pc-main gnome-shell[3251]: GNOME Shell started at Wed Apr 18 2018 07:20:12 GMT-0300
abr 18 07:20:18 pc-main gnome-shell[3251]: Some code accessed the property 'State' on the module 'docking'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but i
abr 18 07:20:17 pc-main org.gnome.Shell.desktop[3251]: Window manager warning: "XF86RFKill" is not a valid accelerator
abr 18 07:20:17 pc-main gnome-shell[3251]: Error looking up permission: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.impl.portal.PermissionStore was not provided by any .servic
abr 18 07:20:17 pc-main gnome-shell[3251]: Some code accessed the property 'dbusNodeImplementsInterfaces' on the module 'util'. That property was defined with 'let' or 'const' inside the module. This was previou
abr 18 07:20:17 pc-main gnome-shell[3251]: Some code accessed the property 'introspectBusObject' on the module 'util'. That property was defined with 'let' or 'const' inside the module. This was previously suppo
abr 18 07:20:17 pc-main gnome-shell[3251]: [AppIndicatorSupport-WARN] Failed to acquire org.kde.StatusNotifierWatcher
abr 18 07:20:17 pc-main gnome-shell[3251]: Some code accessed the property 'Logger' on the module 'util'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is
abr 18 07:20:16 pc-main gnome-shell[3251]: WARNING: addSignalMethods is replacing existing [0x55dc11f87720 Gjs_ShowAppsIcon.dash-item-container] emit method
abr 18 07:20:16 pc-main gnome-shell[3251]: WARNING: addSignalMethods is replacing existing [0x55dc11f87720 Gjs_ShowAppsIcon.dash-item-container] disconnect method
abr 18 07:20:16 pc-main gnome-shell[3251]: WARNING: addSignalMethods is replacing existing [0x55dc11f87720 Gjs_ShowAppsIcon.dash-item-container] connect method
abr 18 07:20:16 pc-main gnome-shell[3251]: JS WARNING: [resource:///org/gnome/shell/ui/workspaceThumbnail.js 892]: reference to undefined property "_switchWorkspaceNotifyId"
abr 18 07:20:16 pc-main gnome-shell[3251]: WARNING: addSignalMethods is replacing existing [0x55dc111709c0 Gjs_ShowAppsIcon.dash-item-container] emit method
abr 18 07:20:16 pc-main gnome-shell[3251]: WARNING: addSignalMethods is replacing existing [0x55dc111709c0 Gjs_ShowAppsIcon.dash-item-container] disconnect method
abr 18 07:20:16 pc-main gnome-shell[3251]: WARNING: addSignalMethods is replacing existing [0x55dc111709c0 Gjs_ShowAppsIcon.dash-item-container] connect method
abr 18 07:20:16 pc-main gnome-shell[3251]: JS WARNING<EMAIL_ADDRESS>44]: assignment to undeclared variable runningExtensions
abr 18 07:20:16 pc-main gnome-shell[3251]: JS WARNING<EMAIL_ADDRESS>1361]: unreachable code after return statement
abr 18 07:20:16 pc-main gnome-shell[3251]: Some code accessed the property 'traverseBusNames' on the module 'util'. That property was defined with 'let' or 'const' inside the module. This was previously supporte
abr 18 07:20:16 pc-main gnome-shell[3251]: Some code accessed the property 'StatusNotifierWatcher' on the module 'interfaces'. That property was defined with 'let' or 'const' inside the module. This was previous
abr 18 07:20:16 pc-main gnome-shell[3251]: Some code accessed the property 'StatusNotifierWatcher' on the module 'statusNotifierWatcher'. That property was defined with 'let' or 'const' inside the module. This w
abr 18 07:20:16 pc-main gnome-shell[3251]: Some code accessed the property 'WORKAROUND_RELOAD_TYPE_REGISTER' on the module 'util'. That property was defined with 'let' or 'const' inside the module. This was prev
abr 18 07:20:16 pc-main gnome-shell[3251]: Some code accessed the property 'DBusMenu' on the module 'interfaces'. That property was defined with 'let' or 'const' inside the module. This was previously supported,
abr 18 07:20:12 pc-main gnome-shell[3251]: JS WARNING: [resource:///org/gnome/gjs/modules/tweener/tweener.js 540]: reference to undefined property "isSpecialProperty"
abr 18 07:20:11 pc-main gnome-shell[3251]: Telepathy is not available, chat integration will be disabled.
abr 18 07:20:11 pc-main gnome-shell[3251]: JS WARNING: [resource:///org/gnome/shell/ui/slider.js 38]: reference to undefined property "CallyActor"
abr 18 07:20:10 pc-main gnome-shell[3251]: JS WARNING: [resource:///org/gnome/shell/ui/osdMonitorLabeler.js 59]: reference to undefined property "MetaDBusDisplayConfigSkeleton"
abr 18 07:20:10 pc-main gnome-shell[3251]: JS WARNING: [resource:///org/gnome/shell/ui/layout.js 221]: reference to undefined property "MetaWindowGroup"

Well, I can't see anything there :disappointed: Are you on wayland maybe?

I tried, but I could not login without Xorg. Could not take the test!

You're gonna have to tweak the code in order to debug this.
Change this:
https://github.com/zagortenay333/timepp__gnome/blob/c08e7feb9f4f3a5809ee46539669d121ec3596cc/lib/sound_player.js#L31-L42
..to this:
    play: function (do_repeat = true) {
        try {
        if (this.playing || !this.sound_uri) return;

        if (do_repeat) {
            this.playbin.set_state(Gst.State.PLAYING);
            this.playing = true;
        }
        else {
            let [filename,] = GLib.filename_from_uri(this.sound_uri);
            global.play_sound_file(0, filename, '', null);
        }
        } catch (e) {
            log(">>>>>>>>>>>>>>>>>>>>>> TIMEPP: ");
            logError(e);
        }
    },

Restart the shell, and then play a notif on one repetition and look for errors again with the above commands.

No log errors. So I added a few more logs, see the image and the output in the log:
abr 19 18:02:39 pc-main gnome-shell[3168]: Test... else {
abr 19 18:02:39 pc-main gnome-shell[3168]: Test...
abr 19 18:02:05 pc-main gnome-shell[3168]: GNOME Shell started at Thu Apr 19 2018 18:02:00 GMT-0300

abr 19 18:53:52 pc-main gnome-shell[3168]: >>>>>>>>>>> TIMEPP<EMAIL_ADDRESS>

Did you try other sound files besides bell.ogg?

Yes, others of same folder and mp3 too.

Do you have libcanberra and libgsound0 installed?

I installed gsound-tools ... restart (Alt+F2 R)... but still nothing!

As I said, I'm not sure which package you exactly need.
Here you can see what's installed on my system after executing apt search libcanberra:
gir1.2-gsound-1.0/artful 1.0.2-1ubuntu1 i386
  small library for playing system sounds (gir bindings)

gnome-session-canberra/artful,now 0.30-3ubuntu1 i386 [installed]
  GNOME session log in and log out sound events

gsound-tools/artful 1.0.2-1ubuntu1 i386
  small library for playing system sounds (tools)

libcanberra-dev/artful 0.30-3ubuntu1 i386
  simple abstract interface for playing event sounds

libcanberra-doc/artful 0.30-3ubuntu1 all
  simple abstract interface for playing event sounds - doc

libcanberra-gstreamer/artful 0.30-3ubuntu1 i386
  GStreamer backend for libcanberra

libcanberra-gtk-common-dev/artful 0.30-3ubuntu1 all
  simple abstract interface for playing event sounds

libcanberra-gtk-dev/artful 0.30-3ubuntu1 i386
  simple abstract interface for playing event sounds

libcanberra-gtk-module/artful,now 0.30-3ubuntu1 i386 [installed]
  translates GTK+ widgets signals to event sounds

libcanberra-gtk0/artful,now 0.30-3ubuntu1 i386 [installed]
  GTK+ helper for playing widget event sounds with libcanberra

libcanberra-gtk3-0/artful,now 0.30-3ubuntu1 i386 [installed]
  GTK+ 3.0 helper for playing widget event sounds with libcanberra

libcanberra-gtk3-dev/artful 0.30-3ubuntu1 i386
  simple abstract interface for playing event sounds

libcanberra-gtk3-module/artful,now 0.30-3ubuntu1 i386 [installed]
  translates GTK3 widgets signals to event sounds

libcanberra-pulse/artful,now 0.30-3ubuntu1 i386 [installed]
  PulseAudio backend for libcanberra

libcanberra0/artful,now 0.30-3ubuntu1 i386 [installed]
  simple abstract interface for playing event sounds

libgsound-dev/artful 1.0.2-1ubuntu1 i386
  small library for playing system sounds (devel)

libgsound-doc/artful 1.0.2-1ubuntu1 all
  small library for playing system sounds (documentation)

libgsound0/artful,now 1.0.2-1ubuntu1 i386 [installed,automatic]
  small library for playing system sounds

Btw, I don't think you can use whereis to check for presence of these lib files.

apt search libcanberra
Sorting... Pronto
Full Text Search... Pronto
gir1.2-gsound-1.0/artful 1.0.2-1ubuntu1 amd64
  small library for playing system sounds (gir bindings)

gnome-session-canberra/artful,now 0.30-3ubuntu1 amd64 [installed]
  GNOME session log in and log out sound events

gsound-tools/artful,now 1.0.2-1ubuntu1 amd64 [installed]
  small library for playing system sounds (tools)

libcanberra-dev/artful 0.30-3ubuntu1 amd64
  simples interface abstrata para tocar eventos de som

libcanberra-doc/artful,artful 0.30-3ubuntu1 all
  simple abstract interface for playing event sounds - doc

libcanberra-gstreamer/artful 0.30-3ubuntu1 amd64
  GStreamer backend for libcanberra

libcanberra-gtk-common-dev/artful,artful 0.30-3ubuntu1 all
  simples interface abstrata para tocar eventos de som

libcanberra-gtk-dev/artful 0.30-3ubuntu1 amd64
  simples interface abstrata para tocar eventos de som

libcanberra-gtk-module/artful,now 0.30-3ubuntu1 amd64 [installed]
  translates GTK+ widgets signals to event sounds

libcanberra-gtk0/artful,now 0.30-3ubuntu1 amd64 [installed]
  GTK+ helper for playing widget event sounds with libcanberra

libcanberra-gtk3-0/artful,now 0.30-3ubuntu1 amd64 [installed]
  GTK+ 3.0 helper for playing widget event sounds with libcanberra

libcanberra-gtk3-dev/artful 0.30-3ubuntu1 amd64
  simples interface abstrata para tocar eventos de som

libcanberra-gtk3-module/artful,now 0.30-3ubuntu1 amd64 [installed]
  translates GTK3 widgets signals to event sounds

libcanberra-pulse/artful,now 0.30-3ubuntu1 amd64 [installed,automatic]
  PulseAudio backend for libcanberra

libcanberra0/artful,now 0.30-3ubuntu1 amd64 [installed]
  simples interface abstrata para tocar eventos de som

libgsound-dev/artful 1.0.2-1ubuntu1 amd64
  small library for playing system sounds (devel)

libgsound-doc/artful,artful 1.0.2-1ubuntu1 all
  small library for playing system sounds (documentation)

libgsound0/artful,now 1.0.2-1ubuntu1 amd64 [installed,automatic]
  small library for playing system sounds

Well, I'm out of ideas then. I don't know why that function doesn't work on your machine..

Can confirm: Sound does not work at all (not even with repeat set). Also checked dependencies.
System is Manjaro Gnome 18.0 with Gnome 3.30.2

I realized after installing gnome-shell on xubuntu that I needed to install gstreamer. So I installed this:

sudo apt-get install libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-tools

Can you try installing the above, @tnilzon ?

I am on Manjaro (Arch) so packages are not the same as in Debian. Really can't say about anything that you have listed, but my system is gnome (and includes gstreamer).

I realized after installing gnome-shell on xubuntu that I needed to install gstreamer. So I installed this:

sudo apt-get install libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-tools

Can you try installing the above, @tnilzon ?.

I just tried on Pop!_Os 18.04 (ubuntu based) with Gnome 3.28.3 and restarted Gnome shell, but still no sound.

@tnilzon et. al, could you try running this extension: https://github.com/felipeborges/gnome-shell-extension-focusli and see whether the sound plays?

@zagortenay333 OK I have tried the 'Focusli' extension. And, yes this extension plays sounds.

@zagortenay333 I also confirm it plays correctly

Just as a sanity check, did you guys turn on sound in the gtk settings?

@zagortenay333 If you mean the settings of the extension, then yes.

@v-marinkov can you check whether you have any errors with:
journalctl /usr/bin/gnome-shell -f

@tnilzon
I've the same problem and could solve it.
Open  Gnome Control Center and go to the sound section. Here is a tab "sound effect".
The alert volume must be active. That means if you click on "bark" your loudspeaker must play a tone.

@Beutlin Hah, it seems that really is it!

@CesarDevesa @v-marinkov Could you check this?

I think I can not contribute much, for security I have only used packages coming from the official repository (https://extensions.gnome.org/extension/1238/time/). What I can say is that some things do not work, like the Pomodoro icon that does not appear in the status bar and the alarm audio does not work in any configuration.

@CesarDevesa The pomodor thing is fixed in github version.
Did you check the comment given by @Beutlin above?

I'm currently using a Chrome extension to configure this way.

After reload the Shell works!, Alt + F2 -> r


Make prognostic edmf implicit solver work on GPU

Error here: https://buildkite.com/clima/climaatmos-ci/builds/17751#018e648e-ef08-4506-924b-f8b716349ef9/196-282

Can we add this job to CI with soft fail? This would be really helpful

Yes, I can do that later today.

@charleskawczynski do you want to keep your change in https://github.com/CliMA/ClimaAtmos.jl/pull/2825, or just add the job?

We can remove my change, I think it wasn’t working for some reason. Thank you!

Closed by #2926


To build iroha with burrow on Mac and Linux we also need GO

brew install go
go get github.com/golang/protobuf/protoc-gen-go

@LiraLemur please update the docs.

I would like to link this to https://github.com/hyperledger/iroha/issues/1321 - so I could update all of those in bulk.

Thank you, @kuvaldini !


fixed wrong coordinate system definition for EPSG:3857

The coordinate system definition for geopackages contains an error. this is now fixed.

Thanks!


V4.0.4

OP-19849: Upgrade Instructions from 4.0.3 to 4.0.4

@girichinna27  Please resolve the comments


Added localization support to setup build

/CC @Microsoft/fsharp-compiler @shyamnamboodiripad @jmarolf

👍


The dataStore.getChannelGroupOrDMById() is no longer returning the na…

There is an issue where robot.adapter.client.rtm.dataStore.getChannelGroupOrDMById(msg.message.user.room) is returning undefined as opposed to an object that represents the channel.
There is talk of the dataStore being deprecated moving forward.  As a hard-coded fix we have created a lookup for the room name i.e. C7V3FH6NB or C7V3FH6NB for #retailer-deploy and #platform-deploy respectively.

Should be robot.adapter.client.rtm.dataStore.getChannelGroupOrDMById(msg.message.user.room).name


Add validation when users update and create

Add validation (including email) when users updating and (or) creating

Thanks


broken link in sandbox help/readme

At the end:
How you can install the Pony compiler and tools on your local machine is
explained here.
...should be http://tutorial.ponylang.org/getting-started/installation.html

Thanks. I removed the sandbox from the website.
The source isn't on github which makes it hard to maintain, no one can contribute fixes etc.
It was a lingering issue. We'll be looking at doing another sandbox at some point. If anyone
want to take that on, get in touch.

What do you mean? The website still links to the sandbox, which still works.

It means I did it on a fork accidentally. Fixed.


Webui refactoring

Refactored the code to have a generic execution function.
Because of Root Commands it not 100% possible.
Added some WebUI commands as well specific to tcp logging

Thanks Rakesh. The only change I made when I merged was to use an Rval for the callback parameter, to force the usage of move semantics.
Neil.

:v: :+1:


Improving performance of getting a model/baseModel from entities

This PR aims to decrease the complexity of getting a single model/baseModel from the entities list, as described in the issue #717.
Type of PR:

[ ] Bugfix
[ ] Feature
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Documentation
[x] Other, please describe: performance fix

Breaking changes:

[x] No
[ ] Yes

Details
It basically replaces the two reduces found here and here with the javascript find to retrieve a model/baseModel from a list of entities.

This is awesome. Thank you for taking the time to address this 👍


states using the parent selector (eg. [data-state="value"]& )

I run into a lot of cases where I am deep in a nested selector, and I need to add a case for a state on the parent. Ideally that would be done like this:
[data-state="value"]&
(by placing the state on the other side of the parent selector), but that throws an error, and so I have to break out of the nesting and renest to the same level with the new state on the parent.
I think this would be a really nice addition to the language. (There might need to be some logic involved to put attribute selectors after class selectors after id selectors, as I thought I remember the ordering being important, but I might be wrong.)
What do you guys think?

I propose some kind of CONCAT operator:
A {
  .flag1 & {
    color: red;

    .flag2 CONCAT & {
      color: blue;
    }
  }
}

would be compiled to:
.flag1 A {
  color: red;
}
.flag2.flag1 A {
  color: blue;
}

I needed this so badly that I wrote a SASS post-processor routine in PHP:
<?php

  $sCSS = preg_replace_callback('/([^\\s}]+)\\s+CONCAT\\s+([^\\s{]+)/', function ($asMatches) {
    if (in_array($asMatches[2][0], array('.', '#', ':'))) {
      return $asMatches[1].$asMatches[2];
    }
    if (in_array($asMatches[1][0], array('.', '#', ':'))) {
      return $asMatches[2].$asMatches[1];
    }
    throw new Exception('Fatal SASS-Error! Illegal CONCAT: '.$asMatches[0]);
  }, $sCSS);

Thanks & greetings!

This is something that I too could use. For instance: when using the html5 boilerplate's html conditional tag for lt-ie8, lt-ie7, etc and modernizr's classes on the html tag.

While searching around for this have you guys seen this thread? http://groups.google.com/group/sass-lang/tree/browse_frm/month/2011-10/7bb5c901112bf961?rnum=11&_done=%2Fgroup%2Fsass-lang%2Fbrowse_frm%2Fmonth%2F2011-10%3F#doc_0ce775bae679b536


Example code for OpenAI functions agent seems wrong when using memory

Hi there! I noticed that the documentation for the OpenAI functions agent has recently been updated. I was checking it out and I noticed something that caught my attention.
The section where the memory is added to the agent for previous iterations, the order of the messages seems to be wrong. The example code given in the documentation is the following:
const prompt = ChatPromptTemplate.fromMessages([
  ["ai", "You are a helpful assistant"],
  ["human", "{input}"],
  new MessagesPlaceholder("agent_scratchpad"),
  new MessagesPlaceholder("chat_history"),
]);

Notice that the chat_history is added as the last element in this prompt.
The example can be inspected in LangSmith here: https://smith.langchain.com/public/2052d0d1-5640-44bc-9024-d443d46db2a4/r/87a1b796-5a70-46a9-bc57-016a3b6beee1. The image below shows the trace in LangSmith:

As can be seen in the image, the order of the messages that are passed as input to OpenAI is the following:
ai
You are a helpful assistant

human
Do I need a jacket?

human
What is the weather in New York?

ai
The current weather in New York is cloudy with a temperature of 58 degrees Fahrenheit. The humidity is at 72% with a wind speed of 8 mph. There's a 15% chance of precipitation.

However, I would expect the order to be this:
ai
You are a helpful assistant

human
What is the weather in New York?

ai
The current weather in New York is cloudy with a temperature of 58 degrees Fahrenheit. The humidity is at 72% with a wind speed of 8 mph. There's a 15% chance of precipitation.

human
Do I need a jacket?

This order would be consistent with the sequence of the questions asked by the human (first what is the weather in new york and then whether I need a jacket or not), it would also respect the human-ai sequence.
It seems to me that when creating the prompt, the code should be like this:
const prompt = ChatPromptTemplate.fromMessages([
  ["ai", "You are a helpful assistant"],
  new MessagesPlaceholder("chat_history"),
  ["human", "{input}"],
  new MessagesPlaceholder("agent_scratchpad"),
]);

In this way, the chat history would appear first in the conversation, then the input, and finally the agent scratchpad to write down the observations by the agent when processing the human input.
Is this a typo when creating the documentation, or it is the intended behavior?

Then, that means that the documentation for OpenAI functions agent is wrong, doesn't it?

Thanks for the ping!
@bracesproul I think @humbertaco is correct, can you fix?

Thanks for addressing this @jacoblee93, @bracesproul. By the way, I think both OpenAI agent's pages have this typo (OpenAI functions and OpenAI tool calling).

Good catch, I was in the process of switching over from the conversational langchain agent to OpenAI tool calling, and was puzzled when the chain seemingly lost context after following the documentation. Switching the orders fixed my issue

Will patch now, thanks

Thanks @jacoblee93 !

No thank you, really bad that this slipped through the cracks :(


LPA Questionnaire CI/CD pipeline

Ticket Number

AS-34
Description of change

Create CI/CD pipeline
Checklist

[x] Requires infrastructure changes
[ ] If adding or remove environment variables (e.g. in docker-compose.yaml) then I have updated the appropriate Helm chart
[ ] I have updated the documentation accordingly
[ ] My commit history in this PR is linear
[ ] New features have tests
[ ] Breaking change (team conversation required)

Important
Please do not merge from master (please only rebase). This keeps the history linear and easier to debug.

@davehlewis I think that's the entirety of the infra changes needed in the master branch. This is currently untested as I don't have an environment to test on. By the time you've gotten the test coverage issue fixed and I've spoken with the testers tomorrow, I should be able to get this checked.

@davehlewis I think that's the entirety of the infra changes needed in the master branch. This is currently untested as I don't have an environment to test on. By the time you've gotten the test coverage issue fixed and I've spoken with the testers tomorrow, I should be able to get this checked.


Provide README

We should create a README also for our styleguide project. Maybe it doesn't has to be as long as the components README but I think the following points should be written down:

Motivation (Why?)
Technical Concepts (A short explanation how the styleguide works, a diagram showing all dependencies and how styleguide works.)
Getting started (How to test changes locally ?, how to contribute)
Contributing
License

Great idea. I can contribute a first draft of the Why.

@schluchter see https://github.com/wholesale-design-system/components#motivation as a basic motivation :D maybe you have something more general.

@schluchter still up for this challenge ?

Definitely. Adrian has some first thoughts on it that I'll go over next
week.
On Tue, Aug 29, 2017 at 11:54 AM Ferit Topcu<EMAIL_ADDRESS>wrote:

@schluchter https://github.com/schluchter still up for this challenge ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/wholesale-design-system/styleguide/issues/5#issuecomment-325614974,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAuZXhGWld7Jt8QsTja9l3S_NBnYC-e0ks5sc9-9gaJpZM4NpJ40
.

I think this can be closed


Add Gmail like smart compose for Folder and Filename suggestions when creating them.

Currently, when creating files or folders we have to write the entire name. This is good when creating one or two of them, but when working within a large file structure we sometimes need to add more than a few of them ourselves. For example, when working within any project one can create .gitignore, .dockerignore, .github/workflows/release.yml, .vscode/settings.json, README.md and much more of these kind, whose names are constant around most or every project.
Hence, it would be useful and save bit of time if we have folder and filename suggestions appeared while writing the name of the file itself just like the Gmail's smart compose feature suggests the completion phrase while we compose the email. Specifically, this wouldn't be a game changing feature but it will sure make user experience more nice and would be helpful in saving some time.
The below are some of the examples for some of the common folder/file names:
.gitignore
.vscode/settings.json
package.json
.dockerignore
Docker
.npmrc
README.md
CONTRIBUTING.md
.github/workflows/release.yml
.env
public/assets

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


[Bug]: Files escape snap sandbox in /run and /var/spool

With further testing, I discovered that certain Slurm files are escaping the snap "sandbox". The sandbox technically doesn't exist since the Slurm snap is classically confined and not strictly confined, but to preserve the atomicity of the snap paths are directed to write data under snap-specific directories such as $SNAP_COMMON.
Unfortunately I noticed that supplying the --localstatedir and --runstatedir options to the Slurm configure script doesn't seem to do anything about this. Therefore, the easiest fix for this will be to preconfigure the SlurmctldPidFile and SlurmctldSpoolDir options when the Slurm snap is first installed via the install hook.
Should not start until #19 is fixed

Hmm... to be honest, I think this a documentation issue rather than a bug :cockroach:
Reason saying is that the Slurm snap actually works perfectly fine even if the files are outside of the snap sandbox/snapshottable directories. We just don't like that since mostly everything is under $SNAP_COMMON. I think rather than add additional complexity by sorta "preseeding" default values that we need to fight with when an admin goes to set new values, it would be better to just provide base configuration in a getting started howto that just has our preferred values.
Using the approach above, now if someone decides to change the defaults or ship their own configuration, they'll understand why some files are outside of $SNAP_COMMON. "Oh, this is outside $SNAP_COMMON because I set the SlurmdSpoolDir to a different location."


[#2740]optimize some methods

While reading the RocketMQ source code, I found that there are some areas that could be optimized
1.The getData(final long offset) function in the DledgerCommitLog.java is used to get data according to the offset. In Dledger, dividedCommitlogOffset is used to separate the old commitlog from dledger commitlog, so the getData(final long offset) function should judge if offset is in old commitlog or dledger commitlog. But getData(final long offset) function repeats the judgment of whether the offset is in old commitlog or dledger commitlog. So the if statement can be deleted.
2.The checkMessageAndReturnSize(ByteBuffer byteBuffer, final boolean checkCRC,final boolean readBody) function in the DledgerCommitLog.java is called when build the DispatchRequest. The same with getData function, it should judge whether the byteBuffer is in old commitlog or dledger commitlog.The following figure shows the data format in both modes，we can see that the first field is magic in dledger, the value of magic has two value: DLedgerMmapFileStore.CURRENT_MAGIC(1) or MmapFileList.BLANK_MAGIC_CODE(-1). In old commitlog, this field is TOTALSIZE and the value in this field must be gt 1(every commitlog will be free at least 8 bytes). So we can judge the bytebuffer from the first four bytes，if the value of the first four bytes is gt 1，then the bytebuffer is in old commitlog.

In addition，isInrecoveringOldCommitlog is used to indicate that it is the first time to load mixed commitlog, need to recover the commitlog. It has nothing to do with whether the byteBuffer is in old commitlog or dledger commitlog. So I think the if statement can be deleted.
#2740

Coverage decreased (-0.1%) to 51.805% when pulling 1f9925ceea2a09920e90fea6e9081ed5ae57f8a4 on sunxi92:optimize into 3ae251751586b940b7467284966ec4fe93f86be1 on apache:master.

Codecov Report

Merging #2742 (1f9925c) into master (3ae2517) will increase coverage by 0.06%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #2742      +/-   ##
============================================
+ Coverage     45.94%   46.00%   +0.06%
+ Complexity     4317     4316       -1
============================================
  Files           547      547
  Lines         36236    36231       -5
  Branches       4808     4807       -1
============================================
+ Hits          16648    16669      +21
+ Misses        17503    17473      -30
- Partials       2085     2089       +4

Impacted Files
Coverage Δ
Complexity Δ

...pache/rocketmq/store/dledger/DLedgerCommitLog.java
73.64% <100.00%> (-0.06%)
70.00 <0.00> (-2.00)

...ain/java/org/apache/rocketmq/test/util/MQWait.java
43.24% <0.00%> (-5.41%)
3.00% <0.00%> (ø%)

...mq/client/impl/consumer/RebalanceLitePullImpl.java
49.15% <0.00%> (-5.09%)
10.00% <0.00%> (-1.00%)

...ketmq/client/impl/consumer/PullMessageService.java
75.55% <0.00%> (-4.45%)
9.00% <0.00%> (-1.00%)

...ketmq/common/protocol/body/ConsumerConnection.java
95.83% <0.00%> (-4.17%)
13.00% <0.00%> (-1.00%)

...client/consumer/store/RemoteBrokerOffsetStore.java
67.56% <0.00%> (-1.81%)
20.00% <0.00%> (-2.00%)

...etmq/client/latency/LatencyFaultToleranceImpl.java
50.00% <0.00%> (ø)
8.00% <0.00%> (ø%)

...he/rocketmq/client/trace/AsyncTraceDispatcher.java
74.11% <0.00%> (+0.50%)
17.00% <0.00%> (ø%)

...rocketmq/client/impl/factory/MQClientInstance.java
50.14% <0.00%> (+0.58%)
90.00% <0.00%> (ø%)

... and 5 more

Continue to review full report at Codecov.

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


Include PowerToys Keybinds On Shortcut Guide

Description of the new feature / enhancement
When loading up shortcut guide, load up all of the keybinds that have been created by PowerToys also so that all keybinds are shown on one screen.
Scenario when this would be used?
I would be able to just simply load up the shortcut guide to refer to all current keybinds so that I can memorize them easier rather than having to go looking for each keybind in each PowerToys tab individually.
Supporting information
No response

Thanks for your message. This is a Duplicate of an other issue. Additional comments may be added there. /dup #15405
Besides: would adding the shortcuts to the existing fly-out be sufficient?


Remove deprecated license_file from setup.cfg

Starting with wheel 0.32.0 (2018-09-29), the "license_file" option is
deprecated.
The wheel will continue to include LICENSE, it is now included
automatically:
https://wheel.readthedocs.io/en/stable/user_guide.html#including-license-files-in-the-generated-wheel-file
https://wheel.readthedocs.io/en/stable/news.html

Codecov Report

Merging #1244 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1244   +/-   ##
=======================================
  Coverage   92.58%   92.58%
=======================================
  Files          21       21
  Lines        6161     6161
=======================================
  Hits         5704     5704
  Misses        457      457

Continue to review full report at Codecov.

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

You giveth (62fd0923f1a673ad72e10545c73bb734773b14e9) and you taketh away. Thanks for both :)


Add CI to MINGW-packages-dev

Copied from MINGW-packages

We should probably make this a git submodule or something

I'm not quite sure how that would work with GHA - I think at least the yml file would need to be in the actual repository.  The scripts could be in a submodule, I guess, but they also could just be cloned from a different repo in the workflow, since anybody else cloning the repos isn't likely to need them.
Either approach would probably make things more difficult for contributors to work on the scripts, having to fork the 'ci scripts' repo too, as well as updating references in their fork of the -packages repo to point to that fork in order to test them (and then remembering to revert that before making a pull request).

Good points. I would really like to have this in one place though, somehow.. :(


need SHTC3 driver for this to be useful

In conversations with Reto in customer support, he said that in order to get reasonable accuracy from the SEK-STC31-Sensor kit, I need to use the temperature and humidity from the onboard SHTC3. He suggested using the sensirion python-i2c-sht driver or the adafruit python SHTC3 driver.
I cannot get the sensirion sht driver to work with the SHTC3. Should it? I am using the linux interface, not the SensorBridge. The adafruit python driver works, but it uses a different approach to the i2c bus, so I can't use them both at the same time.
Request (in order of preference)

example code using the linux transceiver to get readings from the SHTC3 on the SEK-STC31-Sensor
STC31 driver that works in the adafruit circuitpython environment
c code that will interface to both
some other suggestion that will allow me to use the SEK-STC31-sensor with the onboard SHTC3

Thanks!

Hi Bjorn,
Thanks for getting back to me.
I did see the c code. My code is in python, so I was hoping for a python solution. I ended up using sensirion code to talk to the stc3x and Adafruit’s code to talk to the sht. I was concerned that the two different interfaces to the i2c bus might lead to problems, but in initial testing it seemed to work.
I guess it just seems odd to me that Sensirion would provide a python driver for 1/2 of the recommended sensor pair, so I thought I might be missing something.
Thanks,
Dave
Dave Stumbo

On May 20, 2021, at 5:45 AM, Björn Muntwyler @.***> wrote:
Did you see our c drivers for sht and stc sensors?
https://github.com/Sensirion/embedded-i2c-stc3x https://github.com/Sensirion/embedded-i2c-stc3x
https://github.com/Sensirion/embedded-sht https://github.com/Sensirion/embedded-sht
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Sensirion/python-i2c-stc/issues/1#issuecomment-845079374, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABFPVAO7MYDYR24KZ55BRQLTOT76NANCNFSM43M4L2ZA.

Hi Dave Stumbo
I'm glad that it worked out for you.
Thank you for your feedback. We'll look into it to further improve the Developer Experience.
Best regards
Björn


Fix WASM bundling

Upgrade parquetjs lib to 1.6.2 (add ^ to package.json)
Figure out how to esbuild the new brotli lib.
Ideally add some sort of test in file preview extension which detects if the parquet Brotli lib dependency changes again.

This really a multi-layered problem.
First, our ESBuild plugin currently is not correctly bundling any WASM modules, leading to "not a function" errors when trying to open Brotli-compressed Parquet files. On closer inspection, although the binary data is present in the bundle, it appears that the WASM module isn't actually loaded. Only the "stub" created by ESBuild is loaded in a default property.
Second, our plugin assumes that WASM modules are being imported like any other module, such as:
import something from "./some.wasm";

However, the Brotli packages aren't importing the WASM modules at all. They are reading them directly from the file system. ESBuild does not consider these imports, and so they are never processed by the plugin.
From this, it seems that trying to bundle WASM files won't work as expected. We may have to include them as external files along with the bundles.


Extension for Rotate Image

Could you give me more details?

check this screen..i am asking this rotate image feature code.. now in
library showing empty function
On Thu, Apr 2, 2020 at 9:16 AM Cong Nguyen<EMAIL_ADDRESS>wrote:

Could you give me more details?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/congnd/FMPhotoPicker/issues/40#issuecomment-607566801,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGKWDIVGOAXWYA22RGTQMMLRKPROJANCNFSM4LYQQUWA
.

@Manibhushan393
Do you mean you want to have image rotation feature?

Close due to long time no response.
Feel free to reopen it again if you still need support.


test(s3): Use localstack/localstack and amazon-ec2-metadata-mock for testing

By using localstack/localstack and amazon-ec2-metadata-mock, we can test OpenDAL's AWS IAM support in our test env with minio. We can add a new action job for this.

Hi @Xuanwo, I can look into this issue. Feel free to assign me to this.

Hi @Xuanwo, I can look into this issue. Feel free to assign me to this.

Wow, thanks a lot! Have fun!

Hi @Xuanwo, by saying "using localstack," do you mean running Minio in an EC2 instance inside localstack or running S3 inside localstack?

running S3 inside localstack?

We can start a s3 service in localstack: https://docs.localstack.cloud/user-guide/ci/github-actions/

This issue is related to other services, which is not a good first issue.

This should be test by reqsign instead.


chore(typing): generate library typings

before:
this lib doesn't have any typings even build with typescript
solution:
enable option definition in tsconfig.json so it can generate typing when build and export all type and interface to be accessible

Codecov Report

Merging #16 into master will not change coverage.
The diff coverage is n/a.

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


Testing, please ignore. (jxaucz)

This is a bug bounty test - please ignore.. Please DO NOT APPROVE THIS! (jxaucz)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.jxaucz hjylk seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Markup support for images

Before uploading allow drawing on screenshots to annotate

Bug Report Dump (Auto-generated)

Version 1.12.0 (1106)
Device: iPhone 6s Plus (iOS 11.1)
TestFlight: true

We have some amazing internal tools for this, I love it. Maybe theres a simple lib we can use?
Sent with GitHawk


Can't use 'destroy' button on Collection Object 'show' page if it has a taxon_determination.

`PG::ForeignKeyViolation at /collection_objects/913221
ERROR:  update or delete on table "collection_objects" violates foreign key constraint "taxon_determinations_biological_collection_object_id_fkey" on table "taxon_determinations"
DETAIL:  Key (id)=(913221) is still referenced from table "taxon_determinations".`

Need to make a decision as to whether to cascade destroy determinations with CO, seems reasonable, just need client warnings? @proceps thoughts?

I would delete with a warning.


DM installation improvements

[ ] Put the Forseti-related scripts somewhere that's not /home/ubuntu -- maybe something like in /usr/local
[ ] Also download the cloud_sql_proxy to somewhere like /usr/local/bin
[ ] Maybe also have a property for the crontab frequency, so people don't have to change the py/forseti-instance.py startup script
[ ] Currently the installation takes place in /home/ubuntu owned by root. This makes it difficult to copy the key file for dwd to a place (that's not /tmp) that's available to non-root users. We should investigate installing forseti to a point that isn't only available to root

I am going to close this and create separate issues as they arise.