Extensions, metaformats and the extension field

L675+L676: point out that the extension field is probably useless in the sense that extensions can readily refer to atoms by their implicit index, derived from the order of left-to-right processing.

Closing in favor of #86.


[gdax.js] (getOrder) irrecoverable error: NotFound

I'm submitting a ...
[X ] bug report
[ ] question about the decisions made in the repository
Action taken (what you did)
Live Trading with Gekko CLI
Expected result (what you hoped would happen)
Gekko trading without errors
Actual result (unexpected outcome)
Gekko returns irrecoverable error every time when order was not filled at first buy/sell price.
=> [gdax.js] (getOrder) returned an irrecoverable error: NotFound
But order is always successfully filled.
(I can't tell you if this crashes the trader since there was no second trade in my live Gekko yet.)
Edit: Trader is not crashed after irrecoverable error!
Gekko v.0.5.14 (last stable), Nodejs v.8.11.
(But also had this issue in one of the latest develop branches)
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc)
Log:
2018-05-09 12:29:17 (DEBUG):    Processing 3 new trades. From 2018-05-09 10:28:57 UTC to 2018-05-09 10:29:17 UTC. (a few seconds)
2018-05-09 12:29:17 (INFO):     Trader Received advice to go short. Selling  BTC
2018-05-09 12:29:17 (INFO):     Going short
2018-05-09 12:29:17 (INFO):     Short since 1 BEAR RSI: 50.63 ADX low
2018-05-09 12:29:17 (INFO):     Attempting to SELL 0.00130327 BTC at GDAX price: 7696.59
2018-05-09 12:29:37 (DEBUG):    Requested BTC/EUR trade data from GDAX ...
2018-05-09 12:29:37 (DEBUG):    Processing 7 new trades. From 2018-05-09 10:29:23 UTC to 2018-05-09 10:29:32 UTC. (a few seconds)
2018-05-09 12:29:57 (DEBUG):    Requested BTC/EUR trade data from GDAX ...
2018-05-09 12:29:57 (DEBUG):    Processing 3 new trades. From 2018-05-09 10:29:40 UTC to 2018-05-09 10:29:46 UTC. (a few seconds)
2018-05-09 12:30:17 (DEBUG):    Requested BTC/EUR trade data from GDAX ...
2018-05-09 12:30:17 (DEBUG):    Processing 7 new trades. From 2018-05-09 10:30:08 UTC to 2018-05-09 10:30:15 UTC. (a few seconds)
2018-05-09 12:30:18 (INFO):     SELL order was not (fully) filled, cancelling and creating new order
2018-05-09 12:30:19 (INFO):     Attempting to SELL 0.00130327 BTC at GDAX price: 7695.93
2018-05-09 12:30:37 (DEBUG):    Requested BTC/EUR trade data from GDAX ...
2018-05-09 12:30:37 (DEBUG):    Processing 1 new trades. From 2018-05-09 10:30:37 UTC to 2018-05-09 10:30:37 UTC. (a few seconds)
2018-05-09 12:30:57 (DEBUG):    Requested BTC/EUR trade data from GDAX ...
2018-05-09 12:30:57 (DEBUG):    Processing 1 new trades. From 2018-05-09 10:30:37 UTC to 2018-05-09 10:30:37 UTC. (a few seconds)
2018-05-09 12:31:17 (DEBUG):    Requested BTC/EUR trade data from GDAX ...
2018-05-09 12:31:17 (DEBUG):    Processing 1 new trades. From 2018-05-09 10:31:06 UTC to 2018-05-09 10:31:06 UTC. (a few seconds)
2018-05-09 12:31:20 (INFO):     SELL order was not (fully) filled, cancelling and creating new order
2018-05-09 12:31:21 (INFO):     Attempting to SELL 0.00130327 BTC at GDAX price: 7690.01
2018-05-09 12:31:37 (DEBUG):    Requested BTC/EUR trade data from GDAX ...
2018-05-09 12:31:37 (DEBUG):    Processing 15 new trades. From 2018-05-09 10:31:26 UTC to 2018-05-09 10:31:36 UTC. (a few seconds)
2018-05-09 12:31:57 (DEBUG):    Requested BTC/EUR trade data from GDAX ...
2018-05-09 12:31:57 (DEBUG):    Processing 1 new trades. From 2018-05-09 10:31:49 UTC to 2018-05-09 10:31:49 UTC. (a few seconds)
2018-05-09 12:32:17 (DEBUG):    Requested BTC/EUR trade data from GDAX ...
2018-05-09 12:32:17 (DEBUG):    Processing 3 new trades. From 2018-05-09 10:31:58 UTC to 2018-05-09 10:32:13 UTC. (a few seconds)
2018-05-09 12:32:21 (INFO):     SELL order was not (fully) filled, cancelling and creating new order
2018-05-09 12:32:22 (INFO):     Attempting to SELL 0.00130327 BTC at GDAX price: 7683.44
2018-05-09 12:32:37 (DEBUG):    Requested BTC/EUR trade data from GDAX ...
2018-05-09 12:32:38 (DEBUG):    Processing 1 new trades. From 2018-05-09 10:32:34 UTC to 2018-05-09 10:32:34 UTC. (a few seconds)
2018-05-09 12:32:57 (DEBUG):    Requested BTC/EUR trade data from GDAX ...
2018-05-09 12:32:57 (DEBUG):    Processing 3 new trades. From 2018-05-09 10:32:47 UTC to 2018-05-09 10:32:54 UTC. (a few seconds)
2018-05-09 12:33:17 (DEBUG):    Requested BTC/EUR trade data from GDAX ...
2018-05-09 12:33:17 (DEBUG):    Processing 8 new trades. From 2018-05-09 10:33:04 UTC to 2018-05-09 10:33:16 UTC. (a few seconds)
2018-05-09 12:33:23 (INFO):     SELL was successfull
2018-05-09 12:33:23 (ERROR):    [gdax.js] (getOrder) returned an irrecoverable error: NotFound
2018-05-09 12:33:23 (INFO):     (PROFIT REPORT) original simulated balance:      XXX EUR
2018-05-09 12:33:23 (INFO):     (PROFIT REPORT) current simulated balance:       XXX EUR
2018-05-09 12:33:23 (INFO):     (PROFIT REPORT) simulated profit:                -XXX EUR (-0.00195668%)
2018-05-09 12:33:37 (DEBUG):    Requested BTC/EUR trade data from GDAX ...
2018-05-09 12:33:37 (DEBUG):    Processing 3 new trades. From 2018-05-09 10:33:18 UTC to 2018-05-09 10:33:32 UTC. (a few seconds)
2018-05-09 12:33:57 (DEBUG):    Requested BTC/EUR trade data from GDAX ...
Having done some research, it seems to be assigned to #1852 and #1834

That error was caused by Gekko trying to cancel an already cancelled order. This has been fixed in 0.6 Please redownload and try again :)


On using ctrl+right key to the code "foo = "Hello world"; the words are not read correctly as seen on screen

GitHubTags:#A11ySev2;#A11yTCS;#A11yMAS;#DesktopApp;#Visual Studio Code Client;#WCAG1.3.1;#DesktopApp;#BM-VisualStudioCode-Win32-Nov2021;#NVDA;#JAWS;#Win32;#Win11;#A11yeDAD;#External;#External:Chrome;
Environment Details:
Application Name: Visual Studio Code
Version: 1.70.2 (user setup)
NVDA2022.2, JAWS 2022.2204.20 ILM
Repro Steps:

Launch Visual Studio Code
Navigate to file and press enter select item new file
tab to the opened edit dropdown and type HTML and press enter
in the editor type the code foo = "Hello world";
Run NVDA using ctrl+right key to the code

Actual:
On using ctrl+right key to the code "foo = "Hello world"; the words are not read correctly as seen on screen the word foo is read as " "foo =" and  = is also read as "foo equal" and the closing quotes and semi colon is not read on using ctrl +left and right
Expected:
The screen reader should read each word on using the ctrl+right key on each use of the key one word should be read that it navigates too
User Impact:
screen reader users will not get the code read correctly
Attachment

logged in ref to bug https://dev.azure.com/CSS-IRT/CSS IRT/_workitems/edit/182564

cc @isidorn

This is a chrome / nvda bug. I can reproduce on https://google.com
Upstream issue I created some time ago https://bugs.chromium.org/p/chromium/issues/detail?id=1063815&q=reporter%3Ame&can=2
I just pinged our Google contacts

@isidorn  the issu is resolved on the latest NVDA version and vs code insiders

closing this bug as bug has been logged to chrome https://bugs.chromium.org/p/chromium/issues/detail?id=1063815&q=reporter%3Ame&can=2

GitHubTags:#Closed;


Modifiers in xdg_shell do not work

I was trying the xdg_shell_v6_test example. But modifier keys (shift, etc.) do not work for weston-terminal that could be opened by pressing F1 key.
I was looking into keyboard handling in Sway and it seems, that there are two lines missing in keyboard handling:
#[dehandle] let keyboard = state.keyboard.clone().unwrap();
seat.set_keyboard(keyboard.input_device());

