Wrap notebook HTML in {% raw %} tag

Right now, notebook HTML will be processed through Jekyll. This causes
problems for notebooks with complicated LaTeX – for example, this page
from the Data 100 textbook breaks since it has the substring {{ in
the LaTeX.
Notebook authors shouldn't have to worry about messing up their book by
accidentally including a reserved Jekyll/Liquid keyword in their
notebook, so this commit wraps the notebook's generated HTML in a
{% raw %} tag.
Technically, notebook authors won't be able to have the string
{% endraw %} anywhere within their notebooks, but this is probably
less likely to appear than double braces.
The citations.ipynb file is also updated to remove uses of
{% endraw %}.
To test this, I did the following:

pip install -e .
Within the book_template/ folder, run make book and verify that
the content in _build/features/notebooks.html is wrapped with a raw tag.
Run jekyll serve and verify that
http://<IP_ADDRESS>:4001/jupyter-book/features/notebooks.html renders properly.

Hmmm, this feels like it will break citations to me, no? Those currently use jekyll scholar tags. Eventually I think we should move away from jekyll for this, but in the meantime I dunno if we want to break scholar support, no?

You're right — wrapping the HTML within a raw tag will stop citations from being processed by Jekyll.
Is there another way to include the tokens {{ and }} within a notebook? I'm fairly certain these are the only tokens that break Jekyll when applied to the Data 100 book.

Hmmm - is this not something that we can escape with backslashes? Though maybe that'd mess it up in the mathjax processing in that case...
Alternatively, could you add the raw tag just around the code blocks you're using? Or we could even add a filter to nbconvert like "jekyll_raw" that would wrap any cell w/ that tag with {raw blocks. WDYT?

What if we added a filter like "search the contents of a cell to see if it has {{ in it. If it does, then wrap it in a raw block?

Yeah, I've tried escaping braces but it's very hard to get things working since there are multiple pieces that parse backslashes differently (MathJax, Markdown in the notebook, Jekyll HTML).
We could detect {{ and wrap the cell in raw, but I think it's confusing that we'll allow Jekyll to parse {% tag %} but not {{ var }}. This also clashes with future Jekyll plugins that might use {{ instead of {%.
I think we should choose between:

Parsing all Jekyll/Liquid tags by default, and authors manually mark which cells they don't want Jekyll to parse.
Not parsing any Jekyll/Liquid tags within notebooks unless authors explicitly turn it on.

This PR basically asks to switch from 1. to 2. but this will break existing books that use citations, so it looks like 2. isn't feasible.
Now, I actually think we should keep the Jekyll parsing as-is (so we won't merge this PR) and I can wrap individual cells in a raw tag in the Data 100 book. WDYT?

Yeah - my intuition is that long term we may want to move away from jekyll (I'd like to have a single-page html story that doesn't rely on jekyll for things like citations).
What if we added a filter in the nbconvert template that would check for a "jekyll-raw" tag and if so, would wrap the resulting html in a raw block?

Sure, having a cell tag to mark certain cells as raw sounds like a good plan to me.

Cool - I'm about to head on a trip for the week, so may have limited time to implement this one...do you wanna give it a shot and I can review while I'm driving? Otherwise I might need to implement when I'm back (or if I find some downtime while hiking in zion 😊)

Yup, I can work on it. Will send a PR. Have fun in Zion!


Storm 0.6.1 isn't a release

When I used storm-0.6.1 release from the downloads page, I got the following message

The storm client can only be run from within a release. You appear to be trying to run the client from a checkout of Storm's source code.
You can download a Storm release at https://github.com/nathanmarz/storm/downloads

storm-0.6.0 from the downloads page works however.

The storm client checks for a "RELEASE" file in the root of unzipped file. I checked the release, the file is there, and the storm client works fine for me.
What OS are you using?

Oh, I separated the bin folder from the RELEASE file for the 0.6.1 release


[WebJobs/EventHubs] Add programmatic options configuration example

Setting up a proxy is a good scenario.

/cc @jsquire

/cc @jsquire

Hi @pakrym, we deeply appreciate your input into this project. Regrettably, this issue has remained inactive for over 2 years, leading us to the decision to close it. We've implemented this policy to maintain the relevance of our issue queue and facilitate easier navigation for new contributors. If you still believe this topic requires attention, please feel free to create a new issue, referencing this one. Thank you for your understanding and ongoing support.


Default path autoconfigure doesn't work

I've just downloaded bin and when I run for the first time I get
⟩ ./bin

Pick a default download dir:

 [1] blah..
 [2] blah..
 [3] ...
 [4] ...
 [5] ...
 Select an option: 5
panic: interface conversion: interface {} is options.LiteralStringer, not string

Same behaviour when delete ~/.bin/config.json

Thx for reporting this. Which platform are you using?

I'm using Linux


Closes softlayer/sl-ember-components#825

Reviewed 1 of 1 files at r1.
Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from the review on Reviewable.io


dlopen dylib executables from memory for Android/Linuxish platforms, not disk

We avoid writing the dylib file out to disk where available. There's some options:
On Linuxy-things we can (it seems) just dlopen from /proc/self/fd/NN. Need to verify positioning - could dup + seek if it takes the position of the file, and if not could try mmapping the memory again (pages should be identical) but at an offset (not sure if that works).
On BSD there's fdlopen that takes the fd directly. Also need to verify positioning.
On Android we can use ANDROID_DLEXT_USE_LIBRARY_FD ANDROID_DLEXT_USE_LIBRARY_FD_OFFSET of android_dlopen_ext to point dlopen directly to a byte offset in an fd: https://developer.android.com/ndk/reference/group/libdl
Unknown on mac yet. Could stick with the fallback to start.
If we can't get one of the functions to dlopen from a position (and instead just an offset) we can exploit the fact that flatbuffers are just pointers into contiguous address ranges so we can take the pointer to the dylib in the executable and subtract the base pointer of the mmapped region to get the file offset in the originally-mapped fd.
We can keep the current disk approach as the ultimate fallback, but there's a better fallback where we use memfd_create+tmpfs, memcpy into that from the flatbuffer mmapped memory, and then dlopen from that fd/fdlopen/android_dlopen_ext/etc. That wires memory that we otherwise wouldn't, but executable binaries are small (no large constants) and compared to touching the disk at all it's probably in the ballpark of 1000x+ faster.

[ ] test: linux w/ dlopen to existing wrapper mmap fd fd at position
[ ] test: linux w/ dlopen to memfd_create memcpy'd memory
[ ] test: android w/ android_dlopen_ext to existing wrapper mmap fd at position
[ ] test: android w/ android_dlopen_ext to memfd_create memcpy'd memory

If we can get these working then on those platforms we can completely eliminate file IO from the runtime. Both approaches also set us up for sandboxing (where we can map the wrapper flatbuffer in one process and then share the sealed fd with the sandbox process such that it can share the same pages for the executables).

There are (ahem) ways of doing this on both windows and mac using executable pages (effectively what JITs do), providing our own relocation based on platform: https://github.com/fancycode/MemoryModule, https://github.com/malisal/loaders
Even better than that would be to exploit the fact that we constrain these executables: we can just embed elf 100% of the time and have the worlds smallest elf loader. They really are not complex for what we are doing (we aren't trying to build entire bundled applications with these, but instead just have a few naked functions with no global state, no C++, etc): https://github.com/malisal/loaders/blob/master/elf/elf.c#L51-L186
Smash that together with something like this for the pages: https://sourcegraph.com/github.com/bkaradzic/SwiftShader/-/blob/src/Reactor/ExecutableMemory.cpp
and you have a simple loader that should work everywhere we can run a JIT. Clearly not as good as dlopening the file (it wires pages, it requires being able to alloc executable pages, etc), but for Windows and MacOS that seems fine. iOS is shrug.

We can use #3909 to provide the backing allocation for executable memory or mapping into the files.

With #5221 we can now implement variants of iree/base/internal/dynamic_library_* for various platforms. It may make sense to split out the file-based loading from the memory-based loading into separate files, or do everything in platform switch blocks (which should end up with 10-20 lines per platform, so not too bad). Either way, now that all of the IO and dylib manipulation are in a single file there's no need for abstractions to make all this happen.

No longer needed; the embedded elf approach is the way to go here and only if someone finds themselves absolutely needing platform-native shared objects should we deal with such tomfoolery.


Improve CSS Bundling

See https://github.com/wowsims/cata/pull/7

Jk beat me to it https://github.com/wowsims/sod/pull/394


memcached fails to start when locale is set to French

Because we attempt to match the error reported by killall only in English we raise when killall fails to kill a process and prints an error in a different language.
This stops the app from starting up.
Setting the locale using localectl set-locale LANG=fr_FR.UTF-8 then attempting to start the application will reproduce this issue.
Excerpt from evm.log:
[----] I, [2015-12-28T10:31:19.764450 #2807:37d994]  INFO -- : MIQ(MiqMemcached::Control.stop) stopped memcached, result: Redirecting to /bin/systemctl stop  memcached.service
/var/www/miq/vmdb/gems/pending/util/runcmd.rb:8:in `runcmd': memcached: aucun processus trouvÃ© (RuntimeError)
    from /var/www/miq/vmdb/lib/miq_memcached.rb:121:in `killall'
    from /var/www/miq/vmdb/lib/miq_memcached.rb:107:in `stop!'
    from /var/www/miq/vmdb/lib/miq_memcached.rb:116:in `restart!'
    from /var/www/miq/vmdb/app/models/miq_server/environment_management.rb:85:in `start_memcached'
    from /var/www/miq/vmdb/app/models/miq_server.rb:270:in `start'
    from /var/www/miq/vmdb/lib/workers/evm_server.rb:60:in `start'
    from /var/www/miq/vmdb/lib/workers/evm_server.rb:79:in `start'
    from /var/www/miq/vmdb/lib/workers/bin/evm_server.rb:3:in `<top (required)>'
    from /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.5/lib/rails/commands/runner.rb:60:in `load'
    from /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.5/lib/rails/commands/runner.rb:60:in `<top (required)>'
    from /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:123:in `require'
    from /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:123:in `require_command!'
    from /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:90:in `runner'
    from /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
    from /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.5/lib/rails/commands.rb:17:in `<top (required)>'
    from /var/www/miq/vmdb/bin/rails:4:in `require'
    from /var/www/miq/vmdb/bin/rails:4:in `<main>'

Ran into the same issue on RHEL CFME running in AWS after a failed certificate update attempt and subsequent AMI restoration. +1

@carbonin if this issue is no longer relevant can you close.

Couldn't reproduce this one on hammer RC2, closing


Add Menu key for Physical Infrastructure providers

Sorry @AparnaKarve I didn't see this one and merged a different PR first.  Can you please rebase?

No worries @Fryguy, that was an easy rebase :)


Broken Inline LaTeX

Thank you for putting together this extremely helpful primer! In reading through your work, I just found a few spots with broken inline latex I thought I'd point out.
In DPLL and Unit Propagation :

If we have a clause $(x_1\vee x_2 \vee \overline{x_3})$ and we have

In LCG Encoding:

Because otherwise we would need a quadratic amount of consistency constraints ($[x=v] \rightarrow [x\not=v'] \forall v\not=v' \in D(x)$).

In Branching/Searching:

The arrows pointing towards a node can be seen as conjunctive implication clauses ($x\wedge y \Rightarrow z$), that are added lazily by the propagators.

Thanks again for your help in figuring out what CP-SAT does under the hood.

Glad that you found it helpful! I hope I will find some time to finish it soon. There are unfortunately still some parts that are incomplete or imprecise.
I fixed the broken inline latex (at least it seems to work in my browser now), thanks for telling me :)


[Remote Routing Table] Handle cluster state publication flow for remote routing table

Is your feature request related to a problem? Please describe
Based on remote routing table repo present and Remote publication enabled, decide on cluster state publication flow.
Meta https://github.com/opensearch-project/OpenSearch/issues/12995
Describe the solution you'd like
Cluster state publication with remote state needs to be enabled only when Publication feature flag is enabled. For per node publication, we also need to check if the destination node has remote routing table repo.
Related component
ShardManagement:Routing

Added in https://github.com/opensearch-project/OpenSearch/pull/13835


[SDK-184] chore: fix path

SDK-184

Dependencies
Core: develop

Description

Fixes an issue that avatars loaded in editor have the metadata json saved in root Avatars folder with name [GUID+GUID].json instead of inside the Avatars/GUID/ folder

Changes
Updated

Url processor and tests, added missing slash to path

How to Test

PLEASE TEST this for runtime, in editor and in builds to ensure this does not introduce any new bugs

Checklist

[ ] Tests written or updated for the changes.
[ ] Documentation is updated.
[ ] Changelog is updated.

Now I do not get hashed avatars cached in editor, is this currently runtime only to save hashed avatars? Which is fine btw.


Dart and analyzer produce different results for the cyclical typedef declaration

Dart SDK version: 2.13.0-59.0.dev (dev) (Sun Feb 21 18:06:58 2021 -0800) on "windows_x64"
Here is a source code example:
class A<X extends A<X>> {}
typedef B<X extends A<A<X>>> = A<X>;

main() {}

Dart and analyzer produces different static errors here.
Sample output is:
$> dart --enable-experiment=nonfunction-type-aliases t.dart
t.dart:2:11: Error: Type argument 'A<X/*1*/>' doesn't conform to the bound 'A<X/*2*/>' of the type variable 'X' on 'A'.
 - 'A' is from 't.dart'.
 - 'X/*1*/' is from 't.dart'.
 - 'X/*2*/' is from 't.dart'.
Try changing type arguments so that they conform to the bounds.
typedef B<X extends A<A<X>>> = A<X>;
          ^
t.dart:1:9: Context: This is the type variable whose bound isn't conformed to.
class A<X extends A<X>> {}
        ^
t.dart:2:11: Error: Type argument 'X/*1*/' doesn't conform to the bound 'A<X/*2*/>' of the type variable 'X' on 'A'.
 - 'X/*1*/' is from 't.dart'.
 - 'A' is from 't.dart'.
 - 'X/*2*/' is from 't.dart'.
Try changing type arguments so that they conform to the bounds.
typedef B<X extends A<A<X>>> = A<X>;
          ^
t.dart:1:9: Context: This is the type variable whose bound isn't conformed to.
class A<X extends A<X>> {}
        ^
t.dart:2:32: Error: Type argument 'X/*1*/' doesn't conform to the bound 'A<X/*2*/>' of the type variable 'X' on 'A'.
 - 'X/*1*/' is from 't.dart'.
 - 'A' is from 't.dart'.
 - 'X/*2*/' is from 't.dart'.
Try changing type arguments so that they conform to the bounds.
typedef B<X extends A<A<X>>> = A<X>;
                               ^
t.dart:1:9: Context: This is the type variable whose bound isn't conformed to.
class A<X extends A<X>> {}
        ^

$> dartanalyzer --enable-experiment=nonfunction-type-aliases t.dart
Analyzing t.dart...
  error - 'A<X>' doesn't conform to the bound 'A<A<X>>' of the type parameter 'X'. - t.dart:2:23 - type_argument_not_matching_bounds
  error - 'X' doesn't conform to the bound 'A<X>' of the type parameter 'X'. - t.dart:2:25 - type_argument_not_matching_bounds
  error - 'X' doesn't conform to the bound 'A<X>' of the type parameter 'X'. - t.dart:2:34 - type_argument_not_matching_bounds
3 errors found.

As we can see form the output above, Dart claims about the line 2:11 and 2:32 whereas analyzer claims about the line 2:23, 2:25 and 2:34.
Seems like the both tools should behave in the similar manner.
It's affects co19 test LanguageFeatures/Instantiate-to-bound/nonfunction_typedef/static/nonfunction_l1_t04.dart

cc @eernstg

cc @stefantsov

The considerations in this comment would apply here as well: We will not consider small differences in error location (or length) as bugs, as long as the meaning of the error message can reasonably be claimed to be the same.
In this case, the errors are that (1) the bound A<A<X>> in B is not well-bounded (X cannot be used as a type argument to A, and A<X> cannot be used as a type argument to A), and (2) the body A<X> in B is not well-bounded (X cannot be used as a type argument to A). In both cases, we only have the assumption X <: A<A<X>>.
This is also the errors that are reported by the analyzer, and I think there's no reason to make this issue 'area-analyzer'.
For the CFE, however, I do think that it's a bit less readable when the error messages use the declarations rather than the applications to inform the developer about the bound violation:
... 'A<X/*1*/>' doesn't conform to the bound 'A<X/*2*/>' ...
 - 'X/*1*/' is from 't.dart'.
 - 'X/*2*/' is from 't.dart'.

I think we could have had something like the following, and also that this would be more readable:
... 'A<X>' doesn't conform to the bound 'A<A<X>>' ...
 - 'X' is from 't.dart' at line 2:13.

We would only have one X in this case, because we aren't showing the bound A<X> from line 1:19-or-so, we are showing the instantiation of the bound in the case where that X is bound to A<X>.
Another confusing detail is that the CFE reports an error on the bound, but it puts the location marker on the type parameter declaration (line 2:11 rather than line 2:23).
@stefantsov, do you agree that these changes could be an improvement? I'll keep the label 'area-front-end' and add 'improve-diagnostics' to reflect this perspective.

Yes, it's a long-standing issue of the CFE — not having the right offsets for errors involving types. In Kernel, the offsets aren't stored on DartType, so we point to the next best location, such as the type variable that has issues in its bound or the name of a method that has issues in its return type. I agree that changing the location for the error would be an improvement, and I think we should approach it on a case-by-case basis, as adding the offset to DartType probably would be too much of a change. I'll look into this particular case.


Table Header Column separate component problem

Hi everyone!
I want to render a table with many columns (around 60) and I'd like to be able separate all the logic for Header columns and sorting in a different React module. This is what I've done:
 <Table  ..... >
    <ColHeader type='id' />
 </Table>

// separate file
ColHeader = React.createClass({
    render() {
         var type = this.props.type;
         return (
            <Column
                headerRenderer={this._renderHeader}
                label={type + (this.state.sortBy === type ? sortDirArrow : '')}
                width={100}
                dataKey={type}
                />
    }
});

The problem with this is that I get this error:
Uncaught Error: Invariant Violation: child type should be <FixedDataTableColumn /> or <FixedDataTableColumnGroup />

Can anyone please help me? I really want to have all the Heading logic in a separate module.

Hi @fullvlad!
We actually maintain that the direct children of the table are either the Fixed Data Table Column group or fixed data table column. To get this kind of behavior, you may want to instead use a generator function to create those columns.

Thanks for the answer.
Do you have a sample code? I've never used a generator before.

As a really rough case, it's just a function that returns a react element, like:
function createColumn(id){
   // What you want here
   return <Column
     headerRenderer={renderHeader}
     label={id}
     //...your other props
     />
}

I've closed this since there hasn't been any activity - hopefully this has solved your problem. Let me know  if you still need help!

Is it possible to allow composition on Columns?
Something like this
<Table>
  { makeColumnDraggable(<Column />) }
  { makeColumnDraggable(<Column />) }
  { makeColumnDraggable(<Column />) }
  { makeColumnDraggable(<Column />) }
</Table>


API for adding scheduled maintenance

Would you please consider adding an API endpoint for adding/removing scheduled maintenance?  It seems there's an endpoint for incidents and for components and for metrics, but not yet one for scheduled maintenance.

Thank you for suggestion! Yes, there should be the API endpoint for scheduled maintenance. I will add the feature sometime soon.

Now the maintenance API is available on v0.6.2.
https://lambstatus.github.io/apidocs/#maintenance


go assembly file call c library func ,how build?

What version of Go are you using (go version)?
go version go1.12.5 linux/amd64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/root/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build448552426=/tmp/go-build -gno-record-gcc-switches"

What did you do?
Since cgo is particularly slow, I plan to use go's assembly language, first convert the .c file to a C language assembly, then use c2goasm to convert to the go language assembly language, because my .c file calls other libraries. The library is the standard library for the system. So how do I compile at this time? Go build support link other dynamic libraries instead of cgo?
What did you expect to see?
What did you see instead?

I would probably use //go:generate instructions to automate this without the need for external tools:
https://blog.golang.org/generate Otherwise, many people also use a makefile.

Your plan is not safe.  There is a reason that cgo does the things that it does; it's not actively trying to be slow.
I'm going to close this issue because there is nothing to fix.  I'm not really sure what you are asking.  I recommend that you discuss this on a forum; see https://golang.org/wiki/Questions.


Remove PLUGIN.HasConfig

This is something that should be automatically detected based on if LoadDefaultConfig() exists.

Completed in latest PR.


I-Love-Israel

Addon Manifest URL
https://jackett-v79c.onrender.com/manifest.json
Addon Description
watch movies and series
Language of Content
None
Choose Labels

[ ] anime
[ ] asian drama
[ ] bollywood
[ ] cartoons
[ ] debrid support
[ ] http streams
[ ] live tv
[ ] metadata
[ ] misc
[X] movies
[ ] music
[ ] nsfw
[ ] podcasts
[ ] radios
[ ] subtitles
[X] torrents
[X] tv shows
[ ] video games

Can you add real debrid support?thank you

It would be a thoughtful and inclusive approach to consider renaming the addon in order to ensure that people from all backgrounds, regardless of race, color, nationality, or religion, can enjoy it without encountering any potentially controversial or uncomfortable topics.

It would be a thoughtful and inclusive approach to consider renaming the addon in order to ensure that people from all backgrounds, regardless of race, color, nationality, or religion, can enjoy it without encountering any potentially controversial or uncomfortable topics.

I appreciate your great work thank you. But I don't think anyone should be offended, Israel is a great country.

I appreciate that you are bringing an installable Jackett addon to the community, but you really should not doing this with bringing politics with it. And not because you are right or wrong, but because I don't want to see politics at the place where I go to forget about it. It's just invasive and not done in a good taste. When I go and watch Nightmare before Christmas, I don't want to think about loving any country, not even mine, because it's not the right time for it.
Please rename it to just Jackett.
Also, it would be great if the sources were organised properly by resolution/seeders. Real-Debrid would be nice too:)

Addon name updated to Jackett

Thank you!

This addon status offine the jackett addon that happened with the jackett addon in stremio app

Free Palestine.

The add-on is down.


enable downloading of all protein matches of a tryptic peptide

Add the option to download all protein matches of a tryptic peptide in FASTA format. I guess this could be done using a UniProt web service if this could not be done directly from the Unipept database. Users may want to align these protein sequences to see how homologuous they are. Another option is to select these proteins in UniProt (not one by one, but all of them, so that the UniProt features for downloading and further processing can be used).
Original issue by @pdawyndt on Mon Mar 09 2015 at 22:11.
Closed by @bmesuere on Sat Jul 04 2015 at 15:35.

Also add the option to copy the list of protein IDs to the clipboard.
Original comment by @pdawyndt on Fri Mar 13 2015 at 15:31.


Fix that tooltip doesn't work on demo page

Fix to use bootstrap.bundle.min.js because Popper.js is necessary to use bootstrap's tooltip.
https://getbootstrap.com/docs/4.0/components/tooltips/#overview
Fix that tooltip is not able to get the value of title.

awesome, thanks @kaacun!! 🎉


Assess Harmony integration

Harmony is a fast and secure blockchain for decentralized applications. The production mainnet supports 4 shards of 1000 nodes, producing blocks in 2 seconds with finality.
The Effective Proof-of-Stake (EPoS) reduces centralization while supporting stake delegation, reward compounding and double-sign slashing.
Harmony aims to build an open network of nodes operated and governed by a large community. This node community is called Pangaea.

Key Innovations:

Fully scalable architecture: Harmony’s sharding works not only on the network communication and transaction validation, but also on the blockchain state. This makes Harmony fully scalable on all three aspects of the blockchain: network, storage and transaction processing.

Harmony ONE is an Ethereum EVM 100% compatible blockchain, and is very good at decentralized application (Dapp) development within many possible verticals including DeFi, NFT, Gaming, and many others:

https://www.youtube.com/watch?v=rFmVIA6Jvmg

However:

Harmony nodes provide means at the JSONRPC level to let apps sign for Harmony special kind of transactions: staking transactions, cross-shard transactions, ... Should we need to handle these for any reason, we would be needing to create a special web3-jsonrpc gateway for Harmony. In this case, there's a Harmony Ethers.js Wrapper available.
There's also a CALL2 Harmony-specific opcode available for smart contracts needing to call contracts deployed in different shards.

Concerning Randomness in Harmony:

Harmony brings the technology of VRF (Verifiable Random Function) natively on chain to create a optimal solution for randomness that is unpredictable, unbiasable, verifiable and immediately available.
The VRF data are available to be consumed by any chain clients by querying the block header.
VRF data are also available in the smart contract level via a new EVM precompiled contract at address 0xff. Any smart contract on Harmony can access it with following solidity assembly code:function vrf() public view returns (bytes32 result) {
  uint[1] memory bn;
  bn[0] = block.number;
  assembly {
    let memPtr := mload(0x40)
    if iszero(staticcall(not(0), 0xff, bn, 0x20, memPtr, 0x20)) {
      invalid()
    }
    result := mload(memPtr)
  }
}

Other particularities:

HDWallets in Harmony follow a different derivationPath: m/44'/1023'/0'/0
Harmony uses bech32 address format with one1 prefix. However, Ethereum style hex address can also be used.

Will try to deploy contracts to Harmony Testnet:

[ ] Use faucet to get 1000 ONE
[ ] Set-up Ethers gateway against https://api.s0.b.hmny.io (shard #0)
[ ] Witnet Solidity Bridge:

WitnetDecoderLib:
WitnetParserLib:
WitnetPriceRouter:
WitnetProxy:
WitnetRequestBoardTrustableDefault:

[ ] Witnet Pricefeeds:

Price-BTC/USD-6:
Price-ETH/USD-6:


Enhancement - placeholder (%s, %d) replacement in settings

Hi,
it would be nice -  to be able to send some variables with the key. So that placeholders in the value string will be replaced. For example:
'message' => setting('general.confirmation.mail_body',null,[auth()->user()->signature]).
I'm currently using vsprintf in order to make this work.
Thanks for this package!

Changing the functionality of settings I think would be confusing.
I would be inclined to have a function named settingf and set_settingf instead.

Hey, thanks for the suggestion!
I don't really think that PHP offers a nice way to provide this sort of functionality. Your example looks awkward with the null in the middle, for example. We could provide things like format_setting but then we should also provide things like translate_setting, and there are potentially multiple ways of formatting strings... I think it's best to just keep using sprintf.

I am using a helper function - settingf - now. Thanks for the suggestion @bweston92!


Eth2 utils package

moved stuff used in multiple packages to util package

resolves #340

can you try rebasing? I'm curious to see if the label-bot works

can you try rebasing? I'm curious to see if the label-bot works

I'm pretty sure I started from current master

I'm pretty sure I started from current master

It only got merged in yesterday (i think), checked your branch doesn't have the github lables. Not a big deal, don't stress about it

@GregTheGreek they work :)

@mpetrunic  :D Going to go crazy with this...

@GregTheGreek @wemeetagain @tueric Finnally sorted this PR :smile:


Playservices r19 is needed, but i already have v.22

Hi,
i can't compile the app with your plugin as i'm using GoogleAnalytics plugin that require
com.google.play.services (v22)
on the contrary your plugin require
com.google.playservices r19 (note missing dot)
both dependencies conflicts in name and version.
how to fix?

Found the solution.
as your plugin is perfectly working with Playservices 22 too, i would remove the "com.google.playservices" dependency and add it as a requirement in the readme so that each user can use the version it eventually already have.
Actually i've found that "com.google.play.services" (note the additive dot) is updated more frequently than com.google.playservices (missing dot) and infact actually it bind the most recent version of PlayServices (v.22).
I'll request a pull.

Buddy, maintenance is not that easy ...
I know this plugin is compatible with google playservices r22, but keep it dependent on r19 intentionally, until r22 is supported by all the build tools, especially intel xdk and phonegap build, because sometimes they are not always keeping updated to the latest version of android sdk.
Before merge your patch, it has to be tested sufficiently with all the build tools and make sure it works.

My friend i completely agree with you about testing and cross-compatibilty enviroinment handling but in this moment you are limiting anyone is using a greater version of Playservices and furthermore you are  limiting anyone is using a Playservices r20+ dependant plugin.
Here the major problem is in the plugin definition  is set a specific package name for the PlayServices package...
In this (probably wrong) cordova enviroinment where 2 or more non-official Playservices binding package may exist ("com.google.playservices" and "com.google.play.services" ) instead of one single and official/canonical, i think you should leave developers free to choose Playservices plugin to install.
In this moment, apart of having forked this repo cloned, the only solution to mantain an app that use your plugin and the one for GAnalystics is to note a complex order of commands to remove and readd plugins so that the last Playservices leaved is the r22.
My patch in my pull-request isn't adding anythign to the code. i simply removed completely the PlayServices dependency in the plugin definition file and added detailed instruction in the main Readme file on how to add it underlining it is a requirement... I wasn't aware of the specific r19 strong dependency for other platform like XDK so i haven't wrote about this, but we could add it in the readme...
What do you think about?

See: http://plugins.cordova.io/#/package/com.google.playservices
it's the most popular plugin to add google play services jar, and it's maintained by google chrome app team.
what I am using is compatible with it, if you wish to use newer version, try this one. but please avoid other id like "com.google.play.services", it will conflict with other plugins.


test error

Dear author,
I am running the example data:  REforge.py data/tree_simulation.nwk data/motifs.wtmx data/species_lost_simulation.txt elements_simul.ls --windowsize 200 --scorefile scores_simulation -bg=background; bash alljobs_scores_simulation > scores_simulation. However, I got the warning:
WARNING:root:Error in score_sequence_with_stubb: Command 'stubb_noPseudoCount AGTGGTAGTAGGCTGTCAAGGCAATATGAGGACATTCGGGACCGTTGTCGGACTCCCGCCTGTACGGAGCTCGACTGGAGTTAGGGAGCATCAAGATATAAATTCAGGATCACTCTGAACCTATGAATGGAGCTTAGAAGCGGCACATGATCGAGTCTTCGTAAATCTAGGCCAGCGTTAAAGTTCAGTGCGTCTCACTGG data/motifs.wtmx 200.0 1  -b /data/01/p1/user157/software/REforge/example/background//gc0.49/gc0.49.fa -brief -seq' died with <Signals.SIGKILL: 9>.
WARNING:root:Error in score_sequence_with_stubb: Command 'stubb_noPseudoCount ACGGATCGCATTCCCATCTCCGGACTGCATTATTCGAACGCCGGGTATGGTATATATGTAGGGCTATGGGGAAATTTGAGATAAGGACAGGGGATTAGCCTGCACCGTGTTAAACATGGTCAGGAAACCAGGTACGTCGGCATACGTCCAATCATATTGCAAGTAGCTTGAACAAGTAGGCCACGTCGGTTTTGGGGCCGA data/motifs.wtmx 200.0 1  -b /data/01/p1/user157/software/REforge/example/background//gc0.49/gc0.49.fa -brief -seq' died with <Signals.SIGKILL: 9>.

The result file scores_simulation is abnormal:

Additionally, I noticed the similar error in the link [https://github.com/hillerlab/REforge/issues/4]. I think maybe the error is due to stubb program and  the directory /data/01/p1/user157/software/stubb_2.1/bin only include stubb_fitprobs_noPseudoCount, stubb_fixedprobs_noPseudoCount and stubb_noPseudoCount, not
stubb
stubb_fitprobs
stubb_fixedprobs
stubbh01
stubbh01f
stubbms
stubbms_modifyalignments
I try all ways in the https://github.com/hillerlab/REforge/issues, but did not work.
Could you give me any suggestions?
Looking forward with your reply.
Best wishes!
Na Wan

Thx for reporting this. I'll ping Bjoern, who can hopefully help here.


Support for VersionId in s3 file system

TensorFlow version 2.4.1

Support VersionId argument in s3_file_system operations like reading (currently this is not supported by tensorflow even though it is supported by the underlying aws sdk).
I want to be able to load a model with a specific VersionId from a versioned AWS S3-bucket in tf-serving.

In the light of https://github.com/tensorflow/tensorflow/issues/48009#issuecomment-805965233 can you please post your issue on tensorflow/io repo. Thanks!

ok, I opened https://github.com/tensorflow/io/issues/1354#issue-852733649

@sebastianschramm Let's close this issue and keep the conversation on https://github.com/tensorflow/io/issues/1354#issue-852733649


Conditional types incorrect for complex types

TypeScript Version:  3.7.2
I'm seeing incorrect behavior when I extend a computed type that's more than a few levels deep. When I explicitly define the type, I don't see the same behavior. I'm guessing that complex types are getting implicitly cast to any in this circumstance – tsc should probably either instantiate the correct type or cast them to unknown with a warning when they're too big.
This is admittedly a contrived example but I've run into similar issues when, for example, developing https://github.com/ostrowr/ts-json-validator
Search Terms:
depth, conditional types, extends, implicit any
Expected behavior:
shouldBeFalse and correctlyFalseWhenExpanded are both false (see code snippet below)
Actual behavior:
shouldBeFalse is True (i.e. 6 == 5 in my contrived version of Peano arithmetic)
Related Issues:

https://github.com/microsoft/TypeScript/issues/30152 (maybe related)
https://github.com/microsoft/TypeScript/issues/29511 (discussion around implicit casts to any)

Code
type Natural = { prev: Natural }
type Zero = { prev: never }

type Equals<A extends Natural, B extends Natural> =
    A extends B ?
        B extends A ?
        true :
        false :
    false

type S<T extends Natural> = { prev: T }

type One = S<Zero>
type Two = S<One>
type Three = S<Two>
type Four = S<Three>
type Five = S<Four>
type FiveByHand = { // this is the exact same type as Five, just manually expanded
    prev: {
        prev: {
            prev: {
                prev: {
                    prev: {
                        prev: never;
                    };
                };
            };
        };
    };
}
type Six = S<Five>
type SixByHand = { // this is the exact same type as Six, just manually expanded
    prev: {
        prev: {
            prev: {
                prev: {
                    prev: {
                        prev: {
                            prev: never;
                        };
                    };
                };
            };
        };
    };
}
type correctlyFalseForShallowTypes = Equals<Four, Five> // type: false
type correctlyTrue = Equals<Four, Four> // type: true
type shouldBeFalse = Equals<Five, Six> // type: true (should be false!)
type correctlyFalseWhenExpanded = Equals<FiveByHand, SixByHand> // type: false (as expected)

Output
"use strict";

Compiler Options
{
  "compilerOptions": {
    "noImplicitAny": true,
    "strictNullChecks": true,
    "strictFunctionTypes": true,
    "strictPropertyInitialization": true,
    "strictBindCallApply": true,
    "noImplicitThis": true,
    "noImplicitReturns": true,
    "useDefineForClassFields": false,
    "alwaysStrict": true,
    "allowUnreachableCode": false,
    "allowUnusedLabels": false,
    "downlevelIteration": false,
    "noEmitHelpers": false,
    "noLib": false,
    "noStrictGenericChecks": false,
    "noUnusedLocals": false,
    "noUnusedParameters": false,
    "esModuleInterop": true,
    "preserveConstEnums": false,
    "removeComments": false,
    "skipLibCheck": false,
    "checkJs": false,
    "allowJs": false,
    "declaration": true,
    "experimentalDecorators": false,
    "emitDecoratorMetadata": false,
    "target": "ES2017",
    "module": "ESNext"
  }
}

Playground Link: Provided

I think there is 5 level limit on recursive types.
This Build 2018 presentation is the source of my understanding. Though, might not be the case anymore after 3.7.*.

Whatever the limit is, I think TS should never implicitly cast something to any when --noImplicitAny is set

I believe this is actually fixed by https://github.com/microsoft/TypeScript/pull/46599 – thanks!

This change means we'll do less work to detect and stop infinitely generated types, but will check manually nested types to any depth. Previously we couldn't distinguish between the two.

This is awesome. So, no longer a design limitation :)


[SDA-4764] Hide region arg in account roles commands

Related issue: SDA-4764
What
Account roles region arg should be hidden
Why
Account roles commands don't need to specify region as they are global
Before changes
Global Flags:
      --color string     Surround certain characters with escape sequences to display them in color on the terminal. Allowed options are [auto never always] (default "auto")
      --debug            Enable debug mode.
      --profile string   Use a specific AWS profile from your credential file.
      --region string    Use a specific AWS region, overriding the AWS_REGION environment variable.
  -y, --yes              Automatically answer yes to confirm operation.

After changes
Global Flags:
      --color string     Surround certain characters with escape sequences to display them in color on the terminal. Allowed options are [auto never always] (default "auto")
      --debug            Enable debug mode.
      --profile string   Use a specific AWS profile from your credential file.
  -y, --yes              Automatically answer yes to confirm operation.

/retest

/lgtm


News API functionality

Add News API integration to fetch and display the latest news articles for the searched city. Ensure API key configuration in the .env file for secure access.

Also make new page/redirect to new page for displaying news of the specific city

News functionality added successfully

Seems nice!


Incorrect number of samples in encryption info

gamdl "https://music.apple.com/us/album/never-gonna-give-you-up-2022-remaster/1626265761?i=1626265765"
i tried it, but when it completed download, it just have below error which leads to corrupted file
gamdl "https://music.apple.com/us/album/never-gonna-give-you-up-2022-remaster/1626265761?i=1626265765"
[WARNING  08:37:51] mp4decrypt not found at "mp4decrypt", music videos videos will not be downloaded
[INFO     08:38:07] (Track 1/1 from URL 1/1) Downloading "Never Gonna Give You Up (2022 - Remaster)"
[aac @ 000001d1aef64c00] channel element 2.13 is not allocated
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001d1aef52bc0] Incorrect number of samples in encryption info
temp\1626265765_encrypted_audio.m4a: Invalid data found when processing input
[INFO     08:38:17] Done (0 error(s))

gamdl "https://music.apple.com/vn/album/part-1/1435767440?i=1435767442" --songs-heaac true
[ERROR    09:11:56] (URL 2/2) Failed to check "true"
[INFO     09:11:56] (Track 1/1 from URL 1/1) Downloading "Part 1"
[aac @ 000001b095364c00] decode_pce: Input buffer exhausted before END element found
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b095352bc0] Incorrect number of samples in encryption info
temp\1435767442_encrypted_audio.m4a: Invalid data found when processing input
[INFO     09:12:02] Done (1 error(s))

You need a recent version of FFmpeg.

oh thank you, i just realized my ffmpeg one year old lol

ffmpeg 7.1_3
macOS Sonoma14.7 doesn't work
Incorrect number of samples in encryption info
Last message repeated 1 times
temp/965768365_encrypted.m4a: Invalid data found when processing input


Removed unused imports

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Not that that does anything yet ;)


Add solc with 2^251 addresses

The previous nethersolc used STARKNET_FIELD_PRIME, which is slightly bigger than 2^251

Just pinging ohad with a confirmation on this.

Dom confirmed it in a different PR


Fix type bug

What was wrong?
The addition of type checking to rust-pyspec-glue revealed a missing type assertion.
Cute Animal Picture

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

Comparison is base (e69b389) 74.05% compared to head (3518588) 74.05%.
Report is 5 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #842   +/-   ##
=======================================
  Coverage   74.05%   74.05%
=======================================
  Files         571      571
  Lines       31741    31741
=======================================
  Hits        23507    23507
  Misses       8234     8234

Flag
Coverage Δ

unittests
74.05% <ø> (ø)

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

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


Update UI

made panels side-by-side
added button to copy zoom link url
minor cosmetic fixes

Great


Update to dev version string with next patch version

(0.3.1 was successfully deployed here.)

maybe switch to setuptools_scm?

I would accept such a PR 😂, but I do not consider it a priority.


Blocking Conditions does not work during Gateway restart

Description:
Blocking conditions does not work during gateway restart.
Affected Product Version:
APIM 2.2.0

This issue is fixed with https://github.com/wso2-support/carbon-apimgt/pull/1208


Contributor Rules

What you will read under has been agreed by the current active team in order to keep a good flow of work and proper management. You are welcome to put suggestions in the comments in order to discuss it with the TEN team.
General rules
1. Developer

If you wish to contribute to the TEN project, you must read and follow the coding convention used by the team, available here : #294
Do not work directly on master nor any branch which may be developed by several members. Create your branch, and name it with a clear description of the feature/set of features you are working on. You may regularly merge/rebase master or the active development branch with yours.
Be respectful to other developers. Disagreements may occur on code style, changes, and should be discussed directly with the person who pushed or merged the commit/branch. If you are unsure of what some parts of the code means, or why a decision was made, contact the team as a whole so they can be explained to you.
Do not make a pull request until your branch and features are extensively tested by the QA team. You are invited to test your feature set as much as you can too.
If you are allowed to merge PRs, do not do such until code has been properly reviewed, preferably by more than one person.
Merge PRs using squash and merge mode to preserve main branch history in original state. For squash merge commit, leave list of commits in commit description (GitHub does it automatically in both desktop client and web interface).
Do not revert active development branch to a previous commit unless you are absolutely sure there will be no regressions. Do not revert parts of code to a previous state for the same reasons. In both of those cases, the entire team needs to be aware of it and agree on the decision.
There are three key branches arranged in a hierarchy: master, develop, and test. master is to be used for releases, and nothing else. develop is based on master and may be used for active development. Every PR should use it as its base. test is based on develop and serves as the "freshest" branch where testing and bugfixes occur. To keep in sync, for release period they are to be merged in the following order: test -> develop -> master.

2. Tester

Be respectful with the developer you are testing the feature of.
New features or bug fixes should be tested with several use cases, if not all possible use cases you can think of, of this feature. This avoids going back to it in the future because of missed test cases.
Pay attention to any regressions. Developer may have touched part of the code that could break other linked or unlinked features. Features or bug fixes can't be considered done if there are any regression elsewhere.

Issues handling
1. General

Preferably, write one issue for one specific bug. List of bugs should stay rare, unless they are closely related to each other.
Follow the progress of features/fixes on the project board.
Do not assign a dev to an issue. They will do so themselves
Carefully choose the labels you add to the issue

2. Developer

Assign yourself to an issue you want to work on available in the To do column of the project board. Add this feature to the "In progress" column. Make the team know you are working on it both by adding a comment to it and via Discord, on the strategy channel of Tomb Engine.
Regularly update the status of the task by adding comments. If you are stuck, let other people know if they can help.
Do not pass an issue as done unless fixes or features are fully tested and merged with active dev branch

3. Tester

Give the Developer as much detail as you can about the bug you're writing for, and an easy way to reproduce it.
Update and comment the issue with the tests you've done and your findings after fixes.

https://github.com/MontyTRC89/TombEngine/blob/master/CONTRIBUTING.md


group consumers getting the same messages

I was trying this out - running the group consumer example in the README.md, so the default round-robin strategy. Running the consumer in two different processes - the console messages seem reasonable, joining and electing leaders. But pushing messages through tends to show up in both consumers - is this expected?

No, this is not expected behaviour. Can you please share the logs of both consumers?

So - this behaviour seems to come about after a bit of shutting down and restarting the consumer processes. It's not predictable, as far as I can tell, but given enough tries I can always get it to happen. I've included in the gist logs from the two consumers from their last start.
https://gist.github.com/nybble73/7e43ae08752caf47e8d9

Thanks!

This is great! Looks like it's working perfectly now. Thank you!


term.posts not sorted by menu_order by default

I'm using Timber::get_terms to get non-empty terms for a given taxonomy. Each one of those terms is correctly sorted (given their menu_order). After looping over this, I need to print the posts using the current term. This is were things don't work as expected.
Somewhat related to #1366 maybe?
Expected behavior
I'd expect work.posts to be returned according to their menu_order just like the default WP_Query would do when using one of these plugins:

https://es.wordpress.org/plugins/intuitive-custom-post-order/
https://es.wordpress.org/plugins/simple-custom-post-order/

Actual behavior
Returned posts are ordered by some other parameter, I guess it must be because the class has some kind of default arguments in case they're not provided.
Steps to reproduce behavior
Here's a simplified version of what I'm doing:
$data['works'] = Timber::get_terms(
	array(
		'taxonomy'   => 'category',
		'hide_empty' => true,
	)
);

{% for work in works %}

        {% for project in work.posts %}

{{ project.title }}

        {% endfor %}

{% endfor %}

What version of WordPress, PHP and Timber are you using?
WordPress 5.0.3, PHP 7.2, Timber 1.8.4.
How did you install Timber? (for example, from GitHub, Composer/Packagist, WP.org?)
Upgraded to newest version via plugin updater in WordPress dashboard.

There is a way to make it working:
public function posts( $numberposts_or_args = 10, $post_type_or_class = 'any', $post_class = '' ) {
	return $this->get_posts($numberposts_or_args, $post_type_or_class, $post_class);
}

so you can pass $args to this method:
{% for work in works %}

        {% for project in work.posts( ARGS_GOES_HERE ) %}

{{ project.title }}

        {% endfor %}

{% endfor %}

I just had exactly the same use case this morning. But I had no problems using the Simple Custom Post Order plugin. When I change the menu order for the posts, they appear in the correct order when looping with $term->posts().
There could be something that affects the query. I’ve found that this is usually very specific to a project. It could be a plugin that is not working well with Timber. If you can find out what exactly it is that’s breaking the order, that would help a lot. Timber does some things that breaks compatibility and we are trying to make it better. But we’d need a case that we can reproduce and test.
@palmiak I think there’s no way we can provide arguments used in the query, except for the number of posts and the post type. So it’s not possible to provide the orderby argument for the query that would be needed for this. Or am I missing something?
Thinking of this, I guess this is pretty much the same case as https://github.com/timber/timber/pull/1845, where we updated the "opposite" function (getting the terms for a post) to make it possible to have full control over the query. Going forward, I would refactor the Term::posts() function to make it easier to control what it’s doing.

$args = $numberposts;
$new_args = array();
parse_str($args, $new_args);
$args = $new_args;
$args['tax_query'] = $default_tax_query;
if ( !isset($args['post_type']) ) {
	$args['post_type'] = 'any';
}

or
//they sent us an array already baked
$args = $numberposts;
if ( !isset($args['tax_query']) ) {
	$args['tax_query'] = $default_tax_query;
}
if ( class_exists($post_type) ) {
	$PostClass = $post_type;
}
if ( !isset($args['post_type']) ) {
	$args['post_type'] = 'any';
}

I think that we can pass all the parameters. I of course I'm writing this during my coffee break without testing, but in theory it should be ok. Correct me if I'm wrong.
I'll investigate a bit more after work how the plugins work and why they won't work with Timber by default.

@palmiak Oh yeah, now I see 🙈! I guess I only saw $numberposts for Term::get_posts() and thought that was the only thing it accepts.
In that case, I think we should make it more clear that arguments can be passed directly. I’ll take care of adding more documentation for this 👍.
Of course that doesn’t solve the issue that it should work without passing in any special arguments.

Documentation was updated related to this issue and solutions provided in the second reply. Closing this.


Show schedule across all projects

What exactly do you mean by that?

Right now if I want to see what items I have today that have a specific time I use
tod task list --scheduled

And then tod prompts me for a project, then shows me the agenda sorted by time for that project. I think that it would be cool if I could get the agendas for all projects and then sort them in one list by time.

I find that I lack the ability to see my tasks in some form of a dashboard.
Maybe we can implement it and provide different "views" or sort options?

Maybe a "all projects" option for the generic tod task list would be good too? This feature could cover both options I think.

I'll create a separate issue for my workflow so you can share yours too!

Closing as this can be accomplished now with filters


Meteor Mongo Connection

I love the mongotron UI, but it fails connecting to Meteor's Mongo Database
host: <IP_ADDRESS>
port: 3001
username and password are empty.

Are you seeing an errors? Do you have mongod? Need more info, maybe a screenshot.

@officert Mongod is running. But yes sorry forgot to include the error.
Message: Field Missing/Wrong Type in received authenticate command

Sounds like it could be an issue related to Mongo 3 and the new authentication mechanism.
https://github.com/andzdroid/mongo-express/issues/55
Can you tell me what version of MongoDB you're using? and which version of Mongotron are you using?
thanks @fallenpeace !

@officert
Meteor uses 2.6.7, here is the logged events that happen when mongotron tries to connect, if it helps.
2016-01-20T14:48:15.388-0800 [initandlisten] connection accepted from <IP_ADDRESS>:52687 #34 (25 connections now open)
2016-01-20T14:48:15.389-0800 [initandlisten] connection accepted from <IP_ADDRESS>:52688 #35 (26 connections now open)
2016-01-20T14:48:15.389-0800 [initandlisten] connection accepted from <IP_ADDRESS>:52689 #36 (27 connections now open)
2016-01-20T14:48:15.389-0800 [initandlisten] connection accepted from <IP_ADDRESS>:52690 #37 (28 connections now open)
2016-01-20T14:48:15.390-0800 [initandlisten] connection accepted from <IP_ADDRESS>:52691 #38 (29 connections now open)
2016-01-20T14:48:15.391-0800 [conn34]  authenticate db: meteor { authenticate: 1, user: null, nonce: "xxx", key: "xxx" }
2016-01-20T14:48:15.392-0800 [conn35]  authenticate db: meteor { authenticate: 1, user: null, nonce: "xxx", key: "xxx" }
2016-01-20T14:48:15.392-0800 [conn36]  authenticate db: meteor { authenticate: 1, user: null, nonce: "xxx", key: "xxx" }
2016-01-20T14:48:15.392-0800 [conn37]  authenticate db: meteor { authenticate: 1, user: null, nonce: "xxx", key: "xxx" }
2016-01-20T14:48:15.392-0800 [conn38]  authenticate db: meteor { authenticate: 1, user: null, nonce: "xxx", key: "xxx" }
2016-01-20T14:48:15.402-0800 [conn34] Failed to authenticate @meteor with mechanism MONGODB-CR: ProtocolError field missing/wrong type in received authenticate command
2016-01-20T14:48:15.403-0800 [conn36] Failed to authenticate @meteor with mechanism MONGODB-CR: ProtocolError field missing/wrong type in received authenticate command
2016-01-20T14:48:15.403-0800 [conn35] Failed to authenticate @meteor with mechanism MONGODB-CR: ProtocolError field missing/wrong type in received authenticate command
2016-01-20T14:48:15.403-0800 [conn37] Failed to authenticate @meteor with mechanism MONGODB-CR: ProtocolError field missing/wrong type in received authenticate command
2016-01-20T14:48:15.403-0800 [conn38] Failed to authenticate @meteor with mechanism MONGODB-CR: ProtocolError field missing/wrong type in received authenticate command

@fallenpeace are you using the v1.0.0-alpha.2 of Mongotron?
https://github.com/officert/mongotron/releases
if so, I think there is a fix in the latest code but I haven't created a new release for it yet.

@officert I wasn't, but same issue.
However :), I was finally able to connect with both the official release and alpha.2, I omitted the database name when setting up the connecting inside of mongotron and success!
Connection Name: Meteor
Database Name:
Host: <IP_ADDRESS>
Port: 3001
Username:
Password:
Awesome, well there's that.
Love the work you've done with mongotron. I was previously looping through other mongo GUI's and their interfaces are just meh, compared with this one.

@fallenpeace do you mind updating to the latest code and seeing if you get the same issue. I just pushed a commit
https://github.com/officert/mongotron/commit/dd02f1e38278579f1051a13ae1a082cc632873fb
The problem was when we check if the connection is to localhost we were only checking for 'localhost', not '<IP_ADDRESS>'.

@fallenpeace Thanks! glad you like it :+1:
If you have any feedback or features you'd like to see implemented would love to hear
https://github.com/officert/mongotron/issues/46

I couldn't update to the latest commit. I get errors.
[14:10:50] gulp-symlink:/Users/Aphects/Development/oss/mongotron-master/src symlinked to ./node_modules/src
[14:10:50] gulp-symlink:/Users/Aphects/Development/oss/mongotron-master/src/lib symlinked to ./node_modules/lib
Potentially unhandled rejection [2] '../vendor/bootstrap/less/bootstrap.less' wasn't found. Tried - /Users/Aphects/Development/oss/mongotron-master/src/ui/vendor/bootstrap/less/bootstrap.less,../vendor/bootstrap/less/bootstrap.less in file /Users/Aphects/Development/oss/mongotron-master/src/ui/less/main.less line no. 2
[14:10:50] gulp-symlink:/Users/Aphects/Development/oss/mongotron-master/tests symlinked to ./node_modules/tests
[14:10:50] gulp-symlink:/Users/Aphects/Development/oss/mongotron-master/package.json symlinked to ./node_modules/package.json
[14:10:50] Finished 'dev-sym-links' after 78 ms

Basically bootstrap and font-awesome are messing from the "vendor" folder, even after the "npm install" So i pulled them in from NPM.
Then when i do gulp release I get the following error.
[14:17:57] Starting 'release'...
Packaging app for platform linux ia32 using electron v0.36.0
[14:18:07] 'release' errored after 9.64 s
[14:18:07] Error: Command failed: /bin/sh -c npm prune --production
npm ERR! Darwin 15.4.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "prune" "--production"
npm ERR! node v5.1.0
npm ERR! npm  v3.5.0
npm ERR! path /private/tmp/electron-packager/linux-ia32/Mongotron-linux-ia32/resources/app/node_modules/.bin/babylon
npm ERR! code EEXIST

npm ERR! Refusing to delete /private/tmp/electron-packager/linux-ia32/Mongotron-linux-ia32/resources/app/node_modules/.bin/babylon: is outside /private/tmp/electron-packager/linux-ia32/Mongotron-linux-ia32/resources/app/node_modules/babylon and not a link
npm ERR! File exists: /private/tmp/electron-packager/linux-ia32/Mongotron-linux-ia32/resources/app/node_modules/.bin/babylon
npm ERR! Move it away, and try again.

npm ERR! Please include the following file with any support request:
npm ERR!     /private/tmp/electron-packager/linux-ia32/Mongotron-linux-ia32/resources/app/npm-debug.log

    at ChildProcess.exithandler (child_process.js:213:12)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at maybeClose (internal/child_process.js:818:16)
    at Socket.<anonymous> (internal/child_process.js:319:11)
    at emitOne (events.js:77:13)
    at Socket.emit (events.js:169:7)
    at Pipe._onclose (net.js:469:12)

Closing this, as I have fixed my issues.
Fixed this by fixing NPM permission and moving away from using "sudo" to install npm packages and moved the npm config prefix directory to a folder in my home directory. No more failures :)

thanks @fallenpeace glad you were able to resolve things. I need to do some more testing with NPM 3.


remove cd step in release ci and change workflows name

What type of PR is this?
/kind cleanup
What this PR does / why we need it:
remove the cd step in release ci and change the workflow name.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

/lgtm


Cannot index by key of type static constexpr const char*

This will not compile, error: use of overloaded operator '[]' is ambiguous (with operand types 'json' (aka 'basic_json<>') and 'const char *const'). Code:
static constexpr const char* _VAR1 = "MyKey";
void foo() {
nlohmann::json j;
j[_VAR1] = 10;
}

I can confirm the bug for Clang (Apple LLVM version 7.0.2 (clang-700.1.81)) and Clang 3.7:
Code:
#include <json.hpp>

using nlohmann::json;

int main()
{
    static constexpr const char* _VAR1 = "MyKey";

    nlohmann::json j;
    j[_VAR1] = 10;
}

yields:
issue171.cpp:10:6: error: use of overloaded operator '[]' is ambiguous (with operand types 'nlohmann::json' (aka 'basic_json<>') and 'const char *const')
    j[_VAR1] = 10;
    ~^~~~~~
src/json.hpp:2911:15: note: candidate function
    reference operator[](const typename object_t::key_type& key)
              ^
src/json.hpp:2959:21: note: candidate function
    const_reference operator[](const typename object_t::key_type& key) const
                    ^
issue171.cpp:10:6: note: built-in candidate operator[](long, const char *)
    j[_VAR1] = 10;
     ^
issue171.cpp:10:6: note: built-in candidate operator[](long, const volatile char *)
1 error generated.
make: *** [issue171] Error

Interestingly, GCC 5.2.0 works... I shall have a look at this later.

This seems related: http://stackoverflow.com/questions/8914986/should-this-compile-overload-resolution-and-implicit-conversions

The ambiguity is not really between the const and the non-const version. A different program yields
src/json.hpp:2959:21: note: candidate function
    const_reference operator[](const typename object_t::key_type& key) const
                    ^
issue171_1.cpp:13:15: note: built-in candidate operator[](long, const char *)
    auto x = k[_VAR1];
              ^
issue171_1.cpp:13:15: note: built-in candidate operator[](long, const volatile char *)

Is the entire root of the ambiguity this function:
operator value_t() const noexcept
{
return m_type;
}
which allows a json to be converted to an enum?  If so, should that just be removed in favor of the explicit type() function?

I'll look into it tomorrow.

I removed operator value_t() const noexcept and get the same error.
Then I tried removing operator ValueType() const and the code compiles. It seems to be the same issue as in http://stackoverflow.com/questions/8914986/should-this-compile-overload-resolution-and-implicit-conversions

After reading http://clang-developers.42468.n3.nabble.com/Why-doesn-t-this-compile-clang-implicit-conversions-amp-overload-resolution-td3668157.html, I added the constraint and not std::is_same<ValueType, long>::value to operator ValueType() const and the example compiles...

It seems like Clang is correct to reject the code, and the only fix I could think of is to forbid an implicit conversion of a json object to long. However, I think the latter usecase is way more common than the issue we try to fix...
In the end, j[_VAR1] = 10; could be replaced by j[std::string(_VAR1)] = 10;.
What do you think?

Right now, I am clueless how to fix the issue. As The use case is rather specific, I could live with closing the issue as "won't fix".

I have a solution for this.  It turns out that constexpr and static are irrelevant to the problem, which can be reduced to:
const char* _VAR1 = "MyKey";
nlohmann::json j;
j[_VAR1] = 10;

In addition the following also cause the same problem (c style casts for brevity):
char* _VAR1 = "MyKey";
j[_VAR1] = 10;
j[(const char*)"MyKey"] = 10;
j[(char*)"MyKey"] = 10;

Yet these all work:
char _VAR1[] = "MyKey";
j[_VAR1] = 10;
const char _VAR2[] = "MyKey";
j[_VAR2] = 10;
j[(const char)"MyKey"] = 10;
j[(char)"MyKey"] = 10;

There is a clear pattern.  The signature of the template we want to instantiate (the path it takes when it works) is this or its const_reference counterpart:
template<typename T, std::size_t n>
reference operator[](const T (&key)[n])

It would seem that this template is being rejected because for a char* there won't be a second template parameter.  The compiler then ignores this one and looks to all the single parameter templates, which are all equally bad (taking integers/enums) so it gives up.
The solution it would seem is to create another two template overrides in the general form:
template<typename T>
reference operator[](T* (key))

To save improve code reuse it would be better to put the actual code in this one and then call it from the char array one.  There needs to be a complementary one for the const_reference case.
Add this in and it compiles under both gcc and VS2015.  I've pushed this to my repo if you want to see it in action.  I also added some extra unit tests to check all the combinations.

Hi @twelsby, thanks for the further analysis and solution. I was missing the fact that char[] in fact worked...

@twelsby, would it be possible to open a separate PR for this issue?


Add SearchInput

Description

use debounce delay for better ux when filtering the result

custom placeholder

reset button

Added Search Input component
Added story for play with it

[x] Add doc

Related Issues
none
Tests
I added the following tests:

[x] doesn't show reset button when no input
[x] show reset button when input exists

Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the [CLA].
[x] Run yarn test or yarn test -u if you need to update snapshot.
[x] Run yarn lint
[x] I am willing to follow-up on review comments in a timely manner.

Is this still in progress?

Yes I will add doc file about it soon!

Is this still in progress?

This is done now!


Type guard can't reference this within ThisType

TypeScript Version:  3.8.3
Search Terms:
thistype 2526 guard this typeguard
Code
({
    guard(): this is { x: 1 } {
        return !!this.x;
    },

    test() {
        if (this.guard())
            defined(this.x);
    }
} as ThisType<{
    x?: 1;
    guard(): this is { x: 1 };
}>);

function defined(x: 1) {}

Expected behavior:
Code compiles without errors.
Actual behavior:
The guard works as expected -- defined(this.x) compiles properly.
However, there is an error in guard definition:
guard(): this is { x: 1 }
         ↑ A 'this' type is available only in a non-static member of a class or interface.(2526)

This is surprising as there is no error on using this inside the guard.
Playground Link:
https://www.typescriptlang.org/play?target=99#code/BQbwsAUABDUOYFcCGAnAJsAlALigFwAsBLAZylKhCgA9cBGKAX0sljahQFM8EUA7KAEJBhUgDpqAblaxGAGhkxF+TiTxYW0djCIAzKMFEkxiVBkyZl2mGk66ifThiMTM0rTEaRmSMgBViEj8ATwAHTgAeKmVqAH56dzZTdCxcI3IyKlooBkZ3RgA+N0hIXQQ+AGM8IgB7AVt7RwxsukxKRiA

Inside the object literal, this has type any, thus no error. TypeScript doesn't know what this in this is { x: 1 } is referring to - depending on how the object is being used, this could be literally anything.

Not with ThisType, right? Within the method, it is correct:

Just want to note that both this and guard work perfectly fine as expected -- it actually does guard.

^ no undefined
Just the guard definition itself is flagged.
Obviously in this specific case I can do a simpler approach:
interface X {
    x?: 1;
    guard(): this is { x: 1 };
}

({
    guard() {
        return !!this.x;
    },

    test() {
        if (this.guard())
            defined(this.x);
    }
} as ThisType<X>);

function defined(x: 1) {}

However I doing some Vue work and ThisType is inferred there, so I don't want to explicitly cast -- I would like this in guard definition to follow the same rules as this in guard body. If this in body is not any, this in definition should not be any as well?

Another simpler example:
({
    guard(this: { x?: 1 }): this is { x: 1 } {
        return !!this.x;
    }
})


protein_altering_variant not being seen as coding

I have the impression that VEP annotates bigger indels as protein_altering_variant instead of protein_altering_variant or inframe_variant, but as a consequence when I load a VEP annotated vcf into gemini some of my variants are not annotated as is_coding although they should I believe (cfr http://www.sequenceontology.org/miso/current_svn/term/SO:0001818).
Please find attached some sample data
chrTest12.flt.norm.VEP.vcf.gz
chrTest12.flt.norm.VEP.db.gz

thanks for the test-case. I have fixed this in the gene-impacts, module, you can update with: pip install -U geneimpacts.

Can I update an existing gemini db or should I start gain from vcf?

you'll have to start from vcf unless you date to do something like (untested):
update variants set is_coding = 1 where impact = 'protein_altering_variant';

and same for variant_impacts.


Validate commit messages

angular: https://github.com/Famous/famous-angular/blob/master/validateCommitMsg.js

Yeah, looks great. I'll take it for plugin to check commit messages!

:+1:

project dead completely?

Wow, it was a half of a year.
Nope, just waiting for jscs3.0 for some reason.
Do you want to contribute some good parts?


Race condition between Cache.freeSpace and other operations

Cache.freeSpace calculates the amount the number of bytes that need to be freed then executes all the deletes.
Other operations which modify the cache size while freeSpace is running change the number of bytes that need to be freed but freeSpace doesn't account for this. At the very least it should recalculate the number of bytes that need to be freed before executing each delete.

Commit c679858 implements the partial fix in the previous comment. A permanent fix would require freezing the cache during freeSpace. This should be further discussed.

Fixed in https://github.com/alexandres/poormanscdn/commit/911b119c409175f30f123bd8c3c192f2cb3dcf45 using lock.


Air Purifier Example App

This PR adds an Air Purifier Example App for linux, ameba & cc32xx.
This is a composed device:

EP1: Air Purifier
EP2: Air Quality Sensor
EP3: Temperature Sensor
EP4: Relative Humidity Sensor

I will add a Thermostat on EP5 in a future PR.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.2 out of 3 committers have signed the CLA.:white_check_mark: mhazley:white_check_mark: tobiasgraf:x: chrismappYou have signed the CLA already but the status is still pending? Let us recheck it.


Skoda octavia IV benzin

do you have this working for a skoda octavia IV ? if not what can i do to help you get it to work

I might introduce Skoda support by the end of this year as I ordered an Enyaq.

looking forward for that intergration 👍 lets hope it comes soon


allow to choose node, mdw and backend url for user

this looks like a dup of https://github.com/aeternity/superhero-ui/issues/153


Update unittest assertions over tuples from assertEqual to assertTupleEqual

Is your feature request related to a problem? Please describe.
So this is more a readability improvement rather than a proposal, wouldn't it be better to use assertTupleEqual over the tuples rather than assertEqual? As unittest added that function in v3.1, as detailed at https://docs.python.org/3/library/unittest.html#unittest.TestCase.assertTupleEqual, so maybe it's worth updating.
Find an example of an assertEqual over a tuple in 🤗 datasets unit tests over an ArrowDataset at https://github.com/huggingface/datasets/blob/0bb47271910c8a0b628dba157988372307fca1d2/tests/test_arrow_dataset.py#L570
Describe the solution you'd like
Start slowly replacing all the assertEqual statements with assertTupleEqual if the assertion is done over a Python tuple, as we're doing with the Python lists using assertListEqual rather than assertEqual.
Additional context
If so, please let me know and I'll try to go over the tests and create a PR if applicable, otherwise, if you consider this should stay as assertEqual rather than assertSequenceEqual feel free to close this issue! Thanks 🤗

I thought we were supposed to move gradually from unittest to pytest...


Does the default maxZoom value limit what the delta can be in initiaregion?

https://github.com/venits/react-native-map-clustering/blob/f1d61a7fb5434ab446806b5cefa0d47d0a197d99/lib/ClusteredMapView.js#L241

It stands for: Maximum zoom level at which clusters are generated.
Here is some more documentation on that:
https://github.com/mapbox/supercluster#options

It stands for: Maximum zoom level at which clusters are generated.
Here is some more documentation on that:
https://github.com/mapbox/supercluster#options


Prompt for deleting a read-only file has to be redesigned

This is wrong.

Fixed in 370b5fcfededb109543a414055e0a78b643b365a.


Add shrink-to-fit to getting started

See https://github.com/twbs/bootstrap/pull/17793#issuecomment-146960473

Good catch @cvrebert


Fix #34, correct typo in include file

Describe the contribution
This should include bp_internal_cfg.h as opposed to hs_internal_cfg.h
Fixes #34
Testing performed
Build BP
System(s) tested on
Debian
Contributor Info - All information REQUIRED for consideration of pull request
Joseph Hickey, Vantage Systems, Inc.

The workflow failed because this needs to be merged in conjunction with #38

Reviewed and approved at 2023-09-27 CCB


Refactor/modify families api

Description

Modify the shape families API to work entirely with classes (not instances) using the get_shape classmethod rather than a call operator.
Motivation and Context

This change simplifies the API since it prevents users from having to instantiate a family (PlatonicFamily()('Cube')), which could be confusing to users. It also simplifies documentation since we don't have to document a call operator. There are a couple of minor downsides with the new approach. First, to support easily creating new tabulated shape classes I added factory methods, but because the classes are not meant for instantiation these are now class factories (i.e. they generate new subclasses rather than instances). This implementation detail is transparent to users of the API, but may be slightly confusing to developers (although I've kept it as absolutely minimal as possible). Second, since properties are defined on instances, not classes, the raw data for the tabulated shape classes is now directly exposed rather than through a property. I don't view this as a significant change; since the data was a dictionary, nothing really prevented it from being mutable in the old scenario anyway. While there are ways around this, I think the level of sophistication required to achieve them introduce an unjustifiable maintenance burden, so I think the current approach is the best tradeoff.
Types of Changes

[ ] Documentation update
[ ] Bug fix
[x] New feature
[x] Breaking change1

1The change breaks (or has the potential to break) existing functionality.
Checklist:

[x] I am familiar with the Contributing Guidelines.
[x] I agree with the terms of the Contributor Agreement.
[x] The changes introduced by this pull request are covered by existing or newly introduced tests.
[ ] I have updated the changelog and the credits.

Also, I noticed that the docs raise a lot of warnings when building.


Fix/EnableAndroidVibration

This fix is counter on the vibration of android device,
first by adding the permission,
second is by using plug-in to avoid the malfunction on HapticFeedback.lightImpact etc due to the Android API level

🎉


Defining current directory for external command

May I propose another setting, that defines the current-working directory for any external command to run?

Added subprocess_args to FilterPipesProcessCommand. So you can call it like this:
 {
        "caption": "HTML Tidy",
        "command": "filter_pipes_process",
        "args": {
            "command": ["tidy","-config","/Users/tylerl/htmltidy.conf"],
            "shell": false,
            "expected_returns": [0,1],
            "subprocess_args": {"cwd": "/some/directory/path"}
        }
    }

Thanks for doing this!
Is there a variable, that SublimeText sets, that designates the project's/currently edited files directory? May make a nice addition for setting the current directory. However, upon a quick scan just right now, I could not find any such thing.

Not really, nor is it particularly clear what that would even mean. You can have files open in many directories, or your currently open file may not be saved anywhere. And projects can contain zero or more top-level directories. You can get the current working directory with os.getcwd(), FWIW. You can try all this stuff live by opening up your python console in Sublime (ctrl+`) and just typing it in.


Writing tests for interactions with LDK

We should look to create a dedicated section on testing.
Currently, it's difficult to write tests for things like opening channels as it requires a second node.
Some things we might include in this section:

Testing overview, tradeoffs, recommended testing tools
Testing recipes, common patterns for testing with LDK
Testing environments, mocking functions, mocking modules

You might be interested in doing a system test, such as this one for lnrod: https://gitlab.com/lightning-signer/lnrod/-/blob/master/tests/integration-test.py


Fix unused enter/exit transitions in AnimatedOverlay

CC @bryanstern. Spotted in https://github.com/slackhq/circuit/pull/1066#discussion_r1438902009

My thinking here was that the targetState never changes, so the exit state would never be triggered. AnimatedOverlay.Content should never really be called so maybe this should error instead. My thinking was just I'd rather not try to animate this at all if ContentWithOverlays doesn't support it.

Right now whenever AnimatedOverlay is used, we have to set both enter and exit transition. Better we assign default values to AnimatedOverlay constructor params

Right now whenever AnimatedOverlay is used, we have to set both enter and exit transition. Better we assign default values to AnimatedOverlay constructor params

Raised a small PR https://github.com/slackhq/circuit/pull/1091

Raised a small PR https://github.com/slackhq/circuit/pull/1091

I was in holiday mode yesterday and didn't quite read into the code right. Let's continue discussion in your PR 👍


remove debug

Description
After all namespace task we forgot to remove debug <<{namespace}>> in CR.js
Changes proposed in this pull request:

...
...
...

Related issue(s)

/retest


ServiceMonitor selector should also use app.kubernetes.io/instance label

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What version of the Traefik's Helm Chart are you using?
16.2.0
What version of Traefik are you using?
2.9.1
What did you do?
I have two traefik deployments in single namespace. One is behind internet facing loadbalancer, another is behind internal loadbalancer. I need a way deploy ServiceMonitor for each deployment.
What did you see instead?
ServiceMonitor selector matches both internal and internet-facing traefik deployments simultaneously.
What is your environment & configuration?
Irrelevant.
Additional Information
ServiceMonitor by default should use same selector as PodDisruptionBudget, https://github.com/traefik/traefik-helm-chart/blob/v16.2.0/traefik/templates/poddisruptionbudget.yaml#L14-L16. This way it will pick pods relevant only to current deployment.
Followup to https://github.com/traefik/traefik-helm-chart/pull/425.

Thanks for your report @z0rc
It should be fixed with v17.0.1


Feature/replace regex

Replaced some Regex with constant expressions for performance improvement.

I considered making similar changes, but was going to recommend using the built it char static functions instead. Specifically, char.IsAsciiDigit or char.IsDigit, char.IsAsciiLetter or char.IsLetter etc.

Since the static char functions are unicode, i prefer to work with explicit ASCII characters. Unfortunately, I already had problems where my customers used some unicode characters using copy paste, which I then misinterpreted.


Business Central add-in for Excel points to powerbi link

Use the following table to help you set the minimum permissions:

Feature
API
Permission name
Type
Description

All
Microsoft Graph
User.Read
Delegated
Sign in and read user profile

Business Central add-in for Excel
[Business Central app registration name]
[Business Central app permission name]
Delegated
Allows users of the add-in for Excel to access the OData web services to read and write data.

the link under "Business Central add-in for Excel"
points to
https://learn.microsoft.com/en-us/dynamics365/business-central/admin-powerbi-setup
which is powerbi and not Addin for excel..
on url:
https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/administration/register-app-azure

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

ID: b0026c2a-c249-e240-b077-724a2420e798
Version Independent ID: b54b5fff-588a-bc42-6838-df1897b825e2
Content: Register on-premises as an app in the Azure Management Portal - Business Central
Content Source: dev-itpro/administration/register-app-azure.md
Service: dynamics365-business-central
GitHub Login: @jswymer
Microsoft Alias: jswymerUse the following table to help you set the minimum permissions:

Feature	API	Permission name	Type	Description
All	Microsoft Graph	User.Read	Delegated	Sign in and read user profile
Business Central add-in for Excel	[Business Central app registration name]	[Business Central app permission name]	Delegated	Allows users of the add-in for Excel to access the OData web services to read and write data.

Thanks for catching this. Will be fixed with the next doc refresh.


Allow other elements, like mehrmaid

Hello, it would be great, if one could select or provide (through an option) for which elements the panel is generated.
One example is mehrmaid (https://github.com/huterguier/obsidian-mehrmaid) which allows for markdown inside flowcharts.

Hello， do you mean to select an element or an node , and then to drag or zoom it in the container?

Hello, I think so. For now the plugin searches for all mermaid' in the note, which is hardcoded. It would be great, if one could provide other names of elements as well. This would make the plugin much more universal and in particular it would make it possible to use it together with mehrmaid, which is a great extension of mermaid allowing Zou to use markdown elements within mermaid elements.
Aug 24, 2024 18:23:28 gitcpy @.***>:

Hello， do you mean to select an element or an node , and then to drag or zoom it in the container?
—
Reply to this email directly, view it on GitHub[https://github.com/gitcpy/mermaid-zoom-drag/issues/1#issuecomment-2308446633], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AAHTZ6ZIQGVFJ6BGIBQC25TZTCXP7AVCNFSM6AAAAABM2R7STWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBYGQ2DMNRTGM].
You are receiving this because you authored the thread.
[Tracking image][https://github.com/notifications/beacon/AAHTZ6YAKI4YHVMDPMRQJ6TZTCXP7A5CNFSM6AAAAABM2R7STWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUJTAM2S.gif]

Hello, I developed another plugin. Here is the url : https://github.com/gitcpy/obsidian-mermaid-pop .
The function is to click the mermaid in the md note, then a popup comes out.
And then you could drag or zoom it. I think it would be much more better for user.
Just try it.

Yes, this is a frat plugin, however, it still does not work on mehrmaid diagrams. So, the issue would be the same here: allowing additional 'key names'.
Aug 24, 2024 19:16:11 gitcpy @.***>:

Hello, I developed another plugin. Here is the url : https://github.com/gitcpy/obsidian-mermaid-pop .
The function is to click the mermaid in the md note, then a popup comes out.
And then you could drag or zoom it. I think it would be much more better for user.
Just try it.
—
Reply to this email directly, view it on GitHub[https://github.com/gitcpy/mermaid-zoom-drag/issues/1#issuecomment-2308461041], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AAHTZ65PX5GG6KZ53SGWKQDZTC5VVAVCNFSM6AAAAABM2R7STWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBYGQ3DCMBUGE].
You are receiving this because you authored the thread.
[Tracking image][https://github.com/notifications/beacon/AAHTZ63T6TZROVXMFAKVRF3ZTC5VVA5CNFSM6AAAAABM2R7STWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUJTBI7C.gif]

Maybe I will find sometime to update the plugin for the excellent advice. I don't how long to complete it. Hope not long. Thanks so much.

Have you tested this version with mehrmaid? Because unfortunately it does not work for me. Only mermaid diagrams get the buttons but not the mehrmaid ones.

I tested before our co-work.
But I have troubles in pulling files, just forget it, I will try again.
The mermaid-zoom-drag plugin is fine for the html hierachy of 'div with class-mermaid' -> 'svg'.
But in merhmaid, it has a differenty hierachy, 'div with class=block...' -> 'svg',
so the mermaid-zoom-drag plugin is not fine with.
That is why I plan to adapt to different tags or classes...
------------------ 原始邮件 ------------------
发件人:                                                                                "gitcpy/mermaid-zoom-drag"                                                                                @.>;
发送时间: 2024年9月15日(星期天) 凌晨3:41
@.>;
<EMAIL_ADDRESS>主题: Re: [gitcpy/mermaid-zoom-drag] Allow other elements, like mehrmaid (Issue #1)
Have you tested this version with mehrmaid? Because unfortunately it does not work for me. Only mermaid diagrams get the buttons but not the mehrmaid ones.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

Ah, I see. I apprechiate your work. Many thnaks to dive in into this issue :)

Have you tested this version with mehrmaid? Because unfortunately it does not work for me. Only mermaid diagrams get the buttons but not the mehrmaid ones.

There is no release with this fix yet, please wait for @gitcpy to create one.
But the fix works, here's a video (sorry for the quality):

I pull all latest files from github respository, as seen above

Execute "tsc"

I got 4 files : main.js, main.d.ts, constants.js, constants.d.ts

And put 6 files into the doc "G:\ObsidianFile\ObsidianPlugin.obsidian\plugins\mermaid-zoom-drag"

Load in ob, then I got the error

I don't know how to load the plugin if it has more one file.
The key point is I don't know how to use "require" in ob js and wether to put the *.d.ts files to release.
I just want to make a test before releasing,  and I had problems about pulling files before for quite a while, finally shooted out.
So I come to the testing part, and encounter the loading problem above.
Could you please give me some tips?
------------------ 原始邮件 ------------------
发件人:                                                                                "gitcpy/mermaid-zoom-drag"                                                                                @.>;
发送时间: 2024年9月15日(星期天) 凌晨5:31
@.>;
<EMAIL_ADDRESS>主题: Re: [gitcpy/mermaid-zoom-drag] Allow other elements, like mehrmaid (Issue #1)
Have you tested this version with mehrmaid? Because unfortunately it does not work for me. Only mermaid diagrams get the buttons but not the mehrmaid ones.
There is no release with this fix yet, please wait for @gitcpy to create one.
But the fix works, here's a video (sorry for the quality):
2024-09-15.00-19-04.gif (view on web)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

I pull all latest files from github respository, as seen above

Execute "tsc"

I got 4 files : main.js, main.d.ts, constants.js, constants.d.ts

And put 6 files into the doc "G:\ObsidianFile\ObsidianPlugin.obsidian\plugins\mermaid-zoom-drag"

Load in ob, then I got the error

I don't know how to load the plugin if it has more one file.
The key point is I don't know how to use "require" in ob js and wether to put the *.d.ts files to release.
I just want to make a test before releasing,  and I had problems about pulling files before for quite a while, finally shooted out.
So I come to the testing part, and encounter the loading problem above.
Could you please give me some tips?
------------------ 原始邮件 ------------------
发件人:                                                                                "gitcpy/mermaid-zoom-drag"                                                                                @.>;
发送时间: 2024年9月15日(星期天) 凌晨5:31
@.>;
<EMAIL_ADDRESS>主题: Re: [gitcpy/mermaid-zoom-drag] Allow other elements, like mehrmaid (Issue #1)
Have you tested this version with mehrmaid? Because unfortunately it does not work for me. Only mermaid diagrams get the buttons but not the mehrmaid ones.
There is no release with this fix yet, please wait for @gitcpy to create one.
But the fix works, here's a video (sorry for the quality):
2024-09-15.00-19-04.gif (view on web)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

Please implement a full-fledged bundler into the project. Webpack, esbuild, rollup, etc. I use rollup locally (I don't push these settings to the repository) and everything works for me. But if you're interested, I could share my settings — then you would just need to install the packages and subsequently run the scripts from package.json.

I am the amateur, you are the pro.
Please push the settings.
I am just a backend programmer.
It is lucky to meet you, and I learned much from you by this plugin.
And I will go to learn rollup, then make a test.
Before I make the latest release, you are already a collaborator.
I don't know if you have the right to make a release, if you do, just make it.
Thank you in all!
------------------ 原始邮件 ------------------
发件人:                                                                                "gitcpy/mermaid-zoom-drag"                                                                                @.>;
发送时间: 2024年9月15日(星期天) 晚上8:40
@.>;
<EMAIL_ADDRESS>主题: Re: [gitcpy/mermaid-zoom-drag] Allow other elements, like mehrmaid (Issue #1)
I pull all latest files from github respository, as seen above
Execute "tsc"
I got 4 files : main.js, main.d.ts, constants.js, constants.d.ts
And put 6 files into the doc "G:\ObsidianFile\ObsidianPlugin.obsidian\plugins\mermaid-zoom-drag"
Load in ob, then I got the error
I don't know how to load the plugin if it has more one file.
The key point is I don't know how to use "require" in ob js and wether to put the *.d.ts files to release.
I just want to make a test before releasing,  and I had problems about pulling files before for quite a while, finally shooted out.
So I come to the testing part, and encounter the loading problem above.
Could you please give me some tips?
------------------ 原始邮件 ------------------
发件人:                                                                                "gitcpy/mermaid-zoom-drag"                                                                                @.>;
发送时间: 2024年9月15日(星期天) 凌晨5:31
@.>;
<EMAIL_ADDRESS>主题: Re: [gitcpy/mermaid-zoom-drag] Allow other elements, like mehrmaid (Issue #1)
Have you tested this version with mehrmaid? Because unfortunately it does not work for me. Only mermaid diagrams get the buttons but not the mehrmaid ones.
There is no release with this fix yet, please wait for @gitcpy to create one.
But the fix works, here's a video (sorry for the quality):
2024-09-15.00-19-04.gif (view on web)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>
Please implement a full-fledged bundler into the project. Webpack, esbuild, rollup, etc. I use rollup locally (I don't push these settings to the repository) and everything works for me. But if you're interested, I could share my settings — then you would just need to install the packages and subsequently run the scripts from package.json.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

Release is here


Add support to netcoreapp 2.1

Hi, please can you accept my pullrequest to add support do DotNetCore APP 2.1 on this project :-)
I change the test project too to migrato to core csproj :-)
To build and test you can:

dotnet build
dotnet test test/MimeTypeMapTest/MimeTypeMapTest.csproj

Thank you.

Why do we need explicit support for netcoreapp2.1?
As far as I can see, .NET Core 2.1 still implements netstandard2.0, so any project can just consume the library "as is"...

My mistake, I convert this to use on one project, but do not needed to be netcoreapp2.1, the error I have is for another reason.
Sorry :-P


I can help out

I'm using the DoctrineBehaviors in projects. As you requested for help, I'd would like to do so.
As everyone I don't have a lot time, I'm working full time as a backend developer, that keeps me busy.
I can certainly help fixing issues and assure quality of pull requests.
DoctrineBehaviors is just super important for me and many production critical application. 👍

Hi, I'm current new maintainer (= doing all the merges and issues).
Help woudl be great. Can I ask you to go through the issues and identify those most likely to close and ping me there? Old, unclear, probably solved etc.
Thank you
Next step would be finishing this: https://github.com/KnpLabs/DoctrineBehaviors/issues/241


BNO08X Calibration

I've noticed while spinning through BNO08X datasheets that it recommends a self calibration from the user
For best motion tracking performance, it is recommended to calibrate the BNO08X. Since each MEMS sensor
part has different individual characteristics, each device using the BNO08X must be calibrated individually.
This seems to be a one time thing.
Ceva suggests that even if this isn't done, the BNO will still work using factory calibration but I believe it could be worth a look in to if a user calibration could improve overall drift time.
I would be interested to hear others opinions though.

We also need to look into disabling auto-calibration some time after boot, since it may produce some unwanted results like broken accelerometer when stomping your leg.

I have attempted to do calibration with my BNO085s due to experiencing unusual drift times (sometimes ~10-15 mins when just sitting down and talking).
What I would recommend based on my experience:
When you click on a tracker in the Home, there could be a button to "Start Calibration" that opens a modal that shows the BNO-reported "Accuracy" for Gyro, Mag, and Accel, and a "Save" button for when they're as high as it will go. (it goes from 0 to 3, 0 being unreliable, 3 being high reliability).
Animated renders or a demo recording of the calibration movements described in the datasheet or CEVA procedure doc 1000-4044 would be best for users.
In any case, as long as we don't tell the BNO to save the new calibration unless the user confirms it on the UI, we should be able to avoid most adventurous users accidentally goofing their trackers' calibration.


New archived-styled page for old conferences

Create a slimmer archive-style page for former Conferences. Containing:

all the sessions listed with it's speakers, still linking to the speaker page. easy access to the video link (if any). We can debate about showing video and description directly on the first page or not but I think that the speaker page should remain if someone have linked to it.
all the sponsors
link to image library for THAT year (now we always have a link to previous one, that make sence for the current conference but as soon as it gets archived…)
Any other relevant thing from that year.

Navigation on that page should be "go back to current conference" and all the other old once. Then we can just have ONE link to this page instead of all the different years. Default should be the last old one.


templates: move to ClowdApp for main deployment

Keep a symlink from the image-builder-clowder.yml template so ephemeral keeps working.

/retest