Short solution needed: "Sending OPTIONS request" (curl)

Please help us write most modern and shortest code solution for this issue:
Sending OPTIONS request (technology: curl)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

Sending OPTIONS request


💡[FEATURE]: Modify Navbar

Is your feature request related to a problem? Please describe.
Navbar is not looking good on the website.  Remodeling navbar is required.
Describe the solution you'd like
The buttons should be changed into links. For reference, Navbar like in below picture will be suitable for the website.

@Abidsyed25 I can make the navbar look like the same in the above code and have even made the same in my local . Kindly assign this issue to me.

@Ojas-Arora ok


Segfault after "Fraction done: 0.858421"

Hi, now I'm getting a segfault after it runs for about 15 minutes. It's after it prints:
Home slot:<PHONE_NUMBER>8 Insertion slot:<PHONE_NUMBER>8 Difference: 0 Fraction done: 0.858421
Kmers merged: 290000000 Num eq classes: 7
...
Kmers merged: 330000000 Num eq classes: 7

I ran gdb and the backtrace is:
Program received signal SIGSEGV, Segmentation fault.
0x000000000043e8ed in insert1 ()
Missing separate debuginfos, use: debuginfo-install zlib-1.2.3-29.el6.x86_64
(gdb) backtrace
#0  0x000000000043e8ed in insert1 ()
#1  0x0000000000451335 in ColoredDbg<SampleObject<CQF<KeyObject>*>, KeyObject>::add_kmer(KeyObject&, BitVector&) ()
#2  0x0000000000451ea3 in ColoredDbg<SampleObject<CQF<KeyObject>*>, KeyObject>::construct(SampleObject<CQF<KeyObject>*>*, std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, unsigned long> > >&, spp::sparse_hash_map<BitVector, std::pair<unsigned long, unsigned long>, sdslhash<BitVector>, std::equal_to<BitVector>, spp::libc_allocator<std::pair<BitVector const, std::pair<unsigned long, unsigned long> > > >&, unsigned long) ()
#3  0x000000000044a7a9 in build_main(BuildOpts&) ()
#4  0x000000000040954e in main ()

Any ideas as to what the problem might be?

Hi Rachel,
What k-mer size did you run Squeakr for? Currently, Mantis is configured for K=20.
Thanks,
Prashant

Oh. I'm not using k=20. I didn't realize that was required. Are there any plans to make this a modifiable option soon?

Yeah, we can do that. We can have the k-mer size as an input parameter.
Btw, What k-mer size did you use?
Also, I have released Squeakr exact. You can also use that now.
Thanks,
Prashant

I was using k=30. And thanks - I'll go take a look at Squeakr exact!

Keeping it open till I push the patch for input k-mer size.

Hi, should it work if I simply change constexpr const int K = 20; in kmer.hh to some other value (say 28, which was used when I run squeakr) and build it? Or some other logic depends on this value 20?

Hi @effect, right now the master branch only works for Squeakr-exact with K=20.
But I have fixed this in a separate branch so that you can run Mantis for a different value of K. Just have to make sure that both Squeakr and Mantis were run with the same K.
I will pull code from the other branch to master soon. Will update here.
Thanks,
Prashant

Hi @prashantpandey! Is this branch available here, what's name? I'd really like to try Mantis with bigger K value.

Hi @effect, I just pushed the latest code to master. The current code in master will use the k-mer size (or the size of the hashes in the CQF) from Squeakr as an input to Mantis.
However, you need to have an estimate of the number of slots you need in the final output CQF. Currently, it is set to 2^34 slots. But you can change this based on your data.
Thanks,
Prashant

@prashantpandey are you sure you pushed all changes? The only differences I can see compare to January commit (70d16caa) are in files README, raw/incqfs.lst and function first_part().

Hi @effect, yeah, I pulled in changes from develop branch. Earlier the last commit in master branch was 7d1c2a on Dec 07.
There are a bunch of commits coming in from the develop branch.

@prashantpandey got it, thank you!

@prashantpandey it looks like mantis query still uses k=20 regardless of k value used in squeakr (based on output from query:
[mantis_console] [info] Reading query kmers from disk.
[mantis_console] [info] Total k-mers to query: ...).
Should I somehow pass k-value as a parameter for query?

Hi @effect, yes you are right. I just realized that I forgot to push the fix to Mantis query API. The construction API does use the k-mer size from Squeakr but the query API still uses K=20.
Let me fix it.
Thanks,
Prashant

@prashantpandey thanks again, it works for different K now as I can see, I tested it with CQFs built with squeakr-exact. Just wanted to clarify how I can control size of output.
So I tested it on 3 small fastq file (~65MB each). I run it with k=28 and s=28, got 3 CQFs each a bit less 1GB. And mantis build produced 49GB dbg graph, which seems to much. Is it expected behavior?
And can I ask you if it should also work with CQFs built by squeakr approximate? Because I've tried to run the same pipeline with approximate version of squeakr, got 325MB files for CQFs, 6.8 GB for dbg graph and finally got [mantis_console] [info] Reading colored dbg from disk.
Floating point exception (core dumped)
error on query step.

Hi @effect, first of all, thanks for reporting all these issues. The final size of the Mantis output is currently hardcoded in the code.https://github.com/splatlab/mantis/blob/master/include/cqf.h#L119
1 << NUM_Q_BITS specifies the number of slots you want in the output CQF.
Currently, If you want to make a smaller output CQF then you can change the hash define to a smaller value.
However, we are currently working on a new release in which the size of the output CQF will be estimated during the sampling phase of the construction process. This way the user won't need to change the size.
And the output CQF won't be super large for small inputs.
YES, Mantis should work with CQFs built by Squeakr approximate. If you are not getting any output for the query then I suppose there is a bug.
To help me reproduce the issue could you point me to input FASTQ files? or Squeakr file?
Thanks,
Prashant


Fix bugs, crashes, update 'your library' page & more

Changes made:

Update dependencies
Fix A14/SDK 34 crash missing FOREGROUND_SERVICE_MEDIA_PLAYBACK permission
HTML playlist description support - some playlists (e.g. Spotify's daylist feature) have HTML descriptions with links in them
Fix https://github.com/BobbyESP/Jetispot/issues/21 (and as described in the issue):

Fixed username issue
Applied (temporary?) workaround to save playlist image if seen on home screen or returned from API when in playlist view

Implement https://github.com/BobbyESP/Jetispot/issues/9

Bottom sheet now has rounded corners at the top
Navbar only shows label of selected tab

Your library changes:

Fetch stored user profile image (to replace blank default one)
Match style to home screen
Implement search feature
Add support for "Your Episodes" entry instead of empty pinned playlist (screen itself still needs made)
Add support for pinned playlists
Remove duplicate and empty

Add support for PromoCardHomeComponent.proto
Fix crash when pressing play on album from home screen (haven't yet fixed the issue where playback doesn't start, but it no longer crashes)
Manually place album/playlist art on card (e.g. card on search screen) as the API returns just a color as the background image sometimes, so it now uses the main URI and moves it into place

Also I think https://github.com/BobbyESP/Jetispot/issues/13 can be closed now too.

Hi! First of all I want to thank you for the hard work in the project :). It's really nice to see people interested on helping, for real.
Leaving that at one side, I will be taking a look to the PR changes this afternoon (if I have time since I'm with exams) for reviewing all the changes.
If all it's good I will merge the PR in the main branch and, after that, the next step will be migrating to Media3 and rebuild the playback system since it's kinda broken 😂. It works, but not really good. The same with lyrics

Closed #13 since it was already fixed

No problem! Happy I can help - used Jetispot off and on from before this fork so been wanting to contribute for a while.
Thanks for reviewing PR during exams! Those are definitely more important :smile:
I am happy for this to be merged now... not sure what to work on next just yet. Had a little look at Media3 migration and looks like a bigger task than I was anticipating (never migrated, only used Media3/ExoPlayer by itself) but more than happy to help out with it if you need a hand.

Thanks mate and don't worry about Media3, it can wait. Google has a script that helps us to migrate the project automatically, so it may not be very hard. I still don't understand really well how Media3 works, a lot of things to touch at the same time and without good documentation... I think I will have to create a library for help with this

Another time really thanks for the work you have put at the PR!


Nested routes bug

Hi Ross,
In a configuration like that:
  ├── users/
  │  ├── [id].vue
  │  └── index.vue
  └── users.vue

if users.vue contains

the only visible page is /users/[id].vue  for every path like /users*
Also could be useful omit /users.vue if not needed.

This problem also exists in NuxtJS,
|- demos     |- _id.vue     |- index.vue |- demos,vue
Go to the /demos/aa page and you'll see demos.vue again，
nuxtjs:

voie:

==============================
|- demos     |- _id.vue     |- index.vue

This problem also exists in NuxtJS,
|- demos     |- _id.vue     |- index.vue |- demos,vue
Go to the /demos/aa page and you'll see demos.vue again，
nuxtjs:

voie:

==============================
|- demos     |- _id.vue     |- index.vue

Hi @beres,
I'm possibly not able to see part of your comment, did you mean to type something after "if users.vue contains"?

When running the nested example in this repo I'm not seeing this issue. Navigating to /users presents me with the /users/index.vue component, and navigating to something like /users/1 presents me with the /users/[id].vue component.
Perhaps I am misunderstanding what you are expecting to see?

Hi @beres,
I'm possibly not able to see part of your comment, did you mean to type something after "if users.vue contains"?

When running the nested example in this repo I'm not seeing this issue. Navigating to /users presents me with the /users/index.vue component, and navigating to something like /users/1 presents me with the /users/[id].vue component.
Perhaps I am misunderstanding what you are expecting to see?

Hi @brattonross,
I'm sorry for the issue, at the time i've tested the code moving it from example directory to antfu/vitesse and it did not work, at the time i've resolved by creating an [id] directory. Now i've tested again copying tha same directory and it works, probably some library version in the path made the difference.
Close the issue, thank you

Hi @brattonross,
I'm sorry for the issue, at the time i've tested the code moving it from example directory to antfu/vitesse and it did not work, at the time i've resolved by creating an [id] directory. Now i've tested again copying tha same directory and it works, probably some library version in the path made the difference.
Close the issue, thank you


CORE-10793: Refactor isRelevant

It's been suggested that the Contract.isRelevant function is neither suitably named, nor suitably located.
The original function is defined as such:
public interface Contract {
    default boolean isRelevant(ContractState state, Set<PublicKey> myKeys) {
        ...
    }
}

Problems:

What does relevant mean in this context?
Given a transaction which may include n > 1 ContractState outputs, the function would need an if/else condition to check each one individually, which is not straightforward for developers.
It's not the relevancy of the contract that is being determined, rather, the relevancy of each state within a transaction, therefore this implementation has broken the single responsibility principle, as it's not the contract's responsibility to decide who state is, or isn't relevant to.

I've refactored isRelevant to:
public interface ContractState {

    ...

    default boolean isVisible(@NotNull UtxoLedgerTransaction transaction, @NotNull Iterable<PublicKey> myKeys) {
        ...
    }
}

The rationale behind this refactor:

Renamed to isVisible because visibility better describes the intent of the function than relevancy does, therefore from a naming perspective it is less ambiguous.
Rather than an overarching contract having to decide visibility for each state, instead, the state gets to decide only its visibility in relation to the transaction in which it is being issued, and the keys that are available to it. This should be far more logical to developers to implement.
As each ContractState is now responsible for its own visibility, this respects the Single Responsibility Principle, by allowing each state implementation to implement something that fundamentally belongs to its behaviour.

From Slack...
It feels wrong being on the contract.
If we're trying to determine whether a state is visible to a particular node, then that's not the contract's responsibility, and it's really hard to reason about when you implement it. Given the current implementation, all you can really do is determine whether a state is visible based on its participants, or key properties if you cast the state...
override isVisible(ContractState state, myKeys: Set<PublicKey>): Boolean {
    // all that is accessible at this point is participants, so...
    return myKeys.any { it in state.participants }

    // Or you could cast it...
    if(state is Token) {
        return myKeys.any { it in state.participants } || state.issuer in myKeys
    }
}

That's really not very useful as the function doesn't even have access to the UtxoLedgerTransaction so you can't even determine visibility based on other stuff in the transaction.
So, let's say we add that. Imagine a fake scenario where we have visibility rules, a token definition and a token all in the same transaction...
override isVisible(UtxoLedgerTransaction transaction, ContractState state, myKeys: Set<PublicKey>): Boolean {

    if(state is VisibilityRules)
    {
        return false
    }

    val visibilityRules = transaction.getOutputsOfType<VisibilityRules>().single()

    if(state is TokenDefinition)
    {
        return state.issuer in myKeys || visibilityRules.tokenDefinitionIsVisibleToEveryone
    }

    if(state is Token)
    {
        return state.bearer in myKeys || (state.issuer in myKeys && visibilityRules.tokenIsVisibleToIssuer)
    }
}

Now the function can get extra data from the transaction, but has to account for different rules based on different contract state types.
This just doesn't seem like a logical separation of visibility logic.
In contrast, if we put that function on the contract state (since it relates to the contract state anyway)...
class TokenDefinition(val issuer: PublicKey) : ContractState {

    override fun getParticipants(): List<PublicKey> {
        return listOf(issuer)
    }

    override fun isVisible(transaction: UtxoLedgerTransaction, service: SigningService): Boolean {
        val myKeys = service.findMyLedgerKeys()
        val visibilityRules = transaction.getOutputsOfType<VisibilityRules>().single()
        return issuer in myKeys || visibilityRules.tokenDefinitionIsVisibleToEveryone
    }
}

class Token(val issuer: PublicKey, val owner: PublicKey) : ContractState {

    override fun getParticipants(): List<PublicKey> {
        return listOf(owner)
    }

    override fun isVisible(transaction: UtxoLedgerTransaction, service: SigningService): Boolean {
        val myKeys = service.findMyLedgerKeys()
        val visibilityRules = transaction.getOutputsOfType<VisibilityRules>().single()
        return bearer in myKeys || (issuer in myKeys && visibilityRules.tokenIsVisibleToIssuer)
    }
}


Black-on-white color theme for the build log.

Contribution Type: bug fix
Primary Area: front-end
Link to Bug: #936
Description of change:
Provide a readable, "light" theme for the build log.
Description of solution:
Changed the ansi-color.css stylesheet.

This is already done with commit 8bf1d09afdf56c1557502e50b8291716f1cf4f96


Change Readme to mention Mikael Slevinsky?

It currently says:

The code in this package was developed in the FastTransforms.jl package, with contributions by many developers

But as far as I can remember the generic FFT code was entirely due to @MikaelSlevinsky. (Perhaps he can correct me if I'm mistaken.) So I would change "with contributions by many developers" to "by Mikael Slevinsky".

Yes, thanks for bringing it up - I had simply looked at the number of people contributing to the main file when writing the README. Change applied!

Hey this wasn't on my radar, but thanks!


Don't update when suspended to avoid GPU use on iOS.

Objective
This fixes a crash caused by iOS preventing GPU access when not focused: #2296
Solution
This skips app.update() in winit_runner when winit sends the Suspended event, until Resumed.
I've tested that this works for me on my iOS app.

Ideally we would want to stop only the render part of the update when suspended, but that's much more complicated...
This is a good solution I think until we can do that 👍
Do you know if that fixes the similar issue on android?

bors try

@mockersf I have not tested this on Android.

bors try

bors r+

@HackerFoo could you comment on #2373 if you're ok with the license change?

@mockersf Done.

thanks!


Update to Gatsby 3

https://www.gatsbyjs.com/docs/reference/release-notes/migrating-from-v2-to-v3/

Now that his is done, time to move to Gatsby 4 https://www.gatsbyjs.com/docs/reference/release-notes/migrating-from-v3-to-v4/


Update README.md

Add codecov badge markdown

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@9f26070). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #2   +/-   ##
=========================================
  Coverage          ?   94.02%
=========================================
  Files             ?        2
  Lines             ?      251
  Branches          ?        0
=========================================
  Hits              ?      236
  Misses            ?       15
  Partials          ?        0

Continue to review full report at Codecov.

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


WIP: Python API example usage for scikit model

fix #384

I think that the usage of requests might be better suited under a page like the javascript one (just added in #418), but for Python, under the HTTP API docs. Issue #384 was meant to be about modifying the quickstart.py code to use respective models within each model docstring. This is great for a Python HTTP API example, could you make this similar to the service/http/docs/javascript.rst but as python.rst?

@pdxjohnny I've modified model/scikit/dffml_model_scikit/__init__.py and added examples for LinearRegression and Kmeans. I moved the example using requests to python.rst as suggested. Could you please review it?


Can not remove a vfile volume

I can not remove a volume created with the vfile driver.
I create the volume against a Docker UCP.
Creating a volume directly on a node, this volume can be created and deleted.

Hello... is there any update on this issue?

@HanzzM @tusharnt @shaominchen
Hello, is there any update on this?

Me too, after remove the stack, that vfile volume still list there. The dockvols/1111...111/ directory without that vmdk files.

Same here, I had to restart also swarm managers, and I need to remove the vfile volume in the first place because other nodes could not use it, seems like a bug.
By the way, after restarting the vfile plugin status changed to disabled.


Add a helper function for getting P256PublicKey from MTRKeypair.

That way we are not ending up with multiple copies of finicky code.

Fast-tracking platform-specific fix with platform owner review.


replace deprecated CreateMessage with Create

I tested this locally on my mac where I have the newer proto via homebrew. Without this PR I reproduce the failure seen in CI when trying to release 0.0.7, but with the change here I can build again and tests pass. I think this is good to land and unblock a 0.0.7.


CNV-30574: Fixing the behaviour on the Manage SSH keys

📝 Description
Refactor the entire Manage SSH keys section to add following enhacments:

Relocate the add button to the bottom of the section.
If no keys are defined, the list will be initialized with one empty line.
Allow adding multiple lines in parallel.
Disable the SSH modal submit button if missing/invalid values.
Disable the minus button to delete a row if there's only one empty row in the list.
Improve the loading state of the entire manage ssh section.

🎥 Demo
Before:
https://github.com/kubevirt-ui/kubevirt-plugin/assets/67270715/a8b3d2ca-7ad6-4a9b-8f49-864ed5cee4ae
After:
https://github.com/kubevirt-ui/kubevirt-plugin/assets/67270715/0a17b047-22b7-4343-9780-007e1a1f5dee

/retest

/lgtm

/retest


Porting of TDDR to MNE

Dear Dr Fishburn,
I am in the field of auditory neuroscience and have enjoyed using your TDDR algorithm for motion correction with the NIRS Toolbox. I have found that your approach greatly improves the quality of my data.
I would like to port your algorithm to MNE. The MIT license for this project seems compatible with this idea. Are you ok with this? Would you like to be involved in this port (I am happy to do the boring bits like docstring, code formatting, data transformation, etc)? I will clearly cite your code and journal articles, but let me know if you want to be credited in a specific way.
You can see an example of the current analysis with MNE here, and a rough timeline for what we have planned here.
Thanks,
Rob

Hi Rob,
Glad you found the method useful!  Happy to see another toolkit adopt the method.  I probably won't have time to help but will probably take a look at MNE at some point. Providing a citation and links to the paper and this repo will be sufficient. I appreciate you asking.
Best,
Frank

Thanks Frank,
Appreciate your blessing. I will ping you when we have a pull request in case you do want to edit the way you are credited, but don't feel obliged to respond or make code edits.
Cheers,
Rob

Closing as we merged this in https://github.com/mne-tools/mne-python/pull/7556 and the docs can be found here https://mne.tools/dev/generated/mne.preprocessing.nirs.temporal_derivative_distribution_repair.html
Thanks for the great tool


Add pycache to .gitignore

@girving: is this ready to merge?  I assumed since it was assigned to @itsmeolivia, I shouldn't yet merge.

Merge away, thanks!


Positioning not working

Can't get the window to position slightly above the macro bar, for some reason since the code cleanup the window has width and height inline. Not sure why.

Can you add more information like screenshots?

What happens is that it forces top value inline even if I remove top and assign bottom. It also adds width and height what it did not do before and I did not add.


Finish switch from Vue/Vuepress to choo and fastify

@NetOperatorWibby will fill in specific choices.

Branch is here

@NetOperatorWibby make grab latest posts.... its own issue

@NetOperatorWibby Remove API documentation from this issue

Closed via https://github.com/lbryio/lbry.tech/commit/1e4224617daa0863d16f2692f83e91a4ab3fa9cd


MM-40736 : Removed leading whitespace causing header description bug

Summary
Removed header description bug where leading whitespace caused markdown code block

[x] fixed block to trim leading/trailing whitespace
[x] refactored method to remove early return call

Ticket Link
Fixes https://github.com/mattermost/mattermost-server/issues/19314
Related Pull Requests
N/A
Screenshots

before
after

Release Note
NONE

Hello @scottaudet,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

Thanks @hmhealey. The header is given to the UI in a markdown component so the spaces trigger the code block functionality of a .md file. Realistically, a user shouldn't be able to make an all space header and any leading/trailing spaces don't change the comprehension of the name. I'm glad that this fix can help! I fixed the linting issues so hopefully this CI passes.

/update-branch

/e2e-test

Triggering e2e testing with options:
<nil>

Successfully triggered e2e testing!
https://git.internal.mattermost.com/qa/cypress-ui-automation/-/pipelines/150986

Thanks @scottaudet
When adding only one line code block to header description, outline is added, but it does not show the whole code block on hover
@hmhealey would this be out of scope here? Something similar is present on daily, wasn't sure if it would be fixed here or needs to be filed separately

Yeah, that's out of scope. That's an existing issue around us simply allowing a lot of Markdown stuff in the header that probabaly doesn't make sense, but we've never bothered fixing it since it's a lot of work.

/update-branch

/e2e-test

Triggering e2e testing with options:
<nil>

Successfully triggered e2e testing!
https://git.internal.mattermost.com/qa/cypress-ui-automation/-/pipelines/155528

Thanks @scottaudet
Tested, looks good to merge

Verified creating channel header description with leading white spaces renders as expected, with whitespaces removed.
E2E failed to trigger last time, re-running again before approving.

E2E report looks good, no PR related failures.


WIP: CNV-45860: Deprecate CentOS 7 and CentOS Stream 8

📝 Description
This PR adds deprecated badges to CentOS 7 and CentOS Stream 8 in the bootable volumes page and the bootable volumes list on the InstanceTypes page.
It also moves all badge components to a single folder.
To Do: Filter out deprecated volumes.
Jira: https://issues.redhat.com/browse/CNV-45860
🎥 Screenshots

/retest

/retest

/retest

any update here?

/retest


[PL-46881] Update PL KB FAQs

Update PL KB FAQs
What Type of PR is This?

[ ] Issue
[ ] Feature
[x] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[x] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65c40e0ad7d08e00a90c7c44--harness-developer.netlify.app


Fix moco-agent fails health check when replicas = 1

Hi, I experienced a situation that the moco-agent fails health check when cluster has no replica.
$ kubectl describe pod moco-cluster-0
...

Events:
  Type     Reason     Age                 From               Message
  ----     ------     ----                ----               -------
  Normal   Scheduled  3m5s                default-scheduler  Successfully assigned default/moco-cluster-0 to host.domain
  Normal   Pulled     2m55s               kubelet            Container image "quay.io/cybozu/mysql:8.0.25" already present on machine
  Normal   Created    2m55s               kubelet            Created container moco-init
  Normal   Started    2m55s               kubelet            Started container moco-init
  Normal   Pulled     2m17s               kubelet            Container image "ghcr.io/cybozu-go/moco-agent:0.6.6" already present on machine
  Normal   Created    2m17s               kubelet            Created container mysqld
  Normal   Started    2m17s               kubelet            Started container mysqld
  Normal   Pulled     2m17s               kubelet            Container image "quay.io/cybozu/mysql:8.0.25" already present on machine
  Normal   Created    2m17s               kubelet            Created container agent
  Normal   Started    2m17s               kubelet            Started container agent
  Normal   Pulled     2m17s               kubelet            Container image "quay.io/cybozu/fluent-bit:<IP_ADDRESS>" already present on machine
  Normal   Created    2m17s               kubelet            Created container slow-log
  Normal   Started    2m17s               kubelet            Started container slow-log
  Warning  Unhealthy  2m15s               kubelet            Startup probe failed: Get "http://HIDDEN-IP:9081/healthz": dial tcp HIDDEN-IP:9081: connect: connection refused
  Warning  Unhealthy  4s (x12 over 115s)  kubelet            Readiness probe failed: HTTP probe failed with statuscode: 500

$ kubectl logs moco-cluster agent
{"level":"error","ts":1625670518.6687016,"logger":"agent","caller":"server/mysqld_health.go:56","msg":"failed to get replica status","error":"failed to show slave status: sql: no rows in result set"}
2021-07-07T15:08:38.668835Z moco-cluster-0 moco-agent error: "well: access" http_host="HIDDEN-IP:9081" http_method="GET" http_status_code=500 http_user_agent="kube-probe/1.21" protocol="HTTP/1.1" remote_ipaddr="IP" request_id="30925c3c-524e-6d90-b08d-216b1d0c7a9a" request_size=0 response_size=86 response_time=0.009838457 type="access" url="/readyz"

I browsed the codebase and found that the error is occured around func (a *Agent) GetMySQLReplicaStatus(ctx context.Context) (*MySQLReplicaStatus, error) in moco-agent.
Also, I found that the moco and moco-agent has similar implementation of GetMySQLReplicaStatus().
In moco, func (o *operator) getReplicaStatus(ctx context.Context) (*ReplicaStatus, error) has error handling of ErrNoRows for non-replica servers, but that doesn't implemented in moco-agent.
https://github.com/cybozu-go/moco/blob/04d00bbee82abccc907e69bad763d8b303bc330e/pkg/dbop/status.go#L51-L62
https://github.com/cybozu-go/moco-agent/blob/3134d15acfb9ff2d677f60a9130b432e7392db9c/server/mysql_status.go#L130-L136
I also implemented error handling for moco-agent, and got moco cluster with no replica works.

Hi, thank you for your contribution! Will take a look.

@kyontan We couldn't reproduce it. Could you tell us how to reproduce it, and give us your manifest that includes MySQLCluster and other resources such as ConfigMap for my.cnf, if any?

@ysksuzuki Sorry, I will attach the manifest within days.
Briefly, I tried to create a single node cluster with restore option.  I saw the moco-controller logs that the state flipping Healthy and Restoring.

@ysksuzuki Here is the cluster definition I used.

moco-cluster.yaml
apiVersion: moco.cybozu.com/v1beta1
kind: MySQLCluster
metadata:
  namespace: default
  name: moco-cluster
spec:
  mysqlConfigMapName: moco-cluster-mycnf
  replicas: 1
  podTemplate:
    spec:
      affinity:
        podAntiAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
          - labelSelector:
              matchExpressions:
              - key: app.kubernetes.io/name
                operator: In
                values:
                - mysql
              - key: app.kubernetes.io/instance
                operator: In
                values:
                - test
            topologyKey: "kubernetes.io/hostname"
      containers:
      - name: mysqld
        image: quay.io/cybozu/mysql:8.0.25
        resources:
          limits:
            cpu: "2"
            memory: "1Gi"
  volumeClaimTemplates:
  - metadata:
      name: mysql-data
    spec:
      storageClassName: iscsi-targetd-zfs
      accessModes: [ "ReadWriteOnce" ]
      resources:
        requests:
          storage: 10Gi
  restore:
    sourceName: old-moco-cluster
    sourceNamespace: default
    restorePoint: "2021-07-07Thh:mm:ssZ"
    jobConfig:
      serviceAccountName: default
      env:
      - name: AWS_ACCESS_KEY_ID
        ...
      - name: AWS_SECRET_ACCESS_KEY
        ...
      bucketConfig:
        ...
      threads: 1
      memory: 1Gi
      workVolume:
        emptyDir: {}

Also, my environment information is noted below:
OS: Flatcar Container Linux 2765.2.6
moco version: moco:0.10.4 (updated by latest yaml as of 2021-07-07)
$ uname -rvo
5.10.43-flatcar #1 SMP Tue Jun 15 19:46:57 -00 2021 GNU/Linux

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.0", GitCommit:"cb303e613a121a29364f75cc67d3d580833a7479", GitTreeState:"clean", BuildDate:"2021-04-08T16:31:21Z", GoVersion:"go1.16.1", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.1", GitCommit:"5e58841cce77d4bc13713ad2b91fa0d961e69192", GitTreeState:"clean", BuildDate:"2021-05-12T14:12:29Z", GoVersion:"go1.16.4", Compiler:"gc", Platform:"linux/amd64"}

Before I experienced a strange situation noted here, I could have launched a cluster with no replica.  So that the reproducibility of this problem may be low as you couldn't.

@kyontan Thank you for the update. However, we still couldn't reproduce it with the restore scenario. Could you tell us the exact operation to reproduce it?
Let me make sure. Moco-agent only issues SHOW SLAVE STATUS to replica instances that read_only is 1 in MySQLDReady. That means that your primary instance was read-only when the problem you reported occurs.
Moco set 1 to super_read_only when it finishes its restore operation, but it makes the primary writable when it's ready. Moco couldn't recover your cluster, since something was wrong.
Is my understanding correct? Correct me, if I'm wrong.

@kyontan Finally we could reproduce the same situation that you reported. The details are written https://github.com/cybozu-go/moco/issues/284.
Would it be OK to close this PR. since we will work on this problem on https://github.com/cybozu-go/moco/issues/284.?

@ysksuzuki I'm sorry for late response. and thanks for your hard work for reproducing issue!
It's fine to close this PR.
Thanks.


Upgrade nrf51-hal to 0.12.1

Relates to #27
This is a large change down to the nrf51-hal API changing significantly between 0.7 and 0.10. While the upstream changes are significant I have tried to keep changes to the APIs published from this crate to a minimum. One exception to this is what is re-exported. I'm new to this domain so if the details I've provided aren't useful or there is useful information I haven't provided please let me know.
Changes to re-exports
To make it easier to transition to supporting both the v1 and v2 microbits I have slightly tweaked the re-exports.

nrf51-hal is still re-exported as hal
nrf51-hal::pac is now re-exported as pac
nrf51-hal::nrf51::* is no longer re-exported

The library
nrf51_hal::timer
This is the biggest change. The new timer interface is significantly stripped back so all of the interrupt and compare config in microbit::display::timer now have to be done directly on the PAC.
A gotcha I hit here was that on the nrf51 all but the first timer seem to only be 16 bit.
While the implementation has changed significantly here the public interface has not changed.
nrf51_hal::gpio
How the pins are accessed and how they are named has changed however at the end of the day, they're still GPIO pins so it's not too difficult.
The external interface has changed slightly around these.
nrf51_hal::twi
The name has changed, arguments are slightly different and you have to pass the frequency explicitly now. Other than that it seems the same.
nrf51_hal::uart
The name has changed, arguments are slightly different and you have to pass whether the parity bit is included explicitly now. There doesn't seem to be a way to split it into separate read and write parts but for the examples that didn't seem to be a problem.
The examples
I have updated all examples to compile and tried to run them however not all of them work.
Fully working

gpio_direct_blinky.rs
gpio_hal_blinky.rs
gpio_hal_ledbutton.rs
gpio_hal_printbuttons.rs
led_blocking.rs
led_nonblocking.rs (it's a bit flickery but it was before, I'll look at that separately)
led_rtfm.rs
rng_direct_printrngserial.rs
serial_direct_echo.rs
serial_direct_helloworld.rs
serial_hal_blocking_echo.rs

Not working
None of these work for me on this branch or on master. I would appreciate someone who has them working on master testing them for me.

rng_hal_printrandserial.rs: crashes on line 84 at rng.next_u32().
gpio_hal_receivedcf77.rs: just get a zero timestamp.

I believe all these are failing because I have v1.5 see #9

i2c_direct_printmagserial.rs
i2c_hal_printmagserial.rs
i2c_haldriver_printmagserial.rs

Whoops, in my tiredness last night I got some of this completely wrong. It definitely does not deliver #27, it is just the first step towards that.
Also, I forgot to include the most significant API changes.

rng_hal_printrandserial.rs: crashes on line 84 at rng.next_u32().
gpio_hal_receivedcf77.rs: just get a zero timestamp.

I believe all these are failing because I have v1.5 see #9

i2c_direct_printmagserial.rs
i2c_hal_printmagserial.rs
i2c_haldriver_printmagserial.rs

Nice, I'll check it out.
Regarding DCF77: You do have a DCF77 receiver hooked up and are close enough to a DCF77 transmitter, right?

Regarding DCF77: You do have a DCF77 receiver hooked up and are close enough to a DCF77 transmitter, right?

Oh that's embarrassing. I assumed it was some peripheral on the microbit and was going to investigate then completely forgot when I investigated the  magnetometer ones. 😊

rebased

I just managed to hunt down one of the old micro:bits. Working all phantastically, great work!

LOL, not sure what's happening but the "Merge pull request button" doesn't work at the moment...


What is Calcipy?

What is the value compared to ?

The task-runner portion of calcipy was never really fully implemented or all that useful beyond my specific use cases. A better approach might be how tox has posargs or switch to mise tasks rather than trying to ship tasks as part of calcipy


a11y: use Nav component for left-side navbar

Description
This replaces our homegrown NavItem menu with a more supported (and accessible) Fluent UI Nav component, which I've attempted to style to look mostly like the old one did.
Task Item
Closes #2025
(This also addresses some older tickets that were since fixed through other means.)
Screenshots

I'm calling this a draft for now because, for some reason, this breaks the ability to enter Onboarding. Once I figure out what's going on I'll call this ready for review. For now, what's here should be good to review.


update flow

index -> if connected go straight to feed page if not go to login page, once logged in go straight to feed.

done with 464562b


Dockerfile: install netcat

OVS is using nc in some ipv6 flows
Ref: https://github.com/okd-project/okd/issues/1523

/cherrypick release-4.12


added keyboard teleop launch file

example output:
younes@dell:~/Documents/fydp/movo_ws$ roslaunch nightingale_teleop keyboard.launch
... logging to /home/younes/.ros/log/327fc8cc-7f6d-11ed-9eff-4d298f6f21fb/roslaunch-dell-147687.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://<IP_ADDRESS>:33971/
SUMMARY
PARAMETERS

/rosdistro: noetic
/rosversion: 1.15.14
/teleop_twist_keyboard/key_timeout: 0.5
/teleop_twist_keyboard/repeat_rate: 15.0
/teleop_twist_keyboard/speed: 0.5
/teleop_twist_keyboard/turn: 0.4

NODES
/
rostopic (rostopic/rostopic)
teleop_twist_keyboard (teleop_twist_keyboard/teleop_twist_keyboard.py)
ROS_MASTER_URI=http://<IP_ADDRESS>:11311/
process[rostopic-1]: started with pid [147708]
process[teleop_twist_keyboard-2]: started with pid [147709]
Waiting for subscriber to connect to /movo/cmd_vel
[rostopic-1] process has finished cleanly
log file: /home/younes/.ros/log/327fc8cc-7f6d-11ed-9eff-4d298f6f21fb/rostopic-1*.log
Waiting for subscriber to connect to /movo/cmd_vel
Waiting for subscriber to connect to /movo/cmd_vel
Waiting for subscriber to connect to /movo/cmd_vel
Waiting for subscriber to connect to /movo/cmd_vel
Waiting for subscriber to connect to /movo/cmd_vel
Waiting for subscriber to connect to /movo/cmd_vel
Waiting for subscriber to connect to /movo/cmd_vel
Waiting for subscriber to connect to /movo/cmd_vel
Waiting for subscriber to connect to /movo/cmd_vel
Waiting for subscriber to connect to /movo/cmd_vel
Waiting for subscriber to connect to /movo/cmd_vel
Waiting for subscriber to connect to /movo/cmd_vel
Waiting for subscriber to connect to /movo/cmd_vel
Reading from the keyboard  and Publishing to Twist!

For Holonomic mode (strafing), hold down the shift key:
U    I    O
J    K    L
M    <    >
t : up (+z)
b : down (-z)
anything else : stop
q/z : increase/decrease max speeds by 10%
w/x : increase/decrease only linear speed by 10%
e/c : increase/decrease only angular speed by 10%
CTRL-C to quit
currently:	speed 0.5	turn 0.4
[teleop_twist_keyboard-2] process has finished cleanly
log file: /home/younes/.ros/log/327fc8cc-7f6d-11ed-9eff-4d298f6f21fb/teleop_twist_keyboard-2*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done


Implement Read + Seek for Views?

Seems to me that View could implement these pretty effortlessly, though it might collide somewhat with split_at. I assume Seek would ignore splits and work in terms of underlying map, though.

This would require having the View type keep track of its current position internally, right?  Could you instead get the same effect by wrapping a Cursor around the view?

This would require having the View type keep track of its current position internally, right?

I feel like both of these could be implemented by adjusting the offset and len that’re already inside the view.
Namely:

Read::read would memcpy appropriate amount of bytes into provided slice and increase offset (as well as decrease len) by the amount of bytes read;
Seek::seek(SeekFrom::Start(x)) would set the offset to x and len to the length of underlying Mmap - x;
Seek::seek(SeekFrom::End(x)) would set the offset to length of underlying Mmap - x and len to x
Seek::seek(SeekFrom::Current(x)) similarly.

However, I see how they could interfere with the splitting feature Views provide. Either way, if you feel I’m making no sense, feel free to close.

Ah, I didn't catch your meaning at first.  I like the idea, except I think the seek functionality should be relative to the view itself, not the underlying mmap.  One of the nice guarantees of MmapView is that you can use it to partition off different areas of a single mmap, so leaking data from outside the range is bad.
Cursor<MmapView> is probably not possible because it requires an AsRef<[u8]> implementation for the view, which is not possible because of unsafety.  If that's something you want, you could copy the source for the view into your own project and update accordingly (but obviously be careful to understand the potential unsafety).  The MmapView implementation uses only the public APIs exposed by Mmap.  I've been considering removing it altogether, since people frequently have slightly different needs for the view (such as this), which require changing it slightly in a way that's not necessarily feasible for a published library crate.  It is nice to have it as a model implementation, though.

What are the things we need to follow up on here? Have we decided to remove MmapView?

Yep, the view types have been removed on master.  I'm going to close this, given that it's no longer applicable.


[bug]: onReachEnd is not triggered in SimpleMenu component

What version of strapi-design-system are you using?
1.14.1
What's Wrong?
onReachEnd function is not triggered in SimpleMenu component when the user scrolls to the bottom
To Reproduce
add this example in docs/stories/v2/SimpleMenu.stories.tsx
export const InfinityScrollMenu = {
  render: () => {
    const items = [
      [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
      [11, 12, 13, 14, 15, 16, 17, 18, 19, 20],
      [21, 22, 23, 24, 25, 26, 27, 28, 29, 30],
    ];

    const [pages, setPages] = useState(1);

    const itemsToRender = items.slice(0, pages).flat();

    const handleOnReachEnd = () => setPages((prev) => (prev < items.length ? prev + 1 : prev));

    return (
      <SimpleMenu label="Actions" onReachEnd={handleOnReachEnd}>
        {itemsToRender.map((item) => (
          <MenuItem key={item} onSelect={() => console.log('item clicked')}>
            {item}
          </MenuItem>
        ))}
      </SimpleMenu>
    );
  },

  name: 'infinity scroll menu',
} satisfies Story;

Only options from 1 -> 10 are rendered
Expected Behaviour
Should render options 1 -> 30
Possible fix:
Seems like Menu.Content is missing the ref prop in packages/strapi-design-system/src/v2/SimpleMenu/SimpleMenu.tsx:64
<Menu.Root onOpenChange={handleOpenChange}>
  <Menu.Trigger {...props}>{props.label}</Menu.Trigger>
  <Menu.Content ref={contentRef} intersectionId={intersectionId} popoverPlacement={popoverPlacement}>
    {children}
  </Menu.Content>
</Menu.Root>

fixed by https://github.com/strapi/design-system/pull/1748


Replace default ctor with parameterless ctor for the Visual Basic doc

I made these changes for the Visual Basic documentation.
Changes for #11957

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

@mpetrinidev Thank you!


Switch Over to customer sharepoint

Switch Over complete.
fstab.yaml updated to point to : Customer Sharepoint


Use of date-tagged ubuntu images?

Out of curiosity, why do you use date-tags for your ubuntu images? Wouldn't ubuntu:trusty automatically always target the latest date-tag?
$ docker pull ubuntu
...
$ docker images
REPOSITORY           TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
ubuntu               trusty              d0955f21bf24        4 weeks ago         188.3 MB
ubuntu               latest              d0955f21bf24        4 weeks ago         188.3 MB

@mgcrea The ubuntu:14.04 tags is sort of a living image. This means that it changes over time. The ubuntu:14.04 image you pull today will not be the same as the one you pull one month from now. You can think of the ubuntu:14.04 image as the latest available iteration of 14.04 and not as a tag that represents a distinct point in history when the image was created.
By using the date tagged image I can more of less be sure that the ubuntu image has more or less what I expect. So if you build the image yourself, I can be certain that it will more or less the same image that I built.
As a result this reduces cases where you can have the "it works for me argument" because the starting point in all cases will be the same.
I hope my response makes sense to you.

@sameersbn Thanks for the detailed response! Indeed it makes sense.


can't clear query key-value pairs

sometime， I want to remove some specific key-value pairs. could you add a remove method?

@jasonChen1982  , I add a new api removeParams to remove params.
u.removeParams(['key1', 'key2' ...])

diao diao de


@conda-forge-admin,please add bot automerge

Comment:
No response

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/pytest-tldr-feedstock#6.


fixes based on latest WTH updates

Hi Tom,
I traced the failure in
https://github.com/wmo-im/wis2box-api/pull/39
wis2box-api-test      |   File "/app/wis2box_api/admin.py", line 59, in __init__
wis2box-api-test      |     super().__init__(config)
wis2box-api-test      | TypeError: __init__() missing 1 required positional argument: 'openapi'
to be due recent change in pygeoapi :
https://github.com/geopython/pygeoapi/blob/master/pygeoapi/api.py#L644

Unlike wis2box-api-main,  wisbox-api:wisbox-1.0b5 includes a test to check that wis2box-api can be started , that is why it was not detected in https://github.com/wmo-im/wis2box-api/pull/38


Update WifiClientSecureEnterprise.ino

Fixed the issue that the EAP_ANONYMOUS_IDENTITY is not declared in the Header but used afterwards.

Thanks a lot! I missed that :)


'Foundation' to 'International'

@ljoelle personally i'd prefer Labs here i.e. Open Knowledge Labs.

After a year's time, I think we can close this and remain an “Open Knowledge Labs” project.
Cheers!


Trying to pin down a single NameCache

          1 Error

:no_entry_sign:
Please include a CHANGELOG entry.

  Generated by :no_entry_sign: Danger

Codecov Report

Merging #474 into master will decrease coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #474      +/-   ##
==========================================
- Coverage   68.58%   68.57%   -0.01%
==========================================
  Files         179      179
  Lines       10062    10066       +4
==========================================
+ Hits         6901     6903       +2
- Misses       2634     2636       +2
  Partials      527      527

Impacted Files
Coverage Δ

cli/cli.go
67.85% <100%> (+1.6%)
:arrow_up:

graph/graph.go
92.25% <100%> (ø)
:arrow_up:

util/logging/config.go
40.78% <0%> (-2.64%)
:arrow_down:

Continue to review full report at Codecov.

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


heatmap colorscale: zmin/zmax don't hide when zauto is true

plotly.js bug?

@dmt0 this is probably a good candidate for your new visibility-related meta-component :)