But even after this  the modifier keys do not work. Any help? :) Thank You

Yep they don't work because when they example was made it was just a quick test.
There should be a call to send_modifiers in the on key callback. That tells the client what modifiers are currently being used.

Thank You, works like a charm, I've done a PR for this.


Added ssl cert mount and emptyDir default for data

Here are the fixes I applied to the helm chart locally to address issues #79 and #80 in order to deploy them to our OpenShift clusters. Let me know if you like this implementation or would like me to change anything.

 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.

@ozkatz Hey Oz, I forgot all about these changes and it looks like I need someone to approve it before the pipeline runs again.  It originally broke because there was no default ssl section but now it should be good to go

@johnnyaug can you help getting this one merged?

Hey @tvanderwal-lmco, thank you for your effort and sorry for the delay, I missed this PR.
I would like to suggest solving this by introducing new properties extraVolumes and extraVolumeMounts, which will allow the deployer to define and mount any volumes. Here is a reference from the nginx bitnami chart.
WDYT?

@johnnyaug Thanks I will take a look! After a quick look at that example I think the one thing that might be an issue is doing and empty-dir mount on /etc/ssl/certs when the extraVolumes isn't set which would clear out the defaults from the container. Would that be an issue?

@tvanderwal-lmco, the way I see it, you wouldn't specify the mount for /etc/ssl/certs in extraVolumeMounts unless you also set extraVolumes. This way, no mount happens unless you explicitly specify it. Does that make sense?

@johnnyaug Sorry I went back into the example and realized I misread what was happening. That should work fine and I'll work that this week! Thanks for the feedback

@johnnyaug found some extra time and was able to test out those changes. Feel free to take another look when you have a free minute!

@johnnyaug Looks like the pipeline failed since I didn't update the version. I pulled the remote master and bumped it. Let me know if there is anything else I need to update!


New Cop Idea: Explicit operator precedence

Is your feature request related to a problem? Please describe.
This is a request for new cop based on @bbatsov's comment here.
Describe the solution you'd like
The cop should check for explicit parens when operators with varying precedence are used in a statement.
# bad
a && b || c
10 + 20 * 3

# good
(a && b) || c
10 + (20 * 3)

Describe alternatives you've considered
NA
Additional context
We need to decide if the cop should consider all operators or only commonly used ones.

Well, I have to say I love the idea! 😉

Hi @bbatsov, I have made a PR for this feature. There is one issue I can fix in it.
The test case to fix a ** b * c / d % e + f - g << h >> i & j | k ^ l fails. Somehow the cop exercises the correction method only once.

It would be nice to have this depend somehow on the complexity of the expression. But then again, I think a ** b * c / d % e + f - g << h >> i & j | k ^ l would be equally hard to comprehend with parentheses.


Add Maui Controls ZIndex support

Now that NET7 has been released and the latest Maui bits are available we could wrap ZIndex + extension method
See: https://learn.microsoft.com/en-us/dotnet/api/microsoft.maui.controls.visualelement.zindex?view=net-maui-7.0
https://askxammy.com/organizing-elements-with-zindex-in-net-maui/

Is there a changelog for MAUI net6.0 -> net7.0?


DbContext caches the same tracked query, but still fires SQL queries against database

When a tracked query is cached by EF Core, I would expect that no second SQL query is fired against SQL Server.
Steps to reproduce
var order = await db.Orders.SingleOrDefaultAsync(x => x.Id == 1);
// Now Change a value from order in Database
var order1 = await db.Orders.SingleOrDefaultAsync(x => x.Id == 1);

order1 still has the old value. order and order1 have the same object id. So far so good.
But why does EF Core still fires a SQL query, especially if it does not use the updated value?
Further technical details
EF Core version: 2.1.1

@Rookian Queries are always executed against the database, not against in-memory data. This is because in the general case it is impossible to return consistent results without having the server evaluate the query. We are tracking #2982 to potentially change this, but it is a complex change. For more specific cases, the Find method can be used to return a single entity that is being tracked without hitting the database, and we are tracking #1948 to do this automatically for certain LINQ queries.


app function is not sending the events to syslog server

the function is working fine, but i don't see the events in the syslog server. the VM with syslog is an ubuntu and it is located in Azure, so I have configured Vnet Integration. I've tested the connectivity with tcpping and it is allowed.
Any idea about what could be the issue?
What should be the value of SYSLOG_HOSTNAME? It is not clear for me.
Thanks in advance and best regards

I'm having the same issue, any traction on this? The function is ingesting the event hub logs fine, and it appears to be trying to send to the specified syslog remote server. But I never see the traffic on the syslog server. I can tcpping and specify the port I'm using for syslog and that works.

I'm having the same issue,monitor says function run success and see logs from hub, but don't see logs in Syslog server.(vm in azure) The solution has no syslog server option in output ,I am wondering how to send log to syslog server? Please help. Thanks in advance.

Hey. I just updated the function with some additional error catches. Do you see any error on the logs? Is the syslog server configured for remote messages?

Hi Miguel. I've pulled your new changes and i still can't see any logs come through to my syslog server. i'm getting successful invocations from eventhub and the function says it sends to syslog but nothing arrives. No errors on function or syslog server. Verified connection on port 514 to syslog is successful.

I got it to work, at first I added "datatype": "String" in the bindings for the function because I couldn't see the data it was passing in the logs/innvocations in the function console but your code looks at it as an object and couldn't parse the string value.
This is what I was seeing which I thought that great I'm getting the messages from my EventHub but never arrived at the syslog server.
Before Event Hubs trigger function processed message: {output string value of message in JSON}
This is what I'm seeing now in the messages in the console which then sends it off the contents of the message to my syslog server as a string value.
After Event Hubs trigger function processed message: [object Object]

Thanks for the feedback. Interestingly i'm not being able to reproduce this behavior. Can you share you function.json?
Mine looks like this:
{
"bindings": [
{
"type": "eventHubTrigger",
"name": "eventHubMessages",
"direction": "in",
"eventHubName": "samples-workitems",
"connection": "syslogevents_all_EVENTHUB",
"cardinality": "many",
"consumerGroup": "$Default"
}
]
}

It's the same as yours now. I added "datatype": "string" so I can see the messages in it's raw format in the innvocations. If you don't add datatype then the default datatype is "object" which works.
{
"bindings": [
{
"type": "eventHubTrigger",
"name": "myEventHubMessage",
"connection": "EventHubConnectionString",
"eventHubName": "alllogs",
"consumerGroup": "$Default",
"direction": "in",
"cardinality": "many",
"datatype": "string"
}
]
}
If it helps anyone else, I had to have this as a minimum in my host.json file to install the required extensions and works with v3 function.
{
"version": "2.0",
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[1.*, 2.0.0)"
}
}

I am having a similar issue with this.  The app seems pretty straightforward; however, I am not receiving any syslog messages.  I am perplexed because I am not even seeing the results of the "client.log" error function.  It is as if the client.log method isnt triggering at all.  Given that, I do not see any errors in the logs.  I have put a lot of my own debug logging into the function app and I see that.  Including a dump of all of the syslog client properties and assigned values which all look good to me.  I have tried a "try/catch" on the actual client.log and got nothing from the "catch" either.  Any guidance would be appreciated.
I am using the original azuremonitor2syslog without any of the "string" changes mentioned above.  Running this in a premium elastic linux instance with Azure FUnction v3 selected for the function app.
please let me know if you need further information to assist with this.
thanks.

I am having a similar issue but trace output suggests that client.log is being called fine but it's not returning a result.  No error, no completion.


Her JSON API support

Hi All. There's been great activity with issues and PRs lately. thank you.
One of the things, I'm keen to see with Her moving forward is first class support for JSON API. It's got great momentum behind it and addresses a lot of the issues we deal with building APIs.
I propose we introduce a module such that the way you specify your model consumes and produces JSON API is a one-liner.
class Contributor
  include Her::JsonApi::Model

  # defaults to demodulized, pluralized class name, e.g. contributors
  type :developers
end

