chart/zipkin-server - elasticsearch support

Rightnow chart/zipkin-server supports only "mem" storage type. As docker image allows to use elasticsearch I've prepared deployment.yaml file that supports elasticsearch.
It was tested and it works. It doesn't require to make any changes in values.yaml as default STORAGE_TYPE is still set to mem.
Don't be hesitate to modify code. It can always be better :)
Feature
zipkin-server helm chart that supports elasticsearch.
@jonkerj Would you be so kind and verify it and add to code? Deployment file in attachment.
deployment.zip

Sure, I'll look into it this week

Would be nice to have that feature out of the box. I've also verified it in my helm and it works :)

+1
Would be great to have this implemented!


Added AsOf and Between extension methods on a DbSet.

Added some simple extension methods on a DbSet to easily query a entities at a specific time or between a range. The returned IQueryable can still be used by suppoted EF LINQ operators and the filter will apply fine.

Your extensions will only return data from the TemporalTable instead of the history table.

Did you test the extension? Data from both tables is returned with this syntax. Maybe I don't understand what you mean, but I'd you test both extensions, days from the main table and history table is returned if it matches the date.

@lpperras Sorry i've mistaken, take a look at my test results
https://github.com/dotnet/efcore/issues/4693#issuecomment-581045619

Hi, I've checked your pull request and it appears to be working so I merged it.
It took me while to get it merged because I've been trying to find a way to prevent SELECT * FROM ... if in your query you have something like:
db.MyTable.Select(x => new {     Id = x.Id,     Name = x.Name }).ToList();
and have the corresponding SQL code containing only the columns that are in the projection.
I still can't find a solution for that problem but meanwhile your solution will work for maybe most of the cases so thank you for cooperating on the project!

I would have to try, but I think that since the FromRawSql method returns an IQueryable, doing this:
db.MyTable.AsOf(DateTime.Now).Select(x => new { Id = x.Id, Name = x.Name }).ToList()
would be queried like this:
SELECT t.[Id], t.[Name] FROM (SELECT * FROM MyTable) AS t
Only selected columns would be returned from the database.

Just noticed that you changed the type from DateTimeOffset to DateTime. Since Temporal tables are datetime2 columns, I had timezone issues when using DateTime. It would not work properly if my timezone wasn't GMT. Maybe my tests were not valid, did you try with different timezones?

I would have to try, but I think that since the FromRawSql method returns an IQueryable, doing this:
db.MyTable.AsOf(DateTime.Now).Select(x => new { Id = x.Id, Name = x.Name }).ToList()
would be queried like this:
SELECT t.[Id], t.[Name] FROM (SELECT * FROM MyTable) AS t
Only selected columns would be returned from the database.

Yes, I've tested that it and it only fetches the specified columns when I apply a where clause, otherwise it returns all columns.

Just noticed that you changed the type from DateTimeOffset to DateTime. Since Temporal tables are datetime2 columns, I had timezone issues when using DateTime. It would not work properly if my timezone wasn't GMT. Maybe my tests were not valid, did you try with different timezones?

I guess we can overload the methods  to support both DateTime and DateTimeOffset, I wasn't sure why you need DateTimeOffset initially. When I work with time zones I store the dates in UTC and have the corresponding client applications convert the UTC dates to their local date & time and I'm able to achieve complete independence of the time zone my database is being hosted in.
I'll modify the library to support DateTimeOffset as well to keep it more functional and to resolve such time zone issue but I wanted to also share my experience with time zones and why i tend to use UTC dates in such scenarios.

Just noticed that you changed the type from DateTimeOffset to DateTime. Since Temporal tables are datetime2 columns, I had timezone issues when using DateTime. It would not work properly if my timezone wasn't GMT. Maybe my tests were not valid, did you try with different timezones?

I guess we can overload the methods to support both DateTime and DateTimeOffset, I wasn't sure why you need DateTimeOffset initially. When I work with time zones I store the dates in UTC and have the corresponding client applications convert the UTC dates to their local date & time and I'm able to achieve complete independence of the time zone my database is being hosted in.

Agree with your approach

I'll modify the library to support DateTimeOffset as well to keep it more functional and to resolve such time zone issue but I wanted to also share my experience with time zones and why I tend to use UTC dates in such scenarios.

I don't think you should support DateTimeOffset because the underlying data type is always datetime2 for the temporal table. Correct me if I'm wrong

You are right that the underlying type is always datetime2, which is the type that is generated for any property of type DateTimeOffset. By default, I thinbk EF still generates a datetime for properties of type DateTime. I just tested again, and if you DateTime is of kind DateTimeKind.Local, you will not get the expected result unless you are in GMT timezone. I think that if DateTimeOffset is not added, the code should at least validate the type of DateTime that is passed, and if it's local, convert it to universal.
Ex: date = date.Kind == DateTimeKind.Local ? date.ToUniversalTime() : date;


Network Manager: Add additional endpoints for Sites, Links & Devices

It would be useful to add support for the endpoints to Network Manager:

Devices
Links
Sites

The actions would include Create, Get & Delete for each endpoint.
https://docs.aws.amazon.com/networkmanager/latest/APIReference/API_GetDevices.html
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/networkmanager/client/get_sites.html

Picking up this enhancement - Will link to dev branch once available.


Aversion Obelisk does not prevent mobs to spawn on Cursed Land

Issue Description:
Aversion Obelisk does not prevent mobs to spawn on Cursed Land (extrautils).
My server runs FTB Direwolf20 1.10.
What happens:
Mobs still spawn in the area of the obelisk although the obelisk contains a soul vial containing the mob.
My obelisks are not fitted with any capacitor and have reliable power.
I have Cursed Earth tiles under the Aversion Obelisk.
What you expected to happen:
Mobs don't spawn.
Steps to reproduce:
Place and power an Aversion Obelisk on top of Cursed Earth tiles.
Add soul vial containing a mob
Wait for the mob to spawn.
Versions:
EnderIO-1.10.2-<IP_ADDRESS>_beta
EnderCore-1.10.2-<IP_ADDRESS>-beta
extrautils2-1.10.2-alpha-1.2.2

Please raise this with extrautils, they are not firing the mob spawning event.

Cursed Earth explicitly disregard any spawn restrictions. This is in the very description of the block, with a warning written in big letters all over it.

Well ok, my bad. I tried to search for that on extrautils but didn't find it -_-'.
Sorry, I close the ticket.

Not a problem at all. This was one of the more sane "not a bug" tickets ;)


Multilabel

Current coverage is 86.94% (diff: 100%)

Merging #78 into master will not change coverage

@@             master        #78   diff @@
==========================================
  Files            26         26
  Lines           789        789
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            686        686
  Misses          103        103
  Partials          0          0

Powered by Codecov. Last update f452d5c...568366c


[Checkout extensions docs]: Fix broken links

This PR:

Fixes a few links that weren't pointing to the correct location
Partially fixes https://github.com/Shopify/shopify-dev/issues/15135
Relates to https://github.com/Shopify/shopify-dev/pull/15147

perhaps missed a couple - see comments on the shopify-dev counterpart PR: https://github.com/Shopify/shopify-dev/pull/15147#pullrequestreview-856966815


Netlify isn't handling subpaths