Connections tab shows 6 connnections instead of 5 which are created by rhea client

enmasse-master-standard 1467
Test create 5 connections using rhea connector, and connection tab shows 6 connection. This test sometimes fails dues to this exception.

They all seem to have the connection_property1. Try running qdstat -c against the router to see if all are listed there. Is it possible the client could be making an additional connection for some reason (hard to explain the special property name otherwise)? Is it one process that creates all these connections?

@grs @lulf ah, my bad, test creates 6 connection but assert got only 5, it is problem in test -> I need to do better waiting mechanism for this. Apologize for blaming enmasse


Fix Failing SIP Routing tests

Packages impacted by this PR
communication\communication-phone-numbers
Issues associated with this PR
3047675 Fix Sip Routing Tests - JS SDK
Describe the problem that is addressed by this PR
The tests started to fail when run by pipelines in parallel.
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
Used dynamic resources instead of a static one. So each pipeline works with own resource.
And altered code to use randomized domain FQDNs, because one domain can be assigned only to one resource at the time.
Are there test cases added in this PR? (If not, why?)
Not needed. PR is fixing tests.
Provide a list of related PRs (if any)
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists

[x] Added impacted package name to the issue description
[ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[ ] Added a changelog (if necessary)

API change check
API changes are not detected in this pull request.


Error invoking remote method 'send-http-request': TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["Authorization"]

I have checked the following:

[X] I use the newest version of bruno.
[X] I've searched existing issues and found nothing related to my issue.

Describe the bug
tried to manually set Authorization header in the headers tab to no avail.

.bru file to reproduce the bug
No response
Screenshots/Live demo link

That header key or value might contain a "non-printable unicode character". Check online, or just try typing out some parts of the header yourself.

This is also happening to me. If I configure a bearer token in a collection root, and then I try to inherit it in the inner requests, it fails with this error. But if I manually put exactly the same bearer token in the Auth settings of the request, then it works.

This is also happening to me. If I configure a bearer token in a collection root, and then I try to inherit it in the inner requests, it fails with this error. But if I manually put exactly the same bearer token in the Auth settings of the request, then it works.

I quote myself. The "collection.bru" file became like this:
`
auth {
mode: bearer
}
auth:bearer {
token:

}
`
The token duplicated multiple times. If I clean the file manually, it works.

Hey @manolitooo, is it possible for you to share a screen recording? Or please share the error logs in the Bruno dev tools.

Hey @manolitooo, is it possible for you to share a screen recording? Or please share the error logs in the Bruno dev tools.

I think I found out the "issue". When copying the token from the browser's dev tools (in Edge at least), it gets the Authorization value with a "new line" character at the end. This way when pasting you see no value and try again, basically concatenating multiple times the same token. So yes, this is a misuse (at least as per my case, not sure about the OP).
Maybe it could be improved by automatically trimming the pasted value, but that is different topic.


minor React fix

Hi there :)
Just changed the this.getDOMNode to React.findDOMNode(this) to make it compatible with React 1.13

