FAQ expansion?

We're getting a lot of people on gitter asking about how to make components stylable - as in styled(Link) - usually having run into needing the className prop used meaningfully on their component. This should probably be clarified in documentation, and is justified for entry as a frequently asked question.
Something to the effect of this:
How do I use styled-components to style my custom components?
Any component which uses the classNameprop sensibly will work with styled-components.
const MyComp = props => <div className={props.className}>
  This is my content
</div>

const MyStyledComp = styled(MyComp)`
  background-color: red;
`;

Not that the className passed in props gets applied to the <div> tag in the example component. This is how styled-components applies style to elements.

Don't we mention this like three times in the documentation? I agree though, obviously this needs to be stated higher up in the docs since people miss it.

@mxstbr I think the right way to go forward with the docs is to have a "recipes" section for stuff like this. It's too easy to miss things, if the most important things are just in the readme with brief descriptions and instructions.

I think the best way to go forward with docs is to move them to the website. Embedded live snippets and nice navigation should clear up a lot of common confusions, I just don't have time to dig in right now :confused:

@mxstbr I was actually thinking about just that :smile:

I'm currently working on the new site / documentation. The section that should address this is here: https://github.com/styled-components/styled-components-website/blob/master/components/basics/overriding-component-styles.js


add page for open data inventory

per @BradleyMcCarty, this page should describe the open data inventory project and have space for embedding the inventory grid so users can review and download

new page is here: http://cityofaustin.github.io/open-data-manual/inventory/
cc @BradleyMcCarty


I can't disable omsagent on running aks cluster

I want to remove omsagent and disconnect logs workspace from my AKS cluster.
When I want to disable omsagent I have a following error:
This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az aks disable-addons
Errors:
'omsagent'
Traceback (most recent call last):
python3.6/site-packages/knack/cli.py, ln 206, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 608, in execute
    raise ex
cli/core/commands/__init__.py, ln 666, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
cli/core/commands/__init__.py, ln 659, in _run_job
    six.reraise(*sys.exc_info())
lib/python3.6/site-packages/six.py, ln 693, in reraise
    raise value
...
azure/cli/core/__init__.py, ln 490, in default_command_handler
    return op(**command_args)
cli/command_modules/acs/custom.py, ln 1828, in aks_disable_addons
    no_wait=no_wait
cli/command_modules/acs/custom.py, ln 2188, in _update_addons
    addon = ADDONS[addon_arg]
KeyError: 'omsagent'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az aks disable-addons -a {} -n {} -g {}

Expected Behavior
Environment Summary
Linux-4.15.0-1064-azure-x86_64-with-debian-stretch-sid
Python 3.6.5
Shell: bash

azure-cli 2.0.78

Additional Context

part of command
{
  "aadProfile": null,
  "addonProfiles": {
    "omsagent": {
      "config": {
        "logAnalyticsWorkspaceResourceID": "/subscriptions/***/resourcegroups/prod-aks/providers/microsoft.operationalinsights/workspaces/aksmonitor-10847902892197788931"
      },
      "enabled": true
    }
  },````
Kubernetes version 1.15.4

The name of the addon is "monitoring"  not "omsagent". Have you tried that?

No, I haven't tried to disable monitoring. I use vm scale set with AKS. Will autoscaling work without monitoring feature disabled?

Sorry I'm a bit confused. What are you trying to do?
On the title and from the error I see you are trying to disable the omsagent aka monitoring.
On the CLI the command for that is az aks disable-addons -a monitoring
When you say autoscaling you mean Horizontal Pod Autoscaling or Cluster Autoscaling, none of this depends by default on Azure Monitor metrics, thought you can configure HPA to use custom metrics.

This is an answer for my question. I will disable monitoring because Cluster Autoscaling not depends on Azure Metric by deafult.


Investigate fedora queue failures

Looks like wget isn't installed :-/

Sounds like fedora is just a disk space issue, https://github.com/dotnet/core-eng/issues/5204 so we can prob just wait

Linked issue has been resolved, so retrying fedora queues

Will be merged as part of https://github.com/aspnet/AspNetCore/pull/7543, fedora queues look fixed and can be reenabled


can't uninstall RVC???

there's two .dll files (which add up to 841 mb) that refuse to let me delete them. it constantly says they're being used by another program, even though i don't have rvc running.
i tried command prompt del file, didn't work. ran as administrator and it didn't work.
tried process explorer, the .dlls didn't even show up so it didn't work.
this is extremely frustrating as i'm trying to save space in my pc, and rvc stopped working for me a while ago anyway. literally made a github account just to post this.

Did you ever figure out how to uninstall it? I've got the same problem.


No timeouts when paused with a debugger

There's a connection timeout that exits the application and makes us lose debugging context.

@Pombal There's also an environment flag: AMBIENT_DISABLE_TIMEOUT which disables network timeouts

Thanks, that's good to know!
But I believe we need runtime detection with something like Windows' IsDebuggerPresent() (cross platform of course).


Extend static-loader to configure the express static middleware

Usually I would want to set cache headers etc, so it seems like if static-loader abstracts away setting up the static routes, it should also accept additional configuration like the cache headers.
If you like I could look into a PR.

Hi,
Sure, please send a PR, thanks!


Doesn't work with NS7

Hey. As far as I'm aware, this needs to be recompiled to target es2017 to work with NS7 correctly. Currently, when trying to use it with NS7, it throws this error while trying to instantiate the map component:
JS: ERROR Error: Uncaught (in promise): TypeError: Class constructor ContentView cannot be invoked without 'new'
JS: TypeError: Class constructor ContentView cannot be invoked without 'new'
JS:     at MapboxViewCommonBase [as constructor] (file: node_modules\nativescript-mapbox\mapbox.common.js:73:0)
JS:     at MapboxViewBase [as constructor] (file: node_modules\nativescript-mapbox\mapbox.common.js:281:0)
JS:     at new MapboxView (file: node_modules\nativescript-mapbox\mapbox.android.js:20:0)
JS:     at ViewUtil.createView (file: node_modules\@nativescript\angular\__ivy_ngcc__\fesm2015\nativescript-angular.js:2550:0)

Ok. Thanks for letting me know. I'm behind schedule on my end and had hoped to loop back around to the plugin before now. I haven't upgraded to NS7 yet. I don't have an ETA when I'll get back to it but it shouldn't be too much longer now. If you want to take a crack at it and create a pull request I can take the time out to review it. Otherwise, hopefully in the next few weeks I can get to it. I apologize for the delay.

No worries. I delay my (much smaller) OS projects too. I'll try my best with a PR.

Having the same issue here, non angular / vue app.

Me too. Vue app. Please make update.

Me too. I've the same problem

@trevortos @codeturn @jeffersondossantosaguiar here is a PR open for this: https://github.com/Yermo/nativescript-mapbox/pull/388
I you need this, too, maybe you can check it out and validate the changes work as expected? I think that will make it a lot easier for @Yermo to merge it when he get to it ;-)
I'm planning to do so and want to validate the PR ASAP

I am in the need on that plugin on N 7.
I will create a fork under @nativescript-community. I really hope that is ok. I tried to contact @Yermo but now answer, i hope it is ok with you.
If we all agree we can start maintaining it there (which makes more sense), and people are welcome to join @nativescript-community to contribute more and in an easier way

My apologies that I have been MIA. I had hoped to get back to working on the plugin much sooner but life keeps conspiring to get in the way. If you need to fork it, please go ahead. Of course it's ok.

@Yermo done and released a "first version". already quite a lot of changes
Thanks

the mapbox plugin is now an will remain maintained at @nativescript-community  https://github.com/nativescript-community/ui-mapbox. We released the new plugin for N7 with a lot of fixes  https://www.npmjs.com/package/@nativescript-community/ui-mapbox


refactor: use callTracer for geth style traces

What I did
Very simple refactoring made while working on geth-style trace gas discrepancies.
How I did it

How to verify it

Checklist

[ ] All changes are completed
[ ] New test cases have been added
[ ] Documentation has been updated

Requires evm-trace release


Added the ability to get or set the last change tick of a system.

Objective
I'm build a UI system for bevy. In this UI system there is a concept of a system per UI entity. I had an issue where change detection wasn't working how I would expect and it's because when a function system is ran the last_change_tick is updated with the latest tick(from world). In my particular case I want to "wait" to update the last_change_tick until after my system runs for each entity.
Solution
Initially I thought bypassing the change detection all together would be a good fix, but on talking to some users in discord a simpler fix is to just expose last_change_tick to the end users. This is achieved by adding the following to the System trait:
    /// Allows users to get the system's last change tick.
    fn get_last_change_tick(&self) -> u32;
    /// Allows users to set the system's last change tick.
    fn set_last_change_tick(&mut self, last_change_tick: u32);

This causes a bit of weirdness with two implementors of System. FixedTimestep and ChainSystem both implement system and thus it's required that some sort of implementation be given for the new functions. I solved this by outputting a warning and not doing anything for these systems.
I think it's important to understand why I can't add the new functions only to the function system and not to the System trait. In my code I store the systems generically as Box<dyn System<...>>. I do this because I have differing parameters that are being passed in depending on the UI widget's system.  As far as I can tell there isn't a way to take a system trait and cast it into a specific type without knowing what those parameters are.
In my own code this ends up looking something like:
// Runs per entity.
let old_tick = widget_system.get_last_change_tick();
should_update_children = widget_system.run((widget_tree.clone(), entity.0), world);
widget_system.set_last_change_tick(old_tick);

// later on after all the entities have been processed:
for system in context.systems.values_mut() {
    system.set_last_change_tick(world.read_change_tick());
}

Changelog

Added get_last_change_tick and set_last_change_tick to System's.

Related to: #5633

@DJMcNab, would this benefit from the removal of chained systems as a hardcoded object?

@DJMcNab, would this benefit from the removal of chained systems as a hardcoded object?

I think it would just (effectively) implicitly do what @StarArawn did in the latest commit.

So the context here is running the same system multiple times within a single 'logical step'? I think in terms of chain system, this should be equivalent. I'm a little bit unsure why it can't just fall call the child's versions. Making chain system be a normal system would fix that. I've just now tried to resolve chain system, and it's still blocked on TAIT (.after breaks just using a naïve Box<dyn System>).
I'm tempted to say that the correct fix here is to make systems not track their own change tick at all, and always take it as an argument. That is, make the semantics be run_between_change_ticks. That being said, manual handling of change ticks in general seems like a very easy thing to get wrong, and I'm hesitant to support it at all.
Then again, we don't support use case cases where people run systems on their own outside of schedules, so if people want to have their fun, why not let them.
I'm hesistant to forward this guarantee onwards. That is, I'm happy enough if we merge this, but I don't want us to track this regressing somehow (e.g. a SystemParam can still assume that change ticks behave sensibly)

I'm tempted to say that the correct fix here is to make systems not track their own change tick at all, and always take it as an argument. That is, make the semantics be run_between_change_ticks. That being said, manual handling of change ticks in general seems like a very easy thing to get wrong, and I'm hesitant to support it at all.