Netlify throws a 404 if you access a subpage, e.g. "Sources": https://exploring-cancer-in-colorado.netlify.app/sources.
I assume this is because it hasn't been configured to send all requests to the root index where they can be handled by the router.
FWIW, I'm fine to close this as wontfix since it doesn't affect "prod" (e.g., https://ecco.cu-dbmi.dev/sources works) and it doesn't impact navigating around the site from the index, just coming in from a link with a subpath, but I thought I'd bring it up if there's any easy fix.

Duplicate of #47


when we can not resolve field, it passes null as $contextValue for resolve function

Hi
class PostType extends \Youshido\GraphQL\Type\Object\AbstractObjectType
{

    /**
     * @param \Youshido\GraphQL\Config\Object\ObjectTypeConfig|TypeConfigInterface $config
     * @return mixed
     */
    public function build($config)
    {
        $config->addField('id', [
            'type' => new IdType(),
            'resolve' => function ($value, $args){
                return $value['post_id'];
            },
        ]);

in my db, the id field is named post_id, i want to resolve post_id to id
but in resolve function, $value is always null
it seems you have issue in https://github.com/Youshido/GraphQL/blob/master/src/Execution/Processor.php#L274
because
        if (!$resolved && $field->getType()->getNamedType()->getKind() == TypeMap::KIND_SCALAR) {
            $resolved = true;
        }
        if ($resolveFunction = $field->getConfig()->getResolveFunction()) {
           .....
            } else {
                $resolverValue = $resolveFunction($resolved ? $resolverValue : $contextValue, $fieldAst->getKeyValueArguments(), $resolveInfo);
            }
        }

when $resolved = true and $resolverValue = null, $resolveFunction will have null $contextValue

Checking.

Fixed in v1.1.5
I added a test for field_alias resolver here: https://github.com/Youshido/GraphQL/blob/master/Tests/Schema/ProcessorTest.php#L199


[Question] 有没有和vicuna、RWKV的性能对比

Required prerequisites

[X] I have read the documentation https://github.com/baichuan-inc/baichuan-7B/blob/HEAD/README.md.
[X] I have searched the Issue Tracker and Discussions that this hasn't already been reported. (+1 or comment there if it has.)
[X] Consider asking first in a Discussion.

Questions
在LMSYS Org组织的LLM排位赛中，vicuna、RWKV评分仅次于ChatGPT和Claude。baichuan有没有和这两个模型的性能对比
Checklist

[X] I have provided all relevant and necessary information above.
[X] I have chosen a suitable title for this issue.

肯定达不到vicuna，要不然早就在文章中提了。

中文能力应该是比vicuna强的，英文能力不清楚

baichuan没有经过instruction tuning，和vicuna和rwkv是可以比较的吗？


Captcha setting

I'm just thinkg about the use case for the captcha setting.

is it useful for PMs ? Shouldn't it not be hidden for PMs ?

shouldn't it not always be enabled for non-PMs ? Is there a scenario where it is senseful that the setting is disabled ?

is it useful for PMs ? Shouldn't it not be hidden for PMs ?

That would be ok.

shouldn't it not always be enabled for non-PMs ? Is there a scenario where it is senseful that the setting is disabled ?

Sometimes it's really annoying if you don't need the distance in search-lists.

I used the captcha only once or twice while I was a basic member using c:geo. The usability is bad (on my phone) and IMHO its simply not worth the effort. If a cache looks promising I simply went to the details and then I have everything without the captcha-hassle. O I use the live-map directly.

I'm a non-PM. I have just entered captcha about 5 times throughout these years with c:geo (half of them has been in the last two weeks), it is not worth the effort.

Nice one.
Is it recognized if the member status changes (PM running out)

The member status is updated each time you login.


Added sparse mapping launch script

Runs the sparse mapping matcher (localization_node) live using an input bagfile and optionally saves the results to a bagfile.  Created for @oleg-alexandrov for use with the ISAAC pipeline.

I pulled this in, I tested that it works, except for the last line,
node pkg="rosservice" type="rosservice" name="enable_sparse_mapping" args="call --wait /loc/ml/enable true"
failing.

I think I am very bad at dealing with pull requests. I merged this in prematurely, the clicked on "revert" to see what it will do, which just created a branch, which I plan to wipe.
I think there's not much harm I pulled this in too early. I will keep an eye on the unresolved issue above which shows up only on   ROS melodic and not with ROS kinetic.

It's fine, just make a new pull request when you fix that problem.

I will look at this this week.


[Feedback]  Objectives_test by parent

Feedback details
ID: 368 | created at 2023-05-11T12:47:17 | feedback type: feedback-suggestChange
Message 1 from user e72d79ef-4403-4dd3-95cb-c1853565acdd
Selected text
Goals
User feedback
Objectives_test by parent
Template target
[{"el": "container", "templatename": "session_overview"}, {"el": "component", "name": "goals", "type": "display_group"}]

Closed as this is a duplicate of #50


Set profilepic ImageResizeTransform maxHeight and maxWidth

Update profilepic mode renderings.  Enhances fix for #5291

I am confused I thought the problem was defining the max to 10px by default, can you explain the nature of this change...

If you place a break point in and walk through the code eventually that 10px will become the value used by the ImageResizeTransform class. When requests are made for images in the profilepic mode(not using a maxHeight maxWidth parms) it causes problems with the renderings.  The solution in this commit is to avoid using the new hard coded 10px default and set maxHeight/maxWidth to the actual image size when those values are available and the request is a profilepic mode request.  This solves the rendering problems in our test environment.
There may be better approaches to solving the issue which I am glad to learn from.  We can close this out once it sprouts.

Are people using the maxHeight and maxWidth params for profilepic mode?
I tried a global search on DnnImageHandler and I don't think those params are ever used for making requests in profilepic mode.  They are used for requests made in secure mode but not for profilepic requests.
We can add an additional check for those params if you want to allow for custom maxHeight maxWidth with profilepics.

I was thinking maybe to only revert this change: https://github.com/trilogy-group/Dnn.Platform/pull/1/commits/e2c302d88f2855d1be0c324f2b4e90fabf295679
Unless I am wrong, people could use that API if they build a module that needs a profile picture.
Also, unless I am wrong, if max is 0 the underlying method called would just use width and height by default...

I believe I'm in favor with @valadas recommendation here, going back to the old behavior for size.
Plus I didn't really care for 10px by 10px as the default anyway

You are right someone might use the maxHeight maxWidth params for pofilepic mode requests in a module.  Right on default max zero handling too.
I have not tested the change you're suggesting.  If it fixes the rendering without impacting the rest of the commit then it is better.
I stayed inside the if check that isolated changes to profilepic requests. Setting the default to 0 potentially has broader affects.
I am not sure if there was some initial need to set the 10px.
If you find success with the default at 0 and no side affects then mission accomplished.  Close this up.

Also, since the change in question was done between 9.10.2 and 9.11.1, this is technically a regression bug, so I retargeted the release/9.11.1 branch here.


removing scroll bars at load

all the demos and my own implementation shows scroll bars on initial load of iframe while the loading spinner renders, is it possible to hide the scrollbars?
scroll bars should not render if the content does not exceed the iframe

scrolling attribute is deprecated. I tried to resolve it using CSS, but the following didn't work since it needs to be applied to inner element like <html> or <body>.
attributes: {
    iframe: {
        style: 'overflow: hidden'
    }
}

The issue is due to the margin added to body by browser. We should overwrite the margin or change the spinner size.


feat(Reports): support online meeting attendance record

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


chore: Move cell paddings and overflow to cell content

Description
A follow up update for https://github.com/cloudscape-design/components/pull/2113.
In this PR the new table cell content wrappers receive paddings and overflow styles. Now, the https://github.com/cloudscape-design/components/pull/2070 is possible as the next step.
How has this been tested?

VR and screenshot tests

Review checklist
The following items are to be evaluated by the author(s) and the reviewer(s).
Correctness

Changes include appropriate documentation updates.
Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
Changes do not include unsupported browser features, see CONTRIBUTING.md.
Changes were manually tested for accessibility, see accessibility guidelines.

Security

If the code handles URLs: all URLs are validated through the checkSafeUrl function.

Testing

Changes are covered with new/existing unit tests?
Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Closed in favour of https://github.com/cloudscape-design/components/pull/2336


Fix formatting and slight improvements

Description
FCE-597
Describe your changes in detail

Followup: https://github.com/fishjam-cloud/documentation/pull/21


Added DrawerLayout in Android in Java

Description 📜
I have added all the documentation related to RecyclerView in Android and also added the required formatting to the code.
With this, I have also given the user the choice to copy the code directly from the docs if required,
Fixes #5005

Type of change 📝

[x] Doc#umentation (Content Creation in the form of codes or tutorials)

Domain of Contribution 📊

[x] Android Dev #(Java)

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸
Doc ScreenShot-:

Plagiarism %-:

Hey @VikasPandey121 I am done with the PR please review it if there is no issue you can merge it..
THankyou


Remove unavailable video check

https://github.com/nficano/pytube/pull/258/ breaks the download age restricted videos code which this PR reverts
https://github.com/nficano/pytube/pull/258/ was for https://github.com/nficano/pytube/issues/250 - not sure how feasible it is to implement a solution, e.g. youtube-dl  https://www.youtube.com/watch?v=IW1mdGDSGYQ outputs ERROR: This live stream recording is not available. @billd100
tested on https://www.youtube.com/watch?v=irauhITDrsE

Coverage increased (+0.6%) to 76.954% when pulling c70cc4626d338d4ceca7c90ba1b60516c388e772 on grking8:unable-to-download-age-restricted-#371 into 67e436eaabdbf9a10cc649610801c9b4bbd52838 on nficano:master.

Fixed in https://github.com/hbmartin/pytube3/pull/48

Issue seems to be fixed already -- please re-open if this isn't the case :)


fix: broken flatlist and scrollview on rtl for tvos

I have this patch applied to the project I am working on and RTL and LTR both work fine now, I can look into making the changes for Fabric too - but this isn't something I'll be able to do until next week
fixes https://github.com/react-native-tvos/react-native-tvos/issues/808

@douglowder

Thanks @christianEconify !


how to initialize memory on app startup

How do I initialize the memory on app startup? I tried the following without success:
(function() {
  var app, bodyParser, feathers, memory;

  feathers = require('feathers');

  memory = require('feathers-memory')();

  bodyParser = require('body-parser');

  app = feathers();

  app.configure(feathers.rest())
    .use(bodyParser.json())
    .use('/values', memory).
    configure(feathers.errors())
    .listen(3000);

  console.log('App listening on <IP_ADDRESS>:3000');

  // Here is what I tried
  memory.create({
    name: 'initial-value',
    type: "test",
    x: []
  });

}).call(this)

I also tried passing an object right after the require. Do you already have a solution for that? Thanks in advance.

Solution in #5
I should have passed all the parameters with json formart:
// create(data, params, callback), although I don't know yet what params are used for...
memory.create({
    "name": 'initial-value',
    "type": "test",
    "x": []
  }, {}, function(error, data){
    console.log('created data: ', data)
});

Yep. This is how it looks like:
var feathers = require('feathers');
var memory = require('feathers-memory')();
var bodyParser = require('body-parser');
var app = feathers();

app.configure(feathers.rest())
  .use(bodyParser.json())
  .use('/values', memory)
  .listen(3000);

console.log('App listening on <IP_ADDRESS>:3000');

app.service('values').create({
    name: 'initial-value',
    type: "test",
    x: []
}, function(error, data) {
  console.log('Created', data);
});

You actually shouldn't have to pass the callback though, I'll have to look into why this is happening.

I case that might help, here is the error I got:
/Users/eder/js/agnez/node_modules/feathers-memory/lib/memory.js:79
    cb(null, data);
    ^
TypeError: undefined is not a function
    at Object.Proto.extend.create (/Users/eder/js/agnez/node_modules/feathers-memory/lib/memory.js:79:5)
    at Object.self.(anonymous function) [as create] (/Users/eder/js/agnez/node_modules/feathers-memory/node_modules/uberproto/lib/proto.js:61:21)
    at Object.<anonymous> (/Users/eder/js/agnez/app.js:17:10)
    at Object.<anonymous> (/Users/eder/js/agnez/app.js:50:4)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Function.Module.runMain (module.js:501:10)
    at startup (node.js:129:16)

Related: https://github.com/feathersjs/feathers-commons/issues/4

This should be fixed now via https://github.com/feathersjs/feathers/pull/151 and will be available in the upcoming 1.2 release.


#586 suggest alternative when auto update not working

resolves #586
https://www.loom.com/share/18ca42784e3943d0af98f99a80e79876

happened again: https://www.loom.com/share/3df57568d8214ababc9c59f4159d19b3


Mbed tools are not present when creating a new Mbed OS 2 program with --mbedlib

mbed-cli version: 1.7.3
I follow the instructions in the Mbed CLI README documentation for creating a new Mbed OS 2 program (https://github.com/ARMmbed/mbed-cli#creating-a-new-program-for-mbed-os-2) and I receive the following output:
~/Repos $ mbed new mbed-classic-program --mbedlib
[mbed] Creating new program "mbed-classic-program" (git)
[mbed] Adding library "builds" from "https://mbed.org/users/mbed_official/code/mbed/builds" at branch/tag "tip"
[mbed] Downloading library build "5aab5a7997ee" (might take a while)
[mbed] Unpacking library build "5aab5a7997ee" in "/Users/jenplu01/Repos/mbed-classic-program/builds"
[mbed] Unpacking library build "5aab5a7997ee" in "/Users/jenplu01/Repos/mbed-classic-program/builds"
[mbed] Updating reference "builds" -> "https://mbed.org/users/mbed_official/code/mbed/builds/5aab5a7997ee"
[mbed] WARNING: Cannot find the mbed tools directory in "/Users/jenplu01/Repos/mbed-classic-program"
---

Unlike in the README, the Mbed 2.0 build tools are not downloaded. So, when I try to use commands like mbed export, mbed compile etc. I get the following output:
~/Repos/mbed-classic-program $ mbed compile
[mbed] ERROR: The mbed tools were not found in "/Users/jenplu01/Repos/mbed-classic-program".
[mbed] ERROR: Run `mbed deploy` to install dependencies and tools.
---
~/Repos/mbed-classic-program $ mbed export
[mbed] ERROR: The mbed tools were not found in "/Users/jenplu01/Repos/mbed-classic-program".
[mbed] ERROR: Run `mbed deploy` to install dependencies and tools.
---

So then I try to run mbed deploy...
~/Repos/mbed-classic-program $ mbed deploy
[mbed] Updating library "builds" to rev #5aab5a7997ee
[mbed] WARNING: Cannot find the mbed tools directory in "/Users/jenplu01/Repos/mbed-classic-program"
---

And now I'm stuck in a loop of being unable to do anything with this new Mbed OS 2 directory.

ARM Internal Ref: MBOTRIAGE-670

same for 1.7.2

Thanks for verifying that this bug is still present.

Is this problem still existent? I'v tried it now with actual mbed-cli 1.8.3 and the mbed libname is correct and also the tools are downloaded.
But I prefer to create an empy project and use 'mbed add https://os.mbed.com/users/mbed_official/code/mbed-dev/' for the source version which is much leaner than the mbedlib version.
There I have no tools and 'mbed deploy' does not load them. Mbed deploy detects a mbed classic by checking if file mbed.bld exists. Creating an empty mbed.bld is tweaking the deploy command and it will download the tools. But it would be cleaner if this could be done by a '--force-mbed2-tools' or similar switch. Would this make sense or is there already another trick to achive this?

I am having the same errors, does someone know the solution?

@PhanLeSon03 Make sure your Mbed CLI is updated: pip install -U mbed-cli
If you encounter the fatal error: mbed.h: No such file or directory follow the instructions on this thread: https://github.com/ARMmbed/mbed-cli/issues/805

Thank you for raising this issue. Please note we have updated our policies and
now only defects should be raised directly in GitHub. Going forward questions and
enhancements will be considered in our forums, https://forums.mbed.com/ . If this
issue is still relevant please re-raise it there.
This GitHub issue will now be closed.

Apologies, this was closed in error by the automated bot - re-opening.

Internal Jira reference: https://jira.arm.com/browse/IOTBTOOL-479


Namespace '_' has no exported member 'Cancelable'

I am trying to use @contentful/field-editor-date in our project, but I can't get past the TypeScript error for the type definitions of FieldConnector in @contentful/field-editor-shared. Line 42 of FieldConnector.d.ts has the following error:

Namespace '_' has no exported member 'Cancelable'

This comes up where import("lodash").Cancelable is included in the return type for setValue. I have tried installing lodash, lodash-es, and their corresponding @types/____ modules, but the error persists.

Just to add, I dug into the source a bit and it looks like the return value is coming from Lodash's throttle function. If I call throttle myself, the return type is DebouncedFunc, so I don't know why there's that discrepancy between return types.

Just investigated that type discrepancy a little further, @types/lodash changed the return type of throttle 5 days ago, so it is a version mismatch issue. Closing issue


Strange time

[x] I confirm that this is an issue rather than a question.

Bug report

Steps to reproduce

[ ] I prepared a reproduction repo, here is the reproduction repo:

[x] This issue doesn't need a reproduction repro, here is the steps to reproduce

two-digit month and day
What is expected?
What is actually happening?
Other relevant information

npx vuepress info:

It's relevant to vuepress-theme-blog.
Relevant issue: #25
Relevant PR: #28

This is not a question of theme, it is VuePress.
See vuejs/vuepress#2097


Capability to determine make image behavior due to sysprep.

Some clouds like azure does not run sysprep on VMs automatically and requests the users to verify if the  sysprep has been run or not before making an image from that particular VM. If dasein can tell users which clouds does not run sysprep automatically or provides the verification option via capability, it might easier for the user to be aware of these cases before imaging a vm.

I don't believe there are any clouds that automatically run sysprep when imaging the VM. Obviously Azure does not but neither does AWS or GCE or vSphere.
I'm not exactly sure what capability we would be putting in place here?

AWS generates new windows vm passwords as a default behavior even when launching from a non sysprepped image. But in case of Azure, sysprepped images is necessary in order for the user provided credentials to be set in the vm during launch. So maybe a capability to describe such behavior in cloud like
settingBoopstrapUserRequiresSyspreppedImage

That's getting into awfully hypervisor level stuff, not really cloud level.
Dasein shouldn't really know nor care whether you're sysprepping an image.
And AWS specifically recommends that you do...


E0803 00:23:46.331521753   39650 ssl_transport_security.cc:989] Handshake fad wileith fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed.
E0803 00:23:47.379271451   39650 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed.
E0803 00:23:49.187643994   39650 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed.
error: [Remote.js]: Error: Failed to connect before the deadline
error: [Orderer.js]: Orderer grpcs://localhost:7050 has an error Error: Failed to connect before the deadline
not ok 1 Failed to create channels Error: Failed to connect before the deadline at checkState (/home/sur/caliper/node_modules/grpc/src/client.js:838:16)
operator: fail
at: channels.reduce.then.then.catch (/home/sur/caliper/src/fabric/create-channel.js:159:19)
stack: |-
  Error: Failed to create channels Error: Failed to connect before the deadline
      at checkState (/home/sur/caliper/node_modules/grpc/src/client.js:838:16)
      at Test.assert [as _assert] (/home/sur/caliper/node_modules/tape/lib/test.js:224:54)
      at Test.bound [as _assert] (/home/sur/caliper/node_modules/tape/lib/test.js:76:32)
      at Test.fail (/home/sur/caliper/node_modules/tape/lib/test.js:317:10)
      at Test.bound [as fail] (/home/sur/caliper/node_modules/tape/lib/test.js:76:32)
      at channels.reduce.then.then.catch (/home/sur/caliper/src/fabric/create-channel.js:159:19)
      at process._tickCallback (internal/process/next_tick.js:68:7)

...
fabric.init() failed, Error: Fabric: Create channel failed
at channels.reduce.then.then.catch (/home/sur/caliper/src/fabric/create-channel.js:160:31)
at process._tickCallback (internal/process/next_tick.js:68:7)
[Transaction Info] - Submitted: 0 Succ: 0 Fail:0 Unfinished:0
unexpected error, Error: Fabric: Create channel failed
at channels.reduce.then.then.catch (/home/sur/caliper/src/fabric/create-channel.js:160:31)
at process._tickCallback (internal/process/next_tick.js:68:7)
docker-compose -f network/fabric/simplenetwork/docker-compose.yaml down;docker rm $(docker ps -aq);docker rmi $(docker images dev* -q)
Stopping peer1.org2.example.com ... done
Stopping peer1.org1.example.com ... done
Stopping peer0.org1.example.com ... done
Stopping peer0.org2.example.com ... done
Stopping ca_peerOrg2            ... done
Stopping orderer.example.com    ... done
Stopping ca_peerOrg1            ... done
Stopping simplenetwork_ca_1     ... done
Removing peer1.org2.example.com ... done
Removing peer1.org1.example.com ... done
Removing peer0.org1.example.com ... done
Removing peer0.org2.example.com ... done
Removing ca_peerOrg2            ... done
Removing orderer.example.com    ... done
Removing ca_peerOrg1            ... done
Removing simplenetwork_peer_1   ... done
Removing simplenetwork_ca_1     ... done
Removing network simplenetwork_default
"docker rm" requires at least 1 argument.
See 'docker rm --help'.
Usage:  docker rm [OPTIONS] CONTAINER [CONTAINER...]
Remove one or more containers
"docker rmi" requires at least 1 argument.
See 'docker rmi --help'.
Usage:  docker rmi [OPTIONS] IMAGE [IMAGE...]
Remove one or more images
1..1
tests 1
pass  0
fail  1
sur@ubuntu:~/caliper$

I have the same issue. Any solutions?

Hi same issue here.
I've this issue in Ubuntu 16.04 when connecting through NodeJS SDK.
The issue doesn't occur when submitting transaction through peer command in cli container.
It doesn't occur in OSX either when connecting through NodeJS SDK.
Any workaround?

Hello @kaiknight ,
I am also facing the same issue while trying to setup my network using Node SDK on my Ubuntu VMs.
I am facing it while creating a common channel and joining my orgs. I also tried running my JS file with sudo permission but still facing the same issue. I would really appreciate if you can assist me in solving this issue.

Hi same issue here.
I've this issue in Ubuntu 16.04 when connecting through NodeJS SDK.
The issue doesn't occur when submitting transaction through peer command in cli container.
It doesn't occur in OSX either when connecting through NodeJS SDK.
Any workaround?

thank you, have already been solved

Hi same issue here.
I've this issue in Ubuntu 16.04 when connecting through NodeJS SDK.
The issue doesn't occur when submitting transaction through peer command in cli container.
It doesn't occur in OSX either when connecting through NodeJS SDK.
Any workaround?

@kaiknight thank you, have already been solved

I have the same issue... when trying to invoke from the NodeJS app. Any help?

@anchit93 @Macaret Looks like a connection issue with the orderer. Could you do the following steps?

Remove the start and end scripts from the config.
Start the docker network manually (execute the removed start script)
Wait a few seconds for the network to start
Execute the benchmark

If the error is still there, inspect your orderer logs (and post it here as a GitHub gist if you can't figure out the reason for the error)

I have the same error, Can someone please suggest
error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://localhost:7050
[2018-11-29 18:23:48.445] [ERROR] Join-Channel - Error: Failed to connect before the deadline URL:grpcs://localhost:7050
at checkState (/home/djadhav/Desktop/fabric-samples/balance-transfer/node_modules/grpc/src/client.js:720:16)
[2018-11-29 18:23:48.445] [ERROR] Join-Channel - Failed to join all peers to channel. cause:Error: Failed to connect before the deadline URL:grpcs://localhost:7050
(node:7079) UnhandledPromiseRejectionWarning: Error: Failed to join all peers to channel. cause:Error: Failed to connect before the deadline URL:grpcs://localhost:7050
at Object.joinChannel (/home/djadhav/Desktop/fabric-samples/balance-transfer/app/join-channel.js:101:9)
at
at process._tickCallback (internal/process/next_tick.js:189:7)
(node:7079) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3)

@anchit93 @Macaret Looks like a connection issue with the orderer. Could you do the following steps?

Remove the start and end scripts from the config.
Start the docker network manually (execute the removed start script)
Wait a few seconds for the network to start
Execute the benchmark

If the error is still there, inspect your orderer logs (and post it here as a GitHub gist if you can't figure out the reason for the error)

I still have the issue, only on invoke, on query - everything works fine...
Here are the logs from my orderer:
[2018-12-03T12:58:59.843] [ERROR] app - asyncMiddleware Error: Failed to connect before the deadline URL:grpcs://orderer.test.com:7050
2018-12-03 12:34:56.225 UTC [localconfig] completeInitialization -> INFO 001 Kafka.Version unset, setting to <IP_ADDRESS>
2018-12-03 12:34:56.237 UTC [orderer/common/server] prettyPrintStruct -> INFO 002 Orderer config values:
	General.LedgerType = "file"
	General.ListenAddress = "<IP_ADDRESS>"
	General.ListenPort = 7050
	General.TLS.Enabled = true
	General.TLS.PrivateKey = "/var/hyperledger/orderer/tls/server.key"
	General.TLS.Certificate = "/var/hyperledger/orderer/tls/server.crt"
	General.TLS.RootCAs = [/var/hyperledger/orderer/tls/ca.crt]
	General.TLS.ClientAuthRequired = false
	General.TLS.ClientRootCAs = []
	General.Keepalive.ServerMinInterval = 1m0s
	General.Keepalive.ServerInterval = 2h0m0s
	General.Keepalive.ServerTimeout = 20s
	General.GenesisMethod = "file"
	General.GenesisProfile = "SampleInsecureSolo"
	General.SystemChannel = "test-system-channel-name"
	General.GenesisFile = "/var/hyperledger/orderer/orderer.genesis.block"
	General.Profile.Enabled = false
	General.Profile.Address = "<IP_ADDRESS>:6060"
	General.LogLevel = "INFO"
	General.LogFormat = "%{color}%{time:2006-01-02 15:04:05.000 MST} [%{module}] %{shortfunc} -> %{level:.4s} %{id:03x}%{color:reset} %{message}"
	General.LocalMSPDir = "/var/hyperledger/orderer/msp"
	General.LocalMSPID = "OrdererMSP"
	General.BCCSP.ProviderName = "SW"
	General.BCCSP.SwOpts.SecLevel = 256
	General.BCCSP.SwOpts.HashFamily = "SHA2"
	General.BCCSP.SwOpts.Ephemeral = false
	General.BCCSP.SwOpts.FileKeystore.KeyStorePath = "/var/hyperledger/orderer/msp/keystore"
	General.BCCSP.SwOpts.DummyKeystore =
	General.BCCSP.PluginOpts =
	General.Authentication.TimeWindow = 15m0s
	FileLedger.Location = "/var/hyperledger/production/orderer"
	FileLedger.Prefix = "hyperledger-fabric-ordererledger"
	RAMLedger.HistorySize = 1000
	Kafka.Retry.ShortInterval = 5s
	Kafka.Retry.ShortTotal = 10m0s
	Kafka.Retry.LongInterval = 5m0s
	Kafka.Retry.LongTotal = 12h0m0s
	Kafka.Retry.NetworkTimeouts.DialTimeout = 10s
	Kafka.Retry.NetworkTimeouts.ReadTimeout = 10s
	Kafka.Retry.NetworkTimeouts.WriteTimeout = 10s
	Kafka.Retry.Metadata.RetryMax = 3
	Kafka.Retry.Metadata.RetryBackoff = 250ms
	Kafka.Retry.Producer.RetryMax = 3
	Kafka.Retry.Producer.RetryBackoff = 100ms
	Kafka.Retry.Consumer.RetryBackoff = 2s
	Kafka.Verbose = false
	Kafka.Version = <IP_ADDRESS>
	Kafka.TLS.Enabled = false
	Kafka.TLS.PrivateKey = ""
	Kafka.TLS.Certificate = ""
	Kafka.TLS.RootCAs = []
	Kafka.TLS.ClientAuthRequired = false
	Kafka.TLS.ClientRootCAs = []
	Kafka.SASLPlain.Enabled = false
	Kafka.SASLPlain.User = ""
	Kafka.SASLPlain.Password = ""
	Kafka.Topic.ReplicationFactor = 3
	Debug.BroadcastTraceDir = ""
	Debug.DeliverTraceDir = ""
2018-12-03 12:34:56.237 UTC [orderer/common/server] initializeServerConfig -> INFO 003 Starting orderer with TLS enabled
2018-12-03 12:34:56.257 UTC [fsblkstorage] newBlockfileMgr -> INFO 004 Getting block information from block storage
2018-12-03 12:34:56.270 UTC [orderer/commmon/multichannel] NewRegistrar -> INFO 005 Starting system channel 'testchainid' with genesis block hash d4c076f5307b417cdd952126560f6b8e8d67143e6f57b69a30ab05f16280eec4 and orderer type solo
2018-12-03 12:34:56.271 UTC [orderer/common/server] Start -> INFO 006 Starting orderer:
 Version: 1.3.0
 Commit SHA: ab0a67a
 Go version: go1.10.4
 OS/Arch: linux/amd64
 Experimental features: false
2018-12-03 12:34:56.271 UTC [orderer/common/server] Start -> INFO 007 Beginning to serve requests
2018-12-03 12:35:02.822 UTC [fsblkstorage] newBlockfileMgr -> INFO 008 Getting block information from block storage
2018-12-03 12:35:02.835 UTC [orderer/commmon/multichannel] newChain -> INFO 009 Created and starting new chain mychannel
2018-12-03 12:35:02.840 UTC [common/deliver] Handle -> WARN 00a Error reading from <IP_ADDRESS>:51508: rpc error: code = Canceled desc = context canceled
2018-12-03 12:35:15.673 UTC [orderer/common/broadcast] Handle -> WARN 00b Error reading from <IP_ADDRESS>:51528: rpc error: code = Canceled desc = context canceled
2018-12-03 12:35:15.673 UTC [common/deliver] Handle -> WARN 00c Error reading from <IP_ADDRESS>:51526: rpc error: code = Canceled desc = context canceled
2018-12-03 12:35:18.728 UTC [common/deliver] Handle -> WARN 00d Error reading from <IP_ADDRESS>:51534: rpc error: code = Canceled desc = context canceled
2018-12-03 12:35:18.728 UTC [orderer/common/broadcast] Handle -> WARN 00e Error reading from <IP_ADDRESS>:51536: rpc error: code = Canceled desc = context canceled
2018-12-03 12:35:46.102 UTC [orderer/common/broadcast] Handle -> WARN 00f Error reading from <IP_ADDRESS>:51576: rpc error: code = Canceled desc = context canceled
2018-12-03 12:41:14.568 UTC [orderer/common/broadcast] Handle -> WARN 010 Error reading from <IP_ADDRESS>:51766: rpc error: code = Canceled desc = context canceled

@raky35 @Macaret @dattajadhav44 @anchit93 Handshake errors usually occur when the communication protocols don't match on the client and server side. Double check that if your network configuration file uses grpcs:// and https:// protocols, then your Fabric network is also configured for TLS (and viceversa).
The example networks were made more robust regarding this error, so make sure you use an up-2-date version of Caliper.

I had the exact same error. These steps fixed it for me:

Open VirtualBox Manager and select the “default” VM
Click “Settings”, “Network”, “Advanced”, “Port Forwarding”.
Create a new rule by clicking the “+” sign on the right and entering the following: Name -> “grpc”, Host Port -> 7050, Guest Port -> 7050
You can leave the Host IP and Guest IP unspecified.

Thx to: https://developer.ibm.com/opentech/2017/11/29/running-hyperledger-fabric-windows-revised/

One of the reasons is using unsuitable node version.
To add the Long Term Support (LTS) subversion of Node.js v8, we can use these commands:
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
source ~/.profile
nvm ls-remote
nvm install v8.16.0
nvm list
nvm use v8.16.0
node --version


flutter run should fail better if iOS project files are missing

Steps to reproduce:

Create a directory with a legitimate pubspec.yaml file and with a lib/main.dart file.
From that directory, do flutter run.

Result:
Running "flutter packages get" in foo...                         5.5s
Launching lib/main.dart on iPhone 6 in debug mode...

Oops; flutter has exited unexpectedly.
Sending crash report to Google.
Crash report sent (report ID: 6caa219ecb139eb5)
Crash report written to /Users/jamesdlin/foo/flutter_01.log;
please let us know at https://github.com/flutter/flutter/issues.

The relevant part of the log file has:
FileSystemException: FileSystemException: Cannot open file, path = '/Users/jamesdlin/foo/ios/Runner.xcodeproj/project.pbxproj' (OS Error: No such file or directory, errno = 2)

This is unfriendly and confusing (see https://github.com/google/flutter.widgets/issues/13), especially since it is described as a crash.  The same reproduction steps for Android (from a Linux development environment) does catch this situation and provides a friendlier failure mode:
Running "flutter packages get" in foo...                            2.9s
Using hardware rendering with device Android SDK built for x86. If you get
graphics artifacts, consider enabling software rendering with
"--enable-software-rendering".
Launching lib/main.dart on Android SDK built for x86 in debug mode...
No application found for TargetPlatform.android_x86.
Is your project missing an android/AndroidManifest.xml?
Consider running "flutter create ." to create one.

We should do the same for iOS.

@jamesderlin
Can we suppose that "Developers should ensure that they are running 'flutter run' in a flutter project created by flutter command"?

@kangwang1988 No, people could download Dart packages that provide lib/ but that don't provide the generated Android and iOS project files. In such cases, I think it's reasonable to require using flutter create . first.  See the referenced issue for an example.
Also, if nothing else, this is a parity issue between Android and iOS.


Error in loading training set of VOCDataset of 2007

🐛 Bug
Downloading training set of VOCDetection 2007 version using torchvision.datasets downloads the test set.
To Reproduce
Steps to reproduce the behavior:
1 - Download the training set of VOCDetection 2007 version.
torchvision.datasets.VOCDetection(image_root, year='2007', image_set="train",
download=True)
this is what's gets downloaded:
Downloading http://host.robots.ox.ac.uk/pascal/VOC/voc2007/VOCtest_06-Nov-2007.tar
while it should download the training part
this is due to wrongly handling of assigning key value in _VOCBase class
https://github.com/pytorch/vision/blob/master/torchvision/datasets/voc.py
Expected behavior

Environment
PyTorch version: 1.6.0
Is debug build: False
CUDA used to build PyTorch: None
ROCM used to build PyTorch: N/A
OS: macOS 11.2 (x86_64)
GCC version: Could not collect
Clang version: 12.0.0 (clang-1<IP_ADDRESS>)
CMake version: Could not collect
Python version: 3.8 (64-bit runtime)
Is CUDA available: False
CUDA runtime version: No CUDA
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
HIP runtime version: N/A
MIOpen runtime version: N/A
Versions of relevant libraries:
[pip3] numpy==1.18.5
[pip3] numpydoc==1.1.0
[pip3] torch==1.6.0
[pip3] torchvision==0.7.0
[conda] blas                      1.0                         mkl
[conda] mkl                       2019.4                      233
[conda] mkl-service               2.3.0            py38hfbe908c_0
[conda] mkl_fft                   1.1.0            py38hc64f4ea_0
[conda] mkl_random                1.1.1            py38h959d312_0
[conda] numpy                     1.18.5           py38h1da2735_0
[conda] numpy-base                1.18.5           py38h3304bdc_0
[conda] numpydoc                  1.1.0                      py_0
[conda] torch                     1.6.0                    pypi_0    pypi
[conda] torchvision               0.7.0                    pypi_0    pypi

Duplicate of #3571.


Host collective page: hosted collective/event filters

While discussing with admins of https://opencollective.com/paris recently, I got the feedback that it is more complex to see hosted collectives with the new collective page because they were bundled under the the same Fiscal host filter than collectives.
What they would like to have is a clear list of the collectives they are hosting. While the new host dashboard will certainly solve this, I believe there's a low hanging fruit for us to make things clearer on the new collective page for hosts:
Instead of one Fiscal Host filter, we could have two specific filters:

Hosted Collectives
Hosted Events

can i try this out?

@davejon1337 sure, thanks for jumping in! @piamancini is the owner of the collective page project, let's just wait for her to confirm this before starting with the implementation.

Thanks @Betree It's definitely an easy win.
@davejon1337 You can go ahead!

Just a small note that I find that sub-collective's events showing prominently on host page to be a bit confusing 🙏
Example: https://opencollective.com/hyphacoopinc#category-CONTRIBUTIONS
It used to be that the "host page" by default had a pretty clear list of our hosted collectives. This would strike me as the main interest of someone visiting our host page. But now, once a collective has created an event, it now would appear to add each event to our host page in a way that seems noisy and cluttered. Yes, it can be filtered, but the default list will seemingly become noisy if we choose to keep using events. (Seems like a disincentive for hosts to encourage using events.)
Am I understanding correctly my options here? :)
(Also, happy to create a new issue if this is "real"!)

@patcon I agree - I raised #4128


Add  Linptech Presence Sensor hb01

Adds support for  https://home.miot-spec.com/spec?type=urn:miot-spec-v2:device:occupancy-sensor:0000A0BF:linp-hb01:1:0000C824

Thanks!

But you have renamed file with this commit https://github.com/AlexxIT/XiaomiGateway3/pull/868/commits/2c4cb0e820b9ea070590fe4ace9cfcf0c57a5f21
I have made your changes manually https://github.com/AlexxIT/XiaomiGateway3/commit/03dfa199994212080aa0c89cb9eb88ae573d24c2


[Request] Suggestion of a slightly different layout

Hi @henrygd 👋 ,
Thanks for creating this nifty little tool. As you can probably tell I have been experimenting with it all day and enjoying it really well. One thing I have noticed is that the current layout has pretty low information density. This works really well on mobile, but perhaps not so on desktop. I think it would improve the project with very slight layout changes on larger screens. I have made some mockups to show what I mean:

Please let me know what you think.
And as a final question, maybe you could clarify what should be a discussion and what should be an issue?

No problem, and thank you for asking that. I would like to use discussions for things like questions, suggestions, ideas, or feedback.
IMO something like this would be good as a discussion because others would be more likely to add their own opinions and we could work out a design that suits everyone well.
Maybe it would be good to make a "Design suggestions megathread" where anyone could toss out ideas?
In any case, thanks for your work on this, and I really like your changes. The only thing I'm not sold on is the "Add System" button being in the top bar on one page and not the other, causing the other buttons to move. Maybe we can just leave it there universally?
For the charts, I was split on whether to go with the 2x2 grid. I agree it's much better for getting a quick overview  of the system.
However I kind of like being able to vertically line up spikes with containers when one chart is above the other. What do you think about adding a small button or context menu option to change the grid size?
Maybe others can chime in with their opinions. I'm definitely not opposed to incorporating these changes.

I made a thread for design change suggestions and added your post here: #56


Fix  content negotiate for schema 3.x dois

Purpose
User are unable to get bibtex formatted metadata for dois with kernel-3 schema.
In Bolognese metadata  regenerated every time for these DOIs but instead of taking the value of the regenerated xml bolognese takes it from the original file.
closes: https://github.com/datacite/datacite/issues/1024
Approach
we get the kernel version from the regenerated xml.
Open Questions and Pre-Merge TODOs

[ ] Use github checklists. When solved, check the box and explain the answer.

Learning

Status

[x] Ready for Review

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

@mfenner But that’s not how the bug occurred. Look at the related bug issue. The error occurs when content negotiating bibtex from a doi that has schema 3 metadata. Therefore the metadata conversion would be from datacite_json to bibtex.


remove vestiges of  Instrument and InstrumentValue from schema

there was a comment on MetaproteomicsAnalysisActivity and NomAnalysisActivity in  src/schema/workflow_execution_activity.yaml that Instrument would be a good slot_usage range for used
cc @anastasiyaprymolenna

Instrument:
  is_a: NamedThing
  aliases:
    - device
  description: >-
    A material entity that is designed to perform a function in a scientific investigation, but is not a reagent[OBI].
  exact_mappings:
    - OBI:0000485
  slot_usage:
    id:
      required: true
      structured_pattern:
        syntax: "{id_nmdc_prefix}:inst-{id_shoulder}-{id_blade}{id_version}{id_locus}"
        interpolated: true

Decision was made to keep the Instrument class, which is the range of the instrument_used slot; closing this issue.  InstrumentValue has been removed on Berkeley fork.


Bug? OpenSSL 1.1.1-pre8:  "no-deprecated" build breaks use of OPENSSL_init_ssl() and OpenSSL_add_ssl_algorithms()

It appears that OPENSSL_init_ssl() was deprecated in 1.1.1. Is that intentional?
The result of building with "no-deprecated" is that code which uses OpenSSL_add_ssl_algorithms() or SSL_library_init() fails due to the the following code...
In openssl/ssl.h @ 1924
# if OPENSSL_API_COMPAT < 0x10100000L
#  define SSL_library_init() OPENSSL_init_ssl(0, NULL)
# endif

but @ 1082
**# define OpenSSL_add_ssl_algorithms()    SSL_library_init()**
# if OPENSSL_API_COMPAT < 0x10100000L
#  define SSLeay_add_ssl_algorithms()    SSL_library_init()
# endif

OPENSSL_init_ssl() is (almost) documented here for 1.1.0, although the cross link is broken:
https://www.openssl.org/docs/man1.1.0/crypto/OPENSSL_init_crypto.html
Was the intention to drop it completely for 1.1.1? Or is this a problem with accidentally deprecating it in ssl.h?
BTW: I haven't followed the path any further to see if the implementation itself is also deprecated.

Sorry, was confused in the docs.

Apologies for the awful formatting above.
There appears to be a bug in the accidental definition of OpenSSL_add_ssl_algorithms() in ssl.h during no-deprecated builds.
This shows up as SSL_library_init() being undefined when building 1.1.1-pre8 and having old code that used OpenSSL_add_ssl_algorithms() .
At line 1578
    # if OPENSSL_API_COMPAT < 0x10100000L
    #  define SSL_load_error_strings() \
        OPENSSL_init_ssl(OPENSSL_INIT_LOAD_SSL_STRINGS \
                         | OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL)
    # endif

At line  1082
    # define OpenSSL_add_ssl_algorithms()    SSL_library_init()
    # if OPENSSL_API_COMPAT < 0x10100000L
    #  define SSLeay_add_ssl_algorithms()    SSL_library_init()
    # endif

IMHO the definition of OpenSSL_add_ssl_algorithms should be inside that OPENSSL_API_COMPAT definition section not outside it.

You are quite right, and that deprecation is even documented!  PR coming up.


Vault Leader

Hi,
We have Vault setup with Consul. Is there a way we can query the Vault leader from your scala-vault plugin? Thanks.
Thanks,
Govind

Not at present, but I should be possible to add it to the manage package in the next release.


[PROJECT UPDATE]

Have added the Titan-Quadruped project

Hi @SKYBIRDSGP ,
Test your additions by running in a local server using and commit the generated   _site/projects/<your project name> directory too


Invalid non-undefined typings with && any

TypeScript Version: 2.7.0-dev.20171128
Code
        let x: string|undefined;
        let y: any;
        let z: number = x && y;

Expected behavior:
Compile Error: undefined is not assignable to number.
Actual behavior:
AOK.
Presumably x && y resolves to 'undefined|any', i.e. 'any', and any can be assigned to number.  However, we found a few instances of this causing bugs in our codebase when devs had done the equivalent of:
let something: SomeTypeNonUndefinable = val && JSON.parse(val);

... which happily compiled with strict null checks and didn't complain, but allowed undefineds through into 'something'.

JSON.parse can return you undefined (e.g. if val was a function for instance). so the issue here is any and not that  undefined | any flattens to any.
Maybe the safe thing to do is to have JSON.parse return something less permissive like {}. or unknown (https://github.com/Microsoft/TypeScript/issues/10715).

You can't do that, though, unfortunately -- JSON.parse can parse anything:
typeof JSON.parse('4')
"number"

Maybe it returns undefined|Object?

Object is not the right type.. you want the top type, {} | undefined | null


job completed, but no paper printed

I'm running out of ideas, I appreciate any feedback, please let me know what log files to attach.
I have the following setup:

CUPS 2.4.1 on Raspberry PI 4
EPSON L310, using linux drivers from gutenprint 5.3.3 (no other drivers officially available for this model from EPSON, nor working drivers from manually compiled sources)
LAN PC (Win10) who can successfully print (self found drivers)
Macbook Pro (12.6) who cannot print (also drivers from gutenprint 5.3.3)

I'm losing my mind to find out why the mac cannot print. The job is successfully sent to CUPS, I can see it in the jobs list and the status is complete! But no paper comes out :)
The printer is working well from the PC, also while printing test jobs from within CUPS.
The printer was previously connected to the PC and shared on LAN, and I was able to print successfully from the macbook in this setup.
Thanks!

I'm losing my mind to find out why the mac cannot print.

I do not know anything about Macbook Pros. However, you have drivers from gutenprint 5.3.3 for an Epson L310 processing a print job on the Mac. The job will result in a file  suitable to be sent to directly to the printer.
But my understanding is that this file is sent to CUPS 2.4.1 on Raspberry PI 4. CUPS probably doesn't have a clue what the file type is. Therefore, it cannot be printed.
All processing should take place on the Raspberry PI. That is, no processing on the client.

Thanks for the reply!
Fair point! Didn't consider that about gutenprint driver.
If I use the Epson official driver on the mac when I add the network printer (found via Bonjour), I get "communication error" for the printer, data doesn't seem to reach the raspberry pi queue at all, without any extra error being shown.
But again, it worked fine when the printer was shared over the network from the windows PC, with the same Epson drivers. It also works fine when I plug the printer directly into the mac.

Having an error_log from The Mac is not going to hurt.
cupsctl --debug-logging followed by >/var/log/cups/error_log to empty the file. Print and send error_log here after adding .txt to the file name.

Thanks for the help man.
I think I narrowed it down a little and the problem might be related to the fact that I have CUPS pre-installed & working on my mac and can't seem to get rid of it without a cost.
I'm attaching the CUPS error_log from the mac - the one from the rasperry pi is empty, even if one line is printed in the access_log whenever I try to send a document.
Why I can't say I can't get rid of it - I only tried to do a "sudo launchctl unload -w /System/Library/LaunchDaemons/org.cups.cupsd.plist" so far, but when I do this, I can't seem to add a new printer at all - "An error occurred while trying to add the selected device. Bad file descriptor" (s.s.1) - I'm getting this error when I select "Generic PostScript Printer" for the driver. I also don't have the possibility to select something else, as the drivers list is empty when CUPS is disabled on the mac (s.s.2). For the same reason I can't add it manually either, by entering the pi's IP address.
Again, if it helps, it works just fine on a Windows PC in the same LAN.
Thanks again!

cups_error_log_mac.txt

Three filters are invoked. Two (pstoappleps and pstocupsraster) complete successfully. The third fails when sending application/vnd.cups-raster to L310,  presumably because it cannot find the print queue on the Pi:

Unable to queue job for destination "L310".

We also have

"DEVICE_URI=ipp://<IP_ADDRESS>/"

I would expect that to be something like "DEVICE_URI=ipp://<IP_ADDRESS>/printers/L310". This appears to be a setup issue rather than a CUPS bug. On Debian I would possibly be asking to see lpinfo -v from the client.

I tried multiple combinations of ip addresses when manually adding the printer, besides the self discovered one from Bonjour, that's why you see that URI for the device.
I'm attaching the result of lpinfo -v from the macbook.
Thanks!

But again, the log file is from the macbook - the client - not from the raspberry pi, where the printer is connected. Is it normal to have the print request go through the internal CUPS queue and be forwarded to the destination afterwards? On the windows machine I didn't install CUPS, and the printer is discovered fine over the network and also working fine.

CUPS on the client does any needed processing and sends the job to the server on the Pi. It is an essential part of the process. Your jobs do not even appear to get there.
lpinfo -v shows a dnssd URI. My advice to a Debian user would be to set up a print queue on the Mac with lpadmin -p testq -v "URI"  -E -m  raw, substituting for URI, of course. Test printing to testq.

I managed to make it work!
Sharing my approach maybe somebody else stumbles upon a similar situation.
I went to the cups webinterface on my mac (localhost:631) - which is version 2.3.3 atm btw - Administration - Manage Printers - selected the L310 network printer (shared from the raspberry pi within the same LAN, cups v. 2.4.1) which I previously added from the "Printers & Scanners" main menu from Mac Settings using the only Epson L310 driver available on the list - and clicked on "modify printer". I didn't touch any other setting from this page except the driver - I selected "EPSON L310 Series (en, nl, fr, de, it, ja, pt, pt_PT, es, da, fi, no, sv, pl, ko, zh_TW, zh_CN, ru, ar, th, tr, el, id, cs, hu, ro, ms, uk, he)" from the list instead of the default one that was used (Current Driver - L310 - CUPS+Gutenprint v5.3.3 - IPP Everywhere).
Thanks for the help Brian!

For the record:
The attached error_log contains two jobs - the first fails due filter error:
D [03/Oct/2022:12:18:37 +0300] [Job 1] PID 72016 (/Library/Printers/EPSON/InkjetPrinter2/Filter/rastertoescpII.app/Contents/MacOS/rastertoescpII) stopped with status 238 (Unknown error: 138)

the second is not even queued:
E [03/Oct/2022:13:00:56 +0300] [Job 3] Unable to queue job for destination "L310".

The first job is certainly not sent to IPP Everywhere queue (there is a epson driver in play), the second I'm not sure about, because debug logs are missing there... . The last comment mentions the queue was IPP Everywhere on the MacOS, but there is no error_log which shows the fact it was IPP Everywhere and what was the problem with IPP Everywhere, so I'm not able to investigate further.
Closing for now as a question, @robert-everis are you willing and do you have time to dig in further regarding why IPP Everywhere did not work for you? We in OpenPrinting do not support CUPS in the official MacOS repositories, but the possible issue can show us a problem which can be hit even with OpenPrinting CUPS.

Not aiming to revive an old thread, just posting to thank @robert-everis for the still-applicable fix and to confirm for posterity my fix for the same issue:
CUPS 2.4.1
EPSON Stylus NX420
Dell XPS 13 running Ubuntu 22.04 (USB-connected, printer discovered, system-discovered drivers installed, print jobs "complete" with no errors and no actual printing done)

Step
Description
Screenshot

1
Navigate to http://localhost:631, go to Printers tab, select your printer, then select Modify Printer from the dropdown

2
Select your printer under Discovered Network Printers

3
Keep default values and click Continue

4
Select your printer model from the Model options and click Modify Printer

5
Print document from GUI or CLI (e.g. lp ~/Downloads/MyDocument.pdf)


Use top-level tags for all base images

This triggers less dependabot updates and makes things simpler in CI.
Requires https://github.com/openshift/release/pull/38765
Fixes #501
Fixes #502
/cc @mresvanis

/retest

/lgtm


Call did not revert as expected

🐛 Script Bug Report
📝 Description
I encountered an issue where the function reverts with a message but after adding "vm.expectRevert(msg)" it doesn't revert or reverts with different message.
🔄 Reproduction Steps
Run tests on this branch:
https://github.com/neotheprogramist/era-contracts/tree/test/validator-timelock
To run the tests use "yarn test:foundry --match-contract ValidatorTest --ffi  -vvv". After that uncomment vm.expectReverts and run it again.
🤔 Expected Behavior
After adding vm.expectRevert with a correct message the test should succeed.
😯 Current Behavior
Test fails with and without expectRevert.
🖥 Environment
Any relevant environment details.
📎 Log Output

Hey, its because you're calling the getMockCommitBatchInfo inside the commitBatchesSharedBridge function, so the expectREvert applies to that and not the commitBatchesSharedBridge function, try this:
    function test_commitWrongBatchNumber() public {
        IExecutor.StoredBatchInfo[] memory storedBatch = getMockStoredBatchInfo(1, 0);

        vm.startBroadcast(chainAdmin);
        validatorTimelock.addValidator(chainId, newValidator);
        vm.stopBroadcast();

        IExecutor.CommitBatchInfo[] memory batch = getMockCommitBatchInfo(1);
        vm.startBroadcast(newValidator);
        vm.expectRevert("DummyExecutor: Invalid last committed batch number");
        validatorTimelock.commitBatchesSharedBridge(chainId, storedBatch[0], batch);
        vm.stopBroadcast();
    }


Add not supported languages info

@Jann-Skotdal : Thanks for your contribution! The author, @rajdeep-in, has been notified to review your proposed change.

#sign-off

@erhopf - can you review or reassign? GitHub won't let me assign it to @rajdeep-in . thanks!

@erhopf: I'm sorry - only the author of this article, @rajdeep-in, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

oops, ignore my last comment... crosspost

Thanks, @erhopf !


matchType compare using type.name

Fix https://github.com/ProseMirror/prosemirror/issues/945

As I mentioned in the linked issue, I don't think this is a good idea.


Added a proper read-me

Also updated the MV version to have the latest version of the plugin

Also updated the MV version to have the latest version of the plugin


Add 5 minute timeout to health checker

Description
Adds a timeout so we don't wait forever on this health check.
I want to point out that this will only set the timeout for the http client but does not do any math around the max tries.
Setup
I'd like some help figuring out how to do a proper test on this.  Here's what I did:
./bin/health_checker --hosts my.move.mil --skip-verify --timeout 1 --log-level debug
2018-12-07T00:30:56.674Z        INFO    health_checker/main.go:282      HTTP GET request completed      {"try": 0, "url": "http://my.move.mil/health", "code": 200}
2018-12-07T00:30:56.847Z        INFO    health_checker/main.go:282      HTTP GET request completed      {"try": 0, "url": "https://my.move.mil/health", "code": 200}

Here is the help text:
./bin/health_checker --help
Usage of ./bin/health_checker:
      --backoff int           backoff in seconds (default 1)
      --ca string             base64-encoded certificate authority for mutual TLS
      --ca-file string        path to file of base64-encoded certificate authority for mutual TLS
      --cert string           base64-encoded public key for client TLS
      --cert-file string      path to file of base64-encoded public key for client TLS
      --exit-on-error         exit on first health check error
      --hosts string          comma-separated list of host names to check
      --key string            path to file of base64-encoded private key for client TLS
      --key-file string       path to file of base64-encoded private key for client TLS
      --log-env string        logging config: development or production (default "development")
      --log-level string      log level: debug, info, warn, error, dpanic, panic, or fatal (default "error")
  -p, --paths string          slice of paths to check on each host (default "/health")
  -s, --schemes string        slice of schemes to check (default "http,https")
      --skip-verify           skip certifiate validation
      --status-codes string   valid response status codes (default "200")
      --timeout int           timeout in seconds (default 300)
      --tries int             number of tries (default 5)
pflag: help requested

Code Review Verification Steps

[x] Have the Pivotal acceptance criteria been met for this change?

References

Pivotal story for this change
this article explains more about the approach used.

This has been updated.  Here is the new help output:
go run cmd/health_checker/main.go --help
Usage of /var/folders/by/wb9l8d6x7ld8gz2gdx5cdcth0000gn/T/go-build706679771/b001/exe/main:
      --backoff int           backoff in seconds (default 1)
      --ca string             base64-encoded certificate authority for mutual TLS
      --ca-file string        path to file of base64-encoded certificate authority for mutual TLS
      --cert string           base64-encoded public key for client TLS
      --cert-file string      path to file of base64-encoded public key for client TLS
      --exit-on-error         exit on first health check error
      --hosts string          comma-separated list of host names to check
      --key string            path to file of base64-encoded private key for client TLS
      --key-file string       path to file of base64-encoded private key for client TLS
      --log-env string        logging config: development or production (default "development")
      --log-level string      log level: debug, info, warn, error, dpanic, panic, or fatal (default "error")
  -p, --paths string          slice of paths to check on each host (default "/health")
  -s, --schemes string        slice of schemes to check (default "http,https")
      --skip-verify           skip certifiate validation
      --status-codes string   valid response status codes (default "200")
      --timeout duration      timeout duration (default 5m0s)
      --tries int             number of tries (default 5)
pflag: help requested

And an example of usage:
go run cmd/health_checker/main.go --timeout 4m --hosts my.move.mil --skip-verify --log-level debug
2018-12-11T17:30:55.104Z        INFO    health_checker/main.go:282      HTTP GET request completed      {"try": 0, "url": "http://my.move.mil/health", "code": 200}
2018-12-11T17:30:55.344Z        INFO    health_checker/main.go:282      HTTP GET request completed      {"try": 0, "url": "https://my.move.mil/health", "code": 200}

@pjdufour-truss - Take another look at this when you have a chance.  I think this is what you were after and honestly it's really nice with this change.

I uploaded a commit for timing out each try.  https://github.com/transcom/mymove/commit/bc7225050536af615f2f3b367010827152eb417a.  You can cherry-pick in, if it's the desired use case.

Could you also add a 15 minute timeout to the deploy services?

Using the CircleCI command:
$ go run cmd/health_checker/main.go --schemes http,https --hosts my.move.mil,office.move.mil,tsp.move.mil  --tries 10 --backoff 3 --log-level info --timeout 15m
2018-12-12T18:01:16.439Z        INFO    health_checker/main.go:292      HTTP GET request completed      {"try": 0, "url": "http://my.move.mil/health", "code": 200}
2018-12-12T18:01:16.838Z        INFO    health_checker/main.go:292      HTTP GET request completed      {"try": 0, "url": "http://office.move.mil/health", "code": 200}
2018-12-12T18:01:17.240Z        INFO    health_checker/main.go:292      HTTP GET request completed      {"try": 0, "url": "http://tsp.move.mil/health", "code": 200}
2018-12-12T18:01:17.565Z        INFO    health_checker/main.go:292      HTTP GET request completed      {"try": 0, "url": "https://my.move.mil/health", "code": 200}
2018-12-12T18:01:17.737Z        INFO    health_checker/main.go:292      HTTP GET request completed      {"try": 0, "url": "https://office.move.mil/health", "code": 200}
2018-12-12T18:01:17.966Z        INFO    health_checker/main.go:292      HTTP GET request completed      {"try": 0, "url": "https://tsp.move.mil/health", "code": 200}

This appears to be all working now.

The integration tests are passing again :)


Broken tui rendering

Describe the bug

It seems that the tui rendering is broken. (See the recording)
I was able to reproduce it on two different machines with nobara linux (fedora fork), across 3 different terminal emulators - konsole, wezterm and the one builtin in vscode. The shell is zsh but iirc it is broken in bash too. I'm not sure what else can I add to help reproduce this.
To Reproduce

Run training with tui
See artifacts

Expected behavior

Normal training tui
Screenshots

https://asciinema.org/a/5nQzV28pRJ1TD08Fd17TLIjq2
Desktop (please complete the following information):

OS: Fedora Linux

Additional context

Hmm that's weird. Looking at the recording it seems that there is a "cl" print statement messing up your TUI 😅
Could that be in your code?

Hmm that's weird. Looking at the recording it seems that there is a "cl" print statement messing up your TUI 😅
Could that be in your code?

Yes, I'm fool 😅
I just noticed that.
I added it to model code to debug something, then got the code working, forgot completly about it and wondered why the tui is broken. Sorry

No worries! Happy to hear it was an easy fix 😄


Favicons detection looks broken

To reach this screen, go to:

Browser tab
Visit 1 or more URLs
Tap the Browser tab
Tap My History

At least some of the favicons should show up.

After this PR:

[ ] #1103

Hey @hboon can you please assign lexypaul13 to this one and/or add privileges to me for the future. Thank you!

@hieronymus4826 You should have access to assign issues (if you click the gear button beside Assignees and see a list, you've got it) . GitHub requires some interaction in the issue from someone outside the team before we can assign it to them.
@lexypaul13 can you please reply to this? Any comment should do. I think that would fulfill that condition

Hi @hboon , My apologies for the late response; I just recovered from an illness.  I would like to work on the task.

@lexypaul13 hope you are well now. Let us know of your findings or if you need help :)

@hboon took a look into this and it seems the favicons deployment is broken for a while.
when I try to access the URL manually from the History model I get

Also, I tried their website and found their deployment in vercel is not up anymore

P.S : Sorry for jumping on the issue even though it was assigned to Lexy .

@mmurali88 thanks for helping to check too! All help welcome :) Let's give @lexypaul13 a bit of time and for their feedback first.

Looks like our very own @oa-s missed this discussion and create a PR.
@lexypaul13 would you help to check it out and respond there in the PR? https://github.com/AlphaWallet/alpha-wallet-ios/pull/3688. I'll just leave it for a few days and if you don't have the chance to look at it yet, I'll do a check and merge it. (But we'll come out with other issues to work on if you would like to help out).

@hboon  My apologies for the late response, Ive been receiving a lot of interviews and I have been studying leet code. Yes please I would like to look at it

@lexypaul13 no worries! We have since merged that PR. But we'll come out with new issues that are suitable. Stay tuned.

Awesome thank you so much for understanding.

@lexypaul13 @mmurali88 more at https://github.com/AlphaWallet/alpha-wallet-ios/labels/Good first issue if you are interested. You might not be able to self-assign, so leave a comment in the issue if you would like to take it up and we'll leave you with it for a bit of time.


introduce ROOK_RGW_NODE to set rgw pod nodeaffinity

This patch supports setting the NodeAffinity of the rgw pod, spawned on-the-fly by DLF's ceph-plugin, to the node with a hostname that matches the newly introduced environmental variable ROOK_RGW_NODE. Furthermore, to accommodate any changes to the nodes of the k8s cluster that may result in a pending rgw if a node with the specified hostname does not exist, this patchset firstly checks if the respective node exists and only then assigns the NodeAffinity of the rgw pod.

Would be better to have caching per dataset for the time being. We can use the labels for the time being as follows:

apiVersion: com.ie.ibm.hpsys/v1alpha1
kind: Dataset
metadata:
  labels:
      cache.hostname: node1
  name: example-dataset
spec:
  local:
    type: "COS"
    accessKeyID: "{AWS_ACCESS_KEY_ID}"
    secretAccessKey: "{AWS_SECRET_ACCESS_KEY}"
    endpoint: "{S3_SERVICE_URL}"
    bucket: "{BUCKET_NAME}"
    readonly: "true" #OPTIONAL, default is false
    region: "" #OPTIONAL

Would be better to have caching per dataset for the time being. We can use the labels for the time being as follows:

apiVersion: com.ie.ibm.hpsys/v1alpha1
kind: Dataset
metadata:
  labels:
      cache.hostname: node1
  name: example-dataset
spec:
  local:
    type: "COS"
    accessKeyID: "{AWS_ACCESS_KEY_ID}"
    secretAccessKey: "{AWS_SECRET_ACCESS_KEY}"
    endpoint: "{S3_SERVICE_URL}"
    bucket: "{BUCKET_NAME}"
    readonly: "true" #OPTIONAL, default is false
    region: "" #OPTIONAL

I totally agree! Using the labels of the dataset are a better way to go and I will work on reforming this PR to that behavior

@YiannisGkoufas now this patchset reads the hostname based on the label cache.hostname that can be inserted in the labels of the dataset.


Semi-autoroom settings got clear out after saving the plugin settings

Hi, after a recent update, I've noticed that the semi-autoroom array will disappear after I save the settings for the plug-in.
Tried a few times and it deleted the my semi-autoroom settings after I save.
Could you see if this is a bug?
Thanks :)
And by the way the multi-room cleaning function is awesome!
Thanks for implementing it!

This is because the variable can be used in multiple ways. Its probably quite hard to implement that in the settings UI. The semi-autoroom will probably always be a "hack-ish" workaround where you have to edit the config file yourself.
Not speaking for the project maintainers though, just giving my view knowing what the issue is here.

Yeah, I agree with @normen. rooms is supposed to have the full room description. The semi-autoroom feature is an addition to help on the discovery of the IDs, but was never thought to be a long-term solution. Maybe we need to revisit to provide a better solution. Any help is welcomed :)

