fix: Change default pruning options

Description
Current default pruning options keep every 100th height in addition to the latest 362880 heights, which in most cases have no need to keep this much, unless a node wants to run historical queries. This should not be the default case- this PR suggests an override in the default pruning settings as the following:

keep-recent = 100000
keep-every = 0
Interval = 10

Additionally, a significant docs mismatch has been underlying for default pruning options, where keep-every was 100, not 500 as stated.

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[ ] included the correct type prefix in the PR title
[ ] added ! to the type prefix if API or client breaking change
[ ] targeted the correct branch (see PR Targeting)
[ ] provided a link to the relevant issue or specification
[ ] followed the guidelines for building modules
[ ] included the necessary unit and integration tests
[ ] added a changelog entry to CHANGELOG.md
[ ] included comments for documenting Go code
[ ] updated the relevant documentation or specification
[ ] reviewed "Files changed" and left comments if necessary
[ ] confirmed all CI checks have passed

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] confirmed the correct type prefix in the PR title
[ ] confirmed ! in the type prefix if API or client breaking change
[ ] confirmed all author checklist items have been addressed
[ ] reviewed state machine logic
[ ] reviewed API design and naming
[ ] reviewed documentation is accurate
[ ] reviewed tests and test coverage
[ ] manually tested (if applicable)

This is kinda crazy , looks like the config message has always been extremely wrong???

Or are these defaults being changed just not whats happening?
Like if keep-recent was 21days worth of blocks, state synced nodes wouldn't have issues

This is kinda crazy , looks like the config message has always been extremely wrong???

Yeah I've noticed. I thought this was different because we already have overwritten default pruning settings at some point, but just noticed that we haven't and it's the same for cosmos sdk as well.

Can we change keep-every to 100k, currently thats the code comment, but code looks like at 10k to me. (Possible I mis-read)
Can we update the docs to point out thats 1 week worth of states.
Can we also make pruning interval 100 blocks. Once we do that, LGTM to merge! Thanks for making this PR!

for posterity, we confirmed the defaults were changed as this PR suggests, with never updating the config. This honestly explains a lot of the state bloat. The docs mismatch got introduced here: https://github.com/cosmos/cosmos-sdk/pull/9859/files (Thanks @UnityChaos for finding this)

If thats the reason, theres an architecture problem. You don't need any old state, you only need the last 362880 block headers. (Which is what min-retain-blocks is for)

Dang I said the wrong thing in my comment, so sorry. I intended keep-recent = 100k, keep-every = 0. I'm so sorry, I'll commit the fix and merge

I think based off the comments that was the reasoning, but agree its not needed


[BUG] Slow starup time

NeoVim Version
NVIM v0.10.1
Build type: Debug
LuaJIT 2.1.1713484068
Run "nvim -V1 -v" for more info
Describe the bug
require('neotest').setup({
adapters = {
require('neotest-go')({
experimental = {
test_table = true,
},
args = { '-count=1', '-timeout=60s' }
}),
-- require('neotest-python')({}),
-- require('neotest-gtest').setup({})
}
})
will add seconds of startup time
To Reproduce
Please provide a minimal init.lua to reproduce which can be run as the following:
nvim --clean -u minimal.lua

You can edit the following example file to include your adapters and other required setup.
vim.opt.runtimepath:remove(vim.fn.expand("~/.config/nvim"))
vim.opt.packpath:remove(vim.fn.expand("~/.local/share/nvim/site"))

local lazypath = "/tmp/lazy/lazy.nvim"

if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({
    "git",
    "clone",
    "--filter=blob:none",
    "https://github.com/folke/lazy.nvim.git",
    "--branch=stable", -- latest stable release
    lazypath,
  })
end

vim.opt.rtp:prepend(lazypath)

require("lazy").setup({
  "nvim-neotest/neotest",
  dependencies = {
    "nvim-lua/plenary.nvim",
    "nvim-treesitter/nvim-treesitter",
    -- Install adapters here
  },
  config = function()
    -- Install any required parsers
    require("nvim-treesitter.configs").setup({
      ensure_installed = {},
    })

    require("neotest").setup({
      -- Add adapters to the list
      adapters = {},
    })
  end,
})

Steps to reproduce the behavior:

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

Please provide example test files to reproduce.
Expected behavior
A clear and concise description of what you expected to happen.
Logs

Wipe the neotest.log file in stdpath("log") or stdpath("data").
Set log_level = vim.log.levels.DEBUG in your neotest setup config.
Reproduce the issue.
Provide the new logs.

Additional context
Add any other context about the problem here.

To reproduce: https://github.com/GopherJ/dotfiles/blob/master/coc/.vimrc

Ref: #380

@GopherJ what was the fix? that commit is not public

I removed neotest then everything is fine


OSSM-6850 Ensure OLM-managed CRDs are never overwritten

The Sail operator installs the Istio CRDs via OLM. The 2.x operator shouldn't overwrite them, since the ones from the Sail operator are newer (and backwards-compatible).

/push-image

/help


Fix dependencies to allow Dependabot to raise a Rails 6.1 PR

Dependabot did not raise a Rails 6.1 update PR as there were incompatible dependencies.

Bumping inherited_resources to the latest version to change the requirement for actionpack (>= 5.0, < 6.1) to actionpack (>= 5.2, < 6.2)
Bumping ruby2_keywords to meet mongoid 7.3.2's requirement for ruby2_keywords (~> 0.0.5)
Bumping mongoid to the latest version to remove the requirement for activemodel (>= 5.1, < 6.1) to activemodel (>= 5.1, < 6.2)
Bumping select2-rails to the latest patch of version 3.5 to remove the requirement for thor (~> 0.14), which has required updates to the tests as the select element is explicitly marked as display: none (so not matched with capybara's select method)

Also adding inherited_resources and mongoid to the dependabot configuration, so we don't get into this situation with the next Rails update.  We don't need to add ruby2_keywords, as this is a mongoid dependency, so will get bumped alongside this gem, as required.  select2-rails doesn't need adding as the thor dependency is no longer fixed to a specific version.
Trello card
⚠ This repo is Continuously Deployed: make sure you follow the guidance ⚠

@ChrisBAshton I've added a couple of commits (1], 2 to resolve issues with changes in https://github.com/alphagov/publisher/pull/1478.
Would you be able to review these two commits again?  Nothing else has changed in the other commits, other than the commit message.

This has allowed dependabot to raise https://github.com/alphagov/publisher/pull/1493.


Proposal Creation Wizard: Badge Assignment

Redesign the Badge Assignment Flow:
URL: https://dao.hypha.earth/hypha/proposals/create
Note: The circle dropdown should be hidden (via a feature flag) until Milestone 5 - March 2023)
Design:
https://xd.adobe.com/view/35b56d65-b989-47b5-b84e-b82d92dd011f-60e6/screen/03a520c6-9175-4f3a-8eda-d6ae939c67e5/

@leonieherma1 Can I get a little more information on this issue? What exactly should I do? Hide badge assignment card button when creating a proposal?

@evgenibir please redesign the current flow to create a badge assignment in the DAO:

Create badge assignment screen now:

New Design:

https://xd.adobe.com/view/35b56d65-b989-47b5-b84e-b82d92dd011f-60e6/screen/0050c336-4a0a-487a-90b2-54ad902a403d/

@leonieherma1 the new design is missing the Date / Duration step, is this some kind of bug? without this we can't create a badge assignment

@evgenibir we are not doing start date or duration for badges anymore. they start as soon as the proposal is voted in and last forever (until someone suspends a badge assignment of someone)

I tested the flow, but the start date step is there (visible) and can't select it to finish the creation process.
https://user-images.githubusercontent.com/2647958/213509830-a2c55e05-c290-4328-9288-6be8bcea4939.mp4

I tested the flow, but the start date step is there (visible) and I can't select it to finish the creation process.
Expected Behaviour: It should let me select the date or the date should not be visible at all.
Experienced Behavior: I can't move further to finalize the badge proposal
Tested on staging: Version: 0.2.21

Hi @pmmm, you tried push "reset selection" button? And this not frontend issue because i get dates array from backend. Can you speak with Gerry about it?

Hi @evgenibir , yes. here a recent video:
https://user-images.githubusercontent.com/2647958/214641213-a2d71fb1-ca67-49dc-8a20-0e363e0fc37d.mp4


RFC: subtype System to enable modelling alternative market clearing formulations

Alternative to #33 for enabling modelling different markets.  The required fields needed in the System struct are fairly different between the two markets.  For example the new market has load services, which don't exist in the first market.  Also energy bids (both offers and demand bids) need to contain extra time series information (hence the new type EnergyBids).
Open question, both markets have the concept of GeneratorTimeSeries but the requirements might be different enough that this should be subtyped too.

I like the idea of subtyping system because ISO-specific systems seem to be significantly different. The main problem is that this doesn't just apply to systems, as evidenced by

regulation_min and regulation_max do not exist as parameters for modelling the new market so these fields can be missing.

So my feeling is that we need to gauge if subtyping just system is good enough, or if we need to parametrise everything by ISO – e.g., we could have this package depend on ElectricityMarkets (which would make this not open source anymore...), and then have types for each ISO following a structured type hierarchy so that we can easily dispatch things on System down the line.
Essentially, it seems to be that the main challenges stem from us trying to reconcile ISOs being very different with the fact that we want to have them all structured under a single, general framework. It might be the case that the best thing is for each one to have its own structures.

we need to gauge if subtyping just system is good enough, or if we need to parametrise everything by ISO

From what I can see at the moment the time series requirements between the two ISOs are pretty different.  To accommodate both will require subtyping System and GeneratorTimeSeries.
So far we only know about 1.5 ISOs, but it seems like the static components are consistent (Generator, Branch, Bus) and I assume the calculation of PTDF and LODFs will be similar too?  If that's the case those types and that functionality are worth keeping here as part of a shared framework.

seems like the static components are consistent (Generator, Branch, Bus) and I assume the calculation of PTDF and LODFs will be similar too? If that's the case those types and that functionality are worth keeping here as part of a shared framework.

I have a feeling that will be the case (system and time series are different, static components are the same / very similar)


Add a context to Message Conversation

Issue # 6:
Watson conversational does not maintains the current conversation.
Solution:
The problem was the context variable was not getting passed between calls to Watson, so do you need implement context.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Configure Azure Pipelines

This pipeline configuration builds the application and produces a build for the Release configuration.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: ashwinathale sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

not required anymore


.NET Core SignalR - close connection logic

Hello all,
I use SignalR v1.0.3 for ASP.NET Core 2.1 and I have question about close connection logic.
For example consider small example step by step:
1 - Client opened connection
2 - After that, server started produce items to client
3 - Over time client close connection
What happens to the messages that were in the queue for sending?
1 - They be lost
2 - The connection will be closed as soon as the remaining messages are sent

They be lost

