HubClient Implementation for WebSub Hub

Purpose

This is the initial implementation for HubClient which is used to distribute content to subscribers. This is as per the ballerina-platform/ballerina-standard-library#786 as part of ballerina-platform/ballerina-standard-library#823

Goals

Completing the tasks in ballerina-platform/ballerina-standard-library#823.

Approach

In HubClient we have used underline standard HttpClient.

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

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

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

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

@ayeshLK Please go through and follow GitHub commit message best practises for future PRs, https://chris.beams.io/posts/git-commit.

@ayeshLK Please go through and follow GitHub commit message best practises for future PRs, https://chris.beams.io/posts/git-commit.


noDataIndication: throws a warning when providing an object which is not a string

The description of the API says:

noDataIndication should be a callback function which return anything that will be showed in the table when data is empty.

But if i set noDataIndication={
test
} it will give the warning:

Warning: Failed prop type: Invalid prop noDataIndication supplied to BootstrapTable.

It will still be shown correctly and as far as I understand a div should be included in 'anything' ;-)
So my guess is that the warning has to be removed. Or it is desired that only text is used. Than the API text has to be adjusted.
(PS 'return' in the description should be 'returns')

@Stefan-Reimer I will fix this, thanks :)

fixed in newest version -> https://react-bootstrap-table.github.io/react-bootstrap-table2/blog/2019/11/09/version-bump.html


move Peter from Platform/BU to Customer team

This is already covered in the current version, so closing this PR.


Ensure Mongoid.logger is not nil before calling warn on it.

Fix a private method 'warn' called for nil:NilClass issue.
Thanks!

Sorry guys, I targeted master but it should be 2.4.0-stable, do you want me to submit another pull-request or is it ok? :)

I've submitted a new pull-request against 2.4.0-stable: #1668


Making maps and calculating statistics for a region

this needs to have more explanations for each code block

The data set used in this example doesn't exist. Care to suggest another data set to use?
Is the plotting function in utilities just for basemap? So we will need to add functions for plotting in cartopy?!

Actually, this is a shitty notebook that should be deleted.


Memory management

What is the memory management approach of this library? Are the C++ callbacks freed? Can I free them explicitly? This is important because they might be holding onto e. g. heavyweight objects through capture.

It's based on embind emscripten::val, hence if you stop reffering it from JS or from C++ it gets destroy :
clickme_btn.set("onclick", js::bind(onclick, _1));

js::bind creates an std::function object managed by an emscripten::val referring to the onclick function/lambda. emscripten::val is like a shared_ptr between 2 worlds C++ and JS. It has a reference count and if nobody uses it anymore it gets deleted.
In this case if I change the "onclick" event handler of clickme_btn to something else the previous std::function should get deleted (as soon as JS garbage collection kicks in, as the reference is kept by an object in the JS space).


Feature Request: share button to send as text

Hi,
I think it would be nice to have a way to share a chat as text, or send copy multiple message.
An idea could be to add the universal "android share icon" button at the top of the chat, and clicking on it would allow to either export the chat (which is currently implemented) but also "copy" the chat in text format.
By that I mean output something like this into the clipboard:
System: [my system prompt]
User: [My prompt]
Assistant: [Answer]
etc

Currently it is not possible to easily send a friend more than 1 chat message at a time from speakgpt : to send 1 we can currently click on "copy" of that message but we can't do that for more than 1.
Alternatively, the UI could be altered like the following :

use only the universal "three dot" icon in the top right corner of a message instead of "copy" and "edit"
the three dots would open the pop up "Edit message" that already exists but with two additional buttons : "copy text" and "select"
Clicking on "copy text" would copy the message's text to clipboard, as clicking on the current "copy" button. Images would be replaced by ![](image) or something.
clicking on "select" would go back to the individual chat window with a bulk selector to select multiple messages of the chat, a bit like in regular messaging apps, or like the "bulk" management of chats in the first window of SpeakGPT. After selecting, clicking on a "copy texts" button at the top of the UI would save the message in the format suggested above.

I think the second suggestion is better because some user would not be interested in copying the system prompt.

An idea could be to add the universal "android share icon" button at the top of the chat, and clicking on it would allow to either export the chat (which is currently implemented) but also "copy" the chat in text format.

Share button will be enough. Android share screen already allows user to copy shared text.

Alternatively, the UI could be altered like the following :

use only the universal "three dot" icon in the top right corner of a message instead of "copy" and "edit"
the three dots would open the pop up "Edit message" that already exists but with two additional buttons : "copy text" and "select"

This will not be added:

You are not a person who decides how UI will look
Android dialog supports only 3 buttons: positive, negative and neutral. For better accessibility button actions should be the same: negative - cancel, positive - confirm and neutral - action.

Clicking on "copy text" would copy the message's text to clipboard, as clicking on the current "copy" button. Images would be replaced by  or something.

Based on the SpeakGPT logic it is impossible (make no sense) todo that because other apps can not access images inside SpeakGPT. It will be possible to copy image into clipboard, but only one image with no text.
About sending multiple messages: It's only your ideas but not actual user needs. If you really need this, please go to the official OpenAI Playground. I will not implement this feature as it is unnecessary because you can use long prompt instead. So why you need to send multiple messages? Is this a feature of regular chatting apps? (I don't see this in Telegram/Discord/Whatsapp/etc)

Currently it is not possible to easily send a friend more than 1 chat message at a time from speakgpt : to send 1 we can currently click on "copy" of that message but we can't do that for more than 1.

I will implement this feature but nor I nor my friends shares multiple messages. Usually we share only one message - output of the assistant, but you want SpeakGPT be a spaceship with tonns of features.  At least SpeakGPT is customizable, open-source and production.

Hi!

You are not a person who decides how UI will look

I certainly didn't mean that I was!! Merely contributing thoughts. My apologies if that didn't come across.

Android dialog supports only 3 buttons: positive, negative and neutral. For better accessibility button actions should be the same: negative - cancel, positive - confirm and neutral - action.

Oh I see. Thanks a lot for the explanation!

About sending multiple messages: It's only your ideas but not actual user needs. If you really need this, please go to the official OpenAI Playground. I will not implement this feature as it is unnecessary because you can use long prompt instead.

I use LLMs a lot so I cannot affford to lose time (and tokens!) reading the very long and repetitive rambling of GPT-4o when the information I want is a yes/no question, or a single sentence would suffice, etc. That's why I set my system prompt to be very concise, and genuinely find it surprising that not more people get tired of the very long answers from LLM. Moreover, if the messages are short it's easier for the LLM, otherwise the large context size make it struggle to keep track of what's going on.

So why you need to send multiple messages?
I will implement this feature but nor I nor my friends shares multiple messages. Usually we share only one message - output of the assistant,

I find this surprising. I very often suffer from this lack of "multi select" so here are a few situations to illustrate:

I gain a lot of knowledge from LLMs, but as there is no full text search (#64) I can't reliably find an information from old chats. So I usually store the most important bits in either Logseq or anki. But given the prevalence of hallucinations I find of utmost importance to keep a record of the chat. Ideally, I would simply copy and paste the message and that's it. But right now what I end up doing is exporting to json, then sending to my computer, then parsing with python to get just the messages, then copy and paste. It's almost quicker than just copying and pasting 10 messages from SpeakGPT. But I can do it for multiple chats in parallel.
When I learn the answer to something and I know a friend would benefit from it, I can't send just the last message : the friend would not know the question. And if you think that I should just use a less concise system prompt then I disagree, I am dealing with complex knowledge and 5 concise technical messages are readable, but I can't send 5 300 words essays from the LLM to my friends, it would be unbearably verbose for technical stuff.
When I created a chat, talked a bit with the LLM, then would like to branch out the chat. This happens very regularly when studying : I arrive at some knowledge where I could either go deeper on one subject or another. I filtered out the idea to create an issue for implementing that kind of branching, but if I could just select and copy multiple message I could very simply manually branch out. This way I could go deeper on both subjects. And that's not something that I can avoid by rephrasing, my chats are dense as f**** and having to recreate the chat with all the technical knowledge of the previous messages is really not acceptable. Contnuing the chat until I'm done with the two branch in a single chat is not feasible too because even GPT4o struggles with long technical chats.

but you want SpeakGPT be a spaceship with tonns of features.  At least SpeakGPT is customizable, open-source and production.

I agree with you that SpeakGPT is great for those reasons, and I know I like spaceships software, and I am filtering my ideas before opening suggestion but I really think this is genuinely useful, and can imagine other people finding it useful too!
In any case I am fully aware of how vastly superior SpeakGPT is compared to most alternatives :smile:
Have a nice day and thanks again for this!

Some of your features has been released in SpeakGPT 4.10

![WARNING]
Please note that I had changed about half of the code of the app (completely rewritten chat and assistant window), changed thousands lines of code to make SpeakGPT support functionality requested. And I expect my work can be paid so I not spend hours of the work for free. Thanks you for understanding!


TST: use compat.long in test_tslib for py3

thxs
let me test on windows

Sure, thanks for fixing my tests, too.

thanks


ExecutionFlowRecorder: Fixed mini GC Storm

Description of Changes
I know this is going to be replaced by the CFG CPU, but:
We cache the action in a static field, this allows the onReached action to be a static lambda. This avoid a lot of Actions being created on the GC Heap to be reclamed by the GC later.
We also don't pass the AddressBreakPoint as a parameter, as it is being created. The only way to pass it would be to make the action non static, and we don't want that.
We discard the paramater ("_" is the discard action in C#) of the Invoke method, since we are creating the breakpoint.
To allow this change, BreakPoint.Action has become mutable (get; set; instead of get; private set;).
Rationale behind Changes
GC pressure or GC storms is what kills performance in an application.
Before:

After:

Suggested Testing Steps
Test that the dump created on disk by the ExecutionFlowRecorder in the same before and after the change. It should be.

Yes I tough about it overnight and this does not fly.
Since this will be replaced by the cfg cpu, I will either find a quick fix or abandon this PR.

Uhm, this looks strange. This seems to create the situation wherein the 1st generated breakpoint is executed, no matter which breakpoint is hit.
I also do not understand the graphs. The 1st shows a lot of live objects but hardly any delta. The 2nd show a lot less live objects but much more activity in creating and destroying objects.

I fixed his with a Dictionary<AddressBreakPoint, Action>

Not worth it, PR abandonned.


DNS resolution for Internal Sites doesn't work when using Global Secure Access Client

Windows Version
Microsoft Windows [Version 10.0.19045.4412]
WSL Version
2.2.4
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
No response
Distro Version
Ubuntu 22.04
Other Software
Global Secure Access Client 1.7.669.0
Repro Steps

Connect to company VPN using Global Secure Access Client Tool
Do nslookup for internal sites from inside wsl distro.

Expected Behavior
DNS resolution for internal sites should work from inside WSL2 distro.
Actual Behavior
DNS lookup fails finding internal sites.
Diagnostic Logs
No response

WslLogs-2024-07-03_15-34-34.zip

Thank you for reporting this @karthiktumu.
This issue should be resolved with DNS tunelling.
Unfortunately this feature is only supported on Windows 11 and higher so you'll need to upgrade your Windows build to get it.


https://conduit.productionready.io/api doesn't work 404

When I trying call API: https://conduit.productionready.io/api I getting error 404:
The page you were looking for doesn't exist.
You may have mistyped the address or the page may have moved.

ok it works, I made mistake in code ;)


Awarding points (++) in Discord Threads

Threads are a recent Discord feature to help people participate in important conversations/issues. It is also good to separate each "problem" in the TOP Discord. I would like to suggest to make it so you can award points in these threads

I would like to take this on if no one else has been assigned to it already :)
Just a small note - haven’t yet worked on threads on discord.JS so might require a little bit of time to get the hang of it but hoping maybe a week at max.

