TITAN 1126: upgrade to latest solr and improve solrcloud support

https://github.com/thinkaurelius/titan/issues/1126
Adds a new property and additional support for SolrCloud to allow re-use of config sets and reduce amount of manual configuration needed to use Titan with Solr.

This looks interesting.  I like the documentation changes.  If I'm reading the source changes right, this affects creation of new Solr-backed indices.  It introduces a new config option called configset.  If set, Titan will assume it names a extant directory containing config files in the Solr cluster, and Titan will setup collections it creates to reuse those config files.  Critically, it does not touch the actual name of the collection, just the name of a collection's configs.  So we can still have multiple indices per backend, but now the user has the option of writing and uploading Solr config files once and then reusing them across multiple collections.
Did I understand the PR?  If so, do you have any suggestions on how we should test this?

Also: can you please sign the new Titan CLA (http://titan-cla.datastax.com/)?

You summarized the pull request/changes precisely.
One detail: Once the initial config set is loaded from disk into Zookeeper
by SolrCloud, future references to the config set are reused from Zookeeper
and not from disk.
On Fri, Sep 4, 2015 at 3:31 PM, Dan LaRocque<EMAIL_ADDRESS>wrote:

This looks interesting. I like the documentation changes. If I'm reading
the source changes right, this affects creation of new Solr-backed indices.
It introduces a new config option called configset. If set, Titan will
assume it names a extant directory containing config files in the Solr
cluster, and Titan will setup collections it creates to reuse those config
files. Critically, it does not touch the actual name of the collection,
just the name of a collection's configs. So we can still have multiple
indices per backend, but now the user has the option of writing and
uploading Solr config files once and then reusing them across multiple
collections.
Did I understand the PR? If so, do you have any suggestions on how we
should test this?
—
Reply to this email directly or view it on GitHub
https://github.com/thinkaurelius/titan/pull/1132#issuecomment-137834036.

Dan,
You asked about verification.
I am thinking out loud with you here rather than proposing anything
specific at the moment.
The way I verify this feature manually is to create several mixed indexes
in a test Titan
database, and make sure the indexes are working as expected via the Gremlin
shell.
I then log into the Zookeeper cli - zkCli.sh and verify that the Solr Cloud
data there is as I would expect to see it.
Under /configs I expect to see only a single configset defined - the one
referenced in the Titan configuration file and the one copied under solr
cloud.  There should be no other config sets present :    ls /configs
Contrast this to the default behavior where multiple configsets will appear
in the ls /configs listing.
I manually check the collections in Zookeeper:  ls /collections to make
sure there is an entry for all of the indexes that were created in Titan.
I manually verify that there is only a single directory under the Solr
Cloud directory structure that contains the single Titan default config set
(or whatever config set I am re-using).  Contrast this to the default
behavior where multiple manual copies and subdirectories for each config
set are required.
That's about it.  What do you think ?
On Fri, Sep 4, 2015 at 3:31 PM, Dan LaRocque<EMAIL_ADDRESS>wrote:

This looks interesting. I like the documentation changes. If I'm reading
the source changes right, this affects creation of new Solr-backed indices.
It introduces a new config option called configset. If set, Titan will
assume it names a extant directory containing config files in the Solr
cluster, and Titan will setup collections it creates to reuse those config
files. Critically, it does not touch the actual name of the collection,
just the name of a collection's configs. So we can still have multiple
indices per backend, but now the user has the option of writing and
uploading Solr config files once and then reusing them across multiple
collections.
Did I understand the PR? If so, do you have any suggestions on how we
should test this?
—
Reply to this email directly or view it on GitHub
https://github.com/thinkaurelius/titan/pull/1132#issuecomment-137834036.

Thanks for replying about testing.  Accessing ZK is an interesting angle.  I wonder if there is an programmatically-accessible API that easily dumps enough config information for test assertions (maybe that's ZK in this case).  That's sort of how we test some config-manipulating options in ES.
This is a substantial quality of life improvement without, as far as I can tell, much of a potential surface area for bugs; and the fallback to pre-merge behavior in the default configuration is another plus.  I merged it into titan09.


Deactivate instead of destroy projects

Seems the api allowed full project delete and some background workers were failing with missing record.  I've reworked the destroy route to just deactivate instead, note that users with rights can hard delete workflows, subject_sets and set_member_subjects so any deactivate could possibly be a shell.
I'm thinking we should keep projects around for posterity and possibly restores. Should we just allow the project to be hard deleted instead?

LGTM
I noticed a few of those missing projects when I was looking at data for nightly exports. Should we add foreign key constraints on more stuff?

can we just take notes on this issue, https://github.com/zooniverse/Panoptes/issues/1372?

Yeah I didn't mean in this PR. You'd have to re-add deleted project records before you could set up that FK anyways, and that's definitely out of scope for this PR.


Fixed typo on logs, 'interactive message' instead of 'slash command'

Just something minor but bothered me during debugging/exploring.
Cheers,
Deu

Thank you!


DNS Documentation

He everyone!
Please work everyone in documentation branch
and add your information about DNS in DNS documentation file.

khalil Khani Mana Sanga proja wa???


Java support

I don't see Java listed in the plugin documentation as one of the supported languages for deployment. If it isn't supported, we could use this ticket to track potential Java support for the plugin. If it's supported, we can simply use this ticket to track a documentation update.

Howdy @zugaldia!
Java support was not included with the initial release as we haven't had a use case yet and it required a little more software to be installed than the other languages.
Looking at the docs for Java and App Engine, I think we'd need to also get at least Java 7 and Maven installed in our Docker image. From there, we'd likely need to add support for a new command to kick things off via Maven.
Definitely interested in adding support if you and/or others want to collaborate.


add the timelimit keyword to the tns photometry query (issue #26)

I just added a while loop and checked if we should wait for the timelimit keyword to finish! This seems to work as far as I can tell. I've tested all three of the possibilities in the loop and it behaves appropriately with all three.
This should be merged simultaneously with the PR in the saguaro_tom repo, otherwise things will break in the TOM!

Tested locally and worked great. Also updated galaxy crossmatching to include new Legacy Survey DR10 catalog name.


Add standalone karate test type

Pull request description
By providing support for the standalone karate jar, the executor becomes more flexible.
This provides a way for users to support class path execution of java and use custom karate hooks located in another jar.
Checklist (choose whats happened)

[ ] breaking change! (describe)
[x] tested locally
[x] tested on cluster
[ ] added new dependencies
[x] updated the docs
[x] added a test

Breaking changes
none
Changes

Removed the jbang dependency
Updated JDK to 11.0.18_10

Fixes
Some comments in the code

@lreimer What do you think of the suggested changes?


Remove version: qBittorrent.qBittorrent version 4.6.1

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

Close with reason: URL works;


feat: Add type class for ENat-valued floor functions

This PR adds a type class for extended natural number -valued floor functions. This is split off from #15269, where the suggestions were to make the floor function on ENNReal ENat-valued and to have an API mimicling FloorSemirings. Besides ENNReal, at least ENNRat would naturally satisfy the general type class.

Two things are worth noting:

To fully mimic FloorSemiring API, also ceiling functions need to be added. The plan is to do that in a later PR.
The PR introduces the class CastNatENatClass to ensure that natCast and a coercion from ENat behave in the natural and order-respecing manner. This feels a little ad hoc, but such assumptions are needed for general ENat-valued floor functions to behave well.

Even if we add ENNRat, this PR won't help deduplicating API between ENNReal and ENNRat, because Lean unfolds coercions, so generic lemmas will use coe while specific types will use ENat.toENNReal and ENat.toENNRat. Should we stick to ENNReal for now and generalize later (probably, by introduce ENatCast class), if needed?

@kkytola What do you plan to do about this PR and the floor function ENNReal -> ENat?

@kkytola What do you plan to do about this PR and the floor function ENNReal -> ENat?

Honestly, I am rather unsure. I created this PR to try to satisfy reviews of PR #15269, which was intended to be one of a handful of trivialities (including #15115) with which one gets the good formulation (i.e., a formulation in terms of general filters) of portmanteau theorem. The good version of portmanteau is essentially a prerequitise for more substantial theory of convergence in distribution, including what is needed for the central limit theorem. (Although in separable spaces it is possible also to work around the general filter portmanteau by using because due to first countability from pseudo-metrizability of the topology of convergence in distribution from #11549... But not embracing general filters just does not feel right for Mathlib.)
If it looks acceptable, I might consider abandoning the present PR and reverting PR #15269 back to a commit where the ENat-valued version of ENNReal.floor was working without the general API that this PR was intended to satisfy. (Perhaps a commit around d77dc74 https://github.com/leanprover-community/mathlib4/pull/15269/commits/d77dc74c7b55ac7569c0bbb567e012bb2956eb49, but there have since been other modifications, including Galois coinsertions.)
Is there a consensus among reviewers about what is wanted? I just wanted a floor function on ENNReal, together with its right continuity and a few other simple facts (I actually needed the ceiling function instead, but I PR'd the floor as a probe of an acceptable implementation since both counterparts should exist in the end). I will likely not have time for refactors in the near future, but recording a clear view of what is wanted would be helpful.

If it looks acceptable, I might consider abandoning the present PR and reverting PR #15269 back to a commit where the ENat-valued version of ENNReal.floor was working without the general API that this PR was intended to satisfy. (Perhaps a commit around d77dc74, but there have since been other modifications, including Galois coinsertions.)

Yes. I think we talked past each other in #15269. I meant to say that you should write the API as if it were general, so that it's easier to adapt to ENNRat later if we want, but I didn't mean that you should be adding the machinery to actually make it more general. Basically, I want the lemma names and statements to feel like they are part of a general API, but I would rather avoid premature generalisation.


feature: [External Stream] Format settings declared on creation time should be taken into account

PR checklist:

Did you run ClangFormat ?
Did you separate headers to a different section in existing community code base ?
Did you surround proton: starts/ends for new code in existing community code base ?

Please write user-readable short description of the changes:
Closes #533 . Please refer to the issue to see the problem this PR resolves.

need run all test, instead re-run failed tests @zliang-min

(Jove Github Bot) added it to the current sprint.

(Jove Github Bot) moved this ticket out of the GitHub project(up to 1200 tickets for one project).


Games crash to black screen

System Specs:
GPU: 7900xtx
CPU: 7600x
Around a couple months ago (I think around the release of ChimeraOS 42) I started having crashes to a black screen after playing a bit in most games.
I've tried looking at my logs, but all I've found is a bunch of xprops segfaults due to the -set GAMESCOPECTRL_BASELAYER_APPID being empty (note: I think argc was 10 but I only saw 7 arguments in argv):

It seems like those might be related to this commit? I'm not sure if that explains the crashes in general though.
Steam does come back up if I put it to sleep and then wake it, but the games themselves don't come back.
I tried rolling back to 41 / 42, but I ran into the same issues with both.
I also tried unlocking and updating the kernel, which fixed a separate issue I had with the steam ui being invisible in game, but it had no effect on stability. Removing the Nvidia drivers and resetting my motherboard settings also had no effect.

Just an FYI, I see the xprops segfaults in dmesg on my fully working system, 6700xt/10700k.

Tried using mesa-git and gamescope-git, but ran into the same issue. I did see an aborted gamescope process in coredumpctl.
Also just thought it might be relevant that I'm using a caldigit display port 2.0 to HDMI 2.1 adapter so I can do stuff at 4k 120. I had an issue with it at 4k 120 once a while back, so I'll try testing some other resolution / refresh rates to see if that affects it any

I tried rolling back to 41 again and that seems to have resolved it. It also fixed a separate issue I had in Watch Dogs 2 where the shadows were constantly flashing

Ran into frozen shader compilation with SF6 on 41, so I tried upgrading to 42 again. At least for the bit I tested it I didn't see any crashes, but the visuals in Watch Dogs 2 became bugged again

Looks like it's a regression in Mesa 23, downgrading to 22.3.6 on the newest release fixed all my issues


Update fr.yml

same as in german language file: One wrong space in attribute target="_b lank"

thanks.


Can't really get this to work

Describe the bug
Sorry, I don't have a very clear problem to report. I've just really struggled to get metals and neovim to work. I'd say jump to definition works ~25% of the time on any repo. Diagnostics (compiler warnings/errors) occasionally appear as an overlay but then often don't disappear again (after the problem is fixed) without killing the buffer. Import suggestions do seem to work a bit more reliably. Both metals 1.0 and recent previous versions exhibit the same behaviour.
The fact that it works sometimes makes me think that my setup isn't completely wrong but I've bashed my head against it for a long time and have no idea what is wrong so any help would be massively appreciated.
I've extracted and uploaded my nvim config here. In particular the Scala config is in lua/plugins/scala.lua. Other lsp-config is in lua/plugins/lang.lua in case there's any weird interaction there.
I do always see a huge number of
Jul 20, 2023 3:40:31 PM org.eclipse.lsp4j.jsonrpc.RemoteEndpoint handleCancellation
WARNING: Unmatched cancel notification for request id 178

messages in the metals logs. I'm not sure if this is relevant or not.
I should also say that I have the same experience on two separate machines. Thanks so much in advance! If there's any other info I can provide then let me know.
Expected behavior
No response
Operating system
macOS
Version of Metals
v1.0.0
Commit of nvim-metals
92e2085f08da4598c6ae0c19c332c5c04b33a2c5

Hey @TimWSpence, I'm sorry it hasn't been working great for you. Let's try to figure out what's going on. I'm not super familiar with Lazy, so I'm not real sure on the inner-workings of how it works with other plugins. Taking a look at the files you linked:
scala.lua

I see in https://github.com/TimWSpence/nvim/blob/dc271e3385e425746c0854b53ff4c2e1224c9143/lua/plugins/scala.lua#L5 you have a BufEnter trigger only for worksheets. Is this intended?

lang.lua

The one thing that sticks out to me here is https://github.com/TimWSpence/nvim/blob/dc271e3385e425746c0854b53ff4c2e1224c9143/lua/plugins/lang.lua#L12. What exactly does ensure installed mean? There's a chance that this could be causing issues since nvim-metals actually fully handles the installation of metals. If you don't want it to, then you'll want to make sure to use useGlobalExecutable here to tell it to look for a metals that is available.

Thanks so much @ckipp01!
The BufEnter was just a hack because worksheet files don't seem to be classified as Scala according to Lazy's filetype. But removing that makes no difference.
That bit in lang.lua is just installing the treesitter grammar for scala rather than any LSP stuff (unless my understanding is wildly wrong 😅 )
But I've just tried removing all the files in plugin other than scala.lua to get a pretty vanilla Lazyvim setup and it still sees enormous numbers of timeouts in the metals logs and not much works 😭 Do you have a known good complete nvim setup with metals that I could try just as a comparison?

Hey @ckipp01, I think I've found at least one issue (although have no idea how to fix it 😅 ). If I open a file (nvim <path>) then metals starts up and attaches successfully and seems generally happy. However, if I then open another file (either directly or via jump-to-definition) then the new buffer is not attached to the LSP client. If I run :lua vim.lsp.buf_attach_client(0,1) in the new buffer then metals starts to work in that one too, but still doesn't work in any future buffers.
Checking Lazy I see that nvim-metals is still loaded so I don't think it's due to Lazy but I definitely could be wrong about that. And I have no clue how to debug the depths of nvim-metals and lsp-config to figure out why it doesn't attach 😅

Actually I think my understanding of neovim plugin loading and Lazy was wrong 🤦 I thought that the Lazy config would be evaluated per buffer but actually it's only evaluated once when the plugin is loaded. Comparing to rust-tools which I configured similarly, it works because it sets up that autocmd to attach any new buffers. So if I want to keep the Lazy plugin loading then I need to setup a similar autocmd.
I'll let you know how I get on 😆

OK that was the problem. It looks like it's working much better now.  Ha, no worries at all and nice debugging. I should have also thought of that as I believe this has bit a couple people before as well. I'll go ahead and close now, but if you still have issues with something not working as expected, please do report back. Actually if you wouldn't mind pasting your new config in here in case someone else stumbles on this it might help.

Hey! Ha, no worries at all and nice debugging. I should have also thought of that as I believe this has bit a couple people before as well. I'll go ahead and close now, but if you still have issues with something not working as expected, please do report back. Actually if you wouldn't mind pasting your new config in here in case someone else stumbles on this it might help.

Thanks again! Thus far it's working really nicely :) I see you already changed the title to something more helpful mentioning Lazy 😆 Here's my config now (it was a very small change to fix it):
return {
  "scalameta/nvim-metals",
  dependencies = { "nvim-lua/plenary.nvim", "mfussenegger/nvim-dap" },
  ft = { "scala", "sbt" },
  event = "BufEnter *.worksheet.sc",
  config = function()
    local api = vim.api
    ----------------------------------
    -- OPTIONS -----------------------
    ----------------------------------
    -- global
    vim.opt_global.completeopt = { "menuone", "noinsert", "noselect" }
    vim.opt_global.shortmess:remove("F")
    vim.opt_global.shortmess:append("c")
    -- LSP Setup ---------------------
    ----------------------------------
    local metals_config = require("metals").bare_config()

    -- Example of settings
    metals_config.settings = {
      showImplicitArguments = true,
      showInferredType = true,
      superMethodLensesEnabled = true,
      showImplicitConversionsAndClasses = true,
    }

    -- *READ THIS*
    -- I *highly* recommend setting statusBarProvider to true, however if you do,
    -- you *have* to have a setting to display this in your statusline or else
    -- you'll not see any messages from metals. There is more info in the help
    -- docs about this
    metals_config.init_options.statusBarProvider = "on"

    -- Example if you are using cmp how to make sure the correct capabilities for snippets are set
    metals_config.capabilities = require("cmp_nvim_lsp").default_capabilities()

    -- Debug settings if you're using nvim-dap
    local dap = require("dap")

    dap.configurations.scala = {
      {
        type = "scala",
        request = "launch",
        name = "RunOrTest",
        metals = {
          runType = "runOrTestFile",
          --args = { "firstArg", "secondArg", "thirdArg" }, -- here just as an example
        },
      },
      {
        type = "scala",
        request = "launch",
        name = "Test Target",
        metals = {
          runType = "testTarget",
        },
      },
    }

    metals_config.on_attach = function(client, bufnr)
      local metals = require("metals")
      metals.setup_dap()

      local wk = require("which-key")
      wk.register({
        ["<localleader>"] = {
          h = {
            name = "hover",
            c = {
              function()
                metals.toggle_setting("showImplicitConversionsAndClasses")
              end,
              "Toggle show implicit conversions and classes",
            },
            i = {
              function()
                metals.toggle_setting("showImplicitArguments")
              end,
              "Toggle show implicit arguments",
            },
            t = {
              function()
                metals.toggle_setting("showInferredType")
              end,
              "Toggle show inferred type",
            },
          },
          t = {
            name = "Tree view",
            t = {
              function()
                require("metals.tvp").toggle_tree_view()
              end,
              "Toggle tree view",
            },
            r = {
              function()
                require("metals.tvp").reveal_in_tree()
              end,
              "Review in tree view",
            },
          },
          w = {
            function()
              metals.hover_worksheet({ border = "single" })
            end,
            "Hover worksheet",
          },
        },
      }, {
        buffer = bufnr,
      })
      wk.register({
        ["<localleader>t"] = {
          function()
            metals.type_of_range()
          end,
          "Type of range",
        },
      }, {
        mode = "v",
        buffer = bufnr,
      })
    end

    local nvim_metals_group = vim.api.nvim_create_augroup("nvim-metals", { clear = true })
    vim.api.nvim_create_autocmd("FileType", {
      -- NOTE: You may or may not want java included here. You will need it if you
      -- want basic Java support but it may also conflict if you are using
      -- something like nvim-jdtls which also works on a java filetype autocmd.
      pattern = { "scala", "sbt", "java" },
      callback = function()
        require("metals").initialize_or_attach(metals_config)
      end,
      group = nvim_metals_group,
    })
  end,
}

@TimWSpence did you also solve the never ending handleCancellation issue?
Jul 20, 2023 3:40:31 PM org.eclipse.lsp4j.jsonrpc.RemoteEndpoint handleCancellation
WARNING: Unmatched cancel notification for request id 178

In my case it gets printed for every keystroke in a scala file.

@madtrick oh dear, that's a lot 😅 Is it working apart from that?
I do still get those messages but not that kind of volume of them


Need to log-in everytime the app is reopened

This started about 2 days ago on a Fedora 25 machine.
Whenever I restart trello-desktop, it asks me for my password.
Even a clean closing of the app and starting it again has this effect.
Thinking this was a permissions problem I checked file permissions in the ~/.config/Trello folder, but nothing obvious there:
.config % ls Trello -alh
total 44K
drwxrwxr-x.  5 rapha rapha 4.0K May 19 11:36 .
drwxr-xr-x. 73 rapha rapha 4.0K May 19 11:36 ..
drwx------.  2 rapha rapha 4.0K May 19 11:37 Cache
-rw-rw-r--.  1 rapha rapha   94 May 19 11:36 config.json
-rw-r--r--.  1 rapha rapha  10K May 19 11:36 Cookies
-rw-r--r--.  1 rapha rapha    0 May 19 11:36 Cookies-journal
drwx------.  2 rapha rapha 4.0K May 19 11:36 GPUCache
drwx------.  2 rapha rapha 4.0K May 19 11:36 'Local Storage'
-rw-------.  1 rapha rapha   69 May 19 11:36 Preferences

Removing the folder and restarting the app didn't help either.
Any thoughts?

Same issue here, on Windows 7

Same issue here, on macOS 10.12.5

I can confirm this issue on macOS. I think something has changed on Trello, not sure.

Same issue here, on Windows 10
While I solve this question so, waiting for the solution of the issue:
Click link Reset it, then click button Go to Your Boards. Enjoy!)

I can confirm this issue on Arch.

I can confirm the issue on macOS 10.11 and Windows 7

I think this is an omnipresent issue. No need to confirm this anymore.

Hello everyone, I will be looking into this during the week,

This is fixed in this fork: https://github.com/1000ch/whale

I already found the solution, the fix is on the way...

fixed guys!!!

I'm having this issue on Arch Linux


have tested 16+ file apps, this is missing so much it's unbelievable

have tested 16+ file apps,
this is missing so much it's unbelievable
gonna put of the basic things the file apps have and dont have on
https://docs.google.com/spreadsheets/d/1ngT8No6MBY46QtB9o-45SmqOgH1c3fmzShcVDEt1mvE/edit#gid=0
you can add what uwp file preview has or doesnt on there
but it's missing so many basics that i think gonna wait 2-5 years before adding anything about this

Thank you for taking the time to open this feedback item. In order to best address this in a transparent way, we usually expect reporters to open each feedback topic (e.g. feature request, bug, question, discussion item) as its own ticket. Please review each topic suggested here, and add your own take on an already open issue, or open a new one.
Closing this now.


How to run webserver2 example???

Hello,
I'm trying to run webserver or webserver2 examples but always failed.
I have configed odp-dpdk environment on my centOS (https://git.linaro.org/lng/odp-dpdk.git/tree/platform/linux-dpdk/README)
After that, I mount hugepage , insert igb_uio, bind NIC to DPDK(https://github.com/OpenFastPath/ofp/issues/176)
At this time, before bind NIC to DPDK, I have a NIC named ens33, after bind to DPDK, "dpdk-devbind.py --status" show succeed and run "ip a" cannot see this NIC anymore.
Then, I try to run webserver2 , But I cannot pass "-i ens33" to webserver2.
Some error like:
I 6 2:4160671040 ofp_uma.c:45] Creating pool 'udp_inpcb', nitems=1024 size=1160 total=1187840
I 8 2:4160671040 ofp_uma.c:45] Creating pool 'tcp_inpcb', nitems=2048 size=1160 total=2375680
I 9 2:4160671040 ofp_uma.c:45] Creating pool 'tcpcb', nitems=2048 size=784 total=1605632
I 10 2:4160671040 ofp_uma.c:45] Creating pool 'tcptw', nitems=409 size=80 total=32720
I 11 2:4160671040 ofp_uma.c:45] Creating pool 'syncache', nitems=30720 size=168 total=5160960
I 14 2:4160671040 ofp_uma.c:45] Creating pool 'tcpreass', nitems=320 size=48 total=15360
I 15 2:4160671040 ofp_uma.c:45] Creating pool 'sackhole', nitems=65536 size=40 total=2621440
I 17 2:4160671040 ofp_ipsec.c:187] IPsec not supported with SP. Disabling IPsec.
I 17 2:4160671040 ofp_init.c:438] Slow path threads on core 0
pktio/socket.c:135:sock_setup_pkt():ioctl(SIOCGIFINDEX): No such device: "ens33".
odp_packet_io.c:334:setup_pktio_entry():Unable to init any I/O type.
E 20 2:4160671040 ofp_ifnet.c:23] odp_pktio_open failed
E 20 2:4160671040 app_main.c:351] Error: OFP global init failed.
If run "webserver2 -i 0", also failed like:
I 7 1:4160671040 ofp_uma.c:45] Creating pool 'udp_inpcb', nitems=1024 size=1160 total=1187840
I 9 1:4160671040 ofp_uma.c:45] Creating pool 'tcp_inpcb', nitems=2048 size=1160 total=2375680
I 10 1:4160671040 ofp_uma.c:45] Creating pool 'tcpcb', nitems=2048 size=784 total=1605632
I 12 1:4160671040 ofp_uma.c:45] Creating pool 'tcptw', nitems=409 size=80 total=32720
I 14 1:4160671040 ofp_uma.c:45] Creating pool 'syncache', nitems=30720 size=168 total=5160960
I 16 1:4160671040 ofp_uma.c:45] Creating pool 'tcpreass', nitems=320 size=48 total=15360
I 17 1:4160671040 ofp_uma.c:45] Creating pool 'sackhole', nitems=65536 size=40 total=2621440
I 20 1:4160671040 ofp_ipsec.c:187] IPsec not supported with SP. Disabling IPsec.
I 20 1:4160671040 ofp_init.c:438] Slow path threads on core 0
pktio/socket.c:135:sock_setup_pkt():ioctl(SIOCGIFINDEX): No such device: "0".
odp_packet_io.c:334:setup_pktio_entry():Unable to init any I/O type.
E 23 1:4160671040 ofp_ifnet.c:23] odp_pktio_open failed
E 23 1:4160671040 app_main.c:351] Error: OFP global init failed.
How I run webserver2 with ofp stack?