This is what will happen. Once the client closes the connection, any messages which have not been completely received by the client will be lost (even if we waited to ensure they were sent, that's no guarantee that they will arrive in time).

@anurse thank you for your answer.
We can implement additional logic in our application. But it would be great  do not closing the channel immediately. For example, using a timeout. Or detecting messages on the internal bus. In any case, the client can always forcibly break the connection.


i2c isolator

Hey.
I'm currently adapting this to an Arduino, which is working just fine. link
But now i want to see Data from two PSUs which doesnt work. Im not sure how to use I2C isolators. Am I guessing correct if I say, that I need two of those: link
I imagine i would need to connect the i2c of one psu to one side of the chip and the arduino to the other?

You're using two psu's in series yeah? One with the ground floated?
Or are you using two separate PSU's not in series?
So there's two things to take care of; you've got to put one of the psu's
on a different I2C address, which is easy (there's 3 pins on the edge
connector to set it)
If series PSUs, you've got to sort out the electrical issue between the
high-side floated PSU and your arduino.
Simplest is to use something like this
https://datasheets.maximintegrated.com/en/ds/MAX14937.pdf
which just requires a 5v supply on each side. The "low" (arduino) side
should be obvious. The high side of the chip just goes to the floating DPS;
you'll need 5v on the high side too so I'd just use a small 5v regulator
(anything will do) off the high side DPS 12v output.
It should be pretty obvious; the chip provides complete isolation between
its two halves.
BTW I suggest you use PTC fuses (i.e. self-resetting thermal fuses)
generously on everything except the main high-power output (i.e. whatever
wiring goes to your arduino) ; with power supplies like that if you
fat-finger something you end up with molten metal very quickly
Good luck!
On Sat, Nov 11, 2017 at 7:13 AM, Paul Lützner<EMAIL_ADDRESS>wrote:

Hey.
I'm currently adapting this to an Arduino, which is working just fine.
https://photos.app.goo.gl/3MRQFpz7j4nG9bWs2 http://link
But now i want to see Data from two PSUs which doesnt work. Im not sure
how to use I2C isolators. Am I guessing correct if I say, that I need two
of those: http://www.analog.com/media/en/technical-documentation/
data-sheets/ADUM1250_1251.pdf http://link
I imagine i would need to connect the i2c of one psu to one side of the
chip and the arduino to the other?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/raplin/DPS-1200FB/issues/1, or mute the thread
https://github.com/notifications/unsubscribe-auth/ADTKSFwTe24qoWmde8ndbY1B_EsI6ANEks5s1bmZgaJpZM4QahTm
.

Sorry for the crude drawing but i should wire it like this and dont put PSU2 on the same side of the isolator as psu1?  link

yes that looks good. Change the i2c address on one PSU of course.
BTW when running them in series (with an active load) be careful not to let
one PSU shut down while the other keeps running. This effectively drives
the output circuitry of the shut down unit in reverse, and kills it.
I put a (fairly large, e.g. 20A) diode across the output of each PSU (i.e.
so normally it does nothing but if reversed it allows current to flow
through it, completing the circuit formed by the other PSU) to avoid this
being fatal to the PSU.
On Mon, Nov 13, 2017 at 11:07 AM, Paul Lützner<EMAIL_ADDRESS>wrote:

Sorry for the crude drawing but i should wire it like this and dont put
PSU2 on the same side of the isolator as psu1? link
https://photos.app.goo.gl/rgiZtA3awNKW8Pe73
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/raplin/DPS-1200FB/issues/1#issuecomment-344023954,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADTKSOKlXbx6G3YJc_njsyeDogs4IiWrks5s2JNrgaJpZM4QahTm
.

Ah thanks thats a good point. something like this should do?link

yes that will do it.
For reference; Note this is an emergency measure; what happened to me was I
was running two DSP1200FB's in series with an iCharger 406, charging, and
one psu shut down for some reason and never worked again. My guess is that
the iCharger saw the drop from 24v to 12v and of course just started
drawing more current, which reverse-biased the output end of the shut down
charger and fried it (as you'd expect).  Ideally you would implement
sensing on your ardunio to make both supplies shut down immediately if one
stops working, but the diode is a quick workaround; if you're drawing tens
of amps the diode will overheat so you should (also) have your charger set
to stop charging if supply much less than 24v
On Tue, Nov 14, 2017 at 2:31 AM, Paul Lützner<EMAIL_ADDRESS>wrote:

Ah thanks thats a good point. something like this should do?link
https://www2.mouser.com/ProductDetail/ON-Semiconductor/RD2006FR-H/?qs=sGAEpiMZZMtoHjESLttvklwC7HxaElpzRSrhNeMIlu8%3D
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/raplin/DPS-1200FB/issues/1#issuecomment-344214868,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADTKSJ_lZTrCD62cQ3W9j3dLLlbAbo1Pks5s2WvngaJpZM4QahTm
.

that should be pretty easy to implement. i was thinking about some mosfets to implement a softpowerswitch for the outputs anyway.

Would you mind sharing your Arduino code? Ive got a lot of trouble getting it to work and havent touched this project for a couple of months because its not fun without any progress. Sorry for abusing this thread for my needs ...


Integrate ipld plugin and ipfs

Description
#155 should be merged first
ref #119, #118
Closes: #XXX

Codecov Report

Merging #152 (3b984d5) into master (eff282a) will decrease coverage by 0.10%.
The diff coverage is 13.48%.

The diff coverage is 13.48%.

@@            Coverage Diff             @@
##           master     #152      +/-   ##
==========================================
- Coverage   60.87%   60.77%   -0.11%
==========================================
  Files         261      262       +1
  Lines       23640    23730      +90
==========================================
+ Hits        14392    14422      +30
- Misses       7759     7820      +61
+ Partials     1489     1488       -1

Impacted Files
Coverage Δ

cmd/tendermint/commands/init.go
2.27% <0.00%> (-1.73%)
:arrow_down:

config/toml.go
60.86% <ø> (ø)

consensus/state.go
68.40% <ø> (ø)

node/node.go
55.08% <7.31%> (-2.94%)
:arrow_down:

config/ipfs_config.go
83.33% <83.33%> (ø)

config/config.go
77.88% <100.00%> (+0.21%)
:arrow_up:

types/block.go
77.97% <100.00%> (ø)

consensus/ticker.go
90.00% <0.00%> (-5.00%)
:arrow_down:

blockchain/v0/pool.go
79.08% <0.00%> (-4.57%)
:arrow_down:

mempool/reactor.go
82.57% <0.00%> (-3.79%)
:arrow_down:

... and 12 more

It's not yet clear to me what the best approach is here. Either (1) create an ipfs node (or a CoreApi object from that node) and later pass that single object around to interact with IPFS (e.g. to DagGet or DagPut) directly, or (2) create an HTTP API endpoint and interact with that API via HTTP (e.g. via the http api client library).
In the latter case (2), we'd have some additional overhead (encoding, HTTP comms, both might be negligible) but we only need to pass around the API address whereever we need to interact with ipfs. The main advantage would be that we'd only need to instantiate such a client. Also, the API could be served from another machine than the one running tendermint. The coupling between tendermint and the ipfs node would be a bit more loose. We could fully externalize running an ipfs daemon node for instance.
The first case seems preferable if we want a tighter coupling between the running ipfs and tendermint node. We can create or pass around node/coreapi objects directly and we might not need to serve and handle any http server/requests (but we certainly should make this an option in the config bc we basically get this http api for free). In that sense, this is slightly more light-weight and directly interacting with the node is more "bare metal" as it removes another indirection or layer in between.
Currently, this PR favors option (1).

It's not yet clear to me what the best approach is here. Either (1) create an ipfs node (or a CoreApi object from that node) and later pass that single object around to interact with IPFS (e.g. to DagGet or DagPut) directly, or (2) create an HTTP API endpoint and interact with that API via HTTP (e.g. via the http api client library).
In the latter case (2), we'd have some additional overhead (encoding, HTTP comms, both might be negligible) but we only need to pass around the API address whereever we need to interact with ipfs. The main advantage would be that we'd only need to instantiate such a client. Also, the API could be served from another machine than the one running tendermint. The coupling between tendermint and the ipfs node would be a bit more loose. We could fully externalize running an ipfs daemon node for instance.
The first case seems preferable if we want a tighter coupling between the running ipfs and tendermint node. We can create or pass around node/coreapi objects directly and we might not need to serve and handle any http server/requests (but we certainly should make this an option in the config bc we basically get this http api for free). In that sense, this is slightly more light-weight and directly interacting with the node is more "bare metal" as it removes another indirection or layer in between.
Currently, this PR favors option (1).

@liamsi, consider using another IPFS HTTP client. It fully implements CoreAPI what would allow you to fully rely on it and keep Tendermint and IPFS nodes coupling configurable.

@liamsi, consider using another IPFS HTTP client. It fully implements CoreAPI what would allow you to fully rely on it and keep Tendermint and IPFS nodes coupling configurable.

Interesting, thanks for the suggestion. I'll take a look into the other client!

It fully implements CoreAPI

I wasn't aware that this is the main difference between https://github.com/ipfs/go-ipfs-api and https://github.com/ipfs/go-ipfs-http-client
When I looked at the latter, I thought that it might be better to choose the more reliable go-ipfs-api.

This package is experimental and subject to change. If you need to depend on something less likely to change, please use go-ipfs-api. If you'd like the latest and greatest features, please use this package.

Interesting, thanks for the suggestion. I'll take a look into the other client!

It fully implements CoreAPI

I wasn't aware that this is the main difference between https://github.com/ipfs/go-ipfs-api and https://github.com/ipfs/go-ipfs-http-client
When I looked at the latter, I thought that it might be better to choose the more reliable go-ipfs-api.

This package is experimental and subject to change. If you need to depend on something less likely to change, please use go-ipfs-api. If you'd like the latest and greatest features, please use this package.

I would say you can rely on it.
It is experimental in the same way as the CoreAPI. Take a look at CoreAPI interfaces tests. All implementations are tested thoroughly along with HTTP client. Thus, the library fully conforms CoreAPI.
Also, from personal experience, I don't remember any issues after passing gigabytes of data through it for long period of time.

I would say you can rely on it.
It is experimental in the same way as the CoreAPI. Take a look at CoreAPI interfaces tests. All implementations are tested thoroughly along with HTTP client. Thus, the library fully conforms CoreAPI.
Also, from personal experience, I don't remember any issues after passing gigabytes of data through it for long period of time.

Cool! Given that it implements CoreApi, we can just pass around a CoreApi object where needed. For the calling code then it doesn't matter if the CoreApi was created from a core IpfsNode or from that http-client.
As this PR already embeds a IpfsNode into a tendermint node, we can then either derive the CoreApi object directly from the IpfsNode, or use the HttpApi of that client instead. Thanks again.

Cool! Given that it implements CoreApi, we can just pass around a CoreApi object where needed. For the calling code then it doesn't matter if the CoreApi was created from a core IpfsNode or from that http-client.
As this PR already embeds a IpfsNode into a tendermint node, we can then either derive the CoreApi object directly from the IpfsNode, or use the HttpApi of that client instead. Thanks again.

Exactly!

Exactly!

The main TODO here is get e2e working again. For that we might need to do some minor changes on setting up the test-net nodes to run the equivalent of ipfs init before the test-net is spun up via docker-compose. Currently, the tests just time out:
 ./build/runner -f networks/ci.toml                                                                                18:06:34
I[2021-02-23|18:07:51.687] Removing Docker containers and networks
I[2021-02-23|18:07:52.370] Generating testnet files in "networks/ci"
I[2021-02-23|18:07:52.395] Starting initial network nodes...
I[2021-02-23|18:07:52.395] Starting transaction load (7 workers)...
E[2021-02-23|18:08:09.630] timed out waiting for seed01 to reach height 0
E[2021-02-23|18:08:09.630] Transaction load failed: failed to submit any transactions

The problem with the e2e tests was that the ipfs repo was not initialized and hence the tendermint nodes did not boot up for the e2e testnet. This is resolved in https://github.com/lazyledger/lazyledger-core/pull/152/commits/4d0df8e406bb9a102d862b7bedd3530e917bf346 but in a slightly hacky way (e.g. the use of a sync.Once var exists because some of ipfs' subsystems rely on global variables which make it difficult to resolve this in a cleaner way).

OK, this has still some rough edges but I'm going to mark this R4R as it will take some time to review and the bulk work is done here.

Thanks for the reviews so far @evan-forbes and @adlerjohn ! LMK, if I forgot to address sth.

One high-level thing I want to know is: what if the Tendermint process panics? Will the IPFS process close as well?

I didn't reply to this yet. Yes, if the tendermint node panics, the ipfs node should have the same ..  I guess .. lifetime is still the correct word here even if this isn't rust. That said, it would be good to test that assumption with some e2e / integration test.


Generate HTML/JS content from help docs

We already have dedicated models that represent each element of cli_gen (e.g. CliCommandModel) which is essentially a trimmed down version of the Element/AST model, that can be easily used by any code generator.
It would be very useful to have users tap into these builders to define their own static html / js help docs, similar to the FVM docs which were written by hand:
https://fvm.app/documentation/guides/basic-commands
The above docs include the following details for each command (the table shows what is already supported by cli gen today).

Detail
Is Already Supported

Command name
✅

Description
✅

Usage

Detailed description

Examples

Options
✅

Most of the information, besides the examples, would be easy to support.
The biggest question is how to support html/js generation, as rolling our own generator just for cli_gen would not have much benefit as, say, creating a more general-purpose generator for other packages to use. Dartdoc sort of fits this use case, but likely does not support the amount of customization that developers want.

Would also be great to generate readme tables, similar to: https://pub.dev/packages/ffigen#configurations


App review popup not showing on Android

Samsung Galaxy A03s

Android 11
Redmi 9A
MIUI 12.0,18 / Android 10

Exactly the same behaviour on both phones (using void RequestReview();):

App is installed using Internal App Sharing - all works review popup shows up
App deleted and the installed regularly from Google Play Store (exactly same build/binary as in Internal App Sharing) - popup does not show up at all

Switching back to internal app sharing, all works again ?!
Any ideas why it is happening?

Are you logged in to the Google play store using the same account as your android developer account? @dinonovak

Do you want me to test it for you since I am not logged in with the same account as the developer account?

Do you want me to test it for you since I am not logged in with the same account as the developer account?

@saamerm send you a DM via mail

The app is a little unresponsive and the navigation is wonky. But yes I was able to see the review popup @dinonovak

thanx!

@dinonovak did you want to close this issue?


Support nuspec file check

Fix #31

all requirements were applied.
also project/package parsing logic was extracted to separate file (to reuse in future)


[SPARK-14103][SQL] Parse unescaped quotes in CSV data source.

What changes were proposed in this pull request?
This PR resolves the problem during parsing unescaped quotes in input data. For example, currently the data below:
"a"b,ccc,ddd
e,f,g

produces a data below:

Before

["a"b,ccc,ddd[\n]e,f,g]  <- as a value.

After

["a"b], [ccc], [ddd]
[e], [f], [g]

This PR bumps up the Univocity parser's version. This was fixed in 2.0.2, https://github.com/uniVocity/univocity-parsers/issues/60.
How was this patch tested?
Unit tests in CSVSuite and sbt/sbt scalastyle.

cc @srowen

Test build #55173 has started for PR 12226 at commit d554c31.

Test build #55173 has finished for PR 12226 at commit d554c31.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/55173/
Test PASSed.

LGTM

@rxin Could you maybe take another look or merge this please?

Thanks - I actually run into this issue yesterday! Merging.


Get-GcbqTable cmdlet and integration tests

PTAL.  Everything should have been addressed here, and I added some fixed to the Dataset cmdlets in the same vein.

@ILMTitan - Refactored to functions.  Take a look - should be a lot cleaner.


Detect RCE in fragments of URLs in Referer header (932205)

According to the URL specification, the Referer header must not contain URL fragments (the part of the URL beginning with #). However, in practice many clients will simply copy the current URL into the Referer header. Since web servers have to allow fragments in the Referer header, this opens the door to attacks in the fragment part (we already detect attacks in the path and query parts of URLs in the Referer header).
We should add a new rule that targets the fragment part or URLs in the Referer header only and applies RCE detection as 932205 does to path and query.
See also the discussion in #3485.

Thank you for creating this issue. I think this is exactly to the point.


[2.5.1] Cannot Delete Cluster (using terraform) since coredns cannot run on control-plane nodes

What kind of request is this (question/bug/enhancement/feature request):
bug
Steps to reproduce (least amount of steps as possible):
Create a cluster (using terraform) with one control plane pool (control + etcd) and one worker pool using vsphere node template. After it comes up destroy the cluster.
Result:
The worker pool is deleted which causes the cluster-agent to not run. Rancher starts throwing errors saying waiting for cluster [c-gq2bw] agent to connect. Since the worker pool has been deleted it will never be able to run and never be able to connect. Rancher wont delete the nodes cause it is waiting.
This cluster is currently Updating; areas that interact directly with it will not be available until the API is ready.

[controlPlane] Failed to upgrade Control Plane: [[[controlplane] Error getting node dev-k8s-c02-cp-3: "-dev-k8s-c02-cp-3" not found]]

Other details that may be helpful:
The fix here is to make sure the cluster-agent has toleration to run on the control-nodes. Another option would be for rancher to ignore the agent missing if all node pools are marked for deletion.
Terraform will delete the resources backwards in order for example worker, then deletes control-plane pool. The cluster isn't actually marked for deletion yet since that would be last after the node pools are removed. This seems like a race condition around rancher wanting to manage the cluster and terraform just trying to destroy the cluster resources.
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): 2.5.1
Installation option (single install/HA): HA

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): vSphere
Machine type (cloud/VM/metal) and specifications (CPU/memory): VM
Kubernetes version (use kubectl version): 1.19.2 (rancher version)

Given the cattle-cluster-agent Deployment contains of:
    spec:
      affinity:
        nodeAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
            nodeSelectorTerms:
              - matchExpressions:
                - key: beta.kubernetes.io/os
                  operator: NotIn
                  values:
                    - windows
          preferredDuringSchedulingIgnoredDuringExecution:
          - weight: 100
            preference:
              matchExpressions:
              - key: node-role.kubernetes.io/controlplane
                operator: In
                values:
                - "true"
          - weight: 1
            preference:
              matchExpressions:
              - key: node-role.kubernetes.io/etcd
                operator: In
                values:
                - "true"
      tolerations:
      - operator: Exists

I don't understand why it can't run. What error does it show when its being scheduled that indicates it cannot run? To avoid any misinterpretation, please provide example code and versions used of all components involved that can be used to reproduce including logging that you used to confirm the statements.

@superseb Good call on that. I should of dug a bit more.
I just tested a rancher provisioned rke cluster with just 1 control-plane node (etcd+control). This should at least bring the cluster up even though there isn't a worker.
The UI is showing this which is the basic error:
This cluster is currently Error; areas that interact directly with it will not be available until the API is ready.
Cluster health check failed: cluster agent is not ready

I was able to get the admin config from the secret that rancher created and found the issue.
It isn't the cluster-agent but is the coredns pods. Since the worker or worker pool has been removed the coredns pods have no where to schedule too since they do not include tolerations to run on control-plane nodes. If the cluster-agent was running on a worker node it would be deleted/drained and moved to a master but without working cluster dns it cannot resolve rancher and hit the /ping endpoint.
pods
cattle-system   cattle-cluster-agent-6db6c86f57-stzdc     0/1     CrashLoopBackOff   9          23m
cattle-system   cattle-node-agent-zhkww                   1/1     Running            0          23m
cattle-system   kube-api-auth-vq7tr                       1/1     Running            0          23m
kube-system     calico-kube-controllers-8868bdc57-v9vjc   1/1     Running            0          24m
kube-system     canal-hlznn                               2/2     Running            0          24m
kube-system     coredns-8544b74885-rsbwh                  0/1     Pending            0          23m
kube-system     coredns-autoscaler-5fb8c46699-h76w4       0/1     Pending            0          23m
kube-system     metrics-server-c7999db78-f68g4            0/1     Pending            0          23m
kube-system     rke-coredns-addon-deploy-job-wnbtd        0/1     Completed          0          24m
kube-system     rke-metrics-addon-deploy-job-72bzl        0/1     Completed          0          23m
kube-system     rke-network-plugin-deploy-job-z642v       0/1     Completed          0          24m

coredns tolerations
  tolerations:
  - key: CriticalAddonsOnly
    operator: Exists
  - effect: NoExecute
    operator: Exists
  - effect: NoSchedule
    operator: Exists

So either coredns needs tolerations or Rancher server needs to ignore the cluster not being accessible if all pools are deleted.
My only work around to delete the cluster is to remove the finalizers from the rancher node objects and manually delete the VMs myself.

@superseb Is there any more information you need for this?


provision perf: Make generate_zulip_bots_static_files callable as a function

This is part of optimizing the no-op time (i.e. runtime if you run it with nothing changed) for tools/provision, which on my machine is currently about 2.8s.  Of that, 300ms is running generate_zulip_bots_static_files:
(zulip-py3-venv) tabbott@zaset:~/zulip$ time tools/setup/generate_zulip_bots_static_files

real	0m0.334s
user	0m0.304s
sys	0m0.024s

If you make it sys.exit(0) just after the import statements, it takes just as long:
(zulip-py3-venv) tabbott@zaset:~/zulip$ time tools/setup/generate_zulip_bots_static_files

real	0m0.303s
user	0m0.276s
sys	0m0.020s

So all the work is the import phase.  This likely means we could save most of that time by refactoring it to support being called as a function, and calling it from provision rather than shelling out to a new Python interpreter.

@timabbott Hello.
I am directly calling the function instead of doing a sub-process call as you said  and importing modules like
from tools.lib.provision import os instead of import os .
This seems to be saving around 250-300ms on an average. But i am not sure whether this is the right approach.
(Haven't claimed it yet because of the uncertainty)

@zulipbot claim

This likely means we could save most of that time by refactoring it to support being called as a function, and calling it from provision rather than shelling out to a new Python interpreter.

I suppose it should also be the case that the script can be called standalone, as in with
if __name__ == '__main__':
    run_main_function()

This way, a lot of the scripts that are required to be run standalone, but sometimes are called from inside another script can coexist (e.g. build_emoji).

Thanks @rht ! will look into it


How to add the multi data monitor widget?

Can anyone help me? I am a green hand to multi data monitor, and I want to know how to add the multi data monitor widget after adding a panel from the RViz menu. Thanks for the answer in advance.

Thank you for your interest.
After adding the panel, input the config file path in the edit box and press the OK button.
Here is the documentation (Japanese only for now).
The file path is specified in the following format.

package://<package>/<path>
file://<path>

For example:

package://multi_data_monitor/config/sample.yaml
file://path/from/working/directory/sample.yaml
file:///absolute/path/sample.yaml

There is a sample config files in the tutorials, which may be helpful.
https://github.com/tier4/multi_data_monitor/tree/main/multi_data_monitor#tutorials

https://github.com/tier4/multi_data_monitor/blob/main/multi_data_monitor/documents/tutorials/01/simple1.yaml
https://github.com/tier4/multi_data_monitor/blob/main/multi_data_monitor/documents/tutorials/01/simple2.yaml
https://github.com/tier4/multi_data_monitor/blob/main/multi_data_monitor/documents/tutorials/02/titled.yaml
https://github.com/tier4/multi_data_monitor/blob/main/multi_data_monitor/documents/tutorials/02/matrix1.yaml
https://github.com/tier4/multi_data_monitor/blob/main/multi_data_monitor/documents/tutorials/02/matrix2.yaml
https://github.com/tier4/multi_data_monitor/blob/main/multi_data_monitor/documents/tutorials/03/subscription1.yaml
https://github.com/tier4/multi_data_monitor/blob/main/multi_data_monitor/documents/tutorials/03/subscription2.yaml
https://github.com/tier4/multi_data_monitor/blob/main/multi_data_monitor/documents/tutorials/04/filter1.yaml
https://github.com/tier4/multi_data_monitor/blob/main/multi_data_monitor/documents/tutorials/04/filter2.yaml
https://github.com/tier4/multi_data_monitor/blob/main/multi_data_monitor/documents/tutorials/04/filter3.yaml
https://github.com/tier4/multi_data_monitor/blob/main/multi_data_monitor/documents/tutorials/05/style1.yaml
https://github.com/tier4/multi_data_monitor/blob/main/multi_data_monitor/documents/tutorials/05/style2.yaml
https://github.com/tier4/multi_data_monitor/blob/main/multi_data_monitor/documents/tutorials/05/style3.yaml


gltf viewer G-Buffers Preview Bug with Camera Movement

Minor bug in 03_gltf_viewer.cpp where the 'sky' does not clear the buffer in the G-Buffer preview
https://user-images.githubusercontent.com/26779639/230547809-9f7c39de-6f48-4c1b-800a-f95df3e2e63d.mp4

This is actually not a bug, but rather a side effect of using Fwog::AttachmentLoadOp::DONT_CARE for the g-buffer images and displaying the resulting image. The unwritten parts have undefined contents (which is what you're seeing here), but the written parts are correctly written to and used for shading.


Add GUI to start/stop etc

Well, v0.25 actually DOES have a basic Mac GUI! Not great, but something!

Platypus is pretty swank. A thin wrapper that does the heavy lifting around all that stuff not intrinsic to a scripting language. Nice find.

It's by no means perfect but it got the job done in an afternoon!


JISA & Atomize

name: JISA
description: Standardised instrument control, data handling and simple GUI creation library for making experiment control programs.
repo_url: https://github.com/OE-FET/JISA
docs_url:
license: AGPL-3.0
project_focus:
test_framework: n/a
communication_types:
transport_layers:
has_procedures:
has_gui: yes
gui_technology:
has_unit_support:
unit_library:
instrument_categories: voltmeter, sourcemeter, temperature, lock-in etc.
remarks: intended as LabView replacement
collected_by: FilipDominec

name: Atomize
description: A modular open source software for working with scientific devices and combining them into spectrometer.
repo_url: https://github.com/Anatoly1010/Atomize
docs_url:
license: MIT
project_focus: working with scientific devices and combining them into spectrometer
test_framework:
communication_types:
transport_layers:
has_procedures:
has_gui:
gui_technology:
has_unit_support:
unit_library:
instrument_categories: (many)
remarks:
collected_by: FilipDominec


Screenshot tests suite

Description
Plugin to run screenshot tests.
How to use:

Apply id("appyx-screenshots") in build.gradle.kts
Use the following structure for tests:

@get:Rule
val nameRule = TestName()

@Test
fun test() {
   bitmap.writeToTestStorage("${javaClass.simpleName}_${nameRule.methodName}")
}

Run either screenshotTestsCompareBaseline or screenshotTestsRecordBaseline task.

Check list

[x] I have updated CHANGELOG.md if required.
[x] I have updated documentation if required.

Why not use paparazzi? This seems like it will be quite a lot slower unfortunately

@vladcipariu91 asked for real screenshots because paparazzi did not work for his case.

as discussed with @LachlanMcKee we can merge this and look into a fix for Paparazzi later


Upgrade Bytedeco LLVM from 6 to 9.

Purpose

With this PR, we upgrade the ByteDeco LLVM version from 6 to 9, so that there are no compatibility issues coming out while using rust.

Fixes #
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

** If you have previously run the native backend, and if you get a symbol error please delete
/usr/local/lib/libLLVM.dylib and retry**

Check List

[ ] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

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

@@           Coverage Diff           @@
##           master   #20535   +/-   ##
=======================================
  Coverage   15.21%   15.21%
=======================================
  Files          50       50
  Lines        1341     1341
  Branches      208      208
=======================================
  Hits          204      204
  Misses       1121     1121
  Partials       16       16

Continue to review full report at Codecov.

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


Greetings & guidance with running drone indoors

Greetings,
Hope all well. Thanks in advance for guidance and I am planning on running my pixhawk 2.4.8 drone indoors (ONLY). Would it be possible for me to use overrides and control the drone from Python? As I will not have access to GPS, currently I can't pwm the motors as pre-arm checks fail. I am a bit unsure of disabling GPS and concerned about the impact it might have on stability.
Much appreciate the kind assistance.
Kind regards,
Sanjiv

You are best off asking this in the gitter channel.
It is impossible to answer this in any case, because it depends on what flight stack you are using.  pixhawk 2.4.8 is (very very very out of date legacy) hardware. Whether you can run without GPS depends on what other hardware you have and software.
In any case it isn't something we would answer as an issue or enhancement request in this area.


Syntax highlighting does not work on JupyterLab

Jupyter Lab: https://mybinder.org/v2/gh/datakurre/robotkernel/master?urlpath=lab/tree/example.ipynb
So extension is not yet complete https://github.com/datakurre/robotkernel/tree/master/src/jupyterlab_robotmode

It looks like your mode is registering, as it can be used with a plain text file:

But there is probably a mismatch between what comes back in the kernel_info message codemirror_mode: robotframework and the declared name, for whatever reason... maybe try Robot Framework? I don't have access to my closed code right now, but i think i had to do something like that...

@bollwyvl Thanks for the hint. It was the mismatch in name.

Hooray!
On Sun, Sep 23, 2018 at 12:06 PM Asko Soukka<EMAIL_ADDRESS>wrote:

@bollwyvl https://github.com/bollwyvl Thanks for the hint. It was the
mismatch in name.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/datakurre/robotkernel/issues/5#issuecomment-423827188,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACxRMElsZbuWerPyKWrJUJhEifNNeLkks5ud7GegaJpZM4W1qSL
.


Porcupine Issue: pv_status_to_string not found

Make sure you have read the documentation, and have put forth a reasonable effort to find an existing answer.
Expected behaviour
I have build the linux C demo successfully when I execute:
./porcupine_demo_mic  -l /usr/lib64/libpv_recorder.so -m ../../../lib/common/porcupine_params.pv -k ../../../resources/keyword_files/linux/computer_linux.ppn -t 0.5 -a  my_access_key -d 0
I get the following error:
failed to load 'pv_status_to_string' with '/usr/lib64/libpv_recorder.so: undefined symbol: pv_status_to_string'.
If I do readelf -Ws /usr/lib64/libpv_recorder.so, I cannot see the pv_status_to_string symbol, all symbols I get are:
pv_recorder_* and pv_circular_* but no symbol starts with pv_status
I have used the latest versions of both picovoice and pvrecorder
Steps to reproduce the behaviour
Just build it using the provided instructions.

Oops, my bad...I will see if I can generate a new one. Thanks for letting me know.


Upgrade image dependency to 0.24

A more minimal version of #53 that only upgrade the image dependency.
A merge and subsequent version publish would be appreciated, @abonander .

I'm interested in this too, image 0.23 causes my program to crash on certain inputs so I would like to update to 0.24. :)


Feat/qpu interface

minimal qpu-interface

Please check the commits that are part of this pull request. It shows changes that have already landed in main.


[qsrlib_io] World_QSR_Trace.get_sorted_timestamps method does not look right

World_QSR_Trace.get_sorted_timestamps method does not look right.

Something like:
def get_sorted_timestamps(self):
        return sorted(self.trace.keys(), key=lambda x: int(x))

maybe?

What if they are float timestamps?
Basically one more thing to deprecate and enforce to one standard that timestamps can be only numeric; leaving the get_sorted_timestamps as a wrap method to simply:
def get_sorted_timestamps(self):
    return sorted(self.trace.keys())

Can also just do:
def get_sorted_timestamps(self):
        return sorted(self.trace.keys(), key=lambda x: float(x))

which works for both ;)
But I agree, if the conversion is not necessary, get rid of it.


Running update on selection a second time doesn't update any existing index unless it's also selected

Steps to reproduce:

Generate index based on selection
Select same contents and generate again based on selection

Expected behavior
It updates any existing index with the same name.
It should look over all the note and update it.
Current behavior
Creates a second index with the new values.

As expected


Create Productivity page

For reference of design please look at #38

Hey Asad, I can work on it.


improve tracking stability and pose accuracy in environments with similar or simple patterns(less feature) for 3d map reconstruction

Required Info

Camera Model
{ T265 }

Firmware Version
(any)

Operating System & Version
{any

Kernel Version (Linux Only)
(4.15)

Platform
PC/linux

SDK Version
{ any(2.30) }

Language
{any }

Segment
{Robot and others }

Issue Description
I have just started with T265, and I want to do map reconstruction using(both d435i and T265) and probably on a robot with wheel odometry.
However, the environment I am going to work on has a similar pattern and (even mono-color). AFAIK about realsense slam algorithm inside T265, such an environment will affect the robot seriously, and tracking will not work. Is it true? Can adding wheel odometry help the tracking survive such environments? Is there any suggestion to help the system to continue reconstruction?
What is the source of the problem?  Please clarify this for me to figure out what I have misunderstood.
One more thing to mention, I tried the 3d tracking in front of a wall( like attached image) in realsense-viewer software, the position confidence was mostly on low and sometimes switched to medium for a few moments ( I was moving the camera with hand and slowly  ).

Hi @sadransh,
I would guess that the pattern above wouldn't cause any issues.  I'd even guess that it would help by providing texture our tracking algorithms.    With respect to blank walls, they can indeed be a problem.  That's one of the reasons that T265 ships with very wide angle (~160deg) lenses.  They often allow it to see the corners of a room where a narrow field of view camera would only see the wall.   In the end, it's be best to test is your environment.   Adding wheel odometry can help, but it can take some effort to tune it for your platform.

@radfordi  Thank you for your comment,
I have uploaded a bag file of what's happening. here is the link. this happens ( ~50 to 60% of the times I'm testing) And might be a fault of my experiment. However, It might help the team.
some screenshots of it.

another example, something similar happens in ROS rtabmap :

after a few moments, the background of odometry part becomes dark red meaning lost odometry
my own guess is that from the camera perspective the wall is like a blank one. And this seems normal.
However, I want something to keep tracking in surfaces that have repetitive and similar patterns or simple like the ground, asphalt,... It seems T265 SLAM Algorithm is not designed for such purposes.
Please correct me if I am wrong, Do you have any idea?

Thank you for highlighting the feature of tracking in repetitive patterns or tuning for repetitive patterns. We have moved our focus to our next generation of products and consequently, we will not be addressing this tuning or change in design in the T265.


feat(app): devtool(Fallback)ModuleFilenameTemplate can now also be defined as function

Usage example
webpack.config.js
module.exports = {
  entry: 'main.js',
  output: {
    filename : 'bundle.js',
    devtoolModuleFilenameTemplate: function(info) {
      // info is an objet which has the following properties:
      // - identifier
      // - shortIdentifier
      // - resource
      // - resourcePath
      // - absoluteResourcePath
      // - allLoaders
      // - query
      // - moduleId
      // - hash
      return info.resourcePath;
     }
  }
};

Fixes #1222
Fixes #782

any reason you are working with tab instead of spaces ?

any reason you are working with tab instead of spaces ?

yes, but I don't want to start a discussion about tabs vs. spaces here (feel free to google for one). You can see it as personal preference...

Thanks

@thaiat funny, I was missing this feature too and was just about to send a PR, but I see you already did :)

@urish ;)