After some discussion, this issue is blocked per the above. This will require some rewrite of the bot at large to facilitate DiscordJS 13+.

This was resolved in https://github.com/TheOdinProject/odin-bot-v2/pull/210


Create sr.js locale

Added Serbian cyrillic localization file sr.js

Much appreciated, thanks!

You are welcome. Thank you.


Scrollbar inside SliverList

How to make a Scrollbar in SliverList ?
Example settings screen with scrollbar in native:

Sadly, no answers on SO.

Hi @pakiam
This platform is not meant for assistance on personal code. Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you

I’m not asking personal assistance on writing code for me. I’m asking for help, because I cant find a legit way to make a native-like scrollbar inside SliverList. And there is no info about it in documentation.

@iapicca ↑


Font size is unusably small on v5 query inspector

Describe the bug
After upgrading to tanstack query v5, the font size is much smaller in the query inspector. There is no way to increase the default font size for the inspector only, and when using browser features to scale up the text, the page I am working on is also impacted.
Your minimal, reproducible example
N/A
Steps to reproduce

Set browser font size to default and scaling to 100%
Open the tanstack query inspector
Try and read the text, it's very small!

Expected behavior
As a developer, I expect that text is legible so I can view the state of the query cache.
AND
As a developer, I expect that I can set the font size of the query inspector so that text is legible.
How often does this bug happen?
Every time
Screenshots or Videos
With 100% view and default text size

When scaling the view to 200% the text is legible, but the page is impacted so much that it starts to act as if it's a different breakpoint

Platform
Mac OSX
Firefox 121.0
Tanstack Query adapter
react-query
TanStack Query version
5.17.1
TypeScript version
5.3.3
Additional context
No response

Thanks for reporting, I'm experiencing the same issue with a MacBook Pro 16-inch from 2019, I found it difficult to read in a laptop at the default screen resolution. I wouldn't be be surprise if this is related to the high DPI or the retina display and how resolutions works in Mac.
This was working better for me in @tanstack/react-query v4.29.19

I gather we're inheriting font size from the container https://github.com/TanStack/query/issues/6226, so the ReactQueryDevTools can just be wrapped in a div with the appropriate font size (which Tanstack will then shrink to 5/8 size, if I've understood correctly...)
However it would be really nice if this was in the tooling rather than having to be set once per app, since different devs will have different access needs and you shouldn't have to raise a PR or write temporary code just to use the tool effectively.

font size is 0.75 rem (12px) and looks fine in the examples:
https://codesandbox.io/p/devbox/tanstack-query-example-react-simple-lskn7u

It was slightly bigger in v4 (0.9em, 12.6px)
Are you saying the switch to rem caused this? Are you setting custom styles on your body that made them bigger in v4, and this doesn't work anymore in v5?
@ardeora fyi

Hello! This is working as intended here is an example for you.
https://codesandbox.io/p/devbox/eloquent-roman-2w4c27?file=%2Fsrc%2Findex.jsx%3A43%2C1-49%2C13&workspaceId=0d8b5620-4f50-49f2-a5b1-e4173816b150
You can provide a custom fontSize for the query devtools by simply wrapping the devtools component with your desired fontSize.
      <div
        style={{
          fontSize: "24px",
        }}
      >
        <ReactQueryDevtools initialIsOpen />
      </div>

This will set the base size of the devtools font to 24px.
I'll close this issue for now. Please let me know if you still run into any issues!

Okay, the solution is easy. All you have to do is give the body element an explicit font size. Say, body{font-size: 1.6rem;}


update yml

moviepy（<IP_ADDRESS>）slove the " reshape((int(len(result)/self.nchannels)" problem like the picture shows:

so update the version of moviepy:)

Good call, thanks for requesting this!

You're welcome！thanks for mergeing : )


setMin and getMin in not available.

Hi there,
Thank you for such a nice library. Is't possible for you to add an option to set and get min value for slider .?

This repository has no current support. There's a workaround tho.
 I recommend to use this with maven/gradle https://github.com/jitpack/jitpack.io


Instructions on how to setup a teleport bastion

The README says that users can self host a teleport bastion (instead of teleconsole.com) for use with teleconsole.  However, I don't find any instructions on teleport's repo.  Am I missing something?
I tried running teleport start and connecting teleconsole to localhost:3080 and got "404 Not Found" error. I'm using teleport v1.1.0 and latest version of teleconsole.

@thinxer for private bastion you basically do not need Teleconsole, you simply use Teleport as-is, I have expanded the doc here:
https://www.teleconsole.com/using/#using-private-proxies
Some of this is on this video:
https://www.youtube.com/watch?v=bprRpX-4R_0
Teleconsole basically automates the creation of a teleport instance on the server side, but if you're using a private server, you don't need to "create" it - just install teleport, add your machine to it and connect with tsh.

@kontsevoy Thanks for the reply.  My use case is more like Teleconsole than Teleport. My nodes are ephemeral VMs created by random users. It would not be possible to use Teleport to manage the nodes and users. Shared SSH on-demand like Teleconsole is exactly what I need.

@thinxer I see. Let me untangle our server scripts from the rest of the infrastructure and I'll create "example" directory or something. Will take a few days though.

Interested in this as well. Looking forward to the "example" directory!

This is very similar to my request at gravitational/teleport#803. I think a way to set up teleport nodes to create reverse ssh tunnels without the added burden of setting up a cluster at every single site could satisfy this use case.

any update on this?  I'm also interested in running my own teleconsole proxy server.
Just instead on teleconsole.com  on my own infrastructure.

@smurfy I have started looking into Teleport chages since Teleconsole was released. The path I'm going is to add the server component to Teleconsole repo (or create another open repo here). No ETA yet, but that's the idea.

I wanted to say things for all your work thus far. I would love to see a server side feature so users could run their own "teleconsole.com" registration endpoint. Thanks again!

Hey just wanted to drop a quick update for everybody on this feature. The latest thinking is to add teleconsole.com functionality to Teleport itself. This also explains the relative lack of activity in this repo. I will be updating tickets here though so you can keep watching them for updates.

@kontsevoy anything new on this?
I tried to configure everything following the documentation you've provided but the whole doc does not have much sense to me, first of all teleport command doesn't not have --proxy flag (step 4.), second if I try to connect to localhost I'm constantly getting access denied error, so could you please tell me what I'm doing wrong? Thanks


When clicking inside a Portal it triggers the element behind it on mobile and sometimes on desktop

Description
When clicking inside a Portal it triggers the element behind it on mobile and sometimes on desktop.
I tested on Chrome Android.
Link to Reproduction
https://portal-mobile-dnwgwmzzp-juliomuhlbauer.vercel.app/mobile-bug
Steps to reproduce

Go to https://portal-mobile-dnwgwmzzp-juliomuhlbauer.vercel.app/mobile-bug on Chrome Android
Try to click inside an element in the combobox
It will trigger the router push in the button

Ark UI Version
0.15.0
Framework

[X] React
[ ] Solid
[ ] Vue

Browser
No response
Additional Information
Github repo: https://github.com/juliomuhlbauer/portal-mobile-bug

https://github.com/chakra-ui/ark/assets/53458125/911597db-ed0c-4963-adee-1322054d6059

https://github.com/radix-ui/primitives/issues/1658
Maybe the same reason?

Should we move this to Zag?


Add instructions on running godoc to README

Description
As part of #1840 we need to "Fix errors reported when running godoc on go-spacemesh." I have no idea how to "run godoc on go-spacemesh." When I run godoc on the commandline, I get very confusing output that talks about an HTTP server:
> godoc help
Unexpected arguments. Use "go doc" for command-line help output instead. For example, "go doc fmt.Printf".
usage: godoc -http=localhost:6060

It seems like the command I want to run is something like godoc -analysis=type,pointer -- but this runs for all of the packages in my $GOROOT, and runs forever. @avive let me know if I'm missing something obvious here.

Just run this to see all go-doc related errors: golint ./...

Okay, so by godoc you meant golint? If so then I misunderstood and I guess we can close this :)


Simplify proc manager by moving assignment logic in one place

This changes how proc manager handles proc assignment. Instead of doing this in three different places: get_proc call handler, return_proc/2 with maybe_assign_proc and flush_waiters/2, proc manager now just places all the incoming requests in the waiting queue and then flushes it.
As a result all the logic kept in one place which makes it more obvious that we are treating proc management as a processing of a single FIFO queue with "soft" and "hard" upper limits.
Consequently this is fixing a bug in maybe_assign_proc where it was possible to assign a client a process that wasn't aware of it.
COUCHDB-3095

Reference on conversation about this change #190

@davisp Here is the redo we talked about.

Awesome work. +1


[Editor] When using IBMMQ source, siddhi app fails to stop

Description:
When using IBMMQ source, siddhi app fails to stop, when we press the stop button. The editor becomes unresponsive thereafter.
Suggested Labels:

Suggested Assignees:

Affected Product Version:
WSO2SP v4.2.0
siddhi-io-ibmmq-1.0.5.jar
OS, DB, other environment details and versions:
Client Jars:

fscontext_1.0.0.jar
mqcontext_1.0.0.jar
wmq-client-<IP_ADDRESS>.jar

Steps to reproduce:
Related Issues:

@dnwick Any update on this?

Please use the  ibm.mq.allclient <IP_ADDRESS> and javax.jms-api 2.0.1 clients as suggested in the document.


[Bug]: Missing webpack dependency