Hey @dylanvorster, thanks for this!


Feat/Goal screen : create a floating button

Feature task 👍
Create a floating button with three options - assigned goal, a new goal, and todo.
wireframe :

icons 👍
https://iconduck.com/

I'm taking this

Test incomplete
ETA - 23/09/22


Notification priorities

Add priority option to notifications, so the notification with the highest priority will be always the first.
Add demo with notification priority.
Update readme file.

Please update your pullrequest with new merged committs.

Updated


APY Calculation

I think we should use our uAD-UBQ Sushiswap market as the oracle to calculate UBQ rewards APY.

Quick question; is that market address documented somewhere? The SushiSwap link from the dashboard goes to https://app.sushi.com/swap?inputCurrency=0x4e38D89362f7e5db0096CE44ebD021c3962aA9a0&outputCurrency=0x0F644658510c95CB46955e55D7BA9DDa9E9fBEc6 which has the correct pair, but doesn't reference the contract address you linked.
On the contracts Notion documentation there is a link to the "SushiSwap pool" contract; which to my confusion, is not the contract you are mentioning. What is the relationship between the two?

We can close this after that branch is merged.


Localized & draft & ID_texts

Document current behavior, reasoning, potential way forward ...

@David-Kunz  @beckermarc - as discussed in spec meeting on Monday: please add whatever you think is helpful, in particular w.r.t. runtime and Fiori.
Feel free to do with the existing text whatever you think is necessary :-)

