Failed to start bitcoind on mainnet

Hi
After I copied the blocks and chainstate folders from anther machine with bitcoind 0.17.1, the bitcoind on the raspberry pi continues to print the following information. It seems something is wrong and the bitcoind stops. Then, it starts again. This information in debug.log is repeated again and again. Did someone have a clue to fix this issue?

2018-12-21T07:26:38Z Bitcoin Core version v<IP_ADDRESS> (release build)
2018-12-21T07:26:38Z InitParameterInteraction: parameter interaction: -whitelistforcerelay=1 -> setting -whitelistrelay=1
2018-12-21T07:26:38Z Assuming ancestors of block<PHONE_NUMBER>000000002e63058c023a9a1de233554f28c7b21380b6c9003f36a8 have valid signatures.
2018-12-21T07:26:38Z Setting nMinimumChainWork=0000000000000000000000000000000000000000028822fef1c230963535a90d
2018-12-21T07:26:38Z Using the 'standard' SHA256 implementation
2018-12-21T07:26:38Z Default data directory /home/bitcoin/.bitcoin
2018-12-21T07:26:38Z Using data directory /home/bitcoin/.bitcoin
2018-12-21T07:26:38Z Using config file /home/bitcoin/.bitcoin/bitcoin.conf
2018-12-21T07:26:38Z Using at most 40 automatic connections (1024 file descriptors available)
2018-12-21T07:26:38Z Using 16 MiB out of 32/2 requested for signature cache, able to store 524288 elements
2018-12-21T07:26:38Z Using 16 MiB out of 32/2 requested for script execution cache, able to store 524288 elements
2018-12-21T07:26:38Z Using 4 threads for script verification
2018-12-21T07:26:38Z scheduler thread start
2018-12-21T07:26:38Z HTTP: creating work queue of depth 16
2018-12-21T07:26:38Z Config options rpcuser and rpcpassword will soon be deprecated. Locally-run instances may remove rpcuser to use cookie-based auth, or may be replaced with rpcauth. Please see share/rpcauth for rpcauth auth generation.
2018-12-21T07:26:38Z HTTP: starting 4 worker threads
2018-12-21T07:26:38Z Using wallet directory /home/bitcoin/.bitcoin
2018-12-21T07:26:38Z init message: Verifying wallet(s)...
2018-12-21T07:26:38Z Using BerkeleyDB version Berkeley DB 4.8.30: (April  9, 2010)
2018-12-21T07:26:38Z Using wallet wallet.dat
2018-12-21T07:26:38Z BerkeleyEnvironment::Open: LogDir=/home/bitcoin/.bitcoin/database ErrorFile=/home/bitcoin/.bitcoin/db.log
2018-12-21T07:26:38Z Cache configuration:
2018-12-21T07:26:38Z * Using 2.0MiB for block index database
2018-12-21T07:26:38Z * Using 12.2MiB for transaction index database
2018-12-21T07:26:38Z * Using 8.0MiB for chain state database
2018-12-21T07:26:38Z * Using 77.8MiB for in-memory UTXO set (plus up to 47.7MiB of unused mempool space)
2018-12-21T07:26:38Z init message: Loading block index...
2018-12-21T07:26:38Z Opening LevelDB in /home/bitcoin/.bitcoin/blocks/index
2018-12-21T07:26:39Z Opened LevelDB successfully
2018-12-21T07:26:39Z Using obfuscation key for /home/bitcoin/.bitcoin/blocks/index:<PHONE_NUMBER>000000

That's all standard output. What happens next? Did you try to start it manually as described in the troubleshooting section?

I got it. it is.

bitcoind:

chain.cpp:102: const CBlockIndex* CBlockIndex::GetAncestor(int) const: Assertion `pindexWalk->pprev' failed.
Aborted

This is not a "normal" error and points to some underlying problem (hardware or operating system). There is a similar issue in the Bitcoin repo, please have a look at it.
https://github.com/bitcoin/bitcoin/issues/14750
This could be due to file system corruption, are you running Linux kernel 0.4.19? Check what kernel version are you using --> $ uname -a should be
Linux RaspiBolt 4.14.71-v7+ #1145 SMP Fri Sep 21 15:38:35 BST 2018 armv7l GNU/Linux
I'd reformat the external hard disk and copy the blockchain from scratch. You could also try to ask for further assistance in the Bitcoin repo.


Sessions with zoomed panes now start to lose its zoom state when refocused

First time I see this behavior, must be due to the recent changes.
With at least two sessions open, chose one and have multiple panes open on it. Zoom one of the panes (prefix + z) and then switch to another session. Now switch back to the session with the zoomed pane. On switching back the zoom state is lost.

tmuxp load -d ./foo.yaml
tmux 2.6
tmuxp 1.3.5
libtmux 0.7.7

I'm getting a tmux message when switching back: "no previous window".

The session must be created by tmuxp, I'm using this one:
session_name: foo
windows:
- layout: main-vertical
  options:
    main-pane-width: 160
  panes:
  - blank
  - blank
  - blank

I start it from inside a tmux session (tmuxp load -y ./foo.yaml, -y or -d doesn't matter). I've noticed that I do get this message "no previous window", right when I start and enter the session with tmuxp load -y ./foo.yaml.

The message "no previous window" always shows up when switching to tmuxp created sessions.

With at least two sessions open, chose one and have multiple panes open on it. Zoom one of the panes (prefix + z) and then switch to another session. Now switch back to the session with the zoomed pane. On switching back the zoom state is lost.

I can't recreate it. My zoom is preserved.

I start it from inside a tmux session (tmuxp load -y ./foo.yaml, -y or -d doesn't matter). I've noticed that I do get this message "no previous window", right when I start and enter the session with tmuxp load -y ./foo.yaml, prior to applying zoom, etc.

I tried the yaml (on this machine, it's tmux 2.5 and the left pane is massive), and couldn't recreate the zoom glitch.
I believe it's happening to you, I just haven't been able to recreate it yet.

I should try tmux 2.6.

Missing zoom is secondary. it's lost because tmux is always emitting the error message "no previous window" at the bottom, which should reset the layout. There's also the issue regarding slower layout loading. For now I'm just pinned to tmuxp 1.3.2.

Reopening
Is this the issue preventing you from using tmuxp at the latest version?

Just to make sure, you can still load the windows/panes via tmuxp. But the session zoom breaks the zoom state after tmuxp loads it, and it started happening after the hook added when fixing #312?

it's lost because tmux is always emitting the error message "no previous window" at the bottom, which should reset the layout. There's also the issue regarding slower layout loading. For now I'm just pinned to tmuxp 1.3.2.

Got it. So if #364 is fixed, this should be fixed?

Got it. So if #364 is fixed, this should be fixed?

Most probably yes.

#364 is just a reopened duplicate of this one due to the stale bot.

I thought #364 description was pretty clear on that...


Cause only returns the last item in the error chain

When I create a chain of errors (using errors.Wrap) and try to peel off the outer error (using errors.Cause) it will traverse all the way to the last error in the error chain.
For example:
err := errors.Wrap(errors.Wrap(errors.Wrap(errors.New("error1"), "error2"), "error3"), "error4")
fmt.Println(errors.Cause(err))
//output: "error1", expected output: "error3: error2: error1"

To me this looks like unexpected behaviour.

This is working as intended. The name may be a little misleading, but we
cannot change it now. errors.Cause returns the innermost error, the one
that does not implement Cause itself.
On Mon, 13 Feb 2017, 22:52 Boris Mattijssen<EMAIL_ADDRESS>wrote:

When I create a chain of errors (using errors.Wrap) and try to peel off
the outer error (using errors.Cause) it will traverse all the way to the
last error in the error chain.
For example:
err := errors.Wrap(errors.Wrap(errors.Wrap(errors.New("error1"), "error2"), "error3"), "error4")
fmt.Println(errors.Cause(err))
//output: "error1", expected output: "error3: error2: error1"
To me this looks like unexpected behaviour.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pkg/errors/issues/104, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAcAyy0LuSNmXHKnpylA4L14Kq0xyESks5rcEPigaJpZM4L_G_e
.

Ok. Are there any helper functions that allow me to "peel off" the outer error?

type causer interface {
Cause() error
}
if err2, ok := err.(causer); ok {
err = err2
}
On Mon, 13 Feb 2017, 22:57 Boris Mattijssen<EMAIL_ADDRESS>wrote:

Ok. Are there any helper functions that allow me to "peel off" the outer
error?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pkg/errors/issues/104#issuecomment-279367345, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAAcAzbs4lx_Z7vPlt8twxXePB0VYTgUks5rcEUhgaJpZM4L_G_e
.

Fair enough, thanks 👍


Need to explain how to change the default visualization option for circuits

It has been requested many times in the tutorials that we show how to change the default visualization method for circuits somewhere.  The main docs seem like an appropriate place to do so.

I'll assign this to myself, I've been meaning to write documentation for the user config file and how to use it for like 18 months after I first added it. I can just go head and do that now.


Smallest issue ever, ONE button giving me grief with PCSX2

[x ] I have searched open and closed issues for duplicates
[ x] I am submitting a bug report for existing functionality that does not work as intended
[x ] I have read the project documentation and not found a solution to my problem there
[x ] This isn't a feature request or a discussion topic

Bug description
Up button on the directional pad is not functioning properly when used for menu selection in the game Bujingai - The Forsaken City emulated on PCSX2 nightly
Steps to reproduce
Pressing up on the directional pad at a menu screen (the title screen, option screen, tutorial screen, etc)
Actual result:
Instead of moving up one menu item selection, menu selection will scroll DOWN as if the down button on the directional pad is being held.  Pressing the up button again does nothing, and while no other button press has any effect, actually pressing the down button one time stops the repeated scrolling.
Expected result:
The correct behavior would be the moving of the menu cursor or selected menu item moving up one item.
Screenshots

Machine info

I don't have my exact specs atm
**Latest Windows
**Sony Vaio 2023 intel core i5
Any other helpful information
Also using the SDF setting with dshimini.  Not a game breaker, and the menus in this game in particular go back to the top selection after passing the bottom most selection.  I haven't tested it on any other games with PSCX2, I've just started using it.  Could it be an anti-piracy measure from the game software?

Not a DsHidMini topic.

erp.  I thought it was since I'm using dshidmini to use my DS3 with PCXS2.  Anyway to confirm, from the PCXS2 dashboard the d-pad works correctly, but it does not work correctly in-game with Bujingai.


Calculate Canvas size on initialisation

When initialising ol3-cesium in 2D mode, the size of the canvas used is not correct. This will result in the wrong distance being calculated for the cesium camera.
The distance is calculated in the readView function of the olcs.camera which is using the canvas dimensions.

@gberaudo Updated as requested.

Thank you @gjn for this patch.


First day of the Month Issue

Hey there!
Just happened to notice on one of my projects that, the start of the week is not matching as expected, I thought it probably was a configuration issue on my site, however, I noticed the same problem in the official documentation example.
For example, June, 1st 2024 should be a Saturday while the Calendar is displaying that day as a Sunday.
Let me know if it could just be something related to my time, or if it might be an issue with the utils or even better just an issue on my end.
Thank you for taking a look!
Reference Screenshots below

Oh that's weird. Seems related to #18
Did you change anything in the above screenshot to show Tuesday as first day of the week? Seems like an off by one error somehow.
May I ask what timezone you are in?

No, I did not change anything in the screenshots. It seems to be fine just now, but I have already seen it happen twice during the past two evenings, which is definitely making me think that it could be a timezone issue.
I am located in Central Daylight Time GMT-5

Thanks for the info. Yeah must be related to timezone. Can you give some info on browser (+ version) and OS please?

I noticed there were some places I wasn't using getUTC*/setUTC* methods on Date. I have fixed those up now, and released as 0.6.1. I'm hoping that fixes things for you. Can you check (around the same time you observed the bug?) and report back please. You might want to clear you browser cache to be sure you're getting the latest version from the docs

Hey, thanks a lot for checking on that, I will keep an eye on it today, and if I see something weird I will let you know.

Appreciate it! I'll reopen this issue for now pending your feedback

I looked it up over the past two days and I did not see the bug, so it looks like that was the issue,thanks a lot for looking into it so quickly, take care!

Great! Glad to hear. Hopefully that's the last of the bugs related to this. It really is an uphill battle to prevent JS printing dates in user's timezone


Move example dataset from docs into template

This should solve the problem of the template not being shipped with snakebids
Unfortunately, there's no easy way to test this this works. If you install the app using a project manager as editable, the old symlink wouldn't cause a problem. But when packaging into a wheel, the symlink isn't followed, so the files aren't included. My nightly idea for installing from pypi would've picked up on this, but that ends up being quite tricky to implement so I don't think it's worth it. Hopefully this doesn't come up again!

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (d7a2a7b) 88.71% compared to head (1c3c376) 55.07%.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #358       +/-   ##
===========================================
- Coverage   88.71%   55.07%   -33.65%
===========================================
  Files          30       30
  Lines        1489     1478       -11
===========================================
- Hits         1321      814      -507
- Misses        168      664      +496

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


really confusing / noisy haddocks for typeclass + data family heavy code

when i generate the haddocks for
https://github.com/wellposed/numerical-core/blob/master/src/Numerical/Array/Layout/Base.lhs
It may very well be that the way its rendering is sensible,
but one concern I have is that the comments are shifted FAR to the right
for a given data family instance, and thats a bit unsatisfactory
(edit: i've now made a copy of the actual haddocks online) http://www.wellposed.com/examples-cached/Numerical-Array-Layout-Base.html should link to the relevant html
using ghc 7.8.2 haddock, heres some screen caps

Is there any movement on this? It's particularly noticeable in the servant-server docs: http://hackage.haskell.org/package/servant-server-0.10/docs/Servant-Server.html.
I think it would be good to wrap constraints in some inline-block spans and allow wrapping in the td, thereby breaking very long lines on the commas and =>.

No movement.

Bump: this issue is probably still biting code I write

One direction might be to render type fam vs type clsss vs data fam instances in distinct groups?
There’s also the funny issue that if I define a single new Data fam constructor and export it, the docs in that module show alll visible constructors/ instances. So another collapsible axis is perhaps locally defined vs everything else that reaches that module?

@harpocrates any thoughts on this one?  It was a bad enough leakage in some of my code that I redid how I wrote an api or two to avoid the extra noise in the docs! (Like an entire copy of vector instances being listed for everything local plus the ones coming from vector ...)

I agree this is gross. The main blocker here is just figuring out a nice alternate design. (I've contemplated this issue a fair bit and I will get around to it eventually - but don't hold your breath. 😄)
Note that the latest version of Haddock at least hides the actual data definitions (as in https://hackage.haskell.org/package/vector-<IP_ADDRESS>/docs/Data-Vector-Unboxed.html#t:Vector).
Personally, I'd like to redo what gets shown once you expand a particular data instance. In particular, it would be nice to have the expanded output for any one data instance look as much as possible like what you would get for a plain old data definition. That way, we could properly handle things like documentation, fixity, source links, etc.

I’d go further and argue that you need the nested or flat version of the
following
Data fam def
Instances drop down
Instance of Data fam locally defined drop down
Instances of dsta Fam inherited from elsewheee drop down
Similar for type fams and and type classes. Or something like that.
Could be 3 level nested. Or just all 4-6 singly nested in the alll exist
cases, each a different plus minus show hide toggle.
On Mon, Feb 12, 2018 at 3:11 PM Alec Theriault<EMAIL_ADDRESS>wrote:

I agree this is gross. The main blocker here is just figuring out a nice
alternate design. (I've contemplated this issue a fair bit and I will get
around to it eventually - but don't hold your breath. 😄)
Note that the latest version of Haddock at least hides the actual data
definitions (as in
https://hackage.haskell.org/package/vector-<IP_ADDRESS>/docs/Data-Vector-Unboxed.html#t:Vector
).
Personally, I'd like to redo what gets shown once you expand a particular data
instance. In particular, it would be nice to have the expanded output for
any one data instance look as much as possible like what you would get
for a plain old data definition. That way, we could properly handle
things like documentation, fixity, source links, etc.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/haskell/haddock/issues/300#issuecomment-365046977,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAQwoGYBHTTt5xhTxwj00g4QXa-fzVyks5tUJrpgaJpZM4B5rCu
.

Either way, sounds like we agree.
It might be as simple as doing a demand driven generate  multiple things
using the current instance template
On Mon, Feb 12, 2018 at 3:16 PM Carter Schonwald<EMAIL_ADDRESS>wrote:

I’d go further and argue that you need the nested or flat version of the
following
Data fam def
Instances drop down
Instance of Data fam locally defined drop down
Instances of dsta Fam inherited from elsewheee drop down
Similar for type fams and and type classes. Or something like that.
Could be 3 level nested. Or just all 4-6 singly nested in the alll exist
cases, each a different plus minus show hide toggle.
On Mon, Feb 12, 2018 at 3:11 PM Alec Theriault<EMAIL_ADDRESS>wrote:

I agree this is gross. The main blocker here is just figuring out a nice
alternate design. (I've contemplated this issue a fair bit and I will get
around to it eventually - but don't hold your breath. 😄)
Note that the latest version of Haddock at least hides the actual data
definitions (as in
https://hackage.haskell.org/package/vector-<IP_ADDRESS>/docs/Data-Vector-Unboxed.html#t:Vector
).
Personally, I'd like to redo what gets shown once you expand a particular data
instance. In particular, it would be nice to have the expanded output
for any one data instance look as much as possible like what you would
get for a plain old data definition. That way, we could properly handle
things like documentation, fixity, source links, etc.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/haskell/haddock/issues/300#issuecomment-365046977,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAQwoGYBHTTt5xhTxwj00g4QXa-fzVyks5tUJrpgaJpZM4B5rCu
.

@cartazio I've started to look into data families again. I have something preliminary implemented, but I'd really like your input, since you seem to care particularly about this feature.
Do you have some sufficiently complex data family code on hand? Once I have something I'm happy with, I'll open a PR with some screenshots and everyone can discuss what direction they want the design to go in.

On the data-family front, here's a WIP. I've reused the regular constructor format, and made sure docs and fixities make their way to the right places.
Source:
{-# LANGUAGE TypeFamilies, GADTs, FlexibleInstances #-}
module DataFamily where

-- | some data family
data family Foo a
infixl 3 `Foo`

-- | some type family
type family Fam a :: *

-- | one type instance
type instance Fam (Foo Int) = Int

-- | another type instance
type instance Fam (Foo [a]) = a

-- | A newtype instance
newtype instance Foo [a] = Foo_List [a]

-- | A plain ADT instance
data instance Foo Int
  = Foo_Int Int -- ^ Int
  | Foo_Zero    -- ^ Zero
infixr 5 `Foo_Int`

-- | A GADT like instance
data instance Foo (a, b) where
  Foo_Eq :: a         -- ^ lhs
         -> a         -- ^ rhs
         -> Foo (a,a) -- ^ output
  Foo_MaybeEq :: a -> b -> Foo (a,b)
infixl 2 `Foo_Eq`

instance Eq (Foo Int) where
  Foo_Zero == Foo_Zero = True
  Foo_Zero == Foo_Int n = 0 == n
  Foo_Int n == Foo_Zero = n == 0
  Foo_Int n == Foo_Int m = n == m

Unexpanded:

Expanded:

This looks like a clear improvement,
the reference code / offending docs can be found http://www.wellposed.com.s3.amazonaws.com/numerical-0.1-prerelease-docs/Numerical-Array-Layout-Base.html#t:Format
one issue i have with the current way the instances stuff interacts with data families is we blob together

type class instances when the type appears as an arg
type/data family instances where the appears as an arg
instances of the data family itself!

It seems like we should (possibly split them up more)
the above haddocks were generated a while ago from my repo https://github.com/wellposed/numerical/


certbot-dns-cloudns update 0.6.0

certbot-dns-cloudns update 0.6.0

I was working in this space today so I made this change for you,


Write the Docs: add values for required template variables

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
For 1.7 Features: set Milestone to 1.7 and Base Branch to release-1.7
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
NOTE: Please check the “Allow edits from maintainers” box below to allow
reviewers fix problems on your patch and speed up the review process.
Please delete this note before submitting the pull request.

This change is

@chenopis, Can we close this due to lack of activity?

Yeah. @eirinikos You can reopen this or create a new PR later, if you want.


Allows payment options

This PR gives access to a screen which presents four payments settings

Overriding default invoice description
This payment settings is used in invoices. It allows to override the default description.

Overriding default invoice expiry
This payment settings is used in invoices. It allows to override the default expiry in seconds.

Overriding default fees for outgoing payments
This payment settings is used in payments. The trampoline max base and proportional fees is overriden.

On-the-fly channels
This payment settings cannot be overriden, I just provide a dialog view with a link to the FAQ.

I added a slider to facilitate the payment expiry.

I reworked this PR. The payment options dialogs have been fixed and improved (especially the trampoline max fee dialog).
I've also added several components:

a Checkbox one which contains a clickable label)
a NumberInput component that also does some basic validation and return a Double
the AmountInput component which could completely change its look if the useBasicInput parameter was set has been separated into 2 components. AmountInput is the regular one, it looks like the other inputs and uses the material style. The AmountHeroInput is a component designed to be in the center of a screen (e.g. the screen to send payments). Both can do some validation and use the same method to do so.


Don't Merge! PR real time test for webhook case

Docs Build status updates of commit c2efc22:
:clock10: Full build: the average full build time is 6 min(s) 6 sec(s), this is based on the last 459 build(s) for this repository.

Docs Build status updates of commit c2efc22:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

docs-ref-conceptual/testing.md
:white_check_mark:Succeeded
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Upgrade to node v4 to avoid using --harmony

We shouldn't have to use --harmony on our applications to use Colyseus.
#4 should take care of this from a support standpoint, but Colyseus's own npm scripts and documentation still use --harmony. I don't want to send a PR removing those yet as that's a pretty opinionated thing, but I think it'd be good to move forward.
Is there anything preventing colyseus from requiring node v4+?

It seems you already figured out! Thanks for your pull requests! :)


Change ErrNoKeyFound message

For #438. I was just going to change it to "wrong password" but then I saw that it might actually be the case that no key could be found, so I changed it to what I did. Let me know if you'd like something different!

Thanks for your contribution! And especially thank you for writing caddy, I love it and use it regularly!

Glad you like it!
I'm really excited about restic in that it, in some ways, solves the same security/usability problems for backup like Caddy does for web. I know this PR was just a petty change, but I'll keep using restic as it matures and hope to be back for more. :wink:
And separating the error types sounds like a good idea.

Oh, awesome! I'm looking forward to receiving more bug reports and PRs from you ;)
Many such small PRs and improvements can add up to quite a lot...


[Impeller] Embedded shader sources don't show up in the Metal frame debugger.

This used to work. Thats how I wrote the Wiki entry for debugging shaders https://github.com/flutter/engine/blob/main/impeller/docs/read_frame_captures.md#debugging-a-shader

cc @iskakaushik

This seems to be working as of revision: 2612e88bfe659105d4a3692b97c83c49a50de60b
I ran with --gtest_filter=*CanRenderRoundedRectWithNonUniformRadi* and captured the frame as documented in the impeller wiki, which is awesome, btw.

@chinmaygarde  feel free to re-open if this is still failing for you.

This always works on MacOS. It was an iOS device (where we can gather shader instrumentation) where it doesn't show up.

@chinmaygarde I'm able to see it on iOS as well:

This was running a simple flutter application on xcode: 13.4.

Good to know. Thanks for verifying. Dang. It may be my local setup in that case. Can you also dump the version of your device as well as the mac host version? I'll do some debugging on my end too.

Ok, so this works with
  elif args.platform == 'ios':
    command += [
        '--std=ios-metal2.1',
        '-mios-version-min=15.0',
    ]

to build_metal_library.py, will attempt to isolate the cause an go from there.


storage endpoint should be storages instead of storage

In redfish.py I see
  storage_root_uri_pattern = "/redfish/v1/Systems/{}/Storage"

however on a node such as huawei, I see
$ curl -s -k -X GET "https://$IP/redfish/v1/Systems/1" -u $USER:$PASSWORD | jq . | grep -i stor
  "Storage": {
<EMAIL_ADDRESS>"/redfish/v1/Systems/1/Storages"
...

Storages vs Storage

Huawei doesn't follow standard spec. But we will try to support it.


Cleanup unused code in network

[BUG]/[FEATURE] title
What changes were proposed in this pull request?
Why are the changes needed?

What are the items that need reviewer attention?
Related issues.
Related pull requests.
How was this patch tested?
Closes #205
/cc @related-reviewer
/assign @main-reviewer

Correctness is verified.
LGTM.

resolve #206


Improve breadcrumbs and version verbiage

See commit messages for details.

Breadcrumbs before/after on main docs site:

on Augur's docs:

(ignore the "View page source" vs. "Edit on GitHub" difference, which is not real.)

Version verbiage before/after for version X:

for version "latest":

for version "stable":


Include LICENSE in package.

Use the keyword argument data_files in the setup function in setup.py to
include the LICENSE file in the resulting package.
This is very helpful for including the LICENSE file in a conda package.

@kloczek this has been fixed in 0.3.0 (where I switched to using poetry for building dists)

Hmm .. I don't see 0.3.0 on https://github.com/alex-rudakov/sphinx-argparse/tags

@kloczek  Yeah, we had to move repos as Alex has disappeared without a trace.
See #141


can't load my custom model

I am using TexMexMax's code to make detector app .. first, my dataset is only 1400 image and just one class.. I'm trained my model on yolo v5m "although the accuracy is not good enough :( " .. however, I tried to make like TexMexMax's code and tried to alter image_conversions.dart in tflite_flutter_helper 0.3.1 plugin but I get errors about this plugin ..
can you help me please ? I have no much time :(
I hope you can reply as soon as possible ..

That is what I get when I run my app :
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/tflite_flutter_helper-0.3.1/lib/src/image/image_conversions.dart:19:17:
Error: Member not found: 'TensorImage.checkImageTensorShape'.
TensorImage.checkImageTensorShape(shape);
^^^^^^^^^^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/tflite_flutter_helper-0.3.1/lib/src/image/image_conversions.dart:88:29:
Error: Can't use the default List constructor.
Try using List.filled instead.
List rgbValues = List(h * w * 3);
^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/tflite_flutter_helper-0.3.1/lib/src/image/color_space_type.dart:164:12:
Error: The getter 'ImageConversions' isn't defined for the class '_RGB'.

'_RGB' is from 'package:tflite_flutter_helper/src/image/color_space_type.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/tflite_flutter_helper-0.3.1/lib/src/image/color_space_type.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'ImageConversions'.
return ImageConversions.convertRgbTensorBufferToImage(buffer);
^^^^^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/tflite_flutter_helper-0.3.1/lib/src/image/color_space_type.dart:204:12:
Error: The getter 'ImageConversions' isn't defined for the class '_GRAYSCALE'.
'_GRAYSCALE' is from 'package:tflite_flutter_helper/src/image/color_space_type.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/tflite_flutter_helper-0.3.1/lib/src/image/color_space_type.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'ImageConversions'.
return ImageConversions.convertGrayscaleTensorBufferToImage(buffer);
^^^^^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/tflite_flutter_helper-0.3.1/lib/src/image/image_container.dart:45:5: Error: The getter 'ImageConversions' isn't defined for the class 'ImageContainer'.
'ImageContainer' is from 'package:tflite_flutter_helper/src/image/image_container.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/tflite_flutter_helper-0.3.1/lib/src/image/image_container.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'ImageConversions'.
ImageConversions.convertImageToTensorBuffer(image, buffer);
^^^^^^^^^^^^^^^^

FAILURE: Build failed with an exception.

Where:
Script 'C:\src\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1102

What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command 'C:\src\flutter\bin\flutter.bat'' finished with non-zero exit value 1

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 43s
Running Gradle task 'assembleDebug'...                             44.3s
Exception: Gradle task assembleDebug failed with exit code 1

I used TexMexMax's code to alter my tflite_flutter_helper as well.  I originally got an error.  My issue was the changes I made in the image_conversions.dart file created errors in the example folder in the tflite_flutter_helper package.  Just deleting the example folder in the  tflite_flutter_helper package did the trick for me.  So my recommendation would be to open the tflite_flutter_helper package and make sure that your alterations inside of the  image_conversions.dart didn't cause errors anywhere else.

Thank you for replying, I deleted example folder, but nothing is happen, I get the error above and I don't know where it cause errors anywhere else ..
the errors seems that there is undefined function

Is your model uint8 or float32?

I think unit8, How can I know for sure?

Open your model in this site:
https://netron.app/

oops 😥, so your app is nor working well ? or yeah ! , if yes can you give your repo link ? of course if there is no problem :)

my model is float32, I'm sorry for the error.

inside of classifier.dart and inside of your predict function.  Find where you define your inputImage.
and put:
print(inputImage.tfLiteType);
My guess is that it will be uint8.  So change your inputImage to:
TensorImage inputImage = TensorImage(TfLiteType.float32);

Hi again, apologies for the lag, been a busy days .. so I'm testing the model that TexMexMax is attached in his repo (yolov4-416-fp32.tflite) it's float 32 and it's already written TensorImage inputImage = TensorImage(TfLiteType.float32); in the code ..
also I copied all files in the https://github.com/TexMexMax/tflite_flutter_helper/tree/master/lib ... it worked but unfortunately didn't return any bounding boxes :( ..

No apologies necessary.  I had just been using my model on individual images and then processing the results for my purposes.  But I can say that I have gotten the bounding boxes to work on video, but with 2 issues.  1) It isn't working with the recognitionsNMS so I am getting lots of overlapping boxes just using the recognitions list, and 2) it isn't working when loading the model from file as apposed to asset.  (I had a memory leak when loading from asset).  I may look into trying to solve these issues, but let me know if you figure anything out.

I tried a lot but nothing work :( .. I want to get the bounding boxes whether they are overlapping or not, I also want to specify the location of the object, and this is the main objective ..
but how do you load your model ?
and of course I will let you know if I figure anything out, and you too

Hi. I tried a lot of solution but nothing work, no bounding boxes appear , what may the problem be ?

Is your model giving you good results?  My results are subpar.


DO NOT REVIEW OR MERGE: first commit

I'm having major issues with git again so pushing so that everything is saved.

Related: waiting for snapshot: https://github.com/DACH-NY/canton/pull/11518

Blocked by this PR: https://github.com/DACH-NY/canton/pull/11621

Blocked by this PR: DACH-NY/canton#11621

Since we update Canton deliberately on this side, there is generally no need to block Canton PRs on docs PRs: we can merge the Canton side first, then update this side when convenient. In fact, due to the 24h delay it is generally better to merge the Canton side first.
Also, this PR is still marked "DO NOT REVIEW OR MERGE"; please update the title when merging becomes an option.

Blocked by this PR: DACH-NY/canton#11621

Since we update Canton deliberately on this side, there is generally no need to block Canton PRs on docs PRs: we can merge the Canton side first, then update this side when convenient. In fact, due to the 24h delay it is generally better to merge the Canton side first.
Also, this PR is still marked "DO NOT REVIEW OR MERGE"; please update the title when merging becomes an option.

I'm blocked on a change in Canton that needs to go in and we can't do it here.

Blocked by this PR: DACH-NY/canton#11621

Since we update Canton deliberately on this side, there is generally no need to block Canton PRs on docs PRs: we can merge the Canton side first, then update this side when convenient. In fact, due to the 24h delay it is generally better to merge the Canton side first.
Also, this PR is still marked "DO NOT REVIEW OR MERGE"; please update the title when merging becomes an option.

I'm blocked on a change in Canton that needs to go in and we can't do it here.

I won't be ready to review or merge for a good while. I'm close to getting the bare content in but it will need checking for correctness and a careful review from tech writers. I'm blocked on pages coming in from Canton - see Issue - and an outstanding content change.

Ah, sorry, I misread that. I thought you meant the Canton PR was blocked on this one.


Breaking behavior 1.0.0 -> 1.3.0 (COLLECTSTATIC_STRATEGY)

Not sure if bug or intentional, but collectstatic command will break if you don't define COLLECTSTATIC_STRATEGY or STATICFILES_STORAGE in your settings file (even if COLLECTFAST_ENABLED = False).

If I understand you report correctly, the error is that collecfast tries to guess a strategy even though COLLECTFAST_ENABLED is set to False. That makes sense, there should be a check for that in the command.
This should also be better tested.

Published 1.3.1 with a fix for this issue. Thanks for the report!


There aren't any git commands

VSCode Version: 1.37.1
OS Version: Win x64 10.0.17134

Steps to Reproduce:

Install git for windows
Install vscode
within the terminal window, type: where git
which (in my case returns): c:\Program Files\Git\cmd\git.exe
click F1, type git.
Result: No commands matching

I've also tried creating the following workspace:
{
	"folders": [
		{
			"path": "."
		}
    ],
    "settings": {
        "git.enabled": true,
        "git.path": "C:/Program Files/Git/cmd/git.exe"
    }
}

Still nothing. It is as if vsCode never installed the git extension during the installation process.

Nope this is different issue, I've read through all of these.
On a different machine, with the following specs:
vscode version: 1.37.1
OS: windows x64 6.3.9600
I can see the GIT options if I look under Settings > Extensions and if I click F1  and type git I see lots of commands. Exactly what I expect to see.
But on my development machine I don't see the GIT extension or the commands. It appears that the extension is physically missing or not being loaded for some reason.
I've uninstalled and reinstalled a few times and rebooted my machine but nothing has worked so far.

I've also noticed that my shell selector only reports cmd. It is missing PowerShell, git and bash. Perhaps these issues are related.

I've also noticed that my shell selector only reports cmd. It is missing PowerShell, git and bash. Perhaps these issues are related.

There are some hardcoded paths which detect these paths.

which (in my case returns): c:\Program Files\Git\cmd\git.exe

Is the cmd path on your Path env var?


Avoided losing brackets in character constants

This fix helps not to lose brackets in constants like:
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
     A                                  9  2'Constant(something)'

@vgkilin Any chance you can write a test for this? :D


HMS-800W-2T AC Daily power missing

Hy
There is no info of daily energy AC. There is no info total Enrgy AC as well. Is possible to fix it. Daily energy AC is most important.
Below output from inverter. dtu_daily_energy  is not AC but DC. Is possible correct this ?
mirek@mir:~$ hoymiles-wifi --host <IP_ADDRESS> get-real-data-new
Get-real-data-new Response:
device_serial_number: "414393320732"
timestamp:<PHONE_NUMBER>
active_power: 1
firmware_version: 1
sgs_data {
serial_number:<PHONE_NUMBER>6242
firmware_version: 1
voltage: 2334
frequency: 5002
active_power: 342
current: 14
power_factor: 1000
temperature: 113
warning_number: 7
crc_checksum: 39753
link_status: 1
modulation_index_signal: 12517507
}
pv_data {
serial_number:<PHONE_NUMBER>6242
port_number: 1
voltage: 338
current: 106
power: 361
energy_total: 16107
energy_daily: 272
error_code: 50921472
}
pv_data {
serial_number:<PHONE_NUMBER>6242
port_number: 2
voltage: 6
error_code: 50331648
}
dtu_power: 342
dtu_daily_energy: 272

AC Daily energy should be found in the DTU device, not the inverter.
There is no total AC energy provided, unfortunately. You'll have to calculate that yourself via a helper.

This code talks to DTU integrated in HMS-800W-2t inverter.  There is data dtu_daily_energy field (last line) but data in this field is not AC energy but sum of energy from PV panels (DC energy).

I'm not entirely sure if I got it right, I'll try to give an answer anyways.
From my experience,  thedtu_daily_energy is AC, since it sometimes differs from the sum of the energy_daily, especially if two modules are connected. It is usually slighty lower than the energy_daily field due to e.g. conversion loss.

Issue can be close. I'm not sure AC or DC daily energy production corresponds  to received  data.  I try to check it when daily production will be bigger then during winter time. 7 gru 2024 03:43 "github-actions[bot]" @.***> napisał(a):
This issue is stale because it has been open for 30 days with no activity.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>


Include Openshift as a supported platform in Litmus

Is this a BUG REPORT or FEATURE REQUEST?
FEATURE REQUEST

What happened:

Currently, AWS, GCP (both via kops), GKE, Packet (kubeadm), Azure (AKS) are the platforms supported where litmus jobs can be run.

Openshift is a popular K8s platform which has to be included to the above list.

This involves:

Ansible playbooks to setup OpenShift cluster from Litmus
Test Litmus jobs on openshift & update jobs to enable successful run

What you expected to happen:

Enable litmus jobs to run on OpenShift clusters

How to fix it:

Openshift cluster creators can be created using a OpenShift-Ansible project. There are standard roles available for the same. Refer for ex: https://galaxy.ansible.com/openshift/openshift-ansible, https://galaxy.ansible.com/newswangerd/openshift-ansible

Once cluster is up, run the litmus pre-requisites & any existing test job.  Report/fix any failures on the litmus side (esp wrt default security policies, kubeconfig configmap, commands used etc.,)

Thanks @debojitkakoti ! Go ahead - looking forward to your PR! Marking the issue as 'taken'

Removing the issue-taken label as there have been no PRs on this.

This is now available https://github.com/openebs/litmus/blob/master/k8s/on-prem/openshift-installer/create_openshift_cluster.yml


hvplot.pandas import error

I am unable to import the hvplot.pandas
it throws the import error
No module named 'channels.http'

ModuleNotFoundError                       Traceback (most recent call last)
/tmp/ipykernel_223/3713586876.py in
----> 1 import hvplot.pandas
~/.local/lib/python3.8/site-packages/hvplot/init.py in
62
63 import param
---> 64 import panel as _pn
65 import holoviews as _hv
66
~/.local/lib/python3.8/site-packages/panel/init.py in
----> 1 from . import layout # noqa
2 from . import links # noqa
3 from . import pane # noqa
4 from . import param # noqa
5 from . import pipeline # noqa
~/.local/lib/python3.8/site-packages/panel/layout/init.py in
----> 1 from .accordion import Accordion # noqa
2 from .base import Column, ListLike, ListPanel, Panel, Row, WidgetBox # noqa
3 from .card import Card # noqa
4 from .flex import FlexBox # noqa
5 from .grid import GridBox, GridSpec # noqa
~/.local/lib/python3.8/site-packages/panel/layout/accordion.py in
3 from bokeh.models import Column as BkColumn, CustomJS
4
----> 5 from .base import NamedListPanel
6 from .card import Card
7
~/.local/lib/python3.8/site-packages/panel/layout/base.py in
9 from bokeh.models import Column as BkColumn, Row as BkRow
10
---> 11 from ..io.model import hold
12 from ..io.state import state
13 from ..reactive import Reactive
~/.local/lib/python3.8/site-packages/panel/io/init.py in
26
27 if 'django' in sys.modules:
---> 28     from . import django # noqa
~/.local/lib/python3.8/site-packages/panel/io/django.py in
1 from urllib.parse import urlparse
2
----> 3 from bokeh.server.django.consumers import DocConsumer, AutoloadJsConsumer
4
5 from .resources import Resources
~/.local/lib/python3.8/site-packages/bokeh/server/django/init.py in
3
4 # Bokeh imports
----> 5 from .apps import DjangoBokehConfig
6 from .routing import autoload, directory, document
7 from .static import static_extensions
~/.local/lib/python3.8/site-packages/bokeh/server/django/apps.py in
27
28 # Bokeh imports
---> 29 from .routing import Routing, RoutingConfiguration
30
31 #-----------------------------------------------------------------------------
~/.local/lib/python3.8/site-packages/bokeh/server/django/routing.py in
24
25 # External imports
---> 26 from channels.http import AsgiHandler
27 from django.conf.urls import url
28 from django.urls.resolvers import URLPattern
ModuleNotFoundError: No module named 'channels.http'

It appears that the channels.http has become channels.handler.   I am using python 3.8 on unix patform.

I think you are running an old version of Panel. Can you try to upgrade it to 0.14.3?

Thank you.   It has got fixed by updating the bokeh.

But doesn't this mean there are minimum pins to update somewhere? Seems like the issue arose because of Django right?

Yes
On Fri, 10 Feb 2023 at 2:50 PM, Maxime Liquet @.***>
wrote:

But doesn't this mean there are minimum pins to update somewhere? Seems
like the issue arose because of Django right?
—
Reply to this email directly, view it on GitHub
https://github.com/holoviz/hvplot/issues/1021#issuecomment-1425477214,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZ5IEZHVZ3HURFNZHLSV6IDWWYB5NANCNFSM6AAAAAAUWDE3CQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Sent from Gmail Mobile


Create tooling to compare final .zip / .tar.gz from VMR and Installer

[x] Compare which files are present and which are not
[x] Compare assembly versions of dll's in the sdk archive
[x] Track expected differences

MVP is in https://github.com/dotnet/installer/pull/18748

Closed via https://github.com/dotnet/installer/pull/19090


Dockerization

Describe the task
As the project is growing, the installation guide is becoming quite heavy and big. The pre-requisites installation is also quite tiresome task. We need a one-command setup that can help faster installation process.
Expected behavior
Dockerize the application.

Use of docker-compose for setup
Commands for production set up as well

Resources
https://github.com/serversideup/docker-php

Closing as completed.


add additional useful infomation on bookinfo example docs

Signed-off-by: Shikugawa<EMAIL_ADDRESS>

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

Needs approval from an approver in each of these files:

OWNERS

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

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: incfly, Shikugawa
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [incfly]

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


Missing constructor in Sergen-generated code

After generating UI code for a new table, then running the application and opening the table by clicking the table in the application UI, I get a popup reading, in part
Message: Uncaught TypeError: CRM2.Default.KeywordStringsGrid is not a constructor.
(see attached)

CRM2 is the program, KeywordStrings is the table.
I get this error because I upgraded Microsoft.TypeScript.MSBuild from 3.1.1 (as distributed with Serene) to v3.6.0.
By working through the available versions, I've demonstrated that the problem shows up at the transition from 3.1.5 to 3.2.1.  Either there is a bug in Microsoft.TypeScript.MSBuild at that point or Sergen becomes incompatible at that point.
I am currently running with Microsoft.TypeScript.MSBuild v3.1.5 and all is well.
This problem occurs only when creating a new table.  It does not appear when updating an existing table.
I am using VS2019 on Win 8.1.  My Serene package is 3.9.9 (2019-05-24).  As delivered, I have no problem.  The problem only arises when I Nuget updates.
I am happy to provide any additional information that you need or want.  Just let me know.
Thank you for providing this most excellent product!

I think you should add [LookupScript] in KeywordStringRow and than clean your project ,than build it. and click on transform t4 template
Hope this will help you
subscribe my channel
https://www.youtube.com/channel/UC6drRBHd5J7pcGYGPBK0M7Q/

I am getting same issue ,
I am using vscode and generated code using sergen.

Such issues are usually due to failing to /// reference to the base class in your subclass, e.g. not referencing GridEditorBase in your class that derives from GridEditorBase , as TypeScript can't reorder generated code properly, unfortunately.


[BUG] unit tests fails if the active profile is not default

Describe the bug
when the local profile is set to test as the active one, unittests of test_utils.py fail when running all tests in one pytest session. If the tests are run individually, the tests will pass. This can be misleading for developers and time-consuming. Besides, it seems that something is changing globally during tests, which is incorrect.
To Reproduce
Steps to reproduce the behavior:

activate the test profile
run pytest

Additional context
The problem is still not 100% clear to me, however, a couple of clues:

Deleting test_profile.py resolves the issue.
The problem starts to happen after merging this PR: #342
This line from medperf.commands.profile import app in test_profile.py seems to be the issue. When commenting all the code in this file and keeping this import statement, the problem persists.

Possible explanation: After merging the mentioned PR, the decorator configurable was edited to modify config. When importing app in test_profile.py, the decorator seems to be executed. However, it is still not clear why test_utils.py is failing.
Solution tried but it didn't work: adding this fixture in conftest.py
@pytest.fixture(autouse=True)
def disable_set_custom_config(mocker):
    mocker.patch("medperf.utils.set_custom_config")

Note
Good to keep this in mind if we encountered any weird unit-tests failures.

At least for me it works well since that PR, so confirm it is fixed:)


Able to set Docker network and custom hosts during build

Feature request
Simply able to set custom docker network (--network) and add hosts (--add-host) to the nixpacks command, so the build process will have access to the internal resources - and in case of a user defined network - and dns.
Motivation
For example, if you build a NodeJS based project with Prisma(prisma.io), the build process is not able to access the database to generate types for the final image.
Contribution
I can help with more details, or even submit a PR.

Railway does want to make the builder a part of the private network, when that happens there would be no need for any of these configurations!!

Would defs take a PR for this!

I'll tinker around a little bit, see if I can open up a PR. No Rust experience yet though, going to be a bumpy ride but I'm in for it :D

Out of curiosity @JakeCooper; would you like to see this as a configuration option in the toml (the nixpack plan) or a command line argument?

Ideally both but start with the command line arg?

Uh... there are some issues with this unfortunately. It seems that it is not possible with the --network build argument;
https://github.com/moby/buildkit/issues/978
https://github.com/docker/buildx/issues/175
This looks worrying for this feature to be honest. Any ideas here?

After tinkering a lot with it, I believe I can make this work. Here's my proposal;
When the --docker-network option is provided (in this case my-network);

We create a new builder instance.
docker buildx create --name random-builder-uuid --driver docker-container --driver-opt network=my-network --use
We create an image with this buildx instance and publish it to docker.
`docker buildx b -f Dockerfile --load --no-cache