Provide environment information
@serwist/next: 8.0.2
@serwist/webpack-plugin: 8.0.2
Which project is this issue for?
@serwist/next
Link to reproduction - Issues with a link to complete (but minimal) reproduction code help us address them faster
NA
To reproduce

yarn init -y
yarn set version berry
yarn add @serwist/next @serwist/webpack-plugin next react react-dom
See yarn log

Describe the bug
Missing webpack dependency from @serwist/next and @serwist/webpack-plugin
➤ YN0000: · Yarn 4.0.2
➤ YN0000: ┌ Resolution step
➤ YN0085: │ + @serwist/next@npm:8.0.2, @serwist/webpack-plugin@npm:8.0.2, next@npm:14.0.4, and 208 more.
➤ YN0000: └ Completed
➤ YN0000: ┌ Post-resolution validation
➤ YN0002: │ <PROJECT_NAME>@workspace:. doesn't provide webpack (p1fed5), requested by @serwist/next.
➤ YN0002: │ <PROJECT_NAME>@workspace:. doesn't provide webpack (pc79a1), requested by @serwist/webpack-plugin.
➤ YN0086: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code.
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed
➤ YN0000: ┌ Link step
➤ YN0000: │ ESM support for PnP uses the experimental loader API and is therefore experimental
➤ YN0000: └ Completed
➤ YN0000: · Done with warnings

Expected behavior
No warnings in log
Screenshots (if relevant)
No response
Additional information (if relevant)
Workaround:
add in .yarnrc.yml
packageExtensions:
  "@serwist/next@*":
    dependencies:
      webpack: "*"
  "@serwist/webpack-plugin@*":
    dependencies:
      webpack: "*"

➤ YN0002: │ <PROJECT_NAME>@workspace:. doesn't provide webpack (p1fed5), requested by @serwist/next.
➤ YN0002: │ <PROJECT_NAME>@workspace:. doesn't provide webpack (pc79a1), requested by @serwist/webpack-plugin.

These are the warnings :) You have to install all peerDependencies, or run the risk that something won't work. An additional manual check is possible, but I don't find it necessary.

Sorry, I didn't check the related peer dependencies.


Consider putting akka.parboiled2.util.Base64 into its own sbt module/artifact

See comment at https://github.com/apache/incubator-pekko-http/issues/39#issuecomment-1427878059

IMO splitting something off will only create extra work but not solve the underlying situation.

Maybe I am misunderstanding, the problem behind the underlying situation is because this specific source file has its own licenses we need to manually take this into account (this is the same problem in peko with the protobuff modules).
In pekko the solution was fairly straight forward because the protobuff was its own sbt modules. This made it easy to granularly apply an overridden META-INF just for artifacts behind those modules and for the source package, we just need to annotate at the bottom of the LICENSE the other licenses (see https://github.com/apache/incubator-pekko/blob/main/LICENSE#L205-L207) i.e.

pekko-protobuf contains the sources of Google protobuf 2.5.0 runtime support,
moved into the source package org.apache.pekko.protobuf so as to avoid version conflicts.
For license information see COPYING.protobuf

I would imagine if base64 was put into its own sbt module/artifact then hypothetically speaking you would then have a similar text, i.e.

pekko-http-base64 contains additional licenses etc etc etc

When I highlighted this file, it was just to enforce my main argument that I would prefer to bring #1 into scope for the pekko-http 1.0.0 release.
If we choose to leave #1 off the agenda, then we will just need to take the hit and update our source and pekko-parsing jar license/notice files accordingly. That work on getting those license/notice files right has been complicated. We get guidance but I would have very low confidence in any of the changes I make to those files. I am not a lawyer and looking around the apache projects, there seem to be different solutions - it really is very hard to know what the right solution is when it comes to adding text to license and/or notice. We may even need to change the license headers in the actual source files (moving the copyrights to the notice files).

When I highlighted this file, it was just to enforce my main argument that I would prefer to bring https://github.com/apache/incubator-pekko-http/issues/1 into scope for the pekko-http 1.0.0 release.

This I don't have arguments against, my main concern was replacing akka.parboiled2.util.Base64 which JVM's base 64

If we choose to leave https://github.com/apache/incubator-pekko-http/issues/1 off the agenda, then we will just need to take the hit and update our source and pekko-parsing jar license/notice files accordingly.

I don't think this is mutually exclusive though? I was just thinking of moving that single akka.parboiled2.util.Base64 source file into its own sbt project/artifact while the parboiled2 upgrade is done separately as a different task (and both can be done for 1.0.0 if need be)

That work on getting those license/notice files right has been complicated. We get guidance but I would have very low confidence in any of the changes I make to those files.

I guess I have a different tolerance for "complicated", I see it more as a hassle in the sense that it may take some time until legal gets around viewing it but the eventual action points/results are not technically that complicated. I am also saying this in context of the fact that as we spoke elsewhere, we aren't in a rush to release pekko-http (our main focus is pekko-core)

I am not a lawyer and looking around the apache projects, there seem to be different solutions - it really is very hard to know what the right solution is when it comes to adding text to license and/or notice. We may even need to change the license headers in the actual source files (moving the copyrights to the notice files).

My strategy to tackle this would be to get the appropriate person/s and/or teams to look at it and see what they say. I wasn't paying too much attention (or I have forgotten) how it worked with the parboiled/google case but I think it was similar?

My preference is to import org.parboiled2.util.Base64 class and use that.

My preference is to import org.parboiled2.util.Base64 class and use that. Binary linking as opposed to copy/paste of code.

Oh I think now I know why I am confused, I was under the impression that this was custom written for akka-http specifically and not part of parboiled. If that isn't the case then obviously linked to the binary is far easier

Closing issue because I incorrectly thought that org.parboiled2.util.Base64 was custom written for akka-http due to it being pointed out.


adjust config of mulitiline not working with buffer off

Adjust config, because mulitiline filter seems not working with buffer off.
see: https://github.com/fluent/fluent-bit/issues/4940#issuecomment-1139225571

/cherry-pick release/2.1


Implement FetchLock.

You may have a system that work mostly on read resources, but sometimes needs writing some resource, for example to execute callback, that may need to write this some resource, or computes mostly with read resources and then stores result into some write resource. Without locking fetch this will be inefficient, since execution of this system will be delayed, because of this write resource.
Implementation
I think that it has to be implemented with std::sync::RwLock, since Resource trait is Send + Sync anyway.
Also i think that FetchLock resource will be counted as "read resource" internally, but It will be nice if we mark it somehow, to sort system dependencies to make locking on the same resource less probable, because when I roll out PR on #6, this will be possible.

While in general FetchLock seems to have a use case, I'd be cautious adding it because we can't guarantee the absence of deadlocks in this case. Perhaps, it should be left out of scope, since the user is free to share some Arc<RwLock<T>> wherever they please, and we aren't responsible for associated deadlocks.

I agree with @kvark. Closing for now.

Just as a side note, if you find your system only writing to some resource for a short period, try to split it up into multiple systems.


feat: provide basic offchain rust client.

Provide a basic RUST client:

Explain how to generate metadata of a specific chain.
Provide a basic client that show info fetched from storage.

logion-network/logion-internal#488

The current work is moved to a distinct repository: https://github.com/logion-network/logion-offchain-client-template


discoloring

Hi, when I open leaderF , and also on other situations, I got wrong colors.
It only happens at times after doing  for some time usually.
Here is how it should behave:

Here is how it behaves:

I know this doesn't happen in geovim-qt (at least not that often).
Both are screenshot from goneovim not launched from terminal. But it happens (probably more) from terminal.
It seems that not all the lines that need to be redrawn are indeed redrawn.

It happens much more on vim visual multi , when selecting some words with
here I compare it with nvim-qt .

Hi :)
Thanks for the report on the issue.
I am going to investigate this issue.
If possible, could you get the latest package from github-actions and try to see if you get the same problem.
https://github.com/akiyosi/goneovim/actions/runs/124947498

It seems that I don't get the same problem. I do get another problem, though . Leaderf typing region appears in the bottom of the screen.

Another thing:
au VimEnter * nested call OnLoad()
OnLoad wasn't called for some reason

Hi.
Thanks for the confirmation on the latest package.
I have found the cause of the Leaderf input window position issue.
I've discovered that in the current Neovim UI API, there is a bug in the message window position and We have implemented a workaround to compensate for this in the GUI front end. The Probably as a side effect of this, the input window position of Leaderf is also moved . Hmmm, I'll look into this solution.
I will also check the VimEnter issue as well.

I have tried to fix the problem.
It works in my environment, but how does it work in yours?
https://github.com/akiyosi/goneovim/actions/runs/127653606

Another thing:
au VimEnter * nested call OnLoad()
OnLoad wasn't called for some reason

I have looked into this, but cannot reproduce the problem.
What function specifically do you have set up as OnLoad()? Also, is it possible that other plugins are affecting it?

Leaderf still doesn't work correctly. Have you tried the same settings?
OnLoad was called. Probably my mistake, although strange.
Thanks for all the effort.

Indeed, it works well in the last version you have sent. I checked previous versions and didn't work. Thanks!


Error when toggling Passive Blocking on Compact Tab

Using the 'Compact' tab of the Character Sheet to select hit locations to Passively Block results in a Syntax Error being thrown when attempting to use the sheet's hit location macro:
SyntaxError: Expected "(", ".", "[", "abs(", "ceil(", "d", "floor(", "round(", "t", "{", [ |\t], [+|-] or [0-9] but "o" found.
Using the 'Core' tab to select hit locations to Passively Block works fine, and will report the correct results when using the hit location macro on either the Compact or Core tab.
Other oddity I've noticed is that if you select a hit location to passively block on the Core tab, then swap over to the Compact tab and select the same location there, it will de-select the location to be passively blocked on the Core tab (and, of course, throw an error if you try to use the hit location macro.) The inverse is not true (i.e., using the Compact tab to select a location that is not selected on the Core tab will not automatically select it on the core tab.)

Hi and thanks for reporting.  I'm currently working on the next version of the sheet which is a complete re-write so hopefully this doesn't get pulled into the next version but I'll do some explicit testing to ensure it doesn't.

No more compact sheet in v3.0 so this issue in no longer relavent.


error with fb-torch

Firstly, when I run build.sh, I got the error 'cannot find fbtorch-0.1-1.rockspec'. So I change the file name to 'fbtorch-0.1-1.rockspec', then I got the following error:
Inconsistency between rockspec filename (fbtorch-0.1-1.rockspec) and its contents (fb_torch-0.1-1.rockspec)

It seemed to work with me after I changed the filename (as you mentioned) and changed the first line of the file to
package = 'fbtorch'

@SaiKeshav Thanks! Works for me.


Optimization-based and moving horizon estimation

