Add blog dependencies

Here's the list of dependencies added and the purpose they serve:
Dependencies:

mdx-bundler - This is the package that does the bulk of the work. It takes .mdx files, their dependencies, and creates front matter and a React component source string that can go in the DOM. This package is used on demand when users request a specific blog post.
remark-mdx-images - This plugin works in tandem with mdx-bundler to take image dependencies and put them into the resulting React component source string as base64 encoded URLs. This allows images to be used in blog posts and show up instantly.
front-matter - This package can take any markdown-like file and parse out its front matter. While mdx-bundler can do this functionality as well, mdx-bundler has to compile everything in order to get it. There's no way for it to just parse out the front matter. For making the top blog level page, where we list out only the top level details of every blog, we don't want to have to compile every single post to get this info. So we use front-matter instead.
fix-esm - This one I'm not super proud of. remark-mdx-images is an ES Module instead of a CommonJS module. I could not for the live of me get it to play nice with our app. Our tsconfig.json is set up for CommonJS and I just couldn't get it to compile the import of remark-mdx-images without compile errors. So I used this npm package. It can make ES Modules compatible in our app. Because remark-mdx-images is used at runtime, this package is also a regular dependency. If someone can help with this, I'd appreciate it. Here's a code snippet of how it's used:

const remarkMdxImages = require("fix-esm").require("remark-mdx-images");

Dev Dependencies:

ws - This package makes it easy to run a web socket. It's what allows us to have auto-refresh functionality when modifying blog contents in dev mode.
@types/ws - Types for the above package.
chokidar - This is used to watch the blog files for changes and trigger the websocket to fire the message that causes the app to refresh in dev mode. chokidar has a few advantages over using fs.watch, mainly being that fs.watch can be super chatty when files change and send multiple events for the same change. This package helps us keep behavior predictable.
rimraf - This package allows anyone using NodeJS to delete a folder and all of its files and subdirectories. It's the NodeJS version of the rmdir -rf command. This package is used in the build step of our project. It cleans out the directory for /build/posts so that the build can recreate that directory with updated content

fix-esm - This one I'm not super proud of

I was trying to see if serverDependenciesToBundle would solve things, but I think since dev:posts runs outside of Remix that's not going to work
I'm fine with going forward with this, but maybe let's make a ticket to follow up on it/see if anyone else can help. Wouldn't want this to stop us.
I'm also happy to write up that ticket, since you've already done so much 😄

Yeah, let's definitely get it written up somewhere so we can come back to it. Thanks

See #94


Fails on build

Hey there,
I followed the usage instructions, but get tis on build:
Liquid Exception: Included file '/Users/casey/Dropbox/-- Dear Cast and Crew/Website/2014 Redesign/dcac.github.io/_includes/archive_post.html' not found in authors/jared-young/index.html
I'm pretty new to Jekyll, and not sure what the correct fix would be - any help is appreciated.
Thanks!

Same to me

@chimeno as asked above, does the build work fine when you don't have author plugin?

the issue is that jekyll is looking for 'archive_post.html'... which is included in 'author_index.html'
thus should be mentioned in the documentation.

Oh ok. @jolesbi Would you mind submitting a pull request for the same?
Thanks.


Causes 'Uncaught SyntaxError: Unexpected token ILLEGAL'

This is the only js in my <head> that is inside a script tag.
// Add .js class if not using Modernizr
document.documentElement.className = 'js';

// Show :active styles on touch devices
document.addEventListener('touchstart', function(){}, true);

@craigmdennis Can you please post any further details? I don't know if that's even clean-css related.

Huh, actually... I have no idea how I ended up here. I followed a link from an NPM page. This is not the correct repo. Apologies.

;-) No problem!


Reload JS and extra options not showing for Xiaomi Redmi Prime 2

Even though I running adb shell input keyevent 82 it is not showing the options.
Here are the Screen shots before and after running the command.

https://github.com/facebook/react-native/issues/2754
🎉

打开悬浮窗选项。

Open up the floating dialog permission in your app settings.  Xiaomi don't allow floating dialog by default.

Closing this issue as it has been inactive for several months and looks to have been resolved.


nested :has() selector not working [v1.17.2]

Hi.
It seems nested :has() selectors not working.
String html =
    "" +
        "" +
        "" +
            "
" +
                "
hello
" +
                "
world
" +
            "
" +
        "";
Document document = Jsoup.parse(html);

System.out.println(document.select("div:has(> div:has(> span) + div:has(> span))").size());
System.out.println(document.select("div:has(> span) + div:has(> span)").stream().filter(v -> v.parent().is("div")).count());

Result:

0 // = unexpected
1 // = as expected

General nested :has() selectors do work - we have tests here: https://github.com/jhy/jsoup/blob/c3963d4bb19414d56f42986db96d62208309e748/src/test/java/org/jsoup/select/SelectorTest.java#L577-L594
I thought this might be related to #2137, but it doesn't seem to be.
But, your selector doesn't work in Chrome either.
So I'm not 100% sure here...

Yes, on one hand - nested :has() is not supported by browsers

The :has() pseudo-class cannot be nested within another :has(). This is because many pseudo-elements exist conditionally based on the styling of their ancestors and allowing these to be queried by :has() can introduce cyclic querying

On the other hand - "pseudo-elements problem" is a problem for browsers, but not for jsoup
https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-elements
Anyway, it would be nice if you could fix it.

Looking at it some more. I don't think it's specifically the nested has.
The query can be simplified to:
div:has(>div + div)
which fails (yet works in browsers). Both div:has(div + div) and div:has(>div) work.
https://try.jsoup.org/~0Imle8wRufxJsGLk0Lt2ReHywC8
So there is an incorrect interaction between the ImmediateParentRun and the ImmediatePreviousSibling, somehow.

Actually, my reduction of the issue found the same as #2187, but the initial report is something different.

div:has(div:has(span) + div:has(span)) works OK (now) -- without the > direct child of. The direct child of is not taking the appropriate (?) root.

OK, fixed! Thanks for the report. It wasn't the root being incorrect, it was re-use of the inflight Element Iterator that was trashing the match.


JavaScript Linter Github Action

As part of the story https://github.com/JDGiardino/BGG-Companion/issues/43

https://eslint.org/docs/latest/user-guide/getting-started#installation-and-usage

Officially have the JS linter running as a GH action and applied all the changes.  The only thing left with the PR is determining if eslintrc.json is complete with all desired lint rules.  Want to assure ESLint catches everything that it should be.
I believe "eslint:recommended" set catches a bulk of things, but I'm not sure if there are other styling rules that should be set.
Additionally I wonder if along with ESLint if Prettier should be configured to run to then also catch formatting errors.


Fix flicd on Raspberry Pi.

flicd was taking a while to start up, so initiating the client
was actually crashing the adapter.
Also, add a config item for the Bluetooth device.

Thank you for actually getting it to run. I'll see if I can figure out why kill isn't working tomorrow then.


為什麼會這樣?

C:\Users\user\Downloads\platform-tools-latest-windows(1)\platform-tools>adb -d s
hell sh /data/data/me.piebridge.brevent/brevent.sh
checking for server..fail
[command] pm path me.piebridge.brevent
please report bug to https://github.com/brevent/Brevent/issues with log below
--- crash start ---
[command] logcat -b crash -t '04-01 14:36:31.000' -d
--- crash end ---
--- brevent start ---
[command] logcat -b main -t '04-01 14:36:31.000' -d -s BreventLoader BreventServ
er
--- brevent end ---

please report bug to https://github.com/brevent/Brevent/issues with log above
C:\Users\user\Downloads\platform-tools-latest-windows(1)\platform-tools>

您的设备无法执行系统命令，请联系厂商。


Responsive not working after breakpoint

The plugin is awesome :smile: thanks!
I'm trying to set up an slider, but I'm having trouble with the responsive option.
When I load with a wider with than the breakpoint it works well until I resize below the breakpoint and the slider disappears.
If I load the screen with a smaller width than the breakpoint the slider never shows up, even when I resize pass the breakpoint.
Codepen here!
I've tryed adding  mobileFirst: true and switching the settings, and things get even worse.
Starting from mobile looks ok, but after the breakpoint the slides overlay.
Codepen here too!

Could be related to #1300 ?

Yes! I think so. Could not your codepen because I'm on the phone, but looks to be the same problem.
Kenwheeler mentioned today in Scotch.io slack it is not working properly atm.

I have added Pull request for this error: https://github.com/kenwheeler/slick/pull/1660
Works just great in my case :)

Sorry for the problems with grids/rows.
We will do our best to sort these out in a major update.


Create Featured Bounties-section.

Overview
Create Explorer-page, populate with Featured Bounties-section based on the Figma prototype.
Features

Responsive carousel containing popular Bounties.
Contains reusable Chip-component.

Fixes

#40
#46

Screenshots

Is the Card component supposed to be responsive at this point or will that be addressed in a separate PR? It shows up like this for me:

Is the Card component supposed to be responsive at this point or will that be addressed in a separate PR? It shows up like this for me:

I forgot to push a change I made last-minute to fix that - I've pushed it now! Could you please double-check if the same issue still occurs for you?

Is the Card component supposed to be responsive at this point or will that be addressed in a separate PR? It shows up like this for me:

I forgot to push a change I made last-minute to fix that - I've pushed it now! Could you please double-check if the same issue still occurs for you?

Working now. Thanks!


undefined response variables on searchUser

the variables from the search functions are returning nothing or are not being assigned.

UPDATE
Now shows this:

Now fixed:

Was a typo in the request parameters on the bot.


Add: Support for RG11B10 and RGB9E5 vertex formats

Metal 3.1 and iOS 17/macOS 14 add support for these two new vertex/attribute formats.
I also put in all of the necessary fixes (afaik) for Xcode 15 into this PR.

I can't see anything major you missed. Just a few minor problems.
Are you sure you built with Xcode 15? Are you sure MVK_XCODE_15 is true in that case? (This is the only other thing I can think of.)

Also, are you running VulkanCapsViewer on macOS 14 / Sonoma? Are you brave enough to have upgraded your OS already, too?

I'm definitely building with Xcode 15 and MVK_XCODE_15 is definitely true. No, I am still using macOS 13 but I figured if it would show on my machine it would also show on macOS 14. On macOS 13 it would just not be usable. Now that I think about it, it's obvious why it wasn't showing: It's only being enabled for macOS 14... Not sure if I want to upgrade that Mac though because it's technically not mine.

