customMain errors

I just tried to cabal install tart:
programs/Main.hs:112:13: error:
    • Couldn't match type ‘s0 -> IO s0’ with ‘IO a0’
      Expected type: App s0 e0 n0 -> IO a0
        Actual type: App s0 e0 n0 -> s0 -> IO s0
    • Probable cause: ‘customMain’ is applied to too few arguments
      In the second argument of ‘(.)’, namely
        ‘customMain mkVty (Just chan) application’
      In the first argument of ‘(=<<)’, namely
        ‘(void . customMain mkVty (Just chan) application)’
      In a stmt of a 'do' block:
        (void . customMain mkVty (Just chan) application)
          =<< mkInitialState chan c
    |
112 |     (void . customMain mkVty (Just chan) application) =<< mkInitialState chan c
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

programs/Main.hs:112:24: error:
    • Couldn't match expected type ‘V.Vty’ with actual type ‘IO V.Vty’
    • In the first argument of ‘customMain’, namely ‘mkVty’
      In the second argument of ‘(.)’, namely
        ‘customMain mkVty (Just chan) application’
      In the first argument of ‘(=<<)’, namely
        ‘(void . customMain mkVty (Just chan) application)’
    |
112 |     (void . customMain mkVty (Just chan) application) =<< mkInitialState chan c
    |                        ^^^^^

programs/Main.hs:112:31: error:
    • Couldn't match expected type ‘IO V.Vty’
                  with actual type ‘Maybe (Brick.BChan.BChan Types.AppEvent)’
    • In the second argument of ‘customMain’, namely ‘(Just chan)’
      In the second argument of ‘(.)’, namely
        ‘customMain mkVty (Just chan) application’
      In the first argument of ‘(=<<)’, namely
        ‘(void . customMain mkVty (Just chan) application)’
    |
112 |     (void . customMain mkVty (Just chan) application) =<< mkInitialState chan c
    |                               ^^^^^^^^^

programs/Main.hs:112:42: error:
    • Couldn't match expected type ‘Maybe (Brick.BChan.BChan e0)’
                  with actual type ‘App Types.AppState Types.AppEvent Types.Name’
    • In the third argument of ‘customMain’, namely ‘application’
      In the second argument of ‘(.)’, namely
        ‘customMain mkVty (Just chan) application’
      In the first argument of ‘(=<<)’, namely
        ‘(void . customMain mkVty (Just chan) application)’
    |
112 |     (void . customMain mkVty (Just chan) application) =<< mkInitialState chan c
    |                                          ^^^^^^^^^^^

programs/Main.hs:112:59: error:
    • Couldn't match type ‘Types.AppState’ with ‘App s0 e0 n0’
      Expected type: IO (App s0 e0 n0)
        Actual type: IO Types.AppState
    • In the second argument of ‘(=<<)’, namely ‘mkInitialState chan c’
      In a stmt of a 'do' block:
        (void . customMain mkVty (Just chan) application)
          =<< mkInitialState chan c
      In the expression:
        do checkForMouseSupport
           args <- getArgs
           let (os, rest, errs) = getOpt Permute opts args
           when (not $ null errs) $ showHelp >> exitFailure
           ....
    |
112 |     (void . customMain mkVty (Just chan) application) =<< mkInitialState chan c
    |                                                           ^^^^^^^^^^^^^^^^^^^^^

I've published a metadata revision for Tart 0.1.2 on Hackage that should fix this. Sorry about that! Please cabal update and try again and update here when you have the result.

And for what it's worth, the version in Git doesn't have this problem so you could also build from source.

Thanks a lot - tart is so cool!

Thanks, I'm glad you like it!


Error when intercepting a fun with an atom literal in the fun head

When intercepting a fun like this:
def foo(bla, :bar) do
...

