[Win]TNB_Version_31 Notification Functionality Not Working

Bug Description
I Sending Coins from one account to another the receiver side can't gated notification about the received coins from someone.
Steps to Reproduce
Steps to reproduce the behavior:

Installing TNB Application 31
Select My Account
Click on send coins button right side top corner
Select "TO" Account
Enter Coins
Click On Send Button
Now Go to Another Machine Friend
See the Notification bell

Expected behavior
Nonfiction Alert msg shows when receiving coins from someone
Actual behavior
Nonfiction Alert msg not shows when receiving coins from someone
Screenshots/Recordings
https://prnt.sc/vsl09s
OS and Browser

OS:  Windows 10

Due to missing CV services. Known design issue that we are working on. Closing.

Due to missing CV services. Known design issue that we are working on. Closing.


Update to Cadence v1.0.0-preview.32

Description
Automatically update to:

onflow/cadence v1.0.0-preview.32
onflow/flow-go-sdk v1.0.0-preview.34
onflow/flow-go c504b454e576
onflow/flow-emulator v1.0.0-preview.31

TestWeb3_E2E fails, but AFAICS not due to Cadence changes. Can someone please have a look into it?


Unable to fetch "NIST Framework for Improving Critical Infrastructure Cybersecurity Version 1.1"

"NIST Framework for Improving Critical Infrastructure Cybersecurity Version 1.1" is a csrc-white-paper, it can be found on NIST's site:

And has a full page of information:

(Notice the CSWP in the DOI link, it is a csrc-white-paper)
However, in NistBib it cannot return this document.
@andrew2net can you please help fix this? Thanks!

Ronald, does this document even have an identifier? If not, do we expect nistbib to retrieve by... title search?

@ronaldtse it sorts search results by release dates. I can try to sort by relevance but in this case, it also gives many results which we should filter somehow

... That's just peachy. :-/
By default, I'd ignore any Withdrawn documents, and fetch the first available ("most relevant") final document.

Agree with @opoudjis .

The document is now being fetched (for better or worst), and is in fact now an RSpec test case. It has spawned #17 and #19. Therefore this ticket no longer needs to be open.


ROS2 support for rc_genicam_camera

Is there any plan to provide ROS2 version of this package rc_genicam_camera? There is a ROS2 version of rc_genicam_driver_ros called rc_genicam_driver_ros2, which means that rc_genicam_api is probably usable from ROS2 side as well.

We are currently not working on porting the rc_genicam_camera driver to ROS2. We will probably do it eventually, but I cannot tell you any date. You are right, rc_genicam_api is already available for ROS2, since we needed it for the rc_visard driver (i.e. rc_genicam_driver), which is already available for ROS2.

Hi,
I just wanted to add that I would be pleased to have ROS2 support as well. I'm working with an IDS camera, and the ROS1 camera node works perfectly. Thanks for the work.

We will eventually come round to that, but currently don't have a timeline.
Ports or PRs are also welcome ;-)


Fix imgur.sh

imgur.sh shits itself on gif/gifv links.

Fixed, surprisingly youtube-dl supports imgur gifs.


H264 encoder limits?

The documentation hints that it might be possible to encode video at greater than 1920x1080 with a PI3/V2 combination. Can anyone share numbers if they have managed to do this? Many thanks.

Which documentation? Link please.
2,048×1,024 @ 30fps should work, but not sure if you count that as greater when it is only in one direction.
(Please refer to https://en.wikipedia.org/wiki/H.264/MPEG-4_AVC#Levels for details of H264 levels).
The codec block is specified to H264 level 4.0 (245,760 macroblocks/second), although it will do bitrates up to about 30Mbit/s which pushes it into level 4.1 territory (level 4.1 ONLY increases the max bitrate).
Level 4.0 specifies a maximum of 8,192 macroblocks/frame, which is where the resolution limit comes from. Macroblocks are 16x16. (2048/16) * (1024/16) = 8192 or (1920/16) * (1088/16) = 8160.
My understanding is that there is a hardware image buffer within the codec block which is wide enough for level 4.0 (ie 2048 pixels) and no more. You have to go up to level 5.0 to get increased resolutions, and that is definitely not supported.
So no you can't increase resolution.
People have overclocked the H264 block to achieve higher frame rates to go alongside the 720P high frame rate mode of the V2 camera. You have to select level 4.2 first.

Excellent answer, thank you.


write docs on usage

not really any docs.  Should add some once I figure out #5 and #6

good enough for now.


couldn't read hello.rs: stream did not contain valid UTF-8

Hello, I am brand new to rust, and I have a simple hello.rs file and all that is in it is:
fn main() {
    println!{"Hello World!"};
}

when I do rustc hello.rs nothing runs and the errors I get are
error: couldn't read hello.rs: stream did not contain valid UTF-8

error: aborting due to previous error

help with the issue would be greatly appreciated.

This repo is for an HTTP client library in Rust. I'm not sure why your file may not be utf-8 (perhaps an invisible character or different encoding from your editor). I'd suggest trying to find help in on of the Rust new user chats, found from rust-lang.org.


docs(template-syntax/dart): enhancements to example code

Enhancements to NgStyle section in support of its API docs.

Add feature supporting interactive update of a paragraph’s style.
Add full type declarations.
Replace bogus implementation of getStyles().

cc @kwalrath @thso @matanlurey : ready for review and merge.
cc @wardbell @Foxandxss : this is a Dart-only enhancement.

LGTM, but an engineer should review the changes, if possible.
@thso @matanlurey

We didn't get the engineer review, but the changes work and LGTM, so I'm merging.


Updated Goals Page

Updated Goals Page for the final meetup of this month. Mentioned Aaron's upcoming CRUD challenge and suggested a tentative timeline for finishing project 1.

Thanks, @gunderodd


Broken detection logic on non-spring projects

Expected Behavior
The buildpack should not kick in for non Spring-Boot apps.
Current Behavior
Building the war sample using
pack build --clear-cache --builder paketobuildpacks/builder-jammy-base --env BP_JVM_VERSION=11 --buildpack gcr.io/paketo-buildpacks/java:13.0.0 sample-war

currently fails with
Paketo Buildpack for Spring Boot 5.29.0
  unable to find Spring Boot Executable Jar
  open : no such file or directory
ERROR: failed to build: exit status 1
ERROR: failed to build: executing lifecycle: failed with status code: 51

Possible Solution
The logic seems to be complicated and probably needs an early return if the app is not using spring-boot.
Steps to Reproduce

Clone samples
Run pack build using the latest release

Motivations

Acknowledged. @paketo-buildpacks/java-maintainers  looking into it.


Fix a conflict between Prettier and rules */object-curly-spacing

Description
This PR fixes a rule conflict between Prettier and @typescript-eslint/object-curly-spacing and babel/object-curly-spacing.
Closes #226
Type of change

[x] @shopify/eslint-plugin Patch: Bug (non-breaking change which fixes an issue)
[ ]  Minor: New feature (non-breaking change which adds functionality)
[ ]  Major: Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

[x] I have added a changelog entry, prefixed by the type of change noted above (Documentation fix and Test update does not need a changelog as we do not publish a new version for these changes)

I signed the CLA. How do I rerun the check?

@andreavaccari The CLA check has passed. Now the CI is failing...


Improved parsing

Updated the text string as an html element to accept multiline strings
and other special characters.

Any string placed within text element parsed on render
Added string replace to fix leading/trailing space bug - Fixes #2
h1 with createElement instead of empty node

Thanks @heady! Works like a charm


Adding Sanity icon

#13
Replaced sanity.png with sanity.svg and corrected its path in content/cms/sanity/_index.md
I've used some online tools to convert the existing sanity PNG to its respective SVG.
Please review the changes I've made and give your feedback on whether what I did is accurate or not.
Making only one change, for now, to ensure I'm on the right path.

The SVG is not correct. It is not a proper SVG. This task isn't just about converting PNGs to SVGs.
What we really need is SVG Icons that are well formed. They should have the correct paths and fill options so we can take advantage of these properties. I don't know how to create these myself but I believe it involves creating the outlines, paths etc correctly in an illustration program.
Take a look at the Gridsome icon (open it in a code editor) and compare it to the Sanity icon you have submitted. You can see the difference in the code.

Okay sir , I'll do some research on it as I'm also new to this kind of thing. What I understand is that I've to make SVG in some kind of program ,so I'll look into that.

@JugglerX Sir, I tried to do as much I could grasp from your valuable feedback and even if something is missing I'll be trying to fix it ASAP. Also, this PR is a part of my Hacktoberfest contribution, so I don't want it to be labeled invalid.
Let me know your review and if something lacks, I'll be putting efforts into it happily 💯

@hiverkiya there is not need to call me Sir. I appreciate your effort. But this icon is not the Sanity logo and still needs some work.
I think this task is better for a designer who has some knowledge of SVG and is an illustrator.
I'd still like to credit you with your attempt for Hacktoberfest, how can I do that?

Thanks a lot! I guess just closing my pull request will be enough for Hacktoberfest because it isn't mentioned to be merged. Although I did really learn about SVG and some designing stuff and felt so fantastic to find your issue open🥇
Looking forward to any contribution I could make in the future !
And pardon me if I made any mistake. Once again, a big thanks for your wonderful support and feedback! :) 💯


Set experimental-features in corelib Scarb manfiest

Stack:

#4980
#4979 ⬅

⚠ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.

This change is

Motivation: Ensure equivalence between cairo_project.toml and Scarb.toml manifests of corelib package.


Add ALTER TABLE ALTER COLUMN statement

This draft extends SQL syntax in libSQL by allowing one to redefine a column declaration, e.g. by adding/removing a constraint, or changing the type affinity.
Examples:
libsql> CREATE TABLE t(id, v);

libsql> ALTER TABLE t ALTER COLUMN v TO v NOT NULL CHECK(v < 42);
libsql> .schema t
CREATE TABLE t(id, v NOT NULL CHECK(v < 42));

libsql> ALTER TABLE t ALTER COLUMN v TO v TEXT DEFAULT 'hai';
libsql> .schema t
CREATE TABLE t(id, v TEXT DEFAULT 'hai');

libsql> ALTER TABLE t ALTER COLUMN v TO v;
libsql> .schema t
CREATE TABLE t(id, v);

Fixes #43

TODO:

[ ] it doesn't sound legit to change PRIMARY KEY just by altering a column declaration, we should probably validate and disallow that; perhaps we should just whitelist which changes are acceptable?

One more thing: Postgres (rightly so) calls this operation ALTER TABLE ALTER COLUMN, because ALTER is the verb customarily used in SQL for schema changes. I'll update the syntax accordingly

Ok, almost there. I have primary key tests that fail, so now I just need to make the code pass

@penberg I think I found all the loose ends, let's wait until/if CI passes and then we can proceed. Some more corner cases are bound to happen I think, so we'll have to continue delivering tests for this new syntax.


(bedrock): add other stores

Describe the feature
I'd like to be able to use stores other than Amazon OpenSearch Serverless.
Use Case
Amazon OpenSearch Serverless is riding on serverless fame or low costs, yet it's one of the most ridiculously priced services.
The minimal cost of running an Amazon OpenSearch Serverless index is ~ $700/mo.
Source:

https://repost.aws/questions/QUAc9Mg6avRCy3e5kOF8v5fQ/pricing-strategy-for-open-search-serverless
https://repost.aws/questions/QUPxlXCMbVSdqLvCqQcW-lMw/clarification-on-opensearch-serverless-pricing