@thaiat Could you add this to the documentation?

@sokra sure, do i modify directly the wiki of the docs repo ?

@sokra i modified the configuration file in the wiki
let me know if this is ok


pbr link invalid

the pbr link  https://github.com/stangri/source.openwrt.melmac.netkage is invalid

and the actual build for R2S has full pppoe support?

and the actual build for R2S has full pppoe support?

in the full build yes

and the actual build for R2S has full pppoe support?

in the full build yes

thanks for the information :D

and differs r2s from r4s? 1gb ram is ok?

it works with RK3328 but i dont know with network adapter, most likely with the RTL8211 network chip with lower temperatures

and the actual build for R2S has full pppoe support?

in the full build yes

thanks for the information :D i receive my NanoPi R2S Mini Router in the Beginning of May 2022, i hope it works then
what gcc is used in branch 22.03 ?
i hope my glass fiber box works with it(glass fiber -> ethernet converter, but with own protocol, i had problems on other routers with it, only a series of fritzboxes known works with it)
and the ext4 image should works fine?

In branch 22.03 I think it is GCC10. But that branch is still experimental and I might change the configuration later.

and differs r2s from r4s? 1gb ram is ok?

Those are not the same models and CPU. 1gb ram is enough for router purpose with few extra features (VPN, ...).
More memory is recommended if you want to use docker for example.
Don't hesitate to ask all questions on forum.openwrt.org and please keep only specific questions related to my builds here.