@David-Kunz  @beckermarc - little reminder - as discussed in spec meeting last week: please add whatever you think is helpful, in particular w.r.t. runtime and Fiori.
Feel free to do with the existing text whatever you think is necessary :-)


Code in adjust_angles method

In the adjust_angles method (hiveplot.py), lines 288, 289,
it isn't computed the index of a group in the list of node groups, but the angle theta corresponding to that group. Is it OK to compare  theta to len(self.nodes.keys())-1 (line 291 and other lines following below) ?

@empet: great catch! I think I was accumulating technical debt at that point. I have made fixes to the code. Out of curiosity, which group are you with?


Language Server doesn't start with PDK 1.9.0 due to new Ruby version

What Versions are you running?
OS Version: Win10
VSCode Version: 1.30.2
Puppet Extension Version: 0.16.0
Puppet Agent Version: N/A
PDK Version (if applicable): 1.9.0
What You Are Seeing?
On opening a .pp file, in the Puppet output panel:
Launching server using command C:\Program Files\Puppet Labs\DevelopmentKit\private\ruby\2.5.1\bin\ruby failed.
[Error - 1:00:25 PM] Launching server using command C:\Program Files\Puppet Labs\DevelopmentKit\private\ruby\2.5.1\bin\ruby failed.

How Did You Get This To Happen? (Steps to Reproduce)
PDK 1.9.0 includes Ruby 2.5.3 rather than 2.5.1
Output Log

Thanks @nikdoof, we'll prioritized a long term fix for this instead of doing short term hardcoding like we have been.


utf-8 and ansi PSTR to rust string

There is an implementation of converting rust string to null terminated PSTR types for use in windows-api functions. The implementation converts directly by appending a null.
This will not work for most systems' default which is not utf-8 (which is still somewhat experimental), and the app specifying a utf-8 execution supported via the manifest only available after a certain build of win10.
Converting ansi PSTR results of MultiByteToWideChar to rust string is guaranteed to panic when working in rust with them.
This may be better if the documentation is clearer, and recommend using the W version of the functions which automatically does the conversion.

Using UTF-8 strings with the ANSI version of APIs is certainly a gotcha to keep in mind. Some of them deal with UTF8 but that is certainly not universal yet. This has been a longstanding issue with the Windows API. Certainly, using the wide version of APIs is the recommended solution to overcome this problem, but that's up the developer to make that determination.


How to use external libraries.

Problems summary
Can't use auto complete by external libraries.
I try this, but not auto and very slowly.
setlocal path+=/Applications/Cocos/Cocos2d-x/cocos2d-x-3.6/cocos/
<C-x><C-i>
looks like issue #34, but not fix think.
I want to use "cocos2d-x" library.
Expected
Not use <C-x><C-i>(want auto complete)
and more speedy.
This image is use <C-x><C-i> result.

Environment Information

OS: OS X EI Capitan 10.11.6
Neovim version: NVIM 0.1.6

init.vim
setlocal path+=/Applications/Cocos/Cocos2d-x/cocos2d-x-3.6/cocos/
let g:deoplete#sources#clang#libclang_path = '/Library/Developer/CommandLineTools/usr/lib/libclang.dylib'
let g:deoplete#sources#clang#clang_header = '/Library/Developer/CommandLineTools/usr/lib/clang'

You should install neoinclude.
It searches from path directory.
https://github.com/Shougo/neoinclude.vim

Thank you.
add let g:neoinclude#_paths = '/Applications/Cocos/Cocos2d-x/cocos2d-x-3.6/cocos' then
I can auto complete,
but Not analyzed? syntax is wrong.
Don't use <C-x><C-i>. (auto complete)

mistake complete.

but Not analyzed? syntax is wrong.

Yes, it seems like <C-x><C-i>.  It does not analyse syntax.

I try this, but not auto and very slowly.

You have not said about syntax analyses.

Ok. Thanks.
Unconsciously want good text editor.

Hi, first of all, thanks for this tool guys!!
I've just release a tool that generates compilation database files for make-based build systems, which I think can be used with deoplete (setting compilation db file path in .clang file). I've used it successfully to index some large AOSP modules in ~1 minute and used its output with tools like YouCompleteMe, Deoplete and Rtags.
Feel free to try it out, open issues/feature requests and send PRs :)
https://github.com/nickdiego/compiledb-generator
Thanks,
Nick

Nice.


Adding a tab via activateTab when viewControllers is empty causes crash.

If the view controllers array is empty and activateTab is called to add a tab an assertion failure will cause the program to crash
2018-04-02 15:18:46.925062-0700 TabView Sample[331:36129]
*** Assertion failure in -[TabView.TabViewTabCollectionView _endItemAnimationsWithInvalidationContext:tentativelyForReordering:animator:],
 /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit/UIKit-3698.52.10/UICollectionView.m:6031
2018-04-02 15:18:46.926864-0700 TabView Sample[331:36129]
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException',
reason: 'Invalid update: invalid number of items in section 0.
The number of items contained in an existing section after the update (1) must be equal to
the number of items contained in that section before the update (1), plus or minus the number
of items inserted or deleted from that section (1 inserted, 0 deleted) and plus or minus the
number of items moved into or out of that section (0 moved in, 0 moved out).'