Hi there,
As far as I played with the webserver on a VirtualBox machine, you can run it like this:
./webserver2 -i 0 -m 1 -c 1 -s 1 -r ./ -f ./ofp.cli

where
-i 0 - means that you use the first (index 0) of the igb_uio bound interfaces
-m 1 - means that you use direct RSS mode (see ./webserver2 --help)
-c 1 - means that you use only single core (see ./webserver2 --help)
-s 1 - means that you use the core with index 1 (see ./webserver2 --help)
-r ./ - means that you use the current director as root directory for you web server (see ./webserver2 --help)
-f ./ofp.cli - gives the path to the ofp.cli config file (see ./webserver2 --help)
Hope that helps.

@freak82, Thanks, I will try it.

Hi, freak82,
Thanks your reply. As your suggestion, Now the webserver2 can succeed to run without any errors.
But I notice that the "-l" and "-p" not set. So, ofp will try to bind default IP and PORT(The default ip is <IP_ADDRESS> and the default port is 2048), Right?
When I tried to assign ip and port to webserver(such as "-l <IP_ADDRESS> -p 80"), there will be a error like:
I 129973 0:1421195264 httpd2.c:212] Setup webserver....
E 129973 0:1421195264 httpd2.c:247] ofp_bind failed, err='Can't assign requested address'
If I cannot assign a IP to webserver2, How can I access it?