This PR adds new functionality for computing the optimal estimate for a (nonlinear) I/O system using an explicit cost function of a fixed window of applied inputs and measured outputs.  This optimal estimation problem is then used to create a system for solving moving horizon estimation (MHE) problems.  Documentation and unit tests are included.
Summary of changes:

Added the obc.OptimalEstimationProblem class and obc.create_mhe_iosystem() function, which implement that main new functionality.
Added gaussian_likelyhood_cost() to create cost function corresponding to Gaussian likelihoods for use in optimal estimation.
Added disturbance_range_constraint() to create a range constraint on disturbances.
Moved processing of control and disturbance indices for estimation problems into iosys.py and use that functionality consistently for obc.create_estimator_iosystem and obc.OptimalEstimationProblem.
Created a function for processing legacy keywords in config.py and updated legacy keyword processing class to use that functionality.
Added a pytest mark for slow tests (@pytest.mark.slow), which can be used during development to skip slow tests by running pytest -m "not slow".
Added unit tests, docstrings, and user documentation for new functionality, including a Jupyter notebook demonstrating optimal estimation and moving horizon estimation the PVTOL model system (from FBS2e and OBC notes).
Additional small updates to docstrings to fix typos and formatting issues.

Coverage: 94.51% (-0.3%) from 94.841% when pulling 9373f8e2eb8018f4c1fd925f341990f007f1da43 on murrayrm:oep_mhe-26Feb2023 into 26c44e164ac741da75c565a9876674e3c014f457 on python-control:main.


chore: update demo files to Sketch v59

closes #340
PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes/features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature (please, look at the "Scope of the project" section in the README.md file)
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[x] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

@manekinekko I updated your PR with the latest changes in master.


Remove redundant parenthesis

These were caught with:
gofmt -r '(a) -> a' -w *.go