JSON API response follows this general format:
{ data: {
  type: "developers",
  id: "6ab79c8c-ec5a-4426-ad38-8763bbede5a7",
  attributes: {
    language: "ruby",
    name: "avdi grimm",
  }
}

Underneath the hood, we introduce a parsing and serialization routine that translates to and from the JSON API format and the format Her expects.
Here are some benefits of this approach:

Developer interaction with Her::JsonApi::Model would remain consistent with Her::Model, which should be easy for Rails developers to grok, since it's based on ActiveModel.
This solution builds off of, rather than modifies, the existing codebase. This makes it a low risk addition which should have no impact on existing functionality.

The main downside is that we would need to combine the top-level data namespace with the attributes namespace. If an "id" or "type" were passed in attributes different than the top level id, we'd need to figure out a way to resolve the conflict. Perhaps top-level "id" and "type" get added as "data_id" and "data_type" or something...

What's the purpose of format: :json_api then? Deprecate it?
Maybe just create a PR so we can look at it?

The main downside is that we would need to combine the top-level data namespace with the attributes namespace. If an "id" or "type" were passed in attributes different than the top level id, we'd need to figure out a way to resolve the conflict.

This issue should definitely be resolved before merging.
First of all: what JSON API standard says about issues like this? Probably It says nothing because there is actually no such problem on JSON API side :smiley:

Perhaps top-level "id" and "type" get added as "data_id" and "data_type" or something...

wow, just don't do this! What if I have data_type or data_id in attributes? Just don't put in ActiveModel's attributes something that is actually not an attribute because it will produce bugs.
Surprisingly, the answer lies in my issue #338. Look at how ActiveModel is implemented: virtual module is injected in a model class that stores all the attribute methods. Okay what if I have a class attribute in the API response? Then :class attribute method will be created dynamically so It would not be possible to get an object class :smile: There's literally nothing to do with it. It's just an ActiveModel's caveat, that user should be warned about. Just don't struggle with it!
Soooo I propose this solution:

Don't put top-level type into attributes. If I get JSON API right the type is an API parameter — not an attribute. It can't be mutated. You could store it in instance variable @type and add a reader method for this but don't put it into attributes. If I call object.attributes[:type] = 'something' it's an assignment to type attribute but not to a type API parameter.
Define _type instance method for accessing @type instance variable. If someone has a type attribute he would have a possibility to access a not overriden type.
Put top-level id into attributes. Seriously, It's a different thing. Suppose a corner case when we mutate an id with PUT /somethings/old_id. Or just create an entity with custom id using POST /somethings. I don't know how the standard deals with this situation but this behavior seems not to break it.

It's also worth to have ability to somehow pass a type API parameter separately from passing attributes when calling Her methods. I don't realized yet how to achieve this. Need some more use cases of advanced usage of type parameter.
But for now we could simply infer type value from model's name.

@marshall-lee

What's the purpose of format: :json_api then? Deprecate it?

The idea would be to deprecate it. Her should remain flexible enough to consume any api. However, for standards we want to support, they should have a first class representation which doesn't require any custom configuration to consume.

Maybe just create a PR so we can look at it?

I have a working PR in another fork. I'll create a PR so that people can look at it.

I haven't described what to do when attributes: { id: '...' } is in the response. Well, I propose not doing anything with it for now. We should tell about this caveat in documentation but should not make any workarounds in code. Just warn a user that using reserved keywords (class, id, etc) is dangerous and that's all.

After all, API endpoint that sends id in attributes is strange and corner cased.

@marshall-lee i agree with most of what you say.
the top-level id and type attributes are both "api" rather than object attributes. namespacing the object attributes was done so that they could continue to add attrs as necessary and not conflict with whatever the user returns in attributes.
i think that adding _type and _id methods are reasonable ways to go, but those methods will still shadow _id and _type that are passed within attributes. the user could still dig in and access them directly via attributes which would not be the norm, but i think that's fair to put that burden on the api developer.
agree it is a corner case if id is passed within attributes.

i think that adding _type and _id methods are reasonable ways to go, but those methods will still shadow _id and _type that are passed within attributes. the user could still dig in and access them directly via attributes which would not be the norm, but i think that's fair to put that burden on the api developer.

Yeah but  be careful when adding _id. I propose not add it for now. We can store _type separately from attributes, but not the _id because in current Her architecture it assumes that id is a part of attributes. Ideally, Her::JsonApi should use that separately stored _id when constructing paths like /somethings/123 but not the value of id attribute. Does your implementation achieve this? If not, adding that _id will be useless and confusing. Achieving this may require changing the Her::Model code but maybe there is a simpler solution.
Also Her::Model adds a class method primary_key. Your Her::JsonApi should not add this method or just raise an exception because JSON API doesn't allow to setup different name for id.

But maybe... Add that _id now and solve the issue with path constructing later? It's better than nothing :smiley:
But please undefine all these primary_key, parse_root_in_json and include_root_in_json in Her::JsonApi because they're simple not related to JSON API standard. Getting NoMethodError exception will show the user, that read documentation poorly, that these settings are not valid in case of JSON API.


Large file warning uploading copy of cwa-website to GitHub

Describe the issue
GitHub gives a warning regarding a video file larger than the recommended 50MB when pushing a complete local copy of corona-warn-app/cwa-website from a local machine to GitHub.
remote: warning: See http://git.io/iEPt8g for more information.
remote: warning: File science/2021-06-15-science-blog-1/v4_Teaser_CWA_Testkampagne.mp4 is 95.35 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB
remote: warning: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.

Steps to reproduce
Uses:

git from https://git-scm.com/
gh CLI from https://cli.github.com/

In a terminal window on a local machine:
git clone https://github.com/corona-warn-app/cwa-website cwa-website-copy

results in a successful copy from GitHub to the local machine:
Cloning into 'cwa-website-copy'...
remote: Enumerating objects: 42167, done.
remote: Counting objects: 100% (502/502), done.
remote: Compressing objects: 100% (348/348), done.
remote: Total 42167 (delta 240), reused 287 (delta 154), pack-reused 41665
85 GiB | 6.10 MiB/s
Receiving objects: 100% (42167/42167), 1.85 GiB | 5.51 MiB/s, done.
Resolving deltas: 100% (20179/20179), done.
Updating files: 100% (12856/12856), done.

Create a new private repository on GitHub https://github.com/<your-GitHub-Username>/cwa-website-copy:
cd cwa-website-copy
gh repo create cwa-website-copy --private
git remote add copy https://github.com/<your-GitHub-Username>/cwa-website-copy

Push the master branch from the local machine to GitHub:
git push copy master

results in:
Enumerating objects: 41174, done.
Counting objects: 100% (41174/41174), done.
Delta compression using up to 12 threads
Compressing objects: 100% (21068/21068), done.
Writing objects: 100% (41174/41174), 1.74 GiB | 758.00 KiB/s, done.
Total 41174 (delta 19833), reused 41157 (delta 19823), pack-reused 0
remote: Resolving deltas: 100% (19833/19833), done.
remote: warning: See http://git.io/iEPt8g for more information.
remote: warning: File science/2021-06-15-science-blog-1/v4_Teaser_CWA_Testkampagne.mp4 is 95.35 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB
remote: warning: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
To https://github.com/<your-GitHub-Username>/cwa-website-copy
 * [new branch]        master -> master

Suggestion
Review warning and consider moving videos to Git Large File Storage - https://git-lfs.github.com.

Internal Tracking ID: EXPOSUREAPP-14567

Did you consider Git LFS or is it now too late in the project life-cycle?


PMID:31257143

ectopic activation of the mitotic cell cycle spindle assembly checkpoint
A cell cycle checkpoint phenotype in which the mitotic spindle assembly checkpoint is activated at an ectopic (non kinetochore) location.
abolished ectopic mitotic spindle assembly checkpoint
A cell cycle checkpoint phenotype in which the mitotic spindle assembly checkpoint is not activated at an ectopic (non kinetochore)
I'm not sure if this is allowed?

abolished ectopic mitotic spindle assembly checkpoint ...
I'm not sure if this is allowed?

Does it make any sense? More precisely, is it any different from normal activation of the checkpoint? (or just plain "abolished", if it doesn't happen at either normal or ectopic sites)

added this one
ectopic activation of mitotic cell cycle spindle assembly checkpoint FYPO:0007155
edit file: 91b2bb7789f39baa6501546993a86ff9a05f0dca
release: e96bf3a739a2ced95bb4b13538c820dcfd2276a0

closing; reopen if there is a definable difference between "abolished ectopic mitotic spindle assembly checkpoint" and "normal activation ..."

I don't think this is quite right.
I think we should obsolete
ectopic activation of mitotic cell cycle spindle assembly checkpoint FYPO:0007155
I edited the genotype descriptions to make it clear that the construct is ectopically localized.

OK, done (remember I'll be grumpy if you want it back later ;) )
edit file: 1a509f11fdd6222a01744ca6f1e083623d2f8aeb
release: 0fc81ac9fd6927113bee9fed420f74b25bdde377


⚠ Prueba_Error_500 has degraded performance

In ea0f5c6, Prueba_Error_500 ($URL_ERROR_500) experienced degraded performance:

HTTP code: 200
Response time: 21843 ms

Resolved: Prueba_Error_500 performance has improved in fcd42be after 566 days, 7 hours, 12 minutes.


Missing configuration information for 2 parameters in 04.q.questBot sample

Hi!
We are Unable to build teams AI sample No. 10 from the list, because below two parameters are required which is not mentioned in readme and also not added in .env file.
Sample Link : 04.q.questBot.
1.StorageConnectionString
2.StorageContainer
We were using this two parameters in bot.ts file.

Please provide information on this, what values we have to use in this 2 parameters.
Thanks!!

Hi,
I'm not a maintainer of this project but I think you need to provide a connection string and container name of a Azure Storage account resource that you need to create.


Expand New Sentry <-> OpsGenie integration to all our critical path products to reduce noise

Description/Context
The new Sentry OpsGenie integration allows us to create better and more useful rules for paging the oncall around things like "page if more than 25 users see this exception".
We should have such rules for all our critical path products at least including MIT XPro, MITx Online and MIT Learn.
 The integration is configured through the web UI.

New alert for MITx online: https://mit-office-of-digital-learning.sentry.io/alerts/rules/mitxonline/15389899/details/

XPro: https://mit-office-of-digital-learning.sentry.io/alerts/rules/details/271338/?environment=production

openedx-mitxonline: https://mit-office-of-digital-learning.sentry.io/alerts/rules/details/271648/?environment=mitxonline-production

openedx-mitxpro: https://mit-office-of-digital-learning.sentry.io/alerts/rules/details/271649/?environment=xpro-production

MIT Learn (The artist formerly known as open-next): https://mit-office-of-digital-learning.sentry.io/alerts/rules/details/271650/?environment=production

bootcamps

openedx residential.
Feel free to re-open and suggest more. I can knock these down in a couple minutes :)


Force TLS version to at least 1.1

By default .NET uses TLS 1.0 but since Summer 16, connections are only allowed with TLS 1.1 or above.
When testing the console sample app, connections using TLS 1.0 will be rejected with a really unclear error message: "retry your request".
Please add a test to prevent the connection being established with an insufficient TLS version or force a default version.

To be clear, .NET < 4.5 uses TLS 1.0, you should be set if you use >= 4.6. I do not, and needed a very quick (non-portable) solution to the problem, maybe it can help you out for the time being? If not no worries, this should really be fixed in the main repo though.

@jcalabro Why fork and not submit a pull request with fixes for others to use?

@pozil That's a good suggestion.

I ruined the portability of it, and I don't currently have the time to make a portable solution unfortunately :/

@jcalabro Understood. If you'll point out the significant updates I'd be happy to take them into consideration and update if possible (while keeping it portable).

Certainly. Qucik note, I renamed the projects and removed the ones I didn't need in the fork to avoid confusion about which .dll I'd be referencing in my projects in the future, sorry if that throws you off.
This was a very helpful SO post that got me pointed in the right direction (I spent a while trying to debug this issue before hand).
The only code I changed was a single line addition in CommonLibrariesForNETNonPortable/AuthenticationClient.cs on line 34, on which I simply inserted
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls;
I simply haven't done enough research to know whether or not there's a cross-platform implementation of TLS >1.0; I've never written for any .NET platform other than the .NET framework :). A quick google search doesn't bring much up unfortunately, but I bet you know better than I do.

Unfortunately, I ended up working on a legacy .NET version (2.0) so I had to give up using this integration project.
However before realizing that the .NET version would be an issue I came to the same conclusion

Found the same solution as @jcalabro, except I placed it in the Global.asax for the Web App. I wasn't able to insert it into the PCL since it was missing a reference and I wanted a solution that I could use with the Nuget libraries right away.

I have created a pull request (#231) which addresses this issue as well as a couple others I ran into getting this project running.


Remarks missing entry (not valid in 64-bit MASM)

Directive not valid in 64-bit MASM (ml64.exe).

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

ID: 8b744255-e2bc-dc2e-466c-d08b15ea1538
Version Independent ID: aaae5952-4c87-dda9-9094-a3ffcf48c1dc
Content: .SEQ
Content Source: docs/assembler/masm/dot-seq.md
Product: visual-cpp
Technology: cpp-masm
GitHub Login: @corob-msft
Microsoft Alias: corob

fix should appear in 1-2 days. Thanks @Player1UK !


(file-relation) Support simple list (string only)

Just a addendum, in my case results.data[fieldName] its returning a array of strings. So was necessary make changes in the options map here in my code.

Originally posted by @kauly in https://github.com/d4rekanguok/netlify-cms-widgets/issues/12#issuecomment-602033880

Thanks @kauly, it's now supported in<EMAIL_ADDRESS>


Examples won't always work when copy and pasted

After a talk with @twitchax about examples and feedback we've received regarding the ability to copy and paste examples and have them reliably work, I think we might be able to achieve this by making examples a little more dynamic. I think we have a few issues to overcome.

execution environment (bash, ps, cmd)
globally defined resources (dns entries -- storage accounts, web apps, etc -- others)
rules for parameter values (password strength, account name requirements, etc)

If the examples were dynamic enough to produce content for the above criteria, I think we could ensure that example commands would execute reliably (within reason) when copied and pasted.
Thoughts? @Azure/azure-cli

//cc @bradygaster

This is one reason I removed the \ everywhere.  It is not copypasteable in all shells.
As for the other two, the guidance from on high is still:

Globally-defined resources: add something in the name that makes it apparent that it is supposed to be unique (e.g., "MyUniqueApp").
Passwords: leave off examples that show passing a password as a parameter value.

Cleaning u old issues, reopen if this is still active.


feat: Add ChatMessageRetriever

Adds ChatMessageRetriever and its unit tests

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Details

67 of 71 (94.37%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 91.296%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

haystack_experimental/components/retrievers/chat_message_retriever.py
30
34
88.24%

Totals

Change from base Build<PHONE_NUMBER>0:
0.1%

Covered Lines:
1909

Relevant Lines:
2091

💛  - Coveralls


Unable to suppress DynMap permissions for Default group

Description
I have set False for the server for the following permissions in a specific group, but the group members still have access to those commands in-game. What am I doing wrong?

dmap
dmarker
dynmap

I want these suppressed from the default group, but they are still available.
Thank you.

Reproduction Steps

Create Default Group
Set the above permissions to false
Log in as Default group member
Attempt to sue commands

Expected Behaviour
The commands are not available
Server Details
git-Paper-187 (MC: 1.18.1)
LuckPerms Version
v5.3.86
Logs and Configs
No response
Extra Details
No response

You have applied a world context for the world world. So they will be able to use those permissions (if granted by default) if they are in other worlds. Also check the plugin documentation for those plugins and maybe check with verbose as well. So you can see what is going on permission wise.


FAQ section is not working properly !

Issue: if we open a FAQ question then it will cover all the other question so we cannot access the other questions.
issue screenshot

I want to contribute to this feature. I'm planning to add a better experience for the user. I make a responsive & Bug-free FAQ section.

@WH0SUMIT Check the website again. I guess the issue is resolved.

yes, the issue has been resolved but don't you think that the UI is not good, the underline between the questions is not fitted perfectly if you look when you open a question it's still showing there!

yes, the issue has been resolved but don't you think that the UI is not good, the underline between the questions is not fitted perfectly if you look when you open a question it's still showing there!

One time only one question should open and by clicking another, previous question will be closed..make this changes.

@WH0SUMIT please share the site link so that I could check the changes.


Added slug regex to Page slug route

Presently, you can't add forward slashes to Page slugs meaning URLs like http://mywebsite.com/foo/bar/test will not resolve to a Page bearing slug "foo/bar/test".
By adding a regex to the Page route, a la Symfony (https://symfony.com/doc/current/routing/slash_in_parameter.html), it is possible to route to such Pages.

Thanks @superhaggis, looks good 👍


Error on DeviantArt MD5 comparison for "download" hash

e621 post: https://e621.net/posts/1835094
DeviantArt source: https://www.deviantart.com/mr-shin/art/bin-792223876
Navigating to the DA source to compare MD5 hashes of the downloadable image results in following error message next to the "download" hash:
"Error. Unexpected e621 error"
This error occurs with both the classic DeviantArt theme and the new Eclipse theme. I was logged into DeviantArt when testing.
Other post examples with the same error:
https://www.deviantart.com/mr-shin/art/Fenneko-745446299
https://www.deviantart.com/mr-shin/art/Paltas-705047428

I am unable to reproduce these errors on chromium. If you open the developer console when the errors happen, there should be a more meaningful log there. It would also help to know what web browser you are using where these issues happen.


Firehose does not shut down properly

When you use the Firehose and try to shut it down later, the process doesn't work as expected. It blocks the flow and doesn't proceed to the next operation. You can stop it with client.stop(), but you can't shut it down.
You can observe this issue in the code below (stop_client_async.py):
import asyncio

from atproto import (
    AsyncFirehoseSubscribeReposClient,
    firehose_models,
    parse_subscribe_repos_message,
)

_STOP_AFTER_SECONDS = 3

async def main() -> None:
    client = AsyncFirehoseSubscribeReposClient()

    async def on_message_handler(message: firehose_models.MessageFrame) -> None:
        print(message.header, parse_subscribe_repos_message(message))

    async def _stop_after_n_sec() -> None:
        await asyncio.sleep(_STOP_AFTER_SECONDS)
        await client.stop()
        print('Stopped')

    # save ref to task to eliminate problems with GC
    _ = asyncio.create_task(_stop_after_n_sec())

    await client.start(on_message_handler)

    print(f'Successfully stopped after {_STOP_AFTER_SECONDS} seconds!')

if __name__ == '__main__':
    # use run() for a higher Python version
    asyncio.get_event_loop().run_until_complete(main())

As you can see, the print statement, after client.stop(), never gets executed.
I am using version 0.0.52

Could you try to downgrade to 0.0.51? Same?

I downgraded to 0.0.51, and it works fine. I'll stick with that version for now. Thanks for the help.

@lukinhas563 pls verify fix. fixed in 0.0.53


AD Ref makes it very limited

Assembly Definition Reference prevents the use of any other assemblies, which makes this amazing package very limited.

Thanks for your comment, I will handle this

Assembly Definition Reference prevents the use of any other assemblies, which makes this amazing package very limited.

Thanks for your comment, i will handle this


Temporal Raster Mean Plot

 Temporal Area Mean Plot

Pull Request Test Coverage Report for Build 596246919

173 of 219 (79.0%)  changed or added relevant lines in 4 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.04%) to 81.68%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

datatypes/src/primitives/time_interval.rs
15
17
88.24%

datatypes/src/plots/area_line_plot.rs
33
53
62.26%

operators/src/plot/temporal_raster_mean_plot.rs
119
143
83.22%

Files with Coverage Reduction
New Missed Lines
%

operators/src/plot/histogram.rs
1
87.97%

Totals

Change from base Build 595626041:
-0.04%

Covered Lines:
14312

Relevant Lines:
17522

💛  - Coveralls


chore: adds Apache license file link in README.md

fix #587
Closes #587
✅ Checklist

[x] I have followed every step in the contributing guide
[x] The PR title follows the convention.
[x] I ran and tested the code works

Testing
I tested it locally on a markdown previewer

Changelog
It shows the license section in the README.md now

Screenshots

Hi @ayushsgithub and thanks for your contribution! Sadly, we won't be accepting any unrequested changes to the README file for the time being.

Oh, okay no problem!


Methods for supporting advanced and deterministic screen capture

This PR simply adds a couple of methods to aid in doing in some things with screen capturing which wasn't previously possible which are fairly self-contained. The first is a renderer method for disabling buffer swapping. By turning this off, the game can retain what it last rendered while still rendering something else internally. With this, you could make it so the properties of the screenshot change without it being visible to the player. In my specific case, I use it for an ingame camera phone which has an overlay which gets removed during the screenshot phase. Once the screenshot has been successfully processed, you can then turn swap buffering back on.
The other method relates to the feeling that in the demo project, where the script simply waits two frames before getting the screen capture. Since capturing screenshots is multi-threaded, this method is not 'truly' deterministic, since although it's unlikely, it's theoretically possible that a screenshot could take longer to process. As such, I've added a simple method to check whether any screenshots are still pending, and the idea is you would continually loop and check if the screenshot has finished processing, at which point you can do something with it. You may also prefer to pause the tree, which would allow a more controlled way of handling screenshots while still being able to take advantage of multi-threading to avoid the problem of the application stalling.

The problem with this is that it won't work in mobile, where you get a callback to draw the frame and you don't have any way to control swapping.
I could merge it, but users might not have any idea about why it doesn't work there

I wasn't aware of that. I thought it was only a limitation in much older deprecated mobile devices. Do you have any idea how the same affect could be achieved otherwise (retaining the image of the last frame while actually capturing the screen with modifications)?

I'm not sure.. for the new GLES3 renderer, everything will be drawn into an FBO no matter what, so doing this should be relatively simpler

Maybe this could be merged with documentation stating that it doesn't work reliably on mobile?

3.0 already has this, you can get the screen as a texture and request the data in a single function


Code Commenting for GithubRepository class

Hello there,
I have commented the code for the GithubRepository class for a school assignment and hope that the created documentation is correct. Please let me know of any changes necessary to get this pull request accepted.
Nick

Hello @FutureProg, thanks for you effort, I already can merge it actually. Just may be some suggestions from me can be helpful. Maybe we can mention about classes functionality, since it loaded for example data from DB and another one fetch it from network and cache the results etc.
I tried to follow MVP-ContentProviders: https://github.com/googlesamples/android-architecture/tree/todo-mvp-contentproviders/


[Bug]: UC 29 Population of a Country not showing Country In Results

Is there an existing issue for this?

[X] I have searched the existing issues

Contact Name
Anton
Description of the bug?
The Client Requires the name of the country to be displayed in the Report output.
Version
Develop Branch
Steps to Reproduce the Error
Run Total Population of a country report

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Merged to develop


⚠ AGEG website (redirect) has degraded performance

In 435b012, AGEG website (redirect) (https://ageg.ca/) experienced degraded performance:

HTTP code: 200
Response time: 2679 ms

Resolved: AGEG website (redirect) performance has improved in 68730a6.


Error while updating through "Update all" in Manager

Update error: D:\WORK\conda_envs\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Allor
Nothing more comes up, just this message.

Hi. How long ago was the last time you updated Allor?
The thing is that we recently rebased the Git commit history. That could be it.

The day before, pretty sure, I run update all every day.
Meanwhile it seems have gotten fixed... I'll keep you posted. Bit wacky cause I don't know what happened to be honest.

Hi. How long ago was the last time you updated Allor?
The thing is that we recently rebased the Git commit history. That could be it.

Am now getting:
An error occurred during the update. It is recommended to use "hard" update mode. But be careful, it erases all personal changes from Allor repository.

Relief like a stone from the soul. To be honest, I already started to think that there is some curse on my plugin and it constantly stops working for people.
Last update was 6 days ago, now I'm not posting what I've done yet.
I'll try to figure out the font problem a little later.

What is "hard" update mode?

See last update_mode.
More information about it in troubleshooting.

Did the config.json change.

It's not a curse, it must be entropy.


Update show-hide-when.ts

Short description of what this resolves:
typo...
Changes proposed in this pull request:

Ionic Version: 1.x / 2.x
Fixes: #
typo fix

thanks!


⚠ Avatar API Endpoint has degraded performance

In e77eaa4, Avatar API Endpoint (https://avatar.roblox.com/v1/avatar-rules) experienced degraded performance:

HTTP code: 200
Response time: 1121 ms

Resolved: Avatar API Endpoint performance has improved in 02ebfea.


Won't scan

I've used this script in the past and it worked perfectly. I just recently started playing HE again and I've noticed the Scan button in hacked database isn't working. I have roughly 1500 slaves so I don't know if that's the cause or something with the script. Overall amazing script keep up the good work.

Let it sit for some time, it works for me with around 1k slaves


Add type stubs for sympy

In Pylance we've had numerous performance issues with Sympy. These stubs eliminate all of the overhead with analyzing sympy.
The stubs were generated from the 1.12 release of Sympy. If Sympy were to ship, there's another set of these stubs that are closer to the Sympy 1.13dev branch.

After this PR is submitted, I'll modify the Pylance build to pull them into our bundled stubs.

After this PR is submitted, I'll modify the Pylance build to pull them into our bundled stubs.

We should automatically pull these over via the "Copy python-type-stubs stubs to pylance" step in update_other_stubs.yml

Tested by installing into the 'typings' folder of a workspace and then tried using sympy.
Without these stubs I get this:
2024-03-19 14:20:36.867 [info] [Info  - 2:20:36 PM] (9044) [BG(1)] Long operation: analyzing: file:///c%3A/Users/rchiodo/source/testing/Testing_Pyright_2/test_sympy.py (15891ms)

I think you mentioned at one point that when Pyright generates stubs, the types are initially commented out? Did you write a script to uncomment them? Should we document how to generate/update these stubs?

I think you mentioned at one point that when Pright generates stubs, the types are initially commented out?
Yes that's true. It leaves them commented out.

Did you write a script to uncomment them?
I did. I also wrote a script to remove doc strings.

Should we document how to generate/update these stubs?
At this point they need to be updated by hand I think.

I'll add a readme.md to the sympy stubs directory.


Render in background

Description
When I click to enable heatmap, the GUI becomes unresponsive for a long time.
I need to click on heatmap to configure it and enable it. This means changing, say, 4 parameters(min, max, legend, enable). Now I have to wait 4 * 20 seconds.
Suggested Solution
Do heavy calculations in the background and leave GUI responsive.
Additional Context
No response

The database is not thread safe and collisions could happen (say you started the global router while the congestion map was being calculated).  It would require some special limited operation mode and it would be tricky to get right.  It has been discussed before but hasn't risen to the top because of the effort involved relative to the gain.

The database is not thread safe and collisions could happen (say you started the global router while the congestion map was being calculated). It would require some special limited operation mode and it would be tricky to get right. It has been discussed before but hasn't risen to the top because of the effort involved relative to the gain.

I see.
As a first step, it would be nice to push out rendering so that it isnt done 4x when changing heatmap settings.

@gadfort thoughts?

Once the heatmap is computed it's just drawing it thats the issue (which shoudn't take too long).
It's not until the heatmap is needed that it is populated to avoid slowing down actually useful work in OpenROAD. There might be other inefficiencies that could be addressed, but as long as the database doesn't allow for threaded the options are somewhat limited.
@oharboe where does this 4x come from?

@gadfort what makes the computation of the heatmap slow?

There are some r-tree lookups (which are not that slow) and some add and multiply, but thats really it.
When it comes to the congestion map, the real issue it probably when zoomed out on a big design there can be a lot of gcells to draw. If the bins for congestion maps were larger it would be faster.

Once the heatmap is computed it's just drawing it thats the issue (which shoudn't take too long). It's not until the heatmap is needed that it is populated to avoid slowing down actually useful work in OpenROAD. There might be other inefficiencies that could be addressed, but as long as the database doesn't allow for threaded the options are somewhat limited.
@oharboe where does this 4x come from?

Any time you click in the heatmap GUI, the screen is rerendered; I need 4 clicks. Every time I change the min max number by a single digit, e.g. from 0 to 80, the screen is rerendered.

I could see 2X

Click to turn off one heat map
Click to turn on another heat map

Where do the other two clicks go?

I could see 2X

Click to turn off one heat map
Click to turn on another heat map

Where do the other two clicks go?

Configure, double click, change min max, enable legend, enable heat map.

A generalized solution to #3278 would be a good first step to make working with bulky .odb files tolerable.


Release models and code of DSTC10 Track-2 Task-2.

The modifications include models and code of DSTC10 Track-2 Task-2.

 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.


docs(quickstarts): add flutter quickstart

Added to sidebar under a new category Frameworks

:tada: This PR is included in version 1.6.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Upgrade tradeshift-scripts to 3.0.1

This should resolve several of the open vulnerabilites.

Semantic release: (Commit conventions)
No new version will be released.
If a release is expected, please fix commit messages to align with appropriate format :arrow_right: Commit conventions

Semantic release: (Commit conventions)
No new version will be released.
If a release is expected, please fix commit messages to align with appropriate format :arrow_right: Commit conventions


Private Endpoint for ADLS Subresource

On this page the Azure Data Lake Storage Gen2 currently states that the subresource is "Blob (blob, blob_secondary)".  Looks like there are now "dfs" and "dfs_secondary" options for the subresource.  I have been able to connect successfully using the "dfs" subresource but not with the "blob" subresource to an ADLS Gen 2 resource.
Does the documentation need to be updated to reflect dfs as the subresouce for ADLS?

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

ID: b006a616-2f2f-8ecf-8b80-fd0a3cc62090
Version Independent ID: 92c54dc6-8ddf-b1f7-4a58-d61b8cd7fe25
Content: What is an Azure Private Endpoint?
Content Source: articles/private-link/private-endpoint-overview.md
Service: private-link
GitHub Login: @malopMSFT
Microsoft Alias: allensu

This page still does not clearly explain that "dfs" is the subresource for ADLS. I only was able to confirm this by looking at this GitHub issue! Can we fix please?!

13 months later...ran into the same question, and Google search led me right back here to this issue.

Until this is clearly spelled out in the docs, the answer is to create two private endpoints, one for blob and one for dfs.
#documentationviagithubissues


MenuItem w/Checkbox - Clipped Checkbox

We're using your Demo as starting point for the Urholonia Game Editor.   I am a noob to Avalonia, and could not figure out how to resolved this issue.
Your Menu Options => Checkboxes, are clipping at the right-side.
I tried modifying Margin, Padding, and BorderThickness to try and fix this.  The only thing I could do was set "Margin = -10" to eliminate the Clipping, however, the side-effect is a big gap between the Checkbox and text.

In the image below, I applied "Margin = -10" only to the top option, for sake of comparison.  Both have issues.

I was surprised at how very little that I tried had any impact on the presentation of that checkbox.   It just seems to have a mind of it's own, to me.   I was expecting it to respond to my edits/tweaks, instead of ignoring most (e.g. like setting Checkbox Border Thickness and Padding seemed to have no impact, and setting Horizontal Alignment Left/Right on the MenuItem itself, also had ZERO impact on where the font showed up.

https://github.com/wieslawsoltes/Core2D/blob/5737f825696d386db5b7ca6c38b4c379086a9e42/src/Core2D/Controls/Editor/MenuView.axaml#L14

Thank you for the link.
But this link shows "DefaultTheme" which doesn't have the issue.  Switch it to Fluent, and you'll see the clipping.

I was logging this bug here because the defect appears inside of the Dock Demo.  Perhaps, this is really an "Fluent" bug that should submitted against the main AvaloniaUI github repo?

OK - just confirmed -- this issue also exists in the main AvaloniaUI ControlCatalog.
This this bug is against Fluent, not Dock.   So closing this issue is appropriate.   I'll open a new one in the right repo.


When apply kebabCase wit a string separated by spaces it does not add the hyphen

Environment
Package 1.3.0
Node v21.7.3
Vue 3
Reproduction
import { kebabCase } from "scule"

console.log(kebabCase("A string with Spaces"))

Expect: a-string-with-spaces
Actual: a string with spaces
Describe the bug
Trying to convert a string into a slug for a URI and noticed this behaviour.
Additional context
I noticed the tests do not have test cases for string with spaces and wonder if this is intended behaviour.
Logs
No response

@potsed
By default it looks like the kebabCase function passes a string through the splitByCase function for it's underlying implementation. The functions type itself only takes  .You can get around it if you need with a kebabCase(splitByCase('text to convert, [' '])) which adds the space as a joiner to the splitByCase function as it is not part of the default Splitter types.

Hi @ontoneio
Thanks for the response. While I get your points about edge cases and side-effects and do appreciate the workaround, it still is a workaround.
I do think it is more likely that people will want to do kebab-case specifically with spaces as a default. This is the first example I've experienced where it is not a default so it seems an odd choice not to default convert spaces. Wouldn't most devs who specifically request a a string conversion to kebab, snake, camel, pascal or indeed any other expect the spaces to be removed as part of that conversion?
It's cool if not, but if not it probably should be documented behavior.
Anyway - thanks :)

@potsed
By default it looks like the kebabCase function passes a string through the splitByCase function for it's underlying implementation. The functions type itself only takes .You can get around it if you need with a kebabCase(splitByCase('text to convert, [' '])) which adds the space as a joiner to the splitByCase function as it is not part of the default Splitter types. It could be added as default, but I suspect there are edge cases and side effects with whitespace that you might avoid by implementing this way instead of including spaces by default.