Not sure if I want to upgrade that Mac though because it's technically not mine.

Yeah...I usually wait until later in the beta cycle.

What's the current status of this PR?
Although it would be good to get it all resolved, I'd like to get at least the generic Xcode SDK 15 changes in these files pulled in:
MVKCommonEnvironment.h
MVKDevice.mm
OSSupport.mm

and we can add the RG11B10 and RGB9E5 support later if we can't resolve it now.

@billhollings Is this mergeable now?

@spnda I'm running MacOS 14, would you like me to try and build it?

@spnda I'm running MacOS 14, would you like me to try and build it?

Building isn't the issue, but yeah if you want you can try and check if the formats are properly marked as available.

So I compiled your PR on my machine, and I temporally replaced libMoltenVK in my /usr/local/lib with your PR build. I then took my hobby renderer and just changed the vertex format, and changed it to VK_FORMAT_E5B9G9R9_UFLOAT_PACK32, however this failed because I got an error, which is as follows.
[mvk-error] VK_ERROR_FORMAT_NOT_SUPPORTED: VkFormat VK_FORMAT_E5B9G9R9_UFLOAT_PACK32 is not supported for vertex buffers on this device.
Note: I also tried this for RG11B10 and got the same result.
I know that I'm using your PR build because I recieve all of the config messages, and before changing vertex format, my graphics were displaying perfectly the same as the Vulkan SDK build.

So I compiled your PR on my machine

Just checking...definitely using Xcode 15?

Are you using Apple Silicon? The new formats only appear to be enabled for Apple Silicon GPUs.

Yes, I'm using an M1 MacBook Air

Yes, I'm using an M1 MacBook Air

Clearly, we've all missed something.
What does vkGetPhysicalDeviceFormatProperties() return for B10G11R11_UFLOAT_PACK32 and E5B9G9R9_UFLOAT_PACK32? Is the VERTEX_BUFFER_BIT set in bufferFeatures?

That result would mean that it does work. Your hobby project must be doing something differently/wrong for it to think it's not supported. Or am I misremembering that a vertex buffer just needs to have a format with VERTEX_BUFFER_BIT set to be used validly?

@spnda  Here's my vertex code:
class Vertex
{
public:
    glm::vec2 position;
    glm::vec3 color;

    static VkVertexInputBindingDescription GetBindingDescription()
    {
        VkVertexInputBindingDescription bindingDescription{};
        bindingDescription.binding = 0;
        bindingDescription.stride = sizeof(Vertex);
        bindingDescription.inputRate = VK_VERTEX_INPUT_RATE_VERTEX;
        return bindingDescription;
    }

    static std::array<VkVertexInputAttributeDescription, 2> GetAttributeDescriptions()
    {
        std::array<VkVertexInputAttributeDescription, 2> attributeDescriptions{};

        attributeDescriptions[0].binding = 0;
        attributeDescriptions[0].location = 0;
        attributeDescriptions[0].format = VK_FORMAT_R32G32_SFLOAT;
        attributeDescriptions[0].offset = offsetof(Vertex, position);

        attributeDescriptions[1].binding = 0;
        attributeDescriptions[1].location = 1;
        // attributeDescriptions[1].format = VK_FORMAT_R32G32B32_SFLOAT;
        attributeDescriptions[1].format = VK_FORMAT_E5B9G9R9_UFLOAT_PACK32;
        attributeDescriptions[1].offset = offsetof(Vertex, color);

        return attributeDescriptions;
    }
};

This is all based on Vulkan Tutorial. Whenever I switch to the new vulkan formats, it gives me this error.
VK_ERROR_FORMAT_NOT_SUPPORTED: VkFormat VK_FORMAT_E5B9G9R9_UFLOAT_PACK32 is not supported for vertex buffers on this device.
Perhaps you forgot to add something somewhere in the code, cause it says it's supported when asked, but when using the new formats, just breaks.
I'm not formatting my vertices for these new formats, but they should cause validation errors, not MoltenVK errors.

That error message comes from MVKPixelFormats::getMTLVertexFormat(). It gets printed when the format description returned by getVkFormatDesc() returns one with MTLVertexFormatInvalid. This would suggest that the vertex format isn't getting set for some reason in the _vkFormatDescriptions entry for the two formats.

This would suggest that the vertex format isn't getting set for some reason in the _vkFormatDescriptions entry for the two formats.

Or is getting set back to Invalid, which happens when MVKMTLFormatDesc::isSupported() returns false.
...But wait, that method is for the MTLPixelFormat! For the vertex format, it's supposed to call MVKMTLFormatDesc::vertexIsSupported()! There's the problem!

So MVKMTLFormatDesc::isSupported() returns false if either of the following is true:

the format is MTLPixelFormatInvalid/MTLVertexFormatInvalid (which happen to be both zero); or
the format capabilities are kMVKMTLFmtCapsNone.

Since we know the format itself is not MTLVertexFormatInvalid, it must be because the caps aren't getting set.

I've now got my own Mac finally, so I decided to try out this PR again. After a lot of installing & configuring I finally got everything to work.

And for me B10R11G11_UFLOAT_PACK32 definitely has the VERTEX_BUFFER_BIT set. I am only using a rebased version of this PR, so nothing has really changed as far as I know. Same thing for R9G9B9E5_UFLOAT_PACK32. I'm on macOS 14.2.1 with a fresh build of MVK and VulkanCapsViewer. I'll push again to get CI to run on Xcode 11.7 and fix the issues there.

I see that the Xcode 11 CI was removed, and now everything builds correctly. @AntarticCoder could you perhaps re-test to see if it wasn't anything else causing the issue on your end? Otherwise, @billhollings, care to review & merge?

Shoot! It's now (understandably) failing Xcode before 15.
We'll have to do what we did with _mtlPixelFormatCoreCount :
static const uint32_t _mtlVertexFormatCount = MTLVertexFormatHalf + 3;     // The actual last enum value is not available prior to Xcode 15.


TEP-0118: Add validation for matrix include pipeline parameter variables

[TEP-0090: Matrix] introduced Matrix to the PipelineTask specification such that the PipelineTask executes a list of TaskRuns or Runs in parallel with the specified list of inputs for a Parameter or with different combinations of the inputs for a set of Parameters.
To build on this TEP-0018 introduced Matrix.Include, which allows passing in a specific combinations of Parameters into the Matrix.
This PR validates that matrix pipeline parameter variables  including include params that may contain the reference(s) to other params are used appropriately.
Note: This is still in preview mode. Other forms of validation and implementation logic will be added in subsequent commits.
/kind feature
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[x] Has Docs included if any changes are user facing
[x] Has Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including
functionality, content, code)
[x] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[x] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
[x] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
NONE

/retest