This was the first idea I had however it felt a bit more breaking and I wanted to limit my scope here as much as possible.

bors r+


some code problems reguarding run_relation_approx(get_features_from_file)

Q1:
after inserting context to the sentence and tokenizing the sentence, there is a line asserting the length of tokenized sentence is smaller than max sequence length (line: 154), but there is no truncation. So how could the code run through ? I just did a slice( len(tokens[:max_seq_length-4]) < max sequence length ) to make sure the code run throuhg?
Q2:
in line 179  if (len(tokens) + 4 > max_seq_length) or (not(batch_computation) and len(tokens) > num_tokens):
it seems that it cannot satisfy any of the conditions with provided parametere (max_seq_length:128)
looking forward to your answers, and thanks in advance

Thanks for your insights and answers, many many thx


[#40] Add pull request template

Add a pull request template
Closes #40

@tlbueno could align the issue templates to the operator ones?
https://github.com/artemiscloud/activemq-artemis-operator/tree/main/.github/ISSUE_TEMPLATE


切换主题不能改变状态栏底色，蓝色背景太强烈看不清楚显示的信息

Neovim version
NVIM v0.8.1 Build type: RelWithDebInfo LuaJIT 2.1.0-beta3
Operating system/version
CentOS Linux release 7.9.2009 (Core)
Terminal name/version
mac term
$TERM environment variable
xterm-256color
Branch info
main (Default/Latest)
Fetch Preferences
SSH (use_ssh = true)
How to reproduce the issue
switch scheme and see status bar
Expected behavior
status bar background color changed
Actual behavior
not change：

Additional information
has install Nerd Font:

Which theme are you using? I don't know why your background is so light, it maybe related to your terminal background theme.
If you want to change the status line theme, your need to modify here:
https://github.com/ayamir/nvimdots/blob/4f4bc57bbd59686ab778739ab6e5f3557f8e6174/lua/modules/ui/config.lua#L456
And then PackerCompile

I was use 'blue', and changed to many other schemes show in above picutures.
after set theme = 'blue' in ~/.config/lua/modules/ui/config.lua,  status line changed:

:LualineNotices shows

anything wrong?
I use scheme 'blue' in ~/.config/nvim/lua/core/init.lua too, and no error occurs

You set lualine theme from this list

set lualine scheme to 'onelight' and it works:

thks~


make: Fix broken make task

This PR fixes the error we get from make jsonnet-fmt:
➜ make jsonnet-format
/bin/sh: -c: line 1: syntax error: unexpected end of file
make: *** [jsonnet-format] Error 2

Signed-off-by: Kemal Akkoyun<EMAIL_ADDRESS>
[ ] I added CHANGELOG entry for this change.
[ ] Change is not relevant to the end user.

Changes

Fix make task.

Verification

make jsonnet-format
make jsonnet-format-in-container

cc @brancz


Select menu updates

Fix the indentation in the examples
we use spaces, not tabs

Haven't had time to test, are we happy with resolved being vague or is there a definitive list of keys that resolved is populated with for each type? ddocs don't say


Option to minify output

There are various packages, for example leaflet, who don't have minified versions of their files in their dist/ directory. So maybe unpkg can listen for a get parameter(e.g. ?m = minified version) and it tries to minify the css and js(and later on more languages)?

It looks like<EMAIL_ADDRESS>is already minified?
But yes, I agree that a query parameter to automatically minify files might be a good idea. But up to this point a lot of library authors have just been publishing minified versions to npm.

Well, I meant the css file<EMAIL_ADDRESS>Sorry for the confusion, but happy to hear that this is considered. :)

+1 this would be very helpful

I don't think Unpkg should minify it. Instead the packages can define a minified file inside the package.json file.
{
  "browser": "app.js",
  "browser:min": "app.min.js"
}

and then there maybe some way to define the min option via query parameter. This way unpkg is not concerned on how you minify your code.

An option inside package.json is not a bad idea, @thetutlage. But you probably want to be aware that we are planning on removing support for browser eventually, so just a heads up.

@mjackson That link doesn't work. I think you meant to link to #63

https://www.jsdelivr.com/ is automatically minifying the files by just adding the .min extension to any file. See<EMAIL_ADDRESS>Using the .min will be better than the get parameter since is the expected behavior.

Agreed, @jsdelivr did it correctly.
Minification should not be the default behavior. Instead, let the user opt-in by specifying the URL.
Compare these two:
<EMAIL_ADDRESS><EMAIL_ADDRESS>You can see there is no minified version in the /lib directory because it wasn't published.
Simply adding .min to the URL will generate the minified file and a source map 🎉
I think @unpkg should do the same 👍

Just a note on Cloudflare's default minifaction: It's not good at JavaScript compared to what we're used to with eg. uglifier. Some propriatary approach optimised for speed (ie. realtime) rather than compression results.
I concur that the best approach would to no default to minifaction but instead add an API, eg ?minify at end of URL's.

Cloudflare's js minification isn't necessarily optimised for speed as it's not done on realtime. It works asynchronously when a new file is detected. That said, the minfication doesn't support the latest js syntax and is rather simple. I would recommend using another tool for better results.

@xtuc do you have data to back that up?
I did some testing of Cloudflare's auto minimize mode about 1 year ago and concluded it was applied in real-time but hardly made any difference at all for JavaScript files. This was unlike eg. BunnyCDN and others who apply heavier minification asynchronously.
Personally prefer the "properly minimized but async" approach so would be interested to know if they changed approach.

@dbackeus I work on it at Cloudflare.


Replace --skip-aggressive-merging with all property merges implemented.

Phew, aggressive merging is gone. #254, #860, and #861 will add support for the missing shorthands.


provision for GraphDB(neo4j /neptune etc.) as source and target

++ @AnudeepKonaboina / @Kalyan-D ,
Is  there a provision to read from Graph DB and write to Hadoop? If yes can you give an example of how the connector would look like?

@code-roster ,
Thanks for writing to us. We don't have the provision to read and write to Graph DB's yet ,but on your ask ,we will try to implement it in the future and let you know once it is released .Marking your issue as an enhancement.

Thank you for that. There's on more use case of mine where I want to move some SAS datasets and ftp datasets to HDFS and S3 .Could you please help me on that as well . I see your framework also supports writing from and to filesystems. Could you elaborate more on that please?

Could you please open another issue for this ? @Kalyan-D will be working on that.

@code-roster ,
Provision for reading and writing to Graph database is now completed. You can use the latest maven Release for using that feature.
Maven Release:
 libraryDependencies += "io.github.romans-weapon" %% "spear-framework" % "2.4-3.0"

Example connectors:

GraphDB as source
GraphDB as Target

Please let me know if this satisfies your requirements.

Thanks,
This is more than enough .Thanks for your support!!!


Tenant list API should not show the tenants which are created for organizations.

Describe the issue:

The tenant management API can be used to create tenants. Also when creating organizations via the organization management API, tenants are created behind the scene.

When listing the tenants of the server, both tenants will be listed. But only the tenants created via the tenant management API should be listed, as the underlying implemantion of organizations being tenant need not to be exposed.

How to reproduce:
1 - Create tenant using tenant management API or via the management console.
2 - Create a suborganization from the console or via the organization management API.
3 - List the tenants of the server.
Expected behavior:
Only the tenants created via the tenant management API should be listed.
Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: [7.0.0-m1]
OS: [Mac]
Database: [H2]
Userstore: [JDBC]

The fix is sent, but unit test fails. Need to fix and send the fix.

This is Fixed.


updated to otoole v1.0

Updated repository to work with otoole v1.0. No changes made to the model data.

Hi @willu47! Are you able to review and merge this PR please? I don't have access to merge PRs in Simplicity. Additionally, are you able to update the zenodo repository with the updated files please? That way the wget command will still pull the correct files. I included the config.yaml and an OSeMOSYS model in the repository.
Thanks so much! Please just let me know if you want any changes made before merging! :)


Fix for 14200: Tuples not being expanded during c++ mangling.

Shouldn't the tuples have been expanded already before it gets to mangling?

Shouldn't the tuples have been expanded already before it gets to mangling?
I don't know enough about the dmd internals to answer design questions. Due to the fact that this is a windows only bug I assumed that the issue lies in the mangler and not the calling code. The proposed fix is within a windows only section of the code.

It looks like the itanium mangling uses Parameter::foreach, which expands out tuples automatically.  The windows code should probably be doing the same thing, instead of the loop it currently uses.

I changed the implementation to use Parameter::foreach

Auto-merge toggled on


refactor: On ui layer analytics injected by entrypoint

Issue: #1471
Suggest changing the UI layer injection method of Analytics Instance in Analytics Module.
Instead of using CompositionLocal, how about using Hilt's EntryPoint?
It has these advantages.

It has the advantage of reducing MainActivity injection code.
Management outside HiltScope can be reduced.
Analytics can eliminate compose dependency.

Additionally, in analytics/AnalyticsModule, how about creating an instance as a singleton?

This is just a chat, but if a Composable that calls analyticsInstance() leaves the Composition and later AnalyticsHelper is needed again, it seems necessary to fetch the object from the dependency graph again. In the existing implementation, it is managed by the Activity Lifecycle, so I think there wouldn't be such unnecessary overhead. What do you think?
Additionally, according to the comments in the existing code, NoOpAnalyticsHelper() is used to run the Preview. Do you think the modified code can replace it?

@yongsuk44 Thanks for your feedback

Additionally, according to the comments in the existing code, NoOpAnalyticsHelper() is used to run the Preview. Do you think the modified code can replace it?
I think it is changed by the lambda code so that preview will be OK

This is just a chat, but if a Composable that calls analyticsInstance() leaves the Composition and later AnalyticsHelper is needed again, it seems necessary to fetch the object from the dependency graph again. In the existing implementation, it is managed by the Activity Lifecycle, so I think there wouldn't be such unnecessary overhead. What do you think?

I also agree that cost existed.
It was confirmed that there was a difference of more than 5000 NanoTime. I think that it seems to be a trade-off area with the advantages I suggested.

I think it would be simpler to write TrackScreenViewEvent in the InterestsRoute rather than hoisting. I'm curious if it's possible to replace the previews of components like userNewsResourceCardItems and newsFeed.

It seems to me that comparing how much the frame changes through ScrollForYouFeedBenchmark would make things clearer. What do you think?

@yongsuk44
I think improvements can be made with a nested callback structure, but I don't think it's a good structure.
I suggested CompositionLocal because I was wondering why, and I found the answer.
Your suggestions and questions were helpful. Thank you.

We cannot merge this PR unless the Build workflow completes successfully. Additionally, you have not enabled contributions from maintainers on your branch so I cannot do this manually.
Please run the following commands:
git commit --allow-empty -m "Retrigger Build workflow"
git push

If we don't hear back from you within 1 week this PR will be closed.


Fix a bug that build in C++11 mode is not enabled