jpeg xl encoding messed up

jxl encoding seems to be broken
here is a webp reencoding of a jxl made with cjxl:

with this lib encoded as jxl then reencoded as webp for viewing here:

here is the original jxl encoding with this lib:

So, how can I reproduce this, you just sent the resulting image.

@gen2brain i think this happen when encoding any jpeg xl image, does it work for you?

Sure it does.

@BPplays it was in https://github.com/BPplays/balanced_crop. use -i for input -o for output. the same program works fine outputting a webp.
the code for encoding is:
		err = jpegxl.Dynamic()
		if err != nil {
			fmt.Println("NON-fatal error Dynamic lib file. encoding time will be slower:\n	", err)
			// return
		}

		err = jpegxl.Encode(outfile, *croppedImg, jpegxl.Options{Quality: quality0_100, Effort: jpegxl_effort})
		if err != nil {
			fmt.Println("Error encoding WebP file:", err)
			return
		}

Sorry, I need a piece of code that is reproducible, i.e., decode some image, encode an image, that is just a few lines of code, send results and source. It does work for me and it is used. I am willing to fix issues because I need it, but I need something more than, "I tried sometimes and it didn't work", just write those couple of lines, test, and send results.

@gen2brain if you meant you wanted the program this code is from i put a link to it in my original comment, but here it is again: https://github.com/BPplays/balanced_crop.
if you meant you wanted a piece of code that just decodes and reencodes an image than idk maybe i can make that.