Proposed Solution
Provide options for other storage backends that are more reasonably priced.
Other Information
No response
Acknowledgements

[ ] I may be able to implement this feature request
[ ] This feature might incur a breaking change

Hi @moltar , thank you for reporting this feature request ! From the official FAQ, Knowledge Bases for Amazon Bedrock supports Amazon OpenSearch Serverless, Pinecone, Redis Enterprise Cloud, Amazon Aurora (coming soon), and MongoDB (coming soon). We will have a look at the 2 other options available now (Pinecone, Redis Enterprise Cloud)

Think the FAQ might be outdated. This article was posted on Feb 2nd and describes how to use Amazon Aurora: https://aws.amazon.com/blogs/database/build-generative-ai-applications-with-amazon-aurora-and-knowledge-bases-for-amazon-bedrock/. Awesome constructs! +1 on adding Amazon Aurora support


[uart, manufacturing] Switch to UART in manufacturing to avoid relying on SPI generic mode

Based on SPI effort scoping (see doc associated with that for further details), the purpose is to avoid needing to rely on SPI generic mode.

@moidx - following up a comment / ai thread item in SPI_Device effort estimation doc.
Please feel free to close this if this has been addressed already.

The test infrastructure now supports the ability to use SPI or UART.  For M2.5 we should be ok.


ISPF Client - branch always shows master when coming from main popup menu

If going to the panels for "Git Add" or "Git Commit" coming from the main popup panel
It will always show 'master' as the branch. This does not occur when entering the 'Git Add' panel from any other commandline
The main popup menu
                     Git Repository List Actions

Git Repository    :  s<url>
Working Directory :  <directory>

Git Repository Action
    1.  Jump to Working Directory    9.  Git Command Prompt
    2.  Git Status                   10. Remove Working Directory
    3.  Git Add
    4.  Git Commit
    5.  Git Push
    6.  Git Commit and Push
    7.  Git Pull
    8.  Git Branch

Select a choice and press ENTER to process Git repository action.

The Add panel when coming from main popup menu
                              Git Add Files                    Row 1 to 1 of 1
Command ===>                                             Scroll ===> CSR

Git Repository    :  <url>
Working Directory :  <directory>
On Branch ....... :  master

Select by "/" the files to add to staging

  Reason Changes not staged for commit
    M    <a file>

Fixed this by just VPUTing BGZBRANC to the users PROFILE. Now the correct active branch for that repository will be displayed.


I got errors when running hybridnets_test_videos.py after training with multiclass.

(yolov5) D:\HybridNets-main2>python hybridnets_test.py -w checkpoints/PEOPLE/hybridnets-d3_0_35000.pth --source demo/image --output demo_result --imshow False --imwrite True
FOUND 6 IMAGES
DETECTED SEGMENTATION MODE FROM WEIGHT AND PROJECT FILE: multiclass
Traceback (most recent call last):
File "hybridnets_test.py", line 127, in
model.load_state_dict(weight)
File "F:\yolov5\Miniconda\envs\yolov5\lib\site-packages\torch\nn\modules\module.py", line 2041, in load_state_dict
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for HybridNetsBackbone:
size mismatch for classifier.header.pointwise_conv.conv.weight: copying a param with shape torch.Size([45, 160, 1, 1]) from checkpoint, the shape in current model is torch.Size([9, 160, 1, 1]).
size mismatch for classifier.header.pointwise_conv.conv.bias: copying a param with shape torch.Size([45]) from checkpoint, the shape in current model is torch.Size([9]).

My friends got the same errors.
Help me plz TT

I have resolved this error.  The question came from my project.yml.


App is not running.

Please put the exact steps to run the project. I am not able to run the project in the simulator. It was showing error when I type

yarn run ios
yarn run v1.3.2
error Command "ios" not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

For yarn run ios to work, package.json would have to include something like this AND exp would either have to be installed globally or added a dev dependency.
"scripts": {
  "ios": "exp ios"
}

This project is meant to be run using Expo XDE - simply because that's what I use - so I haven't set up shortcuts for running the project using the command line.
I'll look into this, but it will probably be a least a couple of weeks before I have time.

I will check. If I find the issue. I will send a PR. You can check and add it to Master.

I've added exp as a dev dependency and updated the readme a bit, so I hope that this is enough to get people started.


Plugin ethpm: download raw manifest does not work

Nothing really happens when using this download RAW button, nothing appears in the console or network.

This might be an issue with the iFrame, will be tested

this is probably related to allow-download issues on the iFrame

update in progress


KAFKA-2752: Follow up to fix checkstlye

Sorry about that @granthenke, not sure how I missed that. LGTM.

cherry picking to 0.9.0 failed with some conflicts, will do an manual commit.

@ewencp not a problem at all. The builds are taking longer and longer, and on Jenkins they are piling up. I have added failing fast to the build refactoring work I am doing for KAFKA-2787. See the initial work in #477.

@granthenke Awesome, those will be very welcome improvements. Moving rat up to run earlier probably isn't too bad since people aren't adding new files that often. I'd be wary about making too much stuff fail fast though -- checkstyle in particular is really annoying if it runs before tests.

@guozhangwang 2752 didn't go on 0.9.0, it shouldn't need cherry-picking


Support

Fixes #7
I added the function which will generate [tabindex^="0"],[tabindex^="1"],[tabindex^="2"],[tabindex^="3"],[tabindex^="4"],[tabindex^="5"],[tabindex^="6"],[tabindex^="7"],[tabindex^="8"],[tabindex^="9"] and add that to the existed selector.

My first attempt was [tabindex]:not([tabindex="-1"]), but as it was correctly pointed by @stephenmathieson that will not cover all edge cases, e.g.

 shouldn't be focusable

 shouldn't be focusable

 shouldn't be focusable

@jkup if you'd prefer just adding [tabindex^="0"],[tabindex^="1"],[tabindex^="2"],[tabindex^="3"],[tabindex^="4"],[tabindex^="5"],[tabindex^="6"],[tabindex^="7"],[tabindex^="8"],[tabindex^="9"] as plain string without a generator function, I'm fine with that as well, let me know :+1:

This is a breaking change that will require transpiling to support older browsers.

This is a breaking change that will require transpiling to support older browsers.

Reverted back to regular strings :+1:

ping @jkup

@limonte Thanks so much for putting this together! This is really clever I like it a lot. Would you mind just adding them without the generator function? I might be being weird but something about keeping it a simple string appeals to me :)

@jkup I understand you well about simplicity, done.

Love it! Thanks again!


Compute graph

A compute graph is a list of dependencies between chunks of compute.
stateDiagram-v2
    [*] --> a: X, Y, [Z]
    a --> b: X
    a --> c: Y, [Z]
    b --> d: X
    b --> e: X
    b --> f: X
    c --> g: [Z]
    c --> h: y

Works like a compute shader


Unable to see Server Settings

Hello, I installed Traccar 3.7 on CentOS VPS.
When I click on "Settings" menu, I can not see Server for configurations.
What can I do to make it appear? Thank a lot for your help.

You have to login as a user that has admin privileges.

Hello thank for the quick response
I did it, but the only available commands on "Settings" menu are:

User
Global
Notifications and
Default Preferences

Can I see a screenshot? Traccar doesn't have the options that you named.

Find attached the screenshot
[image: Images intégrées 1]
2016-11-06 11:19 GMT+01:00 Anton Tananaev<EMAIL_ADDRESS>
Can I see a screenshot? Traccar doesn't have the options that you named.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/tananaev/traccar/issues/2510#issuecomment-258671752,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWNEaRcFNEoYNisqyYHgdVJPTV5Qd3fpks5q7amqgaJpZM4KqWZN
.

Understood.
I was working on Litvak version.

Thk a lot for for your assistance.


Connection problem

Vacuum :
R980040
iRobot
Firmware: v2.4.16-126
Log :
Logger: roombapy.remote_client
Source: /usr/local/lib/python3.9/site-packages/roombapy/remote_client.py:129
First occurred: 14:21:37 (1 occurrences)
Last logged: 14:21:37
Unknown error encounterd: ID=0.Please report this to: https://github.com/pschmitt/roombapy/issues/new
Logger: roombapy.roomba
Source: /usr/local/lib/python3.9/site-packages/roombapy/roomba.py:166
First occurred: 14:21:37 (1 occurrences)
Last logged: 14:21:37
Unexpectedly disconnected from Roomba <IP_ADDRESS>, code UNKNOWN_ERROR
Logger: roombapy.roomba
Source: /usr/local/lib/python3.9/site-packages/roombapy/roomba.py:152
First occurred: 14:18:40 (3 occurrences)
Last logged: 14:23:45
Roomba <IP_ADDRESS> connection error, code UNKNOWN_ERROR

#109


Adjust sizing and color of new paella icons

This makes the new play and spinner icons slightly smaller and thinner, and uses a darker grey.

Just a reminder we wanted to test the new design with different videos: "I would suggest you take a look at a couple of videos with different backgrounds. I still think the lighter version works better for a variety of backgrounds, but if as you said the majority of videos will have a white background anyway, the darker version should be ok to use." (Ole)

Ok so with sizing and stroke-width aka thickness out of the way, this comes down to dark vs light icons. While I said that dark icons should be ok to use, comparing both side by side with dark and light backgrounds, I do still think the light version works better.
Also keep in mind that light preview images tend to have dark/black text which doesn't work great in combination with a dark icon. Though I realize the same could be said vice versa for the light icon.
Unfortunately it's hard to find a one-size-fits-all solution, but I'd still advocate for the lighter icon, which also works works better with the spinner icon (that is always on a dark canvas).
As Lukas said, there will always be some preview image that won't look too good with either version. See the following for a comparison:

As a footnote: These icons also need an outline so they'll be visible on backgrounds with the exact same color, and here a light icon with dark outline works better than a dark icon with a light outline. The latter tends to look like it's glowing on dark backgrounds. This effect can be seen in the dark icon/dark background combination of the above table.

Thanks Ole for the comparison. My position remains the same as yours: I prefer the white icon.

Yes, white is the colour to work with.


Animations are choppy on mobile browsers

Bootstrap animations on mobile browsers lack fluid motion. E.g. the accordion demo here is jerky (or choppy). I've tried Firefox & Chrome on Nexus 5, Safari & Chrome on iPad Air 2. Both devices have good specs when it comes to MHz/RAM.
I'm wondering if this is a limitation of mobile devices. Is there some small tweak that can alleviate it ?
Some related discussion:

Proper way to optimize CSS 3 animations for iOS/Mobile Safari?
Why is jQuery UI accordion open/close animation so choppy?
jQuery Jerky slideUp and slideDown With Twitter Bootstrap Well
Two things that cause jQuery jerky animations

In some cases, such as the Carousel, we use (typically hardware-accelerated) 3D transforms when supported by the browser, but it's not without some drawbacks (e.g. #15506).
We also briefly tried applying the translateZ hack to force hardware acceleration, but we encountered too many browser bugs and usability issues, and had to revert it; see #13649.

Yeah, there's not much else we can do other than what @cvrebert mentioned.