What I've done
Fixed a bug that build in C++11 mode is not enabled because CPPFLAGS , which is a flag for C preprocessor, was used.
So I've replaced CPPFLAGS with CXXFLAGS to enable C++11 build.
In addition, I've deleted -I/usr/include/postgresql from gcc5_c++11_python34 job because we don't need to pass that path in a non-full build.
How to test
You can check to see if CXXFLAGS value contains -std=c++11 -Wno-deprecated-declarations after running ./waf configure in gcc5_c++11_python34 and gcc5_c++11_full job.

LGTM! Thanks a lot!!


Cannot build with go  version 1.17 anymore

Building using go v1.17+ for Production doesn't work anymore as new features added require at least version 1.20+ to work.

Building using version v1.20+ though generates an error due to -buildvcs which is known go issue (NOT CASDOOR).

The workaround is to build it with the buildvcs flag disable added in the build command like the following.
go build -buildvcs=false .

Building this way should work smoothly.

I'm sorry that I can;'t reproduce this issue when I use go1.23.0 linux/amd64

and according to the issue you provide, it seems that you are using different vcs tool in the parent directory that cause build fail

Closed as cannot reproduce


18/05/16 00:48:50 ERROR YarnClusterScheduler: Lost executor 4 on impetus-i0057.impetus.co.in: Container killed by YARN for exceeding memory limits. 8.9 GB of 8 GB physical memory used. Consider boosting spark.yarn.executor.memoryOverhead.

Closing due to inactivity.  Feel free to reopen if still an issue.


lifecycle / life-cycle / timeline - word usage issues

"Lifecycle" and "life-cycle" are both used on this page which is inconsistent. And the correct spelling should be two words: "life cycle." Note: This inconsistency/inaccuracy is actually a problem throughout the Microsoft docs.

The second sentence uses "timeline" where "life cycle" would seem correct. If "timeline" is correct, more explanation is required. ("Each of the Azure services that support managed identities for Azure resources are subject to their own timeline.")

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

ID: 72861cc1-7081-cf6e-b7f9-e700a16faa9a
Version Independent ID: c870872d-0559-6b77-280f-f478e8c84776
Content: Managed identities for Azure resources
Content Source: articles/active-directory/managed-identities-azure-resources/overview.md
Service: active-directory
Sub-service: msi
GitHub Login: @MarkusVi
Microsoft Alias: markvi

@stevemachacz, thank you for reaching out. We are looking into this and would get back to you soon on this thread.

@MarkusVi, can you please look into this?

I have staged an update to address this.
#please-close


LingMessCoref cannot handle long texts

Seems like LingMessCoref comes with a max_doc_len of 4096. Is there anyway to circumvent this for it to work on any document length?
Edit: I am mainly trying to get the character spans of clusters. I tried to overcome this limitation myself by manually chunking the document and piecing together the detected clusters. My chunks have about 4000 tokens each and have an overlap of 2000 tokens. To piece together the overall clusters, I get the coreference pairs for each chunk, and basically make a graph where these coreference pairs are edges, and each connected component is a cluster. However, this approach does not really work well because:

the model seems to perform worse on document chunks (especially those later in a document), probably because information in the earlier sections is already lost?
all it takes is one mistake from the model (e.g. in Chunk 1, the model thinks a "he" is referring to "John", but in Chunk 2, the model thinks the same "he" is referring to "Peter") for mentions of separate entities to be lumped together.

Also having this issue, had to fallback to FCoref.


FERC XBRL Taxonomy for Form1 not loading taxonomy definition for "114 - Schedule - Statement of Income"

I am unable to load Form 1 FERC XBRL taxonomy definitions for  schedule  114 - Schedule - Statement of Income.
As per my understanding, the  Form 1 Schedule - General Information  schema definition is the root cause for this issue.
Please find the Taxonomy files for Generation Information :

as shown in the screenshot, Generation information xsd is loading  incomplete  taxonomy definition  for  114 - Schedule - Statement of Income.
Please find the Taxonomy files for 114 - Schedule - Statement of Income :

I am unable to load Form 1 FERC XBRL taxonomy definitions for schedule 114 - Schedule - Statement of Income.
As per my understanding, the Form 1 Schedule - General Information schema definition is the root cause for this issue.
Please find the Taxonomy files for Generation Information :

as shown in the screenshot, Generation information xsd is loading incomplete taxonomy definition for 114 - Schedule - Statement of Income.
Please find the Taxonomy files for 114 - Schedule - Statement of Income :

I am able to load these files and get the complete income statement and
general information, what information is missing specifically? Even though
these have the same name the files a different in different locations.
Clearly this needs to be resolved but we cannot see any issues in the
underlying semantics.
Campbell Pryde
President and CEO
XBRL US Inc.
@.*** @.**>
https://xbrl.us https://xbrl.us

1<PHONE_NUMBER> (Mobile)

[image: XBRL US]
The non-profit community https://xbrl.us/xusmembers improving U.S.
reporting through a free, open standard
https://xbrl.us/home/learn/free-open-standards/.
On Mon, Jun 7, 2021 at 8:36 AM nagsystrends @.***>
wrote:

I am unable to load Form 1 FERC XBRL taxonomy definitions for schedule *114

Schedule - Statement of Income*.

As per my understanding, the Form 1 Schedule - General Information
schema definition is the root cause for this issue.
Please find the Taxonomy files for Generation Information :
[image: image]
https://user-images.githubusercontent.com/82093352/116873824-f181ec80-ac35-11eb-889e-f9f57ffea399.png
as shown in the screenshot, Generation information xsd is loading
incomplete taxonomy definition for 114 - Schedule - Statement of Income.
Please find the Taxonomy files for 114 - Schedule - Statement of Income :
[image: image]
https://user-images.githubusercontent.com/82093352/116873906-170ef600-ac36-11eb-838b-3ef286c2d66e.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/xbrlus/ferc-renderer/issues/7#issuecomment-855887563,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADC2RF7AXFWSYMDU4MIZMP3TRS4LFANCNFSM44AWPXFQ
.


tour for ref-based-rad-seq

@yvanlebras can you test this tour? Thanks a lot

@yvanlebras for your todo list :)


Implement the ProjectSectionView

A Project Section is a generic section view with a TOCView and a MarkdownView as subviews.  Create this view with it's subviews.

Whoops, wrong repo. Closing this.


Investigate into GitHub's "first class actors" integration

https://developer.github.com/early-access/integrations/#first-class-actors

Finally, an Integration can act on its own behalf — taking actions via the API directly instead of impersonating a user. This allows for usage patterns that previously required maintaining a bot or service account as a separate user. Integrations are first class actors on GitHub opening up whole new workflows for bots, machines, and intelligent programs to augment the development experience.

Interesting flow:


Validic::Client.new.get_fitness - NoMethodError: undefined method `[]' for nil:NilClass

Full stack trace
/usr/local/rvm/gems/ruby-2.1.5/gems/validic-0.4.1/lib/validic/summary.rb:6:in `initialize'
/usr/local/rvm/gems/ruby-2.1.5/gems/validic-0.4.1/lib/validic/rest/utils.rb:10:in `new'
/usr/local/rvm/gems/ruby-2.1.5/gems/validic-0.4.1/lib/validic/rest/utils.rb:10:in `build_response_attr'
/usr/local/rvm/gems/ruby-2.1.5/gems/validic-0.4.1/lib/validic/rest/fitness.rb:9:in `get_fitness'
/home/hmw-admin/rubyAngular/app/jobs/validic_fetch.rb:25:in `fetch_validic'
/home/hmw-admin/rubyAngular/app/jobs/validic_fetch.rb:16:in `block in perform'
/home/hmw-admin/rubyAngular/app/jobs/validic_fetch.rb:14:in `each'
/home/hmw-admin/rubyAngular/app/jobs/validic_fetch.rb:14:in `perform'
/home/hmw-admin/rubyAngular/lib/tasks/validic.rake:4:in `block (2 levels) in <top (required)>'
/usr/local/rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in `eval'
/usr/local/rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in `<main>'

# app/jobs/validic_fetch.rb
class ValidicFetchJob < ActiveJob::Base
  queue_as :default

  def perform
    @client = Validic::Client.new
    @range = { start_date: DateTime.now - 5.minutes }
    %w(fitness weight sleep routine).each do |object|
      @object = object
      fetch_validic
      next unless @validic_response
      create_record
    end
  rescue NoMethodError => e
    Rails.logger.debug e
  end

  private

  def fetch_validic
    res = @client.send(
      "get_#{@object}", @range)
    @validic_response = res.records
  end

  def create_record
    @validic_response.each do |item|
      puts DateTime.now, ValidicModelFactory.create!(item, type)
    end
  end

  def type
<EMAIL_ADDRESS>  end
end

I've replicated this in the console it seems that the get_fitness method is throwing an exception around here
https://github.com/Validic/validic/blob/master/lib/validic/summary.rb#L5
it seems the some_hash argument is coming back nil.
How can I fix this issue? Right now I'm just rescuing the error and logging it.

I'm not sure why it's dying in the initialize method but your variable @range is going to return a float.  Anytime you do math on DateTime objects you'll get back a float, ie:
DateTime.now - DateTime.new(2015, 07, 21, 16)
=><PHONE_NUMBER>7/86400000000)

What did you intend @range to be equal to?

@range is intended to be the options hash, sorry for the bad name.
@range = { start_date: DateTime.now - 5.minutes }
 => {:start_date=>Tue, 21 Jul 2015 13:20:50 -0700}

@range[:start_date].class
 => DateTime

It seems that the date calculation is returning a DateTime object.
In the options hash should I be passing a float value to the start_date key?

It seems to be a time synchronization issue. The clock on my server is >6 minutes fast and it seems its asking for fitness records in the future
Production Server:
DateTime.now
=> Tue, 21 Jul 2015 13:39:11 -0700

Local Time:
DateTime.now
=> Tue, 21 Jul 2015 13:33:28 -0700

Looks like I found an edge case where start_date is in the future.
I'll talk to my hosting provider about this timing issue.

I'm able to reproduce this locally with:
client.get_fitness( {start_date: DateTime.now, end_date: DateTime.now - 5.minutes })

The API responds with an invalid date error:
{"code"=>406, "message"=>"Not Acceptable", "errors"=>["Invalid date"]}

And the gem dies with the same:
NoMethodError: undefined method `[]' for nil:NilClass
from /Users/anthonyross/.rvm/gems/ruby-2.2.2@validic/gems/validic-0.4.1/lib/validic/summary.rb:6:in `initialize'

I put in a patch to handle InvalidDate errors.


Revert "Revert "CB-14421 add distroxscaletest to qa suite with small …

…scale targets""
This reverts commit b97566d24350387f08f8ebeb216bc4f0093a6e41.
See detailed description in the commit message.

tested, now the class name in the suite is ok, e2e test started using aws e2e suite started successfully for me locally


Support Element documentation section within a templated activity