I have tried to assign lots of IP to webserver, like 10..., 192.168.100.(same subnet with CLI), but they all failed.

As far as I recall you pass in the ofp.cli file something like
ifconfig fp0 <ipv4>/<mask> for example ifconfig fp0 <IP_ADDRESS>/24.
Then you should be able to access the server on this IP even if the latter is bound to <IP_ADDRESS> (it means listen on all interface IPs).

Thanks!
I tried to modify ofp.cli with ifconfig fp0 <IP_ADDRESS>/24.
[root@localhost webserver2]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet <IP_ADDRESS>/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
9: fp0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 500
link/ether 00:0c:29:40:b7:75 brd ff:ff:ff:ff:ff:ff
inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global fp0
valid_lft forever preferred_lft forever
inet6 2001:470:80b7:670e:20c:29ff:fe40:b775/64 scope global dynamic
valid_lft 2591969sec preferred_lft 604769sec
inet6 fe80::20c:29ff:fe40:b775/64 scope link
valid_lft forever preferred_lft forever
However, I cannot ping this VM from another PC(<IP_ADDRESS>). But I can ping 10.10314.100 from this VM. And I can ping <IP_ADDRESS> on this VM but cannot access http://<IP_ADDRESS> with browser.
I don't know what went wrong. I only config one NIC in this VM.
[root@localhost webserver2]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet <IP_ADDRESS>/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
9: fp0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 500
link/ether 00:0c:29:40:b7:75 brd ff:ff:ff:ff:ff:ff
inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global fp0
valid_lft forever preferred_lft forever
inet6 2001:470:80b7:670e:20c:29ff:fe40:b775/64 scope global dynamic
valid_lft 2591969sec preferred_lft 604769sec
inet6 fe80::20c:29ff:fe40:b775/64 scope link
valid_lft forever preferred_lft forever

Correct "However, I cannot ping this VM from another PC(<IP_ADDRESS>). But I can ping 10.10314.100 from this VM. And I can ping <IP_ADDRESS> on this VM but cannot access http://<IP_ADDRESS> with browser."

Here is my playing setup that I just revived to try the things again:
I have two virtual machines directly connected:
The client has ip <IP_ADDRESS>/29
The server, where the webserver2 is running has:
freak82@cache:~/xproxy$ cat ofp.cli
debug 1
loglevel set debug
ifconfig fp0 <IP_ADDRESS>/29

and the run command
freak82@cache:~/xproxy$ cat run.sh
#!/bin/bash

# The direct RSS mode is not supported along with multiple queues for
# virtual machines.
# Thus we run it on single core to use single queue only.
./webserver2 -i 0 -m 1 -c 1 -s 1 -r ./ -f ./ofp.cli