Buffer overrun while receiving 14 bytes payload (string value) using BAOSProtocol 1.2

The kdrive framework runs into an buffer overrun, while receiving events with 14 bytes payload (string values) using BAOSProtocol 1.2 (KNX IP BAOS 770).
Log output:
19:15:51:911 [kdrive.baos.ProtocolDecoder] Rx : IndicationFunctions::DatapointValueIndication
F0 C1 A4 01 A4 0E 5A 77 61 6E 67 73
19:15:51:911 [kdrive.baos.StreamConnector12] Error in rxImpl, BAOS Client exception: Invalid Service
19:15:51:911 [kdrive.baos.BaosEvent] BAOS Client exception: Buffer overrun while decoding Datapoint Value (buffer)
19:15:51:911 [kdrive.connector.CallbackThread] Callback thread terminated by unhandled Poco exception [id 2]: BAOS Client exception: Invalid Service
19:15:51:911 [BaosEventListener] BAOS Connector disconnected
The exception occurs in kdrive/src/baos/protocols/Protocol12.cpp line 301:
ServerItem value;
value.id = *ptr++;
const unsigned char stateLength = *ptr++;
value.serviceData = (stateLength << 4) & 0xF0;
value.length = stateLength & 0x0F;

if (static_cast<std::size_t>((ptr + value.length) - begin) > bufferSize)
{
	throw ClientException("Buffer overrun while decoding Datapoint Value (buffer)");
}

