LuaSnip integration causing a bunch of problems

I apologize for the vagueness of the title but, I'm having a rather hard time tracking down what's going on.  I'm trying to integrate LuaSnip with cmp_luasnip (I don't think these problems are the fault of that plugin but I'm not entirely sure...)
First, I can't seem to get any LuaSnip functionality other than inserting snippets to work.  Snippets match fine, they insert fine, but keybindings for jumping between snippet fields don't work at all.  Again, not really sure whether this is an nvim-cmp issue, a LuaSnip issue, or some combination.
Second, sometimes, for no apparent reason, <tab> completion just stops working (inserts a tab instead).  All other bindings continue to work fine, but not tab.  This problem is the same regardless of whether I use the built-in cmp.mapping.select_next_item() or the supertab-like mapping in the README.  I have this problem ONLY when enabling the luasnip completion source but it doesn't seem to have anything to do with whether I've inserted a snippet or there are snippets available.  Unfortunately I've failed to reproduce the exact circumstances of this issue, and it seems to happen randomly.
For context, my config is here with my cmp config here and my luasnip config here (some functionality has been temporarily removed so I have a working cmp).

It looks like tabfunc is not used.
https://gitlab.com/ExpandingMan/neovimconfig/-/blob/master/lua/etc/completion.lua#L16

Not right at the moment, sorry I should have been more explicit: these problems are the same regardless of whether I use that tabfunc or the built-in.  Doesn't seem to be any difference.  The config at the moment happens not to be using tabfunc but I have tested it.

Ok, looks like whatever makes tab stop working is not only because of LuaSnip.  I'm now seeing the problem even without it, so it must be some kind of cmp bug, probably from interaction with another plugin.  I'm going to try tree-searching my config when I get a chance, but it's going to be really hard to track down, because it isn't initially a problem (though once it starts happening it keeps happening until I exit).
Any suggestions on how to debug this would be appreciated, maybe I can try sticking print statements into the tab keybinding...

I have the following config and tab works perfectly fine:
local fn = vim.fn

local function t(str)
    return vim.api.nvim_replace_termcodes(str, true, true, true)
end

local check_back_space = function()
    local col = vim.fn.col "." - 1
    return col == 0 or vim.fn.getline("."):sub(col, col):match "%s" ~= nil
end

local function tab(fallback)
    local luasnip = require "luasnip"
    if fn.pumvisible() == 1 then
        fn.feedkeys(t "<C-n>", "n")
    elseif luasnip.expand_or_jumpable() then
        fn.feedkeys(t "<Plug>luasnip-expand-or-jump", "")
    elseif check_back_space() then
        fn.feedkeys(t "<tab>", "n")
    else
        fallback()
    end
end

local function shift_tab(fallback)
    local luasnip = require "luasnip"
    if fn.pumvisible() == 1 then
        fn.feedkeys(t "<C-p>", "n")
    elseif luasnip.jumpable(-1) then
        fn.feedkeys(t "<Plug>luasnip-jump-prev", "")
    else
        fallback()
    end
end

local cmp = require "cmp"

    cmp.setup {
        snippet = {
            expand = function(args)
                require("luasnip").lsp_expand(args.body)
            end,
        },
        mapping = {
            ["<Tab>"] = cmp.mapping(tab, { "i", "s" }),
            ["<S-Tab>"] = cmp.mapping(shift_tab, { "i", "s" }),
            ["<C-d>"] = cmp.mapping.scroll_docs(-4),
            ["<C-f>"] = cmp.mapping.scroll_docs(4),
            ["<C-Space>"] = cmp.mapping.complete(),
            ["<C-e>"] = cmp.mapping.close(),
            ["<CR>"] = cmp.mapping.confirm {
                behavior = cmp.ConfirmBehavior.Insert,
                select = true,
            },
        },
    }

with that, I can jump between the snippets stops and tab completion never stops working for me.

I'm trying this setup, and luasnip.expand_or_jumpable() is always false after the first expand. Maybe I'm missing some configuration option for luasnip? Can you share your luasnip config too?
This is currently what I'm using:
        use {
          "L3MON4D3/LuaSnip",
          config = function()
            require("luasnip").config.setup({ history = false })
          end,
        },