And it works from the client
freak82@ubuntu:/z/xfp/ofp/example/webserver2$ wget http://<IP_ADDRESS>:2048/
--2020-03-11 13:23:28--  http://<IP_ADDRESS>:2048/
Connecting to <IP_ADDRESS>:2048... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified
Saving to: ‘index.html’

If something doesn't work on your setup try to debug the traffic with tcpdump and see if the server returns something to your SYN packets. You can also build the OFP stack and examples with debug enabled and see if you can get some additional information form their debug logs.
Here is my configuration for build with enabled debug

./configure \
    --prefix=/home/freak82/x3me/xfp/ofp/final \
    --enable-shared=no \
    --enable-static=yes \
    --enable-ipv6=no \
    --enable-libconfig=no \
   --enable-debug=yes \
    --with-config-flv=webserver \
    --with-odp=/home/freak82/x3me/xfp/odp_dpdk/final

@freak82 , Thank you very very much!!!
Now it can work well.


Fix synchronizer busy looping when no peers are available

Fixes #3986
This PR fixes the busy looping in the block synchronizer when it's asking for peers but none are available. Out of all possible solutions, I found that just not clearing the in flight latch and waiting for the whole latch_reset_interval time to pass before asking for peers again was the most straightforward solution. I implemented an attempt based solution, but I found that the extra logic does not bring significant benefit. The reasoning is that if the network component did not have the peers 100ms ago, it is very unlikely it will have them now, but we can afford to ask every 5s without significant overhead in the logs or reactor cranks.

bors r+


⚠ Bofrost.lu has degraded performance

In 3e7deb1, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 952 ms

Resolved: Bofrost.lu performance has improved in 34cf237 after 6 minutes.


Replace local spin() method with shakedown version

Optimized imports
Removed unused nested dict options code around service installation
Added simple test around DCOS service health as an example

FYI there's similar cleanup (larger in scope) WIP here:
https://github.com/mesosphere/dcos-commons/compare/test-cleanup?expand=1


sponsorship_request: Minor changes.

Show if requested org is hosted on Zulip Cloud.
Change how user numbers are displayed.

Merged after shortening the first item to just "Zulip Cloud?". Thanks @amanagr!


Centos 7 support in GA

I would like to ask when will Centos 7 CI be available in GA?

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

ID: 67fb132b-0dc3-d493-69bc-dc28b5bfd5e1
Version Independent ID: ba5cb476-3e32-911f-0395-0cc8087d1ff3
Content: Overview of cloud-init support for Linux virtual machines in Azure
Content Source: articles/virtual-machines/linux/using-cloud-init.md
Service: virtual-machines-linux
GitHub Login: @danielsollondon
Microsoft Alias: danis

Thanks for the question. We are currently investigating and will update you shortly.

@danielsollondon Would you be able to share your insights on GA availability of cloud-init in Centos 7-CI? Thanks. :)

@BorisB2015 Is this something you can share your inputs on? Thanks :)


Defer DataDefinition evaluation until SQL Generation

Previously, InsertDataDefinition and DeleteDataDefinition recorded explicit values (as KeyValuePair<string,object> instances) which could not be (easily) parsed or modified at the generation stage.
This commit provides a ReflectedDataDefinition to hold a reference to the anonymously typed object containing the data to insert/delete. This ReflectedDataDefinition is then evaluated into a collection of IDataValue (replacing the KeyValuePair<string,object>) instances by an IEvaluator. Each generator now takes an IEvaluator as a constructor parameter (in a similar way to the IColumn and IQuoter parameters) and a GenericEvaluator is provided for all Generator types.
An ExplicitDataDefinition is provided to pass specific IDataValue instances when reflection over an anonymous type is not required/desired (used extensively in tests).
IDataValue contains (string) ColumnName, (object) Value and (bool) QuoteValue properties, the last of which, when false, prevents the Value from being quoted (i.e. for instances where the value is function call or constant).
Finally a derived MySqlEvaluator is provided which allows the MySqlGenerator to construct a SQL statement capable of inserting binary data (via hex encoding and use if the MySql UNHEX function).
FluentMigrator.Console.csproj and FluentMigrator.Runner.csproj have been changed to target .Net 4.0 purely as that's the framework I'm using; no 4.0 dependencies have been introduced.
BREAKING CHANGES:
Several of the undo functions in the Firebird Generator/Runner have been commented out as, to be honest, I couldn't work out what they were trying to do. Should be possible for the developer responsible for this RDBMS to easily fix up the code to a functional state again.
Integration tests have been marked with [Category("Integration")] so that they can be omitted from local test runs. All non-integration tests passing successfully.

Closing too old pr's, sorry about this


Update javafx-8-tutorial-id-part7.md

Wow, @triawarman that was awesome. Thank you for updating all parts of the Indonesian tutorial!

Yup, and thanks for give me the chance to translating your tutorials
On 15/03/15 02:35, Marco Jakob wrote:

Wow, @triawarman https://github.com/triawarman that was awesome.
Thank you for updating all parts of the Indonesian tutorial!
—
Reply to this email directly or view it on GitHub
https://github.com/marcojakob/code.makery.ch/pull/76#issuecomment-80660040.


WFLY-4295 warn about _ds.xml deplyments are deprecated

Linux Build 5823 is now running using a merge of b4be7704dabb147eecd93059798c767b2077fdf3

Linux with security manager Build 808 is now running using a merge of b4be7704dabb147eecd93059798c767b2077fdf3

Windows Build 932 is now running using a merge of b4be7704dabb147eecd93059798c767b2077fdf3

Linux with security manager Build 808 outcome was SUCCESS using a merge of b4be7704dabb147eecd93059798c767b2077fdf3
Summary: Tests passed: 839, ignored: 316 Build time: 0:08:14

Windows Build 932 outcome was SUCCESS using a merge of b4be7704dabb147eecd93059798c767b2077fdf3
Summary: Tests passed: 2922, ignored: 312 Build time: 0:48:20

Linux Build 5823 outcome was SUCCESS using a merge of b4be7704dabb147eecd93059798c767b2077fdf3
Summary: Tests passed: 2921, ignored: 312, muted: 1 Build time: 0:49:56


METRON-1008: Updating travis to use trusty, moved install to install …

…step, moved verify license to earlier step, and added .npm to cache.
Contributor Comments
This is a continuation of PR-632 due to github not allowing a PR to be re-opened when a force push occurred.
Pull Request Checklist
Thank you for submitting a contribution to Apache Metron.
Please refer to our Development Guidelines for the complete guide to follow for contributions.
Please refer also to our Build Verification Guidelines for complete smoke testing guides.
In order to streamline the review of the contribution we ask you follow these guidelines and ask you to double check the following:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? If not one needs to be created at Metron Jira.
[ ] Does your PR title start with METRON-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.
[ ] Has your PR been rebased against the latest commit within the target branch (typically master)?

For code changes:

[ ] Have you included steps to reproduce the behavior or problem that is being changed or addressed?

[ ] Have you included steps or a guide to how the change may be verified and tested manually?

[ ] Have you ensured that the full suite of tests and checks have been executed in the root incubating-metron folder via:
mvn -q clean integration-test install && build_utils/verify_licenses.sh

[ ] Have you written or updated unit tests and or integration tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

[ ] Have you verified the basic functionality of the build by building and running locally with Vagrant full-dev environment or the equivalent?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered by building and verifying the site-book? If not then run the following commands and the verify changes via site-book/target/site/index.html:
cd site-book
mvn site

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.
It is also recommended that travis-ci is set up for your personal repository such that your branches are built there before submitting a pull request.

Quote from @justinleet

I'd be inclined towards avoiding splitting the build if we were only getting a couple minutes out of it. I'm a little worried about being able to get three slots on the occasionally stretched Apache setup. Integration tests and building are the long poles in the tent, so splitting out the other tests doesn't really save us much time here, unfortunately.

I agree, I have reverted this.
Quote from @ottobackwards

I'm going to be honest. Now that we have the builds kind of working again, I'm a little hesitant to change them for anything but an absolute certainty of a return, that we completely understand.
I think the travis build strategy should be a longer living branch maybe.

I reverted the multiple env changes, as I agree, it's not worth the small chunk of time that was shaved off. However, I think the rest of these changes can be helpful for the following reasons:

moving the license verification to an earlier step can help the build fail fast. Forgetting to update the dependency file can be a common mistake. Failing earlier might save time and travis resources.
I believe moving to trusty was recommended by travis-ci
using travis' install step for the mvn install. No benefit that I know of. I just believe mvn install should happen here.

@ottobackwards Do you have any objections to the current state of the PR?  At this point, I think this is a pretty focused, incremental change.  I'm +1 on it, but I want to make sure you have a chance to chime in.

+1


Angular UI-router parent state not active after changing to child state

I got a problem:
When I click home for the first time, it successfully add "active" class to Home and Submenu Flow.
But when I click the submenu Follow, the "active" class at it parent (Home) is gone. How can I fix that?
Here is the plnkr:
http://plnkr.co/edit/NJRx7RT0TRg04Wbw6kUO?p=preview

Solve it. by extending the class subdrop

Hello,

 Home

In this exemple the link 'home' can only be highlighted when you are in the 'home.flow' state or his children ('home.flow.john-doe' etc...). Try using another configuration with ui-sref="home"

Can you help me fix the plnkr? I don't really get what you mean.
Thanks.

http://plnkr.co/edit/TyTnoDKqy5Y8JV3jklFj?p=preview
Done :) abstract: true was not necessary. This way you can set ui-sref="home" as expected

Sounds like this is fixed then

I'm sorry for the late reply. Got things to do.
But I don't want ppl can access my abstract state. Like if they click home or they type it manually on url

Not at my office right now but then you could try to add a controller to your abstract state, Controller that makes a $state.go redirection to one of home's children.
Not sure if its the brightest solution tho...