This behavior can be seen in the Sample project by making the following edit to ViewController.swift
        // Set the tabs in this tab view
//        self.viewControllers = [
//            Tab(title: "White", color: .white),
//            Tab(title: "Black", color: .black),
//            Tab(title: "Red", color: .red),
//            Tab(title: "Green", color: .green),
//            Tab(title: "Blue", color: .blue),
//            Tab(title: "A really long title", color: .blue)
//        ]

		self.activateTab(Tab(title: "Red", color: .red))

I haven't been able to quite figure out what is going on. If I do a PR will be forthcoming.

A little more information on this.
As long as the viewControllers array is assigned before the first call to activateTab the problem does not occur. So it must be some side-effect of the set block on viewControllers.
    // No crash
    self.viewControllers = [ ]
    self.activateTab(Tab(title: "Red", color: .red))


Consumer redesign

This pull request redesigns the Consumer API to be closure based rather than delegate based.
It deprecates the old classes, HighLevelConsumer and SimpleConsumer and introduces a new class called Consumer.
Internally, it refactors out a lot of the extension methods used for converting between KafkaIntX types, and instead introduces a new protocol KafkaType. The standard IntX, UIntX, String and Data types have been extended to conform to this protocol and can now be used in place without a wrapper class. KafkaArray still remains, but should be replaced by conditional protocol conformance once it is added to Swift.
This also adds Docker tests, which runs a containerised instance of Kafka that Franz then connects to.

Nice. I like the addition of the Docker tests, too.


Fixed wrong transfer flag

I found a little typo in the train function.
FLAGS..mode is choosen between fit, eager_fit and eager_tf.
The right flag here is FLAGS.transfer.

This Pull Request will fix #68

ops thanks for the pr


Removed unused files

I couldn't find any place where those files are used.
@airportyh r?

It's good :)


fix(507): replaced gallery placeholder asset

Replaced asset for the gallery placeholder image.
Ticket
Visual change - screenshot after:

Replaced dark theme placeholder asset:


New release required to implement some changes made since 0.2.7

Among other changes made since the release of 0.2.7, the solution to issue #41 is not implemented in the Bower package of version 0.2.7. A new release (to 0.2.8) should be made in the Github repo in order to include these changes in the latest available Bower install.

+1


⚠ Spryr has degraded performance

In 931cc0a, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 5616 ms

Resolved: Spryr performance has improved in 9c5bc8d after 14 minutes.


MRG, BUG: Fix montage plotting, deduplication, and preload check

Fix a few small bugs before release. Pooled together because the changes are all pretty small and hopefully easy to understand, so I figured I'd try to save some CI cycles. Can split back out if necessary.
Closes #8025
Closes #7859
Closes #7452

thanks @larsoner


Nylas Mail Discontinued

Development for Nylas Mail has been discontinued. The entry should either mention this or the entry itself should be removed.

Yes, it's been discontinued but I believe the github community is still keeping updates, is it?


Fix onboarding local database creation

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Michal seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Michal seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


problem: No wrong happened.  But I cannot see any motors.

Thanks for your fantastic work. But I meet One problem:
When I click start, the RViz and rqt pop out like in the picture, but I could not see any motors, like that

Hi @LIANGXINKAI,
This is what I see after running rosrun aclswarm_sim trials.sh -f swarm6_3d -i

And this is what it looks like after running rosrun aclswarm_sim trials.sh -f simform20 -i

Two suggestions:

Does rosrun aclswarm_sim trials.sh -f swarm6_3d -i work as expected?
I notice in your rviz that it says No tf data --- it may be that something didn't start correctly. For the swarm6_3d formation, my rqt_graph looks like the following (showing only two of the simulated vehicles):

closing for now, feel free to reopen if you are still facing this issue

closing for now, feel free to reopen if you are still facing this issue

Hello, I encountered the same problem, the terminal does not report an error ,but RVIZ does not display the model, and my rqt_graph shows few nodes, I don't know how to deal with it, hope it can help me

hi @YM-98  please consider opening a new issue instead of adding to this closed, different issue.
What command did you run? Your rqt_graph only shows the operator node running, so the actual distributed swarm pipeline did not run.

tmux should be installed first

and add the workspace setup.bash into the .bashrc


Fix memory violation when processing cmd line args in the driver

This may not fix all the problems, looking further.

More investigations show that this only happens when you have more than one benchmark arguments. For example, --benchmark_filter=OpenMP* --benchmark_color=false. The presence of our arguments does not seem to matter.

OK. So, the problem is these two functions:
  int &argc() { return _argc; }
  char **argv() { return _argv.data(); }

What happens is that internal members of CmdLineArgs are changed during benchmark parsing. Benchmark decreases argc, and (probably) puts nullptr into the argv members. But it does not change argv size as it does not know about it. Thus, you will get double delete[] corresponding to removed benchmark options.

@aprokop thanks for the explanation
Please add a comment to capture that and add the curly braces you removed from the for-loop back

Will do. It's funny that the second patch was exactly the right fix for this.

This is the guilty code: https://github.com/google/benchmark/blob/f92903cc5338daed898242f22015d8426c065770/src/benchmark.cc#L456-L458
I still don't understand why that doesn't create a memory leak, though.

Running
 valgrind --leak-check=full examples/bvh_driver/ArborX_BoundingVolumeHierarchy.exe --benchmark_filter=Serial --values=10 --benchmark_color=false

I still get a memory leak:
==8214==
==8214== HEAP SUMMARY:
==8214==     in use at exit: 370 bytes in 6 blocks
==8214==   total heap usage: 249,106 allocs, 249,100 frees, 78,973,521 bytes allocated
==8214==
==8214== 50 bytes in 2 blocks are definitely lost in loss record 3 of 5
==8214==    at 0x4C3089F: operator new[](unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==8214==    by 0x11BC6D: CmdLineArgs::CmdLineArgs(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, char const*) (bvh_driver.cpp:267)
==8214==    by 0x117BDC: main (bvh_driver.cpp:323)
==8214==
==8214== LEAK SUMMARY:
==8214==    definitely lost: 50 bytes in 2 blocks
==8214==    indirectly lost: 0 bytes in 0 blocks
==8214==      possibly lost: 0 bytes in 0 blocks
==8214==    still reachable: 320 bytes in 4 blocks
==8214==         suppressed: 0 bytes in 0 blocks
==8214== Reachable blocks (those to which a pointer was found) are not shown.
==8214== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==8214==
==8214== For counts of detected and suppressed errors, rerun with: -v
==8214== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)

@masterleinad You are right, it makes no sense.

So it seems what actually happens is benchmark overwriting the addresses and they never get deallocated. So, we actually need to store an extra array (or return a copy for values).


Roll engine deef2663aca4..e6a2534b63ac (20 commits)