This allows the Dockerfile to fetch endpoints in the network my-network.
This would involve some small changes to the working of nixpack, being;

When the --docker-network option is provided, Nixpacks will create a builder.
It will then use that builder
After building, it will need to reset to the previous builder
... and ofcouse, remove the builder instance.

This can add some complexity to Nixpacks that I can understand, you folks perhaps don't want in Nixpacks.
I myself see this as an added value to Nixpacks, seeing as it might be used for applications which need to fetch some data from database containers in order to build a performant production build.
Admitted; Rust is not my primary language at all, but I feel confident that I am able to draft up a PR that;

Implements the steps above and,
Adds unit tests to validate the behaviour and cleanup of the builder instances.

How do you feel about this, @JakeCooper?

I've created https://github.com/railwayapp/nixpacks/pull/1119 to allow -add-host during build time.


Add a package for ble.sh

Add a package for ble.sh

Motivation for this change
Add a package for ble.sh, a bash line editor that provides fish-like completions for the bash shell
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[X] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[X] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

closing in favor of #181963


refine int64 handling

To use DataView heavily.

Codecov Report

Merging #19 into master will decrease coverage by 0.05%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #19      +/-   ##
==========================================
- Coverage      95%   94.94%   -0.06%
==========================================
  Files          12       12
  Lines         660      653       -7
  Branches      143      141       -2