Yeah, I agree with @normen. rooms is supposed to have the full room description. The semi-autoroom feature is an addition to help on the discovery of the IDs, but was never thought to be a long-term solution. Maybe we need to revisit to provide a better solution. Any help is welcomed :)

Simply moving that to a new config option is probably a good idea. Don't remove the current code to use this variable to be backwards compatible and reference the new option in the settings UI.

I see :) I'll put my rooms and ids into the room settings to make it stay for now.
Thanks you all for helping!


Added Vimeo Provider

Added the Vimeo provider to the third-party providers list .

Coverage remained the same at 100.0% when pulling 35e5dd7e6a2823d069517cdf8e3b3ef6bbf7521f on saf33r:patch-1 into 01f955b85040b41cf48885b078f7fd39a8be5411 on thephpleague:master.

👍 Don't forget to make a separate PR against the gh-pages branch and add this to the 3rd party list!


PowerToys run text and icons are not antialiased.

I am using a 1920x1080 monitor and powertoys search is not antialiased. Screenshot below. Ask me for more info regarding the issue if needed.

The problem is tacked by #6462


Forms patterns

Summary
Patterns for displaying forms including layout and best practice.
💬 Description
Additional examples and improvements to the form layout patterns detailed on the design system website.
Consider forms layouts including:

Single column
Dual column (X) We believe dual column is bad practice (supported by Google)

Consider form containers:

Form on page
Form in dialog
Form in drawer
Form in section

Consider multi-page forms:

Using stepper
Using detail list

Consider:

Form guidance
Info callouts
Required vs optional flagging
Dynamic form sections (progressive disclosure)
Form submission controls
Save, edit, review.
Submission complete screen.
Responsiveness.
Accessibility - screen reader nav
Accessibility - keyboard navigation, landmarks etc.

💰 Use value
Additional and/or improved examples of form layouts will allow developers to gain a better understanding of what their own implementations should achieve.
Additional info
Related stories
#189
#222
#203
https://github.com/mi6/ic-ui-kit/issues/465

Docs now complete and ready to be implemented on guidance site.

Fair amount of uncertainty as to what needs developing.
Questions:
How many form patterns do we need to make? (Single Page, MultiPage, ???)
Are there up to date design files for us to work from?

It's replacing the current pattern guidance for forms layout from the document that can be found on our internal file share; please reach out to GCHQ-Developer-094 for confirmation.


AdMob <IP_ADDRESS>.0

AdMob <IP_ADDRESS>.0 adapter for Mediation 4.
Do not merge / Can not merge.

deleting to rename the branch


Create and Display Projects