I decided to exclude the following change because, although it is correct, it doesn't look as clear to me. I can include it if you disagree.
diff --git a/msg_helpers_test.go b/msg_helpers_test.go
index adceb882c5..dccc539248 100644
--- a/msg_helpers_test.go
+++ b/msg_helpers_test.go
@@ -92,7 +92,7 @@ func TestPackDataNsec(t *testing.T) {
        for _, tt := range tests {
                t.Run(tt.name, func(t *testing.T) {
                        got, err := packDataNsec(tt.args.bitmap, tt.args.msg, tt.args.off)
-                       if (err != nil) != tt.wantErr {
+                       if err != nil != tt.wantErr {
                                t.Errorf("packDataNsec() error = %v, wantErr %v", err, tt.wantErr)
                                return
                        }

Codecov Report

Merging #727 into master will decrease coverage by 0.03%.
The diff coverage is 97.14%.

@@            Coverage Diff             @@
##           master     #727      +/-   ##
==========================================
- Coverage   55.76%   55.72%   -0.04%
==========================================
  Files          39       39
  Lines       10745    10745
==========================================
- Hits         5992     5988       -4
- Misses       3670     3673       +3
- Partials     1083     1084       +1

Impacted Files
Coverage Δ

client.go
58.8% <100%> (ø)
:arrow_up:

labels.go
93.39% <100%> (ø)
:arrow_up:

msg.go
78.71% <100%> (-0.63%)
:arrow_down:

scan_rr.go
68.88% <100%> (ø)
:arrow_up:

server.go
62% <100%> (ø)
:arrow_up:

dnssec.go
58.27% <100%> (ø)
:arrow_up:

types.go
68.2% <100%> (ø)
:arrow_up:

edns.go
14.94% <100%> (ø)
:arrow_up:

msg_helpers.go
52.16% <75%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Lgtm. Just do it fully as the code is in a test.
On Thu, 16 Aug 2018, 10:24 Tom Thorogood<EMAIL_ADDRESS>wrote:

These were caught with:
gofmt -r '(a) -> a' -w *.go

I decided to exclude the following change because, although it is correct,
it doesn't look as clear to me. I can include it if you disagree.
diff --git a/msg_helpers_test.go b/msg_helpers_test.go
index adceb882c5..dccc539248 100644--- a/msg_helpers_test.go+++ b/msg_helpers_test.go@@ -92,7 +92,7 @@ func TestPackDataNsec(t *testing.T) {
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
got, err := packDataNsec(tt.args.bitmap, tt.args.msg, tt.args.off)-                       if (err != nil) != tt.wantErr {+                       if err != nil != tt.wantErr {
t.Errorf("packDataNsec() error = %v, wantErr %v", err, tt.wantErr)
return
}

You can view, comment on, or merge this pull request online at:
https://github.com/miekg/dns/pull/727
Commit Summary

Remove redundant parenthesis
Remove more redundant parenthesis

File Changes

M client.go https://github.com/miekg/dns/pull/727/files#diff-0
(2)
M client_test.go
https://github.com/miekg/dns/pull/727/files#diff-1 (4)
M dns_test.go https://github.com/miekg/dns/pull/727/files#diff-2
(2)
M dnssec.go https://github.com/miekg/dns/pull/727/files#diff-3
(6)
M edns.go https://github.com/miekg/dns/pull/727/files#diff-4 (8)
M labels.go https://github.com/miekg/dns/pull/727/files#diff-5
(4)
M msg.go https://github.com/miekg/dns/pull/727/files#diff-6 (16)
M msg_helpers.go
https://github.com/miekg/dns/pull/727/files#diff-7 (8)
M scan_rr.go https://github.com/miekg/dns/pull/727/files#diff-8
(6)
M server.go https://github.com/miekg/dns/pull/727/files#diff-9
(2)
M types.go https://github.com/miekg/dns/pull/727/files#diff-10
(18)

Patch Links:

https://github.com/miekg/dns/pull/727.patch
https://github.com/miekg/dns/pull/727.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/miekg/dns/pull/727, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAVkWyoTohy9DW4Og99hN9r1_ftL_p3Rks5uRSwogaJpZM4V_aaj
.


Error: Cannot find module './convert-source-map'

After I upgraded css-loader from v0.26.2 to v0.27.2, the following error occurs :

I'm having this too

Fixed in the latest release

ooops, not yet published, a test is failing

OK thanks

Released<EMAIL_ADDRESS>

@halt-hammerzeit Thank you, it works 👍


[Suggestion] Reduce the parameters in the method and create a struct.

There are too many functions with the same parameter and too many with more than 4 arguments.
Clean code book Uncle Bob, which is just a guide to better ways of writing code recommends that for more than 3 arguments you create an object.
https://github.com/DataDog/datadog-agent/blob/91a50b9adb977bfe2295bb21b98fbe3abea9756c/pkg/aggregator/sender.go#L23
	Gauge(metric string, value float64, hostname string, tags []string)
	GaugeNoIndex(metric string, value float64, hostname string, tags []string)
	Rate(metric string, value float64, hostname string, tags []string)
	Count(metric string, value float64, hostname string, tags []string)
	MonotonicCount(metric string, value float64, hostname string, tags []string)
	MonotonicCountWithFlushFirstValue(metric string, value float64, hostname string, tags []string, flushFirstValue bool)
	Counter(metric string, value float64, hostname string, tags []string)
	Histogram(metric string, value float64, hostname string, tags []string)
	Historate(metric string, value float64, hostname string, tags []string)

Thank you submitting this suggestion. At the moment we can't change the signature of that method as it will break the contract we have with other services using it. We need to keep breaking changes to a minimum in the Agent so for now we have decided to turn down this suggestion.


Plane label annotator

This PR adds an annotator for painting labels on a rendering plane.
Based on: https://github.com/napari/napari/pull/4346 by @alisterburt
https://github.com/napari-threedee/napari-threedee/assets/1120672/5cd902aa-df30-426a-92c7-3ecae70c9027

edit: too slow, already merged 😆

haha, sorry, I got too excited. yolo!


Screensaver is activated on Pi4

I used to do this to avoid the screen from going dark
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart and then
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@xset s off
@xset -dpms
@xset s noblank

This doesn't seem to work anymore.

Wolfgang, I think the screen stays on for my setup... I have two things set up, and as it's a reasonably fresh SD, I don't think I've altered anything else. I'm not sure that the command line options for xinit aren't sufficient:
ExecStart=xinit /usr/bin/python3 /home/pi/picframe/run_start.py /home/pi/picframe_data/config/configuration.yaml -- -s off -dpms -s noblank

But I've also followed the raspberrypi.org instructions here and used raspi-config

Let me know if I need to do any more digging on this.
Paddy

Thanks, @paddywwoof : That solved the puzzle! I had never seen that option in raspi config but the setup was changed quite a bit a few months ago. But whatever, for a Pi 4 this is the solution.

Excellent. I will close this issue. Did you try the screen rotation? There was a question someone asked about having two monitors running from the same Pi in different orientations, which seemed to be quite tricky, though possibly feasible to solve. However if you change your time a the minimum wage it's almost impossible to justify not buying another RPi as the cheapest solution!


Continuing the GitHub Actions setup

[ ] Next steps

[ ] Run test with Firebird 2.5-ss, 3.0 and 4.0
[ ] Run on Windows
[ ] Run on Linux/ARM
[ ] Run on Linux/ARM/LittleEndian
[ ] Release workflow to crates.io and rust docs.

[ ] Status

[ ] Coverage failing on cc linking (needs help...)
[ ] Next steps on further PRs

Continuation of #24

For you @juarezr ;)

Any clue about this failure ?
Anybody can help me figuring out what's failing in the build?

I couldn't find out the problem, but for now you can build with the dynamic_loading for it to work


Sync 2024a branch with main branch

It merges all commits from main branch into 2024a branch.
Fixes: https://github.com/opendatahub-io/notebooks/pull/597

Merging to get the 2024a build setup.


Upgrade symbol archiving task version

fixes https://github.com/microsoft/PTVS/issues/7882

/AzurePipelines run


call RecorderController stop() method on ios simulator

in ios simulator, when i try to play the recorded audio file, the exception throw Unhandled Exception: PlatformException(AudioWaveforms, Failed to prepare player, The operation couldn’t be completed. (OSStatus error<PHONE_NUMBER>.), null). i check the audio path that is /Users/my-pc/Library/Developer/CoreSimulator/Devices/67226F3F-8508-4B9B-826A-45ED5A0DA4E3/data/Containers/Data/Application/C20455FD-5AAD-4506-94F9-070C56225144/Documents/24-03-26-12-36-31.m4a, when i check this location, no file exist

Same issue :((

Can you try on a real device and what configurations you are using for recording?

Hi @AhmadFalahian, We have tried to reproduce your issue but are unable to replicate it.
Currently, I am closing this issue feel free to re-open or create a new issue.


[INLONG-4961][DataProxy] Add dataproxy-sdk-golang

[INLONG-4961][DataProxy] add dataproxy-sdk-golang

Fixes #4961

Motivation
Add a golang version SDK of InLong Data Proxy
Modifications

Add a discoverer to do service discovery;
Add a conn pool to keep the connections to the server;
Add a Client interface to handle request;
Add a worker to do the data send/receive work;
Add other util packages/functions to help the whole send/receive jobs;

Verifying this change
(Please pick either of the following options)

[ ] This change is a trivial rework/code cleanup without any test coverage.

[ ] This change is already covered by existing tests, such as:
(please describe tests)

[x] This change added tests and can be verified as follows:

Prepare a groupID and some streamIDs in the server side and define the log schema of the streamIDs;
Write a test client to send messages to the server, example codes can be found in: dataproxy/example_test.go;
Verify how many message was sent and received.

Documentation

Does this pull request introduce a new feature? (yes)
If yes, how is the feature documented? (not documented)
I will create a follow-up issue for adding the documentation later

Please rebase from the master to fix the failed UT after https://github.com/apache/inlong/pull/8128 is merged.


chore: bump version to 2.1.1

Since we have updated the version of bytestring dependency, we should bump the version of the library.

Hi @cptrodolfox, am I right in thinking you'll be the person uploading the next cassava-megaparsec release to Hackage ? Anything we can do to help ? Even uploading it if you are busy ? hledger has been out of stackage nightly for two months now mainly because of cassava-megaparsec, so I'd love to help if there's a way.

Hi @cptrodolfox, am I right in thinking you'll be the person uploading the next cassava-megaparsec release to Hackage ? Anything we can do to help ? Even uploading it if you are busy ? hledger has been out of stackage nightly for two months now mainly because of cassava-megaparsec, so I'd love to help if there's a way. Related: #39.

Hey @simonmichael , I will be uploading the new release.

I see the 2.1.1 release. Thank you @cptrodolfox !


TypeError: To define root models, use pydantic.RootModel rather than a field called 'root'

Traceback (most recent call last):
File "", line 983, in _find_and_load
File "", line 953, in _find_and_load_unlocked
File "", line 219, in _call_with_frames_removed
File "/home/krantikavali/chatbot-model-server/venv/lib/python3.7/site-packages/mlserver/init.py", line 2, in
from .server import MLServer
File "/home/krantikavali/chatbot-model-server/venv/lib/python3.7/site-packages/mlserver/server.py", line 6, in
from .model import MLModel
File "/home/krantikavali/chatbot-model-server/venv/lib/python3.7/site-packages/mlserver/model.py", line 3, in
from .codecs import (
File "/home/krantikavali/chatbot-model-server/venv/lib/python3.7/site-packages/mlserver/codecs/init.py", line 1, in
from .numpy import NumpyCodec, NumpyRequestCodec
File "/home/krantikavali/chatbot-model-server/venv/lib/python3.7/site-packages/mlserver/codecs/numpy.py", line 5, in
from ..types import RequestInput, ResponseOutput, Parameters
File "/home/krantikavali/chatbot-model-server/venv/lib/python3.7/site-packages/mlserver/types/init.py", line 1, in
from .dataplane import (
File "/home/krantikavali/chatbot-model-server/venv/lib/python3.7/site-packages/mlserver/types/dataplane.py", line 31, in
class TensorData(BaseModel):
File "/home/krantikavali/chatbot-model-server/venv/lib/python3.7/site-packages/pydantic/_internal/_model_construction.py", line 99, in new
namespace, config_wrapper.ignored_types, class_vars, base_field_names
File "/home/krantikavali/chatbot-model-server/venv/lib/python3.7/site-packages/pydantic/_internal/_model_construction.py", line 296, in inspect_namespace
raise TypeError("To define root models, use pydantic.RootModel rather than a field called 'root'")
TypeError: To define root models, use pydantic.RootModel rather than a field called 'root'
python-BaseException

Hey @meghanapechetti ,
MLServer 1.0.1 is quite old, so I'd suggest first upgrading to MLServer 1.3.5.
Feel free to re-open if you still see the same issue after upgrading.


Converted initSkipLink.js to TypeScript & added unit tests

Fix for Issue 9541
Converted the js file to typescript.
Added JSDOC
Added a test file.
[^1]: Development Testing
[^2]: Browser and device support
[^3]: Accessibility Target

Thanks LB for the review!


[Proposal] Support inheritance for nested properties in config provider

Ref - symphony/docs/symphony-book/configuration-management/inheritance.md at main · eclipse-symphony/symphony (github.com)
The config provider in symphony supports inheriting config values from a chain of parents. However, this is not supported for nested objects, Example -
Config.yaml -
....
    wrapper:
        MySettings:
          Setting1: Value1FromSymphonyDev
....

Solution.yaml -
....
  env.MySettings__Setting1: "${{$config('lm-config', 'wrapper.MySettings.Setting1')}}"
....

throws the error - Status - Details:  failed to evaluate deployment spec: field 'wrapper.MySettings.Setting1' is not found in configuration 'dev-config'
Expected behavior:
env.MySettings__Setting1 should be set to "Value1FromSymphonyDev".

This feature is done in #398 .  How to use - https://github.com/eclipse-symphony/symphony/blob/main/docs/symphony-book/concepts/configuration_expressions.md#examples-of-usage.


Piece Movement

dummy PR so I can add comments to this commit

The functionality you mentioned was already implemented and working, at least on my machine, I'm pretty sure its updated in github.

The functionality you mentioned was already implemented and working, at least on my machine, I'm pretty sure its updated in github.

Yeah sorry Anna and I added it earlier since she needed it for test


HADOOP-16058 S3A tests to include Terasort

HADOOP-16058. Add S3A tests to run terasort for the magic and directory committers.
Contributed by Steve Loughran.
Contains:
MAPREDUCE-7090. BigMapOutput example doesn't work with paths off cluster fs
MAPREDUCE-7091. Terasort on S3A to switch to new committers
MAPREDUCE-7092. MR examples to work better against cloud stores
Bonus feature: prints the results to see which committers are faster in the specific test setup. As that's a function of latency to the store, bandwidth and size of jobs, it's not at all meaningful, just interesting.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
0
Docker mode activated.

-1
patch
5
https://github.com/apache/hadoop/pull/565 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help.

Subsystem
Report/Notes

GITHUB PR
https://github.com/apache/hadoop/pull/565

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-565/1/console

Powered by
Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.


How can I use Requests classes with Swift Package Manager?

Hi,
I’m trying to use the XMLEncoding that is part of the Request target but I'm seeing that it is excluded in Package.swift
I know I can achieve this with CocoaPods but is it possible to achieve the same with SPM?
Thanks in advance.

@drmendozaz thank you for using this library.
Unfortunately, you cannot install the Requests subspec using Swift Package Manager at the moment due to Alamofire dependency and the higher minimum deployment target.
As a temporary workaround, you can copy the contents of the XMLMapper/Classes/Requests folder into your project and of course, install Alamofire v5.


AttributeError /snippets/{snippet_id}/

https://sentry.io/share/issue/a65f60ea47424d03b6c7be844865ac05/
AttributeError /snippets/{snippet_id}/
Unhandled error
'NoneType' object has no attribute 'end'

Resolved by #220


fix: allow user to remove image attachment #118

I'm not officially assigned, but hope my contribution helps anywayヽ(✿ﾟ▽ﾟ)ノ.

follow the "convention"

the svg button follows the convention using svg element----'react-icons/io'.

change the color according to dark mode / light mode

the hover effect of "grow-in" may not be necessary, just add some spice, feel free to remove if too confusing

e.persist() in client/src/components/Messaging/ImagePicker/index.js seems to solve the crash of the ImagePicker's index.js in utils when we click the imagePicker with cancellation (i.e. without choosing anything). The crash is only visible in development.

The stroke might not be adjusted as small as drawn in the Issues. Maybe workable if adjust the svg path instead using the checkbox svg of the react-icons/io directly. But it might be too tedious and break the "convention" using svg/icon library.

@Ryuuko thank you so much!

@Ryuuko does this PR includes https://github.com/muke1908/chat-e2ee/issues/136 as well?

@muke1908 no I'm aware of #136 just now

@all-contributors please add @Ryuuko for code


How to enable the dark mode?

Hi, I tried adding the following to modifyVars  but it still didn't work. Any idea what's happening?
'@THEME--DARK': 'theme-dark',
dark: true

😂 All this code needs to be written by you, the plugin does not provide dark mode.

@SolidZORO  But Antd does have an official dark mode theme (). I'm trying to enable that. Once it got loaded but with a reload it went back to the default theme.

@SolidZORO Found out how to do it!
const { getThemeVariables } = require('antd/dist/theme');

...

  modifyVars: {
    ...getThemeVariables({
      dark: true, // Enable dark mode
    }),
    '@primary-color': '#ffffff',
  },
  javascriptEnabled: true,

You have to wrap the config with getThemeVariables and set javascriptEnabled to true.


Add a CRA example app

Signed-off-by: HichamELBSI<EMAIL_ADDRESS>

This is just a CRA example to test the DS build and components.


fatigability & strength PATO terms

Should “decreased fatigability” be a type of “increased strength” rather than the other way around?
Similarly, should "increased fatigability" be a type of "decreased strength"?
thank you,
Dave Fashena, ZFIN
The current situation:
TERM:     decreased fatigability
OBO ID [ID]:    PATO:0001817
Synonyms: 	low fatigability
Definition:     A fatigability which is relatively low.
decreased_in_magnitude_relative_to:     normal
is a type of:     decreased strength • fatigability
————————————————
TERM:     increased fatigability
OBO ID [ID]:     PATO:0001816
Synonyms:      high fatigability
Definition:     A fatigability which is relatively high.
increased_in_magnitude_relative_to:      normal
is a type of:     fatigability • increased strength

Agreed
On 16 Apr 2015, at 16:47, David Fashena wrote:

Should “decreased fatigability” be a type of “increased
strength” rather than the other way around?
Similarly, should "increased fatigability" be a type of "decreased
strength"?
thank you,
Dave Fashena, ZFIN
The current situation:
TERM:     decreased fatigability
OBO ID [ID]:    PATO:0001817
Synonyms: 	low fatigability
Definition:     A fatigability which is relatively low.
decreased_in_magnitude_relative_to:     normal
is a type of:     decreased strength • fatigability
————————————————
TERM:     increased fatigability
OBO ID [ID]:     PATO:0001816
Synonyms:      high fatigability
Definition:     A fatigability which is relatively high.
increased_in_magnitude_relative_to:      normal
is a type of:     fatigability • increased strength

Reply to this email directly or view it on GitHub:
https://github.com/gkoutos/pato/issues/54

I'm closing this as it was fixed, the subsequently broken, which was noticed by your colleague in #54 - we'll use that ticket from here


Initialise and assign attributes separately

What would you think of separating these two steps?
https://github.com/hashrocket/decent_exposure/blob/master/lib/decent_exposure/behavior.rb#L64
So instead:
def build(params, scope)
  instance = scope.new
  instance.attribiutes = params

  instance
end

The reason is subtle, but the build association is not accessible until after the object has been initialised, so if something wants access to the association in any of the attribute assignment methods it won't have it yet.
In my specific case, I have a Paperclip processor that needs something from the instance's associated parent object, and Paperclip processors do all their work when the parameter is applied rather than waiting until the instance is saved, and thus because the association isn't available yet, it all blows up.
The above code is basically functionally identical to the existing code except that it allows the instance to initialise (and assign its parent association), then assigns the attributes after that.

@brendon I see what you're going for but am unable to wrap my head around why this would be an issue. Could you provide an example of what case would cause an issue?

Hehe, yea it's mildly obscure, but I'll give it a go:
class Parent < ActiveRecord::Base
  has_many :children

  def something_special
    'special'
  end
end

class Child < ActiveRecord::Base
  belongs_to :parent

  delegate :something_special, to: :parent

  def special_attribute=(value)
    do_something_with(something_special)
  end
end

Using decent exposure, things will blow up as soon as the instance is built with parameters including special_attribute because it will try to access something_special but the relationship method on the new instance object hasn't been established yet (it seems to happen after the attributes are assigned). It's a kind of race condition.
For me, this happens with Paperclip where it does a bunch of processing of the files when the attribute is assigned.
Hope that helps explain things. It's definitely an edge case. My workaround currently is not to allow that particular attribute in the child_params, then assign it manually after accessing the object for the first time.

@brendon Interesting. Thanks for explaining this.
It seems like you already have a decent test case laid out in that message. If you want to put that together with the change, I can take a look at that PR.
Thanks again for clarifying

Thanks @mattpolito. I've just started having a go, but in order to do this with AR I'll need to add a database into the testing mix. It's not a problem, but just wanted to check if you're happy with that. Right now it looks like we're just simulating AR sort of... :)

I've managed to work around the AR thing for now. However, attributes= is a rails specific method, and I've found some of the tests are failing when I adjust the build logic to:
def build(params, scope)
  instance = scope.new
  instance.attribiutes = params

  instance
end

This is one failure:
12) DecentExposure::Controller override scope allows overriding model scope using symbol
      Failure/Error: instance.attributes = params

      NoMethodError:
        undefined method `attributes=' for 42:Fixnum
      # ./lib/decent_exposure/behavior.rb:65:in `build'
      # ./lib/decent_exposure/flow.rb:75:in `call'
      # ./lib/decent_exposure/flow.rb:75:in `handle_default_flow_method'
      # ./lib/decent_exposure/flow.rb:57:in `block in handle_flow_method'
      # ./lib/decent_exposure/flow.rb:85:in `fetch_ivar'
      # ./lib/decent_exposure/flow.rb:53:in `handle_flow_method'
      # ./lib/decent_exposure/flow.rb:25:in `method_missing'
      # ./lib/decent_exposure/behavior.rb:9:in `fetch'
      # ./lib/decent_exposure/flow.rb:75:in `call'
      # ./lib/decent_exposure/flow.rb:75:in `handle_default_flow_method'
      # ./lib/decent_exposure/flow.rb:57:in `block in handle_flow_method'
      # ./lib/decent_exposure/flow.rb:85:in `fetch_ivar'
      # ./lib/decent_exposure/flow.rb:53:in `handle_flow_method'
      # ./lib/decent_exposure/flow.rb:25:in `method_missing'
      # ./lib/decent_exposure/exposure.rb:181:in `block in attribute'
      # ./lib/decent_exposure/context.rb:58:in `instance_exec'
      # ./lib/decent_exposure/context.rb:58:in `fetch_value'
      # ./lib/decent_exposure/context.rb:23:in `get'
      # ./lib/decent_exposure/attribute.rb:46:in `block (2 levels) in expose!'
      # ./spec/decent_exposure/controller_spec.rb:318:in `block (3 levels) in <top (required)>'

I'm hoping it's the tests that need to be changed to take into account the seperate attributes= step. What do you think?

@brendon Do you have your code on a branch so I can take a look?

Sorry, just needed a fresh look to figure out what was going wrong :) I've made the PR with a passing suite. Let me know what you think :)

@brendon I've been thinking about this feature request a lot lately. We actually ran into this issue for the first time in many years using DE. What we found is that results may vary depending on how you're processing your incoming association. For example, building an object through an association, rightfully, has the association attribute processed last (Security reasons come to mind but couldn't find the exact commit in AR to prove that).
After experimenting with this, we've decided that covering for this nuance in AR is not necessarily a concern of DE, so because of that, I'm going to close this issue/PR. I know it's been a long time, but I do very much appreciate the effort and time you put into making the library better.
Thanks

@brendon I've been thinking about this feature request a lot lately. We actually ran into this issue for the first time in many years using DE. What we found is that results may vary depending on how you're processing your incoming association. For example, building an object through an association, rightfully, has the association attribute processed last (Security reasons come to mind but couldn't find the exact commit in AR to prove that).
After experimenting with this, we've decided that covering for this nuance in AR is not necessarily a concern of DE, so because of that, I'm going to close this issue/PR. I know it's been a long time, but I do very much appreciate the effort and time you put into making the library better.
Thanks

Hi @mattpolito, thanks for taking the time to consider the pull request. There are certainly ways to work around this when necessary. One could argue that depending on an association existing inside an attribute setter is bad design anyway. Do you have any details on how you worked around this in your example? I'm happy with your decision :)

Hi @mattpolito, thanks for taking the time to consider the pull request. There are certainly ways to work around this when necessary. One could argue that depending on an association existing inside an attribute setter is bad design anyway. Do you have any details on how you worked around this in your example? I'm happy with your decision :)

@brendon, due to the exposure being lazy, all our scenario needed was to have the exposure loaded before applying. So explicitly setting the attribute that was dependent on association info did the trick.
expose(:thing, scope: :parent_thing)

def create
  thing.association_dependent_attribute = thing_params[:association_dependent_attribute]
  if thing.save
  ...
  end
end

Or, you could reapply attributes wholesale specifically in the case you need, which is basically what you proposed adding to DE:
expose(:thing, scope: :parent_thing)

def create
  thing.attributes = thing_params
  if thing.save
  ...
  end
end

Since most attributes would have already been applied with the exposure build, not much would change with the second assignment of attributes, so there shouldn't be any additional overhead cost to applying a second time in cases where it is necessary.
I hope that clears it up for you. Your situation may not be exactly ours (if it's even your situation anymore... I know it's been a long time ☹), but thanks for understanding.
Again, thank you for the contribution.

@brendon, due to the exposure being lazy, all our scenario needed was to have the exposure loaded before applying. So explicitly setting the attribute that was dependent on association info did the trick.
expose(:thing, scope: :parent_thing)

def create
  thing.association_dependent_attribute = thing_params[:association_dependent_attribute]
  if thing.save
  ...
  end
end

Or, you could reapply attributes wholesale specifically in the case you need, which is basically what you proposed adding to DE:
expose(:thing, scope: :parent_thing)

def create
  thing.attributes = thing_params
  if thing.save
  ...
  end
end

Since most attributes would have already been applied with the exposure build, not much would change with the second assignment of attributes, so there shouldn't be any additional overhead cost to applying a second time in cases where it is necessary.
I hope that clears it up for you. Your situation may not be exactly ours (if it's even your situation anymore... I know it's been a long time ☹), but thanks for understanding.
Again, thank you for the contribution.

That's an excellent explanation and I'm sure it'll help others in the future too :) All the best :)

That's an excellent explanation and I'm sure it'll help others in the future too :) All the best :)


Wiki: Configuration link on Installation Page

I didn't see a way to suggest the fix directly in the wiki but on Installation it links to #Configuration, which I'm assuming is an artifact of it being a single markdown file.
I've seen you post about this in the past but I watched the latest video and it clicked. Brilliant.

Also on Examples.

Fixed, thanks for catching that!


Is it possible to upload from url by streaming?

I have videos on server i dont want to first download all of them and then upload using this. from what i know about nodejs streaming should be able to solve this.
thanks.

You can try passing a body field with a readable stream. nodejs Google API client supports streams.

Closing due to inactivity.


bug: lazy unset GIT_DIR and GIT_WORK_TREE environment variables

Did you check docs and existing issues?

[X] I have read all the lazy.nvim docs
[X] I have updated the plugin to the latest version before submitting this issue
[X] I have searched the existing issues of lazy.nvim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
0.10.1
Operating system/version
Linux
Describe the bug
Since this commit lazy.nvim unsets GIT_DIR. This was done to not interfere with its internal use of git, as stated in #434. Few months later, this unset GIT_WORK_TREE.
While this is a sane default behavior, it breaks my workflow. I, just like the user of #434, use those variables to manage my dotfiles, but use nvim to edit them, and plugins like gitsigns or the one used to blame lines need those variables to be set.
Adding a way to alter this behavior would be appreciated. For example, right now I'm using this hack:
131,132c131,134
<   env.GIT_DIR = nil
<   env.GIT_WORK_TREE = nil
---
>   if not env.DISISDOT then
>     env.GIT_DIR = nil
>     env.GIT_WORK_TREE = nil
>   end

So if I set DISISDOT set to true, lazy.nvim would not overwrite the other two variables.

If the suggested change is not implemented, this is the workaround I've been using for few weeks and works just fine.
Patch ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/manage/process.lua with dots_patch.txt using patch -bf ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/manage/process.lua -i /path/to/dots_patch.txt
Remember that lazy.nvim will complain about tampering it's code when updating itself. So you should reverse the patch when applying an update.
If you want to automate the entire process, edit ~/.config/nvim/lua/config/autocmd.lua and add the following autocommands

This will set DISISDOT to true if working with a dotfile

vim.api.nvim_create_autocmd({ "BufReadPost" }, {
  pattern = { "*" },
  callback = function()
    local file = vim.api.nvim_buf_get_name(0):gsub("/.*/", "")
    if
      os.execute(
        "/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME ls-files --error-unmatch "
          .. file
          .. " >/dev/null 2>&1"
      )
    then
      -- $DISISDOT will signal lazy.nvim to not overwrite $GIT_DIR and $GIT_WORK_TREE
      -- REMEMBER that this works because you changed the behaviour of ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/manage/process.lua
      vim.env.DISISDOT = true
      vim.env.GIT_DIR = vim.env.HOME .. "/.dotfiles/"
      vim.env.GIT_WORK_TREE = vim.env.HOME
    end
  end,
})

This will deal with lazy.nvim updates

vim.api.nvim_create_autocmd({ "User" }, {
  pattern = { "LazyUpdatePre" },
  callback = function()
    os.execute(
      "patch -bfR ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/manage/process.lua -i ~/dots_patch.txt"
    )
  end,
})
vim.api.nvim_create_autocmd({ "User" }, {
  pattern = { "LazyUpdate" },
  callback = function()
    os.execute(
      "patch -bf ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/manage/process.lua -i ~/dots_patch.txt"
    )
    print("Patched!")
  end,
})

Steps To Reproduce

set GIT_DIR and GIT_WORK_TREE
use a plugin that use those variables

Expected Behavior
The variable should be unset by default, but the user should have the possibility to set them.

I don't really understand your use-case.
You can still set those variables in your env and they would be used by those plugins.
The lines you are referring to, just don't use those env vars for lazy specifically.
What's the problem you're trying to solve here?

I'm sorry I didn't explain the issue properly.
The plugins will use those env indeed.
The issue persist only for 'Git Blame Line' (space+g+b) and similar options.
This is probably because shortcut use float_cmd from lazy.util
and when spawning the terminal, those env vars are unset


4.21.0 Odata v3 can't filter by DateTime

I just upgraded to 4.21.0 of the Simple.Odata.V3.Client and now my filters by DateTime do not work.  The say, "type is not supported when converting to a uri literal"

This is very strange because the only thing that's changed in 4.21 is a single line related to execution of OData functions, nothing that might have to do with date parsing.
What was the last version that worked for you? Can you send me a code sample and your service metadata?

Sorry for the delay.  4.20 was the last working version for me.  My code sample is:
				DateTime beforeDT = dateRange[0]; 				DateTime afterDT = dateRange[1]; 				sdpResults = (await client.For<sumDailyProduction>().Filter(x => (x.docDate >= beforeDT) && (x.docDate < afterDT) && (x.EntityType == (int)EntityType.ProductionPoint)).FindEntriesAsync()).ToList();
The EntityType used in the code sample is just an enum that I am casting to int for the filter criteria.
I will send you the metadata in a private message.

I did some debugging against your source code checking each commit from 4.20 until now to see which commit broke my code.  It turns out to be this commit:
https://github.com/object/Simple.OData.Client/commit/1af0a7e843b689a7feb34f14b08617c35d92918f
In debugging, I can see that before this commit, the value being passed into:
ODataUriUtils.ConvertToUriLiteral(x, odataVersion, (_session.Adapter as ODataAdapter).Model)
to be converted is the simple DateTime objects from my Linq expression. In other words, it gets called 3 times, once to convert the first DateTime, a second to convert the second DateTime, and a third to convert the EntityType.ProductionPoint which is just a number 4.  However, after this commit, this conversion function is being called just once with some weird async anonymous object that contains both DateTimes objects inside.  See the attached screenshot of my debugger.  Hopefully, this helps you.

Thanks, this is definitely helpful.

This bug is also present in  Simple.OData.V4.Client version="4.23.4". After filtering data with date parameters we get an error:"The type 'System.DateTime' is not supported when converting to a URI literal."
BTW
Thanks for your work.

What is the status on this one?  I find it hard to find out what fixes/features go into each NuGet version.  I see <IP_ADDRESS> now.  Is this fix in there?

FYI: This is still broken in 4.25.3.

What is the status on this one?  Can I pay someone to fix this one for me?

Hi,
No need to pay, let me check this out later today.

@scastria, I checked the code and indeed there was a conversion failure but strangely only in V4 adapter (as @vgregor noted), and you opened the issue for the V3. Are you sure you are still experiencing the same error when using V3 adapter and not V4?
And ODataUriUtils.ConvertToUriLiteral is called 3 times when I test.

BTW I just pushed version 4.25.5. that fixes DateTime issue for V4 adapter, but I don't manage to reproduce the failure for V3 adapter.

Yes, it is still happening with V3 adapter.  Is there anyway you can make the same fix you did for V4 even though you can't reproduce it.  I can test it for you.

The same fix wouldn't do - V4 doesn't support DateTime, only DateTimeOffset, therefore I had to add a conversion between those types. V3 supports both. Here's the code that I changed and the test that first failed for V4, now it works for both:
https://github.com/object/Simple.OData.Client/commit/71dcafbd750b5864669ac62568f669c8434e544a
Are you using Visual Studio? I am puzzled what's different in our environments. Is it possible for you to extract a small app that would reproduce the error? Since the error happens on the client side, you don't need the app to connect to the actual OData service - just point ODataClientSettings to your metadata xml, it should fail before going over the wire.

I am using Xamarin.iOS and Xamarin.Android in a mobile app and can recreate it.  I have attached a sample program that demonstrates this for both iOS and Android.  Since Xamarin is now free and open source, hopefully you won't have a problem recreating this on Android inside Visual Studio.  Everything works fine if you revert Simple.OData.Client back to 4.20.0.  NOTE:  Since I have not included proper login credentials in the sample program, "everything works fine" means you get an Unauthorized exception instead of the URI literal exception.
TestOData.zip
Here is the stack trace I get when running this sample program:
[MonoDroid] UNHANDLED EXCEPTION: [MonoDroid] Microsoft.Data.OData.ODataException: The type 'TestODataDroid.MainActivity+<OnCreate>c__async0+<OnCreate>c__AnonStorey1' is not supported when converting to a URI literal. [MonoDroid]   at Microsoft.Data.OData.Evaluation.LiteralFormatter.FormatRawLiteral (System.Object value) [0x0015c] in <64ef04a0b78a455b97f017f5e27d932d>:0  [MonoDroid]   at Microsoft.Data.OData.Evaluation.LiteralFormatter.FormatAndEscapeLiteral (System.Object value) [0x00000] in <64ef04a0b78a455b97f017f5e27d932d>:0  [MonoDroid]   at Microsoft.Data.OData.Evaluation.LiteralFormatter+DefaultLiteralFormatter.FormatLiteralWithTypePrefix (System.Object value) [0x00000] in <64ef04a0b78a455b97f017f5e27d932d>:0  [MonoDroid]   at Microsoft.Data.OData.Evaluation.LiteralFormatter+DefaultLiteralFormatter.Format (System.Object value) [0x0000d] in <64ef04a0b78a455b97f017f5e27d932d>:0  [MonoDroid]   at Microsoft.Data.OData.Query.ODataUriConversionUtils.ConvertToUriPrimitiveLiteral (System.Object value, Microsoft.Data.OData.ODataVersion version) [0x0001e] in <64ef04a0b78a455b97f017f5e27d932d>:0  [MonoDroid]   at Microsoft.Data.OData.Query.ODataUriUtils.ConvertToUriLiteral (System.Object value, Microsoft.Data.OData.ODataVersion version, Microsoft.Data.Edm.IEdmModel model, Microsoft.Data.OData.ODataFormat format) [0x0004d] in <64ef04a0b78a455b97f017f5e27d932d>:0  [MonoDroid]   at Microsoft.Data.OData.Query.ODataUriUtils.ConvertToUriLiteral (System.Object value, Microsoft.Data.OData.ODataVersion version, Microsoft.Data.Edm.IEdmModel model) [0x00008] in <64ef04a0b78a455b97f017f5e27d932d>:0  [MonoDroid]   at Simple.OData.Client.V3.Adapter.CommandFormatter+<>c__DisplayClass1.<ConvertValueToUriLiteral>b__0 (System.Object x) [0x00021] in <9b7cfbd7f2684e19a38450e0e93af5d6>:0  [MonoDroid]   at Simple.OData.Client.V3.Adapter.CommandFormatter.ConvertValueToUriLiteral (System.Object value, System.Boolean escapeDataString) [0x0007f] in <9b7cfbd7f2684e19a38450e0e93af5d6>:0  [MonoDroid]   at Simple.OData.Client.ODataExpression.FormatValue (Simple.OData.Client.ExpressionContext context) [0x00080] in <b0fcad0c3e0448faaf69892ba181c3d2>:0  [MonoDroid]   at Simple.OData.Client.ODataExpression.Format (Simple.OData.Client.ExpressionContext context) [0x00022] in <b0fcad0c3e0448faaf69892ba181c3d2>:0  [MonoDroid]   at Simple.OData.Client.ODataExpression.FormatExpression (Simple.OData.Client.ODataExpression expr, Simple.OData.Client.ExpressionContext context) [0x0000f] in <b0fcad0c3e0448faaf69892ba181c3d2>:0  [MonoDroid]   at Simple.OData.Client.ODataExpression.Format (Simple.OData.Client.ExpressionContext context) [0x0015f] in <b0fcad0c3e0448faaf69892ba181c3d2>:0  [MonoDroid]   at Simple.OData.Client.ODataExpression.FormatExpression (Simple.OData.Client.ODataExpression expr, Simple.OData.Client.ExpressionContext context) [0x0000f] in <b0fcad0c3e0448faaf69892ba181c3d2>:0  [MonoDroid]   at Simple.OData.Client.ODataExpression.Format (Simple.OData.Client.ExpressionContext context) [0x00127] in <b0fcad0c3e0448faaf69892ba181c3d2>:0  [MonoDroid]   at Simple.OData.Client.FluentCommand.Resolve () [0x000ef] in <b0fcad0c3e0448faaf69892ba181c3d2>:0  [MonoDroid]   at Simple.OData.Client.FluentCommand+<GetCommandTextAsync>d__0.MoveNext () [0x0009d] in <b0fcad0c3e0448faaf69892ba181c3d2>:0  [MonoDroid] --- End of stack trace from previous location where exception was thrown --- [MonoDroid]   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Users/builder/data/lanes/3511/501e63ce/source/mono/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:143  [MonoDroid]   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00047] in /Users/builder/data/lanes/3511/501e63ce/source/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:187  [MonoDroid]   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in /Users/builder/data/lanes/3511/501e63ce/source/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:156  [MonoDroid]   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in /Users/builder/data/lanes/3511/501e63ce/source/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:128  [MonoDroid]   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in /Users/builder/data/lanes/3511/501e63ce/source/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:535
[MonoDroid]   at Simple.OData.Client.ODataClient+d__ba.MoveNext () [0x00147] in :0
[MonoDroid] --- End of stack trace from previous location where exception was thrown ---
[MonoDroid]   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Users/builder/data/lanes/3511/501e63ce/source/mono/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:143
[MonoDroid]   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00047] in /Users/builder/data/lanes/3511/501e63ce/source/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:187
[MonoDroid]   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in /Users/builder/data/lanes/3511/501e63ce/source/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:156
[MonoDroid]   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in /Users/builder/data/lanes/3511/501e63ce/source/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:128
[MonoDroid]   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in /Users/builder/data/lanes/3511/501e63ce/source/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:535  [MonoDroid]   at Simple.OData.Client.FluentClientBase1+d__4[T].MoveNext () [0x0009d] in :0
[MonoDroid] --- End of stack trace from previous location where exception was thrown ---
[MonoDroid]   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Users/builder/data/lanes/3511/501e63ce/source/mono/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:143
[MonoDroid]   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00047] in /Users/builder/data/lanes/3511/501e63ce/source/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:187
[MonoDroid]   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in /Users/builder/data/lanes/3511/501e63ce/source/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:156
[MonoDroid]   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in /Users/builder/data/lanes/3511/501e63ce/source/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:128
[MonoDroid]   at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () [0x00000] in /Users/builder/data/lanes/3511/501e63ce/source/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:357  [MonoDroid]   at TestODataDroid.MainActivity+<OnCreate>c__async0.MoveNext () [0x001e5] in /Users/shawncastrianni/Projects/TestOData/TestODataDroid/MainActivity.cs:34  [MonoDroid] --- End of stack trace from previous location where exception was thrown --- [MonoDroid]   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Users/builder/data/lanes/3511/501e63ce/source/mono/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:143  [MonoDroid]   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>m__0 (System.Object state) [0x00000] in /Users/builder/data/lanes/3511/501e63ce/source/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:1018  [MonoDroid]   at Android.App.SyncContext+<Post>c__AnonStorey0.<>m__0 () [0x00000] in /Users/builder/data/lanes/3511/501e63ce/source/xamarin-android/src/Mono.Android/Android.App/SyncContext.cs:18  [MonoDroid]   at Java.Lang.Thread+RunnableImplementor.Run () [0x0000b] in /Users/builder/data/lanes/3511/501e63ce/source/xamarin-android/src/Mono.Android/Java.Lang/Thread.cs:36  [MonoDroid]   at Java.Lang.IRunnableInvoker.n_Run (System.IntPtr jnienv, System.IntPtr native__this) [0x00009] in /Users/builder/data/lanes/3511/501e63ce/source/monodroid/src/Mono.Android/platforms/android-24/src/generated/Java.Lang.IRunnable.cs:81  [MonoDroid]   at (wrapper dynamic-method) System.Object:04ad1aba-6201-4aaf-a43c-30a60591f788 (intptr,intptr) [art] JNI RegisterNativeMethods: attempt to register 0 native methods for android.runtime.JavaProxyThrowable [Mono] DllImport searching in: '__Internal' ('(null)'). [Mono] Searching for 'java_interop_jnienv_throw'. [Mono] Probing 'java_interop_jnienv_throw'. [Mono] Found as 'java_interop_jnienv_throw'. [mono]  [mono] Unhandled Exception: [mono] Microsoft.Data.OData.ODataException: The type 'TestODataDroid.MainActivity+<OnCreate>c__async0+<OnCreate>c__AnonStorey1' is not supported when converting to a URI literal. [mono-rt] [ERROR] FATAL UNHANDLED EXCEPTION: Microsoft.Data.OData.ODataException: The type 'TestODataDroid.MainActivity+<OnCreate>c__async0+<OnCreate>c__AnonStorey1' is not supported when converting to a URI literal.

Thank you, I will try it in your environment.

Any luck on this one?

Well, you will be surprised but I believe I've found what's the problem. Took time because I didn't have proper environment to test but your test project and observation that it started happening after 4.20 helped a lot. I've located where things work differently and it is deep inside reflection code. I am figuring out how to fix it in a best way but expect a new version today :-)

I believe it's fixed now. Will be released shortly as 4.26. Sorry for long resolution process. and thanks for your patience and test projects (that helped massively).


Aligned the text at home

Description
I have to aligned the text at home view and improve the way to manage the spaces between text.
I have checked and the original design have all text aligned to the left and not center
fixes #148
Screenshots

Type of change

[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)

How to test it

Go to deploy link
Check the home in different screen sizes

Checklist:

[x] The text is aligned at iPad Pro screen
[x] The text is aligned in other screen sizes

@angelik0828 please check

I think even though it's center aligned it preserves the text order on the left and wrapping doesn't make it look bad

Please rebase


Feature/idva5 130 all users kick out

-kickout page endpoint
-html/css of kickout page

As I mentioned in the call, these changes should be part of kick out folder/ routers rather than index.


Peer-to-Peer code review

Leave your feedback here

Hi Team,
Great job !!!
To Highlight! :clap:  :green_circle:
:heavy_check_mark:  Good commit messages
:heavy_check_mark: Clean/Organized code,
:heavy_check_mark: Descriptive Readme file
:heavy_check_mark: Love the success message
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Optional suggestions
Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better.

[ ] In lines 28 to 33 of index.js I'd suggest using ternary operator since your condition is returning just true or false, the syntax would be like so:
this.bookList = this.bookList.filter((element, i) => (i === parseInt(index, 10)) ? false : true;
[ ] Between lines 90 and 115 a lot of code is repeated, I'd suggest using a function to remove or/and add active and hidden classes and would therefore make code easier to edit

Cheers and Happy coding!👏👏👏


An attempt fixing the bug with inconsistent state in fibers

Specifically, fix #130.
The code that crashed makes sure that a fiber is not in remote_ready queue when it wakes up: it yields if it is, and thus allows the dispatcher to empty the remote queue and pull the active fiber from there.
The code crashes because after the Yield call, it appears that the fiber is still in the remote queue. Based on the code inspection, it seems unprobable that a dispatcher won't empty the remote queue, therefore I suspect that remote queue was corrupted in the first place.
This fix focuses on ScheduleFromRemote (producer sider) that before that did not protect against concurrent calls for the same fiber. It was partly justified because ScheduleFromRemote is usually called from the WaitQueue code under lock. However, there are other cases that can call this function, and maybe they corrupted the queue.
In addition, we removed the epoch based notifications which did not contribute to the correctness.

Codecov Report
Patch coverage: 86.20% and project coverage change: -0.03% :warning:

Comparison is base (a601dd6) 76.32% compared to head (0b517e2) 76.30%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #131      +/-   ##
==========================================
- Coverage   76.32%   76.30%   -0.03%
==========================================
  Files          97       97
  Lines        7057     7051       -6
==========================================
- Hits         5386     5380       -6
  Misses       1671     1671

Files Changed
Coverage Δ

base/mpsc_intrusive_queue.h
100.00% <ø> (+3.22%)
:arrow_up:

util/fibers/detail/fiber_interface.cc
93.38% <ø> (+0.81%)
:arrow_up:

util/fibers/synchronization.h
89.30% <ø> (ø)

util/fibers/detail/scheduler.cc
97.28% <76.47%> (-2.16%)
:arrow_down:

util/fibers/detail/fiber_interface.h
92.30% <100.00%> (+0.30%)
:arrow_up:

util/fibers/detail/wait_queue.cc
100.00% <100.00%> (ø)

util/fibers/detail/wait_queue.h
100.00% <100.00%> (ø)

util/fibers/fibers_test.cc
99.06% <100.00%> (ø)

util/fibers/synchronization.cc
67.07% <100.00%> (-0.40%)
:arrow_down:

... and 2 files with indirect coverage changes

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


formula: add global caching for declared_runtime_dependencies

This improves brew audit --except=installed --tap=homebrew/core times from ~45s (with #16007 applied) to ~30s.
This optimisation is not enabled for formulae with options as I'm not 100% confident caching would behave correctly here. Though that doesn't matter for Homebrew/core, and third-party taps typically are much smaller scale that brew audit is already quick.

I was thinking about doing this recently too though I never followed through with it. I think it's smart to avoid trying to cache them for formula with build options but as you already mention that's relatively rare and not used in core anyway.
I see a 10s improvement locally without the installed audit which rarely runs on CI. Good work!


Error: Class not found

My code is like Bellow
var push = PushNotification.init({
	"android": {
		"senderID": "1234567"
	}
});

push.on('registration', function(data) {
	console.log("registration event");
	console.log(JSON.stringify(data));
});

push.on('notification', function(data) {
	console.log("notification event");
	console.log(JSON.stringify(data));

	var card = '
' +
		  '
' +
		  '
' +
		  '
' +
		  '      ' + data.title + '' +
		  '
' + data.message + '
' +
		  '
' +
		  '
' +
		  '
' +
		  '
';
	console.log(card);

	push.finish(function () {
		console.log('finish successfully called');
	});
});

push.on('error', function(e) {
	console.log(e);
});

in my console i got this Error: Class not found Please Help me to resolve this issue.

Sorry to be a jerk but I'm now closing issues that don't follow the issue submission guidelines. This plugin takes a lot of work to maintain and I can't afford the time required to solicit the required info from everyone.
I'm closing this issue but please feel free to re-open the issue if you provide the requested details from the new issue submission guidelines.
https://github.com/phonegap/phonegap-plugin-push/blob/master/.github/ISSUE_TEMPLATE.md

I have used 1.4.2 and its working.


Quite few typographical errors and confusing terms.

 The direct connection is made using ExpressRoute, connecting your network with Azure. Then your customer connects to your network. This scenario requires that the customer passes through the CSP network to access Azure services."
By "your datacenter" does it mean partner datacenter. Then , "your network with azure" (do you mean partner here) . In the start, this paragraph states, CSP creates a direct connection but its seemingly confusing to me ( may be, I am not a native english speaker) because, the second half of paragraph sort of implies the connection goes through partner network ? then how is it direct connection. Sorry, I am bit confused here.
Lastly, regarding below part -
"Role Based Access Control (RBAC) – RBAC is based on Azure Active Directory. For more information on Azure RBAC see here."
Does the hyper link, meant to redirect to general RBAC page or an RBAC page associated with express route permissions and roles, cause it has been mentioned just before the above pasted line.

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

ID: 82291787-0b93-b4a7-4cff-6775d4e54280
Version Independent ID: 9c3b8824-09b3-b71e-cf80-3ca2aa179c2f
Content: ExpressRoute for Cloud Solution Providers - Azure
Content Source: articles/expressroute/expressroute-for-cloud-solution-providers.md
Service: expressroute
GitHub Login: @RichCar
Microsoft Alias: ricarlse

@Sahil-13 Thanks for your question. We are checking on this and will respond to you soon.

@Sahil-13 , Appreciate your patience. We have assigned this issue to the respective content author for updating the doc accordingly.