Problem you would like to solve
As a user, I can attach element documentation to each component, except connectors. This limitation is causing dissatisfaction among business users.
Consider this scenario: Business users are incorporating functional requirements into their BPMN files, using them both for developers to understand the requirements and as part of the documentation. This is achieved through element documentation. However, when a developer takes over and converts some of these empty or service elements into connectors, a problem arises. The business specifications attached to these elements are lost in the case of both custom and out-of-the-box connectors.
Proposed solution
Add the element documentation field to connectors as well.
Not in scope and just FYI
(Additional conversation started => Add element documentation to Web Modeler Design tab: https://camunda.slack.com/archives/C0693F1NFK5/p1702991078456759)
Alternatives considered
using comments => Not accepted at least by one customer => https://jira.camunda.com/browse/SUPPORT-19345.
They see comments as a conversation and not as a space for defined business requirements.
Additional context
No response

related FR: https://jira.camunda.com/browse/SUPPORT-19345
related interview notes: https://camunda.productboard.com/insights/notes/view/1018-notes-assigned-to-me/notes/37485044

To better understand your feature request: What exactly would you like to accomplish:

As an element template author you can define if the Documentation field shall be shown or
The documentation field always shows, regardless of your template definition?

My personal preference: Show the field always, with an option to disable it in JSON Config for certain templates/or in all templates of this organization.
And it would be good to have an option to configure the position. Sometimes the field should be at the top, sometimes at the bottom of the property panel, sometime in the middle.

We'll likely not be able to provide full customization options (regarding placing) @ingorichtsmeier.
Your suggestion regarding a sensible default (+ override it per template) makes sense to me.

Moving to backlog for the time being @bastiankoerber. If there is any particular urgency on this item, please bump it.

Displaying it always is an easy pick, while hiding it optionally requires some more work.
I propose to make progress now, we simply show the documentation always and handle configuration in a follow-up

@marstamm We already have entriesVisible as a way to define what is shown to the user.
In C7 you can use exactly that mechanism to show (or hide) the documentation section.

entriesVisible is a boolean. How do we want to use this to hide a specific section?
https://github.com/camunda/element-templates-json-schema/blob/132ea180a19992852819398721684fe330781ca4/packages/element-templates-json-schema-shared/src/defs/base.json#L95C1-L99

Yea, my bad. It was a boolean or a string[] in properties-panel@0. If it is a string[] then it denotes the list of default entries to be shown with the template.

With some research, you might be thinking of the entriesVisible like this:
"entriesVisible" : {
   "_all": true
}

This mechanism was only available in properties panel 0.x and has not been available for some time

Exactly. But customers ask for it now (again).

The point I'm making is: We solved this in the past, by giving element template authors control over what they want to show. It was powerful, and it will be powerful as a feature again, while being simple in implementation.

As I understand this FR, the users don't want to configure anything, they just want a sensible default that allows for documentation on connectors. I think this makes sense as we also show the general and multi-instance sections without any configuration.
If we want to re-enable the old entriesVisible behavior and be consistent (default = hidden), we would have to update all connectors to achieve the behavior we want to achieve

As I understand this FR, the users don't want to configure anything

Got it, then let's make it so and await user feedback.

Some time ago we enabled the connector users to configure multiinstance characteristics as it is a feature specific to the diagram and not the element type. I believe the same applies to the documentation. Any BPMN element can be documented, and this should apply also to connectors.


SAVE NOTE

SAVE NOTE
Acceptance Criteria
GIVEN a note-taking application
WHEN I click on the Save icon
THEN the new note I have entered is saved and appears in the left-hand column with the other existing notes

Save note is setup


[Newbie ] How to use recommend

Thank you for writing  humpday, it looks amazing. I tried out the following:
from math import cos, pi
def rastrigin(a, b):
    A = 10
    n = 2
    value = -(A*n + sum([(x**2 - A*cos(2*pi*x)) for x in (a,b)]))
    return value

from humpday import recommend
def my_objective(u):
    return rastrigin(u[0], u[1])
recommendations = recommend(my_objective, n_dim=2, n_trials=1000)

recommendations now gives me [(None, None, 'scipy_powell_cube')]
However using lipo, for example, which I think is included with !pip install humpday[full] the function can be efficiently optimized.
What am I doing wrong?

Try
pip install humpday[full]

or manually pip install lots of optimizers. It's probably only got scipy to use right now.
Let me know how it goes I'll fix it if broken.


Added Investment Funds and Individual Investors Logos

First pull request? Read our guide to contributing
Checklist:

[ ] Test your work and double check you didn't break anything
[ ] Update the README, if neccessary

Description:
Please explain the changes you made here:

A description of the problem you're trying to solve
An overview of the suggested solution
If the feature changes current behavior, reasons why your solution is better

Closing in favor of #197 🙁


Invalid (post) request body encoding

IGUANA sends the bodies of (at least) POST update requests in the wrong encoding. Meaning e.g. Umlaute are not encoded properly.
To reproduce just send e.g. a DELETE DATA with an umlaut in an update to a triplestore, the incoming body will be wrongly encoded.
One fix for it can be seen here.
Although I don't know if this is the proper fix, since in earlier versions such as v3.0.2 it works properly without that fix.

I could recreate the issue, but did not find out why it has worked before in the older version.
Your fix seems to be the right way that I also found online.

addressed in #179


Client names may not be unique

It's possible that client.name isn't unique across data centres. If you have a duplicate client name, Angular will error and you can't sort the list further.

Thanks!


Add instructions for FreeBSD users

I've created a FreeBSD port. Add package install and ports build instructions for FreeBSD users.

Great, thanks


HomePage Updated

Need to resolve some bugs...

The bugs are found... but if they work as intended, then ok


Path to file?

Is there a way to show the path to a file if outside the current working dir?
Thanks

It worked for me, thank you for all these tips.
from this thread, I've seen that fnamemodify(expand("%"), ":~:.") let me "reduce the path relative to the home folder if possible":
:pwd
/home/josuah/Downloads

filename: ~/.vim/colors/molokai.vim

:cd ~/.vim
:pwd
/home/josuah/.vim

filename: colors/molokai.vim

Wish it helps someone.
I love lightline design allowing very fine tuning with ease. Thank you for your work!

You're welcome. When I started to work on lightline, I tried to find the design with maximum configurability with minimum core scripts. Enjoy improving your configuration better for you.

Thank you. So will I.

Hmmm, so what exactly needs to go in .vimrc to display the path and filename in the lightline status bar?

Absolute path
let g:lightline = {
      \ 'component_function': {
      \   'filename': 'LightLineFilename'
      \ }
      \ }
function! LightLineFilename() abort
  return expand('%:p:h')
endfunction

Relative path
let g:lightline = {
      \ 'component_function': {
      \   'filename': 'LightLineFilename'
      \ }
      \ }
function! LightLineFilename() abort
  return expand('%')
endfunction

That's strange. That doesn't change anything... Do I need additional configuration?

No.

Ahh I see, shinchu/lightline-gruvbox.vim seemed to have override the setting

If I'm seeing this right, instead of redefining the filename component function, one could also just use the relativepath component. At least that seems to work for me.
It does make overriding in different scripts more difficult to handle, though.

Ah, yes... relativepath component will work enough...

@aktau can you please provide an example of how to do it without overriding?

let g:lightline.active = {
    \ 'left': [ [ 'mode', 'paste' ], [ 'readonly', 'relativepath', 'modified' ] ]
    \ }

@itchyny Thank you :+1:

I use something like this for nicely abbreviated path-
let g:lightline = {
      \ 'component_function': {
      \   'filename': 'LightLineFilename'
      \ }
      \ }
function! LightLineFilename()
	let name = ""
	let subs = split(expand('%'), "/")
	let i = 1
	for s in subs
		let parent = name
		if  i == len(subs)
			let name = parent . '/' . s
		elseif i == 1
			let name = s
		else
			let name = parent . '/' . strpart(s, 0, 2)
		endif
		let i += 1
	endfor
  return name
endfunction

Outputs:

Thanks for the tips everyone.
What I did was set expand('%:p:h') in the filename component and then also added relativepath to lightline's active hash.

this is working well so far! cheers <3

Thanks you all for the above replies.
Thanks to them, I was able to solve an issue I am having with a codebase lastly where all main files in a component folder are called index.xyz. As you can imagine, it's very confusing having a lot of index files open a trying to understand who is who.
So, I wrote (my very first) VimL function to solve the issue, by showing, in case of an index file, also its latest folder like folderName/index.xyz.
I hope it can be useful for other people having the same issue.
About that, if @itchyny thinks it's a good configuration option to have for the plugin, I can try to make a PR for integrating it.
Finally, that't my first time writing a VimL function, please, feel free to give me feedback about it, I would really appreciate it. I hope it makes sense 😄 .
let g:lightline = {
\    'colorscheme': 'dracula',
\    'active': {
\        'left': [ [ 'mode', 'paste' ], [ 'gitbranch', 'readonly', 'filenameOrLastFolderOfIndex', 'modified' ] ]
\    },
\    'component_function': {
\        'gitbranch': 'fugitive#head',
\        'filenameOrLastFolderOfIndex': 'LightLineFixIndexFiles'
\    },
\}
function! LightLineFixIndexFiles()
    let filenameonly = expand('%:t:r')
    if filenameonly ==? "index"
        return remove(split(expand("%:h"), "/"), -1) . "/" . expand("%:t")
    else
        return expand("%:t")
    endif
endfunction

@itchyny these snippets should be in the readme


Question: vs2022 samples already updated to hip 6.1 sdk but rocm win sdk still at 5.7.. correct?

Latest commit implies or rocm sdk 6.1 for windows is coming soon or must use vs2019 projects? Correct..

might be a good idea to revert this commit until 6.1 SDK is actually available to be used. Otherwise issues start showing up. For example changing the build toolset inside VS breaks the solution, and the only option that doesn't break the solution is manually going into solution files and changing 6.1 to 5.7

CC @emankov Can we revert that commit?

Hello @Naraenda,
Nope, The develop branch is the default branch for the latest changes. The release/rocm-rel-5.7  needs to be created instead.


Fix link

The link was giving 404 NOT FOUND !
READ ME PLEASE!
TL;DR: Make sure to add your changes to versioned docs
Thanks for opening a PR!
The docs cover several versions of react-navigation, and in some cases there are several files (for version 1, version 2 and etc.) that all describe a single page of the docs (eg. "Getting Started").
Please make sure that the edit you're making in docs/file-you-edited.md is also included in the file for the correct version, eg. website/versioned_docs/version-3.x/file-you-edited.md for version 3. If such file doesn't exist, please create it. :+1:

@satya164 Please let me know If it's fine. I will fix that from the whole doc. There are similar broken links are attached to other pages as well
Thanks !


changed how openvpn calls php for authentication

Currently openvpn is using the executable fcgicli to do authentication, which, from what I can tell uses php-fpm via socket connection. I've changed this to use system php instead of the service ph p-fpm.
This will prevent individuals from being locked of a vpn connection if php-fpm would crash.

I'm not sure this would be an overall positive change. PHP-FPM is much better from a performance and resource usage perspective, especially with large numbers of users and/or a busy system.
It would be better to focus on why PHP-FPM is failing and fix that instead.

The binary that calls/utilizes php-fpm is actually only used in a couple place within pfsense.
( https://github.com/pfsense/pfsense/search?utf8=✓&q=fcgicli&type= )
The pull request actually follows more in suit with the rest of the framework. I do however agree that the reason for php-fpm crashing should be investigated and fixed, this will be an overall more robust solution.

I agree with @jim-p here. I don't think this is the right way to go


Update tox environments

Since tox==4.9.0, only explicitly declared environments are permitted to run.
Refs: https://github.com/tox-dev/tox/issues/3096#issuecomment-1683343825

Contributor checklist

[ ] Included tests for the changes.
[ ] PR title is short, clear, and ready to be included in the user-facing changelog.

Maintainer checklist

[ ] Verified one of these labels is present: backwards incompatible, feature, enhancement, deprecation, bug, dependency, docs or skip-changelog as they determine changelog listing.
[ ] Assign the PR to an existing or new milestone for the target version (following Semantic Versioning).

FTR, failing docs build fixed in https://github.com/jazzband/pip-tools/pull/1969.

Thanks @theryanwalker!


Added in issue and pr example tempates

I added in an example issue and PR template that could be added into a github repo. The PR template, in particular, follows the https://github.com/spacetelescope/style-guides/blob/master/guides/git-pr-review.md.

Just curious, did you generate the initial version with the "choose your own adventure" site that you shared?

@hcferguson Any comments?
@drdavella You good with my changes?

@stscicrawford feel free to comment too :)  I would like to start incorporating this into some repos when this is approved.

Looks fine. Not really a checklist, but that's okay. Do you want to make recommendations in the template about the scope of the PR -- that it is best to do small, focused PRs rather than collect a bunch of disparate changes into one big PR?

@hcferguson I think the focus of the PR (ie, small) should be a discussion in the style guide as opposed to a point in the PR template. At the point that they have opened a PR, the work is probably already done and might be hard to backtrack.  (But, if you feel strongly about this, or others do, I can add in a comment like that.)

Small comments on the PR template.
My feeling is that the issue one could be more focused.  I think it would be confusing to someone that would be new and I would just have it focus on bug reports with the most important information first (what happened, traceback, and environment/versions)
I'm not sure if this is necessarily better, but this is the one we used in ccdproc as an example (this would need to be modified for STScI):
This is the template for bug reports, if you have a feature request or question
you can safely ignore and delete this prefilled text.
Include a description of the problem: What are you trying to do (include your
code and the full traceback)? What did you expect?
Include a minimal example to reproduce the issue including output and
traceback. The triple backticks make github render this as a multi-line code
block.
Don't forget to include the version of astropy, ccdproc and numpy, just copy
this into your Python interpreter (without the backticks):
import astropy
print(astropy.__version__)
import ccdproc
print(ccdproc.__version__)
import numpy
print(numpy.__version__)

@stscicrawford I hear what you are saying but I think it would be helpful to prompt them for features too.   I think there are three ways this could be formatted:  1) aim for bug reports, primarily, as you suggested 2) reformat it a bit so it is similar to below where each section has the "if bug" / "if feature" type of thing, or 3) reformat so the "if bug" / "If feature" wraps the headings, text and prompts.
I am willing to go either way. I kind of like the reformatted below, but will reformat to a more focused bug report if you want.
## Describe the bug / feature

  <!--- If describing a bug:                                                          -->
  <!----   - tell us what happened instead of the expected behavior                   -->
  <!---    - include the steps to reproduce the bug                                   -->
  <!---    - if a Traceback is available, include the complete Traceback in the Issue -->

  <!--- If a change/improvement/feature                                               -->
  <!---    - explain the idea and/or the difference from current behavior             -->