==========================================
- Hits          627      620       -7
  Misses         12       12
  Partials       21       21

Impacted Files
Coverage Δ

src/Decoder.ts
99.59% <100%> (-0.02%)
:arrow_down:

src/utils/int.ts
100% <100%> (ø)
:arrow_up:

src/ExtensionCodec.ts
95.4% <100%> (ø)
:arrow_up:

src/Encoder.ts
95.1% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Support default empty jwks list when fail to accessing jwksUri

(This is used to request new product features, please visit https://discuss.istio.io for questions on using Istio)
Describe the feature request
the JWTRule API of Istio enables istiod to grab remote jwks. However if the remote endpoint is not available when istiod starts and then an istio-injected pod using this JWTRule starts, the mentioned istio-proxy in the istio-injected pod fails to start with following error:

I guess this is because istiod cachees an invalid jwks response and tried to push this jwks to the proxy. There are nevertheless use cases that istio needs to be available before the jwks provider is available.
I suggest we add a field in JWTRule API that configures istiod to populate an empty jwks value if the jwks endpoint returns invalid result and there is no valid jwks in the cache.
Describe alternatives you've considered
Affected product area (please put an X in all that apply)
[ ] Docs
[ ] Installation
[X] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Affected features (please put an X in all that apply)
[ ] Multi Cluster
[ ] Virtual Machine
[ ] Multi Control Plane
Additional context
I am happy to submit PR if somebody can briefly instruct me on where to do the modification :)