Analysis 1:
static_caststd::size_t((ptr + value.length) - begin) returns  16
bufferSize returns 8
Analysis 2:
Received packet (from log output above):
F0 C1 A4 01 A4 0E 5A 77 61 6E 67 73
-> F0 C1 A4 01 A4 0E (received 1 DatapointValue.Ind with ID 164 and 14 bytes payload length)
-> 5A 77 61 6E 67 73 (followed by 6 bytes payload instead of 14 bytes)
Countercheck:
Received packet with KnxBAOS DemoClient for protocol 1.x:
F0 C1 A4 01 A4 0E 5A 77 61 6E 67 73 62 65 74 72 69 65 62 20
-> F0 C1 A4 01 A4 0E (received 1 DatapointValue.Ind with ID 164 and 14 bytes payload length)
-> 5A 77 61 6E 67 73 62 65 74 72 69 65 62 20 (followed by 14 bytes payload)
Conclusion:
The buffer size per received datapoint is set to 8 bytes, which is too small to receive a datapoint packet with 16 bytes (1 bytes for DP ID + 1 byte for DP state/length + 14 bytes payload). Therefore the datapoint packet is not fully received, as it does not fit in the buffer.
Question:
How can the buffer size be increased?

After looking into it, I probably pinpointed the problem.
In the line bufferIterator = rx(buffer, bufferSize, bufferIterator, buffer[bufferIterator - 1] & 0x07); in file kdrive/src/baos/stream/StreamConnector12.cpp the partbuffer[bufferIterator - 1] & 0x07` read the length from the buffer. Since 4 bits are the length and the mask is wrongly set to 0x07 the highest bit is lost here. Changing it to 0x0F should fix the problem. Please report back if this change is working for you.

The proposed solution works.
Log output:
18:41:25:209 [kdrive.baos.ProtocolDecoder] Rx : IndicationFunctions::DatapointValueIndication
F0 C1 A8 01 A8 0E 5A 77 61 6E 67 73 62 65 74 72 69 65 62 20


Add ability to set stack size for spawned threads

This does a couple of things:

Changes the signature of default() and initSync() to take an object and moving all parameters into that object. The old signature still works, but is deprecated. This lets us add additional parameters without breaking changes.
Increase the default stack size of spawned threads from 1 to 2 MB. This follows Std's default for tier 1 targets, but I'm unsure what to go by here.
Add the property thread_stack_size to default() and initSync(), to let the user set the thread stack size.
Modify __wbindgen_thread_destroy() to take an additional parameter specifying the thread stack size. This only comes into play when destroying other threads, when destroying the current thread, by passing no parameters, the correct thread stack size is determined internally.
Fix __wbindgen_thread_destroy() ignoring parameters. Though I'm not exactly sure how not setting the correct locals to be parameters when building the function actually played out in reality.

Changing the parameters on default() and initSync() is something I would appreciate your approval on @Liamolucko.

Hi, I stumbled across this commit as consequence of await init() giving me a warning.
I understand the idea is to change the signature to allow passing multiple parameters as part of an object, with the example code using await init({module_or_path: "...."}). In my current setup, I get the path auto-generated by wasm_bindgen, which I find quite convenient. Will await init({}) be supported in the long term, or should I migrate to passing specifically the path?

You mean it is emitting a warning when you pass nothing?
That is unintentional, passing no argument is supported in the long term.
I will check whats going on exactly and make a PR to fix this.

Yeah, I believe it's due to this check here: https://github.com/rustwasm/wasm-bindgen/blob/d813df7bc1f01af51d5c678bcc4d8d4db9edf81b/crates/cli/tests/wasm-bindgen/main.rs#L403

Yeah, I believe is due to this check here: https://github.com/rustwasm/wasm-bindgen/blob/d813df7bc1f01af51d5c678bcc4d8d4db9edf81b/crates/cli-support/src/js/mod.rs#L895

I am currently using wasm-pack --target no-modules with wasm_bindgen(ArrayBuffer_of_wasm_bg_binary);.
The reason I use --target no-modules is that I want to deploy just a single .js file, so I keep ArrayBuffer_of_wasm_bg_binary in a code variable. I'm not using the ESM version for this same reason—because I need a single .js file. Therefore, in my use case, there's no extra .wasm file either.
I received the deprecated warning, which led me to this page. Could we keep the legacy API (i.e., not deprecate it) and instead add new options in the second parameter? Since the new Initialize function favors a parameter-less approach, the parameter-less way might not be affected by this change.
can we overload default() parameter like this ( at lease for --target no-modules option )
wasm_bindgen(); //new initialize way
wasm_bindgne( {} ); //current way
//For legacy support, can we avoid deprecating this
wasm_bindgen( ArrayBuffer | Unit8Array );
//extend legacy support
wasm_bindgen( ArrayBuffer | Unit8Array, {} );

From your post I was unable to tell why the new API doesn't work for you.
There shouldn't be anything the new API is unable to do that the old API was able to do.
E.g. in your case:
// old API:
wasm_bindgen(your_array_buffer);
// new API:
wasm_bindgen({ module_or_path: your_array_buffer });

Thank you for your reply.
I am currently use this method
wasm_bindgen({ module_or_path: your_array_buffer });
Will module_or_path be the official name for this parameter object in wasm_bindgen?
I found the following documentation on this topic: Without a Bundler.
https://rustwasm.github.io/docs/wasm-bindgen/examples/without-a-bundler.html
However, I can’t find specific documentation on the correct way to initialize with wasm_bindgen( { parameter } ).
Almost every new example uses initialization without parameters.
I’m just worried about deprecated warnings and whether this style of initialization might become unsupported in the future.

I am currently use this method wasm_bindgen({ module_or_path: your_array_buffer });
Will module_or_path be the official name for this parameter object in wasm_bindgen?

It already is!

However, I can’t find specific documentation on the correct way to initialize with wasm_bindgen( { parameter } ).

Unfortunately documentation is pretty lacking on this right now, it should definitely be improved!

Almost every new example uses initialization without parameters.
I’m just worried about deprecated warnings and whether this style of initialization might become unsupported in the future.

This is a bug!
Initialization without parameters will definitely not be deprecated in the future.
This has been addressed in #4074 and a new version with this fix will be released soon.


Make batch size and sequence length dynamic for causal lm

In this PR we make the batch size and sequence length dimension dynamic for causal language model

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

so is Causal modeling (as in text generation) impossible on GPU? since GPU doesn't support dynamic shapes.

@Vipitis dynamic shapes on GPU will be supported in the next OpenVINO release.

that is great to hear. Do you have any eta for how soon that will be available, or is there already a working branch I could try? I am working on an evaluation task and need to run some models. Would love to do that locally on my arc card.

Hi @Vipitis sorry for the delay. The next OpenVINO release is planned for end of May. We also expect to have a prerelease next week (but please note that both dates are not set in stone). If you want to try this earlier, I recommend building OpenVINO from source. See https://github.com/openvinotoolkit/openvino/blob/master/docs/dev/build_linux.md for Linux.
In short: install system dependencies with the install_dependencies_sh script. Install Python dependencies. For Python, this should work on x86 Linux:
pip install --upgrade pip
pip install --upgrade numpy cython patchelf wheel setuptools

If the default Python on your system is >= 3.7, <= 3.10 you can then do, from the directory where you cloned OpenVINO:
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_PYTHON=ON -DENABLE_WHEEL=ON  ..
make --jobs=$(nproc --all)

Your build folder will then contain a wheels folder with openvino and openvino-dev wheels which you can install with pip install *whl from that folder.
If you have a different default Python or are on another platform, see the documentation: https://github.com/openvinotoolkit/openvino/blob/master/docs/dev/build.md
Please let me know if you run into issues, or open an issue in the OpenVINO repo.

Thanks for the help @helena-intel - I was able to get the newest version easily via steps here: https://huggingface.co/docs/optimum/installation
However, it doesn't seem useable to me at the moment. My hope was to it with evaluate, but found I that is is incredibly slow with a transformers.pipeline. Even after calling compile(), first inference is really slow - then subsequent inference is faster(still seems slower than CPU, but I haven't tested that thoroughly, But if you generate more tokens for example - first inference is slow again. There is also a reproducibility issue once you move the model to GPU.

Hi @Vipitis , that means you'll have the latest version of Optimum, but to get the most recent build of OpenVINO you will need to compile from source with the steps I mentioned. Or you can wait for the next pre-release. Even though dynamic shapes on GPU do not raise errors anymore in the current OpenVINO version, this is preview-support and there are known issues. I have not yet tested CausalLM models with dynamic shapes on GPU yet, but in general, support for dynamic shapes with NLP models on GPU has much improved over the past months.
Dynamic shapes on GPU leverages OpenVINO's caching feature. This is automatically enabled in optimum-intel. Caching is done for each input shape. Depending on the model and data, you may see improved inference after the cache has been filled (so for example after you have run inference over the dataset already).
To leverage this caching, you should save the model to disk and not use the export=True method to convert the model on-the-fly (Do model.save_pretrained("local_model_path") and then load the model with OVModelForCausalLM.from_pretrained("local_model_path")
There's also caching of past_key_values for CausalLM models. Currently OVModelForCausalLM does not support that yet, but that will be supported very soon. See this PR: https://github.com/huggingface/optimum-intel/pull/272 That should also speed up inference.
Could you share what model you use for testing, so we can also test it from our side?

today I had openvino==2023.0.0.dev20230217, optimum==1.7.4.dev0, optimum-intel==1.7.3.
My experimental setup as shown in the screenshot, includes execute times, running all the cells in order exactly once.

Also shows the difference in output when the model is moved to GPU.
If I let the model autoregressively generate all the way to it's context size limit, it should have cached all the possible input shapes in between, right? Really unsure about saving models as my goal is to implement intel-gpu inference for an EvaluationSuite I am working on. Also evaluate has a bunch of development going on as well

Hi @Vipitis ! We have a new OpenVINO prerelease. This fixes the accuracy issue with dynamic shapes on GPU. Unfortunately there is an issue with GPT-2 on GPU and it results in an error on inference with default settings.  On GPU, inference is in FP16 by default, which causes the issue for this model. This will be fixed, and for now you can work around the error by forcing inference in FP32 by adding an ov_config={"INFERENCE_PRECISION_HINT": "f32"} argument to OVModelForCausalLM.from_pretrained(). This will be slower than FP16 inference.
Your use case is definitely expected to work! But at the moment, dynamic shapes are not officially supported yet on GPU, and there are still known issues, as you noticed.
As for caching, when setting export=True a temporary directory is used, which is removed after the script finishes. So for GPU dynamic shapes, it is recommended to either save the model to disk, or load an OpenVINO model from the Hugging Face hub. Both methods will create a cache on disk that will be re-used every time you run the script. I uploaded gpt2 and bloom-560m to the hub. You can use these, or upload your own models. I'm also happy to upload other models. Loading an OpenVINO model from directly (from the hub or a local directory) is quite a bit faster too.
The PR to add caching for CausalLM models was merged. It speeds up inference quite a bit. If you haven't tried it yet: python -m pip install git+https://github.com/huggingface/optimum-intel.git. It is still not fast on GPU though (iGPU is much slower than CPU for me). We will look into this.
Are you primarily interested in CausalLM models? For most models I do see faster inference on iGPU than CPU (on my 11th gen Core laptop).

he @helena-intel I have already had my time to play around with the prerelease. I didn't expect there be a specific issue to GPT2, I will try some other models to see if they work - perhaps especially some that aren't completely based on GPT2. It's a project around code intelligence, so languge models that are trained on code and can generate. Right now I am looking at just CausalLM, but there is also the Fill-in-the-middle approach which could be really interesting. One of the models I would like to try is Santacoder as well as various fine tuned versions of it.
I do now believe that my CPU is causing the massive slowdown I am experiencing. It seems to be stuck at 100% usage while running inference on GPU (and all the associated caching), it's a Skylake i5 and is well overdue for an upgrade. I do have a TGL laptop as well and could compare CPU, iGPU (and the nvidia dGPU in it) to see if there is a major issue on my home system. But I would really love to use the A750 with all it's vram and 250W to chew through my 10k examples in the eval set.


Google OAuth login completed with an error.

`version: "3.9"
services:
open-webui:
image: ghcr.io/open-webui/open-webui:main
container_name: open-webui
restart: always
ports:
- "13000:8080"
environment:
- WEBUI_URL=https://chat..com
- OPENAI_API_KEY=sk-
- ENABLE_OAUTH_SIGNUP=true
- GOOGLE_CLIENT_ID=.apps.googleusercontent.com
- GOOGLE_CLIENT_SECRET=
- GOOGLE_REDIRECT_URI=https://chat..com/auth/google/callback
- OAUTH_MERGE_ACCOUNTS_BY_EMAIL= true
- WEBUI_SESSION_COOKIE_SECURE= true
volumes:
  - ./open-webui:/app/backend/data