https://github.com/flutter/engine/compare/deef2663aca4...e6a2534b63ac
git log deef2663aca4..e6a2534b63ac --first-parent --oneline
2020-04-15<EMAIL_ADDRESS>Add a gn flag to disable desktop embeddings (flutter/engine#17708)
2020-04-14<EMAIL_ADDRESS>[web] Fix extra canvas generation due to context access (flutter/engine#17710)
2020-04-14<EMAIL_ADDRESS>switched to using the ocmock build file in //build (flutter/engine#17707)
2020-04-14<EMAIL_ADDRESS>Roll src/third_party/skia ad653d8378d7..44e2c5f0babc (9 commits) (flutter/engine#17709)
2020-04-14<EMAIL_ADDRESS>Adjust the GLFW build options (flutter/engine#17704)
2020-04-14<EMAIL_ADDRESS>Roll fuchsia/sdk/core/mac-amd64 from 8JtFK... to X4B0z... (flutter/engine#17701)
2020-04-14<EMAIL_ADDRESS>Roll src/third_party/dart 4aa896464a48..3e43a3dcadf9 (3 commits) (flutter/engine#17698)
2020-04-14<EMAIL_ADDRESS>Roll src/third_party/skia f50063625a0c..ad653d8378d7 (3 commits) (flutter/engine#17697)
2020-04-14<EMAIL_ADDRESS>Roll src/third_party/skia 4f17b60208fa..f50063625a0c (1 commits) (flutter/engine#17696)
2020-04-14<EMAIL_ADDRESS>Roll src/third_party/dart 2aecf30d2b2e..4aa896464a48 (26 commits) (flutter/engine#17694)
2020-04-14<EMAIL_ADDRESS>Move Linux shell docstrings to headers (flutter/engine#17410)
2020-04-14<EMAIL_ADDRESS>Roll src/third_party/skia f3953d04a0b8..4f17b60208fa (9 commits) (flutter/engine#17693)
2020-04-14<EMAIL_ADDRESS>Roll fuchsia/sdk/core/mac-amd64 from G7eYf... to 8JtFK... (flutter/engine#17689)
2020-04-13<EMAIL_ADDRESS>In tests run dart code on ui(rather than on platform) thread. (flutter/engine#17686)
2020-04-13<EMAIL_ADDRESS>Roll src/third_party/skia d468a1619a2f..f3953d04a0b8 (11 commits) (flutter/engine#17685)
2020-04-13<EMAIL_ADDRESS>Use VK_LAYER_KHRONOS_validation only on Fuchsia (flutter/engine#17683)
2020-04-13<EMAIL_ADDRESS>[web] Fix compositing order when adding paragraph tags (flutter/engine#17645)
2020-04-13<EMAIL_ADDRESS>Made it so unit tests can be written against all ios engine code. (flutter/engine#17624)
2020-04-13<EMAIL_ADDRESS>Enable required extension
2020-04-13<EMAIL_ADDRESS>Roll src/third_party/dart c9710e5059ad..2aecf30d2b2e (1 commits) (flutter/engine#17680)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Gold has detected one or more untriaged digests on patchset 21.
Please triage them at https://flutter-gold.skia.org/search?issue=54806.


A typo in readidadata.py

It seems that there is a typo in readidadata.py.
In 140-th line, the third argument of parse_operand should be operand3 instead of operand2.

Many thanks :)


Docs: usermod group permission doesn't take effect after relog in Ubuntu. Requires reboot.

Problem description
This page https://docs.docker.com/engine/install/ubuntu/ mentions a relog is sufficient to reload permissions for groups when usermod is used, while on my Ubuntu (18.04 LTS) a reboot was required for the permission changes to take effect. I can't create a pull request because the part of the docs in which it is mentioned is in install-script.md which I can't find in the docker.github.io docs repo.
Problem location

I saw a problem on the following URL: https://docs.docker.com/engine/install/ubuntu/
File in repo: https://github.com/docker/docker.github.io/edit/master/engine/install/ubuntu.md

Project version(s) affected
No specific version, current live docs.
Suggestions for a fix
Change relog to reboot in docs. In addition, add install-script.md to the repo.

Duplicate of #7652.


fix: Bridge page, the link to the faucet doesn't work

Describe the bug
On the bridge page, in the site header "Receive some tokens for bridging with our faucet." when you click on "faucet", it says "404 This page could not be found."
Bridge page header

Faucet

Steps to reproduce
Steps to reproduce here..
Additional context
Additional context here.

I think you just need to change wrong link to one of those:
https://l1faucet.a1.taiko.xyz/
https://l2faucet.a1.taiko.xyz/

fixed in https://github.com/taikoxyz/taiko-mono/pull/13112


Sass integration

This requires running sudo gem install sass before bin/sass_watch.sh.

@perduta could you please make sure, that this works with docker?
When user will run:
docker-compose up --build
it should compile/convert sass files to css.
If docker is run on localhost:
docker-compose -f dev.yml up --build
it should also run watch script.

It would be nice to have clean dev environment in the repository, so people won't be forced to figure this kind of stuff. Thank you for making it clear.

I think it would be much simpler to use scss syntax. I rebased a code and added a proper commit with necessary changes.

It would be nice to have clean dev environment in the repository, so people won't be forced to figure this kind of stuff.

Indeed! :)


Create an event page...

.. to display events to which we participates (talks, workshops, etc), with links to resources (slides, etc). It could be a way to keep track of them.
We could store the information in a YAML file in the _data folder, and display them as a table on a dedicated page linked on the header.
What do you think?

Talk at BOSC

video: https://youtu.be/J7Dp_v4loeE?si=ujO5y8LO9jPZ_LUQ
slides on F1000

Poster at elixir all hands
-F1000

Fixed with #768


'Embedded' Edge browser becomes unresponsive after a while

Describe the bug
Using the 'Hand interaction examples' from the MRTK Examples Hub installed from the Microsoft Store, when I launch the Edge browser from the UWP external app section, the browser pops up correctly. However, if I lift my hololens visor or look at something else for a while (less than a minute), the browser becomes unresponsive and cannot be interacted with whatsoever. The only way to recover is to close it and re-open another one.
To reproduce
Steps to reproduce the behavior:

Download MRTK Examples Hub from the Microsoft Store (or build it yourself)
Click on Hand interaction examples
Click on Launch Edge Browser
Lift your visor for approximately a minute (or look at at something else so that the browser is not in your FOV)
Put back your visor and try to interact with the browser

Expected behavior
I expect the browser to be responsive or to have a way to wake it up
Your setup (please complete the following information)

Try using the MRTK Examples Hub directly from the Store
but I had the same issue while building the application myself using:
Unity Version 2020.3 LTS
MRTK Version 2.7.3

Target platform (please complete the following information)

HoloLens 2

Hello! I did not get any feedback on this. Were you able to reproduce it?
Thanks!

We appreciate your feedback and thank you for reporting this issue.
Microsoft Mixed Reality Toolkit version 2 (MRTK2) is currently in limited support. This means that Microsoft is only fixing high priority security issues. Unfortunately, this issue does not meet the necessary priority and will be closed. If you strongly feel that this issue deserves more attention, please open a new issue and explain why it is important.
Microsoft recommends that all new HoloLens 2 Unity applications use MRTK3 instead of MRTK2.
Please note that MRTK3 was released in August 2023. It features an all new architecture for developing rich mixed reality experiences and has a minimum requirement of Unity 2021.3 LTS. For more information about MRTK3, please visithttps://www.mixedrealitytoolkit.org.
Thank you for your continued support of the Mixed Reality Toolkit!


How do I obfuscate the merged AAR?

It seems like turn on minifyEnabled is not working, I'll get lot's of duplicate definition of library class and the output class.jar lost most of the codes.

Where do you get duplicate definition - while compiling the library or
while compiling the app?
Also does if work properly without minify enabled?

Sorry I found this may be false alarm.
The real issue is that task embedProguard can't find proguardLibFile at first, I have to type twice assembleRelease so that proguardLibFile.exists() become true.
It means that AAR's dependencies's consumerProguardFiles doesn't include correctly if I did clean release build.


Can somebody explain to me what's going here

why this syntax is working:
loader: ExtractTextPlugin.extract('style-loader', 'css-loader!postcss-loader')
and all vendor prefixes are being added
and this one is not:
loader: ExtractTextPlugin.extract('style-loader', 'css-loader', 'postcss-loader')`
from any documentations available online, I couldn't find why NOT all loaders could be separated by comma

ExtractTextPlugin.extract([notExtractLoader], loader, [options]), did you actually read the documentation? =)

The first parameter is to be used with all the chunks not handled by ExtractTextPlugin, the second parameter specifies the actual loaders.

FWIW, nowhere in the readme does the term notExtractLoader appear.

@IanVS it's now (and has been for the past few months?) called the fallbackLoader.

Except for in the example: https://github.com/webpack/extract-text-webpack-plugin/blob/master/example/webpack.config.js#L17

Hi,
The syntax has been updated so it should be a little clearer now.


USB drive support

From my understanding of the OtterCastAmp v1.2 schematic, the only way to play music from an external USB drive is to use an USB-C hub with power pass-through.
Should I expect most of the USB-C hubs to work nicely with OtterCastAmp, or should I rather try to remix the design with either:

Have two USB ports, one for power, one for data ;
Add an internal USB 2.0 hub for another USB port?

What is your opinion on simplifying the use of an USB drive in future versions?
Thank you for all this amazing work!

Hi!
Currently USB host mode doesn't work due to a still unknown bug.
It should work and it's most likely a software issue, but we're not 100% sure.
USB device mode (as a sound card) does work, so the USB itself is fine.
Just general purpose USB-C hubs for notebooks and smartphones should work fine.


add support for hwb() color function

docs : https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/hwb()
spec : https://www.w3.org/TR/css-color-4/#the-hwb-notation
based on : https://github.com/w3c/csswg-drafts/blob/main/css-color-4/hwbToRgb.js

yarn test passes
verified with css-language-features and manually ran the extension

I did not find how to localise Creates a Color from hue, white and black..
Is this done elsewhere?

Also opened a PR to get better highlighting for hwb() : https://github.com/microsoft/vscode/pull/142536
Edit : Opened a PR for highlighting in the correct repo : https://github.com/atom/language-css/pull/191

Very cool, thanks a lot, @romainmenke !
I added some more tests.
I'm not sure what you mean by
I did not find how to localise Creates a Color from hue, white and black..
You mean the actual translation? It's done in https://github.com/microsoft/vscode-loc it's a gap that we don't translate strings contained in the language servers.

Yes that is what I was looking for :)
I mainly didn't want to create new gaps if everything else was translated.
Thank you for the extra tests and the review!


Platform romanian translation

Hi,
I added an new option for the Romanian language and also I translated to this language the platform/display messages.

Hello Florin,
Thank you for your hard work adding the romanian translation. It would be helpful in general, if you could split your pull requests depending on what you change (in this case: readme & translation) so I can merge them separately.
Thank you in any case,
Gabriel

Hello Gabriel,
OK I will try to do how you say.
I am not programmer but I try to learn fast.
Next is to understood how work the platform in special the Builder.
For this I try to rebuild the applications and I have in plan to start with "r3_location" this not have dependence by another application.
Thank you!


Add multiple attachments at a time

This is to address #280

Make that #277.

I'm not sure what the problem was, but it seems unrelated to this code that it never called.  I'm writing "suspicious" here in case it needsto be found again.


Glutaric acidemia IIA, B, C

NAA10-related syndrome
Can we related subterms such as multiple acyl-CoA dehydrogenase deficiency, mild type
to the OMIM subtypes Glutaric acidemia IIA, B, C ?

@pnrobinson are you asking for the included terms in the OMIM entry to be split out as separate terms in Mondo?
I see we have 'multiple acyl-CoA dehydrogenase deficiency, mild type' and 'multiple acyl-CoA dehydrogenase deficiency, severe neonatal type' in Mondo that come from Orphanet, but I don't know which subtype that corresponds with.


Mazda CX-5 2024 Fingerprint

Added Discord user aaaa_51443's Fingerprints
Car
Mazda CX-5 2024
Route
ad9d38124d3a3ef5|2024-01-02--06-14-08

Bump
Anything else needed to merge @sshane ?

Dongle, platform, VIN
Name from VIN 🆚 CarInfo
Segments
Bad seg tags
Good seg tags

ad9d38124d3a3ef5MAZDA CX-5 2022JM3KFBBM8........
MAZDA CX-5 2024 🆚Mazda CX-5 2022-24
108 routes, 3450 segments
- spotty FW: 896- missing ECU FW: 105- car faulted: 144
- valid torque params: 3382- all lat active: 1758- no input all lat active: 988

Do we know why the user's car is having so many steering faulted segments?

Potentially related to https://github.com/commaai/openpilot/issues/23984


ARTEMIS-128 ClassCastException in openwire message conversion

This PR seems dependent on #8, why don't you cherry-pick this commit into that branch and have a single PR?

ok.

cherry-picked into ARTEMIS-127


Unsoudness?

I was testing certain scenario, and I think I've discovered an unsafety:
extern crate fringe;

use fringe::{OsStack, Generator};

fn main() {
    let stack = OsStack::new(1 << 16).unwrap();
    let mut gen = Generator::new(stack, move |yielder, ()| {

        {
            let mut x = 3u32;
            yielder.suspend(&mut x)
        }

        {
            let mut y = 3u32;
            for _ in 1..4 { yielder.suspend(&mut y) }
        }
    });

    let x = gen.resume(());
    println!("{:?}", gen.resume(()));
    println!("{:?}", gen.resume(()));
    *x.unwrap() = 6;
    println!("{:?}", gen.resume(()));
    println!("{:?}", gen.resume(()));
}

As you can see, I can modify x long after it is no longer in scope. Depending on release/debug I'm getting different results.

It's fixed in master. Thanks!


Everytime when I launch a gb file, the telnet connection would be closed.

I tried three different gb file,but the issue still the same.

Here's the info.


print recipe designing on ionic view(html) by this plugin

Help me please, I have designed a recipe in html but how to print it by this plugin?

It isn't possible to print html formatted text.
Check out how to format your text here.

Do you have another solution for me?

Unfortunately no. :(

Now, I can print html contents by this plugin. Thank you.
Sent from my ASUS
-------- Original Message --------
From:Giorgio Fellipe<EMAIL_ADDRESS>Sent:Tue, 07 Mar 2017 00:45:18 +0700
To:giorgiofellipe/cordova-plugin-datecs-printer<EMAIL_ADDRESS>Cc:takoy123 takoythammavong123@gmail.com,Author<EMAIL_ADDRESS>Subject:Re: [giorgiofellipe/cordova-plugin-datecs-printer] print recipe designing on ionic view(html) by this plugin (#35)

Unfortunately no. :(
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.￼
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/giorgiofellipe/cordova-plugin-datecs-printer","title":"giorgiofellipe/cordova-plugin-datecs-printer","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/giorgiofellipe/cordova-plugin-datecs-printer"}},"updates":{"snippets":[{"icon":"PERSON","message":"@giorgiofellipe in #35: Unfortunately no. :("}],"action":{"name":"View Issue","url":"https://github.com/giorgiofellipe/cordova-plugin-datecs-printer/issues/35#issuecomment-284473932"}}}

Can you share sample code for printing HTML contents using tag definitions. ? It would be much help

hi takoy123 you told before "Now, I can print html contents by this plugin. Thank you." can you please share sample i need help. Thanks


[FEATURE]: Board Settings Permissions

Relates to #344
Proposed Changes

Validate on Frontend and Backend if the user match with:

Is Team Admin or Stakeholder
Is Responsible (only on sub-boards)
Is the owner

Add listener to when user press the enter key submit the form (on Frontend)

Discussed with @CatiaBarroco-xgeeks and @f-morgado
This pull request closes #334

LGTM 🚀


More Amazon and CA Post

Breaking change

n/a
Proposed change

Added limited CA Post package searches
Added more Amazon country TLDs to search: UK and CA

Type of change

[ ] Dependency upgrade
[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (which adds functionality)
[ ] Breaking change (fix/feature causing existing functionality to break)
[x] Code quality improvements to existing code or addition of tests

Additional information

n/a

This PR fixes or closes issue: fixes #124 fixes #125

excited for CA post!


Binding new event after using DrawingManager

For example : i use DrawingManager to draw a polygon, and i can get coordinates from polygon i have drawn, but how i can bind the drag event for example to my polygon?

The DrawingManager is a component with state. So the polygon created by it is not controlled by react-google-maps. If you wish to control that, you'll have to:

setup a listener for DrawingManager
whenever a polygon is created, read out the data from the polygon from the event argument and save it to your this.state
render a Polygon component with that state
clear the state of DrawingManager

Not sure if it's doable though ...

@tomchentw It's doable - I've been using this exact approach for some time now :smile: It's not ideal in terms of a "controlled" API, because as you mention the DrawingManager has already added your "uncontrolled" shape to the map's internal state, but it's easy enough to work around.
handleOverlayComplete = (evt) => {
  const type = evt.type;
  const overlay = evt.overlay;

  // Use react-google-maps instead of the created overlay object
  google.maps.event.clearInstanceListeners(overlay);
  overlay.setMap(null);

  // Ok, now we can handle the event in a "controlled" way
  this.props.doSomethingReactWithTheData(overlay);
  // ex:
  // let radius = shape.getRadius();
  // let center = shape.getCenter();
  // this.setState({ circles: [ ...this.state.circles, { radius, center }]});
}

<DrawingManager
  {...props}
  onOverlaycomplete={this.handleOverlayComplete}
/>

Perhaps this would be a good "advanced" example in the gh-pages

We're going to look into this shortly. Feel free to submit a PR. Close for now
We're also looking for maintainers. Involve in #266 to help strengthen our community!

Hello, onOverlaycomplete is not working.

Could you please let me know about it?


Removed Nodemodules and added git ignore | Enhanced project Space

Description
Removed Nodemodules and added git ignore | Enhanced project Space
Fixes #759
Type of change
Please delete options that are not relevant.

[X] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[X] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[X] This change requires a documentation update
[X] Documentation Update

Checklist:

[X] My code follows the style guidelines(Clean Code) of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have created a helpful and easy to understand README.md
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[X] I have added tests/screenshots(if any) that prove my fix is effective or that my feature works

@Ayush7614 can you please review and merge the PR so that I can proceed with other issues.


Fix ReaperSkippingSlabTraversalWhileSlabReleasing test

This change is

Reviewed all commit messages.
Reviewable status: 0 of 3 files reviewed, 1 unresolved discussion (waiting on @byrnedj, @igchor, and @vinser52)

run_tests.sh line 4 at r3 (raw file):

# Newline separated list of tests to ignore
BLACKLIST="allocator-test-AllocatorTypeTest

why did you remove that?

Because this is the test suite that was failing.
I agree with the logic behind refactoring removeIf - and it does effect item reaper code path so we may have merge conflicts later with upstream.
I can compile and pass all tests.


fix: loadImage on a device without creteImageBitmap

This PR addresses an issue specific to 2017 Samsung TVs, which do not support the createImageBitmap method.
Additionally, I implemented a fallback for cases where createImageBitmap is supported but the fetch operation fails (for example when using a polyfill), ensuring compatibility across different scenarios.
Testing

Tested on 2017 Samsung TVs.

OK - I'm opening the PR with just the change we need, then we'll consider whether to go ahead with this


Allow non-unique rule ids and no id

Added --enable-not_unique_id (-DALLOW_ID_NOT_UNIQUE compile flag) to allow duplicate rule ids and no id

Done, waiting for merge

Indeed, I missed it :-(
I updated the text

Is everything OK now?

Hi @marcstern,
Sorry for the delay. I am following the manual here and it is not working. As you can see below:
(...)
config.status: creating tests/regression/server_root/conf/httpd.conf
config.status: creating tools/rules-updater.pl
config.status: creating mlogc/Makefile
config.status: creating tests/Makefile
config.status: creating apache2/modsecurity_config_auto.h
config.status: apache2/modsecurity_config_auto.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --enable-rule-id-validation

The very same for disable:
(...)
config.status: creating tests/regression/server_root/conf/httpd.conf
config.status: creating tools/rules-updater.pl
config.status: creating mlogc/Makefile
config.status: creating tests/Makefile
config.status: creating apache2/modsecurity_config_auto.h
config.status: apache2/modsecurity_config_auto.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --disable-rule-id-validation

The output of the ./configure --help scripts says:
(...)
  --enable-request-early  Place phase1 into post_read_request hook. default is
                          hook_request_early
  --enable-rule-id-validation
                          Forbid duplicate rule ids and missing ones. This is
                          the default
  --disable-errors        Disable errors during configure.
(...)

Is it working for you?

If you need help to fix it, I am on Slack -- https://modsecurity.slack.com/

Hi @marcstern,
For the next patch it will be good if you comment here explaining what you have done. It seems like you have fixed the rule-id-validation, but you also have changed the help message. Here is what we used to have:
(...)
  --enable-rule-id-validation
                          Forbid duplicate rule ids and missing ones. This is
                          the default
(...)

Here is what we have:
(...)
  --enable-rule-id-validation
                          Allow duplicate rule ids and no id. default is to
                          disable that
(...)

So, --enable-rule-id-validation will allow duplicate rules or it will prevent it to happen?
[ I think we discuss that already: https://github.com/SpiderLabs/ModSecurity/pull/1150#discussion-diff-67006937 ]
Independent of the help message, I still not about to make your patch to work. Placing or not placing the option does not take any affect. Did you tested the patch before submit it?
It seems like it is missing $unique_id here: https://github.com/SpiderLabs/ModSecurity/blob/master/configure.ac#L664 ?
I have made the changes that I think is what you wanted to achieve and published it here:
https://github.com/SpiderLabs/ModSecurity/tree/dev/pull_1150
That is currently going over our buildbots. As soon as it is done I will merge it.
If you want to send any other contribution on that same subject, use the tree: dev/pull_1150 as base; Otherwise your tree will be hosting a lot of things unrelated to the patch itself. Try to send a unique commit for each patch, you can use git --amend for that matter, avoiding to send patches of patches.
Thank you for the patch.

Merged!

Thanks for the fix


Add pandas-stubs for mypy and fix uncovered typing issues

Add public type stubs for pandas via pandas-stubs and fix the 9 resulting mypy errors.

Codecov Report
Base: 70.04% // Head: 69.96% // Decreases project coverage by -0.08% :warning:

Coverage data is based on head (6296b91) compared to base (8cc1744).
Patch coverage: 80.95% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #772      +/-   ##
==========================================
- Coverage   70.04%   69.96%   -0.08%
==========================================
  Files          70       70
  Lines        3585     3586       +1
==========================================
- Hits         2511     2509       -2
- Misses       1074     1077       +3

Flag
Coverage Δ

python
78.55% <80.95%> (-0.14%)
:arrow_down:

r
59.01% <ø> (ø)

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

Impacted Files
Coverage Δ

apis/python/src/tiledbsoma/util_ann.py
15.66% <25.00%> (+0.09%)
:arrow_up:

apis/python/src/tiledbsoma/types.py
84.00% <50.00%> (-2.96%)
:arrow_down:

apis/python/src/tiledbsoma/experiment_query.py
100.00% <100.00%> (ø)

apis/python/src/tiledbsoma/io.py
81.96% <100.00%> (-0.05%)
:arrow_down:

apis/python/src/tiledbsoma/util_tiledb.py
56.66% <100.00%> (+0.62%)
:arrow_up:

apis/python/src/tiledbsoma/collection.py
84.32% <0.00%> (-1.63%)
:arrow_down:

apis/python/src/tiledbsoma/sparse_nd_array.py
94.06% <0.00%> (-0.85%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


The data displayed on the choose source screen is incorrect.

The list of applications that appear on the source selection page defaults to the applications of the default namespace, the problem occurs when there is a namespace that starts with a lowercase letter "d" and is displayed first in the dropdown list.
To Reproduce
Steps to reproduce the behavior:

Make sure you have a namespace that starts with a lowercase d, If it doesn't exist, you can create one with the command: kubectl create ns <name>
Go to Setup page
See error

Expected behavior
The apps listed should correspond to the information displayed in the dropdown menu.
Screenshots

Hi @alonkeyval,
let me take care of it :)
basically need to make sure we choose the default ns instead of the one at index 0.

@alonkeyval  hi sorry, I’m on reserve duty (Israel), won’t be able to do it in the near future :(

@alonkeyval hi sorry, I’m on reserve duty (Israel), won’t be able to do it in the near future :(

@saputkin be safe 🙏

Is this error still there?

@alonkeyval, I'm not able to repro it. Are you?

Tested again and not able to repro.


ssh agent connectivity:

Does this issue occur when all extensions are disabled?: Yes

VS Code Version:1.63.2
OS Version: 11.6.2

Steps to Reproduce:

Run VSC on Mac
run ssh-add -k from VSC terminal

Error: Error connecting to agent: No such file or directory
This breaks all my ssh connections.
It works fine from a regular Mac terminal.

accidentally submitted a duplicate somehow...