## Possible Solution

  <!--- Not obligatory, but suggest a fix/reason for the bug,                         -->
  <!--- or ideas how to implement the addition or change (other code, article etc)    -->

## Context

  <!--- Providing context helps us come up with a solution that is most useful in     -->
  <!--- the real world.                                                               -->

  <!--- If a bug:                                                                     -->
  <!---    - What are you trying to accomplish?                                       -->
  <!---    - If it is data specific, please provide any relevant information about    -->
  <!---      the data, or a link to an example, if possible.                          -->

  <!--- If a new feature:                                                             -->
  <!---    - How will this feature benefit the field?                                 -->

## Your Environment

<!--- If a bug:                                                                       -->
<!---     include as many relevant details about the environment                      -->

  * Package Version used:
  * Operating System and version:
  * Include output of conda list:

If you move the environment information into the first section under 'if a bug', then  I'd be fine with that.     That's an important bit of information so I think it would be good to include it in the first section so it isn't skipped or missed.

@stscicrawford I moved the env info to the top part. I reworded a bit too.

@brechmos-stsci It's fine to put the comments about scope in a style guide rather than the template. Relevant checklist items might be:

[ ]  Is this PR limited in scope?
[ ] Are all the relevant issues tagged?

I think right now there is only a guide for reviewers, and I might not think to look there before submitting a PR. If you want to put all the info for submitters and reviewers in one guide, them maybe rename that "PR submitter and reviewer style guide?"

@stscicrawford I saw you reference changes, just saw them now. Will do...

@hcferguson I changed the text to the "fixes" part to say "all relevant issues" rather than just "the issue" to hopefully tweak people to put all the relevant ones.
The PR reviewer guide is specific to people reviewing PRs rather than writing PRs. There was some discussion that a "write a PR" style guide might be helpful but I think that is separate from "reviewing a PR" (not to say that reading the "reviewing a PR" might be helpful anyway!


[share] content-type request parameter seems to be ignored

curl -H "Authorization: Basic GOUZI-GOUZI" "https://dezik.spacedog.io/1/share/flouf.gloubi" -X PUT -H "Content-type: gloubi/boulga" --data-binary "floufilifouboublboobobf"
Always end up with application/octet-stream.

Understood this is a limitation of S3.
I would suggest this parameter to be removed, since it's not actionable for the user.


Greenkeeper/@nartc/automapper 6.0.4

:tada: This PR is included in version 3.0.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


'DigiKeyboard' does not name a type

I converted the script, and even tried adding #include "DigiKeyboard.h" at the top of the script, but no matter what, I get the error 'DigiKeyboard' does not name a type when compiling before uploading to the digispark.

@SamGurdus1 Have you successfully compiled and uploaded other digispark scripts on the same computer? Say for example one of those in my other repository. Because this looks like an issue regarding your local arduino IDE's configuration of the board and its libraries. See for more info: https://digistump.com/wiki/digispark/tutorials/connecting


GetAccountBalance(accountMainPurse, stateRootHash)  state_get_balance

What happened?
The SDK GetAccountBalance(accountMainPurse, stateRootHash) returns a null Merkle proof
What did you expect to happen?
Expected a valid Merkle proof to be returned
Thanks
Carl Norburn

There was a change on 1.5 to introduce a new RPC method to get an account balance: query_balance. See here.
New endpoint does not return merkle_proof.
We may consider to remove the property from GetBalanceResult.

Closing this ticket since any of the GetAccountBalance versions returns merkle_proof when using query_balance RPC method.


⚠ Bofrost.es has degraded performance

In 96a3a9d, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1700 ms

Resolved: Bofrost.es performance has improved in 32d5a8a after 9 minutes.


🐛 [cloud_functions] Callable functions not working with emulator

Bug report
Describe the bug
Trying to call a firebase callable function from a  Flutter app (using an Android emulator) always results in an error. The exact error I am getting:
'package:cloud_functions/src/https_callable.dart': Failed assertion: line 33 pos 12: '_debugIsValidParameterType(parameters)': is not true.

Steps to reproduce

Start Firebase emulators
Run flutter app with firebase callable function invocation

Expected behavior
The callable function invocation to be successful.
Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.0.4, on macOS 11.4 20F71 darwin-x64, locale es-PE)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0-rc5)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.4)
[✓] VS Code (version 1.57.1)
[✓] Connected device (4 available)
    ! Device emulator-5556 is offline.

• No issues found!

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 2.12.2
Flutter SDK 2.0.4
tag_mobile 1.0.0+1

dependencies:
- cloud_firestore 2.3.0 [cloud_firestore_platform_interface cloud_firestore_web firebase_core firebase_core_platform_interface flutter meta]
- cloud_functions 2.0.0 [cloud_functions_platform_interface cloud_functions_web firebase_core firebase_core_platform_interface flutter]
- cupertino_icons 1.0.2
- dio 4.0.0 [http_parser path]
- firebase_auth 2.0.0 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 1.3.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]
- flutter_map 0.13.1 [async collection flutter http intl latlong2 meta positioned_tap_detector_2 proj4dart transparent_image tuple vector_math]
- google_sign_in 5.0.4 [google_sign_in_platform_interface google_sign_in_web flutter meta]
- http 0.13.3 [async http_parser meta path pedantic]
- image_picker 0.7.4 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface image_picker_for_web]
- keyboard_dismisser 2.0.0 [flutter]
- latlong2 0.8.0 [intl]
- provider 5.0.0 [collection flutter nested]

dev dependencies:
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data]