Is the expectation that you just stop authenticating?

Any update on the usage?

Right now we don't have enough to proceed on this, please feel free to re-open if there is some more information. Thanks!


ServerError - Wrong response status code.

responseBody: '{\n  "id": "fd0d8064-e7f1-49e8-be8f-acf49bd450ae",\n  "timestamp": "2016-11-16T19:44:02.09Z",\n  "status": {\n    "code": 400,\n    "errorType": "bad_request",\n    "errorDetails": "Required \u0027sessionId\u0027 parameter is empty."\n  }\n}',

You should send sessionId with each request. According to protocol description it is required.
You can see how to do it in https://github.com/api-ai/api-ai-node-js/blob/master/examples/text_request_with_parameters.js

@Gugic Thanks but it was working so far, what changed?

Session ID is a required parameter as per docs - https://docs.api.ai/docs/query#query-parameters-and-json-fields
We have started enforcing it - https://docs.api.ai/blog/changelog-november-16-2016

I am seeing the same issue in my project, can any of you please help me with the solution?


ERROR Stryker Error: Something went wrong in the initial test run in typescript jest project

Hey guys!
I'm using stryker in a angular typescript project with jest as the test runner, however, when I try to run the "stryker run", I keep getting ts errors and the mutation does not run... what can be wrong?
I'm using stryker 4.4.1
This is my stryker.conf.json
{
  "$schema"<EMAIL_ADDRESS>  "packageManager": "npm",
  "reporters": [
    "html",
    "clear-text",
    "progress"
  ],
  "testRunner": "jest",
  "transpilers": [
    "typescript"
  ],
  "coverageAnalysis": "off",
  "tsconfigFile": "tsconfig.json",
  "mutate": [
    "src/**/*.ts",
    "!src/**/*.spec.ts"
  ],
  "jest": {
    "projectType": "custom",
    "configFile": "jest.config.js",
    "config": {
      "testEnvironment": "jest-environment-jsdom",
      "preset": "ts-jest",
      "resetModules": true
    },
    "enableFindRelatedTests": true
  },
  "disableTypeChecks": "src/**/*.spec.ts",
  "maxConcurrentTestRunners": 10,
  "timeoutMS": 60000
}