what can i make with docker?

but i hope the pppoe connection works


numba-RNG in 2D threads

In numba document,a sample program that uses the random number generator is provided:
from numba import cuda
from numba.cuda.random import create_xoroshiro128p_states, xoroshiro128p_uniform_float32
import numpy as np

@cuda.jit
def compute_pi(rng_states, iterations, out):
    """Find the maximum value in values and store in result[0]"""
    thread_id = cuda.grid(1)

    # Compute pi by drawing random (x, y) points and finding what
    # fraction lie inside a unit circle
    inside = 0
    for i in range(iterations):
        x = xoroshiro128p_uniform_float32(rng_states, thread_id)
        y = xoroshiro128p_uniform_float32(rng_states, thread_id)
        if x**2 + y**2 <= 1.0:
            inside += 1

    out[thread_id] = 4.0 * inside / iterations

threads_per_block = 64
blocks = 24
rng_states = create_xoroshiro128p_states(threads_per_block * blocks, seed=1)
out = np.zeros(threads_per_block * blocks, dtype=np.float32)

compute_pi[blocks, threads_per_block](rng_states, 10000, out)
print('pi:', out.mean())

In this program,  thread_id = cuda.grid(1), but I wonder how to use RNG when thread_id = [2] ?
for example:
import numpy as np
import math
from numba import cuda
from numba.cuda.random import create_xoroshiro128p_states, xoroshiro128p_uniform_float64
@cuda.jit
def RNG(rng_states,x):
    i,j = cuda.grid(2)

    if i >= x.shape[0] or j >= x.shape[1]:
        return
    x[i,j] = xoroshiro128p_uniform_float64(rng_states,   )