transitive dependencies:
- async 2.5.0 [collection]
- boolean_selector 2.1.0 [source_span string_scanner]
- characters 1.1.0
- charcode 1.2.0
- clock 1.1.0
- cloud_firestore_platform_interface 5.2.0 [collection firebase_core flutter meta plugin_platform_interface]
- cloud_firestore_web 2.2.0 [cloud_firestore_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- cloud_functions_platform_interface 5.0.7 [firebase_core flutter meta plugin_platform_interface]
- cloud_functions_web 4.0.9 [cloud_functions_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- collection 1.15.0
- fake_async 1.2.0 [clock collection]
- firebase_auth_platform_interface 5.0.0 [firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 2.0.0 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser intl js meta]
- firebase_core_platform_interface 4.0.1 [collection flutter meta plugin_platform_interface]
- firebase_core_web 1.1.0 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- flutter_plugin_android_lifecycle 2.0.1 [flutter]
- flutter_web_plugins 0.0.0 [flutter js characters collection meta typed_data vector_math]
- google_sign_in_platform_interface 2.0.1 [flutter meta quiver]
- google_sign_in_web 0.10.0 [google_sign_in_platform_interface flutter flutter_web_plugins meta js]
- http_parser 4.0.0 [charcode collection source_span string_scanner typed_data]
- image_picker_for_web 2.0.0 [image_picker_platform_interface meta flutter flutter_web_plugins]
- image_picker_platform_interface 2.1.0 [flutter meta http plugin_platform_interface]
- intl 0.17.0 [clock path]
- js 0.6.3
- lists 1.0.0 [meta]
- matcher 0.12.10 [stack_trace]
- meta 1.3.0
- mgrs_dart 2.0.0 [unicode]
- nested 1.0.0 [flutter]
- path 1.8.0
- pedantic 1.11.0
- plugin_platform_interface 2.0.0 [meta]
- positioned_tap_detector_2 1.0.0 [flutter]
- proj4dart 2.0.0 [mgrs_dart wkt_parser meta]
- quiver 3.0.1 [matcher]
- sky_engine 0.0.99
- source_span 1.8.0 [charcode collection path term_glyph]
- stack_trace 1.10.0 [path]
- stream_channel 2.1.0 [async]
- string_scanner 1.1.0 [charcode source_span]
- term_glyph 1.2.0
- test_api 0.2.19 [async boolean_selector collection meta path source_span stack_trace stream_channel string_scanner term_glyph matcher]
- transparent_image 2.0.0
- tuple 2.0.0 [quiver]
- typed_data 1.3.0 [collection]
- unicode 0.3.0 [lists]
- vector_math 2.1.0
- wkt_parser 2.0.0

Hi @bramvbilsen
So do the functions work when not using the emulator? Could you provide some sample code?
Thank you

Hi @bramvbilsen
So do the functions work when not using the emulator? Could you provide some sample code?
Thank you

The functions do work without the emulator. Also, the regular http functions do work with the emulator, it is just the callable once that I'm having trouble with. I will post a snippet when I am behind my desk!

@markusaksli-nc I'm connecting to the emulator as follows:
final localHostString = Platform.isAndroid ? "<IP_ADDRESS>" : "<IP_ADDRESS>";
FirebaseFunctions.instance.useFunctionsEmulator(localHostString, 5001);

The code to call the function:
      await FirebaseFunctions.instance
          .httpsCallable("submit")
          .call({"id": this.id, answers: answersAsMap});

Does the parameter you are passing match this?
https://github.com/FirebaseExtended/flutterfire/blob/4d99d3a6ea5510c04978195bef42f33a19fa2b93/packages/cloud_functions/cloud_functions/lib/src/https_callable.dart#L20-L26

Does the parameter you are passing match this?
https://github.com/FirebaseExtended/flutterfire/blob/4d99d3a6ea5510c04978195bef42f33a19fa2b93/packages/cloud_functions/cloud_functions/lib/src/https_callable.dart#L20-L26

Yes, it is created as follows:
    Map<String, int> answersAsMap = {};
    for (var answer in answers) {
      answersAsMap[answer.id] = answer.answer;
    }

If you define it as Map<String, num> instead does it not work? This is hard to diagnose without also having your cloud function for context.


support date_custom_func exFilterColumn, clear

This should fix the following issues.

https://github.com/vedmack/yadcf/issues/644
https://github.com/vedmack/yadcf/issues/645

Note for #644, I considered moving the filter clear $('#yadcf-filter-' + table_selector_jq_friendly + '-' + column_number).val('').removeClass("inuse"); above the modified if/else clause, but was worried about unintended side-effects.
Working example: https://jsbin.com/tanogon/edit?html,js,output

looks good! thank m8

looks good! thank m8

note I didn't update the header of the js file with the new release number as I was confused about the release numbering. i.e., would this be beta 46 or beta 1 of the next version? I also didn't mark the issues as fixed

note I didn't update the header of the js file with the new release number as I was confused about the release numbering. i.e., would this be beta 46 or beta 1 of the next version? I also didn't mark the issues as fixed


Broken URL to Google Finance in tests

I'm running all the tests for pandas, and I get the following failure:
ERROR: test_read_google (pandas.io.tests.test_data.TestDataReader)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/chrish/Code/pandas/pandas/util/testing.py", line 1461, in wrapper
    return t(*args, **kwargs)
  File "/Users/chrish/Code/pandas/pandas/io/tests/test_data.py", line 470, in test_read_google
    gs = DataReader("GS", "google")
  File "/Users/chrish/Code/pandas/pandas/io/data.py", line 81, in DataReader
    retry_count=retry_count, pause=pause)
  File "/Users/chrish/Code/pandas/pandas/io/data.py", line 458, in get_data_google
    adjust_price, ret_index, chunksize, 'google')
  File "/Users/chrish/Code/pandas/pandas/io/data.py", line 365, in _get_data_from
    hist_data = src_fn(symbols, start, end, interval, retry_count, pause)
  File "/Users/chrish/Code/pandas/pandas/io/data.py", line 229, in _get_hist_google
    return _retry_read_url(url, retry_count, pause, 'Google')
  File "/Users/chrish/Code/pandas/pandas/io/data.py", line 185, in _retry_read_url
    "return a 200 for url %r" % (retry_count, name, url))
IOError: after 3 tries, Google did not return a 200 for url 'http://www.google.com/finance/historical?q=GS&startdate=Jan+01%2C+2010&enddate=Apr+14%2C+2015&output=csv'

Going to the URL in a browser returns a 404 page, with message "The requested URL was not found on this server.", so I don't think this test will be passing as is in the future...

The new URL format for downloading Google Finance data to csv looks like this:
http://www.google.com/finance/historical?cid=663137&startdate=Apr+15%2C+2014&enddate=Apr+14%2C+2015&num=30&ei=LD8tVbGfGszLigKAx4HADQ&output=csv

The ei parameter is actually not required (the URL still works without it), but the cid one is. I assume that cid one relates to the ticker name.

you an report this to https://github.com/pydata/pandas-datareader/issues
as all io/data.py issues are now tracked (and fixed there)


Vercel deployment

Hi guys,
I'm simply impressed with the project. congratulations!
I would like to find a way to host on vercel, there is already an initiative? If not, I'm willing to contribute.

@UlissesMantovani what are your requirements for hosting on Vercel that Begin or AWS do not fulfil? Just trying to understand where our product/project fails you.


url is quoted twice before finally sending the request

well this is my code:
import logging
logging.getLogger().setLevel(logging.DEBUG)
import requests
logging.info('requests version: %s' % requests.__version__)

<EMAIL_ADDRESS>
and this is the output I got from terminal after running the code

INFO:root:requests version: 0.10.1
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): www.baidu.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /omg%2540requests.com HTTP/1.1" 302 222
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (2): www.baidu.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /search/error.html HTTP/1.1" 200 1262

Look at the third line of results, what do you see?
/omg%2540requests.com

OMG, path of the url was quoted twice<EMAIL_ADDRESS>-> omg%40requests.com -> omg%2540requests.com)
Although the request I made was just a sample and has no actual meaning, but this is a very serious BUG, I tried this url with Chrome, curl and wget, everyone of them works fine.
It's very curious that the newest version 0.10.6 doesn't have this problem, but I still want to grumble a little about it :, cause requests, my favourite python request module, almost made me crazy this afternoon

Supporting Python3 caused a lot of bugs :)
Bugs that are now worked out with the new url quoting system.

LIke you said, it was a very serious bug, and it was fixed :)

@kennethreitz Yes guy, it has been fixed, and you are really efficient :)


Main method not called

With the RC1 change, a Main method was added. The compiler complains fine if emitEntryPoint is set to true, and the method is missing. However, I could not find a way to have the Main method invoked. I can have an empty implementation, and the Web application is still running fine.
I tried this with Kestrel and IISExpress.
Version "1.0.0-rc1-update1" from global.json.
Thanks,
Christian

It's there for something coming in RC2.

Thanks Brock!

It would be called if you changed the command in your project.json from "Microsoft.AspNet.Server.Kestrel" to "MyWebApplication" (or whatever you named your project). Note you'll need to specify Microsoft.AspNet.Server.Kestrel as your server via command line or config file. Most people are still using the program main in Hosting or Kestrel.

Yes, now it's working, thanks! Will this behavior be changed with RTM?

In RC2 the commands are going away and we'll just call your Main method.


Send only a single reminder

Issue: https://progress.opensuse.org/issues/116545

Not sure why the "tests" workflow is not run...

Oh, hm, the workflow file is invalid YAML. Will fix it first.

The tests will run when #9 is merged and I can rebase this.


Category tags component in Reference and Resources section, Home page

Category tags component does not autocomplete if the category already exists. Ex, if user tries to add a tag with name "searcher" when typing "sear" user should see a hint of existing tags and user will be able to select one of the existing tags

Working as expected


bad display of logical and conditional OR in the table in section 11.4.2

In the table in section 11.4.2 , logical OR and conditional OR operators are not displayed properly.
They're displayed in escaped form .
Now they are: \|   and \|\|
It is expected to be: | and ||
Thanks in advance

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

ID: be4836bf-72a8-e53b-0a72-5fb9c184291a
Version Independent ID: 0d19d86e-877f-7335-7128-385ccfb21e9a
Content: Expressions - C# language specification
Content Source: standard/expressions.md
Product: dotnet-csharp
Technology: csharp-spec
GitHub Login: @dotnet-bot
Microsoft Alias: wiwagn

/cc @RexJaeschke @jskeet This is reported on the "draft-v7" branch. I haven't looked at v6 yet.

@BSeyfi I'm not seeing the problem. These look OK to me when rendered in GitHub for both V6 and V7 branches. And the V6 Word version has it right.

View of my Firefox internet browser

@RexJaeschke This is only an error in the v7 branch. I just opened #565 to address it.

Thanks. Now it is OK.


(PUP-6920) Execute windows package installs in source dir

This commit updates the windows package provider to execute package
installations in the same directory as the package resource.

jenkins please test this on windows10ent-64a,windows10ent-32a,windows2008r2-64a,windows2012r2-64a,windows2012r2_ja-64a%7Blocale=ja%7D,windows2016-64a

CLA signed by all contributors.

jenkins please test this on windows10ent-64a,windows10ent-32a,windows2008r2-64a,windows2012r2-64a,windows2012r2_ja-64a%7Blocale=ja%7D,windows2016-64a

@ScottGarman @caseywilliams I've added DNM to this PR until after 6.0.2 shipment.

jenkins please test this on windows10ent-64a,windows10ent-32a,windows2008r2-64a,windows2012r2-64a,windows2012r2_ja-64a%7Blocale=ja%7D,windows2016-64a


BoxConstraints forces an infinite width.

Steps to Reproduce

Run flutter create bug.
Update the files as follows: ...
...

Expected results:
Actual results:

Logs

@aungpyae2004
There's not enough information / details to make this issue actionable. Please provide all the required details in the new issue template, so that we can properly address this issue.
Closing for now, since there's no enough details.


Full Distro Install Option request

For those of us with upgraded SSD and room to spare an
Install Full distro option would be of interest.

Yep, coming soon.  See #61


default view fails to select 'application containers only'

Steps to reproduce:

run some docker container, e.g. docker run -d -ti alpine /bin/sh
fire up a scope
open a private browsing window and nagivate to localhost:4040

Expected result:

scope select the default view & selection, which is the container view showing application containers only, and as a result only the single started container is shown

Actual result:

scope shows the container view but with app/system container selection blank, as a result of which it shows all containers, i.e. the single container we launched plus the scope container.

This works as intended in Scope 1.0.0 and is broken in Scope 1.1.0 onwards.