Not sure why code coverage went down for an unchanged function:
func (pp *ParamSpec) SetDefaults(context.Context) {
        if pp == nil {
                return
        }```

/retest

/hold
can we please merge the refactor first? https://github.com/tektoncd/pipeline/pull/6282 🙏🏾
it'll be harder so sync these changes with the refactor than it would be to update this smaller change

/unhold
https://github.com/tektoncd/pipeline/pull/6282 has been merged

@jerop it says the changes requested are still pending ⬆
/retest

Maybe update the pr description to remove the note if you've finished the work

Maybe update the pr description to remove the note if you've finished the work

@Yongxuanzhang The Matrix Include feature is still in preview mode. This is one of the last 2 PRs for adding validation. :)

Maybe update the pr description to remove the note if you've finished the work

@Yongxuanzhang The Matrix Include feature is still in preview mode. This is one of the last 2 PRs for adding validation. :)

Oh I thought "This" means this PR, 😂

/assign

/retest


Add metric.collect for SymPy 1.4 compatibility

Partially address #31 .

I decided to merge this PR as is, for the following reasons:

there's no open issue in this PR except #49
I don't have time for diving into #49 at the moment
the current behavior is correct to an extent
further fixes deviate from abrombo's version further and make the merge harder


Move Job from one RecordGroup to another

Possible to run a duplicate/merge Job to do this, but what about just moving a job wholesale?
Would not carry overhead of duplicating records.

Would need a UI


Update the query params according to the the filter changes

Closes #152
Description
Update the query params according to the the filter changes so the search result is shareable through the URL
Current Tasks

[x] Initiate search based on url parameter
[x] Change url parameter after search
[x] Change autosearch using debounce

Somehow the Urut berdasarkan dropdown doesn't select anything on the first page load.
Could you please solve this issue, Mbak @ekamuktia?

Okay, I'll check


Making the merkle tree sparse.

It saves up to 8GB of memory on running continuations and about 3 seconds on the construction of the MerkleTree.

If I was using some external crate to hide this monstrosity, nobody would complain, especially if done without macros.

If I was using some external crate to hide this monstrosity, nobody would complain, especially if done without macros.

Can you explain why this is needed, as opposed to a "normal" cache?

Can you explain why this is needed, as opposed to a "normal" cache?
What is a normal cache? How do you create a global cache in rust that is dependent on the generic value, if not the way I have done it?

I removed it now, the defaults are calculated every time a MerkleTree is created, which I think is just 2 times per execution.

What is a normal cache? How do you create a global cache in rust that is dependent on the generic value, if not the way I have done it?

I don't know. Usually with a HashMap or HashSet. Not sure about the other features. Still, I think it's an obvious thing for anyone to ask in order to keep unsafe out.

I don't know. Usually with a HashMap or HashSet. Not sure about the other features. Still, I think it's an obvious thing for anyone to ask in order to keep unsafe out.

Well, it was a HashSet on a static variable. The problem was, for each different generic instantiation, the value field had a different type. Reading about std::any::Any, maybe this could be done with Box<dyn Any> and be safe, but I am not sure this is how Any works.

Please squash


compatible with django3 update

updated django static import
according to django3 convention
which is compatible with previous versions as well
[https://github.com/python-discord/django-simple-bulma/issues/37]

We'll need to push a new release for this, but I'll handle that myself.


Egg Cracker doesn't work in AlternateOrdersMod

It should work, test it first.

Not reproducible.


Updated StringEnumConverter to correctly handle integers when passed as Strings and Integers are not allowed

The problem was initially posted here:
http://stackoverflow.com/questions/35479669/stringenumconverter-invalid-int-values/35484440#35484440
StringEnumConverter works as expected when it tries to convert an int value like
{  "MyEnumProperty": 99999}
but if I specify the value as string it ,
{  "MyEnumProperty": "99999"}
maybe correctly, it tries to parse it
It could have been smarter and if AllowIntegerValues is set to false could check if the value is an integer and throw an error.
I believe this have help users ,like me ,avoid strange bugs
This is a breaking change but since Integers are not valid identifiers for an enum I cannot think of a case where that affects anyone (You may can though)
I added a few lines that fix the issue and created 2 unit tests.
I seems I haven't broken anything.
Review it and if you find it useful ,and correct,accept the pull request

Hi
I fixed this for another issue. It needed to be done in a different place because EnumMember can be used to accept an integer string as the name.
https://github.com/JamesNK/Newtonsoft.Json/commit/6c272eac6ee71705fd813c90ce61b1a6d6ef2a35


Release 3.1.x

Hi. I came from Stackoverflow https://stackoverflow.com/questions/259140/scanning-java-annotations-at-runtime
I would like to try your library, but it's still in SNAPSHOT for 7 years. Can you please maybe release a 3.1.x version to maven central? It wouldn't matter if there are still features/issues open, at least I could try it out.

Yes, you are right. It is time to release it :)
However, currently i am short on time, but will put it on my todo list for the next weeks

Hi! I came form https://stackoverflow.com/questions/4296910/is-it-possible-to-read-the-value-of-a-annotation-in-java
Could you please release 3.1.x?

In the meantime y'all can use my repo:
repositories {
    maven {
        url 'https://cdn.sussy.tech/repo2/'
    }
}

dependencies {
    implementation 'eu.infomas:annotation-detector:3.1.0-SNAPSHOT'
}


question

Hello, I did the training and testing exactly as README did, but it didn't matter what I predicted. The tensor output was also Nan. According to the debugging, it is Bert. In PY, "Prompt = [] for name, layer in self.resnet.named () : if name = = 'FC' or name = = 'avgpool' : continue x = Layer (x) # (BSZ, 256,56,56)" causes X to all be 0. Do not know how to change to normal training and testing, request guidance. Here are the predictions I printed out after my test. The two white lines above are the correct answers, and below are the predictions. You can see that they are all zeros, corresponding to the dictionary“No relationship between entities.”.

Hello,
Thank you for your interest in our work. We apologize for the issue you've encountered, which we have not come across in our previous experiments. We recommend that you first verify the consistency of your environment configuration version with the README file.
Due to our busy work schedule and the considerable time since we last engaged with this code, we anticipate revisiting the experiment over the weekend to assist you in troubleshooting the problem. We will provide you with a response at that time.
We appreciate your understanding and patience in this matter.
Xiang Chen

hello   ，Xiang Chen：
Thanks for your reply, I re-checked my environment configuration and it is exactly the same as the README file. I do not know exactly what the problem is, because my graduation thesis and this project related, so more anxious, hope to get your reply as soon as possible. Thank you very much!
------------------ 原始邮件 ------------------
发件人:                                                                                "zjunlp/HVPNeT"                                                                                @.>;
发送时间: 2024年4月17日(星期三) 中午12:14
@.>;
<EMAIL_ADDRESS>主题: Re: [zjunlp/HVPNeT] question (Issue #18)
Hello,
Thank you for your interest in our work. We apologize for the issue you've encountered, which we have not come across in our previous experiments. We recommend that you first verify the consistency of your environment configuration version with the README file.
Due to our busy work schedule and the considerable time since we last engaged with this code, we anticipate revisiting the experiment over the weekend to assist you in troubleshooting the problem. We will provide you with a response at that time.
We appreciate your understanding and patience in this matter.
Xiang Chen
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Hi,
Did you predict using the model you trained yourself? How did the model perform during training?  In the RE task, 0 means that the two entities are not related, and predicting 0 is normal because there are many unrelated instances in the dataset.

Do you have any further questions?


Expose FirstRunID in WorkflowExecutionInfo under DescribeWorkflowExecutionResponse

Is your feature request related to a problem? Please describe.
I need to workaround with issue that runId is not stable after continueAsNew or reset.
It's available in https://github.com/temporalio/sdk-go/blob/1f0296cdf9d7655269beed439ad1769dd8040654/internal/workflow.go#L1072 but I also need it from describeWF API
Describe the solution you'd like
Add it in the api and then server
Describe alternatives you've considered
No easy alternative currently (unless I redesign and rebuild the system:( )
Additional context
More context of my current workflows running in production (needed in https://github.com/indeedeng/iwf/issues/404 )
When workflowA is running, it may kickoff a workflowA1 as a child workflow and then waiting for external to signal A1.
A1 is currently based on A's workflowID+"number suffix".
However, this is not sufficient when workflowA us using IdReusePolicy to reuse the workflowID.
This could be fixed if we can use firstRunId instead. Using currentRunID will not work because of continueAsNew and reset.

Thanks for reporting this.  It is a known issue, and there's no way to work around it.  It's tracked in the following GitHub issue:
https://github.com/temporalio/sdk-go/issues/1133
This issue is targeted for the next release.

Thanks for reporting this issue! It seems like you are experiencing the issue mentioned in this GitHub Issue. As a workaround, you can consider using the DescribeWorkflowExecution API for the time being. This will give you access to the FirstExecutionRunID that you require. However, if you find that DescribeWorkflowExecution is not performing well, you can always try the other suggested workarounds in the issue.  Let me know if you need any further assistance.

Thanks for reporting this issue.  We understand that it can be challenging to deal with the instability of runIds when using continueAsNew or reset.
Temporal's current behavior stems from the fact that continueAsNew and reset effectively create new workflow instances, resulting in fresh runIds.
You're seeking to access the initial runId, which is not currently exposed through the describeWF API. We'll look into adding this feature to the API.
In the meantime, one workaround is to create a "RunId" Activity that retrieves the first Run Id when the Workflow starts, and persists the value. This Activity could be used by subsequent invocations of the Workflow to access the first Run Id.
This approach will require some refactoring, though.
Let us know if you have any further questions or feedback.


(change) take arity argument out of argument list.

Hi there,
Just thought currying would be more flexible if auto arity could take place.

hey...my bad.
should have read the docs before pulling. still...that's my humble suggestion.

(just also realized you depend on that arg on other places....oooops.

Oh, hello.
Thanks for the time you put into writing this PR. I'm not merging it because it goes against some goals in Folktale, and in particular makes composing (curried) functions more confusing. It would be great if we could infer the arity automatically for currying. Sadly, that's a bit difficult in JavaScript for a few reasons.
The length property returns the number of syntactically-provided formal parameters, not the amount of intended parameters the function wants to receive in order to do work. This means that in a lot of cases, the value represented in length isn't the number of arguments you need to pass.
For example:
// rests are not counted
const sum = (...xs) => xs.reduce((a, b) => a + b, 0);
sum.length  // ==> 0 (intended: maybe 2)

// optionals are not counted
const foo = (a, b = someDefault) => a * b;
foo.length  // ==> 1 (intended: 2)

// messing up with `arguments` is not counted
function bar() {
  const x = arguments[0], y = arguments[1], z = isObject(y) ? arguments[2] : {};
}
bar.length // ==> 0 (intended: 2 or 3)

While one could argue that variadic/optionals shouldn't be supported, the problem is that JavaScript code often relies a lot on transforming functions. And since .length only looks at the syntactically-provided formal parameters, it has no way of reflecting the original intention of those functions.
For example:
const flip = (f, a, b) => f(b, a);
flip.length // ==> 3 (intended: 3)
curry(flip)((x, y) => x - y)(2)(3); // ==> 1

// If we transform `flip` for any reason, things start looking not so good
const cflip = curry(flip);
curry(cflip)(2)(3); // ==> NaN is not a function
cflip.length // ==> 0

Because functional programming also encourages a lot of function composition, and Folktale's internal code certainly uses a lot of it, these cases tend to be fairly common except for when you're currying a static function definition. Having something that works in a particular context, but may or may not work in another context is very confusing. One would assume that, if curry(f) works, then curry(g(f)) should also work, if g(f) returns a function that has the same intended number of parameters as f.
This is even worse in functions like partialise, which despite having a fixed number of arguments, has to rely on arguments internally, as it would otherwise need to generate JavaScript code and ask the interpreter to evaluate that in order to keep the .length property in sync with the intended number of arguments. Or do what Ramda does, for a fixed number of arguments: https://github.com/ramda/ramda/blob/master/src/internal/_arity.js.
Ramda's function is also internal, so it doesn't help users who may face the same problem when composing their own functions. That's not good. Neither of the two approaches are very compelling for simplicity, maintenance, performance, or security :(
One of the goals of Folktale 2 is to reduce the number of features that may be confusing to users, and encourage the usage of features that are simpler and more straight-forward (to both understand and debug). That's also one of the reasons we don't use curry by default anymore — curry alone is confusing when you mix in variadic functions. Adding arity inference, even if optional (like Ramda does), makes it more confusing.

I realized all that right after pushing the button.
I promise next time I submit a patch, it would be after actually reading all the README content! (I feel so dumb for not having done that!)
Your code has been a great inspiration.
Thanks for your thorough explanation, and for the amazing work with the library.


Features/settings page

Worked on this during group programming with Alberto, Strand, Zhuan, Daniel, and Ying

Coverage increased (+0.1%) to 57.079% when pulling e588356dea529f3bc73405ce165273ff6c7fbfc1 on features/settingsPage into<PHONE_NUMBER>4484c7fac27f74717e6e3d67805d03 on master.

Codecov Report

Merging #133 into master will increase coverage by 0.22%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #133      +/-   ##
==========================================
+ Coverage   60.96%   61.18%   +0.22%
==========================================
  Files          94       94
  Lines        1414     1417       +3
==========================================
+ Hits          862      867       +5
+ Misses        552      550       -2

Impacted Files
Coverage Δ

src/components/MainComponent.js
0% <ø> (ø)
:arrow_up:

src/components/Debug.js
66.66% <ø> (ø)
:arrow_up:

src/actions/signalRActions.js
100% <ø> (ø)
:arrow_up:

src/components/TopNav/NavMenu.js
86.66% <100%> (ø)
:arrow_up:

src/components/TopNav/Preferences.js
100% <100%> (+33.33%)
:arrow_up:

src/components/elements/MenuLink.js
100% <100%> (+20%)
: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 5283869...e588356. Read the comment docs.


Decimal to 2421 code convertor

Issue Id you have worked upon -
#237
Briefly explain your program logic -
It is an unnatural BCD code. Sum of weights of unnatural BCD codes is equal to 9. It is a self-complementing code. Self-complementing codes provide the 9's complement of a decimal number, just by interchanging 1's and 0's in its equivalent 2421 representation. Using this concept we have convert it accordingly.
Screenshots(Attach 2 screenshots of your own input and output) -

By raising this PR I affirm that -

[x] My code follows the guidelines of this project.

[x] I have performed a self-review of my own code.

[x] I have commented my code.

[x] My code gives the correct output.

[x] I affirm that I strictly follow contributing guidelines and code of conduct.

Congratulations 🎉 @Upadhyay-Harshit on your contribution.
Thanks for adding value to this repository. 😊
Let's celebrate this fest 😃 by providing more developers 👨💻👩💻 an opportunity to contribute. Help us make this repository reach far and more by sharing this to your friends and colleagues.
Your efforts can make difference.

Hey 👋, may you also encourage us by clicking the star icon on the repository main page. ⭐


fix: get_stacks_payment_key used in example

Fixing a typo

Thanks @sabby. I meant to close this PR. I discussed with @janniks and we got it all sorted.


H-infinity Filtering

Hi Sir, Do you have any idea to solve the event triggered H-infinity filtering  for networked control systems???

Hi
Right now, I don't have any code in H-infinity Control.  But, I want to upload some network control simulations using the Robust MPC method as soon as possible.

if (Sigma*(norm(Xnew))<= abs(norm(x_error)))
is this ets techniques same like the equation I have ettached？
[image: image.png]
On Sun, Apr 12, 2020 at 5:35 PM smshariatzadeh<EMAIL_ADDRESS>wrote:

Hi
Right now, I don't have any code in H-infinity Control. But, I want to
upload some network control simulations using the Robust MPC method as soon
as possible.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/smshariatzadeh/Event-triggered-controller/issues/1#issuecomment-612588425,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AK2B7JHFK4L6AMMRVR2CIJ3RMGDONANCNFSM4MGBUDNA
.

is this a right code for the above equation? I just modified your code but
I am not sure if it is right? Help help me to remove the errors. I need to
send event triggering based 'y' over the network
On Tue, Apr 14, 2020 at 2:47 PM muhammad Atif<EMAIL_ADDRESS>wrote:

if (Sigma*(norm(Xnew))<= abs(norm(x_error)))
is this ets techniques same like the equation I have ettached？
[image: image.png]
On Sun, Apr 12, 2020 at 5:35 PM smshariatzadeh<EMAIL_ADDRESS>wrote:

Hi
Right now, I don't have any code in H-infinity Control. But, I want to
upload some network control simulations using the Robust MPC method as soon
as possible.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/smshariatzadeh/Event-triggered-controller/issues/1#issuecomment-612588425,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AK2B7JHFK4L6AMMRVR2CIJ3RMGDONANCNFSM4MGBUDNA
.

[ ]

Hi
You can view this code:

example_et_fo_pid_cotinuous_LTI.m
(It is event triggering based 'y' over the network)
Note that in this event controller, the output of the controller is based on PID controller (Line 126) , but you can modified this line base in H-infinity filtering.

Hi
You can view this code:

example_et_fo_pid_cotinuous_LTI.m
(It is event triggering based 'y', feedback of output, over the network)

https://github.com/smshariatzadeh/Event-triggered-controller/blob/master/event-trigger-control-outputfeedback-PID.png
Note that in this event controller, the output of the controller is based on PID controller (Line 126) , but you can modified this line base in H-infinity filtering.

ok let me try, But the equation I have sent is the same triggering technique?

Almost Yes, It is the same triggering detection technique.
I suggest you change line 126 based on your controller method (H-infinity robust controller).
Really, I do not know what is your system? what is you controller? (Is it in frequency domain? its transfer function is determined or not? and ....)

The is my system. What I need to do is to calculate the y(t) from the plant
state-space model and send it to filter as an input of the filter based on
event-triggering scheme. I have attached my systems
On Tue, Apr 14, 2020 at 11:52 PM smshariatzadeh<EMAIL_ADDRESS>wrote:

Almost Yes, It is the same triggering detection technique.
I suggest you change line 126 based on your controller method (H-infinity
robust controller).
Really, I do not know what is your system? what is you controller? (Is it
in frequency domain? its transfer function is determined or not? and ....)
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/smshariatzadeh/Event-triggered-controller/issues/1#issuecomment-613524346,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AK2B7JANLU4RG4UPHLYLH53RMSBFPANCNFSM4MGBUDNA
.

I can not view your system . please send its file by email

Ok, please give me you email address
On Thu, Apr 16, 2020, 4:30 PM smshariatzadeh<EMAIL_ADDRESS>wrote:

I can not view your system . please send its file by email
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/smshariatzadeh/Event-triggered-controller/issues/1#issuecomment-614497826,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AK2B7JEBITO2KL4RINFI3ETRM262DANCNFSM4MGBUDNA
.

My Email :
<EMAIL_ADDRESS>


Setup is not exactly straightforward

The most likely cause of this is my total ignorance of PHP Namespaces, but when I followed the instructions and did the following:
include("neo4jphp.phar");

...

I got the following error:
Fatal error: Class 'Everyman\Neo4j\Client' not found in XXX.php on line YYY

After this, I tried to stick the source-code in a folder called lib in the root of my project, and the following code works perfectly:
<?php

    spl_autoload_register("autoload");

    use Everyman\Neo4j\Client,
        Everyman\Neo4j\Transport;

    $client = new Client(new Transport('localhost', 7474));
    print_r($client->getServerInfo());

    function autoload($file)
    {
        $base = dirname(__FILE__)."/lib";
        $filename = str_replace('\\', DIRECTORY_SEPARATOR, $file) . '.php';
        if(file_exists($base.DIRECTORY_SEPARATOR.$filename))
            require_once($base.DIRECTORY_SEPARATOR.$filename);
    }

?>

I think it might be a far smaller barrier to entry if you were to include an example like this in your wiki - that is, if I didn't totally miss something fundamental with the phar example.

This is on Windows? @jexp was also having a similar issue. I haven't had any trouble on a Linux box, but I haven't tried on Windows. I will this weekend and see if I can reproduce the problem.
I'll also add the manual autoloader to the wiki.
Thanks for the report!

Manual autoloading information added to http://github.com/jadell/neo4jphp/wiki/Getting-started
I won't close this issue until I have figured out the issue with PHAR.

It was on a Mac with a XAMPP sack.

I've confirmed that I get the same error when trying to use the PHAR in a XAMPP install. @dannykopping are you also using XAMPP?

I'm not sure why
require('neo4jphp.phar');

does not work under XAMPP, but as a workaround, you can do:
require('phar://neo4jphp.phar');

I haven't tested under Windows yet.

The root of the problem is a bad default setting in XAMPP.
The tl;dr fix can be found here: http://stackoverflow.com/questions/1577479/phar-archive-outputs-jibberish
A much longer explanation of the underlying problem is here: https://bugs.php.net/bug.php?id=42396
I suspect that this is the same issue for @jexp and @dannykopping, but I will confirm by testing on WIndows this weekend. If it is the same problem, I will close this issue. Either way, I have updated the Getting Started wiki with the "phar://" workaround.

Yup, I'm on a Mac with XAMPP
Thanks for looking into this Josh

require('neo4jphp.phar') works on a vanilla Windows install of PHP and of XAMPP for Windows. The best way to be cross-platform compatible is to always use require('phar://neo4jphp.phar')


Borders of d3 simulation should be enforced

Nnodes should not be allowed to fly out of the sim

Resolved in Pull Request 31


[$500][MEDIUM] Categories: Search field is present in category list when there are fewer than 8 categories to choose from

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.44-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Precondition:

User is an employee of Collect workspace
The Collect workspace has less than 8 categories

Go to staging.new.expensify.com
Go to workspace chat
Open request money page
Create manual request and proceed to confirmation page
Click Show more > Category

Expected Result:
There will be no search field because there are less than 8 categories
Actual Result:
Search field is present when there are less than 8 categories
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/3dc8e614-40ac-402a-844f-4443b64b497b
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0110ba1eec3b905bcd
Upwork Job ID:<PHONE_NUMBER>381767168
Last Price Increase: 2024-02-27

We think that this bug might be related to #wave6
CC @greg-schroeder

Definitely a bug, but doesn't need to block the deploy. Removing the label.

Waiting for proposals

I am unable to reproduce this. Seems it has already been fixed on main.
https://github.com/Expensify/App/blob/4231ac90a8f6efa0249c925a06adbb9ef4d7a54a/src/components/CategoryPicker.tsx#L67


python

DOB is not correctly written ,the value is incorrect

Please mention where, as your issue is incomplete without any reference or hyperlink towards.


Ignite2018

New content and navigation for ignite 2018.

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

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

docs/enterprise/overview.md
:white_check_mark:Succeeded

docs/skills/adaptive-cards.md
:white_check_mark:Succeeded

docs/skills/use-ssml-enable-speech.md
:white_check_mark:Succeeded

docs/toc.md
:white_check_mark:Succeeded

docs/voice-commands/launch-a-background-app-with-voice-commands-in-cortana.md
:white_check_mark:Succeeded

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

changed branch to match.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

docs/enterprise/overview.md
:white_check_mark:Succeeded

docs/skills/adaptive-cards.md
:white_check_mark:Succeeded

docs/skills/use-ssml-enable-speech.md
:white_check_mark:Succeeded

docs/toc.md
:white_check_mark:Succeeded

docs/voice-commands/launch-a-background-app-with-voice-commands-in-cortana.md
:white_check_mark:Succeeded

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


equal validator boolean / number support (ValentinK)

For now, using equal validator with checkboxes is not useful, because typescript expect string, instead of boolean. With this fix it will works well.
PS: check and run tests before merge (if you will merge it).

@BioSin Thank you for your contribute.


ha cards in HACustomCard.vue

Hello,
thanks for sharing your code.
I have just tried the example and it works perfectly :)
Have you ever tried to use home assistant native cards (such as the entity or light card) in the HACustomCard.vue component?
My goal is to create the list of lights of my house in the HACustomCard.vue component.
Thanks.

I haven't tried to use native elements since I'm building my own fully custom dashboard with vue and pinia.
My current approach is to pass hass object from lit-custom-card.js to vue component via dispatchEvent. This way I have access to every service, state, or any other HA property/method including api and socket. After hass object is passed to vue component I am subscribing to state_changed event via socket to keep pinia state updated. It gives me full control over actions and state which I don't really have with native cards.
I also use hass-more-info event for entities, but while it works very nice for some action calls it isn't very good for quick dashboard lookup.
// Dispatching 'hass-more-info' event
const event= new Event('hass-more-info', {
    bubbles: true,
    composed: true,
});

event.detail = { entityId: 'light.office' };
window.document.querySelector('home-assistant').dispatchEvent(event);

Hello,
thank you so much for your prompt answer.
I will try the example in the dev branch ASAP.
Thanks again.

 I have just updated the 'dev' branch with some improvements and optimizations, and I'm actually pretty satisfied with how it works now. Hopefully, this will do exactly what you're looking for. Happy automating and customizing :)


Is "ranged bar chart" supported (Apple pulsation chart type) ?

I would like to display a chart with bars with ranged valued like the Apple pulsation chart (cf. screen capture).
Is it possible with this library ?

or :

?

I would like to display a chart with bars with ranged valued like the Apple pulsation chart (cf. screen capture). Is it possible with this library ?

or :
 ?

Update :
I was thinking to use BarChartRodStackItem but the issue I have with this solution is that I can not use Border radius property for the rodStackItems

Now you can use fromY and toY properties in each BarRod in 0.46.0.
Check below samples:
BarChartSample 5 (Source Code)

BarChartSample 6 (Source Code)


Show warning when training mProphet model if explicit peak bounds from libraries are being used

Changed to show warning message when adding decoys or training mProphet model if document uses explicit peak bounds from spectral libraries.
Changed to show warning tooltip on Transition Settings Full Scan tab if retention time filtering is used with PRM acquisition method.
Also speed up "Library.FindSource" so that it remembers its answers because EncyclopeDiaLibrary was really slow sometimes. The logic for matching MsDataFileUri's to library source file names is now in class "LibraryFiles" instead of duplicated in EncyclopeDiaLibrary, BiblioSpecLiteLibrary and ChromatogramLibrary.
Warning message for "Refine > Add Decoys":

Warning message using "<Add...>" or "" at "Refine > Reintegrate":

Warning tooltip if using retention time filtering with PRM:

("SureQuant" or "Targeted" may be displayed instead of "PRM").

I don't love the use of "OK | Cancel" here. These are pretty broken things to do, and "OK" is the default. Also "OK" is not a valid response to "Are you sure... ?" I suppose it might be better to use "Yes" and "No", with no default or "No" as default.
Or use "Add Decoys" and "Cancel" ("Train Model" and "Cancel") with no default.

I don't love the use of "OK | Cancel" here. These are pretty broken things to do, and "OK" is the default. Also "OK" is not a valid response to "Are you sure... ?" I suppose it might be better to use "Yes" and "No", with no default or "No" as default.
Or use "Add Decoys" and "Cancel" ("Train Model" and "Cancel") with no default.

I updated the message text and the button text.
I actually can't figure out how to make it so the MultiButtonMsgDlg has no default (accept) button.
Since the form has only two buttons on it, one of those two buttons is going to have the focus, and is therefore going to respond to the Enter key.
However, I cannot even figure out how to make it so the Cancel button is the default button.
That is, even if I set "dlg.AcceptButton = dlg.CancelButton", the other button still ends up being the one that is selected when the dialog comes up ("dlg.AcceptButton = null" does not work either).
I even tried this with a simpler form ("PasteFilteredPeptidesDlg") and I could not get it to have either no default button or have it so the Cancel button is the default button.


A New Access API function to get Events in a more optimized way

Issue To Be Solved
Currently only way of getting events via Access API is bruteforce block by block. This is unnecessary load on nodes. As NFTs will get more popular, more people will brute force all block ranges for Mint Events, Trade Events etc.
Suggest A Solution
I am thinking some kind of new function on access API with signature like:
** findNextEvents(withType: type , afterBlock:block, withCount: count) **
I don't know how are the events are stored, but if they can reference next event with the same type (when event is triggered, old event is pointed to new one, like a linked list), it can be fast and useful.

This was an old idea, after learning more about flow-go internals, it is not so easy to implement, closing.


[NEW ICON] Jetpack Compose

Skill Name
Jetpack Compose
Why?
its popular for Android Developer
Reference Image

Hey @lalabib, do you mind opening an issue there, it's a rolling release model which takes everything a little bit more seriously than here, since the maintainer didn't showed up in months...

Skill Name
Jetpack Compose
Why?
its popular for Android Developer
Reference Image

Hi lalabib 👋,
Thanks a bunch for reaching out! We've noticed the hiccup with updates in the repository. But no worries, we've got you covered! 😊 As an alternative, we've moved the icons to a new repository where updates are happening smoothly. You can find all the latest icons right here: Icons 🏝.
And guess what? Your requested icon, Jetpack Compose, is already there! 🎉 You can find it nestled among the others, ready to shine. ✨
Feel free to swing by, take a look, and even contribute if you'd like! It's an open invitation to join the fun. 🚀
Oh, and one more thing – if you find the icons useful, we'd be over the moon if you could give the repository a star ⭐. It helps others discover our little corner of the internet and means the world to us!
Additionally, if you're in a position to support the continued development and maintenance of this project, we'd greatly appreciate your sponsorship 💖. Every contribution helps us keep the lights on and the icons flowing!
Catch you later! 👋
Warm regards,
islandboymv


Pun upgrade and pub build is not working,

This issue was originally filed by<EMAIL_ADDRESS>
Dart Editor version 1.0.3_r30939 (DEV)
Pun upgrade and pub build is not working,

This issue has been moved to dart-lang/pub#769.


Unable to connect to percona-server

It was working.. did a brew update/brew upgrade/brew doctor.
Percona wasn't updated recently.
/var/log/system.log when running brew services restart percona-server
Sep 30 14:24:46 Craigs-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.quicklook[14664]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.quicklook
Sep 30 14:26:08 Craigs-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.ReportCrash[15552]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash
Sep 30 14:26:09 Craigs-MacBook-Pro spindump[8829]: Saved memory_resource.diag report for helpd version (null) to /Library/Logs/DiagnosticReports/helpd_2016-09-30-142609_Craigs-MacBook-Pro.memory_resource.diag
Sep 30 14:26:30 Craigs-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.quicklook[15561]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.quicklook
Sep 30 14:28:31 Craigs-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.PubSub.Agent[15756]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.pubsub.ipc
Sep 30 14:28:31 Craigs-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.PubSub.Agent[15756]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.pubsub.notification
Sep 30 14:28:59 Craigs-MacBook-Pro syslogd[54]: ASL Sender Statistics
Sep 30 14:29:09 Craigs-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.ReportCrash[15768]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash
Sep 30 14:29:42 Craigs-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.quicklook[15790]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.quicklook
Sep 30 14:29:43 Craigs-MacBook-Pro login[15793]: USER_PROCESS: 15793 ttys000
Sep 30 14:31:34 Craigs-MacBook-Pro com.apple.xpc.launchd[1] (homebrew.mxcl.percona-server[405]): Service did not exit 5 seconds after SIGTERM. Sending SIGKILL.
Sep 30 14:31:34 Craigs-MacBook-Pro com.apple.xpc.launchd[1] (homebrew.mxcl.percona-server): This service is defined to be constantly running and is inherently inefficient.

ps aux | grep percona
ccarnell        16930   0.0  0.8  2778232 128624   ??  U     2:34pm   0:00.22 /usr/local/Cellar/percona-server/5.7.14-7/bin/mysqld --basedir=/usr/local/Cellar/percona-server/5.7.14-7 --datadir=/usr/local/var/mysql --plugin-dir=/usr/local/Cellar/percona-server/5.7.14-7/lib/mysql/plugin --log-error=/usr/local/var/mysql/Craigs-MacBook-Pro.local.err --pid-file=/usr/local/var/mysql/Craigs-MacBook-Pro.local.pid
ccarnell        16802   0.0  0.0  2452852   2536   ??  S     2:34pm   0:00.03 /bin/sh /usr/local/opt/percona-server/bin/mysqld_safe

mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

/etc/my.cnf
# For advice on how to change settings please see
# http://dev.mysql.com/doc/refman/5.6/en/server-configuration-defaults.html
# *** DO NOT EDIT THIS FILE. It's a template which will be copied to the
# *** default location during install, and will be replaced if you
# *** upgrade to a newer version of MySQL.

[mysqld]
max_allowed_packet=512M # default is 4194304
connect_timeout=60 # default 10
innodb_file_per_table = OFF
table_open_cache = 250

# Remove leading # and set to the amount of RAM for the most important data
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
# innodb_buffer_pool_size = 128M

# Remove leading # to turn on a very important data integrity option: logging
# changes to the binary log between backups.
# log_bin

# These are commonly set, remove the # and set as required.
# basedir = .....
# datadir = .....
# port = .....
# server_id = .....
# socket = .....

# Remove leading # to set options mainly useful for reporting servers.
# The server defaults are faster for transactions and fast SELECTs.
# Adjust sizes as needed, experiment to find the optimal values.
# join_buffer_size = 128M
# sort_buffer_size = 2M
# read_rnd_buffer_size = 2M

sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES

Using sequel Pro:
MySQL said: Can't connect to MySQL server on '<IP_ADDRESS>' (61)

Sorry but you have not followed the requested steps on the Troubleshooting page
Please follow (all of) these steps and post the information here so we can help you with your problem.
Additionally, does it work if you do just mysql.server start?
Thanks!

@MikeMcQuaid Nope it doesn't.. it just hangs. I gave up and wiped my /usr/var/lib/mysql and re-installed. It now works. But I didn't change anything.


[sysrst_ctrl] Rework the debouncing logic

The previous debouncing FSMs had a few issues:

The debounce timers themselve did not really filter the input signal as a debouncer should do, but just sampled the signal twice - once before starting the timer and once after. The debouncing therefore does not guarantee that the signal has been stable for X cycles.
There were 4 different implementations of debounce timer FSMs that all implemented roughly the same functionality

To this end, this reworks the debouncing logic and replaces the different timer FSMs by one unified module named sysrst_ctrl_detect.
The module reuses prim_filter_ctr under the hood in order to further reduce code duplication and standardize on the same debouncing method that is used elsewhere in the design (GPIO, pinmux, USB).
Note that this PR is dependent on https://github.com/lowRISC/opentitan/pull/9826, so only the last two commits are relevant.
That other PR also still has a CI issue that needs to be resolved first.

CC @patel-madhuri

Thanks, I'll merge this as it is now.
I think we should at some point revisit with Toshak whether the chosen detection modes / levels (L2H, H2L, H, L etc) are actually intended behavior - but I guess that is for a D3 design review.

Thanks @vogelpi - sorry for rushing it a bit.
I wanted to get it in quickly so that the DV side is unblocked.
CC @patel-madhuri this has been merged now, so we should be able to proceed with test development.


Unable to Open 'xxxxxxx': File not Found

Issue Type: Bug
Within my angular project, after attempting to build and launch, when a problem is detected I'm unable to navigate to the problem using the problem pane. VSCode states that the file is not found. However, I'm able to navigate to the file based on the path that's contained against problem within the problem pane.
I've checked the insiders preview and can confirm it is the same behaviour in the insiders preview.
Open Angular Project with problems/defects
Run and Debug (from the left)
Click Start Debugging
Let the project build
Open Problem Pane
Click on the error listed in Problems Pane
Application behaviour is that it states the file is not found. The expected behaviour is that the file is opened and navigated to the respective line.
VS Code version: Code 1.64.2 (f80445acd5a3dadef24aa209168452a3d97cc326, 2022-02-09T22:02:28.252Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No
Remote OS version: Linux x64 5.10.0-11-amd64

System Info

Item
Value

CPUs
AMD Ryzen 9 5900X 12-Core Processor             (24 x 3693)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.90GB (12.57GB free)

Process Argv
--crash-reporter-id 423ddbca-272b-4584-8cbf-c9f6273546e4

Screen Reader
no

VM
0%

Item
Value

Remote
SSH:

OS
Linux x64 5.10.0-11-amd64

CPUs
AMD EPYC 7542 32-Core Processor (1 x 2900)

Memory (System)
0.95GB (0.07GB free)

VM
0%

Extensions (10)

Extension
Author (truncated)
Version

ng-template
Ang
13.2.4

launch-tool
che
0.0.3

gitlens
eam
11.7.0

ts-debug
kak
0.0.6

vscode-edge-devtools
ms-
1.4.5

remote-containers
ms-
0.217.4

remote-ssh
ms-
0.74.0

remote-ssh-edit
ms-
0.74.0

remote-wsl
ms-
0.64.2

vscode-remote-extensionpack
ms-
0.21.0

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
pythonvspyl392:30443607
pythontb:30283811
pythonvspyt551:30345470
pythonptprofiler:30281270
vsdfh931cf:30280410
vshan820:30294714
vstes263:30335439
vscoreces:30442553
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstartedc:30433508
vsclayoutctrc:30437038
vsrem710cf:30416617
dsvsc008:30440022
pythonvspyt640:30442238
vsbas813:30436447
vscscmwlcmc:30438804
helix:30440343
vsnot107cf:30443615

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Safari slider image bug - images are positioned wrong sometimes

My client uses Safari and the Slider Pro is showing some strange things sometimes. The images in the sliders are positioned wrong sometimes and this only happens in Safari. I got a screenshot to show what I mean. Is this a known problem or complete new one?
Normally the image has to be right after the red header but it renders like the screenshot.

@benjamin3105 which version of safari ?

I dont know the version of the Safari but I know what caused it. It apears adblocker was causing this bug. When my client deactivated it the slider weng back to normal.

This happens when the size of the image is not calculated correctly (this calculation is done in order to center the image inside the slide) and it could be because AdBlock interferes with this calculation.  A solution would be to set ceterImage to false.
Cheers


Update dataset card of wino_bias

Updated the info for the wino_bias dataset.

Thanks @JieyuZhao.
I think this PR was superseded by your other PRs:

#1930
#2152

I'm closing this.


PMID:22375062

abolished protein phosphorylation during mitotic M phase

abolished protein phosphorylation during mitotic M phase FYPO:0005366

edit file: 76449529e5d827a31f0be4a85e357c1d2d46ed78
release: e5283ec1c96a63ba40deabd933a78b358133e2b5


Fix image resolution for ghcr

What this PR does / why we need it:

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Checklist:

[ ] squashed commits into logical changes
[ ] includes documentation
[ ] adds unit tests
[ ] adds or updates e2e tests

Merging with 1 review as we are on a call together as a team


Update deny-xml-schema-collection-permissions-transact-sql.md

@AssafFraenkel : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Docs Build status updates of commit 4dd7471:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/t-sql/statements/deny-xml-schema-collection-permissions-transact-sql.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@WilliamDAssafMSFT
Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Pulling to private repo

Docs Build status updates of commit 4dd7471:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/t-sql/statements/deny-xml-schema-collection-permissions-transact-sql.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Does a failing RootBeer check prevent users from warning others using the SRS feature?

Avoid duplicates

[X] Question is not already answered in the FAQ
[X] Question is specific for Android only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
[X] Question has not already been asked in another issue

Your Question
The app perfroms RootBeer checks to detect if the device is rooted. If the RootBeer check fails, will this disable the ability to use others using the new SRS feature of version 3.0? Or will the SafetyNet attestation also fail in all cases where the RootBeer check fails?

The SafetyNet attestation is very similar to the RootBeer checks.
But only the SafetyNet attestation is used to ensure the rate limit for SRS submissions.

@thomasaugsten Thanks for the fest answer, however, I'm not sure, I fully understand. Let's get concrete:
If I root my device, which leads to a failing RootBeer check, will I be able to warn others using the SRS feature (because SafetyNet attestation succeeds) or will this not be possible (because attestation fails)?

SafetyNet will also check for root access and the attestation will fail

Thanks, answered!

@Ein-Tim
This case should probably also be added to the description on
https://www.coronawarn.app/en/faq/results/#rooted_devices "[Google/Android]: Can I use the app on a rooted device?"
Maybe you would like to propose a PR for this, since you initiated this topic?

@MikeMcC399 I'll take care of that later today!


log injection in springfox-swagger2

Hi!
We've discovered a medium priority security issue in springfox-swagger2 version 3.0.0 (the current release version), also still present on the current mainline version.
These two lines of code allow log injection of arbitrary strings, including newline (allows log forgery) and HTML/js code (potentially problematic if a web viewer is used to view logs).
Swagger2ControllerWebFlux.java:93
Swagger2ControllerWebMvc.java:96
Steps needed to reproduce: simply invoke the GET request in the controller, setting the group parameter to something containing a newline and the log line you want to inject.
/v2/api-docs?group=lala%0Ainjected-line
produces log output:
450524  WARN 2008 [0.0-6969-exec-7] [] s.d.s.web.Swagger2ControllerWebMvc       : Unable to find specification for group lala
injected-line
Suggested fix: sanitize user input before logging it. OWASP has libraries that do this properly,

Umm, is anybody still looking at Issues and PRs here? This is still unfixed and I made a PR that fixes it and improves test coverage along the way almost 3 months ago.


DASH Video does not show as Live

Dash video live streams do not show as live. And even attempting work around (like setting controls to off and turing on the live setting) do not work. In fact he entire data-setup attribute is ignored all together. I know that it works at first because on page load I see videojs with the settings I have in the config. But after the dash gets loaded it all gets removed.

Looks like a similar issue to https://github.com/videojs/video.js/issues/3111, we'll see if we can work around the issue in this plugin.

@forbesjo Any plans to still implement this?
It seems like at the moment the duration is coming from what dash.js is setting it to on the video element. Is the intention to override this value to Infinity in the source handler?

This fix is in 2.6.1


Feathr UI: API spec alignment and ux experience improvement

This PR update ui code to align with latest api spec which abstracts common interfaces among different registration providers. This PR also enhances lineage ux experience and adds RBAC experience for flighting.
Staging env: https://brave-moss-045d2ce00-6.eastasia.1.azurestaticapps.net/
New Feature registration API integration
API spec can be viewed at https://feathr-registry.azurewebsites.net/docs.  UI code is now purview free.
UX improvements

[x] When a feature is clicked, the feature node is highlighted
[x] When a feature is clicked, the feature level lineage path is highlighted. Feature level lineage means direct producer and consumer.
[x] Node in graph are colored grouped by feature type.
[x] User can toggle graph to filter by feature type.
[x] Flow arrow is enabled to indicate producer and consumer relationship
[x] All out of scope resources are removed in graph, for example, Altas Process, Project.
[x] Add navigate button in node so user can click to navigate to feature detail page.
[x] RBAC in flgihting, accessible via /management path.

Linked issue: #272

Overall it's pretty good. Some minor comments:

After i clicked a certain figure, can we highlight the feature where i clicked?
slightly move the graph in the middle.
Add tooltip or explantion text for what each color means
Add a way to click the feature and open the detail page.

Let's not put two distinct commits into one PR in the future.

I can't really find the UI changes for RBAC. If it's not accessible from UI, please attach a screenshot.

I can't really find the UI changes for RBAC. If it's not accessible from UI, please attach a screenshot.

RBAC UI is in flgihting, to pilot, plese use this direct url : https://brave-moss-045d2ce00-6.eastasia.1.azurestaticapps.net/management


[Question]: How to create Custom Parser for attached data sample ?

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
I have one document on which  implemented RAG pipeline. But i found that i need to customise nodeparser thing. I want to split the sentence with "-->" as i have that symbols in document attached.
data.txt
Each node should have separate Articles. Reason is each articles are different from each other and independent. So if anybody can help me with the configuration ?
I am using this snippet for text splitter and sentence splitter.
    splitter = TokenTextSplitter(
        chunk_size=1024,
        chunk_overlap=256,
        separator=" ",
        backup_separators=["\n"],
    )

    node_parser = SentenceSplitter(
        chunk_size=1024,
        chunk_overlap=256,
        include_prev_next_rel=True,
        include_metadata=True,
        paragraph_separator="-->"
    )

So if anybody can help me with the configuration ?

@dosu When i did this,
Still it not create separate nodes:


connect: Try to re-connect to proxy

Try to re-connect to proxy if connection is lost (e.g. proxy died)
with RECONNECT_TIMEOUT_S timeout.
This patch is needed to implement high availability of cc-proxy.
Fixes #53.
Signed-off-by: Dmitry Voytik<EMAIL_ADDRESS>

While we try to reconnect to proxy on errors while reading from proxy socket, I think we should do the same for failures to write to the proxy socket.
While this is a good start for ensuring high availability, I would like to mention that we need to keep track of messages for which the shim has not received any acknowledgement from the proxy and attempt to resend them. Right now the shim does not keep track of the responses received from proxy for the messages that it sends. I will open a separate issue for that so that it can be tackled in a separate PR.

@sboeuf, I've updated the patch. Could you please review it. Thanks.

@dvoytik sure, I'll do that tomorrow.

There are a couple of minor issues:

I'd add the new option in alphabetical order everywhere in the code.
Lots of strings hard-coding cc-proxy (I'd consider #define'ing it to avoid the duplications and make maintenance easier).

But these are nits, so:
lgtm

@amshinde - could you re-review?

@jodh-intel, sure, no problem. I've updated the PR according to your comments. Thanks.

@dvoytik in case you missed that in the old comments, you've missed one comment I left two weeks ago:

Since that's the second place in the code where we use both connect_to_proxy() with send_connect_command() right after (which is logical), I think we could factorize this through a new function.

Does that make sense ?

@sboeuf, sorry, indeed I missed that comment. Thanks for reminding. I've updated the PR.

Hi @dvoytik - are you still planning to work on this?

@jodh-intel, this PR was ready to merge one month ago in my opinion. I've rebased it again on the latest master. If all tests pass then it should be merged. This PR is needed to merge https://github.com/clearcontainers/proxy/pull/107

@sboeuf pls re-review - we'll need your status ack :-)

Yes this is fine. Let's wait for the CI on this PR and we can merge it.
LGTM

This still needs an ack from a project approver. @sameo, @grahamwhaley, @amshinde - could you take a look?

pingety-ping! :smile:

nice work btw @dvoytik :-)

@grahamwhaley, thank you! :)

Hi @amshinde - please can you review?

@amshinde - I've tested this PR in combination with https://github.com/clearcontainers/proxy/pull/107 and it works a treat! ;-)

@jodh-intel thanks!
lgtm


Electrum wont connect

Hey man,
I got EPS connected to bitcoin core and its synced.
All seems to be going well, however I cant get electrum to connect to EPS. It connects then disconnects a moment later.
Please bare with me as I'm used to using online wallets so this is all new to me, any idea what im doing wrong? If you need any other info about the configs etc or bigger logs let me know.
INFO:2019-05-05 18:15:16,476: Electrum connected from ('<IP_ADDRESS>', 36494) DEBUG:2019-05-05 18:15:16,477: => {"jsonrpc": "2.0", "method": "server.version", "id": 22, "params": ["3.3.4", "1.4"]} DEBUG:2019-05-05 18:15:16,477: <= {"jsonrpc": "2.0", "result": ["ElectrumPersonalServer 0.1.7", 1.4], "id": 22} DEBUG:2019-05-05 18:15:16,518: => {"jsonrpc": "2.0", "method": "blockchain.headers.subscribe", "id": 23} DEBUG:2019-05-05 18:15:16,519: are_headers_raw = True DEBUG:2019-05-05 18:15:16,520: <= {"jsonrpc": "2.0", "result": {"hex": "0400000074d1113766a5027d3190f24ec0fd226fdb0a222ccc6e0106000000000000000015956e59209ca761158c7ad4e7ef675475032ccddb8022d6fbfcb3bd7249388bb2cfb456f0280918dc35edaf", "height": 396872}, "id": 23} INFO:2019-05-05 18:15:16,520: Electrum wallet disconnected

Oh right seems my bitcoin core is NOT in sync, this is prolly causing it. My bad


Working with https web pages

Hi,
We are using JsBridge Unified library on Xamarin iOS app to communicate between web page and native functionality. We have a UIWebView which renders a web page and it invokes camera from device to scan a bar code. The library was working fine until we were serving http pages. Recently, we changed them to https and now it is not firing AddEventListener function to invoke camera.
Does this library prevents calls coming from https? Do we need to make any change in the app handle https requests?
I also added NSAllowsArbitraryLoads = True flag in Info.plist
We really appreciate your help
Thanks

I'm not aware of any problems over https but I haven't used this library personally in years.
How are you registering the browser side script? Make sure it's getting registered and isn't blocked by loading it over http on an https page.

I guess we are already registering the script

Here is the actual error we saw

Thanks

Hmmm, it's blocking the custom protocol app://
I don't know a way to configure the WebView to ignore that, unfortunately.
You could look into modifying things so it makes calls to https://yoursite.com/App/fireEvent and then try detect when that Url is accessed instead of relying on the custom url scheme.


Support cyclic dependencies in splitAsync()

How splitting works
Code splitting (as added in v0.2.0) constructs a graph of outputs on assumption that the graph is acyclic (no circular dependencies between outputs).
Every value "lives" in a single output file. Which output it lives in is determined by all the entry points which reference it. Livepack creates an acyclic directed graph of the relationships between outputs such that outputs only import values from other outputs "deeper" than themselves.
Example:
Value x is used by entry point A. x is also used by value y, which is used by B and C.

x goes in output A+B+C
y goes in B+C
A imports x from A+B+C
B and C import y from B+C
B+C imports x from A+B+C

Livepack outputs the files in descending order of depth. So A+B+C is output first, then B+C, then A, B and C.
Each shared file is named with a hash of its content. A+B+C is output first, so its filename is known before B+C is output, so the import statement importing x into B+C can be constructed using A+B+C's final filename including the hash.
The problem with splitAsync()
splitAsync() breaks the assumption that the graph of output dependencies is acyclic. It's possible for 2 outputs to dynamically import() each other.
Examples of cyclic relationships
Legitimate use
const importGetFilm = splitAsync(getFilm);
const importGetActor = splitAsync(getActor);

async function getFilm( filmId, withActors ) {
  const film = await axios(`/api/films/${filmId}`);
  if (withActors) {
    const getActor = (await importGetActor()).default;
    film.actors = await Promise.all( film.actorIds.map( actorId => getActor(actorId) ) );
  }
  return film;
}

async function getActor( actorId, withFilms ) {
  const actor = await axios(`/api/actors/${actorId}`);
  if (withFilms) {
    const getFilm = (await importGetFilm()).default;
    actor.films = await Promise.all( actor.filmIds.map( filmId => getFilm(filmId) ) );
  }
  return actor;
}

export { getFilm, getActor }

getFilm() and getActor() only need each other under certain conditions, so it's reasonable they lazy-load each other only when needed.
Currently serializing this throws a rather cryptic error Some values have unresolved outputs.
Pointless use
const obj = {};
obj.importObj = splitAsync(obj);

Currently this throws an error Circular use of splitAsync().
Accidental use
It's unfortunately very easy to produce cyclic dependencies accidentally at present, due to shared scope. This is common when using React, for example. e.g.:
import React from 'react';

const sections = [
  { id: 1, name: 'One' },
  { id: 2, name: 'Two' },
  { id: 3, name: 'Three' }
].map(
  ( { id, name } ) => ( {
    id,
    component: React.Lazy( splitAsync(
      function Section() {
        return React.createElement( 'div', {}, 'Name: ', name );
      }
    ) )
  } )
);

export default function App() {
  return React.createElement(
    React.Suspense,
    { fallback: 'Loading...' },
    sections.map(
      React.createElement( 'div', { key: section.id }, section.component )
    )
  );
}

The problem is that Section() and App() both reference the var React in upper scope. When serializing, Livepack puts both functions into a scope wrapper together, with React injected in. So there's a cyclic relationship created between Section and scope.
Currently serializing this throws Some values have unresolved outputs.
This case can be solved by moving the definition of sections and App() into different source files, so they're not sharing the same scope, but it's not ideal.
This problem will become much less common if #100 is implemented, but for now it's a common hazard.
What cases to support
The legitimate use case should definitely be supported.
A solution for that case would also solve the other cases, though possibly Livepack should still throw/warn as it's probably not what the user intended - the use of splitAsync() isn't going to offer any benefit. But the warning could at least be more descriptive to help the user avoid the situation.
Solution
Livepack needs to support cyclic dependencies.
The tricky part is that the output filenames contain hashes of their content.
If chunk1 and chunk2 dynamically import each other, chunk1 will contain import('chunk1.XXXXXXXX.js') and chunk2 contain import('chunk2.YYYYYYYY.js'). So the file content of chunk1 contains the hash of chunk2 and vice-versa. This is impossible.
ESBuild has the same problem, but avoids it by not including hashes in filenames which are import()-ed. That works for ESBuild since it only creates async split points on exports of source files, so the source file's path can act as a unique identifier it can use for the chunk filename. This is not workable for Livepack, as splitAsync() acts on a value, not a file.
ESBuild's author suggests a solution in https://github.com/evanw/esbuild/issues/16#issuecomment-733424446:

use dummy text for import paths, calculate all of the file hashes, then swap the dummy text for the real import paths. The file hashes will be "wrong" in that they won't be a hash of the ultimate file contents, but presumably it'd still be ok for cache invalidation as long as you mix in the hashes of all files involved in a cycle with each other.

The constraints are:

When any file in a cycle changes, the hashes of all files in that cycle must change.
Changes which don't affect any of the files in a cycle should not change the hashes of any of them.

The latter constraint implies that the placeholders (aka "dummy text" in quote above) used before hashing cannot include any identifier which is not stable.
Possible procedure:

Before rendering an output to JS, identify any import() expressions (and maybe import statements too?) in that file which refer to outputs which don't already have a filename.
Record the cyclic relationship.
Replace all unresolved import() expressions with placeholders each including the ID of the output it refers to.
Generate JS for file.
Find all placeholders in output JS and record their order and which outputs they refer to.
Replace all placeholders with a uniform placeholder (which is always the same, regardless of which output the import() refers to).
Hash the JS and record the hash.
Do not create a filename for this file.

When a cycle is complete (i.e. the last output in the cycle has been generated), for each output in the cycle:

Concatenate it's calculated hash with the hashes of all other outputs included in the cycle.
Hash that string.
Create filename including that hash.
Replace all placeholders in other files referring to this one with the real filename.

Placeholder text:
Placeholder text would need to be same length as what will eventually replace it, to avoid screwing up source maps.
It's possible the user's code might happen to contain the placeholder text already. If the placeholder was import('./-----.--------.js'), user code might include that already in a string or comment. When replacing placeholders with final text, would need to make sure the user code is not altered accidentally. 2 options:

Placeholder is some text which is impossible for valid JS to contain. I think **/\n'"``1 might work.
Count the number of placeholders inserted and count their replacement. If the counts don't match, use a different placeholder.

Opened an issue on Babel about placeholders: https://github.com/babel/babel/issues/13003


PullToRefreshListView: Upside down mode of pulling

Is it possible to support 'upside down pull to refresh' ?
'Upside down' means that if the scroll is reached to the bottom end then pulling up to refresh.

That should be possible. I'll investigate and report.


⚠ Bofrost.at has degraded performance

In 80ad836, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1573 ms

Resolved: Bofrost.at performance has improved in 97398aa after 20 minutes.


Some builds of siren-tests longevities are duplicated on "to investigate" panel

The recent builds of some siren-tests longevities are displayed twice when one picks them to investigate

The fragment of the response for https://argus.scylladb.com/api/v1/release/stats/v2?release=siren-tests&limited=0&force=0&productVersion= with stats of scylla-cloud-longevity-small-set-1h-gcp job. The duplicated builds have different start time.
  "e13b803f-b491-4503-8b17-ebe5bc598bce": {
                        "hasBugReport": false,
                        "hasComments": false,
                        "investigation_status": "not_investigated",
                        "last_runs": [
                            {
                                "assignee": null,
                                "build_job_name": "siren-tests/longevity-tests/scylla-cloud-longevity-small-set-1h-gcp",
                                "build_number": 413,
                                "comments": [],
                                "issues": [],
                                "start_time": "2023-07-20 21:09:08 UTC",
                                "status": "passed"
                            },
                            {
                                "assignee": null,
                                "build_job_name": "siren-tests/longevity-tests/scylla-cloud-longevity-small-set-1h-gcp",
                                "build_number": 413,
                                "comments": [],
                                "issues": [],
                                "start_time": "2023-07-20 21:08:37 UTC",
                                "status": "passed"
                            },
                            {
                                "assignee": null,
                                "build_job_name": "siren-tests/longevity-tests/scylla-cloud-longevity-small-set-1h-gcp",
                                "build_number": 412,
                                "comments": [],
                                "issues": [],
                                "start_time": "2023-07-20 07:50:36 UTC",
                                "status": "passed"
                            },
                            {
                                "assignee": null,
                                "build_job_name": "siren-tests/longevity-tests/scylla-cloud-longevity-small-set-1h-gcp",
                                "build_number": 412,
                                "comments": [],
                                "issues": [],
                                "start_time": "2023-07-20 07:50:01 UTC",
                                "status": "passed"
                            },
                            {
                                "assignee": null,
                                "build_job_name": "siren-tests/longevity-tests/scylla-cloud-longevity-small-set-1h-gcp",
                                "build_number": 411,
                                "comments": [
                                    {
                                        "id": "935575d2-623a-491a-98c6-6132724aa555",
                                        "mentions": [],
                                        "message": "The root cause of failure addressed in PR: https://github.com/scylladb/scylla-cluster-tests/pull/6397",
                                        "posted_at":<PHONE_NUMBER>,
                                        "reactions": {},
                                        "release_id": "b100faf4-c0c4-47d7-b8e4-2449b566fa2b",
                                        "test_run_id": "280ca8e5-a9e9-4303-9e46-de43a43096d4",
                                        "user_id": "6b7d15ae-bb5a-4ba1-b247-11d307052d48"
                                    }
                                ],
                                "issues": [],
                                "start_time": "2023-07-20 05:37:44 UTC",
                                "status": "failed"
                            }
                        ],
                        "start_time": "2023-07-20 21:09:08 UTC",
                        "status": "passed",
                        "test": {
                            "assignee": [],
                            "build_system_id": "siren-tests/longevity-tests/scylla-cloud-longevity-small-set-1h-gcp",
                            "build_system_url": "https://jenkins.scylladb.com/job/siren-tests/job/longevity-tests/job/scylla-cloud-longevity-small-set-1h-gcp/",
                            "description": null,
                            "enabled": true,
                            "group_id": "eaa7b43e-13f3-4b24-b396-9d79cb410aff",
                            "id": "e13b803f-b491-4503-8b17-ebe5bc598bce",
                            "name": "scylla-cloud-longevity-small-set-1h-gcp",
                            "plugin_name": "scylla-cluster-tests",
                            "pretty_name": null,
                            "release_id": "b100faf4-c0c4-47d7-b8e4-2449b566fa2b"
                        }
                    },

@roydahan , @temichus - FYI, this task is important to the cloud team

Due to #268 they aren't duplicated - release dashboard correctly sees both sirenada and sct run, but the run page can only query one or the other depending on what is defined in the test and the logic that submits runs to either will correct the test entity to either sirenada or sct. You can see that now by starting a job, before SCT run launches but sirenada reports the page will show Sirenada runs, but after SCT runs it will show SCT runs.


no neck

I just want to train Faster RCNN without neck.what should i do?

You can remove the neck part in the config and modify the detection head to be consistent with the feature map of the backbone.


Use raw Sortable.js for meteor app

I build app with meteor. I know there have package. But with complexity of my app, raw sortable.js suit me well
Without the change, Sortable will return undefined because Sortable see I use Sortable via package. The fact is not. So we should check the exact package name [rubaxa:sortable], instead of Package alone
By this, the check will return false because I don't install rubaxa:sortable

https://github.com/RubaXa/Sortable/blob/master/CONTRIBUTING.md

Can you explain what point you want to make with your contributing link? I'm not sure what the issue is but the code works fine.

Pull Request
Before PR run grunt;
Only into dev-branch.

Also you should always work in a branch on your fork when doing dev work.


Temporarily disable MKL

Fix copied from
https://github.com/scikit-learn/scikit-learn/pull/6508

@mblondel I would appreciate it if you could review this. Travis on all other PRs is failing due to the issue

@ogrisel @fabianp Any idea?

I have no idea, we are not getting that error for lightning's build

Coverage remained the same at 100.0% when pulling cb2108a673c55c09b4a15eeaa9509e59ec866362 on vighneshbirodkar:mkl_fix into 5388b339985e72fbea2c35c14497aa61aa715aa7 on scikit-learn-contrib:master.

@mblondel The issue is specific to numpy version. Like lightning if we install latest numpy, scipy versions we don't encounter this problem.

Coverage remained the same at 100.0% when pulling 9e74f6f433aae1f20394959b30e2c22f6187b10c on vighneshbirodkar:mkl_fix into 5388b339985e72fbea2c35c14497aa61aa715aa7 on scikit-learn-contrib:master.

Coverage remained the same at 100.0% when pulling 9e74f6f433aae1f20394959b30e2c22f6187b10c on vighneshbirodkar:mkl_fix into 5388b339985e72fbea2c35c14497aa61aa715aa7 on scikit-learn-contrib:master.

Coverage remained the same at 100.0% when pulling b0cc1d0257dc22662406854147ce4bc5ed2f1264 on vighneshbirodkar:mkl_fix into 5388b339985e72fbea2c35c14497aa61aa715aa7 on scikit-learn-contrib:master.

Coverage remained the same at 100.0% when pulling 474dee64c3cb8b62c2f2a0bc08adad6d5ec9464b on vighneshbirodkar:mkl_fix into 5388b339985e72fbea2c35c14497aa61aa715aa7 on scikit-learn-contrib:master.

Coverage remained the same at 100.0% when pulling 4db3b8c19b7839c5f9c16e1af8ff34c5b01e401a on vighneshbirodkar:mkl_fix into 5388b339985e72fbea2c35c14497aa61aa715aa7 on scikit-learn-contrib:master.

I discussed with @amueller IRL and he suggested I merge this.


ConfigurationRegistry handles contributed configs very poorly

Sorry I cannot save the cpuprofile.
With the default extensions this consumes 31ms of start-up time.
Long story short, for each contributed configuration, the configuration registry ends up emitting one event, which ends up triggering N configuration change events, where N is the number of contributed configurations. IMHO they should result in a single configuration change event.

Yeah, I wonder who introduced this ;)

When I added it, there was only one customer, so the loop was effectively a single call at that time :D
Thank you! :heart:

Better fix is to introduce a bulk API registerConfigurations

Nice! Thank you!


Response header support

First off, this is a fantastic viewer. Thank you!
I noticed that when I add headers to a given response object, that data is not included in the output.
I wanted to try to submit a PR for you to save you some time, but I really don't know how you would want to display the list of headers...
It does look like you collected all of the information into a variable at https://github.com/mrin9/RapiDoc/blob/master/src/components/api-response.js#L151 but there's no code to actually use the headersForEachRespStatus. Is this particular thing still a work in progress?
Here's the header code I was using -- it's parsing correctly into that variable as far as I can tell...
      responses:
        201:
          description: "Successfully created with location header set for new user"
          headers:
            Location:
              description: "URL for the newly created user"
              schema:
                type: string
                example: "http://localhost/api/user/1"

FWIW, here's where I'm using it:

https://shrtnr.github.io/api-docs/
https://github.com/shrtnr/api-docs

I do have a plan to show them. but no work is in progress and I will be very happy to receive a PR.
The way I envision it is, another tab for them besides 'EXAMPLE' and 'MODEL' ( just like the way you see them after you "TRY" an api

This should now be fixed in 5.0.1 release.

I added a separate section for response headers instead of creating a tab as  I mentioned earlier. This is due to the response header can have their own schema & example where as the tabs are  dedicated to response schema and example

Because I'm pulling your CDN copy it worked immediately. Looks great! Thank
you!
On Sat, May 18, 2019, 7:29 PM Mrinmoy<EMAIL_ADDRESS>wrote:

This should now be fixed in 5.0.1 release.
I added a separate section for response headers instead of creating a tab
as I mentioned earlier. This is due to the response header can have their
own schema & example where as the tabs are dedicated to response schema
and example
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mrin9/RapiDoc/issues/25?email_source=notifications&email_token=AAACM6UDHJYPZSEP2RYTBETPWCNPNA5CNFSM4HLTLUZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVWYMKY#issuecomment-493717035,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAACM6VYR6AFLSZFFYX5KJ3PWCNPNANCNFSM4HLTLUZA
.