I've been experimenting more and maybe it's less likely to break without the check_backspace condition?  (Not sure I understand why that's needed anyway.)
It's really infuriating because nothing has been consistent.  I'll load it up and it seems perfectly fine for a while, maybe I think I've fixed it, and then all of the sudden it just stops working.  No idea what changes when it breaks.  Can't even get it to happen consistently yet.

You need to set history to true, otherwise lusnip doesn't remember positions and you can't jump back, only forward.
        config = function()
            require("luasnip").config.set_config {
                history = true,
            }
            require("luasnip.loaders.from_vscode").load {}
        end,

@rafamadriz , I've always had history=true.  Indeed, the example you showed was one of the first things I had tried, and it was breaking (and jumping was not working).  It's even possible that it would have broken for you, like I said, it's maddeningly intermittent.  It of course seems likely that whatever is happening is caused by something somewhere else in my config, but I just have no clue what that could be.
Btw, I've just now made sure I updated all of my neovim instances to latest nightly (previously I had been using a random assortment of 0.6 nightlies) we'll see if that helps.  Could have been a neovim issue, who knows.

I think @rafamadriz was replying to me about the history. Sorry for hijacking the thread. Everything is working for me, even shift tab, with history = false. The history is for when you exit a snippet and want to jump back in to continue.

I think @rafamadriz was replying to me about the history. Sorry for hijacking the thread. Everything is working for me, even shift tab, with history = false. The history is for when you exit a snippet and want to jump back in to continue.

oh sorry I didn't realize there was a new person in the thread lol. Yes, you're right, history is for when you exit a snippet.

@rafamadriz , I've always had history=true. Indeed, the example you showed was one of the first things I had tried, and it was breaking (and jumping was not working). It's even possible that it would have broken for you, like I said, it's maddeningly intermittent. It of course seems likely that whatever is happening is caused by something somewhere else in my config, but I just have no clue what that could be.
Btw, I've just now made sure I updated all of my neovim instances to latest nightly (previously I had been using a random assortment of 0.6 nightlies) we'll see if that helps. Could have been a neovim issue, who knows.

Interesting, I hope you can fix it by updating your neovim or maybe just using the stable release 0.5 which is what I use and have no problems.

Ok, it definitely still happens on latest neovim.
I think I'm seeing a weird pattern though... it seems to have something to do with switching buffers... a lot of times I will have the tab problem on a new buffer, but it still works ok on a previously existing buffer...  trying to use this to come up with an MWE...

Try running :verbose imap <Tab> when you notice you have the problem.

Ok, I think I may have some idea of what's causing it... I think it has something to do with julia-vim latex-to-unicode.  Fortunately, that package lets you keep using the autocomplete while disabling tab complete, plus I am using @kdheepak 's latex plugin, so that mapping wasn't really doing anything for me.
Disabling this did NOT solve my problem with LuaSnip.  It may have solved my problem with tab stopping working, but it's still too early to say, will report back...
Pretty sure I don't have anything else overloading tab now.

For what it is worth, I have the following in my packer config:
    use({
      "JuliaEditorSupport/julia-vim",
      ft = { "julia" },
      config = function()
        vim.g.latex_to_unicode_tab = "off"
        vim.g.latex_to_unicode_auto = 0
      end,
    })

Ok... I think finally some progress (though this has been so intermittent I'm always afraid to say anything with confidence)...
I think the most egregious tab problem was indeed an issue with julia-vim.  Again, fortunately I have redundant functionality here so it cost me nothing to turn that off.
I'm still having a few weird problems with LuaSnip jumping.  It works in the first buffer I open, but not subsequent buffers.  It's really weird.  Also my <cr> as cmp.mapping.confirm mysteriously stops working (but for LuaSnip only so its not so bad) perhaps under the same circumstances that were previously breaking tab.  Now that things are a little less bewildering, I'm going to overhaul my bindings to make better use of LuaSnip and see if I can get something consistent.  I strongly suspect that whatever issues remain are the fault of LuaSnip (or maybe the cmp plugin for it) not cmp itself, so I doubt there's anything to be done here.
Will update later after I get a chance to mess around with it, and if the situation is unchanged, I'll close the issue.
Thanks for the help all!

Alright, I think I've now fully solved this.
So the tab issue definitely seems to have been julia-vim.  Again, it was redundant and I probably should have removed that in the first place.
Otherwise, it seems that LuaSnip and nvim-cmp both really want to use a lot of the same bindings (in particular <tab>, <c-n>, <c-p>) and these are very likely to cause problems for each other unless you are very careful with your bindings.  Creating the tabfunc which would bind to <c-n> which was being used by both plugins by default made things very confusing.
For me, trying to overload the same few keybindings with so much functionality in the same mode seems like a bad approach anyway, so I'm pretty happy to just change the key bindings for LuaSnip to something completely different, in which case these two packages work together rather nicely.  So that basically settles it for me.
Unless you want to recommend people do the same, I suggest you ultimately stick functions like the "supertab" above into the package somewhere so it's a little easier to get working defaults, as I suspect that others will run into at least some of these issues.
Thanks all!

For what it's worth, I'm kind of glad I struggled with this for a bit, because I'm much more satisfied with the result than I likely would have been had I not given it much more thought.  Instead of trying to load everything into <tab> and <c-n> etc., I now have a dedicated leader (<c-s>) for jumping through and choosing snippets that works the same way in insert, normal and select mode.  For me, this is much easier to use than how I had snippets before (plus LuaSnip is way better at remembering positions than UltiSnips was).  So I'm pretty happy now!


Add 'spo list contenttype default' command?

Summary
I had to create new content types and define one of them by default rather than keep the default by SharePoint.
I didn't found a cmdlet that allow to define that...
If does not exist, create a cmdlet that allow to do that spo list contenttype default --webUrl [...] --listId/--listTitle --contentTypeId/--contentTypeName

Note: content type name is unique for a webUrl scope.

What do you think about this cmdlet? If you agree with this idea, I'll write a properly the specs of this issue ;)

I like the idea, but using default as a verb isn't clear to me if it's a get or a set operation. What if we'd name the command like spo list contenttype set and then use a --default option to denote that we want to set the particular content type as default on the list?

I like --default option. This option can be use for the set and get cmdlet too?

Good idea! Let's create two separate issues to track the changes.

Ok, I'll do


using viro with redux ,when i pop out the ViroARSceneNavigator from the cardStack and then i try to push the ViroARSceneNavigator  into cardStack again ,the screen is black blank

Hi,@achuvm ,@dam00n
I use redux to organize my app state ,my device is onePlus5 ,an android phone.
When i press the button in first page ,react-navigation ( a route component ) push the ViroARSceneNavigator  component into the cardStack ,then i can see the arScene in my phone screen.
After ar game ,i pop the ViroARSceneNavigator component  and goto first page
But when i want to play ar game again (press the button again) ,the screen is black blank and the app broke in few seconds
here is the gif:

the core code as follows:

i'm so confused,please give me some advices

i have done  another test:
when i push ViroARSceneNavigator into navigationStack with react-navigation at first time ,the ViroARSceneNavigator  works well ,after i pop it out and try to push it into cardStack again,the camera cannot open and app broke few seconds.
"is the problem with redux or coding bugs?"
-- i  replace the ViroARSceneNavigator  component with react native comonpents ,all component works well ,none of them occurs same problem and of course routing between pages as expected

Hey @llf22282776 ,
Can you provide logs that include the stacktrace that you see when the app breaks? Looking at the included code screenshot we cannot tell what can be the possible root cause of the problem you are seeing.
When you run your app through the testbed -> Do you see a red screen? Or does it crash with a black screen in in testbed?
What are the contents of your ViroARScene (in ARSceneSelectPage from your code)? Is the ViroARScene also dependent on your redux state changes?
Pasting our documentation on Scene Navigation here. Your only difference would be using ViroARSceneNavigator instead of ViroSceneNavigator and ViroARScene instead of ViroScene

@manbod ,thanks for replying !!
“Can you provide logs that include the stacktrace that you see when the app break”
-- I want to see the stacktrace too,but sadly there is no any stacktrace (no red  screen occured),when i push
 component (which render function will return )  again,the app routes to next page successfully but the camera cannot open (so it's black and blank ,only  components on the screen,which is the same level with )  and app has no responing ( the system message occurs  ),so i think it's break
" What are the contents of your ViroARScene (in ARSceneSelectPage from your code)? Is the ViroARScene also dependent on your redux state changes? "
-- in ViroARScene ,it's only the viro its own components .ViroARScene isn't dependent on redux state changes ,it receive the "state" from props passed by ViroARSceneNavigator (this.props.arSceneNavigator.viroAppProps),here is the full code

@llf22282776
Sorry, we'll need more logs or information to be able to root cause your problem. Looking at your code containing viro components you seem to be doing everything correct with your viro components. Most likely the problem is not with the code in your Viro components, but somewhere else in your other components of the app. Can you debug / add logs to your redux state handling to see what could be wrong?
Some of the things that might help you in debugging your problem more / getting more information:

If the app breaks, you should see a stacktrace that might help in finding what could be wrong.
If you don't see a stacktrace, can you add console.log(...) throughout your code to see where the problem is? What is the system message that you see when the app stops responding?
If you still don't see anything, are you building your app in debug or release? You should see lot more logs if build in debug and load your react native code via npm server on your machine.
Did you confirm your index == 0 when you load your ViroARSceneNavigator second time around?

@llf22282776
Thank you for digging into this issue in your app. This helps us understand the root cause of the problem seen by you. We've created an issue internally to fix ViroARSceneNavigator not working with react-navigation. We'll get back to you once we have a fix.
In the meantime, is it possible for you to work around this issue? To unblock your team's app development can you structure your app's components similar to how we do in our HelloWorldScene that you get when you follow our Quick Start Guide. You can see how the normal react native component is structured in App.js (and how it looks like in the link above at 4:33 into the video). If I understand your app correctly, it should be possible for you to render ViroARSceneNavigator "conditionally" depending on your redux state, without having to rely on react navigation (work around until we fix ViroReact & react navigation). Apologies for the inconvenience and the need for this work around.

We find the codes that causes this problem and hope that will help you find out the reason ！
here is the code :

when the tagged code exists , app always crashes after pushing it into react-navigation's stack in the second time.
but when the tagged code is removed , no matter how many times pushing  and poping action taked,the app run quite well !!!!!

Thanks @llf22282776 ! We are looking into fixing this in an upcoming release. Thank you for sending this along.

this has been fixed in latest release of ViroReact v2.6.0. Release notes and upgrade instructions here -> https://docs.viromedia.com/docs/releases


[ACM-83] add new 2021 call for papers content

Update call for papers page with current 2021 information as provided in the link below:
https://docs.google.com/document/d/1lpt0J268YKNHdscFra6qJm6hwZZqFYxKa-HcZHV1wY0/edit#heading=h.9goj9zkzjmzk

Just adding a comment here - the content of the CFPs aren't actually finalised yet, so we need to wait for confirmation from the track chairs/Marzyeh that these are ready to go live.


Turn on C++11 for all compilers, not just clang.

Explain why we do it via config.make better.
Remove partial workaround for config.make not invoked for dynamic modules,
nginx dev fixes the root issue, and the workaround is insufficient anyway.

LGTM


正規表現: 最小量指定子の説明追加

Codecov Report

Merging #149 (6605ccf) into master (34a51c5) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #149   +/-   ##
=======================================
  Coverage   97.68%   97.69%
=======================================
  Files          38       38
  Lines        1772     1775    +3
=======================================
+ Hits         1731     1734    +3
  Misses         41       41

Impacted Files
Coverage Δ

source/regex_example.d
96.03% <100.00%> (+0.12%)
:arrow_up:

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 34a51c5...6605ccf. Read the comment docs.


Pr/1.16.5/style choices

This is an attempt to standardize our code style choices.
It uses clang-format (can be installed on linux with the clang package) to automatically format the code.
To run for all files on linux:
find -iname *.java | xargs clang-format -i

Clang settings can be found in ./.clang-format and for further information look at Clang-Format 11 Style Options

For the most part, I'm happy with this. I think I can fix the majority of the issues I lined out in my review. Even if some can't be solved, I think having it standardized and a little bad is better than it having a mismatch of styles.

I might still mess with this, but I also think that the pr system we've implemented already solves the code styling issues so I might abandon this.

Honestly, I was thinking that this was kind of redundant too :P


Untrusted servers

I am not able to connect to my work VPN server using this, because it tries to use my username to answer the question as to whether the untrusted connection setting should be change:
[INFO ] Using /opt/cisco/anyconnect/bin/vpn
[INFO ] Connecting to '<SERVER ADDRESS>' as '<USERNAME>'
[DEBUG] Cisco AnyConnect Secure Mobility Client (version 4.8.01090) .

Copyright (c) 2004 - 2019 Cisco Systems, Inc.  All Rights Reserved.

  >> state: Disconnected
  >> state: Disconnected

  >> Network error. Unable to lookup host names.
  >> Limited Access - DNS Failure
  >> registered with local VPN subsystem.
  >> contacting host (<SERVER ADDRESS>) for login information...
  >> notice: Contacting <SERVER ADDRESS>.

AnyConnect cannot verify server: <SERVER ADDRESS>
Connecting to this server may result in a severe security compromise!
AnyConnect is configured to block untrusted servers by default.  Most users choose to keep this setting.
If this setting is changed, AnyConnect will no longer automatically block connections to potentially malicious network devices.

Change the setting that blocks untrusted connections? [y/n]: <USERNAME>
  >> warning: Connection attempt has failed.
  >> state: Disconnected

Same here!
Works fine when done manually, but failed when using this tool:
$ echo -e "y\n${USER}\n${PASSWORD}" | "/path/to/Cisco AnyConnect Secure Mobility Client/vpncli.exe" connect ${URL} -s
Cisco AnyConnect Secure Mobility Client (version 4.8.01090) .

Copyright (c) 2004 - 2019 Cisco Systems, Inc.  All Rights Reserved.

  >> state: Disconnected
  >> state: Disconnected
  >> notice: Ready to connect.
  >> registered with local VPN subsystem.
  >> contacting host (<SERVER>) for login information...
  >> notice: Contacting <SERVER>.
AnyConnect cannot verify server: <SERVER>
    - Certificate does not match the server name.
    - Certificate is from an untrusted source.
    - Certificate has an invalid date.
Connecting to this server may result in a severe security compromise!

Most users do not connect to untrusted servers unless the reason for the error condition is known.

Connect Anyway? [y/n]:
  >> Please enter your username and password.
.....
  >> notice: Establishing VPN...
  >> state: Connected

Looks like line 20 is the culprit:
https://github.com/hacki11/cisco-anyconnect-cli/blob/9139ad4af9d37c510ba004836b9b6e15dfc256ce/cisco_anyconnect_cli/cisco_anyconnect.py#L15-L22

fixed with #9


Update index.html

Updating the links in footer to respective pages

@swaraj-das please say something to her because I don't have any words to say her.


chore: upgrade charts

updated chart jxgh/jx-build-controller from 0.4.0 to 0.4.3
updated chart jxgh/jx-preview from 0.0.224 to 0.0.225
updated chart jxgh/jx-slack from 0.2.0 to 0.2.1
updated chart jxgh/jx-test from 0.0.50 to 0.0.51
updated chart jxgh/jx-ui from 0.0.12 to 0.0.13
updated chart jxgh/jxboot-helmfile-resources from 1.1.210 to 1.1.217

/retest


Add metadata tables

This commit adds metadata tables:

history -- the snapshot log
snapshots -- known snapshots
manifests -- manifest files for a snapshot
files -- data files for a snapshot
entries -- manifest entries for a snapshot

LGTM +1

Merging. Thanks for reviewing, @danielcweeks!

I'm confused about how we can use metadata tables. It looks like we have to pass table type names to Catalog##loadTable. But if so, how can we specify the real table name? Could you help me figure this out? Any example usage can be helpful. Thanks in advance @rdblue
https://github.com/apache/incubator-iceberg/blob/d7c7d0fbb28d711a4e4320c596cfdf4ce1caf93d/core/src/main/java/org/apache/iceberg/BaseMetastoreCatalog.java#L141

@linxingyuan1102, look at the docs here: http://iceberg.apache.org/spark/#inspecting-tables

Thank you for the pointer. I see the point now. The name of the underlying table to be queried is stored in Namespace::levels when a metadata table is queried.

Yeah, the catalog first looks up the table name that is passed in and if it doesn't find that one, checks to see if the table name is a metadata table name and if the namespace is a table. If so, it will load the metadata table.


Fix Incorrect JSX Syntax in Knight Component Example

Fix Incorrect JSX Syntax in Knight Component Example
This PR fixes an issue with the JSX syntax in the Knight component example provided in the documentation. The problem was caused by a misplaced closing parenthesis in the return block, which was breaking the component's functionality.
Changes:

Removed the extra comma in the JSX to fix the closing parenthesis issue.
Updated the example to reflect the correct syntax.

Issue:
Closes #3646

Hi @darthtrevino Could you please take a look at this PR when you have a moment?
Your feedback would be greatly appreciated! 🙌

@mrbadri hi! This one will be merged after we replace the secret key and make an action for a docsite running, here 3653.

@mrbadri hi! This one will be merged after we replace the secret key and make an action for a docsite running, here 3653.

Thank you so much! I appreciate it, and I’ve got it.


print non local occupation matrix

bors try

better output of nearest neighbors
add non-local part of the occupation matrix
print the non-local part
test26 is the example of the non-local Hubbard input

looks good to me so far. I saw you split the local and non local occupations.

Next PR will be about computing the non-local part of the occupation matrix.

that's perfectly fine with me. I will review it.


accomplish the objective in code challenge, Prioritize One Style Over Another; however its not advancing no matter what is done. These chat forums are quite frankly for the most part total BS, "fishing for information relivant"? bottom line the correct end result is achieved and the "test" wont accept and move on. others seem to be experiencing a similar problem, either way I dont like wasting time fishing when I should get a straight foward answer, chat rooms are not the way to go

Challenge Name

https://www.freecodecamp.com/challenges/prioritize-one-style-over-another#?
Prioritize One Style Over Another
according to the criteria to the left all bullets were met/accomplished, and actually several different ways, these are the only two I had on my clipboard for testing on "little web hut" website: http://www.littlewebhut.com/html/style_tag/

class="pink-text">Hello World!
the above worked but wont move on/ so also tried the below;
for a try just to see;

Hello World!
seems there might be a bug or quirk, of which I've discovered several but found a remedy

The challenge is asking you to create two different styles which conflict. I imagine the error arises from h1 {color:pink} being set as such in your first example. In the second example, the error is probably the body { color: pink } attribute. Try removing this style attribute in each case and see what happens.

The first solution you provided worked when I visited the challenge assuming your h1 line is
Hello World!
. Sometimes the editor has an error due to copying/pasting from another site. If you reset the code and then re-enter it, it should work.

@courtjester71 thanks for the issue. Learning to code, or anything else for that matter, will be frustrating at times. You'll have to be humble and either ask for help in the chat rooms or stay calm and try to figure out why your code is not accepted.
I was able to look at the code you had and it looked like this in the editor

We've set up the editor on FreeCodeCamp to do some syntax highlighting and if you look carefully, you'll notice that 1) the text "Hello World!" along with the class="pink-text"> are all in white and 2) the text in the phone emulator on the right shows the text class="pink-text"> as well.
Stopping to think about what your code has done will also help in your learning journey. The challenge was to change the color of your text but your code has accidentally added new text. So if may prompt you to think why did that happen?
The first block of code is incorrect, but the second block of code you have is correct. Your second block of code looks a bit different in the editor.

The syntax highlighting is there to help indicate any issues you may have in your code.
The chat rooms may not be ideal but for a free resource, those chat rooms are teaming with people willing to help. That is something you might not otherwise be around.
I hope this experience will not deter you from continuing to learn how to code. Closing this issue but there is no bug with the site. Best of luck and happy coding!


Support for batch append while adding data

Hi,
From the tutorial, there are only examples for adding trajectory to the reverb server from a single environment. However, a more common setting in RL is that we might have a BachedEnv holding multiple environments (say, n). In this case, on the actor side, the shape of a tensor would be [n, single_shape], but on the learner side, we need a batch of samples to be [T, batch_size, single_shape].  My question is, what is the best practice for this?

There are a number of reasons why we chose not to expose a batched API for the writers and readers.  The main is that, unlike NN compute the performance of a system like Reverb isn't limited by memory bandwidth and as such batching frames in storage and during I/O is not always advantageous.  In fact:

Oftentimes chunking data needs to be flexible to minimize the number of RPCs used to send data, minimize I/O latency, and ensure we keep RPC message sizes in the range that's optimal for gRPC.
Sometimes the data needs to be variably shaped (e.g. the new Trajectory{Writer,Sampler} allows variable-length trajectories)

In these cases, we prefer the Writers to handle one "environment" at a time, and perform batching/chunking of data inside Reverb's clients and server.  Similarly when we read from the server we perform custom control flow to minimize latency in the sampler and rely on tf.data to batch data from multiple sampler threads.  As we improve the system, the control flow algorithms improve and the performance improves even if the API does not expose batching.
The current suggestion is to have a separate writer for each env, and use tf.data with interleaving to sample in parallel and batch data.  For the latter, the ACME reverb dataset uses our currently recommended best practices.  An example of the new TrajectoryWriter is also available in ACME here.
If you have particular performance issues please let us know by filing a separate issue so that we can help you maximize your throughput / minimize latency for your case.


Revert CUDA 12.0 CI workflows to branch-23.08.

This PR reverts changes to the branch of shared-action-workflows used for CUDA 12 testing. Now that https://github.com/rapidsai/shared-action-workflows/pull/101 is merged, we can revert this.

/merge

The C++ tests are failing on CUDA 11.4 with the error below. Here's the failure on CI
The following tests FAILED:
	719 - cpm_libcudacxx-after_cpmfind-ninja (Failed)


Add note about new linkchecker version for 20.04

Adds a quick note to the dev env setup to support Ubuntu 20.04 and other systems that only provide Python 3 now.

LGTM and thanks for this note. I wasn't using linkchecker locally because I didn't want to install python 2 just to run this.

I'd rather be using a pure Rust version so we can remove the Python dependency, but I haven't found a Rust linkchecker that does exactly what the Python version does yet. $num_sideprojects + 1 ...


rv32.tex line 506 typo

Should be: "The right shift type is encoded in bit 30" (like in RV64I description)

The text is correct as-is (bit 30 is "a high bit") but I see no reason not to make them consistent.

54afbb9d65eb2cb17e5b49365a476fb656d153ba


Refactored variant fetching corelib functions.

This additionally fixes the enum types of const-folding eq.

Stack:

#6887 ⬅
#6886

⚠ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.

This change is


Add propagateASGTags for autoscaling manged node group from 0

Is your request related to a new offering from AWS?
Is this functionality available in the AWS provider for Terraform? See CHANGELOG.md, too.

No 🛑: please wait to file a request until the functionality is avaialble in the AWS provider
Yes ✅: please list the AWS provider version which introduced this functionality

Is your request related to a problem? Please describe.

I have a Terraform-managed EKS cluster with a cluster autoscaler. I have two node groups:

A testing node group with a minimum of 1 node and a maximum of 10 nodes
A larger machine node group with a minimum of 0 nodes and a maximum of 5 nodes
Each node group has a custom label (foo/bar: train) that my pods use to schedule. The issue is that when I try to schedule a new pod to the "train" label and the node group has 0 nodes available, the group does not scale.

Describe the solution you'd like.

I read that I need to add propagateASGTags to my node group to fix the scaling issue. However, I could not find a way to add this option to the managed_node_group resource in Terraform. I would like to know how to add this option to my node group so that it can scale properly.
Describe alternatives you've considered.

I have not considered any alternatives.
Additional context

I do not have any additional context or screenshots to provide at this time.

I think rather than propagating the tags to the ASGs, I think the EKS managed nodegroup module should create them on the managed node group from the labels and taints configuration blocks that are specified as part of the nodegroup tf.
Functionality was added to the cluster autoscaler to pick these up directly from the managed nodegroup starting in v1.24: https://github.com/kubernetes/autoscaler/pull/4491

This issue has been resolved in version 19.15.0 :tada:


Debounce does not work with the brightness slider

Library Version 1.0.2
Affected Device: Samsung Galaxy s22 with Android 11.0

Describe the Bug:
Add a clear description about the problem.
If I set the debounce time on the controller, it has no effect on the brightness slider.
Expected Behavior:
Like the HSV colorpicker, the onColorChanged callback should only be called with a regularity corresponding to the debounce time.

This issue has been fixed and it's available in the new version 1.0.3. Thanks for reporting this issue!


[Monitor] Can't update or create tags for diagnostic settings

Reference: https://github.com/Azure/azure-sdk-for-python/blob/39990b16105d89d59f646b0de67aa3d98d5e09b3/azure-mgmt-monitor/azure/mgmt/monitor/models/diagnostic_settings_resource.py#L65

Swagger issue created and linked to this one.

Thank you.

We can confirm that DiagnosticSettingsResource is a proxy resource which Azure Resource Manager does not support tags.


Add missing Piped copyright

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

/approve


Project_1_Task3_ReFramework_with_Queues_Priyesh

Extract titles from table ( vajrang.org website)
Add transaction items to queue
Using ReFramework Output every title in Log Message.

Completed


Add seed kwarg to flow cutter

Flow cutter has an option to set the seed it uses. This should be exposed by QXGraphDecompositions.

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/34324
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.5 -m "<description of version>" a030c09c1b348cf857eb6ddb1742ae307e8d4089
git push origin v0.1.5


Unexpected behavior using apply_gufunc with axes argument

What happened:
Using the axes argument of dask.array.apply_gufunc produces unexpected behavior. I have a few seemingly distinct examples, but I will focus on the simplest one. The attached MCVE is supposed to reduce the core dimension (axis 0), hence the custom function sum_axis_0 reduces this axis, however, the array block passed to sum_axis_0 by apply_gufunc is transposed, hence leading to summing over the wrong axis.
When I briefly looked over the source code, I see that the arrays are very deliberately transposed, hence my expectation may simply be wrong.
Minimal Complete Verifiable Example:
The following example is supposed to reduce the core dimension (0)
import dask.array as da

def sum_axis_0(array):
    return array.sum(0)

array = da.zeros((5, 5), chunks=(5,1))

signature = '(i)->()'

axes = [0]

out = da.apply_gufunc(
    sum_axis_0,
    signature,
    array,
    axes=axes,
)

print('dask array shape (as expected):', out.shape)
print('computed array shape (unexpected):', out.compute().shape)

producing the following output
dask array shape (as expected): (5,)
computed array shape (unexpected): (25,)

@jacobjma Thanks for opening this issue! I'm able to reproduce this, and it does seem like a bug.
Some notes:

axes = [1]/axis=1 seems to be giving the correct result (but it's semantically wrong?)
interestingly, using chunks=(1,5) produces the correct result with your original code

Potential ideas:

this is a bug in apply_gufunc
if it isn't a bug, we maybe need a better error message (rather than creating the 25-element output in this example)
either way, it's worth updating the docs to explain these parameters better :)

When I briefly looked over the source code, I see that the arrays are very deliberately transposed

Thanks for noting! It does seem relevant. Here's a link for future reference: https://github.com/dask/dask/blob/bc43d692e8f5fc55e6d81c91053598bd89f79267/dask/array/gufunc.py#L383-L391

@gjoseph92 @jsignell Do you have thoughts on this?


[1pt] PR: Rating curves adjustments with ml-bathymetry data and optimized mannN

This PR focuses on adjusting rating curves by using bathymetric data and optimized channel roughness values. The bathymetry data includes eHydro surveys and AI-based datasets created for all NWM streams. New manning roughness values were developed for each feature-id using a differential evolution objective function (OF). The OF minimizes the number of the false_positives and false_negatives cells in our flood inundation maps where we have test cases across the CONUS.
Even though the Python scripts of roughness manning number optimization were not included in this branch, optimized roughness values can be found here: /fim-data/inputs/rating_curve/variable_roughness/mannings_optz_fe_clusters_so3.csv. Detailed python scripts also can be found here: /fim-data/outputs/heidi-mannN-optimization/projects/bathy_mannN_projects/dev-bathymetric-adjustment-mannN-optz/.
Changes

src/bathymetric-adjustment.py: correct_rating_for_ai_based_bathymetry function was added to the script. This function processes AI-based bathymetry data and adjusts rating curves using this data. Also apply_src_adjustment_for_bathymetry function was added to prioritize USACE eHydro over AI-based bathymetry dataset. The multi-processing function multi_process_hucs was updated based on the latest code.

src/bash_variables.env: New variables and their paths were added. Also, a new input file with the nwm feature_ids and optimized channel roughness and overbank roughness attributes was created and stored here:
/fim-data/inputs/rating_curve/variable_roughness/mannings_optz_fe_clusters_so3.csv
The locations of these files were also added to the bash_variables.env.

Here is a list of new/updated input files:

/fim-data/inputs/rating_curve/variable_roughness/mannings_optz_fe_clusters_so3.csv
This CSV file contains the new optimized roughness values. It will replace this file:
vmann_input_file=${inputsDir}/rating_curve/variable_roughness/mannings_global_nwm3.csv

bathy_file_aibased=${inputsDir}/bathymetry/ml_outputs_v1.01.parquet
This file contains the ml-bathymetry and manning roughness values data.

bathy_file_ehydro=${inputsDir}/bathymetry/final_bathymetry_ehydro.gpkg
We already had this file, the name of the variable has changed from bathymetry_file to bathy_file_ehydro, and it was updated.

fim_post_processing.sh: New arguments were added.

Testing
This PR has been tested on 11 HUC8s around the Illinois River and Ohio River.
Deployment Plan (For developer use)
How do the changes affect the product?

[x] Code only?
[ ] If applicable, has a deployment plan be created with the deployment person/team?
[x] Require new or adjusted data inputs? Does it have start, end and duration code (in UTC)?
[x] If new or updated data sets, has the FIM code been updated and tested with the new/adjusted data (subset is fine, but must be a subset of the new data)?
[ ] Require new pre-clip set?
[ ] Has new or updated python packages?

Issuer Checklist (For developer use)
You may update this checklist before and/or after creating the PR. If you're unsure about any of them, please ask, we're here to help! These items are what we are going to look for before merging your code.

[x] Informative and human-readable title, using the format: [_pt] PR: <description>
[x] Links are provided if this PR resolves an issue, or depends on another other PR
[x] If submitting a PR to the dev branch (the default branch), you have a descriptive Feature Branch name using the format: dev-<description-of-change> (e.g. dev-revise-levee-masking)
[x] Changes are limited to a single goal (no scope creep)
[x] The feature branch you're submitting as a PR is up to date (merged) with the latest dev branch
[x] pre-commit hooks were run locally
[x] Any change in functionality is tested
[x] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged / future todos are captured in comments
[x] CHANGELOG updated with template version number, e.g. 4.x.x.x
[x] Add yourself as an assignee in the PR  as well as the FIM Technical Lead

Merge Checklist (For Technical Lead use only)

[ ] Update CHANGELOG with latest version number and merge date
[ ] Update the Citation.cff file to reflect the latest version number in the CHANGELOG
[ ] If applicable, update README with major alterations

Ah. Looks like we have new inputs (and/or) some updated ones, correct?

Hi Rob, yes that is correct.
On Fri, Nov 8, 2024 at 1:56 PM Rob Hanna - NOAA @.***>
wrote:

Ah. Looks like we have new inputs (and/or) some updated ones, correct?
—
Reply to this email directly, view it on GitHub
https://github.com/NOAA-OWP/inundation-mapping/pull/1340#issuecomment-2465810923,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFRLX2UVV2DFIDLD565RASDZ7UXP5AVCNFSM6AAAAABROJK2XCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRVHAYTAOJSGM
.
You are receiving this because you were assigned.Message ID:
@.***>

ok. awesome. Can you make a list of which files/folders so I know where to get them and get them moved around. Is it ok for me to start copying them around now?  or not quite yet?

Hi Rob,
There are three input files that I added/changed:

/fim-data/inputs/rating_curve/variable_roughness/mannings_optz_fe_clusters_so3.csv
This CSV file contains the new optimized roughness values. It will replace this file:
vmann_input_file=${inputsDir}/rating_curve/variable_roughness/mannings_global_nwm3.csv

bathy_file_aibased=${inputsDir}/bathymetry/ml_outputs_v1.01.parquet
This file contains the ml-bathymetry and manning roughness values data.

bathy_file_ehydro=${inputsDir}/bathymetry/final_bathymetry_ehydro.gpkg
We already had this file, the name of the variable has changed from bathymetry_file to bathy_file_ehydro, and it was updated.

The new files have been uploaded to all of the environments.


Add integration test case for upgrade

longhorn/longhorn#746

Usage:
pytest --include-upgrade-test -svvl test_upgrade.py::test_upgrade --upgrade-image-tag=IMAGE_TAG
by default the test will upgrade from the latest stable Longhorn version, currently v0.7.0 to master
unless --upgrade-image-tag= options is used to specify different image tag.


Make the error encountered when a package can't be found more user-friendly

Previously we used getPackageDetails to fetch information about the package providing a module. This started failing regularly when GHC moved to package keys, leading to errors of the form haddock: internal error: expectJust getPackageDetails (see https://github.com/haskell/cabal/issues/2297, https://github.com/haskell/haddock/issues/363, https://github.com/haskell/haddock/issues/361, https://github.com/haskell/haddock/issues/353).
Now we use lookupPackage instead, which provides the means for us to gracefully handle failure. The user should now see the slightly more helpful error,
haddock: Unable to find a package providing module "++moduleName pkgMod++ ", skipping Hoogle."

         Perhaps try specifying the desired package explicitly using the --package-name"
         and --package-version arguments."

Still not great, but hopefully along with a fixed Cabal release this error should occur rather infrequently.

Still waiting for my test builds to finish.

Totally forgot about this. Making some minor changes and pushing it in.

Sorry for the hold up. I made some minor changes to the commit (style only) and pushed in.


URL to RHCC page as docker label

Signed-off-by: Robert Cerven<EMAIL_ADDRESS>requires osbs-client change https://github.com/projectatomic/osbs-client/pull/553 to work

one concern is that as I am using Labels, which doesn't contains full set of labels, I am allowing substitution only of that limited set of labels


chore(deps): update helm release deploychart to v3.1.0

This PR contains the following updates:

Package
Update
Change

deploychart
minor
3.0.4 -> 3.1.0

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Receiving incomplete data

Sorry for the next issue, but the next problem is here:
With 0.1.3 the output of SELECT  * FROM dbo.V_TOUR; is:
["mze": "1", "abholung": "0", "tour": "29", "tourname": "Mo. Hopfen [1]", "tournr": "5"] ["mze": "1", "abholung": "1", "tour": "11", "tourname": "Abholer", "tournr": "2"] ["mze": "1", "abholung": "0", "tour": "31", "tourname": "Die. Oberstdorf [1]", "tournr": "6"] ["mze": "1", "abholung": "0", "tour": "105", "tourname": "Lagerumbuchung HV nach Prod.", "tournr": "7777"] ["mze": "1", "abholung": "0", "tour": "17", "tourname": "Lieferung", "tournr": "1"] ["mze": "1", "abholung": "0", "tour": "19", "tourname": "Spedition", "tournr": "3"] ["mze": "1", "abholung": "0", "tour": "107", "tourname": "Lagerumbuchung Prod nach HV", "tournr": "7778", "elb": "ELB Produktion"]
Printing at the same place with 1.0.0 gives the following output:
["tourname": "Mo. Hopfen [1]"] ["tourname": "Abholer"] ["tourname": "Die. Oberstdorf [1]"] ["tourname": "Lagerumbuchung HV nach Prod."] ["tourname": "Lieferung"] ["tourname": "Spedition"] ["tourname": "Lagerumbuchung Prod nach HV", "elb": "ELB Produktion"]
No matter which Database/View targeting... the same error. Only receiving Strings.

In 1.0, SQL Server data types are converted to their Objective-C counterparts. Prior to that, everything was returned as NSString. Please check your code to make sure you are not still expecting strings.

Thank you very much! That's it. We expected string. Fixed and everything works like a charm.

Glad to hear!


wait the thread ends before close the ws, otherwise, it causes seg fault

I'm getting seg fault without having "self.thread.join()" in the close() function.

Getting the segmentation fault too with the order_book demo:
-- Subscribed! --

2017-07-25T16:02:39.889759	bid: 0.620 @ 176.34	ask: 2.000 @ 176.99
^C
-- Socket Closed --
Segmentation fault: 11


Sepolia PowerPool Integrated Test

[x] Integrate a sepolia yield disburser with powerpool
[ ] Observe behavior over time
[x] test behavior of setters

https://sepolia.etherscan.io/address/0x3df19344e31ba689fE1F56b3eF43EF6cFAa13096 mock distributor
https://sepolia.etherscan.io/address/0x689666145b8e80f705b87f4e4190820d9a4c1646 mock bread


Feature Request: Bring back Technical Details

On the UE Marketplace, the "Technical Details" section was part of the product page, while with Fab, it is two extra clicks away.
An option for the extension to read the content of the "Technical Details" tab in the "See Details" popup and inject that text below the Description (above "Included formats") would be a nice addition.

With a little digging, I think it's possible

Hello,
I've added your feature, but we'll have to wait for the Chrome Web Store to validate it.


Support XCLAIM and XPENDING

Hey @dranikpg ! I would be open to picking this issue up (have experience implementing this using redis-py) but have been primarily Go for the past year.
How do you see this integrating with the current implementation?


ERROR "adb push"

Please help me...
ADB driver ✓
System Computer 32 bit ✓
Debugging USB ✓
But still can't

Please don't post screenshots of text, just post the text.
You have 2 incompatible versions of adb running. Check the FAQ.

Sorry..i don't know about that.
Which one should I read? Can you show me?


Code re-organization need

Separate data frame, prediction and analysis in different "def functions" as f.e.:
def prediction(args):
     """
     code goes here
     """

alvarobartt@0f79b96773707f9b17caa0a8e093f11ac70536e6


Migrate to a new Meck

This fixes issue #19
Signed-off-by: Peter Lemenkov<EMAIL_ADDRESS>

Thanks!


School administrator error handling

Issue
We are forging a new path with the Vue migration and more error handling needs to be done. It's not quite clear how all the pieces will fit together yet. For now we want to have at least the same error handling we have elsewhere.
Fix
Use noty in catch'es to make error signaling very clear.
Remaining

[ ] Other erroneous states covered
[ ] How do we handle things going wrong further up in our view hierarchy?

Closing - it was merged to school-administrator-dashboard


Changes service name to 'foo' to match env vars

Previously the docs said the service was named bar, but the environment variables use the name foo

Previously the docs said the service was named bar, but the environment variables use the name foo

I'm not following you, @rileyjbauer. The environs variable is named after the service (which is "foo"), not the container.
I think the documentation saying a container named "bar" is clearer because it clearly distinguishes that the environs variable name is constructed from the service and not the container.

Yeah, this doesn't change anything meaningful and makes it a bit more confusing.


[stable/joomla] Unify and refactor README.md

Signed-off-by: Carlos Rodriguez Hernandez<EMAIL_ADDRESS>What this PR does / why we need it:
Unify and refactor README.md across charts
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[X] DCO signed
[X] Chart Version bumped
[X] Variables are documented in the README.md
[X] Title of the PR starts with chart name (e.g. [stable/mychartname])

/lgtm
/ok-to-test


More inclusive language in the docs

:wave: Sorry I know I'm ignoring all of your well-thought out templates, but I wasn't sure where this would land! Here me out...
I noticed that there are many instances of the word "simply" in your documentation. Unfortunately, words like this can make people feel frustrated and isolated while reading (myself included, hence the issue) - especially if they are facing issues.
If it's alright with your team, I'd like to take a shot at updating the content to make it more inclusive by removing instances of "simply", "easy", "just", etc. I'm part of the team behind Unmock and we're building a lot on top of Jest, so I'm happy to help 😊
Also if you're interested or want more information on this topic, I'd highly recommend watching Jim Fisher's Don't Say Simply talk from Write the Docs Prague 2018 ✍ 🤓
Thank you for the work you do and please let me know if you need more details!

We'd be so happy to merge PRs fixing these! 😊

Yay! I'm on it 🚀


Connection should be able to work through wifi

Currently only works through a serial line (which is pretty good), but a wifi connection would be a good alternative.  Control it through %magic commands

This is done now with %websocketconnect command


feat(brigade.js): handle issue comment events

Adding ability to handle issue/PR comment events, which utilizes a recent Brigade-Github-App feature.  This is still a pre-release feature, so hoping to help test/dogfood in this Porter project.
This feature may perhaps be most useful as a way to trigger CI for PRs that aren't automatically approved to run.  (Note that the comment author must be in the approved list for an action to actually take place.)
This can serve as an exercise on how we may do the same in other deislabs projects.  See also the issue_comment_checks.js example.

/brig run

/brig run


[BUG]

I can't set default value with submission property

I am closing the issue as it was created too long ago and there are no new comments here. I hope it was resolved. If not, please reopen it. Thanks!


Bump 0.1.7-1

This will be used for web-ui v1.3 fixes

Pull Request Test Coverage Report for Build 337

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 61.065%

Totals

Change from base Build 336:
0.0%

Covered Lines:
458

Relevant Lines:
683

💛  - Coveralls


Stable/1.10.x flatpages sitemap url

Hi!
i use https://docs.djangoproject.com/en/1.10/ref/contrib/flatpages/#installation
Follow step 1,2,3
I add:
url(r'^pages/', include('django.contrib.flatpages.urls')),
to base urlpatterns
And add test page in admin:

In sitemap url http://mysite.ru/about/, but i need http://mysite.ru/pages/about/

How to fix?
Set url /pages/about/ for test page in admin?
Sorry for my English!
Please reply! Thanks!

GitHub pull requests are for contributing code changes. Please see https://code.djangoproject.com/wiki/TicketClosingReasons/UseSupportChannels for ways to get help with usage questions.


AttributeError: 'ResearchArticle' object has no attribute 'ext_label'

https://github.com/potsawee/longsum0/blob/06a981576331f44cc6bf29045cb7021efe646ee7/train/batch_helper.py#L242
Hi，when i run ：
python train/train_hiermodel.py conf/hiermodel_v1.txt
then：
Shuffle data...
Traceback (most recent call last):
File "train/train_hiermodel.py", line 265, in
run_training(sys.argv[1])
File "train/train_hiermodel.py", line 105, in run_training
input, u_len, w_len, target, tgt_len, ext_target = batcher.get_a_batch(batch                                                                                _size)
File "/home/WwhStuGrp/yyfwwhstu16/longsum/train/batch_helper.py", line 351, in                                                                                get_a_batch
positive_postions = [pi for pi in self.articles[self.cur_id].ext_label if pi                                                                                < self.num_utterances]
AttributeError: 'ResearchArticle' object has no attribute 'ext_label'
Thanks for ur replying！@potsawee

Hi @1029694141 ,
Sorry for the poor code design. The error occurs because you load original arxiv/pubmed data instead of arxiv/pubmed with Extractive Labels.
To obtain arxiv/pubmed with extractive labels, please look at the examples in this notebook.
Basically, you have to process the original data (e.g. data) to get data with extractive labels (e.g. data_xtras). This process can be applied to podcast/arxiv/pubmed. You can do this processing in parallel to speed up.
Once you process the data to have extractive labels to put them into a pickle file, you then set data_dir to where the new data is. For example:
from arxiv/arxiv_{train/dev/train}.pk.bin to arxiv/with_ext_label/arxiv_{train/dev/train}.pk.bin
I hope this helps.
Best wishes,
Potsawee

Thank you very much for your timely and important reply！
I follow your steps and set new data_dir
but met  variable error :
Shuffle data...
Traceback (most recent call last):
File "train/train_hiermodel.py", line 265, in
run_training(sys.argv[1])
File "train/train_hiermodel.py", line 105, in run_training
input, u_len, w_len, target, tgt_len, ext_target = batcher.get_a_batch(batch_size)
File "/home/WwhStuGrp/yyfwwhstu16/longsum/train/batch_helper.py", line 352, in get_a_batch
ext_target[batch_count][positive_postions] = 1.0
UnboundLocalError: local variable 'ext_target' referenced before assignment
if we need to set 'ext_target' as global variable?
Thank you again for your help！

Hi @1029694141 ,
Sorry for this late reply. I hope you have resolved the issue on your local copy. Not sure about the issue as I cannot reproduce the error you mention.
The variable ext_target is defined in line 333, e.g. ext_target[batch_count][positive_postions] = 1.0 before it is called later. And it is not set as a global variable.
You might want to double check if there is any change in your local copy of code.

Very good and timely answer!


NSException problem with swift

Hi, by using the NSException instead of ErrorType in swift it does not allow the use of the native do-catch mechanism and only use the try-catch from Objective-C like SwiftTryCatch. I think this is helpful for developers.
Keep the good work.

@RMPtc this is actually 100% intentional. These exceptions are programmer errors that should be dealt with before deploying.
While we could allow them to be caught it doesn't really make sense as it will mean you've not setup your Auto Layout properly and will get inconsistent/weird results.
In my eyes its far better to get these as crash reports and fix them.


[mesheryctl] Make system stop --force not return errors

Description
Earlier mesheryctl system stop --force would return error if it didn't find some resource while deleting, which would panic the application and cause it to return without deleting all the resources.
mesheryctl system stop --force does not anymore return error when some resources are not found. It silently logs and goes on.
cc @piyushsingariya
Signed commits

[x] Yes, I signed my commits.

Codecov Report

Merging #5057 (6db174e) into master (81bfa90) will decrease coverage by 7.98%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #5057      +/-   ##
==========================================
- Coverage   32.00%   24.02%   -7.99%
==========================================
  Files          62       62
  Lines        5249     5261      +12
==========================================
- Hits         1680     1264     -416
- Misses       3146     3717     +571
+ Partials      423      280     -143

Flag
Coverage Δ

gointegrationtests
?

unittests
24.02% <0.00%> (-0.06%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

mesheryctl/pkg/utils/platform.go
7.33% <0.00%> (ø)

mesheryctl/internal/cli/root/system/update.go
1.05% <0.00%> (-58.95%)
:arrow_down:

mesheryctl/internal/cli/root/system/status.go
1.14% <0.00%> (-55.18%)
:arrow_down:

mesheryctl/internal/cli/root/system/start.go
1.89% <0.00%> (-54.51%)
:arrow_down:

mesheryctl/internal/cli/root/system/stop.go
2.41% <0.00%> (-50.00%)
:arrow_down:

mesheryctl/internal/cli/root/system/restart.go
1.92% <0.00%> (-45.58%)
:arrow_down:

mesheryctl/internal/cli/root/system/logs.go
3.29% <0.00%> (-37.37%)
:arrow_down:

mesheryctl/internal/cli/root/system/check.go
1.03% <0.00%> (-23.03%)
:arrow_down:

mesheryctl/internal/cli/root/system/dashboard.go
0.00% <0.00%> (-15.88%)
:arrow_down:

mesheryctl/pkg/utils/healthcheck.go
8.82% <0.00%> (-4.42%)
:arrow_down:

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 81bfa90...6db174e. Read the comment docs.


Update ed25519 dependency to v2

The following outdated dependencies are related and likely should be updated together:
$ cargo outdated -R
Name           Project  Compat  Latest  Kind         Platform
----           -------  ------  ------  ----         --------
ed25519        1.5.3    ---     2.2.3   Normal       ---
ed25519-dalek  1.0.1    ---     2.0.0   Development  ---
rand           0.7.3    ---     0.8.5   Development  ---
ring-compat    0.5.1    ---     0.8.0   Development  ---

Some API changes have been made which will require adjustments.

@trevor-crypto and @yellowred, since you have been involved in adding this dependency, maybe it is something you could help with?


Code documentation is insufficient

The code should have D-style documentation to make it easier for new contributors.

Mostly complete. Should be finished tonight (19 JUN 2021, AEST).

Completed.


Ensure that you cannot create an Election after the fact for Callable Bonds

Possibly via an Election factory that is created via the Instrument factory, which has a list of election dates.

I had a look at this in more detail: The issuer creates the election factory and applies the election. The elector creates the election.
There are two cases to consider:

The investor (not the issuer) is elector (e.g. dividend options): since different parties create and apply the election, they can both verify that the election is correct.
The issuer is elector (e.g. callable bonds): since the issuer both creates and applies the election, the investor cannot prevent an election to happen after the fact. However, there should be an audit trail on the ledger if this happens, right? I wonder whether we want to put additional approval steps in place or if it is fine as is.

Putting this on hold for now. For reference and more information on how this is addressed in practice, consider checking how this is implemented in current projects.


Mobile view

I'd like to see a mobile view for this library, I think it'll be awesome!

Thanks for the suggestion @neryash.
@calebjclark To get to this, we're going to need to get double-agent to start outputting mobile data. On statcounter, it looks like Chrome for Android is 64% of the global market, so we'd likely just need to do Chrome to get to 50% of traffic, but we'll need to see how much other things vary by OS versions.


Election cannot close due to Padding frame

Hi, sorry for disturbing.
we are using aeron cluster to build some low-latency application, and we found some puzzle when testing.
We killed our process and restarted it to simulate some extreme scenarios, and we found that our process could not work as expected, our aeron cluster based application has only 1 node, but the Leader cannot be elected sometimes.
After debugging, we found the problem. The appearance of this problem is Election was  blocked at LEADER_INIT state and was waiting for service ACK. But ClusteredServiceAgent was still polling LogAdaptor even though it cannot poll any data. So this election will never close and the application cannot work as expected.
// ClusteredServiceAgent::doWork

if (null != logAdapter.image())
{
     final int polled = logAdapter.poll(commitPosition.get());
     workCount += polled;

     if (0 == polled && logAdapter.isDone())
     {
         closeLog();
     }
}

We found that commitPosition is less than logAdaptor.maxLogPosition so logAdaptor.isDone is always false.
And then we found the commitPosition will be updated at LEADER_REPLAY state.
// ConsensusModuleAgent::replayLogPoll
final int fragments = logAdapter.poll(stopPosition);
final long position = logAdapter.position();

if (fragments > 0)
{
    commitPosition.setOrdered(position);
}
else if (logAdapter.isImageClosed() && position < stopPosition)
{
    throw new ClusterEvent("unexpected image close when replaying log: position=" + position);
}

The key is the code above, there is one padding frame in the tail of our REC file. So when there is only one frame left, the return value of logAdapter.poll will be 0 and the commitPosition will not be updated, but the logReplay.isDone will be true. And LEADER_REPLAY state will be transferred to LEADER_INIT state.
We're not sure whether this is a bug.
Our aeron version is 1.41.4.
Thanks for any reply.

We have pushed a fix for this.  A couple of follow ups.  Do you still have the archive data from when this failed?  If so, if you could use io.aeron.archive.ArchiveTool <dir name> describe to output the values from within the archive.  This data would be helpful for confirming the issue.  Also could you let me know which file sync level you had configured for your archive.

Thanks for the replay！
Our file sync level setting is the default setting.
public static final int FILE_SYNC_LEVEL_DEFAULT = 0;

Thank you, that is useful information.


Collate function confusion

Hello,
im trying to figure out how the default_collation_fn works:
The first line of comment says
 """Take a collection of samples (dictionaries) and create a batch.
But the first line of code checks  that the sample is a list or tuple, not a dictionary
 assert isinstance(samples[0], (list, tuple)), type(samples[0])
With the first comment I would expect samples to be a list of dictionaries, but it should be a list
Im loading about 20 numpy arrays which are in one dictionary of the form
{"data1.npy": [np array data],...}
Do I have to use "to_tuple"? It would be quite a pain to name each sample individually in this function
Am I missing something here?
Thanks a lot in advance

Yes, sorry, the current collation function doesn't handle dictionaries.
I'll add that as an enhancement.

Starting in pytorch 1.11 there is torch.utils.data.default_collate. That might be a solution for your problem @KayARS (if you still have this problem) since you can give a collate function to batched.
Related to that is the unbatch function here that also does not handle batches in the dict format. Would you be interested in a pull request that enables dicts there?

I'll have a look at a PR.
Note that you can pass custom collate functions, so it's just a one liner anyway.


Snapshots

https://github.com/pattern-lab/patternlab-php/issues/22

Closing this issue for now until roadmap is re-established


Application crashes in Call button event

I am facing below crash while using call feature in given sample. Any help would be appreciated.
--------- beginning of crash
2021-01-08 22:32:12.667 10971-10971/com.contoso.acsquickstart E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.contoso.acsquickstart, PID: 10971
java.lang.UnsatisfiedLinkError: No implementation found for com.azure.communication.calling.status com.azure.communication.calling.NativeLibrary.sam_start_call_options_create(com.azure.communication.calling.Out) (tried Java_com_azure_communication_calling_NativeLibrary_sam_1start_1call_1options_1create and Java_com_azure_communication_calling_NativeLibrary_sam_1start_1call_1options_1create__Lcom_azure_communication_calling_Out_2)
at com.azure.communication.calling.NativeLibrary.sam_start_call_options_create(Native Method)
at com.azure.communication.calling.StartCallOptions.(StartCallOptions.java:45)
at com.contoso.acsquickstart.MainActivity.startCall(MainActivity.java:67)
at com.contoso.acsquickstart.MainActivity.lambda$onCreate$0$MainActivity(MainActivity.java:43)
at com.contoso.acsquickstart.-$$Lambda$MainActivity$3djR4rWnSHXW7DfAvror0YWBYps.onClick(Unknown Source:2)
at android.view.View.performClick(View.java:7213)
at android.view.View.performClickInternal(View.java:7187)
at android.view.View.access$3500(View.java:828)
at android.view.View$PerformClick.run(View.java:27675)
at android.os.Handler.handleCallback(Handler.java:900)
at android.os.Handler.dispatchMessage(Handler.java:103)
at android.os.Looper.loop(Looper.java:219)
at android.app.ActivityThread.main(ActivityThread.java:8347)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1055)

Hello @fowzaj, which version of the Azure Communication Services Calling SDK are you using? Version 1.0.0-beta.5 provides support for all Android ABIs. Please make sure you use that version for full compatibility against all devices. If the issue persists after switching to 1.0.0-beta.5, feel free to ping this thread again.

Hello @fowzaj, which version of the Azure Communication Services Calling SDK are you using? Version 1.0.0-beta.5 provides support for all Android ABIs. Please make sure you use that version for full compatibility against all devices. If the issue persists after switching to 1.0.0-beta.5, feel free to ping this thread again.

Hi @kagbakpem ,
Really appreciate your response. And i tried with latest version as you suggested like below
implementation 'com.azure.android:azure-communication-calling:1.0.0-beta.5'
And the error is same as previous one. Thanks for your help

Hi @kagbakpem ,
Really appreciate your response. And i tried with latest version as you suggested like below
implementation 'com.azure.android:azure-communication-calling:1.0.0-beta.5'
And the error is same as previous one. Thanks for your help

@fowzaj, are you running this on device or simualtor? And if so, which ABI are you using?

@fowzaj, are you running this on device or simualtor? And if so, which ABI are you using?

Hi @kagbakpem ,
I tried both Device(Huwei P30,Samsung Tab etc) and emulator but end up with same result

Hi @kagbakpem ,
I tried both Device(Huwei P30,Samsung Tab etc) and emulator but end up with same result


Added support for migrations with comments (mysql only)

I wanted a way for gomigrate to print out comments/status inside a migration. This only applies for mysql, since it's the only supported db type with multi-command migrations.

@DavidHuie Any thoughts to my above comments?

Ping? @DavidHuie ?


Fix: Wrong link to README.md for ONNX InferenceService

What this PR does / why we need it:
The sample jupyter notebook for ONNX InferenceSerivce has a wrong link.
This PR fixes it.

/ok-to-test
/lgtm

/lgtm

/approve


use UnitOfConductivity.MICROSIEMENS

fix #1398

https://github.com/AlexxIT/XiaomiGateway3/releases/tag/v4.0.6


Support custom S3 Host

Today I have to do this, having to re initialize the constant HOST
S3_SERVICE = S3::Service.new(
  access_key_id: AMAZON_ACCESS_KEY_ID,
  secret_access_key: AMAZON_SECRET_ACCESS_KEY
)
S3::HOST = 's3-us-west-2.amazonaws.com'

And I wish I could do this :
S3_SERVICE = S3::Service.new(
  access_key_id: AMAZON_ACCESS_KEY_ID,
  secret_access_key: AMAZON_SECRET_ACCESS_KEY
  host: 's3-us-west-2.amazonaws.com'
)

To avoid warnings about reinitialization of constant.

You can use the proxy option to accomplish this.
https://github.com/qoobaa/s3/blob/master/lib/s3/service.rb#L33
S3::Service.new(access_key_id: 'k', secret_access_key: 's',  proxy: {host: uri.host, port: uri.port})


[Improve] Optimize the start interface of applicationservice

What changes were proposed in this pull request
Optimize the start interface of applicationservice

Brief change log

Verifying this change

This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

Does this pull request potentially affect one of the following parts

Dependencies (does it add or upgrade a dependency): (yes / no)

Why change these? Can you provide some additional information?


Tiktok mobile (vm.tiktok) links don't work

Checklist

[X] I'm reporting a broken site
[X] I've verified that I'm running yt-dlp version 2022.02.04. (update instructions)
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
United Kingdom
Description
When passing a mobile Tiktok link (in the example below https://vm.tiktok.com/ZMLhV4Lcv/, yt-dlp fails to download the video.
Running a curl against this URL shows that Tiktok is just redirecting from vm.tiktok.com to the relevant tiktok.com page:
curl https://vm.tiktok.com/ZMLhV4Lcv/
Moved Permanently.

Would it be possible for yt-dlp to account for this and use the redirected link instead of the one passed to it?
I am not familiar enough with how yt-dlp works to know if this is possible.
Many thanks,
AephK
Verbose log
.\yt-dlp.exe -vU https://vm.tiktok.com/ZMLhV4Lcv/ --ffmpeg-location .\ffmpeg\bin
[debug] Command-line config: ['-vU', 'https://vm.tiktok.com/ZMLhV4Lcv/', '--ffmpeg-location', '.\\ffmpeg\\bin']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, err utf-8, pref cp1252
[debug] yt-dlp version 2022.02.04 [c1653e9] (win_exe)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.22000-SP0
[debug] exe versions: ffmpeg 2022-01-19-git-dd17c86aa1-full_build-www.gyan.dev (setts), ffprobe 2022-01-19-git-dd17c86aa1-full_build-www.gyan.dev
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
Latest version: 2022.02.04, Current version: 2022.02.04
yt-dlp is up to date (2022.02.04)
[debug] [generic] Extracting URL: https://vm.tiktok.com/ZMLhV4Lcv/
[generic] ZMLhV4Lcv: Requesting header
WARNING: [generic] Could not send HEAD request to https://vm.tiktok.com/ZMLhV4Lcv/ ): The read operation timed out
[generic] ZMLhV4Lcv: Downloading webpage
ERROR: [generic] Unable to download webpage: The read operation timed out (caused by timeout('The read operation timed out')); please report this issue on  https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm you are on the latest version using -U (caused by timeout('The read operation timed out')); please report this issue on  https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm you are on the latest version using -U
  File "yt_dlp\extractor\common.py", line 730, in _request_webpage
  File "yt_dlp\YoutubeDL.py", line 3558, in urlopen
  File "urllib\request.py", line 531, in open
  File "urllib\request.py", line 640, in http_response
  File "urllib\request.py", line 563, in error
  File "urllib\request.py", line 502, in _call_chain
  File "urllib\request.py", line 755, in http_error_302
  File "urllib\request.py", line 525, in open
  File "urllib\request.py", line 542, in _open
  File "urllib\request.py", line 502, in _call_chain
  File "yt_dlp\utils.py", line 1501, in https_open
  File "urllib\request.py", line 1358, in do_open
  File "http\client.py", line 1344, in getresponse
  File "http\client.py", line 307, in begin
  File "http\client.py", line 268, in _read_status
  File "socket.py", line 669, in readinto
  File "ssl.py", line 1241, in recv_into
  File "ssl.py", line 1099, in read

Duplicate of https://github.com/yt-dlp/yt-dlp/issues/2396


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_eba8c029-3a8b-4155-a380-5d6cba6dfafb/pull/1 is merged into live branch.
Auto archive content to https://github.com/VSC-Service-Account/docs-archive-test-target_eba8c029-3a8b-4155-a380-5d6cba6dfafb.git

Docs Build status updates of commit 438379a:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-RepositoryUnauthorizedWithSourceCommit] Git data access to 'https://github.com/VSC-Service-Account/docs-archive-test-source' (branch: Release_Archive_master_2020-06-02-04-57-41) is not authorized.. It looks like this might be the first time you’ve submitted a pull request to this repo. Before you can run builds in a pull request, you have to enable your GitHub account in Docs by visiting https://opportal-sandbox.azurewebsites.net. After you enable your account, close and then reopen this pull request to start another build.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Request for User Agents

I already have a bit of code for user agents, but didnt feel like to make a Pull request. I think useragents is the final step to keep the views even with less anonamous proxies.

Script is already using latest user agents based on operating system.

Script is already using latest user agents based on operating system.

Thats great!


compile error: backend/parallel.c:23:10: fatal error: cupsfilters/ieee1284.h: No such file or directory

Describe the bug
Try to compile cups-filters
To Reproduce
Steps to reproduce the behavior:

on  Debian stable system
download wget https://github.com/OpenPrinting/cups-filters/releases/download/2.0.0/cups-filters-2.0.0.tar.gz
unpack
./configure
make
doesn't work, because the file ieee1284.h does not exist, but will be included

Additional context
try to confirm that my bug https://github.com/OpenPrinting/cups-filters/issues/560 with a newer cups-filter version.. (can confirm that also happens with the latest cups)
make
make  all-recursive
make[1]: Entering directory '/root/filterse/cups-filters-2.0.0'
make[2]: Entering directory '/root/filterse/cups-filters-2.0.0'
  CC       backend/parallel-parallel.o
backend/parallel.c:23:10: fatal error: cupsfilters/ieee1284.h: No such file or directory
   23 | #include <cupsfilters/ieee1284.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:2224: backend/parallel-parallel.o] Error 1
make[2]: Leaving directory '/root/filterse/cups-filters-2.0.0'
make[1]: *** [Makefile:2639: all-recursive] Error 1
make[1]: Leaving directory '/root/filterse/cups-filters-2.0.0'
make: *** [Makefile:1348: all] Error 2

Do you have libcupsfilters package installed? Version 2.0.0 forked cups-filters into five different projects, you might be missing the dependency.

it's already installed:
apt search libcupsfilters
Sorting... Done
Full Text Search... Done
libcupsfilters-dev/stable,now 1.28.17-3 amd64 [installed]
  OpenPrinting CUPS Filters - Development files for the library

libcupsfilters1/stable,now 1.28.17-3 amd64 [installed,automatic]
  OpenPrinting CUPS Filters - Shared library

This is the wrong version of libcupsfilters. For building the current version of cups-filters you need libcupsfilters2 (libcupsfilters 2.x).

OMG what a dependency hell..
make
make  all-recursive
make[1]: Entering directory '/root/filterse/cups-filters-2.0.0'
make[2]: Entering directory '/root/filterse/cups-filters-2.0.0'
  CCLD     parallel
/usr/bin/ld: backend/parallel-parallel.o: in function `side_cb':
/root/filterse/cups-filters-2.0.0/backend/parallel.c:843: undefined reference to `cfIEEE1284GetDeviceID'
/usr/bin/ld: backend/parallel-parallel.o: in function `list_devices':
/root/filterse/cups-filters-2.0.0/backend/parallel.c:424: undefined reference to `cfIEEE1284GetDeviceID'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:1687: parallel] Error 1
make[2]: Leaving directory '/root/filterse/cups-filters-2.0.0'
make[1]: *** [Makefile:2639: all-recursive] Error 1
make[1]: Leaving directory '/root/filterse/cups-filters-2.0.0'
make: *** [Makefile:1348: all] Error 2

maybe it's still my fault

@colttt  Hi, have u resolved this bug , I am also facing same issue when running make file..
I have installed
sudo apt-get install libcupsfilters-dev
sudo apt install -y libcups2-dev
make  all-recursive
make[1]: Entering directory '/home/arunpatwa/Desktop/cups-filters'
make[2]: Entering directory '/home/arunpatwa/Desktop/cups-filters'
CC       backend/parallel-parallel.o
backend/parallel.c:23:10: fatal error: cupsfilters/ieee1284.h: No such file or directory
23 | #include <cupsfilters/ieee1284.h>
|          ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:2223: backend/parallel-parallel.o] Error 1
make[2]: Leaving directory '/home/arunpatwa/Desktop/cups-filters'
make[1]: *** [Makefile:2638: all-recursive] Error 1
make[1]: Leaving directory '/home/arunpatwa/Desktop/cups-filters'
make: *** [Makefile:1347: all] Error 2

Describe the bug Try to compile cups-filters
To Reproduce Steps to reproduce the behavior:

on  Debian stable system
download wget https://github.com/OpenPrinting/cups-filters/releases/download/2.0.0/cups-filters-2.0.0.tar.gz
unpack
./configure
make
doesn't work, because the file ieee1284.h does not exist, but will be included

Additional context try to confirm that my bug #560 with a newer cups-filter version.. (can confirm that also happens with the latest cups)
make
make  all-recursive
make[1]: Entering directory '/root/filterse/cups-filters-2.0.0'
make[2]: Entering directory '/root/filterse/cups-filters-2.0.0'
  CC       backend/parallel-parallel.o
backend/parallel.c:23:10: fatal error: cupsfilters/ieee1284.h: No such file or directory
   23 | #include <cupsfilters/ieee1284.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:2224: backend/parallel-parallel.o] Error 1
make[2]: Leaving directory '/root/filterse/cups-filters-2.0.0'
make[1]: *** [Makefile:2639: all-recursive] Error 1
make[1]: Leaving directory '/root/filterse/cups-filters-2.0.0'
make: *** [Makefile:1348: all] Error 2

I was able to resolve this issue. By installing libcupsfilters2 from Link: https://www.linuxfromscratch.org/blfs/view/systemd/pst/libcupsfilters.html
also the required dependency.

Bioth of the above errors can be also solved by installing  libcupsfilters2 and libcupsfilter2-common
"sudo apt-get install libcupsfilters2 libcupsfilters2-common"
But libcupsfilters2 can not be installed by apt in <=Ubuntu22.04.3 LTS.
I have installed it in Ubuntu23.10 and it worked .
Thanks , I hope this will solve the issue for everyone , whoever facing this problem.


Sycl sorting fails for high memory footprint

Depends on https://github.com/oneapi-src/oneDPL/issues/496 (fixed by https://github.com/oneapi-src/oneDPL/pull/389, but not in release yet). Update the dpl version once the fix is available.

Let's close when the new release is in our docker file.


Graphite + Tags - stored values not shown

Hi
I use the laste docker image for testing: https://graphite.readthedocs.io/en/latest/install.html
I put some data with tags in the database:
➜  sl-dashboard git:(master) ✗ python3 create_data_test.py
b'testhuenni.testtags;tagp2=value63 12<PHONE_NUMBER>\n'
b'testhuenni.testtags;tagp2=value99 72<PHONE_NUMBER>\n'
b'testhuenni.testtags;tagp2=value26 62<PHONE_NUMBER>\n'
b'testhuenni.testtags;tagp2=value79 52<PHONE_NUMBER>\n'
b'testhuenni.testtags;tagp2=value86 72<PHONE_NUMBER>\n'
b'testhuenni.testtags;tagp2=value45 23<PHONE_NUMBER>\n'
b'testhuenni.testtags;tagp2=value94 99<PHONE_NUMBER>\n'
b'testhuenni.testtags;tagp2=value49 40<PHONE_NUMBER>\n'
b'testhuenni.testtags;tagp2=value5 62<PHONE_NUMBER>\n'
b'testhuenni.testtags;tagp2=value28 86<PHONE_NUMBER>\n'
b'testhuenni.testtags;tagp2=value25 39<PHONE_NUMBER>\n'
b'testhuenni.testtags;tagp2=value95 96<PHONE_NUMBER>\n'
b'testhuenni.testtags;tagp2=value62 65<PHONE_NUMBER>\n'
b'testhuenni.testtags;tagp2=value34 68<PHONE_NUMBER>\n'

Python3-Script
import graphyte
import time
from random import randint

timeout = 2  # seconds
graphyte.init('localhost', prefix='testhuenni')

def main():
    while True:
        metric = "testtags"  # + str(randint(0, 99))
        value = randint(10, 99)
        tags = {'tagp2': 'value' + str(randint(0, 99))}
        graphyte.send(metric, value, tags=tags)

        time.sleep(timeout)

if __name__ == '__main__':
    main()

The result ( http://localhost/render?target=seriesByTag('tagp2=~value*')&format=json ):

  {
    "target": "testhuenni.testtags;tagp2=value2",
    "tags": {
      "tagp2": "value2",
      "name": "testhuenni.testtags"
    },
    "datapoints": []
  },
  {
    "target": "testhuenni.testtags;tagp2=value21",
    "tags": {
      "tagp2": "value21",
      "name": "testhuenni.testtags"
    },
    "datapoints": []
  },
  {
    "target": "testhuenni.testtags;tagp2=value25",
    "tags": {
      "tagp2": "value25",
      "name": "testhuenni.testtags"
    },
    "datapoints": []
  },
  {
    "target": "testhuenni.testtags;tagp2=value26",
    "tags": {
      "tagp2": "value26",
      "name": "testhuenni.testtags"
    },
    "datapoints": []
  },
  {
    "target": "testhuenni.testtags;tagp2=value28",
    "tags": {
      "tagp2": "value28",
      "name": "testhuenni.testtags"
    },
    "datapoints": [
      [
        null,
<PHONE_NUMBER>
      ],
      [
        null,
<PHONE_NUMBER>
      ],
      [
        null,
<PHONE_NUMBER>
      ]
    ]
  }
]

as image:

Now you can see my setup. My question: where I can find the stored values (12,72,62,52,72,...)? All datapoints have a null value.

Your storage-schema does not match the interval you send your metrics in. See https://github.com/graphite-project/carbon/blob/master/conf/storage-schemas.conf.example and https://graphite.readthedocs.io/en/latest/config-carbon.html#storage-schemas-conf

Hi @piotr1212
THNQ for your reply.
I´ve set the timeout to 12 seconds but nothing changes.
Here ist the configuration from the docker image (set to 10 seconds) - https://github.com/graphite-project/docker-graphite-statsd/blob/master/conf/opt/graphite/conf/storage-schemas.conf

@chuenniger : timeout doesn't matter.
Graphite handling every unique combination of tags as a unique metric, so, if you generate them randomly – you will get a unique metric every time. Then, you insert data, it will be written to 1st archive in whisper file, hence 10s:6h. Then, if you asking data more than 6 hours later it will be effectively gone, because there was only 1 point of data, which never was propagated to 2nd archive. because of default xFilesFactor = 0.3 (from https://github.com/graphite-project/docker-graphite-statsd/blob/master/conf/opt/graphite/conf/storage-aggregation.conf)

Hi
THNQ for your replies. My goal is to store some metrics for the Grafana Worlmap Plugin.
Do you have an example for this?

Hello @chuenniger ,
Which example do you mean?

Hello @chuenniger ,
Which example do you mean?

To store the required data for the Worldmap plugin to graphite. With alle required parameters.

Hello @chuenniger ,
Which data do you need to store? Which parameters do you need, for carbon? Then we need to know which data do you need to store, with which precision and retention.
Sorry, but your question is too generic, you probably need to elaborate it a bit.

Okay no problem.
I want to use the Worldmap Plugin from Grafana: https://grafana.com/plugins/grafana-worldmap-panel
At the point Time Series Data as the Data Source is Graphite in the supported database list.
I want to store required data in Table format
"series": [
  {
    "name": "logins.count",
    "tags": {
      "geohash": "9wvfgzurfzb"
    },
    "columns": [
      "time",
      "metric"
    ],
    "values": [
      [
<PHONE_NUMBER>815,
        75.654324173059
      ]
    ]
  }
]

Is that enough information for you?
Regards,
Hu3nn1


[Cleanup] Remove duplication in Netty4HttpRequestHeaderVerifier

Description
This PR removes some duplication in the Netty4HttpRequestHeaderVerifier around the /_plugins/_security/api/authtoken endpoint and also abstracts the logic for where authentication is skipped into helper methods.

Category (Enhancement, New feature, Bug fix, Test fix, Refactoring, Maintenance, Documentation)

Maintenance
Check List

[ ] New functionality includes testing
[ ] New functionality has been documented
[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@cwperks Should this be marked ready for review?


Time control

It would be neat to be able to pause (without the menu) and accelerate time in singleplayer.
Pausing can help slow readers to thoroughly read all the item descriptions the first time they encounter them.
Accelerated time for when mobs leak or when you are sure the towers can handle the wave.

I implemented increasing game speed but not pausing.
During playtests I noticed that the timer between waves is useful to discourage too much micro-managing of items in tower inventories. Adding a pause function would remove that and enable extreme micro managing.


Can't debug anymore the office 365 workbench since 1.1.0 ?

Category

[ ] Question
[ ] Typo
[? ] Bug
[ ] Additional article idea

Expected or Desired Behavior
Runs Office 365 workbench in debug mode
Observed Behavior
I run gulp serve
Start debugging office 365 workbench and get this errors
Warning!
Use of this tool exposes you to potential security threats which can result in others gaining access to your personal Office 365 data (documents, emails, conversations and more). Make sure you trust the person or organization that asked you to access this tool before proceeding.
Learn more here: https://technet.microsoft.com/en-us/library/bb794823.aspx
VM1058:4 GET https://localhost:4321/temp/manifests.js net::ERR_CONNECTION_REFUSED
T @ VM1058:4
...
VM1058:4 Mixed Content: The page at 'https://.../sites/Developpersite/_layouts/15/workbench.aspx' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://localhost:4321/temp/manifests.js'. This request has been blocked; the content must be served over HTTPS.
...
workbench-assembly_en-us_af4559a….js:150 Failed to load debug manifests: Error: Error loading http://localhost:4321/temp/manifests.js
XHR error loading http://localhost:4321/temp/manifests.js
(anonymous) @ workbench-assembly_en-us_af4559a….js:150
workbench-assembly_en-us_af4559a….js:145 The Button component has been deprecated. Use specific variants instead. (PrimaryButton, DefaultButton, IconButton, CommandButton, etc.)
...
VM1058:4 Uncaught (in promise) Error: Error loading http://localhost:4321/temp/manifests.js
XHR error loading http://localhost:4321/temp/manifests.js
at XMLHttpRequest.o (eval at  (workbench-assembly_en-us_af4559a….js:140), :4:14084)

Steps to Reproduce
Install the SharePoint framework using the tutorial 1.0.0
Configure the debug mode

Run the debug mode
To troubleshoot I have :

Update to SPFX 1.1.0
Ran gulp untrust-dev-cert
Ran gulp trust-dev-cert

Question :
Do you know what is this warning "Use of this tool exposes you to potential security threats which ... " ??
For info : Chrome 59

Hi @seaSide974, Do you see a shield icon at the right edge of the browser address bar? if yes, can yo utry and click on that to "load unsafe content" if that start working for you?

So the warning message is intentional, and shouldn't block anything.  It's to stop social engineering type attacks on people.  The weird thing sounds like you are getting blocked on https on your localhost.
Does the same thing happen with different browsers?  Did you accidentally put a - in your gulp command when you ran it?

Thank you for your quick answer, I restarted evereything now i can debug, i have those error, i guess i can ignore it ?

Also i have uninstalled this extension in chrome that set https everywhere, maybe it was due to that ? I dont know https://chrome.google.com/webstore/detail/https-everywhere/gcbommkclmclpchllfjekcdonpmejbdp?hl=en

Have you trusted the development certificate? You can run gulp trust-dev-cert and set the https property to true in the serve.json file.

As Mentioned i have already done gulp trust-dev-cert
I verified the serve.json, https is set to true

Did this recently work? Do you have a firewall configured that blocks connections to localhost? Can you browse directly to https://localhost:4321/?

In workbench i get this error but why i get after deploying to azure cdn?
I already done "gulp trust-dev-cert and set the https property to true in the serve.json file."
but still getting
Warning!
Use of this tool exposes you to potential security threats which can result in others gaining access to your personal Office 365 data (documents, emails, conversations and more). Make sure you trust the person or organization that asked you to access this tool before proceeding.
Learn more here: https://technet.microsoft.com/en-us/library/bb794823.aspx

Seems like this is resolved, so I'm going to close this issue. Please reopen if this is still an issue.

I think this needs a bit more clarification, this is pretty common in sp online.
When the message says "Use of this tool", what tool does it refer to exactly? @andrewconnell - are you saying that this message refers to the use of a browser console?
 The errors are not being thrown to warn a user too, right?


build: Split virtiofs config into stable and experimental

Virtiofs config today uses stable features. But in order to
keep testing newer changes and be more agresive.
stable:

Stable kernel
qemu vanilla
no dax
cache auto

experimental:

Non lts kernel
Patched kernel
Patched qemu
DAX support

Depends-on: github.com/kata-containers/tests#3068
Fixes: #3083
Signed-off-by: Carlos Venegas<EMAIL_ADDRESS>

/virtiofs

Hi @jcvenegas - I like the concept, but I wonder if we need this in 1.x at this stage? Is there a 2.x equivalent PR too?

Hi @jcvenegas - I like the concept, but I wonder if we need this in 1.x at this stage? Is there a 2.x equivalent PR too?


Error when running cannot access org.springframework.data.elasticsearch.core.query.BaseQueryBuilder

Hi,
I am getting following error when trying to run the code
/Users/hkshar/mywork/open-search/opensearch-bootful/src/main/java/com/aws/samples/opensearch/service/CustomerSearchService.java:85:17
java: cannot access org.springframework.data.elasticsearch.core.query.BaseQueryBuilder
class file for org.springframework.data.elasticsearch.core.query.BaseQueryBuilder not found

Hi,
Update the code from the latest versions. However, should be a thing from your side as I always test all the released versions.
Let me know!


add onActivityResult handler to Android install instructions

The onActivityResult handler in MainActivity.java was removed in RN 0.18. Several packages that extend Native Modules need this handler to be modified or at least exist.
This PR modifies the Android install instructions to show how to add the handler.

Supporting this merge. Helped me out of a long day of scratching my head.

cool stuff, I dont know why that instruction was deleted though.
however im seeing more than readme changes. @magus will need to look at this


Add 'Getting Started' for Sandbox

Fixed in https://github.com/AztecProtocol/aztec-packages/pull/1477