TPB = 16
threadsperblock = (TPB, TPB)
x = np.random.randint(1,10,(1024,1024))
blockspergrid_x = math.ceil(x.shape[0]/threadsperblock[0])
blockspergrid_y = math.ceil(x.shape[1]/threadsperblock[1])
blockspergrid = (blockspergrid_x, blockspergrid_y)
rng_states = create_xoroshiro128p_states(   , seed=  )
RNG[blockspergrid, threadsperblock](rng_states,x)
print(x)

What parameters should I set for create_xoroshiro128p_states( ) and xoroshiro128p_uniform_float64( )

RE formatting in GitHub issues, for future reference triple backticks are needed around a code block (with optional language syntax specified), for example: ```python <your code> ```. GitHub also has a basic guide to its markdown syntax available here.

Sorry,It's my first time to ask a question here.
I have learned how to insert my code. Thank you for your help.

Thanks for the query, and no problem about the formatting, the above is just a canned reply with info for users :)
To your question, I think this might do what you want:
from numba import cuda
from numba.cuda.random import create_xoroshiro128p_states, xoroshiro128p_uniform_float32
import numpy as np
import math

@cuda.jit
def RNG(rng_states, x):
    startx, starty = cuda.grid(2)
    stridex, stridey = cuda.gridsize(2)

    for i in range(startx, x.shape[0], stridex):
        for j in range(starty, x.shape[1], stridey):
            idx = i * stridey + j
            rng = xoroshiro128p_uniform_float32(rng_states, idx)
            x[i, j] = rng

TPB = 8
threadsperblock = (TPB, TPB)
x = np.zeros((50, 3), dtype=np.float32)
blockspergrid_x = math.ceil(x.shape[0]/threadsperblock[0])
blockspergrid_y = math.ceil(x.shape[1]/threadsperblock[1])
blockspergrid = (blockspergrid_x, blockspergrid_y)

total_threads = np.prod(threadsperblock)
total_blocks = np.prod(blockspergrid)

nstates = int(total_threads * total_blocks)

rng_states = create_xoroshiro128p_states(nstates, seed=1)

RNG[blockspergrid, threadsperblock](rng_states, x)
print(x)

the main thing to note is that looping over the grid with striding means the program becomes less dependent on the launch configuration. I can't really comment on the validity of this method of using the RNG as I don't recall the internal details of the implementation. Hope this helps.

The important thing is to ensure two threads never share an rng state, so computing a unique index the way Stuart has done is the way to go.

Stuart,Thank you for your answer. Your code really have helped me a lot.
My purpose is to get int-RNG  in range[1,8]. It seem that I can't find  a function in Numba which can do this job.So I have to use  'int(xoroshiro128p_uniform_float64(rng_states,ID)*8 + 1)' to  meet my requirement.
Besides,How could I know the size of my array exceeds the size of gridsize,in which case I  must use the loop to ensure the uniqueness of the index?In other word,how to compute the largest size of gridsize?

Besides,How could I know the size of my array exceeds the size of gridsize,in which case I must use the loop to ensure the uniqueness of the index?In other word,how to compute the largest size of gridsize?

The idea in the above is to make it so that the code works for whatever array, grid size and block size chosen. It essentially adds flexibility.

The idea in the above is to make it so that the code works for whatever array, grid size and block size chosen. It essentially adds flexibility.
Yes,I have learned to add flexibility for my code with your help.

import numpy as np
from numba import cuda
import math
from numba.cuda.random import create_xoroshiro128p_states, xoroshiro128p_uniform_float32

@cuda.jit
def A(rng_states,x, p):
    startx,starty = cuda.grid(2)
    stridex,stridey = cuda.gridsize(2)
    for i in range(startx,x.shape[0],stridex):
        for j in range(starty,x.shape[1],stridey):
            if 0 < i < x.shape[0] -1 and 0 < j < x.shape[1] - 1:
                ID = i * stridey + j
                if xoroshiro128p_uniform_float32(rng_states,ID) > p:
                    return
                count = np.bincount(x[i-1:i+2,j-1:j+2].ravel())
                x[i,j] = np.argmax(count)

def B(y, TPB, p):
    x = cuda.to_device(y)
    threadsperblock = (TPB, TPB)
    blockspergrid_x = math.ceil(x.shape[0]/threadsperblock[0])
    blockspergrid_y = math.ceil(x.shape[1]/threadsperblock[1])
    blockspergrid = (blockspergrid_x, blockspergrid_y)
    rng_states = create_xoroshiro128p_states(int(np.prod(threadsperblock) * np.prod(blockspergrid)), seed = 1)
    A[blockspergrid, threadsperblock](rng_states, x, p)
    return x

