Could not retrieve rustic-doc-convert.sh

I've the following in my emacs init:
;; =============================
;; Requried packages to install
;; =============================
;; sudo apt install pandoc
;; M-x package-install RET lsp-mode RET
;; M-x package-install RET rustic RET
;; M-x package-install helm-ag
;; M-x package-install RET gnu-elpa-keyring-update RET
;;
(require 'lsp-mode)
(use-package rustic)
(add-hook 'rustic-mode-hook
      (lambda () (setq indent-tabs-mode nil)))
(setq rustic-lsp-server 'rls)

I was reading the inline documentation section in the installation guide. I proceeded exactly as indicated that is:

I run M-x rustic-doc-mode
When I run this Emacs printed the following message in the message bar: Rustic-Doc mode enabled in the current buffer

But when I run the second instruction: M-x rustic-doc-setup I got the following error message:
Could not retrieve /home/myuser/.local/bin/rustic-doc-convert.sh

I searched in the file system and Indeed I wasn't able to find this script. Is this a bug or it's my rustic installation which is broken?
My environment:
OS: Ubuntu 20.04 (64 bits)
Emacs: 27.1

I managed to solve the first problem. I had not a bin directory in ~/.local and apparently the program doesn't check whether the bin directory already exists. So I created the directory manually and after running again, this initial issue was solved. But then I encountered other problems upon installing the required dependencies. Indeed here is what we can find in rustic-doc.el:
(defun rustic-doc-install-deps ()
  "Install dependencies with Cargo."
  (if (not (executable-find "cargo"))
      (message "You need to have cargo installed to use rustic-doc")
    (let ((missing-rg (not (executable-find "rg")))
          (missing-fd (not (executable-find "fd")))
          (missing-makedocs (not (executable-find "cargo-makedocs"))))
      (when (and  (or missing-fd missing-makedocs missing-rg) (y-or-n-p "Missing some dependencies for rustic doc, install them? "))
        (when missing-fd
          (rustic-doc--start-process "install-fd" "cargo" nil "install" "fd-find"))
        (when missing-rg
          (rustic-doc--start-process "install-rg" "cargo" nil "install" "ripgrep"))
        (when missing-makedocs
          (rustic-doc--start-process "install-makedocs" "cargo" nil "install" "cargo-makedocs"))))))

When this function is called I get the following error message:
error in process sentinel Wrong number of arguments
I checked the list of prerequisites that this function seeks to install and I observed that only fd-find and ripgrep were absent on my system so I installed them manuelly:
sudo apt install ripgrep
sudo apt install fd-find

This solved the problem with rustic-doc-install-deps (). Then I saw the following message in Emacs message bar
Setup is converting the standard library
During several minutes this message was fix in Emacs message bar and I had the feeling that the program was doing something in background. Finally after a few minutes I got the following error message:
error in process sentinel: Wrong number of arguments: (1 . 1), 2 [2 times]
I checkd the *rustid-doc-std-conversion* buffer in Emacs to see more details and here is the message error that I found:
Error running filter /home/myuser/.local/bin/rustic-doc-filter.lua:
Error during function call: /home/myuser/.local/bin/rustic-doc-filter.lua:103: attempt to index a nil value (field 'List')
stack traceback:
	/home/myuser/.local/bin/rustic-doc-filter.lua:103: in function </home/myuser/.local/bin/rustic-doc-filter.lua:45>
	[C]: in ?
	[C]: in function 'pandoc.walk_block'
	/home/myuser/.local/bin/rustic-doc-filter.lua:153: in function 'Pandoc'
stack traceback:
	[C]: in function 'pandoc.walk_block'
	/home/myuser/.local/bin/rustic-doc-filter.lua:153: in function 'Pandoc'

Unfortunately I wasn't able to advance more.

Thank you for the detailed and persistent report. What version of pandoc are you using?

Thank you for the detailed and persistent report. What version of pandoc are you using?

Thanks and happy new year.
Here is the information about pandoc:
$ pandoc --version
pandoc 2.5
Compiled with pandoc-types <IP_ADDRESS>, texmath <IP_ADDRESS>, skylighting 0.7.7
Default user data directory: /home/myuser/.pandoc
Copyright (C) 2006-2018 John MacFarlane
Web:  http://pandoc.org
This is free software; see the source for copying conditions.
There is no warranty, not even for merchantability or fitness
for a particular purpose.
$

Thanks and happy new year.
Here is the information about pandoc:
$ pandoc --version
pandoc 2.5
Compiled with pandoc-types <IP_ADDRESS>, texmath <IP_ADDRESS>, skylighting 0.7.7
Default user data directory: /home/myuser/.pandoc
Copyright (C) 2006-2018 John MacFarlane
Web:  http://pandoc.org
This is free software; see the source for copying conditions.
There is no warranty, not even for merchantability or fitness
for a particular purpose.
$

Could you try the PR and see if it solves your issue with the bin directory, and the one with dependencies failing to install? As far as the pandoc issue is concerned, could you try a more recent version? I just ran on 2.11 and it worked fine.

Could you try the PR and see if it solves your issue with the bin directory, and the one with dependencies failing to install? As far as the pandoc issue is concerned, could you try a more recent version? I just ran on 2.11 and it worked fine.

I confirm that ~/.local/bin exists (as explained earlier I had to create it manually). Following your advice I downloaded and installed the most recent version of pandoc
$ wget https://github.com/jgm/pandoc/releases/download/<IP_ADDRESS>/pandoc-<IP_ADDRESS>-1-amd64.deb
$
$ dpkg -i pandoc-<IP_ADDRESS>-1-amd64.deb
$
$ pandoc --version
pandoc <IP_ADDRESS>
Compiled with pandoc-types 1.22, texmath 0.12.1, skylighting 0.10.2,
citeproc <IP_ADDRESS>, ipynb <IP_ADDRESS>
User data directory: /home/myuser/.local/share/pandoc or /home/myuser/.pandoc
Copyright (C) 2006-2020 John MacFarlane. Web:  https://pandoc.org
This is free software; see the source for copying conditions. There is no
warranty, not even for merchantability or fitness for a particular purpose.
$

So after this, what I did was to rerun the rustic-doc-setup command. After a few minutes I got once again the same error message
error in process sentinel: Wrong number of arguments: (1 . 1), 2 [2 times]
But this time the situation was completely different. As I indicated in my previous post, there was an error message in the buffer named: *rustid-doc-std-conversion*  (... Error during function call: /home/myuser/.local/bin/rustic-doc-filter.lua:103: attempt to index a nil valu ...). After installing the most recent version of pandoc I didn't get this error message anymore and this time there was only one line in the buffer:
Generating org files in: /home/myuser/.local/share/emacs/rustic-doc/std
I checked the content of this directory and indeed there were a lot of .org files and directories:
$ ls /home/myuser/.local/share/emacs/rustic-doc/std
alloc        hint                  keyword.for.org     keyword.where.org          macro.include_bytes.org                  macro.unimplemented.org  prim_i16                 primitive.u128.org   result
all.org      i128                  keyword.if.org      keyword.while.org          macro.include.org                        macro.unreachable.org    prim_i32                 primitive.u16.org    slice
any          i16                   keyword.impl.org    lazy                       macro.include_str.org                    macro.vec.org            prim_i64                 primitive.u32.org    str
array        i32                   keyword.in.org      macro.asm.org              macro.is_aarch64_feature_detected.org    macro.writeln.org        prim_i8                  primitive.u64.org    string
ascii        i64                   keyword.let.org     macro.assert_eq.org        macro.is_arm_feature_detected.org        macro.write.org          prim_isize               primitive.u8.org     sync
backtrace    i8                    keyword.loop.org    macro.assert_ne.org        macro.is_mips64_feature_detected.org     marker                   primitive                primitive.unit.org   sys
borrow       index.org             keyword.match.org   macro.assert.org           macro.is_mips_feature_detected.org       mem                      primitive.array.org      primitive.usize.org  sys_common
boxed        intrinsics            keyword.mod.org     macro.cfg.org              macro.is_powerpc64_feature_detected.org  net                      primitive.bool.org       prim_never           task
cell         io                    keyword.move.org    macro.column.org           macro.is_powerpc_feature_detected.org    num                      primitive.char.org       prim_pointer         thread
char         isize                 keyword.mut.org     macro.compile_error.org    macro.is_x86_feature_detected.org        ops                      primitive.f32.org        prim_ref             time
clone        iter                  keyword.pub.org     macro.concat_idents.org    macro.line.org                           option                   primitive.f64.org        prim_slice           u128
cmp          keyword.as.org        keyword.ref.org     macro.concat.org           macro.llvm_asm.org                       os                       primitive.fn.org         prim_str             u16
collections  keyword.async.org     keyword.return.org  macro.dbg.org              macro.log_syntax.org                     panic                    primitive.i128.org       prim_tuple           u32
convert      keyword.await.org     keyword.self.org    macro.debug_assert_eq.org  macro.matches.org                        panicking                primitive.i16.org        prim_u128            u64
default      keyword.break.org     keyword.Self.org    macro.debug_assert_ne.org  macro.module_path.org                    path                     primitive.i32.org        prim_u16             u8
env          keyword.const.org     keyword.static.org  macro.debug_assert.org     macro.option_env.org                     pin                      primitive.i64.org        prim_u32             usize
error        keyword.continue.org  keyword.struct.org  macro.env.org              macro.panic.org                          prelude                  primitive.i8.org         prim_u64             vec
f32          keyword.crate.org     keyword.super.org   macro.eprintln.org         macro.println.org                        prim_array               primitive.isize.org      prim_u8
f64          keyword.dyn.org       keyword.trait.org   macro.eprint.org           macro.print.org                          prim_bool                primitive.never.org      prim_unit
ffi          keyword.else.org      keyword.true.org    macro.file.org             macro.stringify.org                      prim_char                primitive.pointer.org    prim_usize
fmt          keyword.enum.org      keyword.type.org    macro.format_args_nl.org   macro.thread_local.org                   prim_f32                 primitive.reference.org  process
fs           keyword.extern.org    keyword.union.org   macro.format_args.org      macro.todo.org                           prim_f64                 primitive.slice.org      ptr
future       keyword.false.org     keyword.unsafe.org  macro.format.org           macro.trace_macros.org                   prim_fn                  primitive.str.org        raw
hash         keyword.fn.org        keyword.use.org     macro.global_asm.org       macro.try.org                            prim_i128                primitive.tuple.org      rc

I opened a Rust program buffer and I did C-# and I entered panic as keyword just to see whether the related documentation was available. Good news! I got a beautiful org mode documentation! I repeated the process with several other key words such as, Option, for, else, let, etc. and each time I was able to view the documentation (well formatted with nice syntax highlighting).
Consequently, thanks to your suggestion about installing a more recent version of pandoc I was able to view the documentation inside Emacs. Now about the above mentioned error message, that is:
error in process sentinel: Wrong number of arguments: (1 . 1), 2 [2 times]
I have no explanation, does this mean that somewhat the process of installing/converting the documentation failed in the middle or not? I've no Idea.
Should I close this issue?

I confirm that ~/.local/bin exists (as explained earlier I had to create it manually). Following your advice I downloaded and installed the most recent version of pandoc
$ wget https://github.com/jgm/pandoc/releases/download/<IP_ADDRESS>/pandoc-<IP_ADDRESS>-1-amd64.deb
$
$ dpkg -i pandoc-<IP_ADDRESS>-1-amd64.deb
$
$ pandoc --version
pandoc <IP_ADDRESS>
Compiled with pandoc-types 1.22, texmath 0.12.1, skylighting 0.10.2,
citeproc <IP_ADDRESS>, ipynb <IP_ADDRESS>
User data directory: /home/myuser/.local/share/pandoc or /home/myuser/.pandoc
Copyright (C) 2006-2020 John MacFarlane. Web:  https://pandoc.org
This is free software; see the source for copying conditions. There is no
warranty, not even for merchantability or fitness for a particular purpose.
$

So after this, what I did was to rerun the rustic-doc-setup command. After a few minutes I got once again the same error message
error in process sentinel: Wrong number of arguments: (1 . 1), 2 [2 times]
But this time the situation was completely different. As I indicated in my previous post, there was an error message in the buffer named: *rustid-doc-std-conversion*  (... Error during function call: /home/myuser/.local/bin/rustic-doc-filter.lua:103: attempt to index a nil valu ...). After installing the most recent version of pandoc I didn't get this error message anymore and this time there was only one line in the buffer:
Generating org files in: /home/myuser/.local/share/emacs/rustic-doc/std
I checked the content of this directory and indeed there were a lot of .org files and directories:
$ ls /home/myuser/.local/share/emacs/rustic-doc/std
alloc        hint                  keyword.for.org     keyword.where.org          macro.include_bytes.org                  macro.unimplemented.org  prim_i16                 primitive.u128.org   result
all.org      i128                  keyword.if.org      keyword.while.org          macro.include.org                        macro.unreachable.org    prim_i32                 primitive.u16.org    slice
any          i16                   keyword.impl.org    lazy                       macro.include_str.org                    macro.vec.org            prim_i64                 primitive.u32.org    str
array        i32                   keyword.in.org      macro.asm.org              macro.is_aarch64_feature_detected.org    macro.writeln.org        prim_i8                  primitive.u64.org    string
ascii        i64                   keyword.let.org     macro.assert_eq.org        macro.is_arm_feature_detected.org        macro.write.org          prim_isize               primitive.u8.org     sync
backtrace    i8                    keyword.loop.org    macro.assert_ne.org        macro.is_mips64_feature_detected.org     marker                   primitive                primitive.unit.org   sys
borrow       index.org             keyword.match.org   macro.assert.org           macro.is_mips_feature_detected.org       mem                      primitive.array.org      primitive.usize.org  sys_common
boxed        intrinsics            keyword.mod.org     macro.cfg.org              macro.is_powerpc64_feature_detected.org  net                      primitive.bool.org       prim_never           task
cell         io                    keyword.move.org    macro.column.org           macro.is_powerpc_feature_detected.org    num                      primitive.char.org       prim_pointer         thread
char         isize                 keyword.mut.org     macro.compile_error.org    macro.is_x86_feature_detected.org        ops                      primitive.f32.org        prim_ref             time
clone        iter                  keyword.pub.org     macro.concat_idents.org    macro.line.org                           option                   primitive.f64.org        prim_slice           u128
cmp          keyword.as.org        keyword.ref.org     macro.concat.org           macro.llvm_asm.org                       os                       primitive.fn.org         prim_str             u16
collections  keyword.async.org     keyword.return.org  macro.dbg.org              macro.log_syntax.org                     panic                    primitive.i128.org       prim_tuple           u32
convert      keyword.await.org     keyword.self.org    macro.debug_assert_eq.org  macro.matches.org                        panicking                primitive.i16.org        prim_u128            u64
default      keyword.break.org     keyword.Self.org    macro.debug_assert_ne.org  macro.module_path.org                    path                     primitive.i32.org        prim_u16             u8
env          keyword.const.org     keyword.static.org  macro.debug_assert.org     macro.option_env.org                     pin                      primitive.i64.org        prim_u32             usize
error        keyword.continue.org  keyword.struct.org  macro.env.org              macro.panic.org                          prelude                  primitive.i8.org         prim_u64             vec
f32          keyword.crate.org     keyword.super.org   macro.eprintln.org         macro.println.org                        prim_array               primitive.isize.org      prim_u8
f64          keyword.dyn.org       keyword.trait.org   macro.eprint.org           macro.print.org                          prim_bool                primitive.never.org      prim_unit
ffi          keyword.else.org      keyword.true.org    macro.file.org             macro.stringify.org                      prim_char                primitive.pointer.org    prim_usize
fmt          keyword.enum.org      keyword.type.org    macro.format_args_nl.org   macro.thread_local.org                   prim_f32                 primitive.reference.org  process
fs           keyword.extern.org    keyword.union.org   macro.format_args.org      macro.todo.org                           prim_f64                 primitive.slice.org      ptr
future       keyword.false.org     keyword.unsafe.org  macro.format.org           macro.trace_macros.org                   prim_fn                  primitive.str.org        raw
hash         keyword.fn.org        keyword.use.org     macro.global_asm.org       macro.try.org                            prim_i128                primitive.tuple.org      rc

I opened a Rust program buffer and I did C-# and I entered panic as keyword just to see whether the related documentation was available. Good news! I got a beautiful org mode documentation! I repeated the process with several other key words such as, Option, for, else, let, etc. and each time I was able to view the documentation (well formatted with nice syntax highlighting).
Consequently, thanks to your suggestion about installing a more recent version of pandoc I was able to view the documentation inside Emacs. Now about the above mentioned error message, that is:
error in process sentinel: Wrong number of arguments: (1 . 1), 2 [2 times]
I have no explanation, does this mean that somewhat the process of installing/converting the documentation failed in the middle or not? I've no Idea.
Should I close this issue?

Good to hear that you got it working! I believe that the error in process sentinel is not because of some issue with the conversion, rather it was just a minor issue where a function was called with one instead of two arguments. That should be fixed as of the PR. Furthermore, we now confirm that the .local/bin exists and create it if not.
So if everything is fine, this should be ready to close.

Good to hear that you got it working! I believe that the error in process sentinel is not because of some issue with the conversion, rather it was just a minor issue where a function was called with one instead of two arguments. That should be fixed as of the PR. Furthermore, we now confirm that the .local/bin exists and create it if not.
So if everything is fine, this should be ready to close.

Many thanks for your time and for your help and once again Happy new year 2021!

Many thanks for your time and for your help and once again Happy new year 2021!

Hi, I created this thread in 2021 under Linux. Based on the above information provided the issue was resolved on Linux. But I have now a new version of Emacs (28.1) installed on Windows 11 (64 bits) and I can confirm the above-mentioned problems persist :

One has to create manually the /.local/bin directory in users' home directory
Otherwise the program gives the following error message:
Could not retrieve c:/Users/myusername/AppData/Roaming/.local/bin/rustic-doc-convert.sh

I downloaded the binary of the most recent version of pandoc for Windows (64 bits), yet after running rustic-doc-set-up I get the following error message in *Messages* buffer in emacs

Contacting host: raw.githubusercontent.com:443
Wrote c:/Users/myusername/AppData/Roaming/.local/bin/rustic-doc-convert.sh
Contacting host: raw.githubusercontent.com:443
Wrote c:/Users/myusername/AppData/Roaming/.local/bin/rustic-doc-filter.lua
start-process: Spawning child process: Invalid argument
Loading c:/Users/myusername/AppData/Roaming/.emacs.d/recentf...done
Cleaning up the recentf list...done (0 removed)

Am I missing something?

Hey! I have not considered how rustic-doc works on windows. I just tried installing it again on Linux and it works.
 If so, what does that say?

Thanks for your reply. Yes there is a buffer named *rustic-doc-std-conversion* but it is completely empty (after running setup). So basically rustic-doc is not for Windows, right?

I would love for it to work on Windows. Unfortunately, I don't know what would be required.
Pandoc and fd-find both exist for windows. My guess is that the file paths and convert.sh/rustic-doc-convert.sh are the places to start to support Windows.

Ok, I see. Thanks for this information. The reason that I tried also on Windows is because I didn't see any specific note on rustic page on Github indicating that rustic-doc isn't compatible with Windows. But now it seems that there adaptations to be done. It's good that now it's clear and others who may have encountered the same problem might read the information in this thread. Thanks for your help.

This should be in the documentation, it just never crossed my mind. I'll update the docs.


[SignalR] SignalR lacks CLI conventions

Tracking issue since SignalR is considered GA.  This module lacks the following CLI conventions/features:

[ ] missing generic update az signalr update
[ ] az signalr show/delete: missing --ids convention.
[ ] az signalr key command group should be az signalr keys command group for consistency.

SignalR

@zackliu please help take a look

I will follow the issue.

For generic update and ids for az signalr show/delete have been fixed. And key is used for years and we don't want to introduce breaking changes


Reloading Grid with variable in controller

Hi there,
Actually this is not an issue, but is this possible.
I have partial view in Controller like this
        [HttpGet]
        public PartialViewResult RemainingsGrid(Guid MasterCustomerId, Guid MasterWarehouseId)
        {
            return PartialView("_RemainingsGrid", ExtendedModels.GetRemaining().OrderByDescending(x => x.WarehouseInput.Code)
                .Where(x => (x.WarehouseInput.MasterCustomerId == MasterCustomerId) && (x.WarehouseInput.MasterWarehouseId == MasterWarehouseId)));
        }

And called in view like this

                                @Html.AjaxGrid(Url.Action("RemainingsGrid", new { MasterCustomerId = Html.ValueFor(model => model.MasterCustomerId), MasterWarehouseId = Html.ValueFor(model => model.MasterWarehouseId) }))

Is it possible to do ajax reload with changing variable in controller?
Example
        $("#MasterWarehouseId").on("change", function () {
            $('#RemainingTable').mvcgrid({
                reload: true
            });
        }).change();

That's wont work because new value wont updated while reload. Is is possible to do that?

$('#RemainingTable').mvcgrid({
    query: 'masterWarehouseId=1',
    reload: true
});

Hi there,
        $("#MasterCustomerId").on("change", function () {
            var masterCustomerId = $("#MasterCustomerId").val();
            var masterWarehouseId = $("#MasterWarehouseId").val();

            $('#RemainingTable').mvcgrid({
                query: 'warehouse-input.-master-customer-id-equals=' + masterCustomerId + '&warehouse-input.-master-warehouse-id-equals=' + masterWarehouseId,
                reload: true
            });
        }).change();

I made like you suggestion, but there is 2 problems

I must include the field in grid
The first initialization, it will return all datas

New grid adds support for changing the query without losing grid data, you can check the examples.
Just pass initial query into first initialization.

hi there, where I can find examples for this? Or it will be released in future?

It's already available in official website, but keep it mind that the new version no longer uses jquery as a dependency.

Owh ok,
That's why I can't find $('.mvc-grid').mvcgrid(); I will take a look and post a new question if found a problem. Thank you.

I have tried new MVC Grid and found an error with example in official website
        $("#MasterWarehouseId").on("change", function () {
            var masterWarehouseId = $("#MasterWarehouseId").val();

            var grid = new MvcGrid(document.querySelector('#remaining-table')); // <-- this return error
            grid.requestType = 'post';
            grid.query.set('MasterWarehouseId', masterWarehouseId);

            grid.reload();
        }).change();

It return error in console log

Error: Grid element was not specified.

I'm not quite sure  what element is that, reading from instruction, it is declared like that in every sample.

Check what document.querySelector('#remaining-table') returns and why it throws in F12 debugger.

It is come from mvc-grid.js line 112
var grid = element;
       ```

if (!grid) {
throw new Error('Grid element was not specified.');
}
        while (grid && !grid.classList.contains('mvc-grid')) {
            grid = grid.parentElement;
        }

This error dissapear when I change `var grid = new MvcGrid(document.querySelector('#remaining-table'));` to `var grid = new MvcGrid(document.querySelector('.mvc-grid'));`

But the problem is I have 2 grid in a page.

So did you add new { id = "remaining-table" } to your ajax grid declaration?

Yes, because I have variable in declaration, it become like this

                                @Html.AjaxGrid(Url.Action("RemainingsGrid", new { id = "remaining-table", MasterCustomerId = Html.ValueFor(model => model.MasterCustomerId), MasterWarehouseId = Html.ValueFor(model => model.MasterWarehouseId) }))

And grid initiation become like this
@(Html
            .Grid(Model)
            .Build(columns =>
            {
                columns.Add(model => "
 Pilih").Encoded(false);
                columns.Add(model => model.Seal).Titled(@Html.DisplayNameFor(model => model.Seal));
                columns.Add(model => model.Type).Titled(@Html.DisplayNameFor(model => model.Type));
                columns.Add(model => model.Weight).Titled(@Html.DisplayNameFor(model => model.Weight));
                columns.Add(model => model.Addressee).Titled(@Html.DisplayNameFor(model => model.Addressee));
                columns.Add(model => model.Sender).Titled(@Html.DisplayNameFor(model => model.Sender));
            })
            .WithSourceUrl(Url.Action("", "ContainerInputs"))
            .Empty("Tidak ada data.")
            .Pageable(pager =>
            {
                pager.PageSizes = new Dictionary<Int32, String> { { 0, "All" }, { 10, "10" }, { 100, "100" } };
                pager.ShowPageSizes = true;
                pager.PagesToDisplay = 5;
                pager.CurrentPage = 1;
                pager.RowsPerPage = 10;
            })
            .MultiFilterable()
            .Filterable()
            .Sortable()
            .AppendCss("tablegrid-hover table-striped")
            .Id("remaining-table")
)

You are passing it to .Url function not the grid's.

I'm so sorry, my bad.


Rewrite no-duplicate-variable

PR checklist

[ ] Addresses an existing issue: #0000
[ ] New feature, bugfix, or enhancement

[ ] Includes tests

[ ] Documentation update

Overview of change:
Just refactored the implementation.

There's a comment in the tests saying that parameters should be handled by no-shadowed-variable.


Object Type UDMO Data Model #1905

Object Type UDMO Data Model #1905 - with all Travis issues addressed

just add additional commits to your existing branch, it will show up in the pull request and automatically trigger Travis
you can also insert the code in https://larshp.github.io/abaplint/ and click the "issues" button, it should show the same error list

hi, above error from travis is a bug in abaplint, I've raised a corresponding issue

Plus, can you help submitting a pull request to https://github.com/abapGit-tests/UDMO so we have a test case for future reference

@d023604 see above

Plus, can you help submitting a pull request to https://github.com/abapGit-tests/UDMO so we have a test case for future reference


[Work-in-Progress] Migration Strapi to v4

Notes:

Rest API changes
now http://localhost:1337/api/fire-zones
before https://test-cms.bcparks.ca/fire-zones

I will re-create a branch
from this BCPark origin repo
having issues with a branch from my fork.


refactor(transformer): add Engine enum for EngineTargets

Merge activity

Nov 6, 7:39 AM EST: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.


docs/ios

Default flags and cache. Can be merged alongside https://github.com/Flagsmith/flagsmith-ios-client/pull/33

This PR shouldn't have been opened before the PR here is merged. I recommend closing this until that PR is merged.


Unit test time is too long

🐛 Describe the bug

Remove test with too large tensors
Merge similar tests together
Remove unnecessary tests

Reproduce
No response
Versions
na

fixed by https://github.com/linkedin/Liger-Kernel/pull/346


Problems trying to configure the environment

Im trying to build the basic examples of zephyr but get stuck with this error.
[6/172] Generating include/generated/version.h
-- Zephyr version: 3.0.99 (C:/zephyrproject/zephyr), build: zephyr-v3.0.0-1828-g69238dbfeeef
[155/172] Performing configure step for 'EspIdfBootloader'
FAILED: esp-idf/src/EspIdfBootloader-stamp/EspIdfBootloader-configure C:/zephyrproject/zephyr/build/esp-idf/src/EspIdfBootloader-stamp/EspIdfBootloader-configure
cmd.exe /C "cd /D C:\zephyrproject\zephyr\build\esp-idf\build\bootloader && "C:\Program Files\CMake\bin\cmake.exe" -GNinja -S C:/zephyrproject/modules/hal/espressif/components/bootloader/subproject -B C:/zephyrproject/zephyr/build/esp-idf/build/bootloader -DSDKCONFIG=C:/zephyrproject/zephyr/build/esp-idf/build/sdkconfig -DIDF_PATH=C:/zephyrproject/modules/hal/espressif -DIDF_TARGET=esp32 -DPYTHON_DEPS_CHECKED=1 -DCMAKE_C_COMPILER=C:/Users/USUARIO/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -DCMAKE_CXX_COMPILER=C:/Users/USUARIO/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -DCMAKE_ASM_COMPILER=C:/Users/USUARIO/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -DCMAKE_SYSTEM_NAME=Generic -DPYTHON=C:/Users/USUARIO/AppData/Local/Programs/Python/Python310/python.exe && "C:\Program Files\CMake\bin\cmake.exe" -E touch C:/zephyrproject/zephyr/build/esp-idf/src/EspIdfBootloader-stamp/EspIdfBootloader-configure"
CMake Warning at C:/zephyrproject/modules/hal/espressif/tools/cmake/idf.cmake:18 (message):
IDF_PATH environment variable is different from inferred IDF_PATH.
                          Check if your project's top-level CMakeLists.txt includes the right
                          CMake files. Environment IDF_PATH will be used for the build:
                          C:/esp-idf/esp-idf

Call Stack (most recent call first):
C:/zephyrproject/modules/hal/espressif/tools/cmake/project.cmake:7 (include)
CMakeLists.txt:34 (include)
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.35.1.windows.2")
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/Users/USUARIO/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Users/USUARIO/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Users/USUARIO/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
CMake Error at C:/esp-idf/esp-idf/tools/cmake/build.cmake:224 (depgraph_add_edge):
Unknown CMake command "depgraph_add_edge".
Call Stack (most recent call first):
C:/esp-idf/esp-idf/tools/cmake/build.cmake:512 (__build_expand_requirements)
C:/zephyrproject/modules/hal/espressif/tools/cmake/project.cmake:396 (idf_build_process)
CMakeLists.txt:41 (project)
-- Configuring incomplete, errors occurred!
See also "C:/zephyrproject/zephyr/build/esp-idf/build/bootloader/CMakeFiles/CMakeOutput.log".
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: 'C:\Program Files\CMake\bin\cmake.EXE' --build 'C:\zephyrproject\zephyr\build'
I dont know if there if there is a problem with my environment variables configuration (Windows), the ESP-IDF path configured works for other projects (with FreeRTOS).

@bchunga Have you followed https://docs.zephyrproject.org/latest/boards/xtensa/esp32/doc/index.html?

@bchunga Have you followed https://docs.zephyrproject.org/latest/boards/xtensa/esp32/doc/index.html?

Changed the toolchain path, i found that in my case the route was %USERPROFILE%.espressif\tools\tools\zephyr, but now the CMake throw this error:
[155/172] Performing configure step for 'EspIdfBootloader'
FAILED: esp-idf/src/EspIdfBootloader-stamp/EspIdfBootloader-configure C:/zephyrproject/zephyr/build/esp-idf/src/EspIdfBootloader-stamp/EspIdfBootloader-configure
cmd.exe /C "cd /D C:\zephyrproject\zephyr\build\esp-idf\build\bootloader && "C:\Program Files\CMake\bin\cmake.exe" -GNinja -S C:/zephyrproject/modules/hal/espressif/components/bootloader/subproject -B C:/zephyrproject/zephyr/build/esp-idf/build/bootloader -DSDKCONFIG=C:/zephyrproject/zephyr/build/esp-idf/build/sdkconfig -DIDF_PATH=C:/zephyrproject/modules/hal/espressif -DIDF_TARGET=esp32 -DPYTHON_DEPS_CHECKED=1 -DCMAKE_C_COMPILER=C:/Users/USUARIO/.espressif/tools/tools/zephyr/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -DCMAKE_CXX_COMPILER=C:/Users/USUARIO/.espressif/tools/tools/zephyr/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -DCMAKE_ASM_COMPILER=C:/Users/USUARIO/.espressif/tools/tools/zephyr/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -DCMAKE_SYSTEM_NAME=Generic -DPYTHON=C:/Users/USUARIO/AppData/Local/Programs/Python/Python310/python.exe && "C:\Program Files\CMake\bin\cmake.exe" -E touch C:/zephyrproject/zephyr/build/esp-idf/src/EspIdfBootloader-stamp/EspIdfBootloader-configure"
CMake Warning at C:/zephyrproject/modules/hal/espressif/tools/cmake/idf.cmake:18 (message):
IDF_PATH environment variable is different from inferred IDF_PATH.
                          Check if your project's top-level CMakeLists.txt includes the right
                          CMake files. Environment IDF_PATH will be used for the build:
                          C:/esp-idf/esp-idf

Call Stack (most recent call first):
C:/zephyrproject/modules/hal/espressif/tools/cmake/project.cmake:7 (include)
CMakeLists.txt:34 (include)
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.35.1.windows.2")
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- The ASM compiler identification is unknown
-- Found assembler: xtensa-esp32-elf-gcc
CMake Error at C:/zephyrproject/modules/hal/espressif/tools/cmake/project.cmake:308 (__project):
The CMAKE_C_COMPILER:
xtensa-esp32-elf-gcc

is not a full path and was not found in the PATH.
Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.
Call Stack (most recent call first):
CMakeLists.txt:41 (project)
CMake Error at C:/zephyrproject/modules/hal/espressif/tools/cmake/project.cmake:308 (__project):
The CMAKE_CXX_COMPILER:
xtensa-esp32-elf-g++

is not a full path and was not found in the PATH.
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
Call Stack (most recent call first):
CMakeLists.txt:41 (project)
CMake Error at C:/zephyrproject/modules/hal/espressif/tools/cmake/project.cmake:308 (__project):
The CMAKE_ASM_COMPILER:
xtensa-esp32-elf-gcc

is not a full path and was not found in the PATH.
Tell CMake where to find the compiler by setting either the environment
variable "ASM" or the CMake cache entry CMAKE_ASM_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
Call Stack (most recent call first):
CMakeLists.txt:41 (project)
-- Warning: Did not find file Compiler/-ASM
-- Configuring incomplete, errors occurred!
See also "C:/zephyrproject/zephyr/build/esp-idf/build/bootloader/CMakeFiles/CMakeOutput.log".
See also "C:/zephyrproject/zephyr/build/esp-idf/build/bootloader/CMakeFiles/CMakeError.log".
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: 'C:\Program Files\CMake\bin\cmake.EXE' --build 'C:\zephyrproject\zephyr\build'

Add this into the environment: set PATH=%PATH%;%ESPRESSIF_TOOLCHAIN_PATH%\bin

when I tried command:west build -b nrf52dk_nrf52832 samples/boards/nrf/clock_skew it throws the problem:
-- west build: generating a build system
Loading Zephyr default modules (Zephyr base (cached)).
-- Application: /home/xp/zephyrproject/zephyr/samples/boards/nrf/clock_skew
-- Cache files will be written to: /home/xp/.cache/zephyr
-- Zephyr version: 3.0.99 (/home/xp/zephyrproject/zephyr)
-- Found west (found suitable version "0.12.0", minimum required is "0.7.1")
-- Board: nrf52dk_nrf52832
CMake Error at /home/xp/zephyrproject/zephyr/cmake/modules/verify-toolchain.cmake:79 (find_package):
  Could not find a package configuration file provided by "Zephyr-sdk"
  (requested version 0.13.1) with any of the following names:

    Zephyr-sdkConfig.cmake
    zephyr-sdk-config.cmake

  Add the installation prefix of "Zephyr-sdk" to CMAKE_PREFIX_PATH or set
  "Zephyr-sdk_DIR" to a directory containing one of the above files.  If
  "Zephyr-sdk" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  /home/xp/zephyrproject/zephyr/cmake/modules/zephyr_default.cmake:121 (include)
  /home/xp/zephyrproject/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:51 (include)
  /home/xp/zephyrproject/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:81 (include_boilerplate)
  CMakeLists.txt:4 (find_package)
-- Configuring incomplete, errors occurred!

but actually I have edited the ~/.bashrc file like
export ZEPHYR_TOOLCHAIN_VARIANT=zephyr
export ZEPHYR_INSTALL_SDK_DIR=/home/xp/zephyr-sdk-0.13.2
why would this happened?

@sylvioalves thanks for your help, I was able to build, the  problem: I was trying to use the same idf that I use with FreeRTOS (installed by VS Code plugin) so i think there is something different into the zephyr cmake or the idf requirements.


Integrate metrics into marathon-alerts

In reference to #16, we might need to collect some metrics in the apps.  This https://github.com/rcrowley/go-metrics seems to be a decent start.

Closing as fixed since we've quite a few of them already.


Add setup docs for Zed editor

Summary
This PR adds the setup documentation for using Ruff with the Zed editor.
Closes: #12388

I've read the setup docs, but still can't figure out how to add linting options. For example, where in Zed's settings.json do I add the option for quote-style? The docs give examples for pyproject.toml and ruff.toml and I've tried many possible places in settings.json, but can't figure it out.

@samueller sorry that you're struggling with this.
The editor doesn't support all ruff settings. It only supports a subset and quote-style isn't part of that subset. To configure the quote-style, you have to create a pyproject.toml or ruff.toml and set the quote style in there.

It only supports a subset and quote-style isn't part of that subset.

I understand, thank you for letting me know

@samueller Sorry that you struggled with this. Do you have any recommendation on how can we improve this in the documentation to make it clearer?

@samueller Do you have any recommendation on how can we improve this in the documentation to make it clearer?

Would have been great to have read which subset of features work in Zed's settings.json and which don't in the Zed configuration section.

Would have been great to have read which subset of features work in Zed's settings.json and which don't in the Zed configuration section.

I'm curious to know whether the following section in https://docs.astral.sh/ruff/editors/setup/#zed conveys this:

To configure the language server, you can provide the server settings under the lsp.ruff.initialization_options.settings key:
{
  "lsp": {
    "ruff": {
      "initialization_options": {
        "settings": {
          // Ruff server settings goes here
          "lineLength": 80,
          "lint": {
            "extendSelect": ["I"],
          }
        }
      }
    }
  }
}

I'm curious to know whether the following section in https://docs.astral.sh/ruff/editors/setup/#zed conveys this:

I had seen that, but it didn't tell me the settings that won't work, such as quote-reply. I had assumed all settings would work, I just needed to figure out how to specify them in settings.json.


[do not merge] testing ci improvements

Description
This PR will include improvements to our ci.
Details

Removes unneeded matrix job collectors for destination tests
Cleans up naming of workflows and job to produce more legible output
Only runs tests marked as "essential" for most destination on PRs
Add the possibility to run all tests with a "ci-full" tag on the PR
Add the possibility to run tests on a fork if tag "ci from fork" is defined
there is a nightly schedule at 2am where the full test suite is run

To Do

Select essential tests
Update the required tests on the repo to not point to the matrix collection tests

Other fixes

Snippets tests also need secrets, so they are now also prevented to run on forks by default

To discuss

Local tests require the secrets, although they shouldn't really. there are some filesystem tests that use gdrive. For now they are also not disabled on forks. we should talk about it.

Ideas

Run a simple load for all destinations on all OSes to see that the drivers work everywhere?

note: make mssql run fully each time


where is stable branch?

hi, can't compile on 0.9.8 macOS Sierra...
I am getting an error here Element.h: file not found

#include "ofx/PointerEvents.h"

There is currently no stable branch -- it's only been tested with the openFrameworks master branch -- sorry the README isn't accurate, I just fixed it.  This addon requires the https://github.com/bakercp/ofxPointer addon (master branch).

Also, this is still under pretty active development (though I haven't pushed changes for a while) and most of the examples actually live in the https://github.com/bakercp/ofxMui/tree/develop branch, which I'm in the process of updating now.


About Params of EDSR-SR-STE

Hi,
Thanks for your awesome work! I have a question about the number of parameters of EDSR-SR-STE.
For example, if we set N=8 and M=32, even if every conv can be replaced with a sparse_conv, the parameters of EDSR-SR-STE-N8M32 should be 8 / 32 * 1.52M = 380K. However, the reported params of EDSR-SR-STE-N8M32 is 346K, which is even less than x0.25 of the dense params.
Do you adopt a modified version of EDSR? And will you release the architecture and pre-trained weights of Sparse EDSR models?

Hi, thank you for your attention to our work!
We found that there were some mistakes when measuring the number of parameters of EDSR trained by SR-STE and one-shot pruning.
As you mentioned,  EDSR-SR-STE-N8M32 should be nearly 8 / 32 * 1.52M = 380K.
We will revise them in the arxiv version.
We also have checked the results from other model architectures and found that there are no more incorrect results.
Thank you for your careful comments.

Hi,
thanks for your reply! Is there a plan to release the pre-trained weights of EDSR-SLS?
I tried to train EDSR-SLS with different sparsity target with the released code. However, the performance of EDSR-SLS-N4M32 and EDSR-SLS-N2M32 is not good. (while the performance of EDSR-SLS-N8M32 is the same as reported in the paper. )

Hi,
thanks for your reply! Is there a plan to release the pre-trained weights of EDSR-SLS?
I tried to train EDSR-SLS with different sparsity target with the released code. However, the performance of EDSR-SLS-N4M32 and EDSR-SLS-N2M32 is not good. (while the performance of EDSR-SLS-N8M32 is the same as reported in the paper. )

Hi,
thanks for your reply! Is there a plan to release the pre-trained weights of EDSR-SLS?
I tried to train EDSR-SLS with different sparsity target with the released code. However, the performance of EDSR-SLS-N4M32 and EDSR-SLS-N2M32 is not good. (while the performance of EDSR-SLS-N8M32 is the same as reported in the paper. )

could you please explain your code:   binary_scores = binary_scores - scores.detach() + scores
没看懂啥意思

Sorry for the delayed responses.
"binary_scores = binary_scores - scores.detach() + scores" is for the straight-through estimator (STE).
STE enables the differentiable binarization operation.
I'm sorry to say that we do not have any plans for releasing the pre-trained weights.
I think the results can be varied due to the different software or hardware.
Thanks :)


lib/preexec: tests!

Description
Add some BATS tests for lib/preexec to prevent minor mistakes from becoming big issues. 🙃
Motivation and Context
My patch for lib/preexec broke at least one use case, and alsö had a glaring logic-inversion that broke everything. Let's not do that again!
How Has This Been Tested?
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] My code follows the code style of this project.
[x] If my change requires a change to the documentation, I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] If I have added a new file, I also added it to clean_files.txt and formatted it using lint_clean_files.sh.
[x] I have added tests to cover my changes, and all the new and existing tests pass.

I'd like to get this merged to @bash-it master asafp! This should help prevent mistakes in the future 😃


Desktop (New & Classic) Missing Summary in Notification

This is an issue that I first raised in March of 2022 on the Teams Developer forum and got nowhere. Hoping I might have better luck here. The issue pertains to desktop notifications from a webhook. If I send a POST to a channel webhook with the content below, this is the notification I get on macOS & Windows on the latest Teams New & Teams Classic:

On iOS and Android, the notification says "Larry Bryant created a new task". There was a time in 2021 when this actually worked, but somewhere along the way something changed and it no longer worked. We actually stopped using Teams altogether due to this, but would love to start using it again. But without being able to see the summary in the notification on desktop, it's not possible.
{     "@type": "MessageCard",     "@context": "http://schema.org/extensions",     "themeColor": "0076D7",     "summary": "Larry Bryant created a new task",     "sections": [{         "activityTitle": "Larry Bryant created a new task",         "activitySubtitle": "On Project Tango",         "activityImage": "https://adaptivecards.io/content/cats/3.png",         "facts": [{             "name": "Assigned to",             "value": "Unassigned"         }, {             "name": "Due date",             "value": "Mon May 01 2017 17:07:18 GMT-0700 (Pacific Daylight Time)"         }, {             "name": "Status",             "value": "Not started"         }],         "markdown": true     }],     "potentialAction": [{         "@type": "ActionCard",         "name": "Add a comment",         "inputs": [{             "@type": "TextInput",             "id": "comment",             "isMultiline": false,             "title": "Add a comment here for this task"         }],         "actions": [{             "@type": "HttpPOST",             "name": "Add comment",             "target": "https://learn.microsoft.com/outlook/actionable-messages"         }]     }, {         "@type": "ActionCard",         "name": "Set due date",         "inputs": [{             "@type": "DateInput",             "id": "dueDate",             "title": "Enter a due date for this task"         }],         "actions": [{             "@type": "HttpPOST",             "name": "Save",             "target": "https://learn.microsoft.com/outlook/actionable-messages"         }]     }, {         "@type": "OpenUri",         "name": "Learn More",         "targets": [{             "os": "default",             "uri": "https://learn.microsoft.com/outlook/actionable-messages"         }]     }, {         "@type": "ActionCard",         "name": "Change status",         "inputs": [{             "@type": "MultichoiceInput",             "id": "list",             "title": "Select a status",             "isMultiSelect": "false",             "choices": [{                 "display": "In Progress",                 "value": "1"             }, {                 "display": "Active",                 "value": "2"             }, {                 "display": "Closed",                 "value": "3"             }]         }],         "actions": [{             "@type": "HttpPOST",             "name": "Save",             "target": "https://learn.microsoft.com/outlook/actionable-messages"         }]     }] }

And this is the notification we see on iOS, which we would expect to see on desktop.

Hello @bionemesis - Thanks for raising your query.
We have already raised a bug related to Desktop client notification summary and engineering team is already looking into it.
We will let you know once we get any update from engineering team.

@bionemesis - Issue is resolved in Teams2.1. Could you please check and confirm the same.
You have Microsoft Teams version 23306.3311.2542.4729.
You've got the latest version. It was last updated on 1/12/2023.
The client version is 49/23110231807.


Virtual scrolling should be an option

I'm submitting a ...  (check one with "x")
[x] bug report => search github for a similar issue or PR before submitting
[x] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior
When externalPaging (and count, offset) and scrollbarV is combined, the (page) event fires madly on every scroll event. Can't really tell if some Page was pressed in footer, or is fired by scroll event.
Expected behavior
It should be possible to use scrollbarV just for the sake of overview, not firing any page events, as for that I intend to use footer paging [1,2,3] etc. Like an option [virtualScroll]="false/true"
What is the motivation / use case for changing the behavior?
Sometimes/for some projects the load times are long for server side paging requests, and we want to run them only when actually Paging is initiated - not when scroll is all way down or up. However having the V scroll is nice feature for fixed height pages.
Please tell us about your environment:
Windows

Table version: 0.8.x
11.0.4

Angular version: 2.0.x
4.4.4

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
Latest Chrome

I also got the problem ,  when I try to set the datatable-body height in css , the vertical scroll will caused the (page） fired many times .

Makes sense, I'm good w/ virtualScroll: boolean input to handle this. Can you PR?

Not really, not until next year.

I believe this can be closed now

This problem is still present. #1297 solves it.

Hello, there is some reason why there is no merge of #1297? 😞

Seems.., some of the styles are missing, Try This
HTML
<ngx-datatable
class="material"
[columnMode]="'flex'"
[headerHeight]="50"
[footerHeight]="50"
[scrollbarV]="true"
[rows]="rows">
<ngx-datatable-column name="Name" [flexGrow]="1">

{{value}}

<ngx-datatable-column name="Gender" [flexGrow]="1">

{{value}}

<ngx-datatable-column name="company" [flexGrow]="1">

{{value}}

CSS
.ngx-datatable.scroll-vertical .datatable-body {
overflow-y: auto;
}
.ngx-datatable.scroll-vertical {
height: 70vh;
}


Precision lost (1e-324 + 1e-324) === (1e-324) behavior

What if the yielded number is too small and loosing precision?
Prior discussion: #7. Prior discussion is too long and mixed two cases of "dead loop" so I decided to split them into two issues.
There were many possible behaviors suggested in #7 for this situation. By studying this behavior in other languages, I found there isn't too much example we can learn from (most of the languages I studied seems like doesn't support range for floating-point numbers). I personally have no preference in this situation so I'm open to this and happy to see the consensus reached in some way.

Language
Behavior

This proposal
Not decided yet

Swift (StrideTo)
Emit nothing

(The full table at https://github.com/tc39/proposal-Number.range/blob/master/compare.md#too-small-floating-point-error-behavior)

What precisely is the scenario you're interested in here? Following your link, I assume it's something like the Swift example: for i in stride(from: 1e323, to: (1e323 + 1e-323 * 2), by: 1e-323).
Like #33, this already has a reasonable answer from just following the current proposed spec.  If step is very small (less than 1ulp around start), the range can emit the same value multiple times, but eventually start + (step * currentCount) will yield a larger Number, and eventually it will hit or exceed end and the range will be finished, after approximately (end-start)/step iterations.
Alternately, if start and step are close enough that they collapse to the same Number, the range will just end immediately after emitting nothing.
Like #33, I don't think we should try for any "smarter" behavior; the current spec is well-defined, well-behaved, and understandable.

Yes, I agree. This problem disappeared after we switch from + semantics to * semantics. I think it's resolved now.

I'll mark it as resolved. If anyone has new concerns welcome to leave comments.


Lessons 3.1 and 3.4

Name
Lesson
Python/Javascript (1-4)
Description of task

Kierthan
3.4 Strings
Javascript
Introduction of strings with examples in javascript and introduction to palindromes.

Arhaan
3.1 Variables and Assignments
Javascript
How to use each variable such as examples of booleans, strings, and many others in Javascript

Akshaj
3.1 Variables and Assignments
Python
Talking about variables, variable naming, types, and operators all in Python

Mihir
3.4 Strings
Python
Introduction of strings with examples in python and introduction to palindromes.

Completion
All the hacks should be pull requested and on teachers Portfolio_2025

This branch has conflicts that must be resolved
to resolve conflicts before continuing.
Conflicting files
_notebooks/CSP/big-ideas/big-idea-3-part-1-fundamentals/Period2/foo.txt