Interceptor crashes.
Here's a partial stacktrace that I think pinpoints the issue pretty well:
* (FunctionClauseError) no function clause matching in Interceptor.FunctionArguments.get_arg_name_and_its_ast/1

    The following arguments were given to Interceptor.FunctionArguments.get_arg_name_and_its_ast/1:

        # 1
        :monthly

    Attempted function clauses (showing 5 out of 5):

        defp get_arg_name_and_its_ast({:=, _, [_operand_a, _operand_b] = assignment_operands} = arg_full_ast)
        defp get_arg_name_and_its_ast({:\\, _metadata, [arg_ast, _default_value_ast]} = arg_full_ast)
        defp get_arg_name_and_its_ast({arg_name, _metadata, _context} = arg_ast) when arg_name === :<<>> or arg_name === :{} or arg_name === :%{} or arg_name === :% or arg_name === :<>
        defp get_arg_name_and_its_ast({arg_name, _metadata, _context} = arg_ast) when is_atom(arg_name)
        defp get_arg_name_and_its_ast(arg_ast) when is_list(arg_ast) or is_tuple(arg_ast) or is_integer(arg_ast) or is_binary(arg_ast)

    (interceptor 0.5.3) lib/function_arguments.ex:119: Interceptor.FunctionArguments.get_arg_name_and_its_ast/1
    ```

@mtarnovan Thanks for reporting this. Will submit a fix soon.

@mtarnovan this is already fixed since Dec 21, 2019 (:exclamation:) but I forgot to release a new version :man_facepalming:.
I will now release a new 0.5.4 version with the fix and will close this issue. Plz bump your interceptor version to 0.5.4.
@filipecabaco this is already fixed after all :sweat_smile:.

@mtarnovan just published version 0.5.4: https://hex.pm/packages/interceptor/0.5.4
The error shouldn't happen anymore.


I3/F1 instance store not automatically mounted at /scratch

setup-ephemeral-drives.sh in cfncluster-cookbook will create a raid volume across all ephemeral storage and mount it at /scratch.  Due to incorrect device mappings on instance types which use NVMe devices to expose ephemeral store (I3/F1), that script doesn't find any ephemeral devices and therefore doesn't build the mount point.  We need to update the script to work with the NVMe drives, likely by looking for /dev/disk/by-id/*Instance*  as the device list.

Is there a workaround for this? My work is bottlenecked by I/O therefore I need instance volume urgently.

This will be fixed in CfnCluster 1.3.3, but we don't have a public timeline for release.
The instance store drives are all available in the instance, we're just not building the raid drive properly.  https://github.com/bwbarrett/cfncluster-cookbook/blob/master/files/default/setup-ephemeral-drives.sh is the setup script that we use today, which assumes instance metadata is correct (sadly, not the case for I3/F1).  A solution would be to use a script similar to that as a post-install script, which used /dev/nvme* instead of IMDS for finding available drives.  Not ideal, obviously, but a short term fix.


CMake ricardian clauses not re-generated on resource files changes

Versions:

eosio.cdt 1.4.1

Description
When using CMake, if the actual resource file containing the ricardian clauses (either the contracts or clauses file) is the only changes, the ABI file is not re-generated correctly when doing a simple make.
Repro:
# Assuming at root of this repository
cd `examples/hello`
mkdir build
cd build && cmake .. && make && cd ..
echo "Adding stuff at the end of clauses" >> hello.clauses.md
cd build && make cd ..
cat build/hello.abi | grep "Adding stuff at the end of clauses"
echo $?
# Prints 1, should be 0

Same thing if echo "Adding stuff at the end of clauses" >> hello.contracts.md. The grep exit code should be 0.
Sorry if this is already tracked, did a search but did not find anything related.

I'm seeing this still on 1.6.2

The reason that this happens is that the resource file is found implicitly based on the contract name instead of being handled by CMake like a normal input file.  CMake doesn't even know whether it exists at all.

See also #455

Handled by #748


Need a scraper for runsignup.com

RUFA Mt. Sentinel used runsignup for race tracking this year. It would be nice to scrape that data and get it into OST.
https://runsignup.com/Race/Results/84151#resultSetId-301290;perpage:100

It turns out runsignup.com has a pretty nice API: https://runsignup.com/API
Let's use that instead.

The RUFA Mt. Sentinel run is very messy and uses runsignup in such a way that results are not normalized, and filtering through the API would result in a one-off that would work for only this event.
Closing this issue until there is another runsignup use case that is more typical.


[web] FlexibleSpaceBar is grey in profile/release modes

I used FlexibleSpaceBar with flutter web. If I run it in Visual Studio code, it works normally. However, when I build it on the web and check it, the widget is grayed out as shown in the picture.
Android and IOS builds are working fine. It is the same when building and deploying firebase hosting and running the simulator.
Any other workarounds for the web?

minimal code sample
void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: Test(),
    );
  }
}

class Test extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: DefaultTabController(
        length: 2,
        child: NestedScrollView(
          headerSliverBuilder: (context, value) {
            return [
              SliverAppBar(
                floating: true,
                pinned: true,
                bottom: TabBar(
                  tabs: [
                    Tab(text: "Posts"),
                    Tab(text: "Likes"),
                  ],
                ),
                expandedHeight: 450,
                flexibleSpace: FlexibleSpaceBar(
                  collapseMode: CollapseMode.pin,
                  background: Container(
                    color: Colors.purple,
                    height: 300,
                  ), // This is where you build the profile part
                ),
              ),
            ];
          },
          body: TabBarView(
            children: [
              Container(
                child: ListView.builder(
                  itemCount: 100,
                  itemBuilder: (context, index) {
                    return Container(
                      height: 40,
                      alignment: Alignment.center,
                      color: Colors.lightBlue[100 * (index % 9)],
                      child: Text('List Item $index'),
                    );
                  },
                ),
              ),
              Container(
                child: ListView.builder(
                  itemCount: 100,
                  itemBuilder: (context, index) {
                    return Container(
                      height: 40,
                      alignment: Alignment.center,
                      color: Colors.lightBlue[100 * (index % 9)],
                      child: Text('List Item $index'),
                    );
                  },
                ),
              ),
            ],
          ),
        ),
      ),
    );
  }
}

Same problem here.
The problem not happen in --release when delete bottom or flexibleSpace in  SliverAppBar widget

In browser console, I have de mensages:
Installed new service worker;
NoSuchMethodError: method not found: 'gl' on null
and
Another exception was thrown: Instance of 'minified:eO'

I don't know how it was fixed, but it doesn't seem to be happening any more. Tested in Chrome, Firefox, and Safari. Changed colors in the FlexibleSpaceBar and they all work, here's an amber example:


Add a parameter to optionally wrap the thext with a  tag

@jonmiles , would be great if you merged this PR, because now it's really hard to read/manipulate node text. Are you going accept or reject this PR ?

@heldev until @jonmiles decides to merge/close this, we created a fork: https://github.com/patternfly/patternfly-bootstrap-treeview/


Functional tests and CI

Run cargo fmt in nightly
Add namespace for inproc monero bridge (see if it resolve the issue at https://github.com/farcaster-project/farcaster-node/runs/4153268390?check_suite_focus=true#step:7:1710)
Ran cargo fmt
Ignore generated folder when running functional tests

Codecov Report

Merging #169 (fb9635c) into main (9bc8f29) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main    #169   +/-   ##
=====================================
  Coverage   15.6%   15.6%
=====================================
  Files         27      27
  Lines       5994    5994
=====================================
  Hits         937     937
  Misses      5057    5057

Impacted Files
Coverage Δ

src/syncerd/bitcoin_syncer.rs
0.0% <ø> (ø)

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 9bc8f29...fb9635c. Read the comment docs.


Configurable toolbar

I've refactored the Toolbar to allow defining it as configuration. I've tried not to go too crazy with the refactoring, although some of the components have very strong coupling (the More, the Contents dropdown and the rest of the "asides"). Probably it would be a good idea to further refactor that implementation, but for my purposes, to have the toolbar as configuration is enough.

Please stop hiding female work:

tiberiuichim yesterday Author Member
Great feedback! Thank you! I'll adjust accordingly. The route idea is very good, indeed, I'll try to get it working. Feel free to push changes to this PR as well, if you have ideas, I really don't mind.

@ksuess: I'm sorry, that was not my intention. For the bits that's you've provided as review yesterday, Github provided a button "accept suggestions", then everything was automated. I don't even know how you've managed to get that diff showing in the Github UI.

Hi @tiberiuichim, I am interested in a restriction of a toolbar menu/button to routes. Is it OK, if I have look at it, or did you already start to work on it?

@ksuess I'm sorry, I haven't had the time. Sure, you can go ahead with the required changes, either directly push to this branch or as a separate PR to this branch. Many thanks!

There's issues with the current implementation, some things I've fixed in https://github.com/plone/volto/commit/0ff4f18d16c6f2ed10b3d7451e765362c412e472
I've also noticed that I can't close the "More" menu by clicking on the document body.

Work continued as part of the Slots/Quanta PR


docs(guide): update pnpm create command

Description
It is not working to use pnpm create vite my-app -- --template xxx, may be it should be  pnpm dlx create-vite my-app --template xxx.
Additional context

What is the purpose of this pull request?

[ ] Bug fix
[ ] New Feature
[x] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[x] Ideally, include relevant tests that fail without this PR but pass with it.

Works on my machine. What's your pnpm version?

Works on my machine. What's your pnpm version?

Sorry, I may need to check my pnpm installation environment, because It seems that it just doesn't work when used internally in my company.


Fix import paths in simulation module

Prior to 93af28, the simulation directory was added to PYTHONPATH by appending to sys.path at the start of each file, before submodules of simulation such as core and interfaces were imported.
In 93af28, the calls to sys.path.append were moved below the import block and so relative imports of core and interfaces no longer resolve and the simulator fails to start with errors such as:
  File "/home/scott/projects/streaming/.venv/lib64/python3.12/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 88, in exec_func_with_error_handling
    result = func()
             ^^^^^^
  File "/home/scott/projects/streaming/.venv/lib64/python3.12/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 579, in code_to_exec
    exec(code, module.__dict__)
  File "/home/scott/projects/streaming/simulation/interfaces/sim_ui.py", line 17, in <module>
    from core.create_index import create_stream_index
ModuleNotFoundError: No module named 'core'

This commit prefixes the submodule imports with simulation. so the imports can be resolved, and without needing to manipulate sys.path. This works even when running the simulator outside the source repository, as setuptools.find_packages is used in setup.py to find the modules to package, and this finds the simulation module.

This looks reasonable to me right now, kicked off the tests to see if it breaks anthing else (linting having issues is a known issue). @snarayan21 to approve though


relative_proportional_spread using TM1py

I have been trying to implement this in my code but couldn't do that because i am unable to understand what to pass in  reference_unique_element_names
**def relative_proportional_spread(
self,
value: float,
cube: str,
unique_element_names: Iterable[str],
reference_unique_element_names: Iterable[str],
reference_cube: str = None,
kwargs) -> Response:
please help me with an example as this is an urgent requirement

Hi @pourushgupta,
if you are looking for a sample, and you don't find something in this project, you can check the tests folder in the TM1py project.
We have test cases for most of the functions in TM1py. For the relative_proportional_spread method we have these test cases:
test_relative_proportional_spread_happy_case
test_relative_proportional_with_explicit_hierarchies
test_relative_proportional_spread_without_reference_cube
test_relative_proportional_spread_with_different_reference_cube
This should help.
https://github.com/cubewise-code/tm1py/blob/fcdd5d57a483f1cc3aa30aa60065f393e0e56bb2/Tests/Cell.py#L223

Hi @pourushgupta,
if you are looking for a sample, and you don't find something in this project, you can check the tests folder in the TM1py project.
We have test cases for most of the functions in TM1py. For the relative_proportional_spread method we have these test cases:
test_relative_proportional_spread_happy_case
test_relative_proportional_with_explicit_hierarchies
test_relative_proportional_spread_without_reference_cube
test_relative_proportional_spread_with_different_reference_cube
This should help.
https://github.com/cubewise-code/tm1py/blob/fcdd5d57a483f1cc3aa30aa60065f393e0e56bb2/Tests/Cell.py#L223

Thank you so much for the quick response.
i tried referring those test cases but getting the below exception:
TM1py.Exceptions.Exceptions.TM1pyException: Text: {"error":{"code":"278","message":"DataSpreadFailed"}} Status Code: 400 Reason: Bad Request Headers: {'Content-Length': '70', 'Connection': 'keep-alive', 'Content-Encoding': 'gzip', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json; charset=utf-8', 'OData-Version': '4.0'}
Code used:
I have two dimension h_brand and t_month please refer the screenshot below
trying to apply the spread at Candy/Cough and Year but it is throwing the above exception.
tm1.cubes.cells.relative_proportional_spread(19283,'test_cube',["[h_brand].[Mondelez International]","[t_month].[TOTAL_MONTH]"],["[h_brand].[Candy/Cough]","[t_month].[Year]"])
Please refer the screenshot:

Please let me know if i am doing anything wrong

Hi @pourushgupta,
the error is DataSpreadFailed. This means TM1py executed a spread and it failed.
Does it work if you do the relative proportional spread on the same cell without TM1py?

Thank you @MariusWirtz for replying
Yes when i am trying it manually then it is working perfectly fine.
please let me know if you need anything else
please refer the screenshot

Hi @pourushgupta ,
the code looks good. I'm surprised it doesn't work.
What version of TM1 are you on?

please refer the screenshot for version information
i am using 2.0.7 tm1 version
If you want hierarchy or dimension details that also i can send

I will try to troubleshoot it this week. Could you upload the .dim files and the .cub file ?

Hi @MariusWirtz
Please find the attached .cub and .dim file for your reference.
Do let me know if you need anything else.
dim_cube_file.zip

Hi @pourushgupta,
In your screenshot, you are executing a proportional spread.
You can do the proportional spread with TM1py like this:
with TM1Service(address=ADDRESS, port=PORT, user=USER, password=PWD, ssl=SSL) as tm1:
    tm1.cubes.cells.write_values(
        'test_cube',
        {("Mondelez International", "TOTAL_MONTH"): 'P<>100'})

The shortcuts for the different kinds of spreading you find here:
https://www.ibm.com/support/knowledgecenter/SSD29G_2.0.0/com.ibm.swg.ba.cognos.tm1_prism_gs.2.0.0.doc/c_tm1_prism_data_entry_shortcuts.html

Thank you @MariusWirtz for the solution but unfortunately it is not working for me as i simply copy pasted the function but it is still throwing the same exception.
ERROR BELOW:
TM1py.Exceptions.Exceptions.TM1pyException: Text: {"error":{"code":"143","message":"DataSpreadFailed"}} Status Code: 400 Reason: Bad Request Headers: {'Content-Length': '70', 'Connection': 'keep-alive', 'Content-Encoding': 'gzip', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json; charset=utf-8', 'OData-Version': '4.0'}

Could you please provide a solution on this @MariusWirtz

The above script works for me and doesn't throw an Exception.  So the code itself is alright.
Here is what you can do:

Try to upgrade to the latest version of TM1py.
Look into security. Try to execute as admin.
Do you perhaps have a rule blocking the cell?
Try on a different machine with a different setup

To upgrade TM1py run:
pip install https://github.com/cubewise-code/tm1py/archive/master.zip --upgrade
My version of TM1 is: 11.7.00002.1


Website not working

Website not working - http://salvattore.com/

@rnmp @ppold can you help there?

Site is running again. Closing this.


No offense, but I wonder its relationship with vimac

No offense, but I wonder its relationship with vimac.
They are quite similar.

Maybe it's not appropriate. I'm closing this issue now. Anyway, thank you for bringing such an excellent application.


In-place encoding and decoding

The read_message and write_message functions take a & source and &mut destination to perform encoding and decoding. Currently this necessitates different buffers which seems wasteful. Most crypto libraries (e.g. libsodium) offer in-place encoding and decoding support which is quite convenient. Is this something desirable for snow?

Seconded, I would also find this quite useful, as in-place is what I need in order to plug snow into quinn-proto's cipher traits for a project I'm working on. Copying the data into a temporary buffer to meet snow's interface would work, but that would mean I'm actually copying data into a temporary buffer, then snow copies it into another buffer, and then performs the encrypt/decrypt step. Workable, but not my favorite approach.
Given that all the existing resolvers actually do in-place encrypt/decrypt internally, it seems like this should be pretty easy to switch to, while maintaining the existing read_message and write_message functions. The new in_place functions could be just like those functions, but have only a single buf: &mut [u8] buffer instead, which would be sized to the plaintext+TAGLEN / the ciphertext length.
I know this would change the Cipher trait's interface, but I think that's already in the cards for the next update anyway? It looks like there's a plan to switch to a fixed-size reference for set, which would also be a breaking change.
I'd be happy to implement this and make a pull request.

After taking an initial shot at implementing and using this, it looks like a better addition would be to have a mutable buffer for encrypt/decrypt, but to make the authentication tag detached. That way the existing read_message functions can call the in-place versions under the hood without needing an output buffer big enough to contain the tag as well as the plaintext. This also matches up with what all the snow-supported crypto crates do.

After taking an initial shot at implementing and using this, it looks like a better addition would be to have a mutable buffer for encrypt/decrypt, but to make the authentication tag detached. That way the existing read_message functions can call the in-place versions under the hood without needing an output buffer big enough to contain the tag as well as the plaintext. This also matches up with what all the snow-supported crypto crates do.

Taking inspiration from libsodium (https://doc.libsodium.org/secret-key_cryptography/aead/aes-256-gcm), it features combined and detached modes with the auth tag attached (the usual case) and detached respectively. Ofc it is C, so there's no aliasing concerns, would have to prototype and see what's best for Rust.

Exposing a detached mode seems like the most important - any other interface can be built on top of that.
That said, my motivating use case is writing a crate that uses snow to provide the cryptography for quinn-proto, a QUIC protocol implementation. In that case, I already have to do the somewhat uncomfortable step of using the snow/risky-raw-split feature to extract the send & receive keys into new boxed Cipher instances. I really just need these cipher-in-place interfaces for that trait. As such, I don't have any particular need for these to be exposed in the transport structs, and am not sure what would be the most helpful.
If I were to guess, though - exposing write_message and read_message detached variants since they're the most fundamental, and exposing ones that work with BytesMut and Bytes from the bytes crate. These would match the "combined" mode you see in libsodium, ring, and the ciphers that use the aead traits. It would also make it fairly easy to upgrade libp2p-noise to stop copying bytes around, which would be good since that seems to be where a significant number of snow downloads off crates.io are coming from.
I don't think it's nearly as important to bother changing this stuff in the handshake struct, since total handshake data will be vastly smaller than total transport data.
@roshanr95 do you have a particular use case in mind? Would this fill that need?

For me, it's mainly just not having to create two separate buffers and throw away one every time. Given a detached version, the combined version seems to be just a split_at(_mut) away if I'm not wrong.

Yep, it'd be exactly that if your interface works with buffers that leave space for the tag. This is a mockup of what could be done for TransportState:
    pub fn write_message_in_place_detached(
        &mut self,
        authtext: &[u8],
        buffer: &mut [u8],
    ) -> Result<[u8; TAGLEN], Error> {
        // ...
    }

    pub fn write_message_in_place(
        &mut self,
        authtext: &[u8],
        buffer: &mut [u8],
    ) -> Result<(), Error> {
        // Verify the buffer has enough space before splitting it
        if buffer.len() < TAGLEN { return Err(Error::Input); }
        let (buffer, tag_buffer) = buffer.split_at_mut(buffer.len()-TAGLEN);

        // Write the message and append the tag
        let tag = self.write_message_in_place_detached(authtext, buffer)?;
        copy_slices!(tag, tag_buffer);
        Ok(())
    }

    pub fn read_message_in_place_detached(
        &mut self,
        authtext: &[u8],
        buffer: &mut [u8],
        tag: &[u8; TAGLEN],
    ) -> Result<(), Error> {
        // ...
    }

    pub fn read_message_in_place<'a>(
        &mut self,
        authtext: &[u8],
        buffer: &'a mut [u8],
    ) -> Result<&'a [u8], Error> {
        // Verify the buffer has enough space before splitting it
        if buffer.len() < TAGLEN { return Err(Error::Decrypt); }
        let (buffer, tag_buffer) = buffer.split_at_mut(buffer.len()-TAGLEN);
        let tag: &[u8; 16] = (&*tag_buffer).try_into().unwrap();

        // Read the message and return the plaintext slice on success
        self.read_message_in_place_detached(authtext, buffer, tag)?;
        Ok(buffer)
    }

I've got a working branch that implements the detached versions here: https://github.com/Cognoscan/snow/tree/cipher_in_place
The interface into Cipher has been augmented with two more functions, which any trait implementation has to use instead of the original read and write traits. Blanket implementations are in the trait for those. The various pieces that use Cipher thus don't need to change at all, and the detached functions can just call into the trait functions pretty transparently.

@mcginty At this point I've got what I need in a fork, so I can keep developing my own snow-dependent crate. I'd love to see some variation on this extension in snow at some point if possible though! I know it's not part of the core Noise protocol documentation, but sure seems like it'd be helpful for users of this crate.


Add chip on the click of tab

Describe the bug
After typing the email if I click the tab chip is not getting added even after adding 'Tab' in the addOnWhichKey Options

To Reproduce
Steps to reproduce the behavior:
Codesandbox code
Expected behavior
If we keypress 'Tab' text should become chip in the input box
Additional context
Add any other context about the problem here.

Fixing it...


Is this project dead ?

This project doesn't seem to be maintained anymore but it seems to be really useful
Is there any reason why the support is gone?
Is there another similar project?
Is there a better way to generate firebase rules?
Many thanks

Ok I found this project after a little search that seems to be the successor of Bolt and targets especially Firestore
I didn't try it yet so I don't know how good it is

Ok ! thanks for the clarification


Add HTTP request parsing

This extends the existing http parser to support requests as well as responses. This allows, for example, security connectors to parse HTTP requests as part of their do_handshake() method.
httpcli continues to exist and work as it has previously, though in the new directory src/core/http (to reflect the fact the directory now contains code relevant to parsing requests, which httpcli would not generally involve itself in).

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

This is ok to test.

Thanks for this! It might take me a day or two to get to it (my schedule is
loaded at the moment), but I will get to it.
On Tue, Feb 23, 2016 at 10:21 PM jboeuf<EMAIL_ADDRESS>wrote:

Assigned #5383 https://github.com/grpc/grpc/pull/5383 to @ctiller
https://github.com/ctiller.
—
Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/pull/5383#event-563038654.

This looks really good.
There's some merge conflicts that I'm hoping you can fix, and then let's see how the tests look... but basically LGTM.

Thanks, I've now fixed up the merge conflicts and also fixed a couple broken asan breakages that I introduced.

Can one of the admins verify this patch?

@ctiller can we merge this?

@nicolasnoble and @jtattermusch are solely responsible for doing merges right now - but I've added it to their queue

There are a few nits for copyrights (we're not allowed to move copyrights forward, but we can extend them).
LGTM otherwise.

No problems, I fixed the copyrights up. Thanks.

this is ok to test


Calling mocha.run() with no tests should result in an error

See https://github.com/metaskills/mocha-phantomjs/blob/v4/test/no-tests.html

Hi,
Out of curiosity, can I ask why this should result in an error?
In a typical build workflow, I'll use gulp-mocha-phantomjs, which requires mocha-phantomjs-core ^1.0.0, to continously execute tests as files change.
When I start new project, I generally start with a decent amount of scaffolding I've built from project to project, which includes a gulp file and testing environment, but no tests.
It came as a surprise to me yesterday that gulp wasn't able to complete the build tasks until at least one test has been added to the project.
There are obviously several options to mitigate this issue within a project using mocha-phantomjs, and I'm not indicating that compatibility with gulp-mocha-phantomjs should be this project's concern -- just wondering if I can understand the justification and possibly put the use case on the table for consideration.
Thanks

If something caused your tests to not load at all, mocha normally passes with 0 tests ran. A test run with no tests is a big red herring and I've been bitten many times in the past about a successful build that wasn't successful at all because tests failed to run.
If you've added all that scaffolding, add one simple tests for the scaffolding. Or don't enable your test task until you actually write some tests.

Agree that either of the two options you mention are easy ways to avoid this issue -- thanks for clarifying the justification.  Makes sense.


[Question] How can I add an extra door?

I have a 3rd door which I would like to be able to view the status for, can anyone help me with this?
Thanks in advance.

Nevermind, my brain kicked in after writing this...


model: add test method

Add test() method so that to be able to test TEST_CASES for interactive programming purposes (e.g. ipython, notebooks etc.) like:
t = TestClass()
t.test()

LGTM, thanks for the contribution.
Could you also amend the documentation to explain the purpose of .test, e.g.  in docs/library/testing.md?

Thanks for the docs


Persist PDS URL for session resumption

Fixes the pesky issue where non-blocking session resumption would cause API requests to go through bsky.social rather than the intended PDS URL.
This is a little more annoying than it needed to be because there isn't a single function for mapping the agent's state to the intended persisted schema. I believe I have caught all the cases (looked at where upsertAccount is being called)
This fixes handle resolution issues during initial page load for any and all accounts that are currently residing outside of bsky.social instances.
Should have a slight network improvement as well as it doesn't have to make connection requests to bsky.social first before going through the user's actual PDS.

I took a stab at fixing it in the API client itself so it doesn't have to do that mutation to both .pdsUrl and .api.xrpc.uri but I wasn't sure about the monkeypatching it necessitated.

Thank you! What's a good way to test it? Like before/after.

Well, I mean — is there a good way to test this assuming I'm not super familiar with the atproto network stuff. E.g. I'm imagining a test plan like

Load some user's profile (who should I use)
Before: (here's what was wrong in the UI)
After: (here's what's corrected now)

That would help me test it. (I can also wait until someone more knowledgeable than me wakes up :)

Ah, sorry, misunderstood the question.

https://bsky.social/profile/genco.me
before: leads to on-plc.genco.me ❌
after: leads to genco.me ✅

https://bsky.app/profile/mary.mraow.party/post/3km5ymk4hhk2z
before: fails with handle resolution error ❌
after: should load the thread ✅

What happens if your PDS changes?

with bsky.social being the only multi-instanced PDS, I'm not so sure how it'd work. my assumption is that once you're settled in one of the *.host.bsky.network PDS then you shouldn't be moved to anywhere else?
at least for other PDSes, if you've moved your account then your tokens are pretty much invalid and you shouldn't be able to refresh or login with the same PDS.

Let's keep this until the next release to be safe.


As an campus partner user, I want to login to CEPI application by entering a valid username and password

Test script for this story is done but waiting for user credentials that has access to login in dev.


Support OSB API response schemas

CI Failure:
contrib/pkg/brokerapi/schemas.go:39:1: comment on exported type InputParametersSchema should be of the form "InputParametersSchema ..." (with optional leading article)


python37Packages.voluptuous-serialize: 2.2.0 -> 2.3.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-voluptuous-serialize/versions.
meta.description for python37Packages.voluptuous-serialize is: '"Convert Voluptuous schemas to dictionaries so they can be serialized"'.
meta.homepage for python37Packages.voluptuous-serialize is: '"https://github.com/balloob/voluptuous-serialize"

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 2.3.0 with grep in /nix/store/b5wjwmarmzlgfqfviy57wnr0d3dv4z4s-python3.7-voluptuous-serialize-2.3.0

directory tree listing: https://gist.github.com/ce6e83a0d7a7521377b04a3f13242468

du listing: https://gist.github.com/d09965aba1251cdc9e46ade7b3a39159

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

4 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
python37Packages.voluptuous-serialize

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/b5wjwmarmzlgfqfviy57wnr0d3dv4z4s-python3.7-voluptuous-serialize-2.3.0 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A python37Packages.voluptuous-serialize https://github.com/r-ryantm/nixpkgs/archive/fd35dad46b483f6333be04a73357cdc0dae2a5fd.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/b5wjwmarmzlgfqfviy57wnr0d3dv4z4s-python3.7-voluptuous-serialize-2.3.0
ls -la /nix/store/b5wjwmarmzlgfqfviy57wnr0d3dv4z4s-python3.7-voluptuous-serialize-2.3.0/bin

cc @etu for testing.

@GrahamcOfBorg eval


className collector is missing in collectors documentation

className collector is missing in collectors documentation page, but other pages uses it in examples.

Apparently className is an alias for classLike. I have no idea when it happened that it was added, but should probably be removed.

Not sure how to remedy this one. It is not documented and the only reason people might know about it is from examples/tests/looking at source code. I am inclined to fix the examples and remove it. className is also misleading as it functions as classLike and also matches against interfaces and traits.

className was the old name, along with classNameRegex, both are superseded by classLike. I am not sure if they are properly labelled as deprecated, but I am in favor for removing them outright and fixing the docs

So its not as straightforward as that.
class only finds 'classes'  e.g. no interfaces, traits [keep]
className <- this own is deprecated have a look at the service.php and you will see its just an alias for classlike! [remove]
classNameRegex <- that's the only own that also allows to add options to your regex-pattern. I don't know if this is used in the wild. [maybe keep for now]


Make latch and IO reading match input format

This means that reading IO will result in 10 hex digits like so: AABBCCDDEE where the LSB is ZIF 1. Compare this to the old output
'Result: EESSCCBBAA'. Same change applies to latch.

Hmm the string parsing is a little more fragile than it was previously. Before it was matching "Result:", not it has hard coded number of character skips, which is not necessarily correct depending on the command format?

Yes, though the match string was hard coded previously too.
This method is likely much faster, however.

Using regexs is usually quite slow.


Create and use additional Status profiles

create create-and-use-additional-status-profiles.md
Fix URL

Thank you @jorge-campo for your comments. I have implemented the changes and merged the content into the master branch.


Add a wiki: Viki

An anonymous user has submitted a new wiki via our submission form.
Link to origin wiki: https://spacestation.fandom.com
Link to destination (independent) wiki: https://vsix.dev/wiki/

https://vvvvvv.fandom.com/ should also be redirected here; both discuss the same game and have very similar content

Added! Will be in the next update.

Now available in version 2.0.0


How to access the user in a Controller?

Thanks for your work. There is something I just can't figure out. I hope you will help me here.
I use your provider on a core web api project. Acting with javascript on the other hand. Therefore I use jwt Bearer Authentication.
`			app.UseMiddleware(Options.Create(options));
		app.UseJwtBearerAuthentication(new JwtBearerOptions {
			AutomaticAuthenticate = true,
			AutomaticChallenge = true,
			TokenValidationParameters = tokenValidationParameters, ...

`
All works quite fine. The user gets a token, i can validate if the token is valid. The authorize attribute at the controller works nice. But how can I now access the user in the controller now? How do I know there to which user the current request belongs too? HttpContext.User doesn't give me anyth. Not the Claims-Identity I returned at the GetIdentity and not any claim... Where to set it or where to get it?!
So what I need is a possibility to access the username, claim data, the identity etc. at the controller class.
Please help
thank you
R

change this^

change this:

ang result theis:

Hey @raupes - not sure if you already figured this out, but the UseJwtBearerAuthentication middleware will automatically convert JWT claims into ClaimsIdentity claims for you. You shouldn't have to change any of the code in the example to see this in action.
I added a commit that demonstrates this here: https://github.com/nbarbettini/SimpleTokenProvider/commit/d74333065f8a33e7e58d1f05fcd21abe96766fb9


Example hygen-add cra fails

Perhaps something in yarn changed?
$ hygen-add cra

Can't add hygen-cra

 [Error: ENOENT: no such file or directory, scandir 'node_modules/hygen-cra/_templates'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'scandir',
  path: 'node_modules/hygen-cra/_templates'
}

Same problem happening for me. If you create the folder node_modules/hygen-cra/_templates manually, hygen-add will download the template, but npx hygen will not be able to read it.

@youngm if this is still of any interest to you, I created a alternative: https://pypi.org/project/hygen-add/0.1.0/
pip install hygen-add and you can use hygen-add against github repositories from the command line.

Thanks @italomaia next time I'm doing work on our hygen templates I'll take a look.


Add Swift 5.9

This PR adds support to Swift 5.9

Any update regarding this PR?

Hi @brennobemoura! Thanks for contributing! Seems like the actions haven't triggered correctly, I'll try it out manually 👍🏻

Sorry jumped the gun here as 5.9 is not yet generally available and this action currently doesn't support dev releases, will have to revisit this.


HSEARCH-4215 Add information about session activity.

Session activity information is missing. This is very important if the previously opened session was opened by another code fragment in the same transaction. Elsewhere, the same session is accessed without knowing if a session shutdown was programmatically performed before.
https://hibernate.atlassian.net/browse/HSEARCH-4215
Use case:
        String key = "some key";
        if (key != null && TransactionHelper.isInTx()) {
            session = SearchTransactionUtil.get(key);
        }

        if (session == null || !session.isOpen()) {
            SearchMapping mapping = createMapping(unit, type, owner);

            session = mapping.createSessionWithOptions().
                    loading((options) -> {
   .........
                    }).build();
            SearchTransactionUtil.put(key, session);
        }
        return session;

Merged, thanks


Missing ontology terms from FungiDB

The following ontology terms are missing from FungiDB (fung-inc):
Could not determine Accession Number for: [elk]
Could not determine Accession Number for: [deer]
Could not determine Accession Number for: [ferret]
Could not determine Accession Number for: [bird]

Here are the mapped NCBITaxon terms with scientific names of the organism
[elk] - NCBITaxon_1574408 Cervus canadensis
[deer] - NCBITaxon_9850 Cervidae
[ferret] - NCBITaxon_9669 Mustela putorius furo
[bird] - NCBITaxon_8782 Aves
If the terms are used in organism annotation, please add the terms with mapped ontology IDs in the ontologyMappings.xml. It should fix the loading issues. Please let me know if there is any further problem.

It works now. Thank you,


AWS Glue - Arango Oasis Spark Connection unclassified error on read_collection load "An error occurred while calling o120.load. org/apache/spark/sql/arangodb/commons/ArangoDBConf$"

Setup:
ArangoGraph Oasis 3.11 (oneshard model, 3 x 4GB)
AWS Glue 4.0 - Spark 3.3, Scala 2, Python 3
ArangoDB Spark Connector [version 1.7.0](https://mvnrepository.com/artifact/com.arangodb/arangodb-spark-datasource-3.3_2.13-1.7.0.jar)

Description:
Trying to set up an ETL pipeline to read a collection from our Arango Oasis instance, and we keep running into the same error. We're performing the ETL job in AWS Glue. We're connecting to the database through a NAT Gateway. We based our Glue job script off of the python demo arangodb-spark-datasource/demo/python-demo/demo.py, and we're providing the DB credentials via SecretsManager. Here's what our python code looks like:
def read_collection(spark: SparkSession, collection_name: str, base_opts: dict[str, str], schema: StructType) -> pyspark.sql.DataFrame:
    arangodb_datasource_options = combine_dicts([base_opts, {"table": collection_name}])

    return spark.read \
        .format("com.arangodb.spark") \
        .options(**arangodb_datasource_options) \
        .schema(schema) \
        .load() #fails here

We believe the error is occuring on .load(), and we're wondering if anyone else has run into the same error when trying to setup a connection within AWS Glue, or if anyone has any tips for us to try:
ExceptionErrorMessage failureReason: An error occurred while calling o121.load. org/apache/spark/sql/arangodb/commons/ArangoDBConf$
24/09/30 16:27:46 INFO AmazonHttpClient: Configuring Proxy. Proxy Host: <IP_ADDRESS> Proxy Port: 8888
24/09/30 16:27:46 INFO ProcessLauncher: Enhance failure reason and emit cloudwatch error metrics.
24/09/30 16:27:46 INFO ProcessLauncher: postprocessing
24/09/30 16:27:46 WARN OOMExceptionHandler: Failed to extract executor id from error message.
24/09/30 16:27:46 ERROR ProcessLauncher: Error from Python:Traceback (most recent call last):
  File "/tmp/ArangoDB_CompGraph_ETL.py", line 99, in <module>
    collection = read_collection(spark, "competency_transitive", arango_options, edges_schema)
  File "/tmp/ArangoDB_CompGraph_ETL.py", line 97, in read_collection
    .load()
  File "/opt/amazon/spark/python/lib/pyspark.zip/pyspark/sql/readwriter.py", line 184, in load
    return self._df(self._jreader.load())
  File "/opt/amazon/spark/python/lib/py4j-<IP_ADDRESS>-src.zip/py4j/java_gateway.py", line 1321, in __call__
    return_value = get_return_value(
  File "/opt/amazon/spark/python/lib/pyspark.zip/pyspark/sql/utils.py", line 190, in deco
    return f(*a, **kw)
  File "/opt/amazon/spark/python/lib/py4j-<IP_ADDRESS>-src.zip/py4j/protocol.py", line 326, in get_return_value
    raise Py4JJavaError(
py4j.protocol.Py4JJavaError: An error occurred while calling o121.load.
: java.lang.NoClassDefFoundError: org/apache/spark/sql/arangodb/commons/ArangoDBConf$
	at com.arangodb.spark.DefaultSource.extractOptions(DefaultSource.scala:16)
	at com.arangodb.spark.DefaultSource.getTable(DefaultSource.scala:38)
	at com.arangodb.spark.DefaultSource.getTable(DefaultSource.scala:31)
	at org.apache.spark.sql.execution.datasources.v2.DataSourceV2Utils$.getTableFromProvider(DataSourceV2Utils.scala:83)
	at org.apache.spark.sql.execution.datasources.v2.DataSourceV2Utils$.loadV2Source(DataSourceV2Utils.scala:132)
	at org.apache.spark.sql.DataFrameReader.$anonfun$load$1(DataFrameReader.scala:209)
	at scala.Option.flatMap(Option.scala:271)
	at org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:207)
	at org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:171)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)
	at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:357)
	at py4j.Gateway.invoke(Gateway.java:282)
	at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)
	at py4j.commands.CallCommand.execute(CallCommand.java:79)
	at py4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)
	at py4j.ClientServerConnection.run(ClientServerConnection.java:106)
	at java.lang.Thread.run(Thread.java:750)
Caused by: java.lang.ClassNotFoundException: org.apache.spark.sql.arangodb.commons.ArangoDBConf$
	at java.net.URLClassLoader.findClass(URLClassLoader.java:387)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
	... 21 more

Can you please report the exact versions of the libraries in your environment?

Scala
Spark
PySpark
Python

Scala 2
Spark 3.3
PySpark 3.3.0
Python 3
@rashtao

I guess you are running on Scala 2.12? In such case you should use ArangoDB Spark Connector for Scala 2.12: com.arangodb:arangodb-spark-datasource-3.3_2.12.

We have switched over to using the correct connector version com.arangodb:arangodb-spark-datasource-3.3_2.12 as you've suggested, and we are now seeing a slightly different error:
ExceptionErrorMessage failureReason: An error occurred while calling o121.load. org.apache.spark.sql.sources.DataSourceRegister: Provider com.arangodb.spark.DefaultSource not found

Note that the jar file of ArangoDB Spark Datasource does not bundle all its dependencies. Adding this single jar file is not enough. You should let Spark fetch it from Maven along with all its transitive dependencies.
E.g.:
spark = SparkSession.builder \
    .config('spark.jars.packages', 'com.arangodb:arangodb-spark-datasource-3.3_2.12:1.8.0') \
    ...
    .getOrCreate()

Or submit with:
spark-submit \
    ...
    --packages="com.arangodb:arangodb-spark-datasource-3.3_2.12:1.8.0"

We have tried creating the Spark session within Glue as you've described, but we are still seeing the same error.
For reference, this is how we're building the spark session within Glue:
glueContext = GlueContext(sc)
# spark = glueContext.spark_session

spark = SparkSession.builder.appName("ArangoDBPySparkData").config("spark.jars.packages", f"com.arangodb:arangodb-spark-datasource-3.3_2.12-1.8.0").getOrCreate()

Perhaps we need to put the dependent jar files within S3, and provide those S3 paths to the Glue job? Where can we find those dependencies and their .jar files?
Thank you for your responsiveness @rashtao  - We've already tried getting support from folks at AWS, but it seems they are stumped on our issue as well.

Please note that there is an error in the configuration value of spark.jars.packages that you reported above, it should be com.arangodb:arangodb-spark-datasource-3.3_2.12:1.8.0 (GAV coordinates) and not com.arangodb:arangodb-spark-datasource-3.3_2.12-1.8.0.
As you can see, this usage scenario is tested in the demo. You might want to investigate further with AWS support why transitive dependencies are not resolved in your AWS Glue application.
If you prefer to work around it by manually adding all the jars of the transitive dependencies, then you should include these:

com.arangodb:arangodb-java-driver-shaded:7.9.0
com.arangodb:arangodb-spark-commons-3.3_2.12:1.8.0
com.arangodb:arangodb-spark-datasource-3.3_2.12:1.8.0
com.arangodb:jackson-dataformat-velocypack:4.3.0
com.arangodb:velocypack:3.1.0


Typo

"Вкоючить"->"Включить"

Sorry, but we don't accept translation fixes through GitHub. If you want to help fix the translations, please visit the Crowdin project for YouTube Center. You can find it here.

If somebody with crowdin account sees this message, feel free to make the fix there.


Crash on configuration change with a large questionnaire

Describe the bug
App crashes with configuration change while using a large questionnaire
Component
SDC library
To Reproduce

Use the questionnaire attached in this issue
Minimize the application after rendering the quesitonnaire

Expected behavior
App should not crash and the current state should be available
Smartphone (please complete the following information):

OnePlus 7t Pro

questionnaireLarge.txt

Temporarily fixed by putting...
override fun onSaveInstanceState(outState: Bundle) {
        super.onSaveInstanceState(outState)
        outState.clear()
    }

in the parent activity. Seems like the outState Bundle is too big to save.

ETA 19th August 2021

The issue indeed is caused by storing Questionnaire Json in the bundle here. Rather than storing the questionnaire json, we could store the json file path and load the json from the disk if not previously cached in the memory. Here is an existing example.
@jingtang10 WDYT?

What I don't quite understand about this issue is that, if we're hitting the size limit of bundle (https://developer.android.com/guide/topics/resources/runtime-changes) why doesn't it crash when we first use the bundle to pass data to com.google.android.fhir.datacapture.QuestionnaireFragment but only crashes upon configuration change? @yigit @kevinmost ideas?
Discussed with @stevenckngaa who sent out a fix #745. His fix allows the developers to pass to com.google.android.fhir.datacapture.QuestionnaireFragment an URI rather than the actual questionnaire content. I'm a bit in two minds about this... This solves the problem nicely but I don't really want the library to take on too many responsibilities :)
Another potential fix is to just share the view model with the developer. com.google.android.fhir.datacapture.QuestionnaireViewModel is internal. I feel we should just open it up so the gallery app can just directly set data on the view model.

@joiskash can you please try if this works for you? #746

we actually discussed this in the initial PR.
It is quite possible that we don't hit it at first because we are just close to the limit and then when UI adds its own data, it pushes us over the edge.
We need to write a mechanism to save these questionaires to disk and also cleanup.
I don't think the URI solves the problem, it mostly just moves it around and adds complexity. I think we would be much better off w/ a file system based methodology that also does cleanup.

Jing and I did discuss the save questionnaires to disk before the prototype. We both think that's a good idea.
In #745, I did save the questionnaire to external cache directory. The reason I opt for URI is that we can later refactor the code to use InputStream. By using IParser#parseResource, we can create questionnaire without caching large JSON in memory.

@yigit in #746 I'm making the view model visible to the library client (no longer internal). It is then a shared view model and the client can interact with it rather than passing a data bundle to the fragment.
we followed the documentations here https://developer.android.com/topic/libraries/architecture/viewmodel#sharing
this would alter the way the client uses the library but i have confirmed it does fix the issue on my device.

While the binder limit is avoided in #746, the questionnaire JSON text is still being cached in the memory of the ViewModel alongside with the Questionnaire object. Is there any concern of extensive memory usage while loading a large questionnaire in particular on low end devices?

While the binder limit is avoided in #746, the questionnaire JSON text is still being cached in the memory of the ViewModel alongside with the Questionnaire object. Is there any concern of extensive memory usage while loading a large questionnaire in particular on low end devices?

Yes, we have seen a lot of crashes related to OOM on low end devices. So it will be best for us to not have copy of the same data in two different formats.

Tested on Different devices by adding large questionnaire mention in above issue. App crash not observed.


PID recorded on AWS EC2 at startup was wrong.

One more issue:
the PID recorded for the node-startup app is pointing to the bash shell used to start the script instead of referencing the node app that is actually running.
why would this happen? And how can I fix it?

looks like $! isn't being set properly.

here is the line of code that is doing it.
is there a race condition of sorts between when the $! is fetched and when
the node process is launched?
echo "cd $APP_DIR && PORT=$PORT NODE_ENV=$NODE_ENV
NODE_CONFIG_DIR=$CONFIG_DIR $NODE_EXEC $APP_DIR/$NODE_APP 1>$LOG_FILE 2>&1
& *echo $! *> $PID_FILE" | sudo -i -u $USER
On Fri, Feb 5, 2016 at 12:32 PM, Anthony Ettinger<EMAIL_ADDRESS>wrote:

looks like $! isn't being set properly.
—
Reply to this email directly or view it on GitHub
https://github.com/chovy/node-startup/issues/30#issuecomment-180545614.

@funmu It's been fixed


Two empty, unsaved files are created and opened in the editor whenever I use the chat

Copilot Chat Extension Version:
1.245.0

VS Code Version:
Version: 1.96.0-insider
Commit: 841e8b187db105c686aab655d8f966c154e66a7f
Date: 2024-11-14T05:04:02.900Z
Electron: 32.2.1
ElectronBuildId: 10427718
Chromium: 128.0.6613.186
Node.js: 20.18.0
V8: 12.8.374.38-electron.0
OS: Darwin arm64 23.6.0

Logs:
No output

Steps to Reproduce:

CTRL-CMD I to start the chat
Ask anything about current file (e.g., "add comments to each function"
Two empty, unsaved files are created and opened in the editor as soon as I press return in the prompt window

CTRL-CMD I to start the chat

Sorry, but I am not sure if you mean inline chat (cmd+i inside the editor) or copilot edits (cmd+shift+i)

I meant what I wrote, , Keybinding "View: Show Chat" , it opens the copilot chat panel on the side

same. 2 files appear as soon as I submit a chat.

Ok, someone please help and distill steps. This is what I do

open a file
open panel chat
ask "add comments to each function"
get a code reply in the box
no unsaved/dirty files...

https://github.com/user-attachments/assets/60128906-7fe5-4980-b66e-b1bc99b17883

One thing that could be relevant - I am editing a python file, you (@jrieken ) were editing a js one. Maybe it's a clash with the python plugins? Just throwing wild guesses out there

Also with a python file on screen, I cannot reproduce. Can you try extension bisect to see if there is another extension involved? These are the instructions:
It looks like the issue is caused by one of your installed extensions. All extensions execute together on a single nodejs process, so in order to narrow down the possible problematic extension, please try the following:

run F1 > Help: Start Extension Bisect
(this will restart VS Code with half of your extensions disabled)
try to do the steps which reproduce the problem
if the problem reproduces, click "This is bad" (this narrows down the problematic extension to the half which was enabled)
if the problem does not reproduce, click "Good now" (this narrows down the problematic extension to the half which was disabled)
these steps will repeat until the problematic extension is found

initial
step
final

I finally had some time to do the bisect thing and.... it's not happening any more.
I guess whatever caused was fixed. Closing issue, happy to reopen if other people are still experiencing it.

Following up on the closing of this issue; still experiencing the same problem. Any time I send any chat in the copilot chat box, it opens 2 blank unsaved files: Untitled-1 and Untitled-4. I bisected and the conclusion was that is is github copilot chat. Because Fritz said his issue went away, I downloaded the latest vscode update, disabled all other extensions aside from copilot and copilot chat, even tried switching to pre-release version of copilot chat, and the issue remains in all cases I have tested. I have no reason to believe that this is anything but a copilot chat issue at this point.

How bizarre. Happy to reopen the issue.

Any time I send any chat in the copilot chat box, it opens 2 blank unsaved files: Untitled-1 and Untitled-4. I bisected and the conclusion was that is is github copilot chat.

I believe you but given very many chat users and our daily self-hosting not showing this, there must be something more complex as "make a request".
Can you try with an empty profile? Or without settings? Can you share the working in which you are trying this? What prompt do you use?

Possibly resolved - TLDR for those who want the problem to go away: delete your workspaceStorage cache to fix.
@jrieken further information below:

Can you try with an empty profile?

Tested by creating a new temporary profile and then installing only the copilot extensions in this. If I use this profile in a new blank directory/workspace, it does not create the empty files. However, if I use this temporary profile in my main workspace, it does create the files. So it seems workspace related and not profile related.
I did further testing and noted that, even while using my default profile, the extraneous file creation does not occur in any of my other typical workspaces, meaning it is only related to my primary workspace (the oldest and most used one on my machine). Because of this, I figured I would look at the workspace cache. I looked in /Users/<Username>/Library/Application Support/Code/User/workspaceStorage and identified the directory related to my primary workspace. Inside of this was a directory named GitHub.copilot-chat, with a single file inside of it named workspaceEmbeddingsCache-text-embedding-3-small512.json. I cut/pasted this directory & file out of the workspace storage and re-opened this workspace - now I no longer can recreate the extraneous file spawning.
I attempted to paste this directory back into the workspace folder where it originally was found to see if the problem came back, but it did not. So, not exactly a concrete cause, but it seems like the workspace cache was corrupted in some fashion since removing this dir/file was the only change I made at the time which caused the problem to disappear.

What prompt do you use?

Well, before I just seem to have fixed it, any prompt at all. For example, a prompt related to a line in an open code file or just nonsensically prompting "test" will cause the files to be created.

@mjbvz @TylerLeonhardt does workspaceEmbeddingsCache-text-embedding-3-small512.json ring a bell for you?

Yes that's an internal state file for the workspace. I don't know any flow that could cause it to affect the user's opened editors as we only use the fs apis for interacting with it

any timeline for this? this is very annoying...

@vvolodin can you try the above steps and see if that fixes it for you? https://github.com/microsoft/vscode-copilot-release/issues/2699#issuecomment-2512389272


Bad VPK Version<PHONE_NUMBER>)

Describe the bug
Whether I open the VPK using GCFScape or VRF, you will be prompted with the VPK version problem.
VRF displays "Bad VPK version.<PHONE_NUMBER>)".
This is an L4D2 game package file. The game can read it, but the unpacking softwares cannot read the file
What Valve game does this happen in
Left 4 Dead 2
Reference file in a Source 2 game
（Not an official vpk file）
Expected behavior
System.IO.InvalidDataException: Bad VPK version.<PHONE_NUMBER>)
at SteamDatabase.ValvePak.Package.Read(Stream input) in /home/runner/work/ValvePak/ValvePak/ValvePak/ValvePak/Package.cs:line 203
at SteamDatabase.ValvePak.Package.Read(String filename) in /home/runner/work/ValvePak/ValvePak/ValvePak/ValvePak/Package.cs:line 157
at GUI.Types.Viewers.Package.Create(VrfGuiContext vrfGuiContext, Byte[] input) in D:\a\ValveResourceFormat\ValveResourceFormat\GUI\Types\Viewers\Package.cs:line 35
at GUI.MainForm.ProcessFile(VrfGuiContext vrfGuiContext, PackageEntry file) in D:\a\ValveResourceFormat\ValveResourceFormat\GUI\MainForm.cs:line 538
at GUI.MainForm.<>c__DisplayClass22_0.b__0() in D:\a\ValveResourceFormat\ValveResourceFormat\GUI\MainForm.cs:line 456
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object obj)
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
the vpk file.zip
What version of VRF are you using? On what platform?
the latest one，Windows

Where did this vpk come from and how was it created? Even vpk.exe in TF2 does not understand it.

Where did this vpk come from and how was it created? Even vpk.exe in TF2 does not understand it.
The version in this file is 01 FF FF FF instead of 01 00 00 00 (replacing it manually in hex editor opens in the file VRF). So my question is how that happened, and how L4D2 reads it (I have a suspicion that it simply ignores the version).

Thanks for your reply！I modified it as you said, and successfully read the file.
This file is from here. I wanted to unpack and decompile the model to replace different characters, but it could not be read. As for how to cause it, to be honest, I don't know. This thing need to ask the original author.
To be honest, I don't understand VPK files very much. I just unpack and package some simple mods.Maybe as you said, the game simply ignores the file version.

I'd rather not put a hack in to support this before understanding how this happened. If you can figure out how this vpk was created that would be good.
Just for sanity check, can you try changing first 01 to 02 (and then anything else), and see if L4D2 can still load it?

I'd rather not put a hack in to support this before understanding how this happened. If you can figure out how this vpk was created that would be good.
Just for sanity check, can you try changing first 01 to 02 (and then anything else), and see if L4D2 can still load it?

In fact, I don't really understand, but it's enough for me to be able to read this file
I tried to change first 01 in  01 FF FF FF  to 02. L4D2 can still be read and run well, and VRF still can't read it：Bad VPK Version<PHONE_NUMBER>) （not xxxxx7041）

L4D2 can still be read and run well

That's what I wanted to know, which leads me to believe the game just ignores the version altogether.

Of course, if there is anything I can do, I can help.
(It may be difficult to contact the original author)

Indeed, the method to fix this is very simple. There is no need to add special support. I understand.
I have  asked the author on the Steam Workshop page, but since the two authors have not replied to any comment, I think the hope of getting a reply is very slim.
I will let you know as soon as there is a reply.

I do want to know what software created this vpk though, either it's a bug there or they intentionally try to do a silly "DRM" for third party software.

Well, the author replied to me, saying that it was just a "use less little encryption"It seems that he doesn't want to reveal how it was made. I guess he may have modified the file directly with the hexadecimal editor

Yeah that's just silly. I'm gonna close this as I don't want to allow arbitrary versions. Consumers of this library can fix the version up in the file if they really want to.


The key differences between this work and the implementation of alphazero in PGX

A great work! Can you tell me the key differences between this work and the implementation of alphazero in PGX: https://github.com/sotetsuk/pgx/tree/main/examples/alphazero, and what are the specific advantages and disadvantages? I hope to choose a more efficient implementation as the code foundation, thank you!

I just came from there...  PGX is using mctx from deepmind.  It's great, but the thing is.. it doesn't implement subtree saving.  This means every iteration, it throws out all the search data from the previous iteration and starts again.  According to https://github.com/google-deepmind/mctx/issues/51 this is intentional, due to the library being focused on MuZero.  If you are implementing a model (as opposed to learning one), then I think subtree saving is something you want to have.  In fact there is a fork of MCTX where it was implemented.   This is one of the reasons I'm giving turbozero a look.

Apologies for the incredibly late reply...
Yeah the main difference here is this repo implements subtree saving and also includes all the necessary utilities for an AZ training run in one place (MCTS + fast Replay Memory Buffer impl + training loop).
The implementation in pgx with mctx is also great!


Grammatical corrections

Summary
Made some minor grammatical fixes and removed a redundancy.
Ticket Link

Hello @Sayanta66,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.


chore: add  jcdrouin21 as maintainer

Summary of Changes
Add jcdrouin21 as maintainer. He has been an valuable contributor to the project:
https://github.com/hyperledger/aries-mobile-agent-react-native/commits?author=jcdrouin21
Related Issues
N/A
Pull Request Checklist
Tick all boxes below to demonstrate that you have completed the respective task. If the item does not apply to your this PR check it anyway to make it apparent that there's nothing to do.

[x] All commits contain a DCO Signed-off-by line (we use the DCO GitHub app to enforce this);
[x] Updated LICENSE-3RD-PARTY.md for any added dependencies or vendored components;
[x] Updated documentation as needed for changed code and new or modified features;
[x] Added sufficient tests so that overall code coverage is not reduced.

If you have any questions to any of the points above, just submit and ask! This checklist is here to help you, not to deter you from contributing!
Pro Tip 🤓

Read our contribution guide at least once; it will save you a few review cycles!
Your PR will likely not be reviewed until all the above boxes are checked and all automated tests have passed.

PR template adapted from the Python attrs project.

I've asked them to be added to the org as part of hyperledger/governance/issues/79


error installing - lzma

I'm trying to install bxtools locally on our server. When I run the command:
./configure --prefix=/home/april/local/bxtools/0.0/
Configure runs fine until I get the error:
checking for library containing lzma_end... no
configure: error: liblzma not found, please install lzma

I installed lzma locally from the resource https://tukaani.org/xz/ and added ~/lzma/5.2.3/bin/ to my path but still get this error. Is bxtools looking for another portion of lzma that I may have not installed? I can't find any library called "lzma_end" in the package I installed? Is this package necessary? Is there a way to tell bxtools to ignore this dependency?

What OS are you compiling on? I've heard of issues with this on OS X.
The dependency comes not from bxtools, but from htslib. (see this thread). It is needed for CRAM decoding, and being able to compile htslib on your system would be important for other apps as well.
And just to make sure, are you adding your installed lzma to your PATH, or to LD_LIBRARY_PATH? You would want the latter.

Hmmm. I still can't seem to fix this problem. I'm attempting to install bxtools locally on a shared computing resource for which I don't have root access. It's a 64-bit Linux system. I have programs installed locally that depend on the htslib internally (samtools, bcftools). I have also installed htslib separately without issue, to see if that would help. I have added lzma and htslib to my LD_LIBRARY_PATH but I still get the same error.

I had the same error, try:
apt-get install -y liblzma-dev
Worked for me.

I have the same error too. And try with apt-get install -y liblzma-dev is work for me! Thanks @MrsLaviniaG !!
But after this error, I have another error say:
checking for library containing BZ2_bzBuffToBuffCompress... no
configure: error: libbz2 not found, please install bz2

So, I try with:
apt-get install libbz2-dev

And it work !


We ask Sei Network's superiors to immediately solve the problem of Sei Tesnet being blocked because it hinders the execution of Missions from Sei Tesnet .There are so many BUGs and errors often occur, and of course members who have just joined will be in trouble. Thank you for listening. Greetings members, Sei Network Officer

Seid version
Show us output of seid version --long | head
Chain ID
Which chain are you running into issues with?
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

Thank you for bringing this to our attention. We understand your concerns about the issues.To help us better understand and address the issues you're encountering, could you please provide us with more technical details? These details can greatly aid us in pinpointing the root cause of the problems you're experiencing. Here are some details that could help:

Seid version: Could you show us the output of seid version --long | head?
Chain ID: Which chain are you running into issues with?
Describe the bug: Please give a clear and concise description of what the bug is.
Steps to Reproduce: Can you list the steps to reproduce the behavior?
Expected Behavior: What did you expect to happen?
Screenshots: If applicable, add screenshots to help explain your problem.
Additional context: Add any other context about the problem here.

In addition to this, we'd like to invite you to join the Sei Discord server where you can interact with other community members and the development team. This platform may provide more immediate assistance and foster discussions that could help resolve your issues.
Please reopen this GitHub issue once you're ready to provide these additional details.


Origins-1.18.2-<IP_ADDRESS>-unified [Not Compatable] with Tectonic, very strange effect.

https://modrinth.com/datapack/tectonic/versions?g=1.18.2&l=forge
Tectonic, as either a datapack, or mod.
When origins-forge and tectonic are loaded together in singleplayer for the first time, the game likely will run as normal,
sometimes, the origins selection screen does not appear on first-spawn, but that can be solved with making all players spawn with an origin-orb as failsafe.
If you exit to the main menu, and re-open the world again you will still have your origin attributes/powers.
If you exit the game, and close out multimc, and re-open multimc, and relaunch the game:
you will have no attributes/powers when you re-load your world.
I've tried this out 4 times now, and have pinpointed tectonic as the cause, which really sucks because it now forces me to choose between the only competent world-gen, and, origins.
I would dread what complications this may cause on a server, and hope there might be some way to fix this to where tectonic & origins will not kill eachother, please help!
Origins-1.18.2-<IP_ADDRESS>-unified
Tectonic-v1.1.7a for 1.18.2
I have videos which I may add tomorrow but its 90mb and its too late to fight handbrake to make the file smaller.

Nevermind, I was sure the problem was tectonic. But maybe it is a datapack-order related problem in reality.

I believe I have correctly identified the source of the problem which is: https://modrinth.com/mod/globalpacks
Where, global-packs does not re-apply the datapacks for origins in its global folder, meaning this is not a origins issue I think.
I used it for easier testing, so I wouldn't have to copy the zip files into the datapack folder every single time I make a new world, as I was having to re-make many for testing purposes.

This version of Origins has a problem re-reading datapacks or somthing. Tectonic, and Global Packs are blameless now.

Cant understand what on earth is going on anymore, going to take a break from trying to understand why this issue occurs.

I've seen invalid player data screens when attempting to join the world too, however after this bug occurs, multiple attempts to close and rejoin the singleplayer world restores the origins powers to the user.


Start nodes number is less than vehicle number

Hello!
Can I have something like, 10 vehicles and only 2 start nodes A and B? I mean every vehicle can start from A or B, it doesn't matter. (I know that I can set one start node for all the vehicles, or one start and one end point for each vehicle.)

I would create a C node which is the merge of A and B taking the minimum distance so you can simulate a "start from A or B" then in the assignment knowing the next node after the vehicle start you can deduce if the vehicle should start form A or B i.e. the closest depot from the first visit...

By "the merge of A and B", you mean the middle of the segment AB?

no  I mean in your "distance matrix" transit callback something like this pseudocode:
int transit(int64 from_index, int64 to_index) {
 from_node = manager.IndexToNode(from_index);
 to_node = manager.IndexToNode(to_index);
 if (from_node == C_index)
   return std::min(data[A_index][to_index], data[B_index][to_index]);
else
  return data[from_index][to_index];
}

Oh. Now I understand, thank you very much :)

What do I do when I declare the RoutingIndexManager? I mean I have to set a vector with the same size as the number of vehicles. What do I do?
manager = operations_research::RoutingIndexManager(stopsSize, vehiclesSize, startNodes, startNodes);
vehiclesSize=10
startNodes.size()=2

you need to have 10 dummy nodes for the start node, and 10 for the second node.
Then tweak the distance matrix to have a 0 distance between the depot, and each dummy node.
Then reduce the domain of the vehicle var of each dummy node to be either -1 (not used), or its corresponding vehicle.


Don't set logging settings propagate to parent packages

Currently, the Blockstack client is setting logging settings.
Unfortunately, every package that imports this library then inherits these settings.
For example, if I have a web server that has logging set to DEBUG or INFO, it will be overridden by the less verbose levels of logging that the Blockstack client sets.
We should figure out a way to prevent these logging settings from propagating up to packages that import the Blockstack client.

Actually, this has proven extremely useful at diagnosing problems.


fix: [gn] port crashpad patch from fork to patch

Since the GN build uses the crashpad that's referenced by Chromium's
DEPS, port over the one semantic change from Electron's crashpad fork to
be a patch.

I can't rerun the VSTS builds that broke, can you push up again to kick the builds 👍

Also worth noting is this a thing that we could potentially upstream?

Patch successfully upstreamed. Can be removed when we pass M71.


All Codehaus services are terminated => Can't install old version of groovy

Hello !
I have a problem when I try to install any version of groovy previous to 2.2.2
root@756e31c61711:/tmp# gvm install groovy 2.2.1

Downloading: groovy 2.2.1

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0   319    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (77) error setting certificate verify locations:
  CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of /root/.gvm/archives/groovy-2.2.1.zip or
        /root/.gvm/archives/groovy-2.2.1.zip.zip, and cannot find /root/.gvm/archives/groovy-2.2.1.zip.ZIP, period.

Stop! The archive was corrupt and has been removed! Please try installing again.

I made some tests and It seems that the url is
http://api.gvmtool.net/download/groovy/2.2.1?platform=Linux

and in my browser, when I try to reach this URL, I have the following error message
All Codehaus services will be terminated progressively until May 17th 2015

Do you have another URL for the different groovy versions (I need the 1.8.6 :D) ?
Thanks.

That is not the final URL, it's merely directing to codehaus to get the original binaries. With codehaus EOL, we have lost all the binaries of older versions.
The groovy team are currently aware of this and trying to locate the binaries. Once they are hosted again I will add them back to GVM.

groovy 221 not present in the list
gvm install groovy 2.2.1

Erm, yes. Please read my previous message above.

@glaforge do we have any news on the restoration of the old binaries yet?

Our friends from JFrog are actually working on it, and we should hopefully have the old binaries on Bintray soon (before the end of the week hopefully)

Excellent news. Thank you!

All the old releases should now be on Bintray like the newer ones!

All the old releases should now be on Bintray like the newer ones!

All the old releases should now be on Bintray like the newer ones!

You can view them here:
https://bintray.com/groovy/maven/groovy/view
(but I have the impression the 1.0.x are missing, but we didn't have them in GVM anyway, if I recall correctly)

That's fantastic news, thanks!

BTW, we did have all the  1.0.x versions but don't think anyone was really using them.

Ah okay, I thought we had only 1.5 onward.
We'll see if JFrog manages to add them too, at least for historical purpose :-)

@marcoVermeulen Has this issue been resolved? I just updated gvm to version 2.4.2 and am not able to gvm install grails 1.3.4

@r04r only the versions available on BinTray will be served from gvm.
Please refer to https://bintray.com/groovy/maven/groovy/view.
On Tue, 23 Jun 2015 13:45 r04r<EMAIL_ADDRESS>wrote:

@marcoVermeulen https://github.com/marcoVermeulen Has this issue been
resolved? I just updated gvm to version 2.4.2 and am not able to gvm
install grails 1.3.4
—
Reply to this email directly or view it on GitHub
https://github.com/gvmtool/gvm-cli/issues/331#issuecomment-114482260.

@marcoVermeulen Sadly it seems 1.3.4 is not available there. It is however available under https://grails.org/download.html which serves it from https://github.com/grails/grails-core/releases/ (https://github.com/grails/grails-core/releases/download/v1.3.4/grails-1.3.4.zip to be specific). Would it be possible to incorporate this in gvm?

Only if bintray decide to host it. You will need to raise a ticket with
them if you need pre 1.5.0 versions.
On Tue, 23 Jun 2015 18:54 r04r<EMAIL_ADDRESS>wrote:

@marcoVermeulen https://github.com/marcoVermeulen Sadly it seems 1.3.4
is not available there. It is however available under
https://grails.org/download.html which serves it from
https://github.com/grails/grails-core/releases/ (
https://github.com/grails/grails-core/releases/download/v1.3.4/grails-1.3.4.zip
to be specific). Would it be possible to incorporate this in gvm?
—
Reply to this email directly or view it on GitHub
https://github.com/gvmtool/gvm-cli/issues/331#issuecomment-114590153.

@marcoVermeulen He's talking about Grails.
Marco Vermeulen<EMAIL_ADDRESS>schrieb am Di., 23. Juni 2015
19:57:

Only if bintray decide to host it. You will need to raise a ticket with
them if you need pre 1.5.0 versions.
On Tue, 23 Jun 2015 18:54 r04r<EMAIL_ADDRESS>wrote:

@marcoVermeulen https://github.com/marcoVermeulen Sadly it seems 1.3.4
is not available there. It is however available under
https://grails.org/download.html which serves it from
https://github.com/grails/grails-core/releases/ (

https://github.com/grails/grails-core/releases/download/v1.3.4/grails-1.3.4.zip

to be specific). Would it be possible to incorporate this in gvm?
—
Reply to this email directly or view it on GitHub
https://github.com/gvmtool/gvm-cli/issues/331#issuecomment-114590153.

—
Reply to this email directly or view it on GitHub
https://github.com/gvmtool/gvm-cli/issues/331#issuecomment-114590760.

It seems gvm downloads from http://api.gvmtool.net/download/grails/1.3.4?platform=Linux which currently redirects to http://dist.codehaus.org/grails/grails-1.3.4.zip which is dead. Can't the redirect be changed to https://github.com/grails/grails-core/releases/download/v1.3.4/grails-1.3.4.zip?

Sorry, I'm confused now. This discussion is not about Grails but Groovy.
It's about Codehaus EOL and all the Groovy binaries getting lost.
On Tue, 23 Jun 2015 19:12 r04r<EMAIL_ADDRESS>wrote:

It seems gvm downloads from
http://api.gvmtool.net/download/grails/1.3.4?platform=Linux which
currently redirects to http://dist.codehaus.org/grails/grails-1.3.4.zip
which is dead. Can't the redirect be changed to
https://github.com/grails/grails-core/releases/download/v1.3.4/grails-1.3.4.zip
?
—
Reply to this email directly or view it on GitHub
https://github.com/gvmtool/gvm-cli/issues/331#issuecomment-114594495.

About Grails 1.3.4, it most certainly does seem to be there:
http://api.gvmtool.net/candidates/grails/1.3.4
On Tue, 23 Jun 2015 20:41 Marco Vermeulen<EMAIL_ADDRESS>wrote:

Sorry, I'm confused now. This discussion is not about Grails but Groovy.
It's about Codehaus EOL and all the Groovy binaries getting lost.
On Tue, 23 Jun 2015 19:12 r04r<EMAIL_ADDRESS>wrote:

It seems gvm downloads from
http://api.gvmtool.net/download/grails/1.3.4?platform=Linux which
currently redirects to http://dist.codehaus.org/grails/grails-1.3.4.zip
which is dead. Can't the redirect be changed to
https://github.com/grails/grails-core/releases/download/v1.3.4/grails-1.3.4.zip
?
—
Reply to this email directly or view it on GitHub
https://github.com/gvmtool/gvm-cli/issues/331#issuecomment-114594495.

All Grails versions before 1.3.5 are pointing to Codehaus, too. Graeme put them all into the repository releases on Github. Therefore you could change the locations for 1.2.0 - 1.3.4 to the new offical release location:
https://github.com/grails/grails-core/releases/download/v1.3.4/grails-1.3.4.zip
All of these eleven versions seems to be there.

The database has been updated and all versions of Grails should be fully
operational again.
On Tue, 23 Jun 2015 at 21:38 Florian Freudenberg<EMAIL_ADDRESS>wrote:

All Grails versions before 1.3.5 are pointing to Codehaus, too. Graeme put
them all into the repository releases on Github. Therefore you could change
the locations for 1.2.0 - 1.3.4 to the new offical release location:
https://github.com/grails/grails-core/releases/download/v1.3.4/grails-1.3.4.zip
All of these eleven versions seems to be there.
—
Reply to this email directly or view it on GitHub
https://github.com/gvmtool/gvm-cli/issues/331#issuecomment-114634887.

@marcoVermeulen Awesome, thank you! The download seems to be working.
Apologies for the confusion as well, I should have probably created a new ticket regarding grails & codehaus, but I just tacked it on to the existing ticket dealing with codehaus.

No worries, let me know if you find any other anomalies.
On Tue, 23 Jun 2015 at 22:17 r04r<EMAIL_ADDRESS>wrote:

@marcoVermeulen https://github.com/marcoVermeulen Awesome, thank you!
The download seems to be working.
Apologies for the confusion as well, I should have probably created a new
ticket regarding grails & codehaus, but I just tacked it on to the existing
ticket dealing with codehaus.
—
Reply to this email directly or view it on GitHub
https://github.com/gvmtool/gvm-cli/issues/331#issuecomment-114643960.


Resetting the conference ID is not possible as we use Dynamic conference ID and static conference ID is not supported

Hello Team,
Earlier in SFB, we used to have static conference ID which can be reset. However, we have completely stopped the static conference ID and stated using the Dynamic conference ID for each meeting. Hence, it is not possible to reset the dynamic conference ID nowadays and it looks like this article needs to be updated.
Thanks & Regards,
Ashutosh Vighne

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

ID: 3f63c7ec-b784-d302-51e9-f359b2c8f89b
Version Independent ID: 0442ca74-d4f0-e00f-714c-bcd5ad4161f1
Content: Reset a conference ID for a user in Microsoft Teams - Microsoft Teams
Content Source: Teams/reset-a-conference-id-for-a-user-in-teams.md
Service: msteams
GitHub Login: @MicrosoftHeidi
Microsoft Alias: heidip

Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@scanum please can you check with the author if this option to reset the conference ID is still available, as I cannot see it either.

@MicrosoftHeidi Hope you are doing well. Could you kindly help with this issue? Thanks

@MicrosoftHeidi Hope you are doing well. Could you kindly help with this issue? Thanks

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!


Publish Gem Releases via GitHub Actions

Inspired by this blog post, I thought it would be nice to have automated publishing of this gem via GitHub actions.
This uses the Release Please action to automate version setting and publishing a release to rubygems.
Help Needed

[ ] Update RUBYGEMS_AUTH_TOKEN value in secrets section

When does this PR apply?


Pagination view doesn't update with new list data unless i swipe down refresh

Hello, am having a frustrating problem with Pagination View, am retrieving list of movies from my API and displaying them in my pagination view, the data is retrieved in a ChangNotifier class and the pagination view widget is wrapped in a consumer, but the pagination view doesn't load the new data when they arrive, unless i pull down refresh.
this is a video demo to better describe my problem https://streamable.com/ca8k8g
I apologize if am making a rookie mistake, am learning flutter and i may have missed a pretty obvious step to setting up this function.

Hey @Ozak93! Thanks for using the package. I am not able to open that streamable link you mentioned. It will be helpful to better understand your problem if you can share some code samples.

oh am sorry, how about now ?
https://user-images.githubusercontent.com/31257994/118519453-cf15c600-b741-11eb-8107-af591a187dad.mp4
Here's my code, just an app bar with a search widget and the pagination view in a consumer.
class MoviesPage extends StatelessWidget {
 final ApiProvider apiProvider = ApiProvider();

 final TextEditingController searchQueryController = TextEditingController();

 String q = "";

 @override
 Widget build(BuildContext context) {
   bool isSearching = false;
   return Consumer<ApiProvider>(
     builder: (context, provider, child) => Scaffold(
       appBar: AppBarTextField(
         title: Text("Movies List"),
         autofocus: false,
         controller: searchQueryController,
         onSubmitted: (query) {
           if (query.length > 2) provider.setQuery(searchQueryController.text);
         },
         onClearPressed: () {
           apiProvider.setQuery("");
         },
       ),
       body: Container(
         child: Center(
             child: paginationWidget(
           provider: provider,
         )),
       ),
     ),
   );
 }
}

class paginationWidget extends StatelessWidget {
 final ApiProvider provider;
 const paginationWidget({required this.provider});

 @override
 Widget build(BuildContext context) {
   return PaginationView<Movie>(
     scrollController: provider.pageScrollController,
     pullToRefresh: true,
     pageFetch: (currentListSize) => provider.fetchMovies(),
     itemBuilder: (ctx, mov, idx) => MovieCard(obj: mov),
     paginationViewType: PaginationViewType.listView,
     bottomLoader: Center(
       child: CircularProgressIndicator(
         color: Colors.blue,
       ),
     ),
     onEmpty: Center(
       child: Text(
         "there's no more movies to show !",
       ),
     ),
     onError: (err) {
       return Center(child: Text("error: $err"));
     },
   );
 }
}

Setquery just updates the search term's value in my provider and notifies listeners, i tried streams with it but it didnt work

  void setQuery(String q) async {
    searchSink.add(q);

    searchQuery = q;
    fetchMovies(q: q);
    notifyListeners();
  }

am not sure what do you mean by refresh key ? i just want the view to update as soon as it receives data when i submit (The data retrieves successfully)

I guess you have to refresh the key of PaginationView in onSubmitted callback. Also what does this function do provider.setQuery(searchQueryController.text);?

i did checked the example provided in the package's pub dev page, i used key.currentState.refresh() in setquery and onclearpressed and the view successfully reloads with the new data !


Unable to load camel type converters from package locations specified in TypeConverter manifest

To support Spring package scanning (see #366), we added a custom PackageScanResolverClass.
Camel loads type converters by looking at the META-INF/services/org/apache/camel/TypeConverter manifest within each component jar. Within this manifest you can list paths to concrete classes or specify the location to a package which contains type converter classes.
The SAP component specifies a package location. This results in invocation of the custom PackageScanClassResolverImpl find() method. The problem is that it never sees the correct ClassLoader for the SAP component type converters. It only sees:
ModuleClassLoader for Module "org.apache.camel.core:main"
ModuleClassLoader for Module "deployment.camel-sap-tests.war:main"

Where as the SAP type converters are located in:
ModuleClassLoader for Module "org.fusesource.camel.component.sap:main"

If a component module references some package it must either have direct access to that package (i.e. include the jar that contains the package) or declare a dependency on the module that contains the package.
In this example, I'd think  the SAP component should have a dependency on org.fusesource.camel.component.sap

The dependency wiring is correct so something else is preventing this from working.


add hydrometric and discharge methodology to methods section

insert @marksgithubhandlehere

@Mateo9569 can you please give me some estimates of distance from the Highway for all the discharge stations using the measurement tool in Q and throw here so I can transcribe to report?  If they

Brule ds survey: 380m ds of highway
Brule us survey: 1050m us of highway
Weigert ds survey: 580m ds of highway
Weigert us survey: 1180m us of highway

Closing due to inactivity. Discharge station utms are in the report. If distances from highway should get added too feel free to re open issue.


Implement Course Connections

**lurch:attach W-010931

Tracking W-010931

Included in beta release 1.16 (Beta 5)

Included in production release version 1.16


Bump django to v4.0.7

Fix security issues

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.04%) to 88.637%

Files with Coverage Reduction
New Missed Lines
%

safe_transaction_service/history/services/collectibles_service.py
3
92.21%

Totals

Change from base Build<PHONE_NUMBER>:
-0.04%

Covered Lines:
5936

Relevant Lines:
6697

💛  - Coveralls


Add Generic Functions

PR Checklist
Please check if your PR fulfills the following requirements:

Carbon Requirements
| Detail Carbon Settings

[x] Select Dracula Theme

[x] Select right programming language

[x] Set largest font size

Commit requirements

[x] Image should be added to screenshots folder

[x] Code snippet should be added to codes folder

[x] Image and code snippet have the same name for their files

You could add this in the swap function rather then temp variable way to swap.
(a, b) = (b, a)

You could add this in the swap function rather than temp variable way to swap.
(a, b) = (b, a)

Nice tip, we can add it as a new tip :)

Nice I will add it now ✌👍