Perhaps an option to disable animations on mobile (Any chance of revisiting #5764?

@mdo ^^^ ?

I don't think we'd provide that globally, at least in v3. Perhaps in v4, but it's not at the top of the list right now there either.


is there a plan to support setting camera exposure mode and white balance

hello, i notice that the nokhwa support camera setting exposure and white balance, is there any plan to support that in camerata

It's planned to support everything nokhwa has, so I'll look into this.

Added in 0.4.0, however not all controls seem to work yet, at least for me.

Added in 0.4.0, however not all controls seem to work yet, at least for me.
thank you for your help, there is another question, how to stop or release the opened camera, i found del cam works, is there a elegant way to stop it, i noticed that  Drop is defined in CameraInternal, but not exposed in python Camera class, i guess drop is just like the del in python, right. in nokhwa they provided a stop_stream method, is it better than Drop as the cam instance can be reused (not sure)

Added in 0.4.0, however not all controls seem to work yet, at least for me.

Added in 0.4.0, however not all controls seem to work yet, at least for me.

thank you for your help, there is another question, how to stop or release the opened camera, i found del cam works, is there a elegant way to stop it, i noticed that Drop is defined in CameraInternal, but not exposed in python Camera class, i guess drop is just like the del in python, right. in nokhwa they provided a stop_stream method, is it better than Drop as the cam instance can be reused (not sure)

Camera is closed automatically when it goes out of scope, making del cam a good way to close the camera. This also makes it impossible to continue using already closed camera by accident.
As for reusing instances - it's not like anyone is gonna reopen the same camera several times a second, so I don't think it's necessary.


[WIP] Typescript support (conversion?)

This PR is an initial spike at moving the library files to Typescript and is very much a Work in Progress (this is my first time writing Typescript in any real way). Currently all this does is convert the default plugin that renders the Express app to default.ts and adds the Express request/response types. Something that is really nice is that even though I had to import * as express in the typescript file, since it was only used for adding types, it's not used in the resulting compiled output. Pretty nifty.
In addition to testing against the default plugin, I've used the compiled output to run a couple of other plugins and it seems to be working fine so far. After working through the process and looking at a few other TS projects, I feel like the next steps look like this:

[ ] Convert the rest of the built-in plugins to .ts files and add types
[ ] Add @types/bunyan and convert the logger, middleware, and serializers
[ ] Since bottleneck has type definitions, use that to help convert the GitHub client
[ ] Convert the helper files like private-key.js & resolver.js

After that, I feel like I'd have a better understanding of TypeScript and what to do with it before tackling things like robot.js and context.js.
Of course anyone is welcome to provide feedback or ideas on this process! Especially anyone with more experience with Typescript libraries.
I definitely think this is going to help with serverless/lambda support. The compiled output feels much more like "normal" Javascript that's just been written in an older syntax. I kinda wish I would've started this process earlier! 😄

You can use ts-jest to test ts files with jest, change the config in package.json to something like that:
"jest": {
    "setupFiles": [
      "<rootDir>/test/setup.js"
    ],
    "moduleFileExtensions": [
      "ts",
      "js"
    ],
    "transform": {
      ".+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
    },
    "testMatch": [
      "**/test/*.(ts|js)"
    ]
  }

@ocombe thanks for the help! I was actually wondering about this when I was running the tests locally. When working in TS, do you typically only run the tests against the TypeScript files and trust the compiler output, or do you also run tests against the JavaScript files in the resulting build/dist folder?

cc @wilhelmklopp who's been fiddling with TS testing in a Probot App

With ts-jest it precompiles the files, so your tests are running on js files anyway. No need to duplicate the tests.
@wilhelmklopp you can take a look at my app that is in ts: https://github.com/angular/github-robot
I just added some tests.

PR to update your branch here: https://github.com/probot/probot/pull/375

👋  Howdy!
I wanted to build on this branch to help finish converting the files but got confused with some of the files in the diff. I took your changes to package.json and ended up converting almost all of the files and documented some snags I ran into along the way.
I was not sure if I should submit a Pull Request so instead here is a link to the diff: https://github.com/probot/probot/compare/master...philschatz:typescript .
Snags Encountered
... in lib/github.js
This code used several non-public methods so I added interfaces to describe them.
... in lib/plugins/stats.js
@octokit/rest.js does not support strongly typed responses; they are all Promise<Github.AnyResponse>.
This was an issue for the desktop/desktop group as well (see desktop/desktop#1937 and various discussions at https://github.com/desktop/desktop/issues?q=philschatz)
I would be happy to add those response types to @octokit/rest.js since my soon-to-be-abandoned library octokat.js extends the same routes.json  as the one @octokit/rest.js uses
This was the main reason I was unable to convert the lib/plugins/stats.js file to TypeScript.
The Logger type
I was not sure whether to use the Logger type from bunyan or use the extended ./lib/logger.js; I arbitrarily used the bunyan but it is simple to switch.
Converting tests to Typescript
I did not switch the tests because I was unsure if there was interest in converting them.

@philschatz Thanks so much for your contribution! I plan on dedicating some time to looking through this today. No comments yet, other than I'm so grateful that people experienced in TS are helping this PR evolve. ✨ ❤

@ocombe @philschatz I've made some progress on this PR. Big thanks to both of you for your contributions!! ✨ ✨
I fixed all the merge conflicts and updated some tests to ensure everything works locally, but I'm hitting a snag with the Travis build and was wondering if either of you had some input and getting it working. The build times out, even though it looks like it's passing all the tests. These same test pass locally, and I ran the same commands on a local node docker image and it passes everything there, too. Any thoughts on why Travis seems to not handle this build would be welcome.

Adding sudo: required (in https://github.com/probot/probot/pull/372/commits/881675f86891eff53e8655e6bb8b6b1b67c3e3bb) allowed the build to finish and all tests pass. Need to work on fixing the new merge conflicts and updating for 6.0. Should be ready for integration tests after that.

Merge conflicts have been addressed and I published this to npm @ probot-ts v 6.0.0-typescript
There's one tiny typescript compiler error that's causing the build to fail, related to type definitions that are being generated from Octokit: https://github.com/octokit/rest.js/pull/732#issuecomment-371619270, but tsc still emits the output even with that error.
If anyone reading this is interested in helping, I'd ❤ love ❤  if you can do a quick integration test by updating your probot dependency to probot-ts. Since probot-run looks at the compiled output in lib/, things should work exactly the same.

how much work is left to do before this can potentially be merged? Anything I can do to help it along?

@codebytere It's almost there. We had plans to release a beta tonight, but need to make some updates to bring it in line with the latest Octokit being used in master. If you know TypeScript, feel free to look over the open questions in the above reviews. https://github.com/probot/probot/pull/372#pullrequestreview-104407292 https://github.com/probot/probot/pull/372#discussion_r174964926
Additionally, if you have any Probot Apps and want to do some integration tests, you can update your probot dependency to probot-ts and run your tests to see if anything is broken. I've tested against a few of the examples and the template, and a few others are using that to run their apps in serverless environments, but it would be 💖 for others to run some tests as well.
Once we get these last few things ironed out, we'll make an announcement.

@tcbyrd rad, we'll try and test it out in https://github.com/codebytere/trop!

Continuing the discussion from urish/typewiz#35.

Hey @urish! Thanks for the offer to help. We're mainly missing a few things from the GitHub API/Webhooks. See discussion here and here. I think the dream would we something that ties into @gr2m's work in https://github.com/octokit/routes to generate types in sync with when GitHub adds routes to its documentation.

@tcbyrd so is your own code fully typed now, and you are just missing the typings for the GH APIs?

Some suggestions:

Consider using TSLint for linting.  The pattern for the test matcher wasn't looking at sub-directories (see 5b1dd99). This exposed a few minor things that needed to be updated. I then pulled the latest tests from master and updated with the latest PRs.
I feel pretty good about releasing this. There are some more improvements we can make, but now that we've got the existing tests passing, after the release I think we can work that out by gradually rewriting the tests in TypeScript.
LMK if you want to sync up to cut a release! 🎉

TypeScript support is now released with the next tag:
$ npm install probot@next
+<EMAIL_ADDRESS>
Try it out and let us know if you have any feedback or issues.

Still need typings in package.json.

@szeck87 thanks, should be included now in 7.0.0-typescript.2

Something happened with release 3 or 4, when I compile with tsc, it tries to include definition files under probot, even with node_modules excluded.  I have to include "skipLibCheck" in my tsconfig to get around it, but shouldn't be happening.
node_modules/probot/lib/github/index.d.ts(1,23): error TS2688: Cannot find type definition file for 'bunyan'.
node_modules/probot/lib/github/index.d.ts(41,15): error TS7006: Parameter 'OctokitRequestOptions' implicitly has an 'any' type.
node_modules/probot/lib/github/logging.d.ts(1,23): error TS2688: Cannot find type definition file for 'bunyan'.
node_modules/probot/lib/github/logging.d.ts(2,25): error TS7016: Could not find a declaration file for module 'bunyan'. '/Users/stevenzeck/Desktop/Development/issue-complete/node_modules/bunyan/lib/bunyan.js' implicitly has an 'any' type.
  Try `npm install @types/bunyan` if it exists or add a new declaration (.d.ts) file containing `declare module 'bunyan';`
node_modules/probot/lib/index.d.ts(1,23): error TS2688: Cannot find type definition file for 'express'.
node_modules/probot/lib/index.d.ts(2,23): error TS2688: Cannot find type definition file for 'bunyan'.
node_modules/probot/lib/index.d.ts(3,25): error TS7016: Could not find a declaration file for module 'bunyan'. '/Users/stevenzeck/Desktop/Development/issue-complete/node_modules/bunyan/lib/bunyan.js' implicitly has an 'any' type.
  Try `npm install @types/bunyan` if it exists or add a new declaration (.d.ts) file containing `declare module 'bunyan';`
node_modules/probot/lib/index.d.ts(4,26): error TS7016: Could not find a declaration file for module 'express'. '/Users/stevenzeck/Desktop/Development/issue-complete/node_modules/express/index.js' implicitly has an 'any' type.
  Try `npm install @types/express` if it exists or add a new declaration (.d.ts) file containing `declare module 'express';`
node_modules/probot/lib/robot.d.ts(1,23): error TS2688: Cannot find type definition file for 'express'.
node_modules/probot/lib/robot.d.ts(2,26): error TS7016: Could not find a declaration file for module 'express'. '/Users/stevenzeck/Desktop/Development/issue-complete/node_modules/express/index.js' implicitly has an 'any' type.
  Try `npm install @types/express` if it exists or add a new declaration (.d.ts) file containing `declare module 'express';`
node_modules/probot/lib/robot.d.ts(5,30): error TS7016: Could not find a declaration file for module 'promise-events'. '/Users/stevenzeck/Desktop/Development/issue-complete/node_modules/promise-events/emitter.js' implicitly has an 'any' type.
  Try `npm install @types/promise-events` if it exists or add a new declaration (.d.ts) file containing `declare module 'promise-events';`
node_modules/probot/lib/wrap-logger.d.ts(1,23): error TS2688: Cannot find type definition file for 'bunyan'.

I've tried this branch out on a couple projects written in pure JS and it's working great. I know there's a lot of improvements to make it a good experience to write apps in TypeScript, but I feel like there's going to be a lot of iteration to get to that point.
I'm going to merge this into master and release 7.0, and then other improvements can be followup PRs.


Docker image startup issue

Hello,
I have upgraded from version 9 to 10 which is causing a startup problem. Tested it with both my existing setup and a clean docker state setup.
Used unmodified Docker compose file to spin up the services.
Tested on Ubuntu 20.04 and MacOS 11.4
/run/secrets
Generating PGPASS file
Connecting to network: mainnet
/nix/store/xirfrf8q9kdj2hjcfrwbqwv7qhip0nnz-entry-point/bin/entry-point: line 26: /nix/store/3pvccdbrmaih10f6xf1csm1fjrsy72w2-cardano-db-sync-mainnet: Is a directory
/nix/store/xirfrf8q9kdj2hjcfrwbqwv7qhip0nnz-entry-point/bin/entry-point: line 26: exec: /nix/store/3pvccdbrmaih10f6xf1csm1fjrsy72w2-cardano-db-sync-mainnet: cannot execute: Is a directory

Same issue here

This was fixed in https://github.com/input-output-hk/cardano-db-sync/pull/690 . Unfortunately that did not make the 10.0.0 release, but the docker-compose.yaml file can be copied from master.

Continuing the failing startup problem:
I had the same issue. I deployed the master image but get a new error.  For reference I'm trying to use non-extended service.
Please let me know if you want me to open a new issue for this.
/run/secrets
Generating PGPASS file
Connecting to network: mainnet
cardano-db-sync-extended: FatalError {fatalErrorMessage = "Error parsing node config: AesonException \"Error in $: key \\\"AlonzoGenesisFile\\\" not found\""}

@vbonini master is updated almost daily. Users should avoid master and should only use tagged releases.

Thank you for the confirmation.
So we are using K8s for our deployment, and pulled the 10.0.0 image when we saw the original issue. I can recreate and plug in the modified file in #690 if I need to. Where should that file go?

I have asked the release manager if we should do a release just to fix this docker issue.

There will be a 10.0.1 release.


Local Ollama and LM Studio models not loading

I have installed Griptape on my SwarmUI/ComfyUI installation and have OpenAI and Anthropic API keys working fine but the local models don't appear in my list of available models.  I've had similar issues in the past, in standard ComfyUI setups but not sure what is causing it. I have LM studio and Ollama running but they are not recognized by their config nodes.  I've updated the plugin and have the latest version running. Any assistance greatly appreciated. @shhlife

hi @freshlesh3 - what URL are you running LMStudio with? the default should be <IP_ADDRESS> but might also be localhost. if you could check the url and port, that'd be awesome!

LM Studio uses http://localhost, but even with localhost as the baseurl the model list is still blank which is the main issue.

Okay, can you try executing the following command:
curl http://localhost:1234/v1/models
This is what is being run to get a list of the models.. you should see something similar to:
{
  "data": [
    {
      "id": "lmstudio-community/Meta-Llama-3.1-8B-Instruct-GGUF/Meta-Llama-3.1-8B-Instruct-Q4_K_M.gguf",
      "object": "model",
      "owned_by": "organization-owner",
      "permission": [
        {}
      ]
    }
  ],
  "object": "list"
}

I get this:
{   "data": [     {       "id": "cjpais/llava-1.6-mistral-7b-gguf/llava-v1.6-mistral-7b.Q5_K_S.gguf",       "object": "model",       "owned_by": "organization-owner",       "permission": [         {}       ]     }   ],   "object": "list" }

okay, cool - are you getting any errors in the ComfyUI console?

Ollama error: OllamaEmbeddingDriver.init() missing 1 required keyword-only argument: 'model'
LM Studio: Error code: 400 - {'error': ' . Error Data: n/a, Additional Data: n/a'}

Hmm.. stability matrix.. okay, haven't tried that before, but thank you for letting me know! it sounds like it's having issues for some reason connecting to that url.. if you replace <IP_ADDRESS> with localhost, does that work?

Changing the base_url to http://localhost has no affect in what appears in the model list of either node.

ah! Okay, I think I know the problem.. it's requiring an embedding model. Can you try adding an embedding model to ollama or lmstudio?
I've been using nomic-embed-text https://ollama.com/library/nomic-embed-text
give that a try?

ah! Okay, I think I know the problem.. it's requiring an embedding model. Can you try adding an embedding model to ollama or lmstudio?
I've been using nomic-embed-text https://ollama.com/library/nomic-embed-text
give that a try?

Appreciate the effort. It works fine in the standard ComfyUI setup but Stability Matrix has some issue that does not allow me to listen to an extra websocket endpoint for an unrelated custom node, so I think that might be the issue.

okay - that's something I'll have to look into and see if there's anything special I'll need to do.
In the meantime, LMStudio is actually using the OpenAI Compatible stuff under the hood.. so you could probably switch instead to using the OpenAICompatiblePromptDriver...
This lets you set the model with a text field - just make sure you set the api_key to lm_studio and set your url correctly as in the attached image.

Hopefully you're able to continue working with the OpenAiCompatiblePromptDriver. Please re-open this ticket if it's not working!
cheers,
Jason


0.6.2 release

Opening this to discuss making the 0.6.2 release of Numcodecs.
Here's the milestone.

Going ahead with release of 3aeef75.

Should we create a release note for the Cython update? Sorry I forgot about this.

Should we create a release note for the Cython update? Sorry I forgot about this.

No I think it's OK, that was really just a knock-on from the PyUP update, don't think we need to note all requirements upgrades.

Was mainly asking since the vendored C code changed. That said, I don’t think we listed it last time.
Happy with either choice. 🙂

Was mainly asking since the vendored C code changed. That said, I don’t think we listed it last time.
Happy with either choice.

Cool. I've tagged release 0.6.2 in github and uploaded to pypi.

Thanks @alimanfoo! I'll try upgrading the Numcodecs requirement in Zarr again.


artifactory_user resource does not persist changes to groups

Describe the bug
A clear and concise description of what the bug is.
Requirements for and issue

[x] A fully functioning terraform snippet that can be copy&pasted (no outside files or ENV vars unless that's part of the issue)
[x] Your version of artifactory (you can curl it at $host/artifactory/api/system/version
using SaaS Artifactory

  "version" : "7.23.4",
  "revision" : "72304900",

[x] Your version of terraform

Terraform v0.13.7
+ provider registry.terraform.io/hashicorp/aws v3.63.0
+ provider registry.terraform.io/jfrog/artifactory v2.6.13

terraform {
  required_version = ">= 0.13"
  required_providers {
    aws = {
      source  = "hashicorp/aws"
      version = ">= 3.0"
    }
    artifactory = {
      source  = "jfrog/artifactory"
      version = ">= 2"
    }
  }
}
resource "artifactory_user" "admin" {
  name  = "admin"
  admin = true
  email =<EMAIL_ADDRESS>  lifecycle {
    ignore_changes = [password]
  }
}

Expected behavior
The initial state of the admin user in the UI is `member of "readers" group'
the generated plan is
 # artifactory_user.admin will be updated in-place
  ~ resource "artifactory_user" "admin" {
        admin                      = true
        disable_ui_access          = false
        email                      =<EMAIL_ADDRESS>      ~ groups                     = [
          - "readers",
        ]
        id                         = "admin"
        internal_password_disabled = false
        name                       = "admin"
        profile_updatable          = true
    }

Expected: After the plan is applied, the user is not a member of "readers" group.
Actual: After the plan is applied, the user is still member of "readers" group.

Hi @antonmos  ...
In Artifactory, The default group 'readers' will have the option "Automatically join new user to this group" set to true by default. So, When a user is created it will be automatically added the 'readers' group.
This will explain why you see the user getting the 'readers' group automatically.
Also, recently (ie: Jan 27, 2022) the user resource's struct handling was updated to take out 'omitempty' setting so the default fields are passed to RT without omitting fields.

Maybe we need to ignore the group field verification?

The state drift for groups is because we don't have a DefaultFunc for groups and set the readers. If we have that then TF won't detect the drift.


Increase RX1_DELAY and RX2_DELAY by 1s for internet latency tolerance

DO NOT MERGE -- this should have been created as a DRAFT PR and is incomplete / not yet correct.
This should resolve issue #531 since internet latency seems to be a contributing factor there.
This increases the defaults for all regions because router lacks any configuration item specifying the region within which it's deployed.
This PR does NOT make this value configurable yet, as that feature hasn't been merged for Console.
Added comments within the source code to assist when needing to correlate the LoRaWAN spec with the code and vice versa.

I believe you need to also update the RX_DELAY field in the JoinAccept frame.
It is currently set to 0, in accordance with this table. Note: the specification of the RXTimingSetupReq byte matches the specification of the RX_DELAY byte in JoinAccept.

@lthiery Thanks for calling that out.
I should have marked this PR as DRAFT since I'm still new enough and handling sections of code that are new to me.

Superseded by PR #548


define a sector size and reset rc4 stream upon reaching another sector

implemented in #14

implemented in #14


Suggest clarification of definition of "WEBSITE_MAX_DYNAMIC_APPLICATION_SCALE_OUT"

[Enter feedback here]
WEBSITE_MAX_DYNAMIC_APPLICATION_SCALE_OUT is defined on this page as "The maximum number of instances that the app can scale out to. Default is no limit." at https://docs.microsoft.com/en-us/azure/azure-functions/functions-app-settings#website_max_dynamic_application_scale_out.
I suggest clarifying that "instances" refers to instances of the underlying VM which hosts the function and NOT to instances of the function process. Suggest this disambiguation as I have seen confusion online (and I experienced it myself) when looking at scenarios where BatchSize in host.json (referring to queue Triggered functions) is > 1 and WEBSITE_MAX_DYNAMIC_APPLICATION_SCALE_OUT = 1 and multiple simultaneous executions can occur.

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

ID: 18aa54fd-3aa1-37c5-925c-51a0195b1030
Version Independent ID: 60198016-1ea9-e7ae-b00b-2c665d5ad8ca
Content: App settings reference for Azure Functions
Content Source: articles/azure-functions/functions-app-settings.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

Thanks for the feedback! We will review and get back to you shortly.

I've submitted a PR to clarify this. It will go live once the doc author has approved it.


Improve DocC documentation hierachy, navigation and charts rendering

Context
Today, we choose to use DocC, the Apple solution for Swift documentation.
The tool is quite recent, it allows for exampel to build documentation from Xcode for developers, export this documentation as archives, and also build an HTML version of all the documentation of the project.
We use this swift-docc plugin for builds.
Issue
However, even if the tool works well for Swift Package which has one target, things get complicated for libraries with several targets like our, even if it is quite common to have several targets in fact.
@ludovic35 spent a lot of time to set up DocC and to think about a software solution which will gather all documentation of all modules and create a global HTML page as index refering to all other indexes. But the navigation between the HTML pages of several targets, here between our modules, is broken. The Apple tool (in its version 1.4.2 today) failed to make links and navigation between pages of several modules. That is the reason why in some parts of our documentation we refer to HTML pages so as to keep hyperlinks and references navigable.
Action plan

Wait for improvements of the swift-docc plugin
Check if the tool supports Mermaid charts, it is not today (https://github.com/swiftlang/swift-docc/issues/1026)
When the tool gets updated, refactor our generateDoc.sh script so as to use the suitable feature in the best way and get a global index.html file with all navigable links
Maybe integrate Boosted to have a lovely page
Maybe use Netlify for documentation preview, if useful

What we expect

Have a rendering of Mermaid charts
Replace hard-coded hyperlinks by DocC syntax (e.g. /OUDSTokensComponent or doc://OUDSTOkensRaw)

Resources

Writing Symbol Documentation in Your Source Files (swift.org)
Host and Automate your DocC documentation (medium.com)
How to link to documentation from another module/package in xcode docc? (stackoverflow.com)
Generating API Documentation for Multiple Targets with DocC (pspdfkit/com) (TODO: try again to reproduce)
Combined documentation of multiple targets (forum.swift.com
Use cases for combined documentation of multiple targets in Swift-DocC (forum.swift.com)
Building multi-platform documentation with DocC (danielsaidi.com)
Allow combined documentation of multiple targets (github.com)

generateDoc.sh.zip

Need specifications to go further.


Doc/repo nav pages

What type of PR is this?
Add one of the following kinds:

cleanup
documentation

What this PR does / why we need it:
To improve repository navigation, attract developers and define clear focus on documentation usability
Which issue(s) this PR fixes:
none
Special notes for reviewers:
Live preview of API using redoc and swagger in combination with UML pre-rendered images will significan improve the legibility of the repository and the API itself
Changelog input
task(doc): Clean and updated README files
task(doc): Include PNG render of UML diagrams
task(doc): Include readme for UML diagrams folder

Additional documentation
n/a

Please, @hdamker , @sushanthmavenir , @pradeepachar-mavenir , May you take a look and approve in order to merge?
Thanks

@stroncoso-quobis thanks for asking, but I'm not part of the team here and don't have the bandwidth to review. Please proceed without my review.


Add UI for safe mode

Any objection to including a bitmap image to show so someone knows they are in safe mode?  Blinking the LED might be another option... in some cases you might be using safe mode to recover from a sketch that hasn't drawn anything to the screen, so it seems nice if it had some type of UI... but at the same time I don't want to REQUIRE linking in the font table or even drawBitmap.  Those are big data sinks if someone isn't otherwise using them.  Expensive to require them just to say "Safe" in safe mode... For a bitmap of "Safe" or "Safe mode" you're talking 24-54 bytes.
Though I guess you could get it as little as low as 15 bytes if you used a 3-4px font.
If production ships with a reset button we might change safe mode so it only is compiled for devkits - and prefer the reset button in production units.
I think a reset button and longer (say 16 second) delay would replace the need for safe mode - though I've found it super helpful with the devkit.

Would prefer minimal resource overhead. Perhaps blink LED 3x times?

I might let this one set a while... I'm thinking once we have production units safe mode might be a LOT less of a big deal.

Going to close this since production has a real reset button... people with dev kits can live without a pretty UI.  if someone else wants to run with this and blink the LED that'd be fine, but I have enough other stuff to do and this has languished.


Community Tutorials

What does this PR do?
This PR add a table of community tutorials to the documentation.

Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you read the contributor guideline,
Pull Request section?
[ ] Was this discussed/approved via a GitHub issue? Please add a link
to it if that's the case.
[ ] Did you make sure to update the documentation with your changes? Here are the
documentation guidelines.
[ ] Did you write any new necessary tests?

Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Link to authors are wrong

@qgallouedec Thanks for the review. I've responded.


feat: update colors throughout various components

Fixing remaining references to old variable names

Codecov Report

Merging #694 (8362eee) into dev (8690bbf) will decrease coverage by 0.13%.
The diff coverage is 71.05%.

@@            Coverage Diff             @@
##              dev     #694      +/-   ##
==========================================
- Coverage   87.51%   87.37%   -0.14%
==========================================
  Files         174      174
  Lines        4349     4358       +9
  Branches     1455     1459       +4
==========================================
+ Hits         3806     3808       +2
- Misses        278      280       +2
- Partials      265      270       +5

Impacted Files
Coverage Δ

...s/charts/src/components/LineChart/LegendButton.tsx
90.00% <0.00%> (ø)

...s/react-magma-dom/src/components/AppBar/AppBar.tsx
92.85% <ø> (ø)

...a-dom/src/components/BlockQuote/BlockQuoteItem.tsx
100.00% <ø> (ø)

...ages/react-magma-dom/src/components/Form/index.tsx
83.33% <ø> (ø)

...mponents/FormFieldContainer/FormFieldContainer.tsx
100.00% <ø> (ø)

...kages/react-magma-dom/src/components/List/List.tsx
72.00% <ø> (ø)

...magma-dom/src/components/Table/TableHeaderCell.tsx
93.54% <ø> (ø)

...s/react-magma-dom/src/theme/GlobalStyles/index.tsx
50.00% <0.00%> (ø)

packages/react-magma-dom/src/theme/magma.ts
100.00% <ø> (ø)

...agma-dom/src/components/Combobox/ComboboxInput.tsx
72.50% <36.36%> (-14.17%)
:arrow_down:

... and 17 more

Continue to review full report at Codecov.

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


Toggle Ligature

We need to add more restraints to when two nc's can be turned into a ligature. It should only be possible when the two ncs are in a descending sequence.

refer to #190


[discuss] v2.0.x version

:walking:  The v1.x.x received so many feedbacks and suggestions, so v2.0.x will do it.
v2.0.x will not compatible with v1.0.x, details below:

[x] Can read datetime / data-timeago attribute.
[x] Set defaultLocale as the 1st parameter of timeago().
[x] API register will be a static method, replace of an instance method.
[x] Will use coding style of new timeago().

What else, welcome to additional.
ref #12 #23 #47 #59 #61

see branch v2.0.x.

@breeswish @cocody @likerRr @shaneog @simevidas @RyanZim
Just have a look at v2.0.x futures on master branch.

Usage with <time datetime> seems to work 👍

Hi, @hustcc ! Great work and I have few words to add. Give me a time to summarize and I will post my minds with PRs, thx.

@likerRr ok, waiting~

So, here are my minds and some improvements suggestions.
Will use coding style of new timeago()
Using word new is not just a style. It has its own meaning at the language layer. Sorry, but function constructor implementation in v2 is wrong and it pollutes global object with its own methods when is called like timeago(null, '2016-06-23') (then open devtools and execute console.log(window.format);console.log(window.render);console.log(window.cancel); and you will see that all these methods are in the global scope, 😵).
Naming convention inconsistency
Compare:

indexMapEn and attr_datetime
toDate and left_sec

I strongly suggest to use camelCase as internal JavaScript functions/variables do (toString/byteLength and uppercase characters separated by underscores for constants)
 Set defaultLocale as the 1st parameter of timeago().
It's very interesting change, but as you can see it becomes very ugly each time skip first parameter in order to specify date and time. Since library is about the time, I think that the first parameter should be a time. And for me it's not clear why there are more cases to specify first parameter as a locale then a time as requested here #61?
We have many ways to specify a locale and it doesn't seem to be unfriendly:

timeago().setLocale('en');
timeago().format('', 'en');
timeago('', 'en');

I made a PR with corresponding changes. I made these changes consistently so you can learn every commit step by step. I not pretend to include it all, but at least try to understand what I've meant.
P.S. Unfortunately the size of library increased and in PR it's about 2.18KB, but again performance vs size - up to you 😜

Cheers.
@likeRr A better solution might be using options?
options.locale
options.baseTime
etc.

@likerRr
I think (guess) the position of this library is to present relative time to users in a lite way. That's why it includes the most interesting and unique feature: automatic update relative time text. In this scenario, users are likely to use current time as the base time and changing the base time is minimal. On the other hand, since the contribution of i18n is very active, changing locale seems to be a common case.

@likerRr I run in timeago.js, the API is not in gloabal scope.

@breeswish the order of paramter has no effect on locales. About the paramters order, you all hava principles, but considering v1.x.x, I think keep the order same with v1.x.x is OK.

@hustcc Hi! Please, read carefully: when is called like timeago(null, '2016-06-23'). Here is the fiddle if we can't understand each other. I just made accent on this because when function constructor is implemented correctly then it won't be such issues.
@breeswish Hi, thank you! Sorry, but I think there is nothing common in how often users contribute in i18n and how they use the library. In my opinion you set the localization once, when you init the library or when use setLocale method. And you said it:

I think (guess) the position of this library is to present relative time to users in a lite way

Time first, locale second

@likerRr I don't think everyone will come to an agreement on this issue since their requirements and the reasons of using this library are different. As I said before, options can be considered in the next version. It is a ultimate, good, comfort-for-all solution.

@breeswish I can't say that options is better, it complicates the usage. Anyway, options will be placed as the second parameter, so how it will differ from putting locale as the second parameter?

@likerRr What I'm saying is:
options: {
  baseTime: ...,
  locale: ...,
}

The parameters's order is timeago(now_date, locale_name), same with v1.0.x. Pass this point. @likerRr  @breeswish

@hustcc ok, so I have nothing new to add

@hustcc Looking very nice!
I'm not seeing how this will resolve #23 though? I can see locales.js but nothing extra in the /dist folder.

👍 from me!

Then, close this issue ?

I think yes, we've done here


Update README.md

Just adding my little clock... not impressive in the least

Thanks, that looks good


NOISSUE - Fix Groups SDK

Signed-off-by: dusanb94<EMAIL_ADDRESS>What does this do?
This pull request fixes the Groups SDK issue for listing groups.
Group member type is fixed to be string, and filtering by level, name, and type are added to the groups listing SDK.
Which issue(s) does this PR fix/relate to?
There is no such issue.
List any changes that modify/break current functionality
There are no such changes.
Have you included tests for your changes?
No.
Did you document any new/modified functionality?
N/A
Notes
N/A

Task linked: CU-2j8gg4t Test

Codecov Report

Merging #1609 (023bf88) into master (55c4f08) will decrease coverage by 0.10%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #1609      +/-   ##
==========================================
- Coverage   69.01%   68.90%   -0.11%
==========================================
  Files         138      138
  Lines       11169    11183      +14
==========================================
- Hits         7708     7706       -2
- Misses       2796     2812      +16
  Partials      665      665

Impacted Files
Coverage Δ

pkg/sdk/go/groups.go
0.00% <0.00%> (ø)

pkg/sdk/go/responses.go
0.00% <ø> (ø)

pkg/sdk/go/sdk.go
100.00% <ø> (ø)

things/service.go
65.35% <0.00%> (-0.72%)
:arrow_down:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


CONTAINER_HOST: podman driver converge command does not work with podman remoting mode

When podman is using remote mode, create, login and destroy work but converge, verify and as a side effect test are failing at "Gathering Facts".
This can easily be reproduced even on localhost as long user defines:
export<EMAIL_ADDRESS>
Confirmed with podman 2.1.1, same versions client/server.
As part of fixing this bug we need to add a test that ensures that we do not have a regression around CONTAINER_HOST .

I can confirm that this bug is still valid with latest collections containers.podman==1.6.2 and ansible.posix==1.3.0.
While podman itself have no problems respecting and using CONTAINER_HOST, when running under molecule (ansible 2.11), fact collection will fail, even if this variable points to the same remote host that is defined inside podman config:
Example:
# ~/.config/containers/containers.conf
[containers]
  log_size_max = -1
  pids_limit = 2048
  userns_size = 65536

[engine]
  num_locks = 2048
  active_service = "leno"
  stop_timeout = 10
  [engine.service_destinations]
    [engine.service_destinations.leno]
      uri = "ssh://root@leno:22/run/podman/podman.sock"

[network]

Once user defines CONTAINER_HOST=ssh://root@leno:22/run/podman/podman.sock ansible will stop collecting facts from the container.


Update link to sample repository

Hi all,
The linked branch of the sample repository is outdated and not maintained any longer. I replaced it with an up to date link that I maintain. Best, Nico

Hi,
I fixed the link.
Best regards,
Lilyana


Gulp fails on deploying.

I'm trying to deploy my gulp application on Azure and I'm getting
Error: ENOTSUP: operation not supported on socket, scandir 'D:\home\site\wwwroot\src\assets\images\back.png'
when my deployment script goes to this part:
:: 5. Run gulp transformations
IF EXIST "%DEPLOYMENT_TARGET%\gulpfile.js" (
  pushd "%DEPLOYMENT_TARGET%"
  echo Running gulp serve.
  call :ExecuteCmd gulp serve
  IF !ERRORLEVEL! NEQ 0 goto error
  popd
)

was this the first time you tried and ran into issue or it used to work but suddenly stop working?
If you run just the gulp part on kudu console - are you able to repro the issue?  If so, share us the gulp file and we can try to investigate?

I tried it first time and I can repro it in console.
Here is gulp file: https://gist.github.com/Dia6lo/d9dd7cbae23c45ad6e6c

And this is module that causes error https://gist.github.com/Dia6lo/922a37a806836fa01d6d

where is the serve gulp task?   I would need the package.json to install all dependencies for repro.   you could share the sitename here or indirectly?  I can take a look at your site and extract from there.

http://aiuta.azurewebsites.net/

We are able to repro in our local env now.   Let us know if it is a different issue.
[01:49:49] Using gulpfile D:\home\site\wwwroot\gulpfile.js
[01:49:49] Starting 'scripts'...
[01:49:53] Starting 'less'...
[01:49:57] all files 13.4 kB
[01:49:57] Finished 'scripts' after 7.76 s
[01:49:57] Finished 'less' after 3.77 s
[01:49:57] Starting 'inject'...
[01:49:58] gulp-inject 3 files into index.html.
[01:49:58] gulp-inject 9 files into index.html.
[01:49:58] Finished 'inject' after 1.2 s
[01:49:58] Starting 'watch'...
[01:49:58] 'watch' errored after 27 ms
[01:49:58] Error: ENOTSUP: operation not supported on socket, scandir 'D:\home\site\wwwroot\src\assets\images\back.png'
    at Error (native)
    at Object.fs.readdirSync (fs.js:856:18)
    at Glob._readdir (D:\home\site\wwwroot\node_modules\globule\node_modules\glob\glob.js:577:20)
    at Glob._process (D:\home\site\wwwroot\node_modules\globule\node_modules\glob\glob.js:379:15)
    at Glob.<anonymous> (D:\home\site\wwwroot\node_modules\globule\node_modules\glob\glob.js:403:14)
    at Array.forEach (native)
    at Glob.<anonymous> (D:\home\site\wwwroot\node_modules\globule\node_modules\glob\glob.js:402:9)
    at Glob._readdir (D:\home\site\wwwroot\node_modules\globule\node_modules\glob\glob.js:554:32)
    at Glob._process (D:\home\site\wwwroot\node_modules\globule\node_modules\glob\glob.js:379:15)
    at Glob.<anonymous> (D:\home\site\wwwroot\node_modules\globule\node_modules\glob\glob.js:403:14)

Yes, this is an issue I've encountered.

The issue is in glob.js (d:\home\site\wwwroot\node_modules\globule\node_modules\glob\glob.js).
When running gulp watch, it iterates and calls fs.readdirSyncon all files/folders.   It relies on ENOTDIR error code to detect if it is file (not a directory).   However, on Windows, if files is on network share, the error will be ENOTSUP instead.   glob.js needs to anticipate for that.    The issue also described here.
The simple fix is to add case "ENOTSUP": to d:\home\site\wwwroot\node_modules\globule\node_modules\glob\glob.js line 608.   See below.
  // now handle errors, and cache the information
  if (er) switch (er.code) {
    case "ENOTDIR": // totally normal. means it *does* exist.
    case "ENOTSUP": // same as ENOTDIR if network drive
      this.statCache[f] = 1
      return cb.call(this, er)
    case "ENOENT": // not terribly unusual

So I must do it every time my site deploys from git? (I assume that repository is cloned as a fresh copy every deploy)

In short, just one time.
The node modules for gulp is npm-installed on d:\home\site\wwwroot.  It is idempotent - so won't be overwrittten if already intalled.

close for now.  please reopen if same issue continues.


CPS-18-import-fixes

Now the SDK is divided into the following subpackages:

config
exceptions
logger
models
resources

Codecov Report

Merging #38 into master will decrease coverage by 0.36%.
The diff coverage is 95.45%.

@@            Coverage Diff             @@
##           master      #38      +/-   ##
==========================================
- Coverage   93.47%   93.11%   -0.37%
==========================================
  Files          29       30       +1
  Lines        1242     1249       +7
==========================================
+ Hits         1161     1163       +2
- Misses         81       86       +5

Impacted Files
Coverage Δ

connect/resources/template.py
60% <ø> (ø)

connect/resources/__init__.py
100% <ø> (ø)

connect/models/exception.py
0% <0%> (-98.28%)
:arrow_down:

connect/models/event.py
100% <100%> (ø)
:arrow_up:

connect/resources/tier_config_automation.py
97.43% <100%> (ø)

connect/resources/usage_file_automation.py
96.29% <100%> (ø)

connect/resources/automation_engine.py
92% <100%> (ø)

connect/resources/base.py
92.3% <100%> (ø)

connect/resources/usage_automation.py
93.8% <100%> (ø)

connect/models/__init__.py
100% <100%> (ø)
:arrow_up:

... and 7 more

Continue to review full report at Codecov.

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


The actual "mother of all demos"

Hi, thanks for the great work !
Was wondering if you knew about the actual Mother of all demos in computer science.
It would be great if the readme could reference or otherwise honor the work.
Best,

done: https://github.com/gothinkster/realworld/pull/512
Could you please approve it?
@EricSimons
@gabssnake

Awesome !


viewportEnabled is undefined in addon integration tests

Version
2.1.1 (I've also tried this on latest version and still same behavior)
Test Case
viewportEnabled is undefined when testing this package mixed into a component (inside of an addon) during integration testing. It also appears none of the default configs get added.
Steps to reproduce
Set a debugger statement/breakpoint inside didInsertElement() hook in-viewport.js file where viewportEnabled is evaluated.
Expected Behavior
viewportEnabled should be true
Actual Behavior
viewportEnabled is undefined

@mkay581 I haven't been able to reproduce.  I still need to add more tests to this PR to upgrade ember-light-table, but seems viewportEnabled is true on my end.  If you had a screenshot to reproduce, that would help!
https://github.com/offirgolan/ember-light-table/pull/548

Closing for now.  Talked with @mkay581 and the latest versions of this addon fix the issue.


Change status bar color dynamically

Hello, thank you for the great library, I've the necessity to change the status bar color dynamically but this has an impact on your library as well since the status bar is set at the beginning when calling attach() and we cannot change it.
I'm using a ViewPager with fragments that dynamically regenerate the color of the status bar using Palette library based on the image displayed in each fragment, so this new color should be reflected in Slidr library as well.
I've tried to reattach when new color is regenerated, but it has weird behaviour... better to not explain.
I've seen the replace() function but how to use it? we should pass a new ViewGroup, what it should be?
Probably it's much better to update the primary/secondary color of the status bar instead of recreating everything. (Maybe these 2 colors could be static property in Slidr class so we can call set() everywhere, what do you think?).
If you agree I can do that change, but also put in common some code that now is repeated in many functions.

the replace() function is very very experimental right now so I would not use that. I will look into implementing the functionality you need as I don't think it would be a bad thing to be able to dynamically change all the configurable values at runtime if the developer so wanted.
This could probably achieve this my creating setters in the SlidrConfig class to allow you to change the values dynamically. This would allow you to change the colors the mechanism interpolates between.
Feel free to create a pull request or I can make the change here in the next day or two

Ok for SlidrConfig. I can work this evening on it.

if SlidrConfig has setters it must be a member of the class Slidr. But Slidr has all methods declared static. How do you want I proceed? I can make SlidrConfig a static member in Slidr or change Slidr removing static but this is not backward compatible (you should go for a version 3), so maybe better to keep static member in this moment for version 2.1.0.

Also I've reviewed the build.gradle files to better manage versions of imported libraries. You will see and keep if you like it.

I'm not going to remove the static methods from the Slidr class as that is one of my requirements of this library. The SlidrConfig class does not need to be a static member of the Slidr class (this is bad for a number of reasons).
All you should need to do is add setters to SlidrConfig and keep a reference to your configuration in your activity that you're attaching it to and then change/set the values from there.

Ok I understood. So I did it. If you don't like something I will review it.

I just pushed the added setters to the config and updated the example project to demonstrate it. I also pushed these changes to the snapshot repository: 2.0.5-SNAPSHOT as well.

Hi, for me it is working as well. I close it.


improved: Hungarian translation from level1 to win

Hey @thomaspark, check it out please. I made fun of myself with a couple of "useful" codium extensions :D Please delete the other request Thx: Zsolt

Great, thanks again @kzsa!

Hi,
It is my pleasure to assist you in this cool project. In case of
modification feel free to contact me.
Br: Zsolt András Kovács
Thomas Park<EMAIL_ADDRESS>ezt írta (időpont: 2021. febr. 17.,
Sze, 18:36):

Merged #140 https://github.com/thomaspark/gridgarden/pull/140 into
master.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/thomaspark/gridgarden/pull/140#event-4342675401, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AODJG7GBEQQKXWEHIYJAPNTS7P5BZANCNFSM4XXQG2ZQ
.


Make alacritty into a library, in order to embed it into other applications?

I've thought about making a more user-friendly wrapper using alacritty as a base framework. Basically, like gnome-terminal, with a graphical configuration, system menus and so on. However, I want to respect alacrittys mission to be only a "basic" terminal emulator and not have these features.
So my proposed solution would be to have alacritty be exposed as a library (alacritty is currently not used on crates.io). alacritty could draw to an OpenGL texture and take inputs via a Processor provided by the embedding application.
Use-cases would be:

Wrappers for alacritty, for drawing decorations and such
Embedded system terminals (like having a small command line in an OpenGL application).

This is just an idea.

Yep, this would be great. In fact, we've got another issue open for it already. Please subscribe to #450 for updates.


Finish setting up this repo as a "hyper-modern" python repo

See https://medium.com/@cjolowicz/hypermodern-python-d44485d9d769

Non-medium link - https://cjolowicz.github.io/posts/hypermodern-python-01-setup/


feat: Icon统一导出

General

✏ Mark the necessary items without changing the structure of the PR template.

[ ] Pull request template structure not broken

Type

ℹ What types of changes does your code introduce?

👉 Put an x in the boxes that apply

[ ] 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 not work as expected)
[ ] This change requires a documentation update

Checklist

ℹ Check all checkboxes - this will indicate that you have done everything in accordance with the rules in CONTRIBUTING.

👉 Put an x in the boxes that apply.

[ ] My code follows the style guidelines of this project
[ ] Is the code format correct
[ ] Is the git submission information standard?
[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

其实没这个必要， 因为现有组件都是通过 import Icon from<EMAIL_ADDRESS>来进行导入的

其实没有这个必要，因为现有的组件都是通过import Icon from '@/components/Icon/Icon.vue';来进行导入的

因为我看文档是这样子写的，所以就

你给文档仓库提个pr 改下吧


STORM-2298 Don't kill Nimbus when ClusterMetricsConsumer is failed to initialize

Please refer STORM-2298 for more details.

@harshach Thanks for reviewing. I addressed your comment.

@harshach ping for reviewing.

+1


Always "Internal Server Error"

I'm using etcd 2.0 release version and set up a 5 instances cluster by DNS record discovery.
My services use etcd to do server discovery and heartbeating, about 20 instances sending requests to etcd every 5s.
Each time the request the service sending are:

PUT new values with ttl to two files (In different directory)
Update ttl to an existed directory
And each service watching for a directory to get notified when change happened. TTL update changes are filtered by client.

That's all my scenarios, and I'm keeping receive "Internal Service Error" From etcd when PUT new value or update ttl with no X-Etcd-Index header and no related logs I found in etcd log. The interval between each errors could be smaller than 1s or larger than 10 hour.
I just cannot figured out what's happening, could you guys take a look at this?
More details, the put/update path looks like:
Dir: /v2/keys/service/mongodb/cluster/bj/instance/mongo0
File: /v2/keys/service/mongodb/cluster/bj/instance/mongo0/registry
File:/v2/keys/routing/mongo0-bj
Both of these nodes has a ttl equals 15s. The value of registry is quite small, just { "host": "1234xxx" }
And all 5 etcd instances are in one local network connected through 1000Mbps ethernet network, the ping latency among these instances is smaller than 1ms.
Any response is appreciated.

@snowdreamist Can you please provide etcd log? Are you seeing raft term increase? Did leader election happen?
Can you try to reproduce the problem with a simple setup. We can help you debug the problem with log or more detailed information.

of course, I'll record related info in 1 or 2 days. @xiang90

OK, I got a piece of log may related to this error:
2015/02/10 19:45:17 raft: b3cf14a3ff886f6e [term: 7] received a MsgVote message with higher term from 4d18ffbde916ed55 [term: 8]
2015/02/10 19:45:17 raft: b3cf14a3ff886f6e became follower at term 8
2015/02/10 19:45:17 raft: b3cf14a3ff886f6e [logterm: 7, index: 610357, vote: 0] voted for 4d18ffbde916ed55 [logterm: 7, index: 610357] at term 8
2015/02/10 19:45:17 raft.node: b3cf14a3ff886f6e lost leader a607f655c64595cc at term 8
2015/02/10 19:45:17 raft.node: b3cf14a3ff886f6e elected leader 4d18ffbde916ed55 at term 8
2015/02/10 19:45:17 sender: the connection with a607f655c64595cc becomes active
2015/02/10 19:45:17 rafthttp: starting client stream to 4d18ffbde916ed55 at term 8
2015/02/10 19:45:22 etcdhttp: unexpected error: etcdserver: request timed out
2015/02/10 19:45:23 etcdhttp: unexpected error: etcdserver: request timed out
2015/02/10 19:45:23 etcdhttp: unexpected error: etcdserver: request timed out
2015/02/10 20:07:39 etcdserver: start to snapshot (applied: 620132, lastsnap: 610127)
2015/02/10 20:07:39 etcdserver: compacted log at index 620132
2015/02/10 20:07:39 etcdserver: saved snapshot at index 620132
2015/02/10 20:07:52 filePurge: successfully removed file /var/lib/etcd/default.etcd/wal/0000000000000039-000000000008b307.wal
2015/02/10 20:07:52 filePurge: successfully removed file /var/lib/etcd/default.etcd/snap/0000000000000007-000000000008b306.snap
And the ts exactly match the error log of our service log's ts.
@xiang90

@snowdreamist
2015/02/10 19:45:17 rafthttp: starting client stream to 4d18ffbde916ed55 at term 8

There is a leader election happened at 19:45:17.
2015/02/10 19:45:22 etcdhttp: unexpected error: etcdserver: request timed out
2015/02/10 19:45:23 etcdhttp: unexpected error: etcdserver: request timed out
2015/02/10 19:45:23 etcdhttp: unexpected error: etcdserver: request timed out

There are three timeout happened after around 5 seconds.
There might be proposal during leader election. And the proposal waiting timeout is around 5 seconds.
I highly suspect that the timeout is caused by the leader lost.
So you need to find out if the leader election is expected. Was the leader machine down for a while? Was there a network problem? Or the leader machine was slow for a while?

@snowdreamist In the future, we might improve this by buffering proposals and trying to resend them if they are lost due to leader lost.

Thanks for reply! I'll take a look at the server log.
By the way, I found our DNS server (bind9) is somehow unstable, and I use domain name instead of IP address in the SRV record for setting up etcd cluster. Will it affect etcd?
And when will an etcd node notice that the leader is lost? Heart beat timed out?
@xiang90

@snowdreamist In Raft Protocol, the leader must send heartbeats(empty AppendEntries RPCs) to maintain the authority, if the electionTimeout elapses with no RPCs, the follower will assume that the leader crashes. Hope this will help you...

@snowdreamist I am closing this. Reopen if you have any follow up.

I haven't found why internal error still always happened, I can't be sure if it is a network issue or not. Bug the connections between services and mongodb instances is pretty stable.
And I found another issue, if the internal server error happened, etcd may block the connection forever.

etcd may block the connection forever.

We are solving this.
/cc @yichengq

@snowdreamist Do you have more detailed context, or TCP status at that time, or log for the block issue?
From your description, I think it is more reasonable to say that the block of the connection causes the internal server error.


Style primary room for mobile, tablet, and desktop

🏖 Definition of done

[ ] Matches the wireframe
[ ] Accessible

Fit for:

[ ] Mobile
[ ] Tablet
[ ] Desktop

🏕 Problem-solving
🎠 Explore the problem
Getting an image inside a button
Use the Tailwind background classes.
🛫 Method

[ ] Mobile

[ ] Do everything except the submit button image
[ ] Locate a good image for the submit button and use it
[ ] Record attribution for the image in relevant user story task

[ ] Tablet
[ ] Desktop
[ ] Ensure it meets a11y standards

📝 Notes
References

Tailwind background classes

Page footer: intrusive on small screens? Hide away?

Whoops!


fix: Container Alignment

Closes https://github.com/lenra-io/lenra_cli/issues/164
Checklist

[ ] I didn't over-scope my PR
[ ] My PR title matches the commit convention
[ ] I did not include breaking changes
[ ] I included unit tests that cover my changes
[ ] I added/updated the documentation about my changes
[ ] I made my own code-review before requesting one

Description of the changes

Technical highlight/advice

:tada: This PR is included in version 1.0.0-beta.106 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0-alpha.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


我想运行其中一个模型，应该如何配置

I want to run one of the models, how should I configure it？thank you

From README.md:

Modify src/config.py to select target model. The configuration file is organized into general part (which is applied to all models) and model-specific part (that some models not have).

The general part should be self-explanatory, e.g., batch size, learning rate, etc. For model-specific part, you should refer to the experiment section of that paper.
But I believe the default config is enough for a quick start. So you can just select the model in src/config.py.

For example: I  train a LSTRU model, but I don't want to train other models(NRMS....).  what i need to do?

See https://github.com/yusanshi/NewsRecommendation/blob/master/src/config.py#L3-L7.
Just set model_name as 'LSTRU'.

thank you 😁------------------ 原始邮件 ------------------
@.>
发送时间: 2021年8月28日(星期六) 晚上10:51
@.>;
<EMAIL_ADDRESS>主题: Re: [yusanshi/NewsRecommendation] 我想运行其中一个模型，应该如何配置 (#21)

When i set model_name as 'LSTRU' or  ‘NAML’，The program will report an error：

Training:   0%|                                       | 0/50426 [00:00<?, ?it/s]
Traceback (most recent call last):
File "train.py", line 294, in
train()
File "train.py", line 185, in train
minibatch["clicked_news"])
File "/root/miniconda3/envs/newsRec/lib/python3.6/site-packages/torch/nn/modules/module.py", line 1051, in _call_impl
return forward_call(*input, **kwargs)
File "/root/lvxin/NewsRecommendation/src/model/LSTUR/init.py", line 70, in forward
[self.news_encoder(x) for x in candidate_news], dim=1)
File "/root/lvxin/NewsRecommendation/src/model/LSTUR/init.py", line 70, in
[self.news_encoder(x) for x in candidate_news], dim=1)
File "/root/miniconda3/envs/newsRec/lib/python3.6/site-packages/torch/nn/modules/module.py", line 1051, in _call_impl
return forward_call(*input, **kwargs)
File "/root/lvxin/NewsRecommendation/src/model/LSTUR/news_encoder.py", line 53, in forward
news['subcategory'].to(device))
File "/root/miniconda3/envs/newsRec/lib/python3.6/site-packages/torch/nn/modules/module.py", line 1051, in _call_impl
return forward_call(*input, **kwargs)
File "/root/miniconda3/envs/newsRec/lib/python3.6/site-packages/torch/nn/modules/sparse.py", line 160, in forward
self.norm_type, self.scale_grad_by_freq, self.sparse)
File "/root/miniconda3/envs/newsRec/lib/python3.6/site-packages/torch/nn/functional.py", line 2043, in embedding
return torch.embedding(weight, input, padding_idx, scale_grad_by_freq, sparse)
IndexError: index out of range in self

Have you done this? (taken from README.md)

Remember you shoud modify num_* in src/config.py by the output of src/data_preprocess.py

PS: you should open a new issue for this, since it is irrelevant to the subject of the current issue.

Close inactive issue. Reopen it if needed.


C# .NET 6.0 cannot retrieve JWT to use as the WebIdentityToken in an AssumeRoleWithWebIdentityRequest.escription)

Describe the bug
This is a copy of an original issue posted to the code examples repository, here: https://github.com/awsdocs/aws-doc-sdk-examples/issues/3965
The text below is copied from that issue for reference.
Expected Behavior
I am trying to get the credentials from the Kubernetes Service Account (which is injected into the container) with an attached role that gives access to S3. Here is the code that I am running:
var stsClient = new AmazonSecurityTokenServiceClient(RegionEndpoint.USWest2);

        try
        {
            var request = new AssumeRoleWithWebIdentityRequest()
            {
                WebIdentityToken = _configuration["AWS_WEB_IDENTITY_TOKEN_FILE"],
                RoleArn = _configuration["AWS_ROLE_ARN"],
                RoleSessionName = "AssumedRoleUser"
             };

            var assumeRoleResult = await stsClient.AssumeRoleWithWebIdentityAsync(request);

            var credentials = assumeRoleResult.Credentials;

            Console.WriteLine("Access Stuff: " + credentials.AccessKeyId + " Secret: " + credentials.SecretAccessKey + " Token: " + credentials.SessionToken);

            var client = new AmazonS3Client(credentials);
        }
        catch (Exception ex)
        {
            Console.WriteLine(ex.ToString());
        }

        return response;

I would expect the AssumeRoleWithWebIdentityAsync call would return a proper result so that I can use the credentials in standing up a new AmazonS3Client.
Current Behavior
However, when the stsClient.AssumeRoleWithWebIdentityAsync(request) runs it throws the following error:
Amazon.SecurityToken.Model.InvalidIdentityTokenException: The ID Token provided is not a valid JWT. (You may see this error if you sent an Access Token) 23 ---> Amazon.Runtime.Internal.HttpErrorResponseException: Exception of type 'Amazon.Runtime.Internal.HttpErrorResponseException' was thrown. 22 at Amazon.Runtime.HttpWebRequestMessage.GetResponseAsync(CancellationToken cancellationToken) 21 at Amazon.Runtime.Internal.HttpHandler1.InvokeAsync[T](IExecutionContext executionContext)
20
at Amazon.Runtime.Internal.Unmarshaller.InvokeAsync[T](IExecutionContext executionContext)
19
at Amazon.Runtime.Internal.ErrorHandler.InvokeAsync[T](IExecutionContext executionContext)
18
--- End of inner exception stack trace ---
17
at Amazon.Runtime.Internal.HttpErrorResponseExceptionHandler.HandleExceptionStream(IRequestContext requestContext, IWebResponseData httpErrorResponse, HttpErrorResponseException exception, Stream responseStream)
16
at Amazon.Runtime.Internal.HttpErrorResponseExceptionHandler.HandleExceptionAsync(IExecutionContext executionContext, HttpErrorResponseException exception)
15
at Amazon.Runtime.Internal.ExceptionHandler1.HandleAsync(IExecutionContext executionContext, Exception exception) 14 at Amazon.Runtime.Internal.ErrorHandler.ProcessExceptionAsync(IExecutionContext executionContext, Exception exception) 13 at Amazon.Runtime.Internal.ErrorHandler.InvokeAsync[T](IExecutionContext executionContext) 12 at Amazon.Runtime.Internal.CallbackHandler.InvokeAsync[T](IExecutionContext executionContext) 11 at Amazon.Runtime.Internal.Signer.InvokeAsync[T](IExecutionContext executionContext) 10 at Amazon.Runtime.Internal.EndpointDiscoveryHandler.InvokeAsync[T](IExecutionContext executionContext) 9 at Amazon.Runtime.Internal.EndpointDiscoveryHandler.InvokeAsync[T](IExecutionContext executionContext) 8 at Amazon.Runtime.Internal.CredentialsRetriever.InvokeAsync[T](IExecutionContext executionContext) 7 at Amazon.Runtime.Internal.RetryHandler.InvokeAsync[T](IExecutionContext executionContext) 6 at Amazon.Runtime.Internal.RetryHandler.InvokeAsync[T](IExecutionContext executionContext) 5 at Amazon.Runtime.Internal.CallbackHandler.InvokeAsync[T](IExecutionContext executionContext) 4 at Amazon.Runtime.Internal.CallbackHandler.InvokeAsync[T](IExecutionContext executionContext) 3 at Amazon.Runtime.Internal.ErrorCallbackHandler.InvokeAsync[T](IExecutionContext executionContext) 2 at Amazon.Runtime.Internal.MetricsHandler.InvokeAsync[T](IExecutionContext executionContext) 1

It's acting like the _configuration["WS_WEB_IDENTITY_TOKEN_FILE"] is not pulling the token assigned to the AWS_WEB_IDENTITY_TOKEN_FILE environment variable. Here is the env section of the container:
 - env: - name: AWS_STS_REGIONAL_ENDPOINTS value: regional - name: AWS_DEFAULT_REGION value: us-west-2 - name: AWS_REGION value: us-west-2 - name: AWS_ROLE_ARN value: 'arn:aws:iam::XXXXXXXXXXXX:role/service-account-name' - name: AWS_WEB_IDENTITY_TOKEN_FILE value: /var/run/secrets/eks.amazonaws.com/serviceaccount/token

Reproduction Steps

Create a Kubernetes Service Account (should be using the OpenID Connect provider of the Cluster and that provider should be created in IAM)
Assign a Role (with S3 permissions) to the created service account (with a trust policy defined like this:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "",
            "Effect": "Allow",
            "Principal": {
                "Federated": "arn:aws:iam::XXXXXX:oidc-provider/oidc.eks.us-west-2.amazonaws.com/id/xxx"
            },
            "Action": "sts:AssumeRoleWithWebIdentity",
            "Condition": {
                "StringEquals": {
                    "oidc.eks.us-west-2.amazonaws.com/id/xxx:aud": "sts.amazonaws.com",
                    "oidc.eks.us-west-2.amazonaws.com/id/xxx:sub": "system:serviceaccount:$namespace:service-account-name"
                }
            }
        }
    ]
}

Create a C# .NET 6.0 application and deploy it to the linux container, then run the code.

Possible Solution
No response
Additional Information/Context
I don't have the original information on this issue, but the link above will connect you with the originator. I will also provide him with a link to this issue. The issue could not be transferred directly from a separate org.
AWS .NET SDK and/or Package version used
<IP_ADDRESS>
Targeted .NET Platform
.NET 6
Operating System and version
Linux container (I believe it is Ubuntu 18.04)

Hi @ChristianSHansen,
Good morning. Thanks for reporting the issue. I believe you are using the AssumeRoleWithWebIdentityRequest incorrectly. If you refer the example at AmazonSecurityTokenServiceClient.AssumeRoleWithWebIdentity (AssumeRoleWithWebIdentityRequest), it sets the WebIdentityToken property to actual value.
var client = new AmazonSecurityTokenServiceClient();
var response = client.AssumeRoleWithWebIdentity(new AssumeRoleWithWebIdentityRequest
{
    DurationSeconds = 3600,
    Policy = "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Sid\":\"Stmt1\",\"Effect\":\"Allow\",\"Action\":\"s3:ListAllMyBuckets\",\"Resource\":\"*\"}]}",
    ProviderId = "www.amazon.com",
    RoleArn = "arn:aws:iam::123456789012:role/FederatedWebIdentityRole",
    RoleSessionName = "app1",
    WebIdentityToken = "Atza%7CIQEBLjAsAhRFiXuWpUXuRvQ9PZL3GMFcYevydwIUFAHZwXZXXXXXXXXJnrulxKDHwy87oGKPznh0D6bEQZTSCzyoCtL_8S07pLpr0zMbn6w1lfVZKNTBdDansFBmtGnIsIapjI6xKR02Yc_2bQ8LZbUXSGm6Ry6_BG7PrtLZtj_dfCTj92xNGed-CrKqjG7nPBjNIL016GGvuS5gSvPRUxWES3VYfm1wl7WTI7jn-Pcb6M-buCgHhFOzTQxod27L9CqnOLio7N3gZAGpsp6n1-AJBOCJckcyXe2c6uD0srOJeZlKUm2eTDVMf8IehDVI0r1QOnTV6KzzAI3OY87Vd_cVMQ"
});

AssumedRoleUser assumedRoleUser = response.AssumedRoleUser;
string audience = response.Audience;
Credentials credentials = response.Credentials;
int packedPolicySize = response.PackedPolicySize;
string provider = response.Provider;
string subjectFromWebIdentityToken = response.SubjectFromWebIdentityToken;

Whereas, in your case, you are just passing the path to the web identity token file represented by environment variable AWS_WEB_IDENTITY_TOKEN_FILE (an assumption). Could you please check the value of _configuration["AWS_WEB_IDENTITY_TOKEN_FILE"] in your code and verify if it represents the path to token file or the actual value inside the token file?
Thanks,
Ashish

I will need to try that and see if it will work. Thanks!

I'm am currently validating the Web Identity Token in my container.

Okay, I have tried a few things but I keep getting back "403 Unauthorized". I'm wondering if I need to include a Policy with the AssumeRoleWithWebIdentityRequest or if I can assign the Policy to the Role in IAM?

@ashishdhingra see my previous comment for a question I have.

@ashishdhingra see my previous comment for a question I have.

@ChristianSHansen Apologies for late reply. If you refer AmazonSecurityTokenServiceClient.AssumeRoleWithWebIdentity (AssumeRoleWithWebIdentityRequest), it specifies You cannot use session policies to grant more permissions than those allowed by the identity-based policy of the role that is being assumed.. So you might want to check if the role in IAM allows you to assume the inline policy (depending on role permissions).
Thanks,
Ashish


hypershift-operator crashed during the hostedcluster delete flow

Have seen operator crashing with SIGSEGV with following stack trace
{"level":"info","ts":"2023-01-25T08:26:07Z","msg":"successfully reconciled","controller":"hostedcluster","controllerGroup":"hypershift.openshift.io","controllerKind":"HostedCluster","hostedCluster":{"name":"example","namespace":"clusters"},"namespace":"clusters","name":"example","reconcileID":"a6f60bdf-d10c-42ab-80f2-7d2d08584b44"}
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x2af181b]

goroutine 500 [running]:
main.clusterGuestCloudResourcesDeletionTime(0xc001802c00)
	/hypershift/hypershift-operator/metrics.go:359 +0x19b
main.(*hypershiftMetrics).observeHostedClusters(0xc000660dc0, 0xc0067da700)
	/hypershift/hypershift-operator/metrics.go:278 +0x19ac
main.(*hypershiftMetrics).collect(0xc000660dc0, {0x36bfb38, 0xc000da13c0})
	/hypershift/hypershift-operator/metrics.go:136 +0x21d
main.(*hypershiftMetrics).Start(0xc000660dc0, {0x36bfb38, 0xc000da13c0})
	/hypershift/hypershift-operator/metrics.go:124 +0x125
sigs.k8s.io/controller-runtime/pkg/manager.(*runnableGroup).reconcile.func1(0xc00005cb60)
	/hypershift/vendor/sigs.k8s.io/controller-runtime/pkg/manager/runnable_group.go:219 +0x152
created by sigs.k8s.io/controller-runtime/pkg/manager.(*runnableGroup).reconcile
	/hypershift/vendor/sigs.k8s.io/controller-runtime/pkg/manager/runnable_group.go:203 +0x1db

I guess this is happening while fetching the DeletionTimestamp which is missing, good to have null check before accessing the field. IsZero() function can be used before accessing the field.

Hello @mkumatag, I put in a null check for this and the PR merged early today. Please let me know if you see this again or if it's resolved.

Thanks @bryan-cox, merged PR should fix this issue.


refactor(QuotientGroup): small change to statement of lift

Often the first thing we want to do when proving this condition is apply normalClosure_le, so this is a nicer way of stating it.

maintainer merge


installation issue

Hello,
I have some difficulties to install this python project with the requirement.txt file which is given.
Using Python3.5.6 of Anaconda, some dependencies cannot be solved.
And using the last version of Python (but removing the specific version in the requirement.txt file and modifying FancyImpute(MICE) as described by AlyanQ), I succeed to install the project. But when I run the training, I am facing an error in rfe_multiprocess.
Can someone describe a procedure to have a code running without issue using Anaconda ?
Regards,
Nabla

hey do you mind sharing what you did/updated req file to get the demo working?

Hi,
I do not have investigated more than I have explained in my first message.
As a consequence, I did not succeed to make the code working with Anaconda.
Regards,
Nabla.

Hi, @nabla44. Could you, please, share the specific error you are getting on rfe_multiprocess?

Sorry, but I do not succeed to get demo working.
Regards,
Alban
De: "Jeff Shaw" @.>
À: "zengyh1900/3D-Human-Body-Shape" @.>
Cc: "alban" @.>, "Author" @.>
Envoyé: Samedi 21 Janvier 2023 07:43:09
Objet: Re: [zengyh1900/3D-Human-Body-Shape] installation issue (Issue #38)
hey do you mind sharing what you did/updated req file to get the demo working?
—
Reply to this email directly, [ https://github.com/zengyh1900/3D-Human-Body-Shape/issues/38#issuecomment-1399193243 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/AW6WMQXZJOJPHIYEYMFXMSDWTOAP3ANCNFSM5SY46EBA | unsubscribe ] .
You are receiving this because you authored the thread. Message ID: <zengyh1900/3D-Human-Body-Shape/issues/38/1399193243 @ github . com>