And this is the error that I'm getting:
                                                                  ~~~~~~~~~~~~~~~~~~~
src/app/percentage/percentage.ts:68:122 - error TS2554: Expected 0 arguments, but got 1.

68       percent = percent.replace(stryMutAct_9fa48(5038) ? "" : (stryCov_9fa48(5038), '.'), stryMutAct_9fa48(5039) ? "" : (stryCov_9fa48(5039), ','));
                                                                                ~~~~~~~~~~~~~~~~~~~
08:49:58 (25002) ERROR Stryker Error: Something went wrong in the initial test run
    at DryRunExecutor.validateResultCompleted

Hi @ralves20 👋
I see you're using ts-jest. For that to work, Stryker needs to disable type checking on the files it mutates, since mutating a file will result in some type errors (as you can see).
Could you try widening your disabledTypeChecks to include your files under test? For example "disableTypeChecks": "src/**/*.ts",

Hey @nicojs !
I just did this, but I keep getting the errors:
"disableTypeChecks": "src/**/*.ts",

Be sure to remove the .stryker-tmp directory between each attempt (jest might find tests from a previous run there, I've seen that happen).
What version of TypeScript are you using? node -p "require('typescript/package').version". Stryker with TS-jest needs at least TypeScript v3.7.

Hey @nicojs my typescript version was 3.2.2, so I've updated it to 3.72
Now, the error is:
    at Resolver._getAbsolutePath (node_modules/jest-resolve/build/index.js:424:14)
    at Resolver.getModuleID (node_modules/jest-resolve/build/index.js:397:31)
    at Runtime._shouldMock (/node_modules/jest-runtime/build/index.js:1417:37)
    at Runtime.requireModuleOrMock (node_modules/jest-runtime/build/index.js:823:16)
    at Object.<anonymous> (.stryker-tmp/sandbox403159/src/app/shared/components/xpto.component.ts:49:26)
    at Runtime._execModule (node_modules/jest-runtime/build/index.js:1205:24)
    at Runtime._loadModule (node_modules/jest-runtime/build/index.js:805:12)
    at Runtime.requireModule (node_modules/jest-runtime/build/index.js:662:10)
09:17:28 (27625) ERROR Stryker Error: Something went wrong in the initial test run

Owww 3.2 is pretty old.
Yeah, you might need to update a bunch of dependencies, for example, your local ts-jest is probably not supporting<EMAIL_ADDRESS>version. Please make sure your normal unit tests work, then Stryker should also work.

Hey @nicojs
So, I've analyzed here in the project that I work, and we need to keep the version 3.2.2 of TS...
Is there any workardound that I could make to be able to run stryker on this project?
Thanks!

and we need to keep the version 3.2.2 of TS...

Wow, that is scary. Try to upgrade it as soon as possible. More tools will get stuck on older versions if you're not carful.

Is there any workardound that I could make to be able to run stryker on this project?

Well, you could try to remove ts-jest from the project and let jest transpile your files using babel. You can still run tsc --noEmit in your build pipeline to make sure you're not adding any type errors.
See https://jestjs.io/docs/en/getting-started#using-typescript
Make sure normal unit testing works first (without ts-jest), before trying to run Stryker.

Hey @nicojs thanks!
But, does stryker@3 works with jest? I thought that was not supported

Yes it does, just doesn't support coverage analysis (so set "coverageAnalysis": "off")


Add 1337x torrent icon

This icon has been cropped to remove the 1337 part and kept the X part of the logo. The icon was grayscaled to fit the colour scheme of the other icons and cropped to 30x30.

My bad, I actually cropped it wrong, it should have been 20x20 and not 30x30. Let me close this pull request and make a new one.


doesn't load in completely

I try to load in, but what come up is a green screen that never changes.

@Kalaborative Playerbarn Main changed to Ie from Ae. Also, a508b62a.exports.Ie is now a508b62a.exports.Ae


Error in spdb.save

Hi,
Thank you for building the single-cell protein database. However, when I tried to download and save the data using spdb.save, I encountered the following error. Do you know what might be the reason for this?
Checking if files are all available...
Error in setdiff() at spdb_api.R:40:8:
! x and y are not compatible.
y must be a data frame.
Run rlang::last_trace() to see where the error occurred.

Hi,
Thank you for trying our single-cell proteomic database and pointing out this issue. We have fixed this bug caused by data type in the updated spdb_api.R. Please clone the latest spdb_api and try this function again.
Best,
Fang

Thank you. I can download the datasets now.
Best,
Zhaoyu


Error global.screen undefined

On gnome 3.30.1
Oct 02 16:49:20 fireYoga gnome-shell[1339]: Ignoring excess values in shadow definition
Oct 02 16:49:20 fireYoga gnome-shell[1339]: Ignoring excess values in shadow definition
Oct 02 16:49:20 fireYoga gnome-shell[1339]: Ignoring excess values in shadow definition
Oct 02 16:49:20 fireYoga gnome-shell[1339]: Ignoring excess values in shadow definition
Oct 02 16:49:21 fireYoga gnome-shell[1339]: Ignoring excess values in shadow definition
Oct 02 16:49:21 fireYoga gnome-shell[1339]: Ignoring excess values in shadow definition
Oct 02 16:49:21 fireYoga gnome-shell[1339]: Ignoring excess values in shadow definition
Oct 02 16:49:21 fireYoga gnome-shell[1339]: Ignoring excess values in shadow definition
Oct 02 16:49:22 fireYoga gnome-shell[1339]: Ignoring excess values in shadow definition
Oct 02 16:49:22 fireYoga gnome-shell[1339]: Ignoring excess values in shadow definition
Oct 02 16:49:23 fireYoga gnome-shell[1339]: JS WARNING: [resource:///org/gnome/shell/ui/extensionDownloader.js 86]: reference to undefined property "GLocalFileOutputStream"
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Archive:  /tmp/T0RNQZ.shell-extension.zip
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating<EMAIL_ADDRESS>Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating<EMAIL_ADDRESS>Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating<EMAIL_ADDRESS>Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating<EMAIL_ADDRESS>Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating<EMAIL_ADDRESS>Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating<EMAIL_ADDRESS>Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating<EMAIL_ADDRESS>Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:    creating<EMAIL_ADDRESS>Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating<EMAIL_ADDRESS>Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating<EMAIL_ADDRESS>Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating<EMAIL_ADDRESS>Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating<EMAIL_ADDRESS>Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating<EMAIL_ADDRESS>Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating<EMAIL_ADDRESS>Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating<EMAIL_ADDRESS>Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating<EMAIL_ADDRESS>Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating<EMAIL_ADDRESS>Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating<EMAIL_ADDRESS>Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating<EMAIL_ADDRESS>Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating<EMAIL_ADDRESS>Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:    creating<EMAIL_ADDRESS>Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating<EMAIL_ADDRESS>Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating<EMAIL_ADDRESS>Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating<EMAIL_ADDRESS>Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating<EMAIL_ADDRESS>Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating<EMAIL_ADDRESS>Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating<EMAIL_ADDRESS>Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating<EMAIL_ADDRESS>Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:  extracting<EMAIL_ADDRESS>Oct 02 16:49:23 fireYoga gnome-shell[1339]: Some code accessed the property 'ENABLED_EXTENSIONS_KEY' on the module 'extensionSystem'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] adding icon dir<EMAIL_ADDRESS>Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "next-layout".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: next-layout
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "previous-layout".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: previous-layout
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "next-window".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: next-window
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "previous-window".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: previous-window
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "swap-with-next-window".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: swap-with-next-window
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "swap-with-previous-window".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: swap-with-previous-window
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "next-monitor".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: next-monitor
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "previous-monitor".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: previous-monitor
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "move-to-next-monitor".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: move-to-next-monitor
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "increase-master-area".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: increase-master-area
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "decrease-master-area".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: decrease-master-area
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "increase-n-master".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: increase-n-master
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "decrease-n-master".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: decrease-n-master
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "swap-window-with-master".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: swap-window-with-master
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "set-workspace-1".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: set-workspace-1
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "set-workspace-2".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: set-workspace-2
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "set-workspace-3".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: set-workspace-3
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "set-workspace-4".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: set-workspace-4
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "set-workspace-5".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: set-workspace-5
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "move-window-to-workspace-1".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: move-window-to-workspace-1
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "move-window-to-workspace-2".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: move-window-to-workspace-2
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "move-window-to-workspace-3".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: move-window-to-workspace-3
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "move-window-to-workspace-4".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: move-window-to-workspace-4
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "move-window-to-workspace-5".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: move-window-to-workspace-5
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "window-toggle-maximize".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: window-toggle-maximize
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "window-toggle-fullscreen".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: window-toggle-fullscreen
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "window-toggle-floating".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: window-toggle-floating
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "launch-terminal".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: launch-terminal
Oct 02 16:49:23 fireYoga gnome-shell[1339]: Extension<EMAIL_ADDRESS>had error: TypeError: global.screen is undefined

See https://github.com/home-sweet-gnome/dash-to-panel/issues/434
I added changes similar to https://github.com/micheleg/dash-to-dock/pull/770


Why the v4 change from 544 to 576px for small breakpoint?

Regarding this commit: https://github.com/twbs/bootstrap/commit/1d0d0dac769cccaa3df62bafb7fb999c2a086adb
I'm trying to find the issues regarding the reason for the changes to the breakpoint values, but I'm not having much luck. Does this have something to do with width vs max-width of the grid container?
How did you guys land at 576px? I understand that 544px was originally chosen because it's halfway between 320 and 768. But 544 + 32 = 576 and I'm not sure how that number was chosen, especially since gutters are 15px wide. Was it arbitrarily chosen?
Can anyone shed some light on this decision? I'm interested in learning why in order to educate myself?

I found this discussion:
https://github.com/twbs/bootstrap/issues/18054
But still confused on the 32px thing. https://github.com/twbs/bootstrap/blob/v4-dev/scss/_variables.scss says Gutter width is 30px but the above issue says that the spacer size (32px) should be used to calculate the 576 instead of using the gutter size (30px).
Also, why is there so much discrepency between the breakpoints and max container widths for each layout size?
576 - 540 = 36px
768 - 720 = 48px
992 - 960 = 32px
1200 - 1140 = 60px
I'm really not understanding why each max container width is simply the breakpoint value minus one gutter width (30px). What am I missing here?

I'm trying to find the issues regarding the reason for the changes to the breakpoint values, but I'm not having much luck. Does this have something to do with width vs max-width of the grid container?

For awhile in v4, we had a bug that the xs container was wider than the media query breakpoint, as mentioned in #18054. The change in dimensions from 544px to 576px fixes that issue.

How did you guys land at 576px? I understand that 544px was originally chosen because it's halfway between 320 and 768.

That's not how we landed there exactly. That math checks out because each of these container sizes are multiples of 12, given our 12 column grid system.

But 544 + 32 = 576 and I'm not sure how that number was chosen, especially since gutters are 15px wide. Was it arbitrarily chosen?

The outer media query breakpoint has less to do with any specific math or numbers, and more to do with approximate screen resolutions minus room for a visible scrollbar. So, 1024px leaving room for the scrollbar and then some, I arrived at 992px. Could be any other close value honestly.

I'm really don't understanding why each max container width is simply the breakpoint value minus one gutter width (30px). What am I missing here?

As mentioned above, it's not a difference of a specific Bootstrap gutter (30px). It's just to give the fixed-width container the ability to reasonably center the content within the viewport at a particular breakpoint.

I'll see what I can do to provide some docs for this in the future. Not an immediate concern of mine since it doesn't come up too often, but I'll keep it in mind.

Thanks. I am always interested in learning why certain standards are chosen for projects. Thank you again,

Is there by any chance time for founders of the grid to explain their reasoning behind why certain container sizes, breakpoints, etc. were chosen in v4?
I had to look long and hard for a bit of information here but something like a blogpost would be of much help to me and others trying to figure out the reasoning behind all of this.
If there is such a thing already I would be happy with a link. So far the documentation does not explain any of this. Perhaps it would be nice to have a documented section explained how this exact grid with some of the design decision has come to be?
Thanks.

Read this on how the 3.x breakpoints came to be: #14894

I'll see what I can do to provide some docs for this in the future. Not an immediate concern of mine since it doesn't come up too often, but I'll keep it in mind.

@mdo did you?


Helia identifies itself to the network

Done Criteria
Helia identifies itself to the network by default.  Specifically this mean:

libp2p identity - will be identifiable from DHT bootstrappers for example.  Kubo does this.
user-agent header when making HTTP calls - This is relevant for example when making calls to cid.contact

We want to also get the Helia version as well (e.g., “helia/vX.Y.Z”) just as Kubo does.
We should only set the "user agent" if a user hasn't specified an override one.
Why Important
This enables Helia's prevalence to be detected/measured.  This is important for getting signal on Helia's adoption in production, which in turn affects things like:

funding and resourcing decisions
client considerations for network/protocol upgrades

Notes

At the end of this, problab should be able to generate the Helia equivalent of https://probelab.io/ipfsdht/#active-kubo-versions

user-agent header when making HTTP calls

JS used to be forbidden from overriding user-agent in fetch requests - that changed with https://github.com/whatwg/fetch/issues/37
Firefox fixed it: https://bugzilla.mozilla.org/show_bug.cgi?id=1188932
Chromium has not fixed it: https://bugs.chromium.org/p/chromium/issues/detail?id=571722
So currently this isn't possible with 90-odd% of browsers.
See CI failures in https://github.com/libp2p/js-ipni-content-routing/pull/12

Thanks for the info @achingbrain .  So I think to close this issue we do two things:

Make sure it works for identify (which we can control)
Ensure the right info is being passed from Helia to js-libp2p so that HTTP content routings systems can pick this up in future.  (I assume this is done when number 1 above is done).


Timed Permissions

**Greetings !
Currently if you give a player a timed permission (/lp user  permission settemp  <true/false>
The timer will still count even if the player leaves the server.
I feel like it would be really great if you gave the option in the config to disable/enable the Time Count if a player leaves the server. I'm sure it'd be helpful to a lot of people using settemp Permissions !
If you end up implementing that, Please make sure to Tag me (Spam me if needed) cause i really need such a feature!
Yours sincirely, Nik.**

bump

Sorry, this is something that's out of scope for LuckPerms at the moment.
It could be quite easily added by another plugin though, hooking into either LP or Vault.


Trafficportal Profile exports (and likely others) don't work on Firefox

Go to Configure -> Profile -> {{a profile}} -> More -> Export in Firefox v60-62
XHR request completes successfully and no (related) js errors in console, but no download occurs. Suggest changing from ng-click attribute to Export Profile, but other solutions likely exist.

CDN-3159

What's that? A JIRA ticket?

So it looks like the issue is in FileUtils.js where an href is being set equal to a data url directly without first creating a Blob object to act as the "file". See: https://stackoverflow.com/questions/19327749/javascript-blob-filename-without-link

Fixed in #3921


Not working in 3.0.4

The latest version of yakuake refuses to execute runCommand over DBUS citing security issues, and suggests recompiling itself. Any way to solve it without having to recompile yakuake?

any luck?

Turns out this was related to a subshell change. Created a pull request #19 to fix. The security warning is just that, a warning, yakuake runcommand is working

Then this is a dup of #17 and is caused for a regression introduced in 2c0d96c trying to fix #16.
Thank you @alexivkin


nnbd tool should create casts for function types

In package:async, there are some compile errors from lazy test nulls combined with migrated async apis.
...
// in tests
onCancel = () => null;
...
CancelableOperation(..., Future<R> Function() onCancel: onCancel) ...
...
... Completer.complete(Future.sync(onCancel)) ...

the null causes the type of onCancel to be Future<R>? Function(). That is an illegal assignment to the parameter of Future.sync (Future<T> Function()).
Ultimately, the correct migration is probably to change the test to
onCancel = () async => null;

but in terms of an output we can expect the migration tool to produce, we can emit a cast when passed into Future.sync:
...
... Completer.complete(Future.sync(onCancel as Future<R> Function())) ...

In the long run, this ideally will be highlighted as a place users should manually review

As of 1c7fe7196dd7a542f7f91cd6ea2ac81e1a13146c, the null safety migration tool has been removed from active development and retired. No further work on the tool is planned.
If you still need help, or you believe this issue has been closed in error, please feel free to reopen.


Redis Persistance

Whenever I try to initialize the Redis persistance storage through the StuffClassifier::RedisStorage class, I get a uninitialized constant StuffClassifier::RedisStorage error. Is there anything else I have to install other than the stuff-classifier gem?

Same here. Also, I can't get the disk storage to work either.


Environment variables not working with include-file

Describe the issue
include-file doesn't work with environment variables
Expected behavior:
As of 3.1.0 this feature has been implemented, specifically in #724 PR and this commit by jaagr
Actual behavior:
It doesn't understand paths such as $XDG_CONFIG_HOME/polybar/colors/default, giving me default root pixmap bla bla error
Was it working before?
I've tried this feature only in the current release.
To Reproduce
A minimal but complete config with which the problem occurs:
[colors]
include-file = $XDG_CONFIG_HOME/polybar/colors/default

For reference, my current config is here
Environment:

Output of polybar -vvv:

polybar 3.4.3

Features: +alsa +curl +i3 +mpd +network(wireless-tools) +pulseaudio +xkeyboard

X extensions: +randr (+monitors) +composite +xkb +xrm +xcursor

Build type: Release
Compiler: /usr/lib/ccache/bin/g++
Compiler flags: -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2  -Wno-error=deprecated-declarations -D_LINUX_IF_ETHER_H -g -Wall -Wextra -Wpedantic -O3 -DNDEBUG
Linker flags: -Wl,-z,relro -Wl,-z,now -Wl,--as-needed

Why do you know that the environment expansion isn't working?
It is working fine for me and if it wasn't working you should get an Invalid include file error.

Why do you know that the environment expansion isn't working?

It doesn't source the module, and therefore the bar is loaded as pitch black.
By the way, tilde expansion is working, I shouldn't have included jaagr's commit. It's the environment variable that is failing.

It doesn't source the module, and therefore the bar is loaded as pitch black.

It doesn't source which module?
The "default root pixmap ..." error generally has a different cause. Can you post the entire polybar output?

It doesn't source which module?

[colors]; I meant to say section, not module, sorry.

The "default root pixmap ..." error generally has a different cause. Can you post the entire polybar output?

  polybar|error: Disabling module "alsa" (reason: Cannot find simple element)
  polybar|error: Disabling module "xkeyboard" (reason: <gb> is not a valid format tag for "format")
  polybar|error: Disabling module "eth_usb" (reason: Invalid network interface "enp0s20u1")
  polybar|warn:  background_manager: Failed to get root pixmap, default to black (is there a wallpaper?)
  polybar|warn:  background_manager: Failed to get root pixmap, default to black (is there a wallpaper?)
  polybar|warn:  background_manager: Failed to get root pixmap, default to black (is there a wallpaper?)
  polybar|warn:  background_manager: Failed to get root pixmap, default to black (is there a wallpaper?)
  polybar|warn:  Dropping unmatched character  (U+e028)
  polybar|warn:  Dropping unmatched character  (U+e026)
  polybar|warn:  Dropping unmatched character  (U+e21a)
  polybar|warn:  Dropping unmatched character  (U+e238)
  polybar|warn:  Dropping unmatched character  (U+e0cb)
  polybar|warn:  Dropping unmatched character  (U+e016)
  polybar|warn:  Dropping unmatched character  (U+e10c)
  polybar|warn:  Dropping unmatched character  (U+e028)
  polybar|warn:  Dropping unmatched character  (U+e026)
  polybar|warn:  Dropping unmatched character  (U+e21a)
  polybar|warn:  Dropping unmatched character  (U+e238)
  polybar|warn:  Dropping unmatched character  (U+e0cb)
  polybar|warn:  Dropping unmatched character  (U+e016)
  polybar|warn:  Dropping unmatched character  (U+e10c)
  polybar|warn:  Dropping unmatched character  (U+e028)
  polybar|warn:  Dropping unmatched character  (U+e026)
  polybar|warn:  Dropping unmatched character  (U+e21a)
  polybar|warn:  Dropping unmatched character  (U+e237)
  polybar|warn:  Dropping unmatched character  (U+e0cb)
  polybar|warn:  Dropping unmatched character  (U+e016)
  polybar|warn:  Dropping unmatched character  (U+e10c)
  polybar|warn:  Dropping unmatched character  (U+e028)
  polybar|warn:  Dropping unmatched character  (U+e026)
  polybar|warn:  Dropping unmatched character  (U+e21a)

It keeps on going on with the dropping characters.

EDIT: Uhm, it works properly now. What? I'm pretty sure it wasn't a mistype, as I have tested it more than 10 times. No clue.
Anyway, I'm closing this for now.

I'm pretty sure this wasn't an issue with include-file. You would have gotten a different error if it couldn't include the file and at the least you would have gotten an error once you tried to reference the colors.

I'm pretty sure this wasn't an issue with include-file. You would have gotten a different error if it couldn't include the file and at the least you would have gotten an error once you tried to reference the colors.

Ok now I can confirm it wasn't. I figured out the issue behind it, it was due to how I configured my shell, fish, not loading the environment variables before the scripts get executed.
(Basically I had autologin into X as the first condition in my config and I set all the variables later)


GPL-357	(Heron) As Analysis lead (David Jackson) I would like a new sequancing type of 'Amplicon' to support analysis from the MLWH [RT686948]

User story
GPL-357 As Analysis lead (David Jackson) I would like a new sequencing type of 'Amplicon' to support analysis from the MLWH
Who the primary contacts are for this story
David Jackson
Acceptance criteria
To be considered successful the solution must allow:
todo...
Additional context
Add any other context or screenshots about the feature request here.

All you need to do is create a new StudyType via the command line. I have done this for UAT and Production.


Should resources with no defined operations be defined as executable?

Question
Should resources with no defined operations be defined as executable in leshan server demo? For example, resource 13 in 1-1_1.xml don't have any operation defined but in leshan server demo it's displayed as executable.

Should resources with no defined operations be defined as executable in leshan server demo?

Nope, this is a bug.

I want to fix it. Where should I start looking for assigning label for this button?

Just to be sure we are talking about master ? (not 1.x branch ?)

If this is about master.
I take a look at what is sent by the REST API by using my browser developer Tools.
And I see for resource 13 :
{
	"13": {
		"id": 13,
		"name": "Registration Priority Order",
		"operations": "NONE",
		"instancetype": "single",
		"mandatory": false,
		"type": "unsigned_integer",
		"range": "",
		"units": "",
		"description": "The LwM2M Client sequences the LwM2M Server registrations in increasing order of this value. If this value is not defined, registration attempts to this server are not impacted by other server registrations."
	}
}

And looking at :
https://github.com/eclipse/leshan/blob/d5052f181918af3680eb42a7428810a8fb65bcdd/leshan-server-demo/webapp/src/components/resources/ResourceControl.vue#L40-L45
and :
https://github.com/eclipse/leshan/blob/d5052f181918af3680eb42a7428810a8fb65bcdd/leshan-server-demo/webapp/src/components/resources/ResourceControl.vue#L95-L97
It seems that returning NONE or checking String contains E is not a good idea ?
I don't know what is the best move...
Maybe returning empty String instead of NONE ?
Or check that operation is strictly equals to E ? using includes make sense for R or W but not for E
See : https://github.com/eclipse/leshan/blob/d5052f181918af3680eb42a7428810a8fb65bcdd/leshan-core/src/main/java/org/eclipse/leshan/core/model/ResourceModel.java#L26-L40

I've created a fix on opl/EXEButton.
I went with strictly comparing operation to "E" as I feel like switching from NONE to empty string could be confusing when debugging some issues.
To future-proof from similar issues we could change Operation "NONE" to "none" so it would be possible to have any possible combination of operations, but it seems redundant

I went with strictly comparing operation to "E" as I feel like switching from NONE to empty string could be confusing when debugging some issues.

I also feel this is the best way.  :slightly_smiling_face:
You can create a PR.

I've created a PR

Fixed in master. (see #1442)

Thx @Warmek :pray:


Add pane listing static routes, with details panel

we should have a pane listing static routes configured kusk-gateway - similar to the pane we have for listing APIs. The corresponding API operations need to be defined - i.g. getStaticRoutes and getStaticRouteDetails
Not sure what metadata we could show in the list and details panel

I will move this to the REST API https://github.com/kubeshop/kuskgateway-api-server/issues/10


Setting Operation Ids in AddOpenApiDocument configuration - DOTNET 8

Hello all!
Prevously I was using for a project Swashbuckle.AspNetCore for generating my swagger.json file. Now I started using NSwag for this. Is there any way I can achieve the following configuration of OperationId in NSwag? (without MANUALLY adding any annotation on the controllers'  methods)
Swashbuckle.AspNetCore AddSwaggerGen configuration:
                    options.CustomOperationIds(setup =>
                    {
                        string operationId = setup.ActionDescriptor.AttributeRouteInfo.Name;
                        if (string.IsNullOrEmpty(operationId))
                        {
                            operationId = setup.ActionDescriptor is ControllerActionDescriptor controllerActionDescriptor ?
                                controllerActionDescriptor.ActionName : operationId;
                        }

                        return operationId;
                    });
Thanks in advance!

You can achieve this by:
public class MyOperationsIdTest : IOperationProcessor
{
    public bool Process(OperationProcessorContext context)
    {
        SetOperationId(context);
        return true;
    }

    private static void SetOperationId(OperationProcessorContext context)
    {
        //insert your rules here
        context.OperationDescription.Operation.OperationId = context.MethodInfo.Name;
    }

    private static string GetOperationIdPrefix(string operationId)
    {
        return new string(operationId.TakeWhile(char.IsLetter).ToArray());
    }

  services.AddOpenApiDocument(
      options =>
      {
          options.OperationProcessors.Add(new MyOperationsIdTest());
           ..........

however some are duplicated...like GetById1,GetById2..


Use i18n for DISCOVERY

💻 变更类型 | Change Type

[ ] feat
[x] fix
[ ] refactor
[ ] perf
[ ] style
[ ] test
[ ] docs
[ ] ci
[ ] chore
[ ] build

🔀 变更说明 | Description of Change

Renamed and relocated the DISCOVERY position
Used i18n for options within Discovery

📝 补充信息 | Additional Information

Use Page.Title instead of Name for SearchChat, as the latter's semantics in the i18n file seem incomplete (only covering "Search" without "Chat").

Summary by CodeRabbit

New Features

Introduced a discovery feature in the sidebar, enhancing the user interface for selecting options.

Bug Fixes

Updated localization strings for improved clarity in both Chinese and Traditional Chinese.

Documentation

Revised comments in localization files to provide clearer instructions for future translations.

I've merge your changes for internationalization.
Thx～


Import execution header extrinsic

Adds a new extrinsic import_execution_header to store eth1 headers
Some clean-up (Replace GenesisConfig with ValidatorsRoot)

Closing this in favour of a PR with the relayer code included.


Current state config of plugin

How may I get current state config your plugin?

For now, we can't.
but we will put this into our next improvement.

hi, @mazipan
Yes please, thanks)

You can update version to 3.2.0 then getting current global configs with
this.$CurrencyFilter.getConfig()

Thank you @mazipan ,)
Have a nice day.

You can update version to 3.2.0 then getting current global configs with
this.$CurrencyFilter.getConfig()
@VIMHaos

Would be nice to have these in the docs. This seems to be needed (the setConfig()) to have the currency update instantly when a user changes his currency settings.

Ah, I already dropping this feature.
Since it's hard to achieve consistency from my latest approach.
Maybe need another perspective to solve this problem.


A moves backwards when cursor is at end of line

I have noticed a strange behavior when using the A key where, when in normal mode and with the cursor past the end of the line:
julia> println()█

and then hitting A, will have the insert mode cursor aligned one back:
julia> println(|)

rather than
julia> println()|

However, when the cursor is anywhere else, such as the second-to-last position:
julia> println(█

or earlier:
julia> prin█ln()

it will successfully move to the end:
julia> println()|

Good find, thanks for the detailed examples!
I wonder if the root cause might be similar to #60, where the final character of a line is moved to a newline instead of a newline being appended to the line. In both cases, the "end of line" is off by one. My first guess would be that the issue is caused by Motions.line_end

Actually it might be the same root cause as #57 as well