y = np.random.randint(1,4,(256,256))
TPB = 16
p = 0.5
x = B(y, TPB, p)
print(x)

In this code,x[i,j] will change to the mode of its 3*3 neighbourhood with a probability of 0.5.
Can I use 'np.bincount'   and 'np.argmax' in the kernel function?


Fixing a bug where the context ends up in a bogus state when the iOS …

…forces the queue onto a new thread.  Also removing unused and confusing blurFractionVaribales since they do nothing

@quasor This is a fix for swapping threads but keeping a gl context

otherwise look good to me.

Yeah, we were actually setting those variables - probably not realizing
they did .... nothing...
On Fri, Aug 7, 2015 at 10:12 AM, Andrew Coldham<EMAIL_ADDRESS>wrote:

otherwise look good to me.
—
Reply to this email directly or view it on GitHub
https://github.com/picmonkey/GPUImage/pull/1#issuecomment-128769557.


Itest fixes and stick to legacy travis infrastructure for now.

@mbabineau this is more of an FYI. Travisci is migrating to GCE, and it is much slower, (slow enough to not run our itests in time) and they have hostnames that are long enough to trigger (https://github.com/travis-ci/travis-ci/issues/5227) which affects Marathon (jvm related somehow).
Probably by the time they are at 100% gce they will resolve these issues and we can undo these changes (hopefully). No actual python stuff is changing or anything like that.


Going to a podcast on Mastodon from a web browser just gives a 404

I am trying to open a podcast with the ID 6661055 in my web browser in such a way as to then have it open the podcast in Mastodon.
I believe the correct format should be as follows but just gives a 404 with the text "NOT FOUND"
https://ap.podcastindex.org/@6661055
This was the article I was trying to follow
https://mastodon.social/@box464/112227449775389292
This second one would be the next evolution and uses the
https://eschatologist.net/blog/?p=309
this seems to be saying that the following should work
<EMAIL_ADDRESS>but whilst it redirects to the webfinger server
<EMAIL_ADDRESS>webfinger then redirects to the root (https://ap.podcastindex.org/) and 404's again.

The PI-ActivivityPub bridge uses the following actor url scheme:  https://ap.podcastindex.org/podcasts?id=6661055
Since it is just meant to bridge low level activity from podcast feeds to ActivityPub, we don't have an HTML, pretty interface for the Actor on the bridge itself.  We should probably redirect requests for Accept: text/html to the podcast's own website, or if there isn't one defined in the feed we could land on the PI page for that show.

Thanks Dave, I see your point.
I wonder though if it be better to "go with the flow", the uri scheme that seems to dominant is https://servername/@serverid so if you could just make the server addtionally recognise that @ symbol and ID as another kind of valid URL, it'd then be just a matter of getting finger to work correctly.
The last peice then of the puzzle is working out what the majority of activitysubs site are outputing as xml or a redirect to make the subscribe work.
If a non interactive way can't be found for the final peice and you have to use a webpage, I don't think it needs a pretty, it could just be a butt ugly generated list of the "subscribe to me" link formats of the most popular mastodon sites, (like those personal link aggrator sites) so someone can choose thier server maually, for example https://mastodon.online/<EMAIL_ADDRESS>Anyway, thanks for coming back to me, it'd be interesting to hear others thoughts as well.
Neil

What are you trying to implement?  Is there some sort of integration you are thinking of or building or are you just thinking about general user friendliness?
Asking because the bridge implements web finger already, so I think I’m not following what you’re idea is.

I do voluntry work on the database behind wikipedia called "wikidata", if we can get this working it'll mean the people, apps or whatever using the database can follow any of the 4800 podcasts it has PI ID's from Mastodon or whatever.
Whats nice about wikidata is that it acts as a bi-direction hub so as well bringing users to you it also allows your users to enrich the information about the podcasts (or whatever) people are viewsing as people are always building new intergrations for it, the ones I help with are the most common type which work via the URL  using regex.
For example the PI ID in my example maps to the WD entry https://www.wikidata.org/wiki/Q123434415
It can also be good for data cleansing as for example it picked up you have duplicate entrys for this podcast.

While it may be helpful to add a redirect for the @… format, I don't think it would be a good idea to assume a certain URL format, since this is heterogeneous across the fediverse.
If I check the most popular software at https://fedidb.org/software, I get the following schemes:

software
account page path format for @user@domain

Mastodon
/@user, /@user@domain (defective for local users)

Misskey
/@user, /@user@domain

Lemmy
/u/user, /u/user@domain, /c/user, /c/user@domain

PeerTube (different versions?)
/accounts/user, /accounts/user@domain, /a/user, /a/user@domain, /c/channel, /c/channel@domain

Pixelfed
/user

Micro.blog
/user, /activitypub/user (via WebFinger as profile-page/text/html, redirect)

Pleroma
/users/user

Writefreely
/user/

Mastodon itself uses the actor's url property, which it populates verbatim from the url property in the federated object.


[DOC-4748] Add ARM64 download links for Linux

HTML Previews
Releases index (the diff is difficult to review)
Releases 22.2 minor version page with ARM downloads
Releases 22.1 minor version page without ARM downloads
Installation
Changes

Update Linux installation instructions to provide info about ARM
Add linux_arm field to _data/releases.csv
Add a Javascript confirm on click of each Experimental download, both on the Releases index and on minor-version pages (all Windows, and Linux ARM)
Add logic to releases/index.md and _includes/releases/release-downloads-docker-image.md (which actually builds out all of the minor-release pages, despite its name) to display the new links
Define Testing and Experimental at the top level of the Releases Index page
Completely refactor releases/index.md in other ways:

Change the looping logic to generate separate tables per version per platform
Always show SHA256 links
Improve link text for downloadable versions, Github links, and source code
For Docker, add a link to the cockroachdb image tags page
Remove CSS classes that were adding extra padding

Tests

[x] Local build
[x] Link check
[x] Download links download the correct things

This change is

@mdlinville I suggest looping in someone from the Marketing team as well (whoever is in charge of tracking our download stats).
When I made some updates to this page for the v20.2 release, I inadvertently broke some stuff that tracks downloads on this page and some folks rely on it.  If the tracking still exists (no idea, but probably?) it needs to be confirmed as still working.
(PS I quite like the changes FWIW, just wanted to drop that info)

@mdlinville I suggest looping in someone from the Marketing team as well (whoever is in charge of tracking our download stats).
When I made some updates to this page for the v20.2 release, I inadvertently broke some stuff that tracks downloads on this page and some folks rely on it. If the tracking still exists (no idea, but probably?) it needs to be confirmed as still working.
(PS I quite like the changes FWIW, just wanted to drop that info)

This seems to be lost to history. I guess if it is still an issue we might find out after we merge, but nobody can remember / find exactly what happened.

The intro bullets distinguish between Testing and Experimental, but I only see Testing in the heading.

The intro bullets distinguish between Testing and Experimental, but I only see Testing in the heading and experimental is relegated to a note after you click a specific platform under the Testing heading. This doesn't seem very consistent to me. I would expect to see an Experimental heading.

That's because Testing releases are for a CRDB version, but Experimental releases are for all CRDB binaries for a given platform (like Windows or ARM). I'll add the Experimental labels to the Windows table to be consistent.

@jlinder @kenliu-crl The most recent commit update the Linux binary installation instructions as discussed. PTAL. I'd like this PR to go out tomorrow along with #15156 .

@mwang1026 There are a few pending items from you. PTAL. If I don't hear anything from you by tomorrow, we can address any open issues as a fast follow.

@ianjevans had a look at the SCSS changes and approved them.


installing sfpowerscripts

Describe the bug
Error installing @dxatscale/sfpowerscripts
Installing plugin @dxatscale/sfpowerscripts... failed
    Error: yarn add @dxatscale/sfpowerscripts@latest --non-interactive
    --mutex=file:/Users/anthonygiuliano/.local/share/sfdx/yarn.lock
    --preferred-cache-folder=/Users/anthonygiuliano/Library/Caches/sfdx/yarn --check-files exited with code
    1

To Reproduce
run sfdx plugins:install @dxatscale/sfpowerscripts
Expected behavior
sfpowerscripts plugin should install successfully
Screenshots
Platform Details (please complete the following information):

OS: macOS
Version: 12.2.1
Salesforce CLI(sfdx cli) Version: sfdx-cli/7.139.0
CI Platform: n/a

Additional context
Full output is below, along with sfdx plugins / version info.  Let me know if there's any other information that would be helpful.
sfdx plugins:install @dxatscale/sfpowerscripts
This plugin is not digitally signed and its authenticity cannot be verified. Continue installation y/n?: y
Finished digital signature check.
warning ../../../package.json: No license field
warning @dxatscale/sfpowerscripts ><EMAIL_ADDRESS>Version no longer supported. Upgrade to @latest
warning @dxatscale/sfpowerscripts > @dxatscale/sfpowerscripts.core > @salesforce/ts-sinon > sinon > @sinonjs/formatio ><EMAIL_ADDRESS>This package has been deprecated in favour of @sinonjs/samsam
warning "sfpowerkit ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>warning Workspaces can only be enabled in private projects.
error /Users/anthonygiuliano/.local/share/sfdx/node_modules/puppeteer: Command failed.
Exit code: 1
Command: node install.js
Arguments:
Directory: /Users/anthonygiuliano/.local/share/sfdx/node_modules/puppeteer
Output:
The chromium binary is not available for arm64.
If you are on Ubuntu, you can install with:

 sudo apt install chromium

 sudo apt install chromium-browser

/Users/anthonygiuliano/.local/share/sfdx/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserFetcher.js:115
                    throw new Error();
                    ^

Error
    at /Users/anthonygiuliano/.local/share/sfdx/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserFetcher.js:115:27
    at FSReqCallback.oncomplete (node:fs:198:21)
Installing plugin @dxatscale/sfpowerscripts... failed
    Error: yarn add @dxatscale/sfpowerscripts@latest --non-interactive
    --mutex=file:/Users/anthonygiuliano/.local/share/sfdx/yarn.lock
    --preferred-cache-folder=/Users/anthonygiuliano/Library/Caches/sfdx/yarn --check-files exited with code
    1

❯ sfdx --version --verbose
 CLI Version :
	sfdx-cli/7.139.0

 Architecture:
	darwin-arm64

 Node Version :
	node-v16.13.2

 Plugin Version:
	@oclif/plugin-autocomplete 0.3.0 (core)
	@oclif/plugin-commands 1.3.0 (core)
	@oclif/plugin-help 3.3.1 (core)
	@oclif/plugin-not-found 1.2.6 (core)
	@oclif/plugin-plugins 1.10.11 (core)
	@oclif/plugin-update 1.5.0 (core)
	@oclif/plugin-warn-if-update-available 1.7.3 (core)
	@oclif/plugin-which 1.0.4 (core)
	@salesforce/sfdx-plugin-lwc-test 0.1.7 (core)
	alias 1.2.1 (core)
	apex 0.9.0 (core)
	auth 1.8.1 (core)
	community 1.1.4 (core)
	config 1.3.19 (core)
	custom-metadata 1.0.12 (core)
	data 0.6.9 (core)
	generator 1.2.2 (core)
	info 1.2.1 (core)
	limits 1.3.0 (core)
	org 1.11.1 (core)
	salesforce-alm 53.10.2 (core)
	schema 1.1.0 (core)
	sfdmu 4.12.9
	sfdx-cli 7.139.0 (core)
	sfpowerkit 4.1.5
	source 1.8.12 (core)
	telemetry 1.4.0 (core)
	templates 53.6.0 (core)
	trust 1.1.0 (core)
	user 1.7.1 (core)

 OS and Version:
	Darwin 21.3.0

@anthonygiuliano  Are you on an Apple  having M1 by any chance?

I am.  I figured it had something to do with that.  Is it a known issue already?

I had some folks ping me about it, looks like the version of puppeteer we are running is not compatible.   We will investigate this further

@anthonygiuliano There is couple of workarounds listed here https://github.com/puppeteer/puppeteer/issues/6622
Looks  like its fixed in https://github.com/puppeteer/puppeteer/pull/7099, Will be updating the dependencies

Fixed in 10.4.2


Edit response capability

MS forms has updated (Aug 2023) which now allows users to edit their responses. We will need to make a new version of the DPT survey in order to exploit this feature @pcrjoana can you investigate if we can just make a new copy based on the existing or whether you have to start from a blank version. Thanks!

I just made a copy of the current version. We will have to test if the answers to the copy are editable, though.
Very originally, I called the copy Data Profiling Tool: checklist (copy).

I just made a copy of the current version. We will have to test if the answers to the copy are editable, though. Very originally, I called the copy Data Profiling Tool: checklist (copy).

@pcrjoana can you add the link as i can't find it in the directory of forms, thanks!

https://forms.office.com/Pages/DesignPageV2.aspx?origin=NeoPortalPage&subpage=design&id=ziCy4DVXaESR3wXK5f8f3FDs2BvL6dZOojVfkB185kpUMDNSWkgxOFExMVkxQzFQMFZSNFUzRVJZNC4u

unfortunately that didn't unlock the feature, so we will need to rebuild the form from a blank sheet in order to have the capability to allow respondents to edit their response. @pcrjoana can you put that on the to-do list - we will need to test it and also redo the power automate workflow to a new form. Bit of a pain.

Yes! Will do.

Ok. So the problem seems to be a setting on the group level. If I make a new form from the group, I cannot enable the edit option. I created a form with that option in my personal page and then moved it to the group, and the option went away.

good deduction - that does seem to be the case. Let me check the admin side out.

ok, that option is not there in the org/form settings. Will put a ticket to Nas and investigate, thanks @pcrjoana

@neil-ices-dk has Nas come back to you on this yet?

@neil-ices-dk has Nas come back to you on this yet?

nope - will follow up


How to set initial clock value, set clock text size, set initial opened tab, set tab icon, and use keyboard input as default?

How to set initial clock value, set clock text size, set initial opened tab, set tab icon with my own drawables, and use keyboard input as default? And when I use snippet on my activity, fragmentManager is deprecated, but when I changed it to supportFragmentManager parameter is not valid. How to fix it? Thank you so much.

Hi @topex-psy, your tips are interesting. In the next ours I will implement them. However, regarding to fragmentManager, at the moment it is necessary and I can't use supportFragmentManager.

Hi @topex-psy it's available a new release; try it ;)

I've tried the update. Awesome! But seems the option to set the font size of the HH:mm clock is still not available. It's too small on my device.

Hi @topex-psy unfortunately it difficult to set font size; maybe, in the future, I will try to implement it.

I see. Thank you so much.


Forge is missing "Send image to miniPaint tab" button due to missing .form id under #image_buttons_txt2img, possibly due to Gradio 4.40

It appears that the "Send image to miniPaint tab" button is not being added with the new Forge using Gradio 4.40. The console blows up with an error at window.parent.gradioApp().querySelector('#'.concat(t, ' .form')).appendChild(o).

I took a look at it and it seems like the new Gradio Version messed a lot of things up. Might take a while until i can get to fix them

I'm looking to switch to forge but minipaint has become such an essential shortcut for editing in my workflow. Any chance this will be fixed soonish? Any possible workarounds?

Should be fixed now. You will need to create a new canvas for the controlnet elements first though as i am not able to do that myself. Appart from that everything should work


Add private host option for private networks support in hyperdrive

Draft PR so internal testers can test with npx easily -- will update with full PR description when ready for review.

Docs PR: https://github.com/cloudflare/cloudflare-docs/pull/13654


Large Number of Audios subject to removal due to new Roblox Update

All of the audios listed below are soon to be removed. Are there plans to replace or remove them from the source?
https://user-images.githubusercontent.com/63610764/159583675-829d91e6-17c4-464a-b562-e1b325c7f3e6.mov

I'll do a pull request to address this

I was planning to do this in the audio player v2 update
Although the update is finished I don't have time to merge it for another two weeks. For now I think it's best to make a public list of IDs and titles to be contributed, but first off removing the broken ones will suffice. Bear in mind that there where 60 songs originally last year.

We have removed unplayable audios from the music list. As for the other sounds used by Adonis that no longer play, I think we will keep them in until Roblox allows people to make audios public, hopefully then we will have more options to replace or keep using those audios.

@P3tray s pull request #751 fixes this

My pull request only managed to fix those inside server.Variables.Music, and some elsewhere. There are still roughly 15 audios compromised. I may fix this. Leave this as closed for now.


corrosion_link_libraries doesn't seem to handle multiple libraries

While corrosion_link_libraries seems to work with a single library, when there is more than one then:

${link_libs} and ${search_dirs} get expanded in the custom command as unquoted, space-separated values, which breaks the setting of the corresponding environment variables
After adding quotes to fix the above, it still doesn't work because corrosion_build::build_script(); is expecting a semicolon-separated list.

I'm using CMake 3.22.

Thanks for the report!

After adding quotes to fix the above, it still doesn't work because corrosion_build::build_script(); is expecting a semicolon-separated list.

Yeah, that is wrong - opened a PR with a fix.


1.0 Release: Refactor of the library with breaking changes

Overview
This PR refactors the library to 1) address several design issues; 2) make the library much more maintainable; and 3) simplify the process for contributions and consistency. See https://github.com/blacklightcms/recurly/issues/116 for more background.
In addition, several bugs have been fixed and additional features and endpoints have been implemented. Those will be documented in the migration guide. All of the Godoc documentation has been updated and links to Recurly's documentation have been updated as well.
Although library users will have to implement some breaking changes, this will ultimately simplify the amount of code being maintained in their projects, particularly due to error handling simplification and eliminating the *recurly.Response return value from every function.
See the migration guide for step-by-step walkthrough of migrating to this release.
Status