Forget about my last solution ^^. It can't work cuz if the 'home' state is abstract you cannot transition to it.
See an alternative solution (the 'home' state isn't abstract but an automatic transition to a child is triggered when trying to access):
http://plnkr.co/edit/TyTnoDKqy5Y8JV3jklFj?p=preview

@AlexisMagis works perfectly. thanks a lot!

@AlexisMagis I need more suggestion. I just realize 2 days ago but still not found any solution. When using redirectToChild like in example, every time I reload the page, when I'm on child state (like detail page), it will redirect me back to redirectToChild page instead of stay at current state.
Any suggestion?


pylonCamera: fix artifacts when rotating

This PR introduce a copy when rotating for fixing artifacts for buffering problems
They were due to the fact that both cv::Mat and fromCvMat does not deep copy, they just copy pointers to the data.
BEFORE

AFTER

Great and fast fix!


[Fix-15639] [Master] parameterPassing is null case NPE

Purpose of the pull request
resolve #15639

Brief change log

Verify this pull request

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

(or)
If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

related pr:

https://github.com/apache/dolphinscheduler/pull/14702


Concurrent query/update messages

do query server calls concurrently with update calls
each query takes less time than one update, so many happen per update (we expect)
synchronization when each update is finished, moving buffered events from "query stage" to "update stage"

Status:  A bit stuck.  Seems to be some issue with the lifetimes or interface of the Rust Futures here, and the way that I'm trying to build a little buffering logic with mutable state.

Closing this, and moving focus to #24 in place of this effort.


[Feature request] icon task list

No other minimal bars support this, it would be really awesome.
Icon task list & normal task list

Hi. There's currently a WIP pull-request open that implements this (see #426)

Ah, cool!


vesta bug

Bug Report
Package Name: vesta
PS C:\Users\siyu> scoop install extras/vesta
WARN  Scoop uses 'aria2c' for multi-connection downloads.
WARN  Should it cause issues, run 'scoop config aria2-enabled false' to disable it.
WARN  To disable this warning, run 'scoop config aria2-warning-enabled false'.
Installing 'vesta' (3.5.8) [64bit] from extras bucket
Loading VESTA-win64.zip from cache.
Checking hash of VESTA-win64.zip ... ok.
Extracting VESTA-win64.zip ... done.
Running pre_install script...
Exception calling "Create" with "1" argument(s): "At line:1 char:68
+ ... th "$persist_dir\vesta.ini)) { New-Item "$dir\vesta.ini" | Out-Null }
+                                                            ~~~~~~~~~~~~~~
The string is missing the terminator: ".
At line:1 char:82
+ ... th "$persist_dir\vesta.ini)) { New-Item "$dir\vesta.ini" | Out-Null }
+                                                                          ~
Missing closing ')' in expression.
At line:1 char:83
+ ... th "$persist_dir\vesta.ini)) { New-Item "$dir\vesta.ini" | Out-Null }
+                                                                           ~
Missing closing ')' after expression in 'if' statement."
At C:\Users\siyu\scoop\apps\scoop\current\lib\install.ps1:1057 char:9
+         Invoke-Command ([scriptblock]::Create($script -join "`r`n"))
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : ParseException

@SiyuChen do you urgently need a fixed version of this app?

@SiyuChen do you urgently need a fixed version of this app?

Yes, if you could fix this, I would really appreciate it.

Here you go, you can use this manifest from my personal bucket until the regular vesta.json is fixed.
scoop bucket add MyScoop 'https://github.com/Zliced13/MyScoop'

scoop install vesta_fixed


All Tests should be named FILENAME.test.js instead of FILENAME.js

All our application file are written in Typescript with (.ts | .tsx) extension.
All our test files are written in Javascript with (.js) extension.
This could create confusion when looking at filenames if the TypeScript file and JavaScript file has exactly the same name. To work around this issue all test files should be named flename.test.js

It looks like this issue can be closed (was resolved by PR #217). The remaining files with .js extensions in __tests__ directories have the correct naming convention (filename.test.js). @hwong0305, are you aware of any other test files that should be addressed?

No. I think this can be closed.


License for image files

Hi there,
Thanks for working on this project.
I'm going to package this to Debian. However, according to rule of Debian, every file should be cleared in license.
So I'm writing to you to double confirm the following file:
curve.jpg  mux.jpg  smux.png
Are you created the above 3 files by yourself? If so, we can safely treat it same as the code you wrote, so it's MIT/Expat license.
But if you borrow some files from other project, please let me know. So I can trace the license of each image file.
Thank you!
Cheers,
Roger

mux.jpg comes from http://www.transtutors.com/homework-help/computer-science/networking/telephony/multiplexing/
curve.jpg comes from screenshot of youtube https://www.youtube.com/watch?v=C9h88KTBlY0
smux.png is created by myself.

@xtaci just FYI. Currently Debian is under Stretch release freeze stage, so our package is still in waiting queue to be uploaded to the archive. Nothing to worry about so far.


Create transitions with different duration / easing per property

I love using the transition creator function to set up transitions, it's a much easier way to define transitions for my CSS. Normally I am fine with all my properties having the same easing and timing etc. but is there a way if I did want to have each property transition differently to handle that using the creator function?
I couldn't find anything on if this function can handle that, my initial thought would be something like this
theme.transitions.create(["background-color", "color"], [{
  duration: theme.transitions.duration.standard,
  easing: theme.transitions.easing.easOut
},{
  duration: theme.transitions.duration.faster,
  easing: theme.transitions.easing.ease
}])

That or more declarative...
theme.transitions.create([{
  property: "background-color",
  duration: theme.transitions.duration.standard,
  easing: theme.transitions.easing.easOut
},{
  property: "color",
  duration: theme.transitions.duration.faster,
  easing: theme.transitions.easing.ease
}])

I know I can totally write out the transitions by hand, just a thought on how that creator function could work to handle different transitions values for specified properties

You could just create multiple ones:
const bgColorTransition = theme.transitions.create("background-color", {
  duration: theme.transitions.duration.standard,
  easing: theme.transitions.easing.easOut
});
const colorTransition = theme.transitions.create("color", {
  duration: theme.transitions.duration.faster,
  easing: theme.transitions.easing.ease
})

const style = { transition: `${bgColorTransition}, ${colorTransition}` }


artifacts should be refactor

no more unzip
consider raw artifacts, without clone bla bla

refactor by @jschwinger23


Not all selected Items are deleted

Storage Explorer Version: 1.9.0
Build Number: 20190701.8
Platform/OS: Windows 10
Architecture:  x64
Regression From:  no
Bug Description
If I try to delete multiple files in a folder, it takes multiple attempts. For example if there are 100files in the folder. i press ctrl+a, del it says 100files are queued, but between 30-40 files remain in the folder. i press ctrl+a again, and 10-15 files remain. (initially thought it was a pageing problem, but with the second attempt it doesnt look like it.
Steps to Reproduce
Put many parquet files in a folder (around 100)
press ctrl+a, del
Expected Experience
It should delete all selected files.
Actual Experience
It takes multiple attempts to delete multiple files.
Additional Context

@tspannagel Please provide some repro steps. Are you working in a blob container or file share? If blobs, are you using hierarchical namespaces (ADLS Gen 2)?
And just to be sure, can you confirm that one of the items that was definitely selected for delete was not actually deleted? I ask, because it's still possibly a paging issue, because there's a fair amount of bookkeeping that the code needs to keep straight in order for it to function properly.

@craxal Hi, Yes I'm working with a ADLS Gen2 blob storage. And yes, i can confirm that multiple items selected have not been deleted.

We have changed the API we use for ADLS delete in 1.11.0. Could you try if it is fixing the problem?

@JasonYeMSFT Hi, this fixed the problem! Thanks for the info! it now deletes all selected files.


Nixos 15.09 regression - Mousepad exponential stdout as function of instance count

Issue description
Starting with nixos 15.09, when executing mousepad from the terminal I
noticed that I was getting the following output (5 lines of output):
$ mousepad

(mousepad:2633): GtkSourceView-CRITICAL **: gtk_source_style_scheme_get_id: assertion 'GTK_IS_SOURCE_STYLE_SCHEME (scheme)' failed

(mousepad:2633): GLib-CRITICAL **: g_variant_new_string: assertion 'string != NULL' failed

(mousepad:2633): GtkSourceView-CRITICAL **: gtk_source_style_scheme_get_id: assertion 'GTK_IS_SOURCE_STYLE_SCHEME (scheme)' failed

(mousepad:2633): GLib-CRITICAL **: g_variant_new_string: assertion 'string != NULL' failed

(mousepad:2633): GtkSourceView-CRITICAL **: gtk_source_style_scheme_get_id: assertion 'GTK_IS_SOURCE_STYLE_SCHEME (scheme)' failed

When I launch another instance from another terminal, I now have the following
output in the first terminal (25 lines of output):
$ mousepad

(mousepad:2633): GtkSourceView-CRITICAL **: gtk_source_style_scheme_get_id: assertion 'GTK_IS_SOURCE_STYLE_SCHEME (scheme)' failed

(mousepad:2633): GLib-CRITICAL **: g_variant_new_string: assertion 'string != NULL' failed

(mousepad:2633): GtkSourceView-CRITICAL **: gtk_source_style_scheme_get_id: assertion 'GTK_IS_SOURCE_STYLE_SCHEME (scheme)' failed

(mousepad:2633): GLib-CRITICAL **: g_variant_new_string: assertion 'string != NULL' failed

(mousepad:2633): GtkSourceView-CRITICAL **: gtk_source_style_scheme_get_id: assertion 'GTK_IS_SOURCE_STYLE_SCHEME (scheme)' failed

(mousepad:2633): GtkSourceView-CRITICAL **: gtk_source_style_scheme_get_id: assertion 'GTK_IS_SOURCE_STYLE_SCHEME (scheme)' failed

(mousepad:2633): GLib-CRITICAL **: g_variant_new_string: assertion 'string != NULL' failed

(mousepad:2633): GtkSourceView-CRITICAL **: gtk_source_style_scheme_get_id: assertion 'GTK_IS_SOURCE_STYLE_SCHEME (scheme)' failed

(mousepad:2633): GLib-CRITICAL **: g_variant_new_string: assertion 'string != NULL' failed

(mousepad:2633): GtkSourceView-CRITICAL **: gtk_source_style_scheme_get_id: assertion 'GTK_IS_SOURCE_STYLE_SCHEME (scheme)' failed

(mousepad:2633): GtkSourceView-CRITICAL **: gtk_source_style_scheme_manager_get_scheme: assertion 'scheme_id != NULL' failed

(mousepad:2633): GtkSourceView-CRITICAL **: gtk_source_style_scheme_get_id: assertion 'GTK_IS_SOURCE_STYLE_SCHEME (scheme)' failed

(mousepad:2633): GLib-CRITICAL **: g_variant_new_string: assertion 'string != NULL' failed

(mousepad:2633): GtkSourceView-CRITICAL **: gtk_source_style_scheme_get_id: assertion 'GTK_IS_SOURCE_STYLE_SCHEME (scheme)' failed

(mousepad:2633): GLib-CRITICAL **: g_variant_new_string: assertion 'string != NULL' failed

(mousepad:2633): GtkSourceView-CRITICAL **: gtk_source_style_scheme_get_id: assertion 'GTK_IS_SOURCE_STYLE_SCHEME (scheme)' failed

(mousepad:2633): GtkSourceView-CRITICAL **: gtk_source_style_scheme_get_id: assertion 'GTK_IS_SOURCE_STYLE_SCHEME (scheme)' failed

(mousepad:2633): GtkSourceView-CRITICAL **: gtk_source_style_scheme_manager_get_scheme: assertion 'scheme_id != NULL' failed

(mousepad:2633): GtkSourceView-CRITICAL **: gtk_source_style_scheme_get_id: assertion 'GTK_IS_SOURCE_STYLE_SCHEME (scheme)' failed

(mousepad:2633): GLib-CRITICAL **: g_variant_new_string: assertion 'string != NULL' failed

(mousepad:2633): GtkSourceView-CRITICAL **: gtk_source_style_scheme_get_id: assertion 'GTK_IS_SOURCE_STYLE_SCHEME (scheme)' failed

(mousepad:2633): GLib-CRITICAL **: g_variant_new_string: assertion 'string != NULL' failed

(mousepad:2633): GtkSourceView-CRITICAL **: gtk_source_style_scheme_get_id: assertion 'GTK_IS_SOURCE_STYLE_SCHEME (scheme)' failed

(mousepad:2633): GtkSourceView-CRITICAL **: gtk_source_style_scheme_manager_get_scheme: assertion 'scheme_id != NULL' failed

(mousepad:2633): GtkSourceView-CRITICAL **: gtk_source_style_scheme_get_id: assertion 'GTK_IS_SOURCE_STYLE_SCHEME (scheme)' failed

At about 5 instances, it begins to take a noticeable amount of time before
your new instance appear.
At about 7-8 instances, its coffee time.
Was working well on nixos 14.12.
I got the same problem using nixos 16.03.
Steps to reproduce

Open a terminal
$ mousepad.
Open another terminal
$ mousepad until the instance no longer appear immediatly as it is busy printing
its output.

Technical details

System: nixos 16.03
Nix version: irrelevant
Nixpkgs version: latest of the nixos 16.03 branch

Interesting. When I select a color scheme (the default is none), the error messages stop appearing completely, but the startup time blowup remains.

'none' was removed from GtkSourceView. https://bugzilla.xfce.org/show_bug.cgi?id=11663

Reading 12134 – Running multiple mousepad instances shows a huge dbus trafic with dconf-related stuff, the issue should have been fixed upstream.

Nixpkgs is probably still affected, as we're at the freshest mousepad release, from February 2015.

Here is the patch: https://github.com/xfce-mirror/mousepad/commit/309f6177d2c47070676d6c733e29952c63c110ba.patch
I'll backport it.


Adding License Explanation Tool Tip

Fixes #292
Description

Building on the work done previously I've fixed the colors in helper icon so that the UI resembles the one show in the issue. Please let me know any further changes which are needed. Thanks.
Checklist:

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the master branch of the repository.
[x] My commit messages follow best practices.
[ ] I added tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no
visible errors.

Developer Certificate of Origin
Version 1.1
Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129
Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.

Thanks @RinkiyaKeDad for the PR. I'll do a thorough review soon. You can start by removing the linter warning. Running npm run lint on your terminal will show you the warning and the place where it's happening.

Hey @makkoncept, I've gone ahead and fixed all linting issues. Let me know if you've some other suggestions in mind too. Thanks.

Hey @makkoncept! I was adding the changes you requested but then the extension stopped showing anything when I hovered over the tooltip. I reverted back to original commit yet the problem persists. Can you please check if the current code is working for you? I even tried readding the extension to chrome yet no change.

@RinkiyaKeDad  This behaviour is due to 9362e15e06b0b282e46dc0777c141a6e75282e93 . Since in arrow function, this is lexically scoped. To solve this bug and also don't run into linter warnings, you can use a function declaration.
function tooltiGen() {
  const pathId = this.id;
  const heading = tooltipInfo[pathId].tooltipHeading;
  ...
}

I tried to change the code as per your suggestions @makkoncept. But it seems like I've gone wrong somewhere cause the tooltips are loading properly. Could you please have a look and point me in the right direction? 😅 Much thanks!

@RinkiyaKeDad I added some improvements. Will be merging it by tomorrow. Any feedback is most welcome.

LGTM! Thanks a lot for helping out :)


[fix]: Build crash due to location permissions

Description

Solves #43

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented on my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings

Screenshots / Screen Recordings
Before Fix
https://github.com/user-attachments/assets/73d41655-e5f3-4ca4-b6ab-bf041ffee7fd

After Fix
https://github.com/user-attachments/assets/ddfb42fe-e32d-444b-b8eb-d5b326974b05

@Vishwajith-Shettigar please review

@utkarsh006 please create issue before creating PR to fix particular issue.

@Vishwajith-Shettigar please check now :)

Can you please add before and after screen recordings, that shows your solution resolved the issue.

Thanks @utkarsh006.

@Vishwajith-Shettigar Your welcome. Please include this PR as per Hacktoberfest Guidelines


After the Checksums matched! message everything freezes

Operating system and version: Ubuntu 18.04
nvm debug output:

Downloading and installing node v14.14.0...
Downloading https://nodejs.org/dist/v14.14.0/node-v14.14.0-linux-x64.tar.xz...
##################################################################################################################################################################### 100.0%
Computing checksum with sha256sum
Checksums matched!

nvm ls output:

N/A
iojs -> N/A (default)
node -> stable (-> N/A) (default)
unstable -> N/A (default)
lts/* -> lts/erbium (-> N/A)
lts/argon -> v4.9.1 (-> N/A)
lts/boron -> v6.17.1 (-> N/A)
lts/carbon -> v8.17.0 (-> N/A)
lts/dubnium -> v10.22.1 (-> N/A)
lts/erbium -> v12.19.0 (-> N/A)

How did you install nvm?

both ways: curl and wget in this Readme repo
What steps did you perform?
Exactly as in this readme repo
What happened?
When I type: nvm install node or nvm install 8.10.0 the output shows but freezes.
What did you expect to happen?
Install a node version.
Is there anything in any of your profile files that modifies the PATH?

no

Did you figure this out?

I found this: https://github.com/nvm-sh/nvm/issues/1614
And it was the same problem. I started typing “set -x; nvm install 8.10.0” for more details and after a while (almost 15 minutes) nvm installed node 8.10.0.
I don’t know why it takes so long but at least now is done.
Just one more thing, when I typed set -x, now, with every command, I have a long list of details, how can I unset that?
Enviado desde Correohttps://go.microsoft.com/fwlink/?LinkId=550986 para Windows 10
De: Jordan<EMAIL_ADDRESS>Enviado: Monday, October 19, 2020 1:42 PM
Para<EMAIL_ADDRESS>CC<EMAIL_ADDRESS>State<EMAIL_ADDRESS>Asunto: Re: [nvm-sh/nvm] After the Checksums matched! message everything freezes (#2327)
Did you figure this out?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHubhttps://github.com/nvm-sh/nvm/issues/2327#issuecomment-712368676, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKLABA6QLYBKICC3LJ6ENB3SLSCBVANCNFSM4SWOO4XA.

set +x will unset the option.

Thanks so much!
Do you want me to show you the complete output when I was waiting until node was installed?
Enviado desde Correohttps://go.microsoft.com/fwlink/?LinkId=550986 para Windows 10
De: Jordan<EMAIL_ADDRESS>Enviado: Monday, October 19, 2020 1:52 PM
Para<EMAIL_ADDRESS>CC<EMAIL_ADDRESS>State<EMAIL_ADDRESS>Asunto: Re: [nvm-sh/nvm] After the Checksums matched! message everything freezes (#2327)
set +x will unset the option.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHubhttps://github.com/nvm-sh/nvm/issues/2327#issuecomment-712373787, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKLABAZTD4S3MIDL7APOF5LSLSDFXANCNFSM4SWOO4XA.

If it just took a long time, but worked properly, no need; if it didn't install successfully, then that'd be great.

No, it takes a long but it installed everything right!
Thanks so much for your support!
Enviado desde Correohttps://go.microsoft.com/fwlink/?LinkId=550986 para Windows 10
De: Jordan<EMAIL_ADDRESS>Enviado: Monday, October 19, 2020 2:05 PM
Para<EMAIL_ADDRESS>CC<EMAIL_ADDRESS>State<EMAIL_ADDRESS>Asunto: Re: [nvm-sh/nvm] After the Checksums matched! message everything freezes (#2327)
If it just took a long time, but worked properly, no need; if it didn't install successfully, then that'd be great.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHubhttps://github.com/nvm-sh/nvm/issues/2327#issuecomment-712381422, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKLABA5IUIIVSJMJW72XFZ3SLSEZBANCNFSM4SWOO4XA.


Can't post messages concurrently

We get intermittent errors logged in production when multiple threads (API requests) try to POST a message at the same time. The error is System.NotSupportedException: Pipelining of requests forbidden.
Polly.CircuitBreaker.BrokenCircuitException: The circuit is now open and is not allowing calls.
---> System.NotSupportedException: Pipelining of requests forbidden
   at paramore.brighter.commandprocessor.messaginggateway.rmq.ConnectionPolicyFactory.<>c__DisplayClass4.<.ctor>b__1(Exception exception, TimeSpan timeSpan, Context context)
   at Polly.Retry.RetryPolicyStateWithSleep.CanRetry(Exception ex)
   at Polly.Retry.RetryPolicy.Implementation(Action action, IEnumerable`1 shouldRetryPredicates, Func`1 policyStateFactory)
   at Polly.CircuitBreaker.CircuitBreakerPolicy.Implementation(Action action, IEnumerable`1 shouldRetryPredicates, ICircuitBreakerState breakerState)
   at paramore.brighter.commandprocessor.messaginggateway.rmq.RmqMessageProducer.Send(Message message, Int32 delayMilliseconds)
   at paramore.brighter.commandprocessor.CommandProcessor.<>c__DisplayClass1`1.<Post>b__0()
   at Polly.Retry.RetryPolicy.Implementation(Action action, IEnumerable`1 shouldRetryPredicates, Func`1 policyStateFactory)
   at Polly.CircuitBreaker.CircuitBreakerPolicy.Implementation(Action action, IEnumerable`1 shouldRetryPredicates, ICircuitBreakerState breakerState)
   at paramore.brighter.commandprocessor.CommandProcessor.Post[T](T request)

... (Huddle-specific stack trace snipped) ...

It's a concurrency issue, so it's obviously quite difficult to reproduce/debug. That said, here's a failing test case which reproduces the exception pretty consistently for me:
    [Subject("Messaging Gateway")]
    [Tags("Requires", new[] { "RabbitMQ", "RabbitMQProducerReceiver" })]
    public class When_multiple_threads_try_to_post_a_message_at_the_same_time
    {
        private static IAmAMessageProducer s_messageProducer;
        private static Message s_message;
        private static string s_messageBody;
        private static IDictionary<string, object> s_messageHeaders;

        private Establish _context = () =>
        {
            var logger = LogProvider.For<RmqMessageConsumer>();

            s_message = new Message(header: new MessageHeader(Guid.NewGuid(), "test1", MessageType.MT_COMMAND), body: new MessageBody("test content"));

            s_messageProducer = new RmqMessageProducer(logger);
        };

        private Because _of = () =>
        {
            // fork a bunch of threads, all of which try to send a message
            Parallel.ForEach(Enumerable.Range(0, 10), _ =>
            {
                s_messageProducer.Send(s_message);
            });
        };

        It _should_not_throw = () => { };

        private Cleanup _tearDown = () =>
        {
            s_messageProducer.Dispose();
        };
    }

My hypothesis is that multiple threads are attempting to write to the same socket and their requests are getting interleaved.
My proposed fix is to restrict access to the RabbitMQ channel to a single worker thread. This thread would spin on a BlockingCollection, pulling messages out of the collection and publishing them to Rabbit. A call to Send just adds the message to the BlockingCollection. I can work on a pull request with that in it.

We're going to drop the Task on MessageProducer for now, as it was a placeholder. That means we can simplify the fix to using a critical section to protect access the the broker. When we implement the *Async versions of the CP interfaces we can address non-blocking access to the broker properly, accounting for the inability to push onto the pipeline from multiple threads simultaneously


Update version.py from autover to get setup.py functions.

From autover c9f473d

Coverage decreased (-0.8%) to 69.607% when pulling 54d630446d7e471d0c8c68a990d317dc5a6505bc on update_autover_ into 161ebc5152450e2bcffa5bcc664049d8a6cfc77c on master.


Allow firefox addons installation

Hi,
It's possible to add a config to allow the installation of the firefox addons? It can be useful for using youtube enhancer plugins, change adblocker or remove it, etc.

Are you sure you have the latest image? Try running docker image rm nurdism/neko and then re-creating the container and see if that fixes your issue.

Yeah, but I've checked the policies.json, and the firefox & chromium version has still the extension management locked. On the firefox side, it's only enabled the about:addons page, so you can see what is installed, but can't install or remove anything.
https://github.com/nurdism/neko/blob/master/.docker/files/firefox/policies.json#L120
https://github.com/nurdism/neko/blob/master/.docker/files/chromium/policies.json#L31

I still think that the most useful thing about this type of customization is add something like an env-var/admin mode that allow to start the container without policies enabled. Because rebuilding the whole neko docker stack to add an extension is not very practical.

I still think that the most useful thing about this type of customization is add something like an env-var/admin mode that allow to start the container without policies enabled. Because rebuilding the whole neko docker stack to add an extension is not very practical.

Like I said in my initial reply, you can simply mount your own configuration in the container using the compose file or the -v flag, but I do agree it would be good to have an env variable which launches the browser without any policy installed. I hadn't seen that the policies were largely unchanged, sorry.

not sure how I could go about using an env var for that but I could provide a container w/o policies.

well now that I think about it, the base of neko is provided with nurdism/neko:base if you look here. You can create your own docker container w/o policies and you don't need to rebuild the base image. You could even add your own app.


chore: update description and summary

SN recommended description changes
Summary
A concise description of the changes being introduced. If you are submitting a PR for a
new quickstart please review the pre merge checklist section to validate this PR is ready for review.

Pre merge checklist

[ ] Did you check you NRQL syntax? - Does it work?
[ ] Did you check your dashboard image quality? -  Do they look good?
[ ] Did you check that your alerts actually work?
[ ] Did you include an InstallPlan and Documentation reference?
[ ] Did you check your descriptive content for voice, tone, spelling and grammar errors?
[ ] Did you attach images of your dashboards to the PR so we can see them working?

Screenshots
Attach images of any visual changes, such as a dashboard here.

Thanks for the contribution, just a couple of suggestions from me!

closing for this PR where I fixed some syntax issues in the config.

https://github.com/newrelic/newrelic-quickstarts/pull/592


Alignment of text and the '+' button is not consistent in FAQ section.

Describe the bug
In the Frequently asked questions section, the + or - button is inconsistently aligned with the text in different questions.
Possible solution
The alignment can be improved using simple CSS and some div wrapping.
Screenshots

If applicable, add screenshots to help explain your problem.

Assign me this Issue I would like to work on it.


Utilize sessions such that client doesn't need to upload megabytes per chat request

Describe the bug
Right now the implementation of the LLM chat feature requires excessive uploads from the web browser client, making it not very useful on low bandwidth/high latency connections.
Expected behavior
Theoretically sessions could be used to ensure we don't need to reupload context multiple times across requests.

implemented since https://github.com/JosiasAurel/llm-api/pull/4


chore(main): release 0.15.1

:robot: I have created a release beep boop
0.15.1 (2024-12-11)
Bug Fixes

Escape payload during release (#64) (7372f66)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.15.1
:sunflower:


View User Details shows incorrect response

Describe the bug
When clicking on view user details in the user management page, it shows the id of the teams rather than whats expected which is the # of teams.
I propose, that whilst this is needing to be fixed, we instead also show the team names. something like
Teams (3)

Team 1
Team 2
Team 3

What project does this issue relate to?
Boomerang Flow
To Reproduce
Navigate to Administer > Users and select the ellipses on a user and click view details. This will open a modal that shows incorrect information.
Environment
No response
Additional Contenxt

Ultimately I think there are a number of issues with the Users screen in standalone mode.

On first load of the page, the table shows all users (not paged). Not sure if front end or back end issue
The page gets stuck and doesn't scroll in chrome on first load
Created dates for users are showing incorrectly when the user is created via the API and there is no firstLoginDate in the model.
We should show Created Date (first login date) and also last login date
We should migrate this to a detailed user page not the modal.
Link to the User Detail page (once it has a URL) from the Teams Page and to the Teams Page from the Users.

Based on community meet up, additional service endpoints will be provided by @marcusdroy

@BenjaminRuby @timrbula to review


Option to use rustls and/or disable tls support entirely

Building mmids requires openssl to build making it a bit more annoying to build when you don't want/need tls support. It would be nice if tls was an optional feature, or if the native tls could be swapped out for rustls for a fully rust based build.

I don't remember why I chose native-tls instead of rusttls when originally.  It might have been docs or ease of implementation related but I don't remember at this point.
I can experiment with swapping to rusttls and see what the breadth of changes look to be.
I'm hesitant to make tls optional as that makes things a bit more complicated, including ensuring that the rtmp_receive workflow step knows when to allow the rtmps flag and when not to.  Currently the actual networking is pretty extracted from that level.

FYI, I almost have rustls swapped in.  Just need to do some final checking before opening up a PR.

Actually ignore the last message,  rustls seems less capable, as it can't handle encrypted pem without additional hoops (and other crypto crates).  It's not clear to me why openssl is an issue enough to really figure out how to figure out how to make rusttls work adequately.
I'll have to think about it a bit more.  Making TLS optional isn't going to be easy as the application scales out, because it's going to be required for things like rtmp_push, which will need TLS support in order to support pushes to RTMPS destinations, such as Facebook.

 Thanks for looking into it so quickly though 🙂


[Concept] Exercise - Classes

This is the last piece of the puzzle, that I would insert before the tree can go public.

There might be some details we can fix along the way, but I would like to publish the tree soonish, so I will merge this for the time being. Thanks for all the responses, sorry if I did not address them all ❤


Catalan constant

Can apfloat please support the Catalan constant:

https://fungrim.org/topic/Catalan's_constant/
https://functions.wolfram.com/Constants/Glaisher/introductions/ClassicalConstants/

I have implemented the Hurwitz zeta function, calculating Catalan's constant is possible through that:
(zeta(2,1/4)-zeta(2,3/4))/16

Currently the code is pushed in a branch.

Can you explain differences between your zeta(a,b) implementation and the  Wolframs language implementations?

https://reference.wolfram.com/language/ref/Zeta.html
https://reference.wolfram.com/language/ref/HurwitzZeta.html

zeta(a,b) is the same as HurwitzZeta[a,b].

and zeta(a) is the same as Zeta[a]?

Yes.


Exception if resource_proxy not enabled(?)

This code:
https://github.com/ckan/ckanext-geoview/blob/master/ckanext/geoview/plugin.py#L149-L157
Is a problem. If we are on the same domain or the proxy is not enabled, proxy_service_url does not get set, even though it is unconditionally needed later

Is there a workaround for the 'same domain' case? I'm getting 'UnboundLocalError: local variable 'proxy_service_url' referenced before assignment' when trying to create a geoview-view.

Yes, you can insert "proxy_service_url = None" before "if self.proxy_enabled and not same_domain:" in the file ckanext/geoview/plugin.py
I'll send a pull request now.


[Bug] SystemProgram.SysVarRentKey

if i update library i have this error:
AccountMeta.ReadOnly(SystemProgram.SysVarRentKey, false)
SystemProgram.SysVarRentKey  not found

I can't recreate the  bug. Can you give me more context?

If you update the library see the problem

Fixed by #27


Tutorial update (tutorial #7)

In this new tutorial, we have added user_plugin and set_value plugin. We try to create a new tutorial which take account the tutorial created by Yushan in 2024 and the initial tutorial. This merged can be viewed at a mix between the two tutorials with some added proposition by me.
Yushan last commit correspond to the hash: b3bb8a3 (7 june 2024). In this commit, the README.md doesn't correspond totally to the presentation of Yushan. To fit the presentation of Yushan, I have changed README.md.
The exercise 11 and 12 are new exercise that not in the main repository can be reviewed separately.
List of exercise:
ex1: introduction
ex2: Trace plugin
ex3 to ex8: Decl'HDF5 plugin
ex9: Parallel Decl'HDF5 plugin
ex10: Pycall plugin
ex11: user plugin
ex12: set_value plugin

Exercise 1:
Yushan have proposed  in this exercise

An introduction to paraconf, read the ex1.yml ( perhaps is corresponding to exercise 0  see CMakeLists.txt)
The user need to  add PDI_init and PDI_finalize in ex1.c. => this reason why we have reference of pdi for exercise1 : YAML file, C file and CmakeLists.txt.

If PDI is linked with paraconf to read the configuration file, I think the first point must be added in the next tutorial.

exercise 2;
I put the log in the repository. I maintain the "trace plugin" with the following option (initial tutorial):
  logging: { pattern: '[PDI][%n-plugin] *** %l: %v' }

In the documentation, there is no example with keyword logging for the Trace plugin !

exercise 3: The objective is to write into a file some information of the simulation (size, rank coordinate, ..)
comparison between the two tutorials
In initial tutorial:     1) shared data with pdi are considered as data           2)  in sequential
In Yushan tutorial: 1) shared data with pdi are considered as metadata   2)  in // with, one  file by process
I suggest to use the initial tutorial because we can show between data and metadata for the users

Exercise 1: Yushan have proposed in this exercise
* An introduction to paraconf, read the ex1.yml ( perhaps is corresponding to exercise 0  see CMakeLists.txt)

* The user need to  add PDI_init and PDI_finalize in ex1.c. => this reason why we have reference of pdi for exercise1 : YAML file, C file and CmakeLists.txt.

If PDI is linked with paraconf to read the configuration file, I think the first point must be added in the next tutorial.

I have discussed with Yushan and we think that the tutorial must be focus only in PDI.


Camera Resolution Fix

Just a fix

[2023-01-17 20:56:28] [INFO    ] discord.client: logging in using static token
[2023-01-17 20:56:30] [INFO    ] discord.gateway: Shard ID None has connected to Gateway (Session ID: 5d72320f46ffc89cda0f0be7cadcf5d4).
[2023-01-17 20:56:41] [ERROR   ] discord.app_commands.tree: Ignoring exception in command 'snap'
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/discord/app_commands/commands.py", line 861, in _do_call
    return await self._callback(self.binding, interaction, **params)  # type: ignore
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/admin_bot/cogs/misc.py", line 79, in snap
    await ctx.response.send_message(file=discord.File("/tmp/snap.png"))
  File "/usr/local/lib/python3.11/site-packages/discord/interactions.py", line 769, in send_message
    await adapter.create_interaction_response(
  File "/usr/local/lib/python3.11/site-packages/discord/webhook/async_.py", line 218, in request
    raise NotFound(response, data)
discord.errors.NotFound: 404 Not Found (error code: 10062): Unknown interaction

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/discord/app_commands/tree.py", line 1242, in _call
    await command._invoke_with_namespace(interaction, namespace)
  File "/usr/local/lib/python3.11/site-packages/discord/app_commands/commands.py", line 887, in _invoke_with_namespace
    return await self._do_call(interaction, transformed_values)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/discord/app_commands/commands.py", line 880, in _do_call
    raise CommandInvokeError(self, e) from e
discord.app_commands.errors.CommandInvokeError: Command 'snap' raised an exception: NotFound: 404 Not Found (error code: 10062): Unknown interaction

This does not work obviously


Cannot reset

Traceback (most recent call last):
  File "scripts/ql_nav.py", line 63, in <module>
    observation = env.reset()
  File "/home/linzhank/gym/gym/wrappers/monitor.py", line 37, in reset
    self._before_reset()
  File "/home/linzhank/gym/gym/wrappers/monitor.py", line 185, in _before_reset
    self.stats_recorder.before_reset()
  File "/home/linzhank/gym/gym/wrappers/monitoring/stats_recorder.py", line 68, in before_reset
    raise error.Error("Tried to reset environment which is not done. While the monitor is active for {}, you cannot call reset() unless the episode is over.".format(self.env_id))
gym.error.Error: Tried to reset environment which is not done. While the monitor is active for TurtleBotCrib-v0, you cannot call reset() unless the episode is over.

Uncomment env = wrappers.Monitor(env, outdir, force=True)


Urgency!!!! How to send apple style crash report in standard installation

Hi，
Is there a way i could send apple style crash report in standard installation.
it is difficulty for me to achieve ,as I know,so many people want to send apple style crash report in standard installation.Can you help us to update you code?
thank you a lot!!!thank you a agin!!

Check issue #187

I use a simple way to accomplish it .haohao!!

@oliverwithdason could you share your solution... thanks in advance...


Feature request: flight trace

New option: show flight trace. Because of the potentially high amount of data limit the points. Just 2-3 points (maybe one point per minute) should be sufficient to see where the glider comes from and what he is doing.

fixed with f4e5d50b7d45604c3f912fc316bf2d0975bdb1d7


Cleanup remove unnecessary docker compose fields

This PR follows the discussion on issue #21.

QT_X11_NO_MITSHM=1 has been removed because it didn't seem to do anything.
The XAUTHORITY related fields are only needed if someone wants to see Webots' GUI from an ssh -X connection, but are not needed for the production compose files. They have been moved to a "debug" compose file which holds all the debugging fields.
the priviledged field have been removed because it is not needed
/dev/dri has been added as a shared volume because Intel graphics card need it to enable GPU acceleration.
competitions use IPC connections instead of TCP.

This PR closes #21
This PR is running on the test server, so it can be tested on https://testing.webots.cloud or https://benchmark.webots.cloud

Also for the competition try: it is working fine on beta but on testing a texture is missing


Titus: python setup.py test failure

The following failed on MacOSX El Capitan:
$ cd hadrian/titus
$ python setup.py test

...
======================================================================
FAIL: testUnpackBoolean (test.testGenpy.TestGeneratePython)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/me/Git/hadrian/titus/test/testGenpy.py", line 2108, in testUnpackBoolean
    self.assertEqual(engine.action("".join(map(unsigned, [8]))), True)
AssertionError: False != True

----------------------------------------------------------------------
Ran 805 tests in 40.097s

FAILED (failures=1, errors=17)
$

This is a bug introduced with El Capitan 10.11 and how libraries under /usr are loaded.  The fix is in
commit: fe5cb465592455f0cb230e8b592ef587bb9395bb
I've tested it on a machine running 10.10, a machine upgraded to 10.11, and a new machine that shipped with 10.11.  This does not impact running under linux.
When running the tests on a Mac, there are 5 failures all in the regex package.  This has to do with differences between the underlying libraries in Darwin and Linux.  I will open issues for these so that people know they are there.  All other tests run successfully on Mac and Linux.

Thanks! I just test tested on fe5cb46 on OSX El Capitan 10.11.1 (upgraded from Yosemite) and it worked and reported the 5 failures that you mentioned:
$ uname -a
Darwin mybox.myco.com 15.0.0 Darwin Kernel Version 15.0.0: Sat Sep 19 15:53:46 PDT 2015; root:xnu-3247.10.11~1/RELEASE_X86_64 x86_64
...
$ python setup.py test
...
Ran 805 tests in 40.468s

FAILED (failures=5)
$


TypeError: Cannot destructure property 'Server' of '_engineIo.default'

Environment

Operating System: Darwin
Node Version:     v18.9.0
Nuxt Version:     3.0.0-rc.13
Nitro Version:    0.6.1
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      -
Runtime Modules:  -
Build Modules:    -

Reproduction
https://github.com/iamdaveydave/nuxt-internal-sctc.git
Describe the bug
I'm following the module author guide, I got an error "Cannot destructure property 'Server' of '_engineIo.default'" after running "npm run dev:prepare".
Someone also created an issue to socket.io few days ago.
https://github.com/socketio/engine.io/issues/657

Additional context
No response
Logs
No response

It seems happened when socket.io version >= 4.5.3 temporarily downgrade to 4.5.2 worked for me.

It didnt work on my end, can you share example project.
Thanks

here https://github.com/console0811/nuxt-internal-sctc


Add Blog Article about Falco on RKE with Rancher

Signed-off-by: Frank Jogeleit<EMAIL_ADDRESS>
What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind user-interface

/kind content

/kind translation

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area blog

/area documentation

/area videos

What this PR does / why we need it:
New hands-on blog article about Falco on a RKE bare metal cluster
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign leogr after the PR has been reviewed.
You can assign the PR to them by writing /assign @leogr in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Adding 'preserveSelectionOnBlur' prop

Summary
This adds a preserveSelectionOnBlur prop as per #2123
Test Plan
Tests were added for the two possible scenarios. I'm not sure how much to mock in this test because it is just testing a specific branch of code, so I've faked certain details like the rangeCount.
What do you think @mrkev @claudiopro ?

I like this! Thanks for building it out, I'll import it (:

@mrkev ah great, thanks!
So what's the process from here? It gets imported to your internal repo and then it'll make its way into the next release?

@holloway yup— PRs get merged from the internal repo so we can keep the code we have inside and outside in sync, and we can test it against our internal codebases before merging. It'll be merged and available on master right away, and then be available with the release of 0.11.1 through NPM.


Feat test cafe provider

Enable safe page testing in testcafe
Adds basic authenticator page tests
adds a check in packaged macOs to move app to applications folder if not located there.

QA: Tests passing. + Package app on MacOS and open (not in applications), you should be prompted to move app before it will load.

Linux
8/18 tests failing on yarn cafe-e2e2.
All due to:
   1) Cannot obtain information about the node because the specified selector does not match any node in the DOM tree.

       > | Selector([function])
         |   .find('input')