volumes:
open-webui:
`
Google OAuth 重定向 URI：https://chat.****.com/auth/google/callback
Problem reproduction: After clicking the Google account login, it redirects to the open-webui homepage, but the login was not successful. The console error is:

I also had the same issue where after I accept the permissions for logging in it still redirect to the homepage and doesn't login. I created a new OAuth 2.0 client ID and it worked fine with me.


app crash when use shouldjs in testing async func

Sorry for my english, but I'll try to describe the problem a failure code below:
describe('download root page', function() {

  it('must return success status', function(done) {
    var url = 'htstp://bbc.com/news';
    u.downloadPage(url, function(status) {
      // if (status != 'success') {
      //   err = new Error('error');
      //   return done(err);
      // }
      status.should.equal('success');
      done();
    });
  });
});

When url valid, test passed. But when url not valid my app crash:
 utils.js
    download root page
      o must return success status:
[DEBUG] [ioslib] [ios-sim] [DEBUG] Session did end with error (null)
[DEBUG] [ioslib] [ios-sim] [DEBUG] Removing named pipe at `/var/folders/fn/49fp5hx941541w0ncv5n28_h0000gn/T//ios-sim-stderr-pipe-1429636427'
[DEBUG] [ioslib] [ios-sim] [DEBUG] Removing named pipe at `/var/folders/fn/49fp5hx941541w0ncv5n28_h0000gn/T//ios-sim-stdout-pipe-1429636427'
[DEBUG] [ioslib] [ios-sim] Exited with code: 0

When I use commented code and delete status.should.equal('success');  all work good, but I want use BDD style assertions. Thx

This is an issue caused by the absence of an event for uncaught exceptions on Titanium.
You can wrap your code in a function(){ ... }.should.not.throw().

Thank you very much for help) But I do not quite understand what I need wrap.
Could you try this one please:
it('……', function () {
  var url = 'htstp://bbc.com/news';
  u.downloadPage(url, function(status) {
    try {
      status.should.equal('success');
    }
    catch (e) {
      return done(e);
    }
    done();
  });
});

oh thank you) that work) But I understand my bad, I did not read http://tonylukasavage.com/ti-mocha/ .
More efficient answer for my question:
it('……', function () {
  var url = 'htstp://bbc.com/news';
  u.downloadPage(url, function(status) {
    should(status).equal('success');
    done();
  });
});


agent.handle_message() returns empty text after a few conversations

Rasa Core version: 0.9.0a2
Rasa NLU version: 0.12.2
Python version: 3.6
Tensorflow version: tensorflow-gpu 1.7.0
Operating system (windows, osx, ...): Ubuntu 17.10
Issue: agent.handle_message() returns only empty dict/text after a few conversations. See example below:
George: hi
Bot: hey there None!
George: my name is eric
Bot: Good to know you, None
George: i am called eric
Bot: Good to know you, None
George: my parents call me eric
Bot: Good to know you, eric
George: bye
Bot: KEINE ANTWORT ## means dict/text is empty, i.e. None
George: that's correct
Bot: KEINE ANTWORT  ## means dict/text is empty, i.e. None
George: hi
Bot: KEINE ANTWORT ## means dict/text is empty, i.e. None
George: my parents call me eric
Bot: KEINE ANTWORT ## means dict/text is empty, i.e. None
George:
Content of domain file (if used & relevant):
see attached zip files
Thx in advance for your help!
KR Eric
[test_rasa.zip](https://github.com/RasaHQ/rasa_core/files/1939666/test_rasa.zip)

Hi,
I have trained rasa NLU and core separately and passed an NLU interpreter to Agent.load function and used it into handle_message function. But it always gives an empty response. Here is my code.
nlu_interpreter = RasaNLUInterpreter(nlu_model_path)
agent = Agent.load(core_model_path, interpreter = nlu_interpreter)
while True:
user_input = input()
if user_input == 'stop':
break
responses = agent.handle_text(user_input)
print(response)
I need a help to fix the issue.


Added iiqrah to Contributor list

Thank you so much for this tutorial! Makes me feel like I am one step closer to contributing to open source 😅

I’d urge you to continue contributing to other open source projects.
We also have a slack team to help/mentor people trying to contribute to open source projects.
You can join the team by going to https://goo.gl/PM1Jdh

Yes! I really am eager to contribute to open source but it's a bit daunting because I don't know where to contribute next as I have limited experience.
This first contribution seemed like an easy enough tutorial to follow, thanks to you!
But hopefully, my contributions just don't end here. 😅
I joined the slack team, I'll keep an eye out for the messages.
Thanks once again 😄


Process line by line

Thanks for this wonderful library!
I want to pipe a whole text file line-by-line through pencode and then to ffuf.
It seems that pencode is encoding/decoding the whole file and not line-by-line.
cat special.txt
&
=

When I pipe this to pencode the newline vanishes.
cat special.txt | pencode urlencode
%26%3D

Am I missing something?
If this is the intended way would it be possible to add a switch that makes pencode  process stdin line-by-line?
@joohoi

This was fixed in #33

Thanks :+1:
Will there be a new release in the near future?

Yeah, there will. If not during this weekend, it will be done next week.
On Sat 22. Apr 2023 at 3.05, a1300 @.***> wrote:

Thanks 👍
Will there be a new release in the near future?
—
Reply to this email directly, view it on GitHub
https://github.com/ffuf/pencode/issues/34#issuecomment-1518434559, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABH6DJL4CZ243BJSCDMPXDDXCMOFXANCNFSM6AAAAAAS3HUXKM
.
You are receiving this because you modified the open/close state.Message
ID: @.***>