[x] Implementation
[x] Tests
[x] Basic Documentation (godoc)
[ ] Example documentation (doc.go)
[x] README
[x] Migration guide
[x] Purchases API updates

Release Plan
This PR will remain open so the community can review, try it out, and provide feedback. The goal is to make this as seamless of a transition as possible due to the breaking changes, so anyone willing to try out this branch to provide feedback, report bugs, and comment on the migration guide would be greatly appreciated. The amount of time this PR lasts before making it's way to master depends on feedback on the items above.
Please create a new issue to report feedback, bugs, or comments on the migration process/guide. For code reviews comment/review here.
Fixes #47. Closes #116.

I've been running this branch in production today without issue, and all of our integration tests for the endpoints we use are working (making actual requests to a Recurly sandbox account).
Beyond adding more documentation, I am still waiting to hear back from Recurly support on the purchases endpoints.
Assuming no issues come up I will likely release later this week. If you are running this branch successfully a comment would be great so I know others have tried it as well.

@cristiangraz do you plan to release a pre 1.0 version  on current master branch before merging this PR?

@everdance yep I will do that today.


Too Many Wi-Fi Networks can cause setup to crash on iOS

A similar issue to one of the other bits, it seems that too many wi-fi networks can cause the iPhone configuration to crash.
Been able to log from a device which has picked up 23 SSIDs.
To resolve:
Implement the apple solution to longer responses.
AND
Bump https://github.com/NebraLtd/hm-config/issues/15 up the priority list.
(Related to #26, Altough re-opening with better details).

I believe this issue should be fixed.

This was resolved with 83ca1eb787790c715dd4ef1d2a9a55b050b25851 and hasn't been reported since.


[WIP] experiment - Use SemaphoreSlim to prevent concurrent basestream access

A spin off / follow up to #589 which tries to use SemaphoreSlim to prevent concurrent access to the base stream instead of lock()
Another followup thought after looking at the bits that lock a bit more:
The TestArchive function:

calls TestLocalHeader, which locks the stream for the duration of the operation
reads the stream content via GetInputStream, which returns the locking PartialInputStream
uses ZipHelperStream to read the data descriptor, which I don't think does any locking

so might (3) be a hole where multiple things could read the stream at once?
I certify that I own, and have sufficient rights to contribute, all source code and related material intended to be compiled or integrated with the source code for the SharpZipLib open source product (the "Contribution"). My Contribution is licensed under the MIT License.

I've read elsewhere that you don't need to dispose the semaphore if you aren't using it's wait handle property directly, but I don't know if that's something to depend on.
Extra related question: Should the Async stream calls use ConfigureAwait ?


Added first sample for Identity and Access

Note: I added the tip using an html tag to make my link clickable, I don't know if this is supported, please check before deploying.

@Licantrop0 the clickable link isn't supported. Consider changing the tip message to:
"You are using the advanced query capabilities for Directory Objects, please send us feedback here https://aka.ms/MsGraphAADSurveyGE"
I have ran a test against Graph Explorer and this is how it will look as is:

Also, the tips are only displayed when a user is logged in. There is however a feedback feature we are yet to implement that should allow you the visibility and clickability you need.
cc @irvinesunday @bettirosengugi

@thewahome let me know if escaping " character in the URL with " instead of %22 is ok.

No need to escape it.

No need to escape it.
I do need to escape it with \" otherwise it's not a valid JSON:

@bettirosengugi can you please drop your change request?


Bugfix twopair highcard judge

I found wrong hand judge on twopair.
if hole = [7, 5],community=['D4', 'S8', 'H4', 'D7', 'C8']
then hand should be evaluated as twopair of 8 and 7
but judged as twopair of 7 and 4
 -- Round Result (UUID = eslcanounwpanqnpfozynx) --
==============================================
-- winners --
 p1 (nmtagflsjcueqoinsdlmal) => state : participating, stack : 126
-- hand info --
player [nmtagflsjcueqoinsdlmal]
  hand => TWOPAIR (high=8, low=4)
  hole => [13, 6]
player [xsijmwmfmfxosvmsexjuri]
  hand => TWOPAIR (high=7, low=4)
  hole => [7, 5]
-- round state --
 Street : showdown
 Community Card : ['D4', 'S8', 'H4', 'D7', 'C8']
 Pot : main = 120, side = []
 Dealer Btn : p3
 Players
 0 : p1 (nmtagflsjcueqoinsdlmal) => state : participating, stack : 126 <= BB
 1 : p2 (eslcanounwpanqnpfozynx) => state : folded, stack : 0
 2 : p3 (xsijmwmfmfxosvmsexjuri) => state : participating, stack : 174 <= SB
==============================================

Coverage remained the same at 97.327% when pulling a29c29a3520d07d7953b04d84f5e842260d37d56 on bugfix-twopair-highcard-judge into cf7976111e3f3da94e54e84d6da2f4ea744472d3 on 0.1.x.


Update ctest.yml

updated for ctest issues on osx

yml files are not triggering matrix build actions.


Space Engineers(244850) Stutter

We have been trying to get Space Engineers to run stably with mixed results. The main issue we have now is that, no matter what you do in the game their are constant but very brief lag spikes, that persist throughout gameplay, even while floating motionless on an empty map. We have been trying to pin the cause down without any luck.
I am not entirely sure if the lag is caused by the gpu/cpu or a combination of both.
Perhaps you can look at the attached trace files and see what the is causing the stutter, and confirm if it has something to do with DXVK or WINED3D, or if this issue is unrelated.
The relevant thread for our other discussion on this is here: https://github.com/ValveSoftware/Proton/issues/1792
Software information
Game: Space Engineers
System information

GPU: Nvidia Asus Strix GTX 960 2GB
Driver: Nvidia proprietary 418.56
Wine version: Proton 4.2-2 (Also tried in wine staging )
DXVK version: 1.0.2

Apitrace file(s)
https://drive.google.com/open?id=1XtQ9-xEv_2fX8myNpk7gNLhxuPvIieAu
Some information that might be relevant. The game starts and empty world(with some asteroids) at about 40 seconds after the main menu. And at about 1:15 i place a few blocks with creative mode which causes more of the heavy stuttering for a short time.
Log files
Not Applicable / No Crash

Looking at your apitrace, this is just the regular stutter caused by shader compilation, as it goes away on the second run. It's normal in all games, just more noticeable in some than others, and cannot be fixed.

I think I may not have been a bit confusing in my initial explanation of the problem, sorry about that.
The issue players are having is not with the lag caused when placing blocks. It is the constant 'microlags' that take place even in a completely empty world.(See image)

When there is a red spike on the graph, the entire game pauses for a fraction of a second. It happens in the game no matter what. In the image above, the map is completely empty, no asteroids, no grids.(Only the Character, sun, and Skybox should exists.)

Looks like this on my end:

Given that the game does barely any rendering, I think it's safe to assume that this isn't a DXVK issue.

So you are not experiencing this stutter at all? It most definitely is not DXVK then.
Thank you very much for helping us narrow this down a little further.

I don't have the game, all I did is replay your apitrace.

OK well thank you again. You have been very helpful.
I will close this as not the issue.


Rendering a template with host="$host" breaks some legends

Bug Description
There are some dashboards, which are using {{ host }} in legend, e.g. charm-telegraf. However in grafana_dashboard lib (here) we are rendering all {{ host }} with $host and this breaks legend in dashboards.
Snipped from telegraf dashboard in grafana-k8s related through cos-proxy.
"targets": [
        {
          "datasource": {
            "uid": "${prometheusds}"
          },
          "expr": "mem_used{juju_application=~\"$juju_application\"}",
          "format": "time_series",
          "interval": "",
          "intervalFactor": 2,
          "legendFormat": "Used - $host",
          "refId": "A",
          "step": 2
        },

To Reproduce
juju deploy telegraf
juju relate nova-compute:juju-info telegraf:juju-info
juju relate telegraf:dashboards cos-proxy:dashboards
juju relate telegraf:prometheus-client cos-proxy:prometheus-target
Environment
cos-proxy is running on LXD with channel edge, revision 34 and series jammy
cos-lite is deployed on Microk8s with channel edge and revision 75
Relevant log output
I think that no logs are needed for this bug, if yes I could provide them.

Additional context
No response

On left side is not changed panel with broken legend with $host and on right side is manually updated legend with {{ host }}.

This issue is related w/ #62.


Avoid jargon

https://www.plainlanguage.gov/guidelines/words/avoid-jargon/

We have a list of words here that we can just check against.

Hi @adelapen, do you think you could share the list? Thank you.

Hi @adelapen, do you think you could share the list? Thank you.

For sure, they live here https://github.com/yichiang/plain-language-checker/blob/main/src/Jargon.txt


Update react-data-grid from7.0.0-beta.13 to 7.0.0-beta.41

7.0.0-beta.41 has couple of more nice features, do you have a plan to update this library to more later version?
Thanks

Hey @hari-bhandari, we would like to upgrade the version, though it does not look that easy - just updating the library completely breaks the table. It's hard to figure out what we need to do to update the table. PRs are welcome for this!


search-unifiedauditlog: Write-ErrorMessage : One or more errors occurred.

Executing the following:
   search-unifiedauditlog -SessionId $session -startdate $lastrun -enddate $today -ObjectIds "https://$($env:Tenant).sharepoint.com/sites/ROIOperationalLeadership/*" -Formatted -ResultSize 1000 -SessionCommand ReturnNextPreviewPage -debug -verbose |Export-Csv -path $file -append
The following is the result:
VERBOSE: Returning precomputed version info: 3.1.0
VERBOSE: POST with -1-byte payload
VERBOSE: Query 1 failed.
Write-ErrorMessage : One or more errors occurred.
At C:\Users\kathy\AppData\Local\Temp\tmpEXO_dpabnssg.vcp\tmpEXO_dpabnssg.vcp.psm1:1120 char:13

        Write-ErrorMessage $ErrorObject

        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : NotSpecified: (:) [Search-UnifiedAuditLog], Exception
FullyQualifiedErrorId : [Server=PH0PR22MB2662,RequestId=2a7f38ab-a80f-88db-4f67-35d06ac39585,TimeStamp=Mon, 22 May 2023 17:31:16 GMT],Write-ErrorMessage

EXO_RESTCmdletLogs-20230522-172824019.csv
This same issue occurred about 1 month ago. That issue: [https://github.com/MicrosoftDocs/office-docs-powershell/issues/10693]
I am the global admin for our tenant.

@kathyblasco, if you're using v3.1.0 you can and should open a support ticket about this.
If you're using a Preview version of the module, your only avenue is sending an email to exocmdletpreview[at]service[dot]microsoft[dot]com.

Hi @chrisda,
I am using v3.1.0. This same issue occurred about 1 month ago. I can open a ticket. Please advise on where I would do that.

@kathyblasco:
https://learn.microsoft.com/microsoft-365/admin/get-help-support

I submitted a ticket with Microsoft. Ticket # is:<PHONE_NUMBER>009859.
I will post any updates I get from them.

I submitted a ticket, as well. Support called me and I referred them to this issue and the question post. They said they would confer with backend engineers and get back to me later today.

OK.
Thanks for the feedback.
Closing.


no confirm_commit in napalm_configure

Hallo!
i'm using napalm_configure with revert_in to merge config.
if the rever_in timer is set, in the IOSDriver.commit_config method there is no device.confirm_commit().
every time system will rollback to the backup config.
        if revert_in_min is None:
there is nothing to do if the revert_in_min is True!

https://github.com/nornir-automation/nornir_napalm/blob/master/nornir_napalm/plugins/tasks/napalm_confirm_commit.py

napalm_confirm_commit task need to be called after commit_config to check pending commits and finally to confirm_commit.
is that correct?
without napalm_confirm_commit, change will never be committed! of course if revert timer is used. without revert everything should be ok.
thx!

Yes, if you are going to use revert_in with napalm_configure, then you need to use napalm_confirm_commit to actually confirm the commit.


fix: Respect name of @Custom* decorated defs

This change makes it easier to refer to @Custom* decorated classes programmatically.

This is a fairly minor change but if you need a CLA signed, let me know. Thanks!

Hi @maybe-sybr. Thank you for the submission, it's a good change. Would you mind fixing the unit tests though: https://travis-ci.org/github/oasis-open/cti-python-stix2/builds/712041095. If you're able to sign a CLA that would be awesome: https://www.oasis-open.org/resources/open-repositories/cla/individual-cla
Thanks again!

Codecov Report

Merging #439 into master will decrease coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #439      +/-   ##
==========================================
- Coverage   98.38%   98.35%   -0.04%
==========================================
  Files         130      131       +1
  Lines       14906    14614     -292
==========================================
- Hits        14666    14374     -292
  Misses        240      240

Impacted Files
Coverage Δ

stix2/custom.py
100.00% <100.00%> (ø)

stix2/test/v20/test_custom.py
100.00% <100.00%> (ø)

stix2/test/v21/test_custom.py
100.00% <100.00%> (ø)

stix2/test/v21/test_deterministic_ids.py
99.21% <0.00%> (-0.01%)
:arrow_down:

stix2/patterns.py
99.34% <0.00%> (-0.01%)
:arrow_down:

stix2/__init__.py
100.00% <0.00%> (ø)

stix2/test/v20/conftest.py
100.00% <0.00%> (ø)

stix2/test/v21/conftest.py
100.00% <0.00%> (ø)

stix2/datastore/__init__.py
100.00% <0.00%> (ø)

stix2/test/v20/test_tool.py
100.00% <0.00%> (ø)

... and 68 more

Continue to review full report at Codecov.

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

@clenk I've sent in a CLA, lmk if there are any issues. In the meantime, I've also fixed up those two unit tests which were failing and CI went green at https://travis-ci.org/github/oasis-open/cti-python-stix2/builds/712398792 .
I did notice that the class names were only explicitly references for CustomExtensions and more as a side-effect of another behavioural test. Is it at all useful to add tests specifically for properties of the derived class objects? Since we're not passing up things like __doc__ as well, we're still not really wrapping the decorated class properly, but that may also not be a thing we particularly care about.

Thanks, @maybe-sybr your CLA's on file. Yes, it would be useful to have tests for these properties specifically. Properly wrapping the decorated class and passing up all of the attributes hasn't been a priority for us but would be an improvement. We'd accept any pull requests to that end, though! :)


Add Official Twitter Account

TBD

Do we have a plebnet.dev email to use for twitter and other social media signups? I think we can get away without mobile # for signups and could share password to email with administrators?

closing this issue and merging it with nostr.  Everyone submitted only nostr npubs no twitter, and this makes sense. No rush needed into social media just yet, we're not ready.