Create a 'Projects' page.
Show the current Projects in a list
Allow the user to add a Project (only name is required)
Change the timeblock creation to only allow Projects from the Projects page

Completed.


Create a reusable widget for the carousel (OSOE-920)

A SlickCarousel shape exists to display and configure a Slick Carousel element. Create a widget type that users can easily use to display a carousel on the website. An idea for the implementation:

Create a widget content type called Slick Carousel.
Create a Slide content type (initially it can contain a MediaField with a single image).
Carousel type should have a part settings where the user can configure the Slick Carousel JSON.
Each slide on the carouse should be the rendered display shape of the Slide content item.

Jira issue

This could be in a new module, like Lombiq.UIKit.Widgets, but still in this repo.


column resizing issue in force columns mode (no horizontal scroll) when container get smaller

I find an issue in force mode column recalculation and I can also propose a fix for this issue. I will submit soon (tomorrow) a Pull Request to be reviewed.
The following example is to demonstrate the issue and is very little coding:
https://stackblitz.com/edit/angular-2e7nxq
In force columns mode with no horizontal scroll, when the table container is getting bigger (when I am hiding the slider clicking Show/Hide Slider button), I am sending a window resize event (in method triggerTableResize in app.component.ts) and the table resize its column perfectly accordingly to the new container width. But if I shrink the container (expanding the slider clicking a second time on Show/Hide Slider button) the table resize its column with a little miscalculation (the ellipsis button in the table is cut).
The problem is in ngx-datatable forceFillColumnWidths in utils.Math.ts,
When the remainingWidth is positiive we will go several time in
do {
} while (remainingWidth > 0 && columnsToResize.length !== 0);
but when the container shrink and the remainingWidth is negative we just go once.
i will submit a Pull Request tomorrow with a fix.
resize the window which adapt the size of the column
I'm submitting a ...  (check one with "x")
[x ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior
https://stackblitz.com/edit/angular-2e7nxq
clicking twice Show/Hide Slider button make the last column cut.
expand a bit the window the last column is not cut anymore.
Expected behavior
The last column is not cut.
Reproduction of the problem
https://stackblitz.com/edit/angular-2e7nxq
click twice on Show/Hide Slider button.
look at last column with ellipsis button which is cut
What is the motivation / use case for changing the behavior?

when the table container shrink because of a slider or going from full screen to normal screen  clciking on a button the last column will always be cut.
Please tell us about your environment:

reproductible on stackblitz.com also in my environment, Windows 10 Pro, Webstorm, npm

Table version:

14.0.0

Angular version:

v7

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Chrome at least

Language: [all | TypeScript X.X | ES6/7 | ES5]
all type script 3.1.1

Merged the PR. This will be released in 15.1.0

Great Thank you very much


Patch fix for #1360 until WriteStream (#780) can be implemented.

Summary of the Pull Request
Writing can enter an infinite loop with full-width characters being inserted into the last column of the buffer.

References
#780

PR Checklist

[X] Closes #1360
[X] I work here
[ ] Draft because I'm going to try to turn the code @treit gave me for repro into a test
[X] Documented by comments at the hack and noted for #780
[X] I'm a core contributor

Detailed Description of the Pull Request / Additional comments
This is because the "WriteCharsLegacy2ElectricBoogaloo" implementation in the Terminal (Terminal::_WriteBuffer) is a hacky thing that we put together knowing full well that we'd have to do #780 but we had to get this working enough for now. Turns out, it's not super complete and fragile. Surprise.

Validation Steps Performed

Manual run of @treit's sample against the Terminal.
Attempting to author automated test with @treit's sample
I need to run it against conhost and make sure it's not failing too (and fix it there too if it is)

Same code snippet against conhost doesn't crash, so I don't believe there's anything to fix there right now. This makes sense since it should hit the OG WriteCharsLegacy which has provisions to auto-newline when we pass the right side and not bisect characters.

/azp run


The "statement" argument is surrounded by quotes causing a syntax error

$ terraform --version
Terraform v0.12.6
+ provider.aws v2.23.0
+ provider.local v1.3.0
+ provider.null v2.1.2
+ provider.template v2.1.2

When using a module that uses this dependent module Terraform throws an error on terraform init:
$ terraform init

[snip]

There are some problems with the configuration, described below.

The Terraform configuration must be valid before initialization so that Terraform can determine which modules and providers need to be installed.

Error: Invalid argument name

  on .terraform/modules/kms_key.policy/main.tf line 24, in data "aws_iam_policy_document" "zero":
  24:   "statement"   = []

Argument names must not be quoted.

The module isn't 0.12 compatible: https://github.com/cloudposse/terraform-root-modules#usage

But that's for KMS. I'm using this module as part of the cloudposse IAM
role.
On Tue, Aug 27, 2019, 1:47 PM Ryan Fisher<EMAIL_ADDRESS>wrote:

@shaiss https://github.com/shaiss try using the version tagged 0.2.0
https://github.com/cloudposse/terraform-aws-kms-key/tree/0.2.0. It
works fine for me using Terraform 0.12.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cloudposse/terraform-aws-iam-policy-document-aggregator/issues/8?email_source=notifications&email_token=AAA3TJCXVQUDY5SF5LIV5A3QGVSELA5CNFSM4ILFYGHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5ISBBQ#issuecomment-525410438,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAA3TJDFEKR2OCS5233MSBDQGVSELANCNFSM4ILFYGHA
.

@shaiss I ended up needing this as well, as a dependency of terraform_aws_iam_role. I upgraded it to 0.12 in a fork here: https://github.com/techfishio/terraform-aws-iam-policy-document-aggregator/tree/0.2.0
You should be able to use that if needed.


Create player control prototype

Questions

Can we get stable complex systems using the signal diffusion and prioritization systems outlined?
Can we reason about these systems?
Are these systems visually interesting? Visually clear?

Minimal features

[x] RTS-style camera: panning, zoom, mouse and keyboard controls
[x] single unit selection
[x] single tile selection on hex grid

This is basically completed. Closing as resolved.


Do not generate widget if widget's content_type is menu

menu widget should not be generated.
https://bugzilla.redhat.com/show_bug.cgi?id=1393681
@miq-bot add-label bug, wip

@miq-bot rm-label wip

@dclarizio @gtanzillo Could you review

Looks ok to me, but the UI doesn't even present this option.  I'm not sure if other callers that might try to generate a menu widget should get an error raised, but I'm not sure exactly who those callers might be. :)


Multilingual Zero-shot Translation IWSLT 2017 - 404 Not Found

In the Multilingual Zero-shot Translation IWSLT 2017 tutorial I wanted to preprocess the data. In order to obtain the IWSLT17 data I run the command
bash tools/prepare-iwslt17-multilingual.sh
but I receive
--2021-12-11 08:22:25--  https://wit3.fbk.eu/archive/2017-01-trnmted/texts/DeEnItNlRo/DeEnItNlRo/DeEnItNlRo-DeEnItNlRo.tgz
Resolving wit3.fbk.eu (wit3.fbk.eu)... <IP_ADDRESS>, 2a00:1450:4001:831::2013
Connecting to wit3.fbk.eu (wit3.fbk.eu)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-12-11 08:22:25 ERROR 404: Not Found.

After entering the domain https://wit3.fbk.eu/archive/2017-01-trnmted/texts/DeEnItNlRo/DeEnItNlRo/DeEnItNlRo-DeEnItNlRo.tgz I also found the 404 Not Found error.
Which data set can I use as alternative?

@bricksdont the tutorial was added by you. Do you know how to get this, or equivalent, data from the IWSLT archives?

My next approach is to download the download the .tgz file from https://drive.google.com/file/d/12ycYSzLIG253AFN35Y6qoyf9wtkOjakp/view and change from the prepare-iwslt17-multilingual.sh the url.

FBK have changed their file servers I think, yes now to download the data one needs to find a Google link to a specific file. You don't have to do this manually, can use e.g. gdown. Then adapt to the new structure of this zipped folder:
gdown "https://drive.google.com/uc?id=12ycYSzLIG253AFN35Y6qoyf9wtkOjakp"
tar -xzvf DeEnItNlRo-DeEnItNlRo.tgz
tar -xzvf 2017-01-trnmted/texts/DeEnItNlRo/DeEnItNlRo/DeEnItNlRo-DeEnItNlRo.tgz

(Colab with example output)
I can open a PR later this week


[Demo Required] Utilizing Blynk with XIAO and L76K Map Tracker

I propose to add a demo that integrates Blynk with the Seeeduino XIAO board and L76K GPS module for real-time GPS tracking and visualization. This feature would enable users to monitor the location of their XIAO and L76K-based projects in real-time using the Blynk mobile app.
Motivation
The integration of Blynk with XIAO and L76K would greatly enhance the usability and accessibility of GPS-based projects. Blynk's user-friendly interface and versatile platform make it an ideal choice for IoT projects requiring remote monitoring and control. By implementing this feature, users can easily visualize GPS data on their smartphones, making the project more interactive and practical for real-world applications.
Feature Description

Blynk Integration: Utilize the Blynk library to connect the Seeeduino XIAO with the Blynk mobile app, allowing for real-time data transmission and visualization.
GPS Data Acquisition: Implement functionality to read GPS data (latitude, longitude, and possibly altitude) from the L76K GPS module using the XIAO board.
Real-time Visualization: Display the GPS data on a map within the Blynk app, updating the location in real-time as the device moves.
Customizable Settings: Allow users to configure settings such as data update frequency and Blynk virtual pins through the app interface or code adjustments.

Potential Challenges

Ensuring reliable and accurate GPS data acquisition from the L76K module.
Maintaining a stable connection and data transmission between the XIAO board and Blynk app under various conditions.
Optimizing battery consumption for portable or battery-powered projects.

Done /doge

Done /doge

Thanks for your comprehensive updates


Pinging GoHub using nmdc scheme returns "unexpected EOF"

$ dcping ping "gohub.exua.org:1411"
{"name":"..GoHub.Exua.org..","desc":"Hybrid Hub adc|adcs|nmdc|nmdcs \u003e\u003e Use adcs://gohub.exua.org:1411 for TLS encoding.","addr":["adcs://gohub.exua.org:1411"],"encoding":"utf-8","soft":{"name":"GoHub","vers":"0.20.1","ext":["BASE","BAS0","TIGR","PING","UCMD","UCM0","ZLIF"]},"users":10,"share":2546997419836}

$ dcping ping "dchub://gohub.exua.org:1411"
2019/05/08 11:18:26 unexpected EOF
{"name":"..GoHub.Exua.org..","desc":"Hybrid Hub adc|adcs|nmdc|nmdcs \u003e\u003e Use adcs://gohub.exua.org:1411 for TLS encoding.","addr":["dchub://gohub.exua.org:1411"],"encoding":"utf-8","soft":{"name":"GoHub","vers":"0.20.1","ext":["BotINFO","BotList","NoGetINFO","NoHello","TTHS","TTHSearch","UserCommand","UserIP2","ZPipe0"]},"users":10,"share":2546997419836,"status":"error"}

$ dcping ping "nmdcs://gohub.exua.org:1411"
2019/05/08 11:20:14 unexpected EOF
{"name":"..GoHub.Exua.org..","desc":"Hybrid Hub adc|adcs|nmdc|nmdcs \u003e\u003e Use adcs://gohub.exua.org:1411 for TLS encoding.","addr":["nmdcs://gohub.exua.org:1411","dchub://gohub.exua.org:1411"],"encoding":"utf-8","soft":{"name":"GoHub","vers":"0.20.1","ext":["BotINFO","BotList","NoGetINFO","NoHello","TTHS","TTHSearch","UserCommand","UserIP2","ZPipe0"]},"users":10,"share":2546997419836,"status":"error"}

$ dcping ping "adc://gohub.exua.org:1411"
{"name":"..GoHub.Exua.org..","desc":"Hybrid Hub adc|adcs|nmdc|nmdcs \u003e\u003e Use adcs://gohub.exua.org:1411 for TLS encoding.","addr":["adc://gohub.exua.org:1411"],"encoding":"utf-8","soft":{"name":"GoHub","vers":"0.20.1","ext":["ZLIF","BASE","BAS0","TIGR","PING","UCMD","UCM0"]},"users":10,"share":2546997419836}

$ dcping ping "adcs://gohub.exua.org:1411"
{"name":"..GoHub.Exua.org..","desc":"Hybrid Hub adc|adcs|nmdc|nmdcs \u003e\u003e Use adcs://gohub.exua.org:1411 for TLS encoding.","addr":["adcs://gohub.exua.org:1411"],"encoding":"utf-8","soft":{"name":"GoHub","vers":"0.20.1","ext":["BAS0","TIGR","PING","UCMD","UCM0","ZLIF","BASE"]},"users":10,"share":2546997419836}

Turned out it is hub's fault. New hubs will ping correctly.


Rewrite AtomicTask, fixing unsoundness

This is a work in progress I am creating the PR early in case anyone wants to take an early look.
The AtomicTask abstraction was initially added as an internal utility for a specific use case. It has since been included in the public API.
The original implementation was edited incrementally, unfortunately adding bugs. An attempt (#868) was made to fix an unsoundness issue as well as another bug, but this unfortunately introduced new unsoundness due to another pre-existing bug that just happened to be hidden by the bug that was fixed... i.e., it was a mess.
This PR attempts to resolve the issues by taking starting from scratch.
Preliminary testing finds that this PR fixes the issue tracked in https://github.com/tokio-rs/tokio/issues/236, but more thorough testing and reviewing is needed.
Remaining

[x] More extensive testing against Tokio
[x] Document implementation.

Thanks for doing this! This code was in some definite need of TLC. Overall, it would help me be more confident about the code if you explicitly enumerated all of the possible cases and state transitions with every atomic op. Exhaustive matching makes it much easier for me to reason about.

I addressed the feedback (or replied to your comment). I kept the state assertions as debug asserts, but if you think it would be better to perform the checks at runtime, I can switch it.

LGTM modulo the one nit about the assert.

I pushed docs. I'm going to try to do some more extensive testing against Tokio now.

SGTM-- thanks again for doing this. Let me know when you're comfortable with it and I'll merge.

Ok, as far as I can tell, everything works.

Looks like CI is passing!

@carllerche To confirm: you'll follow up w/ a matching change to 0.2?

@cramertj yeah, I can work on that right after I am done w/ https://github.com/tokio-rs/tokio/pull/243

@carllerche Great, thanks!


Console application Improvements

It now loads mods in interactive mode as well.
The only thing it doesn't currently handle well are the promos for other mods (like your Noisy Cricket example).
Let me know if you have any questions

The diff in 0315a42 is huge, can you point out the actual changes?

LoadModAssemblies adds in the NamespaceList which is used for loading mods.
LoadAllModEnvironments and LoadAllModHeroesOrVillains are new functions that pull the mods from the assembly.
HandleGetHeroesInTheBoxRequest is updated to use the new mod loading functions
ConfigureGameInteractively is the big changes. Essentially, every step along the way branches to include mods as well.
There may be a few other small changes to facilitate those changes, such as the GameMod enum.

If you would prefer, I can try to make more targetted changes as opposed to pasting the new version in. I can close this PR and open a new one with that

If it's not too much trouble, it would be easier to check the diff with few changes. I think maybe it's because of whitespace/etc changes, but it's 9868 lines.

Closing, #5 has been created that is hopefully easier to review


Feature Request - Free Hero Chest, Support Shop

Hi,
Thank you for the wonderful automater for MFF.   This helps me save a lot of time in my daily farming.   I have a couple of features I'd like to request that may not be too hard.

Add Obtaining Free Hero Chest to Daily Actions - I've amassed most of all the Free To Play characters, and usually just want the bios from this.
Add buying UUK (Uniform Upgrade Kits) from the Support Shop Daily - Usually try to do this once per day and would be great to automate this.

Add Obtaining Free Hero Chest to Daily Actions - I've amassed most of all the Free To Play characters, and usually just want the bios from this.

Added in https://github.com/tmarenko/mff_auto/commit/0776729d0a08e17f03d56f01a5cb268f1fcbf1ec

Add buying UUK (Uniform Upgrade Kits) from the Support Shop Daily - Usually try to do this once per day and would be great to automate this.

Added in https://github.com/tmarenko/mff_auto/commit/ccb062c6a9240366d9958cda0ff8dc667d531e54

This is great, thank you so much for implementing this.   Will give this a try in a bit.

Fixed store opening and queue loading: https://github.com/tmarenko/mff_auto/commit/805bb7659f672e23bd94c59293b648840c188134 https://github.com/tmarenko/mff_auto/commit/805bb7659f672e23bd94c59293b648840c188134
Adding Support Shop revealed issue with MultiCheckbox loading into the queue =)
Still need to test this new features before adding to release, new release will be maybe until the end of the week.

Free Hero Chest doesn't appear to be working, I'll try with your latest updates though.    Also on support shop, only buys one.   Can we get an option to supply the amount to buy?

Free Hero Chest doesn't appear to be working, I'll try with your latest updates though. Also on support shop, only buys one.

Please attach log file or provide additional information.

Can we get an option to supply the amount to buy?

Do you mean buying not all available items at once (without clicking MAX button)?

Add Obtaining Free Hero Chest to Daily Actions - I've amassed most of all the Free To Play characters, and usually just want the bios from this.
Add buying UUK (Uniform Upgrade Kits) from the Support Shop Daily - Usually try to do this once per day and would be great to automate this.

Released in https://github.com/tmarenko/mff_auto/releases/tag/0.8.9