I've added this to the current m/s since it rather badly affects the initial user experience.

Root cause appears to be that a topologies key was changed from "application" to "notsystem" in this commit:
https://github.com/weaveworks/scope/commit/9833a854b1638d8bd3270323c8aa0041016ebb98#diff-6126bda540b57df79f551488091760daR56

Merged PR. Closing.


feat: easier to integrate with other GitHub projects

we can take a look at https://starchart.cc, here is an example:

Supported


Fixed an issue where clicking inside an info-window closed it(user couldn't copy text from it), and clicking the map didn't close the opened info-window.

Was fixed in the past on pull request #281/commit 7e53065153d, but got reverted for some reason.
plus, removing some html div as for Liorn's request.

But if you removed the click #map_canvas event, does clicking a marker still work? What was its function?

click #map_canvas was never used for clicking a marker as you can see here: https://github.com/hasadna/anyway/pull/281/files
It was used to close a marker.
Clicking a marker still works, clickMarker in marker.js is the function that handles it, and the listener for it is being set here:
this.oms.addListener("click", function (marker, event) {
                marker.view.clickMarker();
                this.clickedMarker = true;
            }.bind(this));


Hi

hi, I have recently become interested in using composition and Win2D, and I am collecting and creating new controls. The best resources I found were from you and a few others. I like to collect all of them in one package.
I wanted to get your permission to use your codes.
i added your github link to source codes i used.
https://github.com/WinUICommunity/WinUICommunity/tree/main/dev/Components.Win2d
tnx

You can use it as you please. I'm glad my code has been helpful to you.


API key from MakerSuite Access Denied

Description of the bug:
When getting an API-Key I get a message that the access restricted. I think I would need that Key to be able to install and use the API. Is it possibly my Administartor who is blocking me? I would need to try this on my personal laptop.
Actual vs expected behavior:
No response
Any other information you'd like to share?
No response

Hi @gzhelev2020 which region are you trying to access MakerSuite / the API key from?
It's only available in the following regions at the moment: https://developers.generativeai.google/available_regions

Why is not available in any EU country?


Review Lora Module circuit

Prerequisites

[x] I am running the latest version
[x] I checked the documentation and found no answer
[x] I checked to make sure that this issue has not already been filed
[x] I'm reporting the issue to the correct repository (for multi-repository projects)

Context
Review the lora module (ebyte) circuit if it works
A simulation on proteus or multisim will be great
What is the motivation/use case for changing the behaviour?
Send data over lora

Review files can be found here

@georgebangeboss Kindly duplicate the same issue over at https://github.com/nakujaproject/internship2022/issues


Prevent Tarmak provider writing during read operations

Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened: The tarmak_vault_instance_role resource Terraform currently causes writes on a read operation. This is bad practice and should be fixed

Hi @dippynark, unless I'm mistaken I think this is fixed in https://github.com/jetstack/tarmak/pull/235

@JoshVanL ah yeah I think you're right


Turbine Rotor Bearing allows you to go through it!

I don't know but while I was "testing" and "calculating" I somehow went right through it and been able to hop in and out consistently.

Can confirm that this only happens with an assembled turbine.

Thanks for the confirmation!
Sadly, it is not needed as the author has acknowledged it as a bug.

possibly related to #411

That bug is possibly due to how the author made the player interact with the blocks...
I'm guessing he's not checking of the player is in the block space.

Looks like a bounding-box problem.

Fixed by<PHONE_NUMBER>acff2dbbe9ed264d59a6a511ae5eec, will be out in 0.4.2A.


How to create VDC on testnet? Couldn't get the balance for vdc_init wallet.

Description
I created new 3bot on testnet. And got same issue:
Couldn't get the balance for vdc_init wallet. Use the refresh button on the upper right to restart VDC creation
How to resolve it?
How much money must be on wallet vdc_init?

This issue is resolved today, Please try again > Use the refresh button on the upper right to restart VDC creation

Hello! Now, I got same error. Check, please, my 3bot. And also I am getting that error in my wallet: Failed to load wallet vdc_init, is it possible the wallet isn't activated?

@masteritua The vdc_init wallet is related to the server side not client side, can you try pressing this refresh button not the button in the browser

Are you trying to run the VDC package from a hosted 3Bot? if that's the case we don't support individuals running the VDC package, we only support deploying a VDC from one of our deployers


Fix advanced.config example on quorum queue page

Add missing point to advanced.config example so it can be copied and pasted.

Well spotted, thank you!


chore: e2e on spots [ci rebuild]

We spent 21538 compute minutes in e2e jobs in the last 2 days.

Benchmark results
Metrics with a significant change:

note_trial_decrypting_time_in_ms (32): 79.0 (-33%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit 87fa6213 and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
128 txs

l1_rollup_calldata_size_in_bytes
45,444
179,588
716,132

l1_rollup_calldata_gas
222,996
868,100
3,449,624

l1_rollup_execution_gas
842,083
3,595,208
22,204,993

l2_block_processing_time_in_ms
2,002 (-14%)
7,527 (-14%)
29,695 (-14%)

note_successful_decrypting_time_in_ms
297 (+7%)
870 (+9%)
3,130 (+8%)

note_trial_decrypting_time_in_ms
100 (+23%)
:warning: 79.0 (-33%)
132 (-4%)

l2_block_building_time_in_ms
13,175 (-10%)
52,240 (-10%)
207,583 (-10%)

l2_block_rollup_simulation_time_in_ms
11,851 (-11%)
46,973 (-11%)
186,692 (-11%)

l2_block_public_tx_process_time_in_ms
1,282 (+1%)
5,137 (+1%)
20,415 (-1%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
21,227 (-15%)
41,912 (-14%)

note_history_successful_decrypting_time_in_ms
2,032 (+7%)
3,927 (+5%)

note_history_trial_decrypting_time_in_ms
122 (-1%)
143 (-3%)

node_database_size_in_bytes
1,628,215
1,095,081

pxe_database_size_in_bytes
27,188
54,187

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
72.4 (-12%)
61,697
18,841

private-kernel-ordering
43.3 (-15%)
24,233
8,089

base-rollup
1,768 (-15%)
656,309
811

root-rollup
75.5 (-16%)
4,072
1,097

private-kernel-inner
52.9 (-10%)
81,504
18,841

public-kernel-private-input
41.3 (-11%)
41,455
18,841

public-kernel-non-first-iteration
26.4 (-9%)
41,497
18,841

merge-rollup
0.928 (+16%)
2,592
873

Miscellaneous
Transaction sizes based on how many contracts are deployed in the tx.

Metric
0 deployed contracts
1 deployed contracts

tx_size_in_bytes
8,723
27,240


Real browser-based tests

Until now, we had a mocking-environment faking an XMLHTTPRequest via a NodeJS request; since those mocking libraries (and JSDOM) are quite outdated and don't work well with https requests, do the following:

use a real browser environment like headless chrome to run tests inside NodeJS
find a way to package a testing bundle which can be started in an actual browser

=> Definitely use karma.js!

New idea: DO NOT use any testing library, but simply build a test site using the graphinius.js bundle and purely do PERFORMANCE tests of real-world graphs

[ ] with & without visualization, to measure the difference
[ ] no testing library / mocking etc. overhead in order to measure best pure performance
[ ] browser compatibility (Chrome and Firefox)

CLOSED -> JEST jsdom environment sufficiently resembles the browser for our use cases, as we don't test the Graphinius core library with any specific browser-tech like IDB, ServiceWorkers etc.
-> the only application still test-worthy might be parallel BG workers, but we can probably just use a library for this, and maybe not in the core itself...


v3.5.x fails with certain .scss code

Hi!
Starting with 3.5.0 (tested up to 3.5.3) node-sass, when processing certain code, neither produces CSS nor prints any errors. I managed to locate an exapmle from a real project to this minimal amount of code:
.btn {
  padding: 0;
  margin: 0;
  display: inline-block;
}

@mixin list-link() {
  a {
    &:not(.btn) {
      font: inherit;
    }
  }
}

.article-template {
  @include list-link();
}

.cub-btn {
  @extend .btn;
}

ul.list-link {
  @include list-link;
}

You can use a test repo to quickly reproduce it: https://github.com/dryoma/node-sass-test
node-sass 3.5.3, gulp-sass 2.2.0 and 2.3.0. Node.js 4.4.0.

Thanks for the report. This is a bug in LibSass. You can subscribe to it in https://github.com/sass/libsass/issues/2017

Thanks!


Can't use InputStream from the asInputStream() call

[x] I've read, understood, and done my best to follow the *CONTRIBUTING guidelines.

What did you do?
I'm trying to use an InputStream instance that I get from the asInputStream() call:
let inputStream = AF.streamRequest(url)
        .validate()
        .asInputStream()

What did you expect to happen?
I expect to be able to read all the data from the stream using a method like this:
extension Data {
  init(reading input: InputStream) throws {
    self.init()
    input.open()
    defer {
        input.close()
    }

    let bufferSize = 1024
    let buffer = UnsafeMutablePointer<UInt8>.allocate(capacity: bufferSize)
    defer {
        buffer.deallocate()
    }
    while input.hasBytesAvailable {
        let read = input.read(buffer, maxLength: bufferSize)
        if read < 0 {
            //Stream error occured
            throw input.streamError!
        } else if read == 0 {
            //EOF
            break
        }
        self.append(buffer, count: read)
    }
  }
}

What happened instead?
No data can be read, or first 1024 bytes are read if I read with a delay.
Related SO issue: https://stackoverflow.com/questions/66680077/cant-read-all-data-from-inputstream-produced-by-an-alamofire-stream-request/66696936#66696936
Alamofire Environment
Alamofire Version: 5.2
Dependency Manager: -
Xcode Version: 12.4
Swift Version: 5
Platform(s) Running Alamofire: iOS 14.4
macOS Version Running Xcode: 10.15.6

Thanks for suggestion, indeed I missed that. When I set a delegate I don't get any calls though. But it shouldn't be a problem with Alamofire - I get exactly the same behavior when I create a bound pair of streams manually instead of calling AF (AF does the same as I can see in sources). Anyway, it's probably an issue with my code, sorry for bothering you with this.


Fixed wrong dimension error message

In the current version the error message contains the current dimension of the uploaded file and not the required dimension.

Ha, thanks a lot...


file_load support for organizing loaded object

Hello,
Is it possible to provide a parent item for an object loaded via file_load? For example, it would be useful to create a markup directory and load a markup (generated by an external program) into that directory. I see slicerio.server.file_load accepts a properties kwarg, but the only documented use case is providing name.
Thanks!

Can you write a bit more about your use case? How would you create and use the folders?
What would be an ideal syntax for the API? Would it be sufficient to expose these operations in Slicer?

add/delete/rename a subject hierarchy folder
move a node (or subject hierarchy folder) into a subject hierarchy folder

Hi Andras, certainly.
My goal is to stage .mrml files with outputs of a pipeline for later review/correction in Slicer. The main issue now is organizing those outputs automatically in Slicer to expedite user interaction. Currently, this organization and then saving the .mrml must be performed manually by a user after running a script to load the pipeline outputs into Slicer.
Indeed, I believe these operations cover the data loading aspect of the use case:

add/delete/rename a subject hierarchy folder
move a node (or subject hierarchy folder) into a subject hierarchy folder

@lassoan To satisfy the use case described previously, it might be more appropriate to do something like:
Slicer.exe --no-splash --no-main-window --python-script "/path/to/staging/script.py [args]" , where script.py performs the necessary data loading, organization, and saving.

You can certainly do a one-time setup by running a Python script in Slicer. You could also run any Python script at any time (not just at startup) in Slicer by using the /slicer/exec REST API endpoint. However, for commonly used operations, such as organizing data in a tree (or loading/saving the scene as you asked for in #5) it would probably make sense to have a convenient slicerio.server API.
The slicerio.server API may be a simplified abstraction of the Slicer scene. For example, in Slicer the folder structure is managed via a subject hierarchy node that contains folder and node items, but maybe we don't need to expose this on the slicerio.server API. The syntax for loading a node could be something like this:
slicerio.server.file_load("c:/tmp/Segmentation.nrrd", "SegmentationFile", folder="SomePatient/SomeStudy01")

WebServer module in Slicer could create the folder hierarchy based on the SomePatient/SomeStudy01 string.


Composer warning - ambiguous class resolution

Warning: Ambiguous class resolution, "Memcached" was found in both "/ho
me/myuser/myproject/vendor/leaseweb/memcache-bundle/Lsw/MemcacheBundle/
Resources/codegen/memcached-2.1.0/memcached-api.php" and "/home/myuser/
myproject/vendor/leaseweb/memcache-bundle/Lsw/MemcacheBundle/Resources/
codegen/memcached-1.0.2/memcached-api.php", the first will be used.
Warning: Ambiguous class resolution, "MemcachedException" was found in
both "/home/myuser/myproject/vendor/leaseweb/memcache-bundle/Lsw/Memcac
heBundle/Resources/codegen/memcached-2.1.0/memcached-api.php" and "/hom
e/myuser/myproject/vendor/leaseweb/memcache-bundle/Lsw/MemcacheBundle/R
esources/codegen/memcached-1.0.2/memcached-api.php", the first will be
used.
Warning: Ambiguous class resolution, "Memcached" was found in both "/ho
me/myuser/myproject/vendor/leaseweb/memcache-bundle/Lsw/MemcacheBundle/
Resources/codegen/memcached-2.1.0/memcached-api.php" and "/home/myuser/
myproject/vendor/leaseweb/memcache-bundle/Lsw/MemcacheBundle/Resources/
codegen/memcached-2.2.0/memcached-api.php", the first will be used.
Warning: Ambiguous class resolution, "MemcachedException" was found in
both "/home/myuser/myproject/vendor/leaseweb/memcache-bundle/Lsw/Memcac
heBundle/Resources/codegen/memcached-2.1.0/memcached-api.php" and "/hom
e/myuser/myproject/vendor/leaseweb/memcache-bundle/Lsw/MemcacheBundle/R
esources/codegen/memcached-2.2.0/memcached-api.php", the first will be
used.
Warning: Ambiguous class resolution, "Memcached" was found in both "/ho
me/myuser/myproject/vendor/leaseweb/memcache-bundle/Lsw/MemcacheBundle/
Resources/codegen/memcached-2.1.0/memcached-api.php" and "/home/myuser/
myproject/vendor/leaseweb/memcache-bundle/Lsw/MemcacheBundle/Resources/
codegen/memcached-2.0.1/memcached-api.php", the first will be used.
Warning: Ambiguous class resolution, "MemcachedException" was found in
both "/home/myuser/myproject/vendor/leaseweb/memcache-bundle/Lsw/Memcac
heBundle/Resources/codegen/memcached-2.1.0/memcached-api.php" and "/hom
e/myuser/myproject/vendor/leaseweb/memcache-bundle/Lsw/MemcacheBundle/R
esources/codegen/memcached-2.0.1/memcached-api.php", the first will be
used.

Closing inactive issue.


[DPG]: Full coverage of the test cases in CADL Ranch repo

This is the follow up item for https://github.com/Azure/autorest.csharp/issues/2467
Let's target to have full coverage for all CADL files in https://github.com/Azure/cadl-ranch/tree/main/packages/cadl-ranch-specs/http for DPG tests.

Let's set the goal of 60% coverage at minimal and 80% at ideal.

break down to test categories to follow up.

current coverage: 58%

Cadl-ranch coverage is more than 80%. close this one


bundler inline fails when BUNDLE_BIN is set (default in docker)

Hi there,
I'm trying to use bundler/inline feature to dockerize some scripts that require gems to be installed. I was able to reproduce the problem locally, it's doesn't appear to be docker specific issue.
Steps to reproduce:
Create example script in /tmp/inline.rb:
require 'bundler/inline'

gemfile(true) do
  source 'https://rubygems.org'

  gem 'aws-sdk'
end

Run the script in official docker container:
docker run --rm -v /tmp/inline.rb:/inline.rb -it ruby:2.4 ruby /inline.rb

Result:
Fetching gem metadata from https://rubygems.org/............
Fetching version metadata from https://rubygems.org/.
Resolving dependencies...
Fetching aws-sigv4 1.0.0
Installing aws-sigv4 1.0.0
Fetching jmespath 1.3.1
Installing jmespath 1.3.1
Using bundler 1.15.1
/usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.1/lib/bundler/installer/parallel_installer.rb:142:in `handle_error': ArgumentError: different prefix: "" and "/usr/local/bundle/bin" (Bundler::InstallError)
An error occurred while installing aws-sigv4 (1.0.0), and Bundler cannot continue.
Make sure that `gem install aws-sigv4 -v '1.0.0'` succeeds before bundling.

In Gemfile:
  aws-sdk was resolved to 2.10.9, which depends on
    aws-sdk-resources was resolved to 2.10.9, which depends on
      aws-sdk-core was resolved to 2.10.9, which depends on
        aws-sigv4
        from /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.1/lib/bundler/installer/parallel_installer.rb:104:in `call'
        from /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.1/lib/bundler/installer/parallel_installer.rb:77:in `call'
        from /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.1/lib/bundler/installer.rb:199:in `install_in_parallel'
        from /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.1/lib/bundler/installer.rb:166:in `install'
        from /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.1/lib/bundler/installer.rb:80:in `run'
        from /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.1/lib/bundler/installer.rb:24:in `install'
        from /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.15.1/lib/bundler/inline.rb:63:in `gemfile'

It works when BUNDLE_BIN is unset or false:
docker run -e BUNDLE_BIN=false --rm -v /tmp/inline.rb:/inline.rb -it ruby:2.4 ruby /inline.rb

Fetching gem metadata from https://rubygems.org/............
Fetching version metadata from https://rubygems.org/.
Resolving dependencies...
Fetching aws-sigv4 1.0.0
Installing aws-sigv4 1.0.0
Fetching jmespath 1.3.1
Installing jmespath 1.3.1
Using bundler 1.15.1
Fetching aws-sdk-core 2.10.9
Installing aws-sdk-core 2.10.9
Fetching aws-sdk-resources 2.10.9
Installing aws-sdk-resources 2.10.9
Fetching aws-sdk 2.10.9
Installing aws-sdk 2.10.9

Output of bundle env from docker container:
bundle env
## Environment

Bundler   1.15.1
Rubygems  2.6.12
Ruby      2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux]
GEM_HOME  /usr/local/bundle
GEM_PATH
Git       2.1.4
Platform  x86_64-linux

## Bundler settings

silence_root_warning
  Set via BUNDLE_SILENCE_ROOT_WARNING: "1"
app_config
  Set via BUNDLE_APP_CONFIG: "/usr/local/bundle"
bin
  Set via BUNDLE_BIN: "/usr/local/bundle/bin"
path
  Set via BUNDLE_PATH: "/usr/local/bundle"

This is from the official, up to date, ruby docker image. I'm getting exactly same error on my local environment by running BUNDLE_BIN=/tmp ruby /tmp/inline.rb.
The workaround I'm using now is to simply update the script with ENV['BUNDLE_BIN'] = nil at the very top. That works, but it feels to be a bug so I'm creating an issue.
Thanks so much for doing awesome work on bundler and taking time to look into this problem!

Thanks for the 💯 issue! https://github.com/bundler/bundler/pull/5848 should fix this.

Thanks so much @segiddins! :100: :+1: :heart_eyes_cat:


Fix memory leak in NaiveEngine

Fixes #15375
Description
Fixes a memory leak in NaiveEngine when using operator profiling.

Added valgrind run which shows the memory being leaked.

@mxnet-label-bot add [Engine, Bug, Memory]

@mxnet-label-bot add [Backend]

@mxnet-label-bot add [pr-awaiting-merge]

Merged. Thank you!


How can I change the weekdayTitle background and the text color(only the sunday and the saturday) like this?

I have figured  out it.

using the weekdayTextAppearance property I believe


Ropsten start services script

All E2E tests now pass on local testnet. 8/13 tests pass on ropsten but are unreliable possibly due to an issue with the beefy relayer(more info below). The ethereum relayer continues to work even for ropsten because PoW verification is disabled on the parachain in the snowbase version of the runtime. Headers still import successfully even though they are PoS headers.
To use ropsten you need to have separate accounts for the relayers and an account for deployment. The same account used for deployment and for running tests.
Add the following to ethereum/.envrc:
export ROPSTEN_PRIVATE_KEY=0x…deployment.account
export INFURA_PROJECT_ID=…

Add the following to test/.envrc:
export INFURA_PROJECT_ID=…

export ETH_NETWORK=ropsten
export ETH_NETWORK_ID=3

export ETH_RPC_ENDPOINT=https://ropsten.infura.io/v3
export ETH_WS_ENDPOINT=wss://ropsten.infura.io/ws/v3

export ROPSTEN_PRIVATE_KEY=0x…deployment.account
export BEEFY_RELAY_ETH_KEY=0x…beefy.relayer.account
export PARACHAIN_RELAY_ETH_KEY=0x…parachain.relayer.account
export E2E_TEST_ETH_KEY=0x…deployment.account

The beefy relayer sometimes fails with the error below but does eventually recover and relay messages. I think this may be config related. I believe this is causing the timeouts as it means we miss a round of justifications.
{"@timestamp":"2022-06-22T00:23:49.246346738Z","error":"submit request: create validator bitfield: execution reverted: wait period not over","level":"fatal","message":"Unhandled error"}

Tests might take a bit longer to run so use a greater timeout e.g. yarn test -t 1200000
Todo

[ ] Address beefy relayer issues.
[ ] ERC20 Tests are currently failing for non timeout reasons. I am busy troubleshooting this.

@alistair-singh looks great! 👌 I can't approve because I created the PR, but I think it's good to go.