Test building Ruby extension with different compilers

GCC: 4.4, 4.6, 4.9, 5.1
Clang: 3.5, 3.6, 3.7

this is obsolete as we're shipping precompiled binaries.


Render non-Latin or CJK subtitles with the fallback font

This is more a question than an issue, I'm loading subtitles from external files (so without fonts) & I don't know how to handle non-Latin subtitles since the fallback font doesn't handle them. I know I can override the font, but I don't want to include the 10 noto fonts to handle every language.
Do you think there could be a smart way to handle this?
Image of what it looks like rn:

yes, the fallback font can't handle them because the font map can't be big enough to fit them, even if it was the font would be like 20MB, you need to add a font which supports those characters, and set the subtitles to use that font

yeah but the users are loading arbitrary subtitles & i don't know in advance what language it will be in. I can't ask them to edit the subtitles to use a font they'll specify
do you think it would be possible to use a list of fallback fonts and load/try them one by one?

or maybe find a suitable local font if useLocalFonts = true?

local fonts can't detect what characters the font supports without loading all of them, which is excessive, you're asking for a series of impossible things here, arbitrary subtitles, with arbitrary font, with arbitrary characters, with arbitrary configurations, either the fallback font needs to support the characters specified in the subtitles, or the font specified in the subtitles need to support the characters


TypeScript project breakpoint is unbounded on vscode 1.58, but can set on vscode 1.57.1

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.58
OS Version: macOS 10.15.7

Steps to Reproduce

run DEBUG
Set breakpoint
breakpoint is unbound

These steps works normal on VS Code Version 1.57.1
launch.json
"configurations": [
{
"type": "pwa-node",
"request": "launch",
"name": "main",
"runtimeExecutable": "nodemon",
"restart": true,
"env": {
"NODE_ENV": "development",
"IS_DEV": "1",
"DEBUG": "nb:*",
},
"console": "internalConsole",
"internalConsoleOptions": "openOnSessionStart",
"program": "${workspaceFolder}/dist/bin/app.js",
},
]

/jsDebugLogs

Here is the log file, [
vscode-debugadapter-a8bc78e8.zip
](url)

@leonkong You're using the "Run Without Debugging" action, so it's expected that breakpoints don't work here.
You can debug using the F5 keyboard shortcut (unless you've remapped it), the Debug: Start Debugging command, or the play button in the Debug view.

I found a new bug, I will open a new issue

Thanks, I found that the keyboard shortcuts map had some problem, I will correct it myself. Thanks you.


Allow combination of "g" & "f"

Minify version: 2.1.1

In the code i have been using, there is a certain subset of files which is
static (e.g. jQuery, basic css etc.) depending on functionality of the
generated page, i want to extend this by adding specific CSS or JS files.

I've tried to do
/min/?g=css&f=/css/extra.css

but it only takes the "group" part. It would be really cool if those 2
could be combined.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 4 Feb 2009 at 10:00

Makes sense to me and should be easy.

Multiple groups might be nice, too: /min/?g=grp1,grp2

Original comment by<EMAIL_ADDRESS>on 4 Feb 2009 at 1:09

Changed state: Accepted
Added labels: Type-Enhancement
Removed labels: Type-Defect

A comment on this request: it might not be a very good move regarding
performance.

Say you have groups for JS files and CSS files common to all pages in the
website.
Then on a "Sign in" page you want to call an additional JS script that does form
validation just for that page.

If you call "?g=js-common" on the homepage, and then
"?g=js-common&f=/js/signin-validation.js" on the sign-in page, then from the
browser
perspective you have two totally different files: A and B. And A could be 80 KB,
while B would be 85 KB. Even though those two files are very similar (A is a
subset
of B), the browser still has to load 165 KB total for a user going from the
Home page
to the Sign in page.

Another solution would be to call the additionnal scripts separately:

<script src="min/?g=js-common"></script>
<script src="min/?f=/js/signin-validation.js"></script>

You get two server hits, one is 80 KB and the other is 5 KB. You save 80 KB of
unnecessary downloads. Is that one additionnal server hit a problem? I don't
think
so. What's more, if the user went from the Home page to the Sign in page, then
you have:

- one 80 KB download on the Home page;
- one 5 KB download on the Sign in page.

Instead of:

- One 80 KB download on the Home page;
- one 85 KB download on the Sign in page.

Here, i'm not saying this request or the multiple groups idea shouldn't be
implemented. But in some (many? most?) cases using this feature could be a bad
idea
actually.

Original comment by fverschelde on 26 Apr 2009 at 9:41

@fverschelde: You're completely right, but Minify can already be misused this
way;
we have to assume that people will use Minify wisely depending on the structure
of
their site, how visitors surf it, etc.

That said, this feature is pretty low on my priority list and may be a lot more
messy than I originally thought.

Original comment by<EMAIL_ADDRESS>on 1 May 2009 at 6:01

Added labels: Priority-Low
Removed labels: Priority-Medium

Just because it can promote bad practice (for unexperienced users) it does not
mean
it can't be usefull. The example you posted is in my eyes just bad practice.
What i
am just trying to say is that it is ultimately the responsibility of the coder
to
optimize their calls to minify, not the author of minify to prevent you from
doing
that.

Original comment by<EMAIL_ADDRESS>on 8 Jun 2009 at 6:33

This allows the 2.1.3 release to serve both multiple groups (comma-separated
keys)
and files in the same request. Caveats from the docs:

Caveat: Groups always come before files, but the groups are ordered as
requested.
E.g.
/f=file.js&g=js1,js2 == /g=js1,js2&f=file.js != /g=js2,js1&f=file.js

Caveat: If JS group(s) are specified, the method will still allow you to add
CSS
files and vice-versa. E.g.:
/g=js1,js2&f=site.css => Minify will try to process site.css through the
Javascript
minifier, possibly causing an exception.

Original comment by<EMAIL_ADDRESS>on 13 Oct 2009 at 12:15

Changed state: Started

Attachments:

MinApp.php

2.1.4 beta has this feature.
http://code.google.com/p/minify/downloads/detail?name=minify_2.1.4_beta.zip

Original comment by<EMAIL_ADDRESS>on 8 Jul 2010 at 4:59

Changed state: Fixed

FYI, this is coming in 2.1.4

Original comment by<EMAIL_ADDRESS>on 17 May 2010 at 4:31

Changed state: Started
Added labels: Release-2.1.3

Trunk fixed in R381

Original comment by<EMAIL_ADDRESS>on 13 Oct 2009 at 12:57

Changed state: Fixed


Support pluginManagement block in precompiled Groovy settings plugins

https://github.com/gradle/gradle/issues/15416
This change addresses two things:

pluginManagement block support in precompiled Groovy settings plugins
forbid buildscript block at compile time in all precompiled Groovy plugins - for precompiled plugins classpath is configured via the project dependencies. This is how Kotlin DSL precompiled plugins work as well (except that there failures happen at runtime (this should probably be improved, but that's a separate topic)).

Precompiled plugin compilation (applies to buildscripts as well) happens in two compilation passes:
1st pass extracts only buildscript, pluginManagement and plugins blocks from the buildscript and compiles those.
2nd pass compiles the body of the buildscript which is everything except the above blocks.
Current implementation assumed that only plugins {} block is compiled in the first pass of precompiled Groovy plugins compilation.
As such, the result from the first-pass compilation was used only to extract the plugin ids to be applied in the resulting precompiled plugin.
With this change, the result of the first compilation pass is made part of the resulting precompiled plugin and is executed in the generated Plugin adapter class.
Because the result of the first pass can contain buildscript block as well (which does not make sense in context of precompiled script plugins), which was silently ignored
in current implementation, the change also addresses failing early if such block is used in a precompiled plugin.

@donat
We do miss documentation on differences in Project versus Settings plugins in general - that's true and we should fix it.
To answer the questions raised:

why do I need to manually include the buildSrc jar in the settings script classpath? I usually don't have to do that with precompiled script plugins.

That's mostly historic - included builds could not contribute settings plugins to the project until recently (7.0 actually): https://docs.gradle.org/7.0-milestone-3/release-notes.html#plugin-development-improvements
Thus, original tests for the precompiled setting plugins used "a workaround" to package the settings plugin in a jar using a separate project and then include that jar in the settings script of the consuming project using the buildscript {} block.
Now, it should be possible to rewrite those tests to use an included build instead - I'll give it a shot.

why can't I use the plugins {} block to apply the plugin? I can use that with precompiled script plugins.

That's because the jar containing the plugin is included using the buildscript {} block - same case for project plugins when using the "legacy" plugin application.
With https://docs.gradle.org/7.0-milestone-3/release-notes.html#plugin-development-improvements this should no longer be needed and plugins {} block should be used. As above, if I can make the tests use included builds, this will automatically go away.

(a consequence of the previous two items) why shouldn't a plugin developer prefer a traditional settings plugin, maybe declared as an included build?

Like above, with changes in 7.0: https://docs.gradle.org/7.0-milestone-3/release-notes.html#plugin-development-improvements the plugin developer will be able to use an included build to include a settings plugin (regardless if it is "traditional" or precompiled script plugin).

Great to see this fix!
I noticed a difference between Kotlin and Groovy precompiled script plugins. But I am not sure if...

this is a difference we can/should just accept
the Kotlin implementation is "tool lenient"
it should be adjusted as part of this PR

In Kotlin, I can use a method defined in the build script in the plugin management block (if this is good practice, I don't know...):
pluginManagement {
   foo() // compiles
}

fun foo() {}

In Groovy this is not possible. The method is not found
pluginManagement {
    foo() // fails to compile
}

def foo() {}

Here is where it is dogfooded in our own build (#15526). Generally, both solutions are ugly. (How the scenario can be solved better is a different question.)
Kotlin:  https://github.com/gradle/gradle/blob/jjohannes/idiomatic/gradlebuild/split/build-logic/build-logic-base/settings-plugin/src/main/kotlin/gradlebuild.repositories.settings.gradle.kts#L22-L44
Groovy (with this PR):
https://github.com/gradle/gradle/blob/jjohannes/idiomatic/gradlebuild/split-fix-16625/build-logic/build-logic-base/settings-plugin/src/main/groovy/gradlebuild.settings-plugins.settings.gradle#L21-L40

Given that
pluginManagement {
    foo()
}
def foo() {}

does not compile either with Kotlin or Groovy settings scripts (not settings plugins), I'd lean towards saying that Kotlin plugins are too lenient in this case.

does not compile either with Kotlin or Groovy settings scripts (not settings plugins), I'd lean towards saying that Kotlin plugins are too lenient in this case.

Thanks for checking this. I agree.

@bot-gradle test and merge this

OK, I've already triggered a build for you.


Help keeping title information intact (missing comma) in output file

Checklist

[x] I'm asking a question
[x] I've looked through the README and FAQ for similar questions
[x] I've searched the bugtracker for similar questions including closed ones

Question

WRITE QUESTION HERE
Not sure this is the best place to ask this but.... I am running a script and need to keep the title of the video the same as the path to the downloaded video in order to find and open it via PATH.
I am writing errors and output to a text file called vidstatus and referencing those lines to give feedback to AppleScript on the progress of the youtube-dl request.
When I run this in AppleScript a comma is removed from the title in the tmp file.
do shell script "cd /tmp/; /usr/local/bin/youtube-dl  --newline --ffmpeg-location /usr/local/bin/ffmpeg " & currentURL & " > /tmp/vidstatus 2>&1 & echo $!"
I get a report like this:
[youtube] wvYJ_j92bjU: Downloading webpage
[youtube] wvYJ_j92bjU: Downloading video info webpage
[download] /Volumes/Godzilla/Video/YouTube Video/Nathan Adrian vs Caeleb Dressel _ Mens 100m Free B Final _ 2020 TYR Pro Swim Series - Des Moines-wvYJ_j92bjU.mp4 has already been downloaded and merged

In this instance the issue is in the word Mens. The comma has been removed when writing the output to the file. I am not sure what process is causing this.
This line in my configuration file:
-o '/Volumes/Godzilla/Video/YouTube Video/%(title)s-%(id)s.%(ext)s'
When the file is downloaded the path looks like this:
/Volumes/Godzilla/Video/YouTube Video/Nathan Adrian vs Caeleb Dressel _ Men’s 100m Free B Final _ 2020 TYR Pro Swim Series - Des Moines-wvYJ_j92bjU.mp4
The difference between Men's and Mens is a stumbling block for my AppleScript. Is there a way around this issue?
When running youtube-dl  in terminal the comma is not removed from errors and output.
$ youtube-dl https://www.youtube.com/watch?v=wvYJ_j92bjU
[youtube] wvYJ_j92bjU: Downloading webpage
[youtube] wvYJ_j92bjU: Downloading video info webpage
[download] /Volumes/Godzilla/Video/YouTube Video/Nathan Adrian vs Caeleb Dressel _ Men’s 100m Free B Final _ 2020 TYR Pro Swim Series - Des Moines-wvYJ_j92bjU.mp4 has already been downloaded and merged

dstftw Please remove incomplete.


wlr_cursor

It's very rough right now, but it should give you an idea of where it is heading.
I'm pretty sure that "committed with" is a github bug. The log doesn't show me as an author.

Seems like a good start.

There is kind of a pathological case of a layout having like a 1px border that a mouse move event may or may not "jump over" if the new point from the delta is high enough. Should we handle that case and bound the mouse or leave it? I don't think that setup will be common.

We can probably avoid weird edge cases for now, but file bugs for them please.

Does it really make sense to use wlr_cursor without an output layout? If there is no layout, how do we get the wlr_output that is needed to move the pointer? It seems like we would need two different code paths for every function to handle this case.

No, it doesn't make sense.

This is starting to be a huge PR! :)
Just started playing with this, a couple of feedbacks:

starting pointer with an empty configuration file works as expected, perhaps do that if no file were found (and log something about file not found)?
Also, just a nitpick but I don't really like that it looks in current directory, would be happier if it always looked at the same place relative to binary wherever that is. I've been starting the test programs from all over the place (my home, wlroots root, build dir, example dir in the build dir..) and I'm going to need some practice to get used to it :P I probably won't mind as much if no file works-ish.
Just one drm output for now, with default settings pointer looks ok but if I rotate=90 the "input box" looks wrong - it cannot reach the bottom by quite a bit. It looks like the top is off by a similar margin so looks like positioning issue? I have similar problems with all other rotate values, flipped or not, as well. flipped adds an extra layer of wrongnes I think, just flipped is already wrong and others have a different feel than no flip.

I'll get onto reading code now, will repost once it's all read (might be tomorrow morning or much later tonight)

starting pointer with an empty configuration file works as expected, perhaps do that if no file were found (and log something about file not found)?

Yeah the configuration file should always be optional. I'll have to fix that.

Just one drm output for now, with default settings pointer looks ok but if I rotate=90 the "input box" looks wrong - it cannot reach the bottom by quite a bit

Yeah that's an issue that I've discussed in the chat and in some conversation above. I think that the issue is that the point of rotation of the cursor texture is around the origin rather than the center which would cause the issue but I still don't have a great understanding of what's going on because of some gaps in my knowledge about 2D rendering. I'm not sure if I can fix it myself without dedicating a lot of time to it so if you want to look into it go ahead.

Yeah that's an issue that I've discussed in the chat and in some conversation above. I think that the issue is that the point of rotation of the cursor texture is around the origin rather than the center which would cause the issue but I still don't have a great understanding of what's going on because of some gaps in my knowledge about 2D rendering. I'm not sure if I can fix it myself without dedicating a lot of time to it so if you want to look into it go ahead.

Ah, I had misunderstood the discussions there to be that the actual point of the cursor is off (so instead of sending click event at proper x/y it would go to another x/y within the cursor block). I was actually wondering how you found that out with the current test program, as it doesn't have a button area to click or something to aim at :P
I guess that could still be the case but if so the cursor block would have to be huuuge given what I'm seeing. And wrongly shaped with e.g. flipped-270. I'm not much better at geometry but will have a look later this week, this particular point shouldn't block us from merging this PR in anyway.

Overall, looks great. Grabbing some hardware to test it on now.

Output config should let you specify a mode, and the file should be optional.

Bug: if I have an absolute input device (like my drawing tablet) and a relative one (like my mouse), the following procedure demonstrates a bug:

Move the relative device around
Move the absolute device around
Move the relative device around

At step 3, it warps back to where it was at the end of step 1. It should instead pick up from where the absolute device left off.

Verified that it works with touch screens and pushed a fix for tablet tools. Great work!

Now I'm a bit unsure that wlr_geometry should be merged into wlr_region because a region data structure doesn't really fit our use case very well because it's too general.
Most often we want to work with boxes not regions. An output is a box (not a region). Same for an input geometry. Only the output layout as a whole is a region but it's not really inconvenient to work with it as a collection of boxes.
Maybe the best thing to do is to rename wlr_geometry to wlr_box.

I'm fine with whichever approach to regions/geometry/boxes you deem most suitable.

Thanks for the reviews.
I think I've addressed everybody's issues.

Looks good, thanks!


Added missing * in PHPDoc blocks

Without them, PHP-CS-Fixer is deleting those lines.

Thank you @msvrtan.


CSR for variable length data in embedding training

Description
Use sparse CSR matrices instead of masking to handle variable length inputs in embedding training.
Checklist
Essentials

[ ] Changes are complete (i.e. I finished coding on this PR)
[X] All changes have test coverage
[X] Code is well-documented

Changes

[X] CSR for variable length data in embedding training
[X] Allow use of multiple GPUs for embedding training scripts

Comments

This is faster than the previous implementation. It also allows Hybridization.
The refactored numba code for IO and preparing the sparse array containing words and subwords should allow further speedup is not yet parallelized. It takes around 60% of python time according to https://github.com/uber/pyflame. Depending on the batch_size, the blocking nature of nd.sparse.csr_matrix may also induce some slowdown.
Pending verification of training results

Nice. How much faster?

Nice work. I looked at changes in sampler, embedding.py and the notebook. Looks good except that the notebook needs to be converted again

Job PR-384/19 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-384/19/index.html

Job PR-384/20 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-384/20/index.html

http://ci.mxnet.io/blue/organizations/jenkins/gluon-nlp/detail/PR-384/21/pipeline#step-44-log-1171

Job PR-384/23 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-384/23/index.html


Updating googleapis Dependency

The 14.0.x dependency relies on request 2.65.x which contains a security vulnerability recognized by nsp.
This pull request updates the googleapi dependency beyond the security vulnerability.

Coverage remained the same at 54.839% when pulling d16ddb4aad50e55abc2f03ea2ce95f0d1e134c2d on dependency-update into 0d5392aa4d9f2509187dbfa270d92c77b6db39b4 on master.

Coverage remained the same at 54.839% when pulling d16ddb4aad50e55abc2f03ea2ce95f0d1e134c2d on dependency-update into 0d5392aa4d9f2509187dbfa270d92c77b6db39b4 on master.


[FEATURE] better name for test_dataset.py

Description
test_dataset.py name is confusing. It actually tests download_utils.
We may consider renaming it to test_download_utils.py

yeah, completely agree

Fixed https://github.com/recommenders-team/recommenders/pull/1989#discussion_r1327192914


fix: decrease minItems of fhirBundle.entry

Story: https://www.pivotaltracker.com/story/show/178653362
Context
PDT HealthCerts originally required 5 entries in fhirBundle.entry:

Patient
Specimen
Observation
Organization (Licensed Healthcare Provider)
Organization (Accredited Laboratory)

Today
With the introduction of Antigen Rapid Test (ART) HealthCerts, there is no longer a hard requirement for Organization (Accredited Laboratory) field.
As such, this PR aims to decrease the minItems of fhirBundle.entry from 5 to 4.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


MM-22326 Fix non-DM/GM autocomplete in search box

Summary
The itemToName function was used for display names only (which are the same for GMs/DMs but not other channels). Fixed by creating a similar function but to be used specifically for creating the search term.
Ticket Link
https://mattermost.atlassian.net/browse/MM-22326

Creating a new SpinWick test server using Mattermost Cloud.

Test server creation failed. See the logs for more information.

Creating a new SpinWick test server using Mattermost Cloud.

Test server creation failed. See the logs for more information.

Creating a new SpinWick test server using Mattermost Cloud.

Test server creation failed. See the logs for more information.

@stevemudie let me check the logs. Not sure why the test server is failing.

Creating a new SpinWick test server using Mattermost Cloud.

Mattermost test server created! :tada:
Access here: https://mattermost-webapp-pr-4850.test.mattermost.cloud

Account Type
Username
Password

Admin
sysadmin
Sys@dmin123

User
user-1
User-1@123

@stevemudie issue resolved. There was an issue on the docker end that we had to work around.

Test server destroyed

@devinbinnie mind taking a look? This is needed for release

@devinbinnie mind taking a look? This is needed for release

Done!

Thanks!


File duplication not always detected

When file is not detected as duplicate, it corrupts the existing record on os.Rename

Possible problem area https://github.com/bboud/buckette/blob/main/fileserver/upload.go#L183

Possibly resolved with this merge but keeping open just in case
https://github.com/bboud/buckette/commit/a3f8ee41d39b08e771b9fa250c49e73f4cddd00e


Auto generated docs

As a Crowdin Ruby API client user, I would like to have online docs to navigate and explore the client resources, methods, parameters, etc.
Examples:

Crowdin API Client PHP docs
Crowdin API Client JS docs
Crowdin API Client .NET docs

These docs should be generated using GH Actions and deployed to GH Pages. Workflow example: docs.yml
The possible tool for that is rdoc.
Steps:

[ ] Explore tools to generate docs from code, and choose the best one.
[ ] Create a config and provide a command to generate the docs.
[ ] If needed, add additional annotations to the API Client code (ignore some unneeded methods in docs, add some method or parameter descriptions, etc).
[ ] Set up the  GH workflow. @andrii-bodnar can help with that.
[ ] Set up the GH pages feature for the repo. @andrii-bodnar

@andrii-bodnar : I would like to work on this, and using tools to generate inline docs is kind of new to me compared to the other contributions, so would appreciate some guidance on this.

Explore tools to generate docs from code, and choose the best one - we have rdoc & yard, we can go whichever we want, I am leaning towards yard since it's adoption seems to be more - https://ruby.libhunt.com/compare-yard-vs-rdoc
If needed, add additional annotations to the API Client code (ignore some unneeded methods in docs, add some method or parameter descriptions, etc). - I would like some clarity on what all methods that needed to be covered

For the other steps, I would probably reach out to you  as and when required. Feel free to also provide any other pointers that I need to have in mind before I begin work on this. TIA

@andrii-bodnar sounds great! Let's try to do that 🙂
Just checked both the rdoc & yard and for me, the yard looks better (more stars, more recent release)

I would like some clarity on what all methods that needed to be covered

The most important methods here are methods related to the api_resources. The spec directory should be ignored since there is no reason to document Unit tests. Also, I am not sure about other parts of the library like core and bin.
Here is the list of how it's implemented in other Crowdin API Clients:

crowdin-api-client-js

Workflow file (typedoc is used)
Final result

crowdin-api-client-dotnet

Workflow file (docfx is used)
Final result

crowdin-api-client-python

Workflows file (pdoc is used)
Final result

crowdin-api-client-php

Workflow file (phpdoc is used)
Final result

Thanks for the details @andrii-bodnar. I will get started on this then : )

@sabarish98 thank you! Please let me know when there you'll need some help

@andrii-bodnar :  I was exploring using yard, and found that we may need to add annotations across all the files under ApiResources to see at least parameter details. I have added for the bundles.rb file and it looks like this.

Just the parameters passed should be enough? or do we need more info? But on either case, I was thinking of adding annotations for the majorly used API endpoints first, and do all the entities iteratively as it would split the files changed across multiple PRs as well,  and it would also be easy for you to review them. What do you think?

@sabarish98 it looks great! 😃
We need to add some annotations indeed. The most important methods are those that represent API endpoints (like add_bundle, delete_bundle, edit_bundle, etc.)
It would be great at least to include in annotations an API method name, links, and parameters list if possible.
For example, how it is done in other our API clients:

https://github.com/crowdin/crowdin-api-client-js/blob/master/src/bundles/index.ts
https://github.com/crowdin/crowdin-api-client-dotnet/blob/main/src/Crowdin.Api/Bundles/BundlesApiExecutor.cs
https://github.com/crowdin/crowdin-api-client-python/blob/main/crowdin_api/api_resources/bundles/resource.py
https://github.com/crowdin/crowdin-api-client-php/blob/master/src/CrowdinApiClient/Api/BundleApi.php

You can create separate pull requests, or it is also ok to split changes into separate commits inside one big request - this way is also easy to review

@andrii-bodnar : I got your point, and yes to maintain the consistency with the other clients, we can have the links to the APIs as well.
Do we need to do it all in one shot, in a single PR, because there are around 200+ API methods supported by the client, and adding parameters, links to all of them, will take some time.
Would that be fine?

@sabarish98 we can start with some of the most important parts - Storage, Project, and Source Files.
Then, create an initial PR, including the GH Workflow (I can help with that and also integrate with GH Pages) just to make these docs work.
As a result, we will have working docs but not fully documented with these annotations yet, and then gradually cover the rest with separate PRs.

@andrii-bodnar : Alright, I'll get to the implementation of those three APIs then 👍

@sabarish98 great! you can also leave already done work on bundles

Hi @sabarish98, do you have some updates on this? Please let me know if you need any assistance here 🙂

@andrii-bodnar : Opened #32. Please review
Seems like the CI is throwing Rubocop offences for empty lines below module definition without which documentation  comments aren't read properly. I will check this

@andrii-bodnar : Fixed the offences : ) Let me know if anything needs to be changed with respect to the documentation aspect

@sabarish98 thanks a lot for your contribution! 🚀
I will check this out as soon as possible

@sabarish98 maybe it would be better to close this issue and open a separate issue for annotations adding?

@andrii-bodnar :  Yes, that makes much more sense. We can have separate issues for annotations

@sabarish98 I've created a single issue to avoid a large number of similar issues, but added a checklist that will allow marking the completed API resources.


Don't highlight Tabs divider after selection

This PR fixes the highlight behavior of Tabs. Currently the divider after the current selection is highlighted as well as the selection, which seems unintended to me. Feel free to close if it's not.
Before:

After:

Thanks, that's definitely nicer


If the queue is binded to a fanout exchange, consume with no_ack the queue file will not be deleted

Declare fanout mode exchange, then bind temporary queue (auto-declare, auto-delete), queue-related files will not be deleted.
1.1G    ./54febf3b465bb7b1bab0b1ad862cf5e39beccfd8
1.1G    ./5800393d07e459a93f050615ecd84edd714e8024
1.9G    ./be21286d78cdf3bcab91d80c5aaca4154fa24866
3.2G    ./0ef6bf28e523f64b252a581a59bbe4f26851db7a
3.2G    ./50c0ca5feed6073d04dd1a2d990f0ec46b2cfabd
3.2G    ./ba81f4381120bf41e853804a48df110d3dc388cc
6.0G    ./bdd540c8dd4d41982812b2638db076ccf6b5bbf4
6.1G    ./16cd87ab05d5433f9ae26ab5403031498f503a79
6.1G    ./2ccc4f0a65bce01cf6af9571c27caa7052f022ca
6.1G    ./3bd9046c45ff719d7cadc8b9ecb34f89e85b4e05
6.1G    ./4ca3262e1660f6f1e116a7f90786d20880612fcc
6.1G    ./ed7b792aafe2172bffe4a940c2cdf702fde53dc3

Could not reproduce locally. Which version of LavinMQ are you running?

Could not reproduce locally. Which version of LavinMQ are you running?

1.1.0


Support HTTP protocol

Surprisingly the current implementation only supports HTTPs protocol, no HTTP protocol (HTTP client throws an error if HTTP protocl is used). For local development it's useful to also support HTTP.
This PR adds support for HTTP protocol including test coverage (with some test refactoring to re-use code from ConcurrencyTest).

Thx @stefanseifert but the AEM security team disallowed us a while ago to support HTTP so this is an intentional limitation.

thanks for the quick response - does it really make sense to hardcode such a limitation in the code?
it unnecessary complicates local development.
if this cannot be changed it at least should be documented (and commented in the code) - in the current state it really looked like an oversight, therefore i've provided the PR.

I'll check again with the security team, and yes, it does complicate local development. If we are not allowed to support HTTP, I'll make sure we add a note in the documentation and code.

maybe an alternative would be to add an OSgi configuration option "allow HTTP" same as "allow self-signed certificates" which produces a warning when it it switched on.

I understand the need to ease local development. I recommend implementing an option insecure* option which allows HTTP connections. Please ensure:

HTTP support is off by default
risk is clearly documented
Enabling HTTP support logs WARN

think of curl --insecure

i've updated the PR accordingly, including test coverage for HTTP allowed/disallowed

Verified this today using AEM Cloud SDK and Venia connected to Magento via http


Methods are ignoring the [Name()] attribute for parameters' renaming

Methods are not considering the Name() attribute when emitting functions' references to parameters' names overrode by it.
For instance, this code:
    public void Master([Name("$num")] int number)
    {
        Console.log(number);
    }

Generates this:
    master: function ($num) {
        console.log(number);
    }

Live sample: http://live.bridge.net/#294050e00d5f52ae580b
This issue was introduced on v1.10.3.
Fixing this issue will fix also issue #794. Once closing this, the other issue can also be closed.

This issue has been introduced by #751. Commit 68e24d4.


jnp.unique: make return_inverse shape match NumPy 2.0

Part of #19246
Follows NumPy change in https://github.com/numpy/numpy/pull/25553

We need to hold-off on merging this, it looks like there's some second-guessing of the change now in the original NumPy PR.

It seems the change is sticking upstream. Let's merge this.


[Bug] Repeatable field - reordering stops fields from working

Bug report
What I did
In the demo, inside PetCrudController, I've made the owners() field show up/down arrows too, in order for an admin to be able to reorder its owners. So I just added reorder(true) on the owners field.
What I expected to happen

arrows to show
after you click the arrows, the fields to work

What happened

arrows do show
sometimes... after you click the arrows, the JS fields STOP WORKING

https://user-images.githubusercontent.com/1032474/166426676-8ec15ffa-d0a4-4085-961b-78faaa17fbaf.mp4
What I've already tried to fix it
Nothing yet... I expect the fields need to be re-initialized or something.

Hello Cristian,
I am writing here what else I have noticed.
Select2 , Browse , Datepicker and whatever other field needs initialization does not respond on the moved row.
As far as I investigated when a row is moved it is cloned and then deleted the original one. Therefore it needs inititalization when created (That's for the elements that needs libraries to work).
Tried textbox works fine. Tried the simple  select and it loses the latest selected value .

Finally found the culprit!!
It will take a little to fix, but we should be good at the end of the day.
I will update when I have news later.

Hello, just to let you guys know that the PR to pro is already submitted.
The issue was the fact that when we changed to arrayed names, we also changed the order/how repeatable elements are initialized and cloned on page.
In the "order operation" we were directly cloning the repeatable container visible on page that already had the fields initialized, so when it was removed and re- added in the desired position, the fields that depend on javascript would stop working because they were never re-initialized.
Cheers

Looking forward to check it out ! Thanks Pedro !

Just merged and tagged Pedro's PR - a composer update backpack/pro should pull the fix for it, and it should all work smoothly @gkamaratak . Let us know if that's not the case and we'll reopen.
Again - thanks for letting us know about this bug.
Cheers!


:lipstick:  :art:Create conversational learning page hero section

Description
Fixes #79 #10 #1
Type of change
Please delete options that are not relevant.

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

Screenshot (optional)
Task

Web

Ipad

Mobile

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented on my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings

I worked on this with https://github.com/Lord-Gitonga

This is very good work. The layout looks really good.I would have created a separate ts file for managing the logic for the drop down

this is very good work. I like the layout. I would have created a separate ts file to handle the specific ts files.Very good work all in all


google-api-client warning messages when provisioning multiple instances

When provisioning multiple instances, we get warning messages from Google-api-client.
Reproduction:

Run bundle exec vagrant up with Vagrantfile.multiple_machines from examples.
Receive messages when machines are brought up:

/home/temikus/.gem/ruby/gems/google-api-client-0.8.6/lib/google/api_client/discovery/schema.rb:110: warning: already initialized constant Google::APIClient::Schema::Compute::V1::PathMatcher
/home/temikus/.gem/ruby/gems/google-api-client-0.8.6/lib/google/api_client/discovery/schema.rb:110: warning: previous definition of PathMatcher was here
/home/temikus/.gem/ruby/gems/google-api-client-0.8.6/lib/google/api_client/discovery/schema.rb:110: warning: already initialized constant Google::APIClient::Schema::Compute::V1::UrlMapTest
/home/temikus/.gem/ruby/gems/google-api-client-0.8.6/lib/google/api_client/discovery/schema.rb:110: warning: previous definition of UrlMapTest was here

Those messages may not be erroneous but may confuse the user, so need to be investigated.

Note: Needs to be re-checked with gem installation. May be a byproduct of development mode execution.

No longer reproducible since 0.1.5, so closing.

This has resurfaced on my setup ..
See a lot of these.
/.vagrant.d/gems/2.2.5/gems/google-api-client-0.8.7/lib/google/api_client/discovery/schema.rb:110: warning: already initialized constant Google::APIClient::Schema::Compute::V1::AttachedDisk
/.vagrant.d/gems/2.2.5/gems/google-api-client-0.8.7/lib/google/api_client/discovery/schema.rb:110: warning: previous definition of AttachedDisk was here
/.vagrant.d/gems/2.2.5/gems/google-api-client-0.8.7/lib/google/api_client/discovery/schema.rb:110: warning: already initialized constant Google::APIClient::Schema::Compute::V1::AttachedDiskInitializeParams
/.vagrant.d/gems/2.2.5/gems/google-api-client-0.8.7/lib/google/api_client/discovery/schema.rb:110: warning: previous definition of AttachedDiskInitializeParams was here
/.vagrant.d/gems/2.2.5/gems/google-api-client-0.8.7/lib/google/api_client/discovery/schema.rb:110: warning: already initialized constant Google::APIClient::Schema::Compute::V1::Autoscaler
/.vagrant.d/gems/2.2.5/gems/google-api-client-0.8.7/lib/google/api_client/discovery/schema.rb:110: warning: previous definition of Autoscaler was here
/.vagrant.d/gems/2.2.5/gems/google-api-client-0.8.7/lib/google/api_client/discovery/schema.rb:110: warning: already initialized constant Google::APIClient::Schema::Compute::V1::AutoscalerList
/.vagrant.d/gems/2.2.5/gems/google-api-client-0.8.7/lib/google/api_client/discovery/schema.rb:110: warning: previous definition of AutoscalerList was here
Etc. etc.
Did anyone figure out the source?
I've tried to expunge vagrant plugins just to make sure everything is fresh.

I had an error in the instance_group setting at first. so i commented that out.
After that these errors came each time I did vagrant up. When i saw my mistake (used uppcase letter in name of instance_group as it only supports lowercase) then the error went away.
But now if i comment the setting out, the messages return.

@KjetilM Can you provide a Vagrantfile that you're able to reproduce this on?
(OFC obfuscate any API keys and PII)

`unless Vagrant.has_plugin?("vagrant-google")
raise "vagrant-ohai plugin is not installed! Install with 'vagrant plugin install vagrant-google'"
end
unless Vagrant.has_plugin?("vagrant-ohai")
raise "vagrant-ohai plugin is not installed! Install with 'vagrant plugin install vagrant-ohai'"
end
NODE_SCRIPT = <<EOF.freeze
echo "Preparing node..."
ensure the time is up to date
yum -y update
yum -y install ntp
systemctl start ntpd
systemctl enable ntpd
extip=$(curl -s http://metadata/computeMetadata/v1/instance/network-interfaces/0/access-configs/0/external-ip -H "Metadata-Flavor: Google")
echo "== EXTERNAL IP: ${extip}"
EOF
#google Account settings
REMOVED
#set up box
Vagrant.configure("2") do |config|
config.vm.box = "google/gce"
config.vm.provision :shell, inline: NODE_SCRIPT.dup
#google.instance_group = "chefdev"
config.vm.define :web1 do |web1|
web1.vm.provider :google do |google, override|
google.google_project_id = $GOOGLE_PROJECT_ID
google.google_client_email = $GOOGLE_CLIENT_EMAIL
google.google_json_key_location = $GOOGLE_JSON_KEY_LOCATION
google.machine_type = "g1-small"
#google.instance_group = "chefdev"
google.tags = ['http-server','apache']
#google.disk_size = "5"
#google.disk_type "pd-standard"
google.image = "centos-7-v20170124"
google.zone = "europe-west1-b"
google.name = "web1"
override.ssh.username = $LOCAL_USER
override.ssh.private_key_path = $LOCAL_SSH_KEY
end
end
config.vm.define :web2 do |web2|
web2.vm.provider :google do |google, override|
google.google_project_id = $GOOGLE_PROJECT_ID
google.google_client_email = $GOOGLE_CLIENT_EMAIL
google.google_json_key_location = $GOOGLE_JSON_KEY_LOCATION
google.machine_type = "g1-small"
#google.instance_group = "chefdev"
google.tags = ['http-server','apache']
#google.disk_size = "5"
google.image = "centos-7-v20170124"
google.zone = "europe-west1-b"
google.name = "web2"
override.ssh.username = $LOCAL_USER
override.ssh.private_key_path = $LOCAL_SSH_KEY
end
end
config.vm.define :lb1 do |lb1|
lb1.vm.provider :google do |google, override|
google.google_project_id = $GOOGLE_PROJECT_ID
google.google_client_email = $GOOGLE_CLIENT_EMAIL
google.google_json_key_location = $GOOGLE_JSON_KEY_LOCATION
google.machine_type = "g1-small"
#google.instance_group = "chefdev"
google.tags = ['http-server','load-balancer']
google.image = "centos-7-v20170124"
google.zone = "europe-west1-b"
google.name = "lb1"
override.ssh.username = $LOCAL_USER
override.ssh.private_key_path = $LOCAL_SSH_KEY
end
end
end
`

This should be fixed by #180
Please, reopen if this resurfaces.


Building an Immediate-Mode GUI (IMGUI) from scratch | Siddharth Bhatia | JuliaCon 2022

Talk title: Building an Immediate-Mode GUI (IMGUI) from scratch | Siddharth Bhatia | JuliaCon 2022
Talk link: https://www.youtube.com/watch?v=-z8_F9ozERc
Contents
00:00 - JuliaCon 2022 welcome screen
00:06 - Brief introduction to Graphical User Interfaces (GUIs)
01:46 - Partial pseudocode of a GUI application
03:49 - Handling user input (mouse/keyboard events)
08:13 - Widget related pseudocode in a GUI application
09:59 - Widget IDs - uniquely identify widgets across frames
12:22 - User interaction and the concept of hot and active widgets
18:35 - Implementing buttons, sliders, and text-boxes
23:26 - Outro

I allowed myself to tweak a bit your work, to make it easier to past it on YT. I hope soon project will be bring back to life.
Contents
00:00 - Brief introduction to Graphical User Interfaces (GUIs)
01:46 - Partial pseudocode of a GUI application
03:49 - Handling user input (mouse/keyboard events)
08:13 - Widget related pseudocode in a GUI application
09:59 - Widget IDs - uniquely identify widgets across frames
12:22 - User interaction and the concept of hot and active widgets
18:35 - Implementing buttons, sliders, and text-boxes
23:26 - Outro

Thank you @KZiemian. It makes sense to remove the welcome screen tag. It isn't helping.
I am not sure if this PR will be merged. Anyways, I have updated my comment on the video itself with the change.

I hope soon project will be bring back to life.

I am working on a game that uses this library, so I might potentially add some improvements to it later. 😄

Thank you. Timestamps were added to the video, we will close this issue, when we get access rights to this GitHub repository.

Thank you very much!

Timestamps added, we are closing the issue.


Integration with poetry's pyproject.toml

There is something I want to achieve but I am unsure as to what is the best approach. I was suggested on Gitter to post my usecase here in the hope of coming up with an example solution.
I have a current 100% Python project that is managed using poetry. It uses a pyproject.toml file to manage the project's dependencies.
Also, this project is deployed to an internal pypy repository using poetry publish --repository internalpypy as a wheel that gets pulled down by other projects (themselves using poetry too).
I would like to port one function of the Python project to Rust since it is quite heavy. I want to minimize changes to the project's organization. As such, how can I introduce the rust code to be built and included in the final wheel using only poetry build (and poetry publish)?
I did worked previously with milksnake but unfortunately:

it doesn't support poetry (it requires a setup.py file to be configured properly but poetry's pyproject.toml replaces the setup.py file).
it is abandoned

I checked maturin but:

it seems to expect a specific directory structure which would be too disruptive for my project
it seems to only build a 100% Rust wheel. This means that for a mixed rust-python project the main project would need to be split into two, introducing extra release complications.

Some poetry related issues I've found when searching this:

Add support for non pure python projects: https://github.com/python-poetry/poetry/issues/11
Allow optional compilation of C extensions: https://github.com/python-poetry/poetry/issues/2330

I am looking at setuptools-rust right now.
Thanks!

I've made an example repo that mimics my project's organization: https://github.com/nbigaouette/python-poetry-rust-wheel/tree/80496bf38e1d6b7a0218341338a6db0c0c7b5634
Running poetry build will actually use setuptools-rust to build the rust library. Unfortunately as of 80496bf38e1d6b7a0218341338a6db0c0c7b5634 the built library is not included in the wheel...

Integration with poetry build is interesting, but should be resolved by maturin rather than the PyO3 itself?

Yes I asked @nbigaouette to open the issue here; I'll move it where I think is appropriate at the weekend.

it doesn't support poetry (it requires a setup.py file to be configured properly but poetry's pyproject.toml replaces the setup.py file).

poetry can run build python build scripts, see e.g. pendulum.

it seems to only build a 100% Rust wheel. This means that for a mixed rust-python project the main project would need to be split into two, introducing extra release complications.

The readme specifically explains how to build mixed projects.
As long as poetry's plugin interface is not finished and there is not standardized way to specify dependencies (https://discuss.python.org/t/pep-621-how-to-specify-dependencies/4599), I expect that you will have to duplicate at least the dependencies between poetry and any other tool, maybe even other metadata (until PEP 621 is widely used) and won't be able to use poetry publish.

I'm going to close this question as I think @konstin 's answer is very good and there's not much we can do here in pyO3 for now. Thanks for the question and answers all!

I'm going to close this question as I think @konstin 's answer is very good and there's not much we can do here in pyO3 for now. Thanks for the question and answers all!

It may be worth quickly mentioning that Maturin is a headache for Nix in the same way that Poetry is a godsend. Maturin is very reliant on procedural modifications of venvs compared to something Cargo or Poetry where everything is controlled by a requirements file and a separate lockfile.
As a result, installing polars with nix is currently impossible for example, because of an error thrown by Maturin

@saolof please don't comment on closed issues with new problems, if there is a specific thing that doesn't work please open an issue in the maturin repo with instructions to reproduce the problems and we we'll try to make your usecase work.


Add Tic Tac Toe with AI to projects.

Description

This PR closes issue #166
This is a terminal-based TIC TAC TOE GAME
It includes:

1 player mode, Artificial Intelligence added, can be played with the computer;
2 player mode - 2 players sitting on the same computer.;
AI vs. AI (for fun)

Fixes #166
Type of change
Choosing one or more options from the following as per the nature of your Pull request.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Documentation Update

Checklist:
Please tick all the boxes that are fulfilled by your Pull request

[x] I have named my files and folder according to this project's guidelines
[x] My code follows the style guidelines of this project
[x] I have commented on my code, particularly in hard-to-understand areas
[x] I have created a helpful and easy to understand README.md
[x] I have included a requirements.txt file(if external libraries are required)
[x] My changes don't produce any warnings.
[x] I have added a working sample/screenshot of the script

Note:

Tic Tac Toe was recently added in PR #180
But this PR consists of more modes.

Hi @AdityaJ7
I have fixed the issues now!


Discussion: code generation

Hi,
Very cool project, certainly there is a need for high level object functions on top of Bolt.
I saw this conversation on GitHub https://www.reddit.com/r/golang/comments/5dfzm7/bolthold_an_embeddable_nosql_store_for_go_types/da5uc53/ .
For me codegeneration is a way to avoid reflection and interface{}. E.g. the Where("field") concept seems weak compared to a codegen'd Where_MyType_MyField() replacement. It helps catch errors at compile-time.
Possibly this is too great a departure from the package's current behaviour?

Yeah, having strongly typed queries is something I hadn't considered, and I can see their usefulness.

You can do code gen very simply by running a scan on the dB to gen a schema of sorts.
Then gen go code from the schema.
Even just generating named strings for the various places where strings are using in the current API is a developer productivity win.
Gets you nothing at run time, but it gets the ball rolling towards opportunities to use less reflection moving forward.

For my own uses, the main advantage of generated code with strong typing would be in the removal of most of the reflection overhead.
Considering how much of the code in bolthold is dedicated to type inspection, I think a codegen approach would be a completely different project.
I imagine you would want to split bolthold in to a lower layer that doesn't do all those checks and then the upper layer would either be the current interface{} based API or the generated code that goes in to a project. It seems to me like maybe that lower layer might actually just be boltdb itself. 🤔

In my personal tests, the reflection overhead didn't come anywhere near the cost of disk access, even with SSDs or running against /dev/shm.
If you remove the need to remove reflection from the generated code, where you only care about type safety, then this becomes much more doable.

In my personal tests, the reflection overhead didn't come anywhere near the cost of disk access, even with SSDs or running against /dev/shm.

In my own code I've had to write wrapper types that normalize/denormalize shared nested objects. Without this the I/O overhead was unbearable. I hadn't verified but suspected that the reflection might have been the next bottleneck.

If you remove the need to remove reflection from the generated code, where you only care about type safety, then this becomes much more doable.

Very true. Based on my above description, you can probably imagine why generated code wouldn't be as high priority to me since I need to write typed wrappers myself anyway.

In my own code I've had to write wrapper types that normalize/denormalize shared nested objects.

I find that interesting, as Bolthold only ever cares about the highest level fields on structs.  My tests were with very simple objects, so if the cost of reflecting a highly nested object is greater than a simple one (which very likely is the case), then I can see how that could get expensive.

I see what you both mean.
Ok here is another approach. You dont get rid of the reflection but you can at least get strong typing by making a simple code gen that scans the db for "Tables" and "field" names.
It generates them as constants, so with your golang queries you can stop using strings everywhere.
Its very much a convenience thing, and i guess useful when the number of types you store gets big.


[BUG] docker events kill reported as error but are normal event of a graceful shutdown.

Agent Environment
agent 7.40.1 default config.
Describe what happened:
KILLs are reported as errors in Datadog event steam.
Describe what you expected:
Docker events consistently report a kill event when stopping even when the container has been gracefully shut down (just SIGTERM).
Check this: https://github.com/moby/moby/issues/15438
Steps to reproduce the issue:

Start a known container that can gracefully shutdown.
In another shell run docker events
gracefully shutdown your container: time docker stop -t 60 <your_container>
observe that it has been stoped under 60 seconds (so not SIGKILL sent, just a SIGTERM)
observe that the event KILL has been reported

Additional environment details (Operating System, Cloud provider, etc):
N/A
Suggestion
as some Datadog customers are used to have KILL events reported as errors, an option in the configuration would be nice to be able to flip those events info rather than error

It would be nice to have some control over eventActionKill log level.
Currently, it's annoying when every deployment especially autoscaling  (down-scaling) triggers an alert (we have alerts setup if there is an error in the log).
Tried to filter out "kill" entries from the alert trigger, but it's almost impossible because the log entry message changes...
*to ignore all errors with kill word isn't an option

The for me, it very frustrating when we have error logs between normal deployments.


Issue with scsmpx.psd1

Hi Kirk, there seems to be something wrong with the encoding in the scsmpx.psd1 file. If you use raw view in github you'll see it has a lot of strange chars.

I'm curious if you're talking about the signature at the bottom of the file...travelling right now and about to board plane so I cannot check. I will have a look this weekend once I get back home.
-----Original Message-----
From: "trondhindenes"<EMAIL_ADDRESS>Sent: 2015-02-06 11:13 AM
To: "KirkMunro/ScsmPx"<EMAIL_ADDRESS>Subject: [ScsmPx] Issue with scsmpx.psd1 (#1)
Hi Kirk, there seems to be something wrong with the encoding in the scsmpx.psd1 file. If you use raw view in github you'll see it has a lot of strange chars.
—
Reply to this email directly or view it on GitHub.

no prob. THe release branch seems to work fine.
Date: Fri, 6 Feb 2015 09:46:13 -0800
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>CC<EMAIL_ADDRESS>Subject: Re: [ScsmPx] Issue with scsmpx.psd1 (#1)
I'm curious if you're talking about the signature at the bottom of the file...travelling right now and about to board plane so I cannot check. I will have a look this weekend once I get back home.
-----Original Message-----
From: "trondhindenes"<EMAIL_ADDRESS>Sent: ý2015-ý02-ý06 11:13 AM
To: "KirkMunro/ScsmPx"<EMAIL_ADDRESS>Subject: [ScsmPx] Issue with scsmpx.psd1 (#1)
Hi Kirk, there seems to be something wrong with the encoding in the scsmpx.psd1 file. If you use raw view in github you'll see it has a lot of strange chars.
—
Reply to this email directly or view it on GitHub.
—
Reply to this email directly or view it on GitHub.

I just took a look at this and on my computer if I click on ScsmPx.psd1 in
the master branch and then click on Raw to switch to the raw view, it looks
exactly as I expect it would.  Could you share a screenshot along with
details about what device and web browser you are viewing it on, and
possibly steps if you follow steps other than what I described here?
Thanks!
--
*Kirk Munro *
Poshoholic, Microsoft MVP
Blog http://poshoholic.com/ | Twitter http://twitter.com/poshoholic |
LinkedIn http://ca.linkedin.com/in/kirkmunro | Facebook
http://www.facebook.com/#!/kirk.munro
Need a PowerShell SME for a project at work? Contact me
http://poshoholic.com/contact-me/!
On Fri, Feb 6, 2015 at 12:03 PM, trondhindenes<EMAIL_ADDRESS>wrote:

no prob. THe release branch seems to work fine.
Date: Fri, 6 Feb 2015 09:46:13 -0800
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>CC<EMAIL_ADDRESS>Subject: Re: [ScsmPx] Issue with scsmpx.psd1 (#1)
I'm curious if you're talking about the signature at the bottom of the
file...travelling right now and about to board plane so I cannot check. I
will have a look this weekend once I get back home.
-----Original Message-----
From: "trondhindenes"<EMAIL_ADDRESS>Sent: ý2015-ý02-ý06 11:13 AM
To: "KirkMunro/ScsmPx"<EMAIL_ADDRESS>Subject: [ScsmPx] Issue with scsmpx.psd1 (#1)
Hi Kirk, there seems to be something wrong with the encoding in the
scsmpx.psd1 file. If you use raw view in github you'll see it has a lot of
strange chars.
—
Reply to this email directly or view it on GitHub.
—
Reply to this email directly or view it on GitHub.
—
Reply to this email directly or view it on GitHub
https://github.com/KirkMunro/ScsmPx/issues/1#issuecomment-73283546.

Hi Kirk,
So, this is what I see:
On the regular view in github's file viewer everything looks nice:
          However, switching to raw view gives me this:

          If I clone the repo to my computer and switch to the master repo, i get this:

          Lastly i've tried to download the repo zip to multiple computers with the same result regarding this exact file.

So, there seems to be some encoding issue with that file from what I can see :-|
regards,
Trond
Date: Fri, 6 Feb 2015 18:58:53 -0800
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>CC<EMAIL_ADDRESS>Subject: Re: [ScsmPx] Issue with scsmpx.psd1 (#1)
I just took a look at this and on my computer if I click on ScsmPx.psd1 in
the master branch and then click on Raw to switch to the raw view, it looks
exactly as I expect it would.  Could you share a screenshot along with
details about what device and web browser you are viewing it on, and
possibly steps if you follow steps other than what I described here?
Thanks!
--
*Kirk Munro *
Poshoholic, Microsoft MVP
Blog http://poshoholic.com/ | Twitter http://twitter.com/poshoholic |
LinkedIn http://ca.linkedin.com/in/kirkmunro | Facebook
http://www.facebook.com/#!/kirk.munro
Need a PowerShell SME for a project at work? Contact me
http://poshoholic.com/contact-me/!
On Fri, Feb 6, 2015 at 12:03 PM, trondhindenes<EMAIL_ADDRESS>wrote:

no prob. THe release branch seems to work fine.

Date: Fri, 6 Feb 2015 09:46:13 -0800

From<EMAIL_ADDRESS>

To<EMAIL_ADDRESS>

CC<EMAIL_ADDRESS>

Subject: Re: [ScsmPx] Issue with scsmpx.psd1 (#1)

I'm curious if you're talking about the signature at the bottom of the

file...travelling right now and about to board plane so I cannot check. I

will have a look this weekend once I get back home.

-----Original Message-----

From: "trondhindenes"<EMAIL_ADDRESS>

Sent: ý2015-ý02-ý06 11:13 AM

To: "KirkMunro/ScsmPx"<EMAIL_ADDRESS>

Subject: [ScsmPx] Issue with scsmpx.psd1 (#1)

Hi Kirk, there seems to be something wrong with the encoding in the

scsmpx.psd1 file. If you use raw view in github you'll see it has a lot of

strange chars.

—

Reply to this email directly or view it on GitHub.

—

Reply to this email directly or view it on GitHub.

—

Reply to this email directly or view it on GitHub

https://github.com/KirkMunro/ScsmPx/issues/1#issuecomment-73283546.

—
Reply to this email directly or view it on GitHub.

Thanks for reporting this, and for emailing me the screenshots. I know I originally had some challenges getting this module set up in git and on GitHub, and it seems that the ScsmPx.psd1 file was being recognized as binary on the master branch.  I just pushed an update live to the master branch with this file included in the update, and now it seems that the file is properly recognized as text.  Please check the latest update and let me know if this is still an issue for you or not.


Build scan plugin slows configuration even if not used

Expected Behavior
Build scan plugin do nothing unless scan is enabled explicitly (via --scan  or buildScan.publish... options).
Current Behavior
plugins {
    id "com.gradle.build-scan" version "2.3"
    // other plugins
}

buildScan {
    setTermsOfServiceUrl("https://gradle.com/terms-of-service")
    setTermsOfServiceAgree("yes")
}

// project.gradle.startParameter.isBuildScan() --> false

It slows configuration. I see it in profiler:
gradle-profiler --profile yourkit \
--project-dir . \
--warmups 1 \
--gradle-user-home ~/.gradle-profiler \
--output-dir profiler \
help

Gradle 5.4.1
MacOS 10.14.5
JVM: 1.8.0_212 (AdoptOpenJDK)

Context
Our current workaround:
plugins {
   // no build scan plugin here
}

def isBuildScan = project.gradle.startParameter.isBuildScan()
if (isBuildScan) {
    buildScan { ... }
}

This is expected.  We can publish build scans after the fact (gradle buildScanPublishPrevious), so we need to capture the data all of the time.
@ldaley FYI, if there's more information you'd like to gather here about performance.


Only use session.add for new objects

Summary
We don't need to use db.session.add for objects that already exist -
it's only used when creating new records. Objects returned from queries
are already in the session and changes to them are committed
automatically.

Did not know this. 👍


Support Map/Properties for java source/target

Priority 0

MAP: simply map java.util.Map kind object as an AtlasPrimitive
COMBINE: Multiple source fields into single java.util.Map kind of target object

TBD

SEPARATE: java.util.Map kind source into individual fields

This requires variable fields on target side, do we really want it?

Issue moved to atlasmap/atlasmap #200 via ZenHub


Implement camera

Add camera code in Android and Arduino

The code runs just fine

@Leililou
ok we will work on your comment
we just implement the camera but we still working in the layout of the app


Section04 Mint Section + Counter Package

Outsource Mint Schedule component and add counter script

This is nice dependencie that you could you as countdown. You can install with
pnpm add vue@3 @chenfengyuan/vue-countdown@2
but keep in mind we are using vueuse/head so you can't define settings from export default. Look out how we set up Carousel inside section01 and ask GPT for tips.
https://github.com/fengyuanchen/vue-countdown
@gabighiur

done
@ml350


AMPLIFY_DIFF_DEPLOY is no working when new Branch connect

Before opening, please confirm:

[X] I have searched for duplicate or closed issues and discussions.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

JavaScript Framework
React
Amplify APIs
Not applicable
Amplify Categories
Not applicable
Environment information

Describe the bug
AMPLIFY_DIFF_DEPLOY is no working when new Branch connect  and build.
AMPLIFY_DIFF_DEPLOY is very nice.
https://docs.aws.amazon.com/ja_jp/amplify/latest/userguide/build-settings.html
Expected behavior
I think console should deploy front end when AMPLIFY_DIFF_DEPLOY is true and new Branch connect(no frontend hosting).
AMPLIFY_DIFF_BACKEND is no problem.
Reproduction steps
Step
In Amplify Console(web)

build environment  set AMPLIFY_DIFF_DEPLOY is true
Frontend environments->Frontend  connected New Brunch and build.

Result
Frontend building is skipped.
Code Snippet
// Put your code below this line.

Log output

// Put your logs below this line

aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response

@jamesaucode
Thanks.

Hi, is there any update on this issue?

bump

@scott-dang @imtiazqumar @coa00 Can you please elaborate on the issues you are experiencing? If you can provide us with an App ID, that will help us a lot.
When you say it is not working for a new branch, is the build failing? What is the expectation here?


[CSM-249] Rename wallet api entries

WIP till https://github.com/input-output-hk/cardano-sl/pull/893 is merged

Oh lalki, I feel we have a chance to make this iteration the last one

History-related endpoints are fixed by @Pastafarianist in #913


[Question]: why always fail in the chunking step?

Describe your problem

Could you scroll down and show the error message?

sure, basically is this error

Do you have backend error logs?
What about pull the 'nightly' version of docker image?


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-2.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 2919

Questions ?
Please refer to the Backport tool documentation


Added InlineRequests

That's weird. Did you use the example in README.md? Do regular messages work?

Yea I copied the example in REAME which didn't work
(and also found a bug where welcomMsg don't accept incoming::AbstractString.)
My biggest question is why nothing shows up in the api /getUpdates page.

Could you double check if your bot is configured correctly? If it doesn't show up in getUpdates, there has to bd a problem with the bot itself. I'm using this code right now with my bot and everything works fine. The only thing might be, that when you send the same InlineQuery twice, it uses the previous cached result from the server, which might be why it doesn't show up.

I stopped running all the instances of my bot and manually openning browser to look at api/getUpdates and see nothing related to the inline query.
One thing though, for my bot it seems that telegram is waiting for server to respond, I can't really send an inline message because once I entered @ mybot <text> the send button becomes a loading button.

You were right, welcomeMsg needs to accept a parameter, but other than that, the example works perfectly fine for me. The only thing I could still think of, did you put "bot" in front of your API key? This should probably be be done inside the module, but I didn't want to break existing code. Also, is the space after the @ a typo, because this could also be the reason it doesn't work.

Yes that was a typo in my comment. I created a new bot and it seems inline query can be seen normally in the webpage, I will figure out what's going on and merge your PR. Thx again for the awesome contribution, first time actually receiving help!

Glad to contribute, seems like a cool project!


Add implementationDetails to context

Description

Send the alloy version as part of the xdm.  See https://github.com/adobe/xdm/pull/769
Related Issue
https://jira.corp.adobe.com/browse/CORE-31964

Motivation and Context
This will enable us to see which version customers are running.
Screenshots (if appropriate):
Types of changes

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

Checklist:

[x] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] All tests pass and I've made any necessary test changes.
[x] I have run the Sandbox successfully.

Reminder to add this option to the extension and docs as well.

Actually, should implementationDetails be required?

I think it should be required, but let’s bring it up with Justin and Rares


Improve error formatting / wrapping / unwrapping

Is this about getting rid of xerrors?

It was mostly about moving to the new Go error handling from Go 1.13. This means moving from xerrors to new standard code, but also be more consistent in how we report the error and wrap some context.


Display exception when creating multiple SMARTS instances

I encounter the "Display is not found" exception when trying to create multiple SMARTS instances:

To reproduce:
train_env = gym.make(
    "smarts.env:hiway-v0",
    scenarios=scenarios,
    agent_specs={AGENT_ID: agent_spec},
    headless=headless,
    visdom=False,
    timestep_sec=0.1,
    sumo_headless=True,
    seed=seed,
    # envision_record_data_replay_path="./data_replay",
)

test_env = gym.make(
    "smarts.env:hiway-v0",
    scenarios=scenarios,
    agent_specs={AGENT_ID: agent_spec},
    headless=headless,
    visdom=False,
    timestep_sec=0.1,
    sumo_headless=True,
    seed=seed,
    # envision_record_data_replay_path="./data_replay",
)

Development Environment:
OS: Ubuntu 16.04
Python: 3.7.4
SUMO: 1.7.0
SMARTS: 0.4.4

Hello @zbzhu99 , this is a known issue. SMARTS uses a few dependencies that have the requirement for a singular instance. In order to use another SMARTS instance in the same thread the previous needs to be destroyed, or run on another process.
There is an example/multi_instance.py that shows one way to be able use more than one smarts environment.
https://github.com/huawei-noah/SMARTS/blob/master/examples/multi_instance.py#L68-L162

@Gamenot We might be able to solve this problem using the suggestions in this comment here: https://github.com/panda3d/panda3d/issues/996#issuecomment-679916768

@davidrusu Yes, it seems like option 1 from that list of suggestions is the way to go eventually. We are already recommending option 3 via ray but stripping away the globals so that multiple instances can run in the same context would lower complexity for the users

Hi there, I wrote the original github issue over at Panda3D. Just wondering if you'd be willing to share your implementation of the referenced option 1 from my github issue on Panda3D? I ended up going with option 3, but my training time is suffering :\

@alek5k We'd be happy to share it once we've got around to tackling this. Currently we are also relying on multiprocessing to avoid multiple instances of Showbase.
If you beat us to it, please come back and share your findings.

Another relevant issue with Panda3D that you might run into if you are planning on running many instances in linux:
https://github.com/panda3d/panda3d/issues/1064

@alek5k Yeah we did hit that one with one of our users as well
Maybe you can find something of use from the other configuration options we tuned here:
https://github.com/huawei-noah/SMARTS/blob/master/smarts/core/smarts.py#L62-L68

Since we are just using Showbase for rendering another option figured out here for us in particular is to use a Showbase subclass as a singleton.

This particular problem has been addressed using option 2. The rest of the issue is covered by #743 .


The scanner doesn't work in android emulator

I've created a fresh Flutter project, installed the package and added the example widget.
Gradle settings:
        compileSdkVersion 32
        minSdkVersion 28
        targetSdkVersion 28

In android emulator the virtual scene is showed, but you can't move around as usual (it's frozen) and the "Press alt to move camera" text is flickering.
Anyone having the same issue?
Any suggestions how to solve this would be appreciated.
Thanks

Can you please try again with latest version 3.0.0?

@juliansteenbakker
This is still happening in ^3.2.0.


[DOCU-1552]Updates migrations doc by removing patch releases section

Review
Check that Patch releases section has been removed from upgrade guide for EE versions 2.1.x and higher and Migrating Databases for a Major or Minor Version Release header has been updated to Migrating Databases for Upgrades.
Summary
Yi Lang noticed some discrepancies in our migration doc that I confirmed with the Fast Track Team.
Reason
Fast Track Team say there is no reason for the Patch releases section to exist as it is inaccurate and to update the header suggesting steps are diff depending on type of update.
Slack Convo
DOCU-1552
Testing
Will include once it is available

Maybe it's worth asking someone on the core team about this? I notice that the content you just removed, which is labelled as patch-release specific, is actually part of the previous section in the OSS docs: https://docs.konghq.com/gateway-oss/2.4.x/upgrading/#installing-24x-on-a-fresh-datastore

Excellent point. I will ask in the Core Team channel.


Enable license report

This PR enables the reporting of dependencies along with their distribution licenses for web artifacts. The resulting report also includes NPM dependencies split into "production" and "development" (as per NPM classification).
In scope of this changeset the vulnerability detected in the NPM dependency tree was addressed. That caused the JS version to be bumped to 0.15.3.

@dmdashenkov PTAL.

@dmdashenkov PTAL again.


SIEVE OF ERATOSTHENES IS TO FIND all prime numbers till value of n specified

: It would be great if you can add the description along with the issue number.
Feel free to use our contribution guidelines (https://github.com/fnplus/interview-techdev-guide/blob/master/CONTRIBUTING.md#how-to-contribute-an-implementation-code) for reference


Any environment other than development fails to load JavaScript resources

Describe the bug
When specifying ASPNETCORE_ENVIRONMENT as a value other than development, you get 404 errors for the ChartJs _content resources.
Which Blazor project type is your bug related to?

Server-Side

Which charts does this bug apply to?
all charts
To Reproduce
Steps to reproduce the behavior:

Using this version of ChartJSBlazor '1.1.0'.
With this code.
Run ASPNETCORE_ENVIRONMENT=production dotnet run from the project root, or use the VSCode run task in the sample project
See error.

Expected behavior
The scripts load successfully
Screenshots

Additional context / logging
[2020-06-14T14:50:17.862Z] Information: Normalizing '_blazor' to 'https://localhost:5001/_blazor'. blazor.server.js:1:5212
Loading failed for the <script> with source “https://localhost:5001/_content/ChartJs.Blazor/moment-with-locales.min.js”. localhost:5001:76:1
Loading failed for the <script> with source “https://localhost:5001/_content/ChartJs.Blazor/Chart.min.js”. localhost:5001:79:1
Loading failed for the <script> with source “https://localhost:5001/_content/ChartJs.Blazor/ChartJsBlazorInterop.js”. localhost:5001:82:1
[2020-06-14T14:50:18.046Z] Information: WebSocket connected to wss://localhost:5001/_blazor?id=FHaTttdw29shyxT33frTkQ. blazor.server.js:1:5212
[2020-06-14T14:50:18.462Z] Error: There was an unhandled exception on the current circuit, so this circuit will be terminated. For more details turn on detailed exceptions by setting 'DetailedErrors: true' in 'appSettings.Development.json' or set 'CircuitOptions.DetailedErrors'. blazor.server.js:15:27309
[2020-06-14T14:50:18.464Z] Information: Connection disconnected. blazor.server.js:1:5212

Code example
a.zip

Thanks for the report.
This seems strange. I'm assuming that's not actually the issue.
I've downloaded the repro project and saw that the "StaticWebAssets.xml" file contains the path /Users/rhys/.nuget/packages/chartjs.blazor/1.1.0/build/../staticwebassets/. When building it on my own machine, I could see that both for the release and the debug build, the path stays the same.
I can reproduce the issue without specifying any environment e.g. by just executing the a.exe when building in both release and debug (which will use the default environment "Production").
This issue doesn't seem to be related to the environment at all. Maybe it has something to do with https? You probably need to investigate a bit further.
Ps. Is there another nuget with static assets where this issue does not occur in the same repro project?

I don't think it's a HTTPS thing because HTTPS works absolutely fine with the development configuration. I'm not sure how to further simplify the test case unfortunately. All I know is that this library for me only works in development mode, and no other environment works.

HTTPS was just a guess because I'm not familiar with the https-redirect that asp.net provides. I'll try to repro the issue from scratch, it seems you just used the default template is that correct?

Yeah that's right, everything's taken from the readme, no further changes were made.

Can confirm that it's not an HTTPS issue. Creating a new server-side blazor application with the default template and following the readme results in the error when running the compiled application (debug or release) with a non-development environment.
However, I highly doubt that this is an issue with our library. The assets will stay the same no matter the environment. I'm assuming this is the expected behaviour for running the build directly without publishing but I currently have no proof (e.g. docs paragraph or GitHub issue) to support that claim.
I'm assuming you're not debugging the application when you want to run it in production mode so the easy workaround is to publish the app before running it. This way the wwwroot folder is generated which contains all the linked static assets.

Yeah, sounds like it could be a ASP.NET issue in that case. Normally I don't debug apps on another environment mode, but we're setting up a brand new environment at the moment which is how I noticed the issue. I'll raise a ticket in the ASP.NET repo and see if that goes anywhere.
Thanks for the help!

No worries, maybe I'll try to find some more infos using a different library.
As an aside, could you link your issue here?

Found this issue which seems to indicate it's by design, with a reasonable workaround:
https://github.com/dotnet/aspnetcore/issues/20409

Awesome, thank you 👍


[BUG] rf/config-apollo/src/Client.php请求失败，异常没捕获，导致服务器的所有进程重启？

Execute the command and paste the result below.
Command: uname -a && php -v && composer info | grep hyperf && php --ri swoole
# Paste the result here.
Linux hlg-dev 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
PHP 7.2.11 (cli) (built: Nov 27 2019 18:55:54) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.2.11, Copyright (c) 1999-2018, by Zend Technologies
huanhyperf/auth                    2.0.3
huanhyperf/contract                2.0.1
huanhyperf/database                2.0.3             hyperf database package made by huanleguang team.
huanhyperf/dolphin                 2.0.1
huanhyperf/fc                      2.0.2
huanhyperf/hummingbird             2.0.2
huanhyperf/isv-contract            1.0.4             base contract between qyds and isv
huanhyperf/isv-qyds                1.1.2             shop N material
huanhyperf/jwt                     2.0.1             jwt
huanhyperf/lock                    2.0.2
huanhyperf/logger                  2.0.1
huanhyperf/platform-core           2.1.1
huanhyperf/sensitive-words         2.0.1             敏感词过滤
huanhyperf/wechatminishop          2.1.6
hyperf/async-queue                 v2.2.0            A async queue component for hyperf.
hyperf/cache                       v2.2.15           A cache component for hyperf.
hyperf/command                     v2.2.9            Command for hyperf
hyperf/config                      v2.2.0            An independent component that provides configuration container.
hyperf/config-apollo               v2.2.26           An apollo adapter for Hyperf config component.
hyperf/config-center               v2.2.18           The abstraction component of config center
hyperf/constants                   v2.2.15           A constants component for hyperf.
hyperf/context                     v2.2.0            A coroutine context library.
hyperf/contract                    v2.2.8            The contracts of Hyperf.
hyperf/crontab                     v2.2.21           A crontab component for Hyperf.
hyperf/database                    v2.2.28           A flexible database library.
hyperf/db-connection               v2.2.22           A hyperf db connection handler for hyperf/database.
hyperf/devtool                     v2.2.21           A Devtool for Hyperf.
hyperf/di                          v2.2.31           A DI for Hyperf.
hyperf/dispatcher                  v2.2.0            A HTTP Server for Hyperf.
hyperf/engine                      v1.2.1
hyperf/event                       v2.2.0            an event manager that implements PSR-14.
hyperf/exception-handler           v2.2.0            Exception handler for hyperf
hyperf/filesystem                  v2.2.17           flysystem integration for hyperf
hyperf/framework                   v2.2.14           A coroutine framework that focuses on hyperspeed and flexible, specifically use for build microservices and middlewares.
hyperf/guzzle                      v2.2.0            Swoole coroutine handler for guzzle
hyperf/http-message                v2.2.19           microservice framework base on swoole
hyperf/http-server                 v2.2.27           A HTTP Server for Hyperf.
hyperf/logger                      v2.2.14           A logger component for hyperf.
hyperf/macroable                   v2.2.13           Hyperf Macroable package which come from illuminate/macroable
hyperf/memory                      v2.2.0            An independent component that use to operate and manage memory.
hyperf/model-listener              v2.2.14           A model listener for Hyperf.
hyperf/paginator                   v2.2.0            A paginator component for hyperf.
hyperf/pool                        v2.2.0            An independent universal connection pool component.
hyperf/process                     v2.2.20           A process component for hyperf.
hyperf/redis                       v2.2.30           A redis component for hyperf.
hyperf/server                      v2.2.21           A base server library for Hyperf.
hyperf/session                     v2.2.30           A session library
hyperf/signal                      v2.2.0            A signal library for Hyperf.
hyperf/testing                     v2.2.24           Testing for hyperf
hyperf/translation                 v2.2.13           An independent translation component, forked by illuminate/translation.
hyperf/utils                       v2.2.30           A tools package that could help developer solved the problem quickly.
hyperf/validation                  v2.2.13           hyperf validation
hyperf/watcher                     v2.2.24           Hot reload watcher for Hyperf
hyperf/websocket-server            v2.2.31           A websocket server library for Hyperf.

swoole

Swoole => enabled
Author => Swoole Team<EMAIL_ADDRESS>Version => 4.5.2
Built => Jul  3 2020 15:42:51
coroutine => enabled
epoll => enabled
eventfd => enabled
signalfd => enabled
cpu_affinity => enabled
spinlock => enabled
rwlock => enabled
pcre => enabled
zlib => 1.2.8
mutex_timedlock => enabled
pthread_barrier => enabled
futex => enabled
async_redis => enabled

Directive => Local Value => Master Value
swoole.enable_coroutine => On => On
swoole.enable_library => On => On
swoole.enable_preemptive_scheduler => Off => Off
swoole.display_errors => On => On
swoole.use_shortname => On => On
swoole.unixsock_buffer_size => 8388608 => 8388608

Description:
INFO][STDOUT] Process[queue.tb-spider-plan.0] stoped.

[ERROR][STDOUT] Hyperf\Utils\Exception\ParallelExecutionException:Detecting 1 throwable occurred during parallel execution:
(application) GuzzleHttp\Exception\ConnectException: Connection failed, errCode=110
#0 /app/service/vendor/hyperf/guzzle/src/CoroutineHandler.php(71): Hyperf\Guzzle\CoroutineHandler->checkStatusCode()
#1 /app/service/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php(37): Hyperf\Guzzle\CoroutineHandler->__invoke()
#2 /app/service/vendor/guzzlehttp/guzzle/src/Middleware.php(29): GuzzleHttp\PrepareBodyMiddleware->__invoke()
#3 /app/service/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php(70): GuzzleHttp\Middleware::GuzzleHttp{closure}()
#4 /app/service/vendor/guzzlehttp/guzzle/src/Middleware.php(59): GuzzleHttp\RedirectMiddleware->__invoke()
#5 /app/service/vendor/guzzlehttp/guzzle/src/HandlerStack.php(71): GuzzleHttp\Middleware::GuzzleHttp{closure}()
#6 /app/service/vendor/guzzlehttp/guzzle/src/Client.php(351): GuzzleHttp\HandlerStack->__invoke()
#7 /app/service/vendor/guzzlehttp/guzzle/src/Client.php(162): GuzzleHttp\Client->transfer()
#8 /app/service/vendor/guzzlehttp/guzzle/src/Client.php(182): GuzzleHttp\Client->requestAsync()
#9 /app/service/vendor/guzzlehttp/guzzle/src/Client.php(95): GuzzleHttp\Client->request()
#10 /app/service/vendor/hyperf/config-apollo/src/Client.php(104): GuzzleHttp\Client->__call()
#11 /app/service/vendor/hyperf/utils/src/Functions.php(270): Hyperf\ConfigApollo\Client->Hyperf\ConfigApollo{closure}()
#12 /app/service/vendor/hyperf/utils/src/Parallel.php(57): call()
#13 /app/service/vendor/hyperf/utils/src/Functions.php(270): Hyperf\Utils\Parallel->Hyperf\Utils{closure}()
#14 /app/service/vendor/hyperf/utils/src/Coroutine.php(71): call()
#15 {main}
Steps To Reproduce:
1.是否有办法，整个框架捕获这种错误吗？
2.这个没有异常捕获是否有什么考虑呢？

异常捕获了，不会导致进程退出


Unable to retrieve a token

Hi!
Thanks for creating this gem. I'm having an issue getting it up-and-running though.
On the callback phase I consistently see the following:
Started GET "/auth/instagram_graph" for <IP_ADDRESS> at 2020-03-05 04:05:01 +0000
(instagram_graph) Request phase initiated.
Started GET "/auth/instagram_graph/callback?code=reg&state=erg" for <IP_ADDRESS> at 2020-03-05 04:05:05 +0000
(instagram_graph) Callback phase initiated.
(instagram_graph) Authentication failure! invalid_credentials: OAuth2::Error, :
{"error_type": "OAuthException", "code": 400, "error_message": "This authorization code has been used"}
Started GET "/auth/failure?message=invalid_credentials&strategy=instagram_graph" for <IP_ADDRESS> at 2020-03-05 04:05:08 +0000
Processing by SessionsController#failure as HTML
Parameters: {"message"=>"invalid_credentials", "strategy"=>"instagram_graph"}

Any ideas what I've missed?

This seems to have been fixed in https://github.com/CatchRelease/omniauth-instagram-graph/commit/9fb9aef85a1b27b4df1b5190af00e6444898004f
I think it's worth pulling that change in here!

@euanlau can you please create a PR?

@igor-alexandrov You could also just pull the commit into manually. Would keep the attribution for CatchRelease.

Fixed in #2. Release 1.0.2.

Thanks!


unless in docker::exec not working for me

docker::exec { 'Start postfix':
  detach       => true,
  container    => 'zabbix-server',
  command      => 'postfix start',
  tty          => true,
  unless       => 'test -f /var/spool/postfix/pid/master.pid',
  }

When I run manually postfix run on container -> master.pid is made

When I comment out unless section -> docker::exec is executed every puppet cycle.

But how to run it only once to run postfix ? I tried in unless : ls , test -e , test -f , ! test -f .
It seems all of it is preventing to run docker::exec

I noticed this. The issue is that when running detached, the return code is always 0, even from the unless statement. Workaround: do not run detached.
Should probably unset detached for the unless test.


Formatted "Access control and permissions" section

Formatted "Access control and permissions" section to be easier to read

@crpietschmann : Thanks for your contribution! The author, @dominicbetts, has been notified to review your proposed change.

@crpietschmann - thanks for submitting this change - it definitely improves the layout of the article. I'll request that this PR is merged.
#sign-off


Docs: Example does not compile

Page URL: https://www.typescriptlang.org/docs/handbook/iterators-and-generators.html
Issue:
This does not compile:
let pets = new Set(["Cat", "Dog", "Hamster"]);
pets["species"] = "mammals";

for (let pet in pets) {
  console.log(pet); // "species"
}

for (let pet of pets) {
  console.log(pet); // "Cat", "Dog", "Hamster"
}

And the error is:
Element implicitly has an 'any' type because expression of type '"species"' can't be used to index type 'Set<string>'. Property 'species' does not exist on type 'Set<string>'.

Recommended Fix:
Make it compile.
It also is very confusing for someone new to Typescript
Browser:
It is an compile error, browser not relevant

This is not actually a compile error, rather that pets["species"] = "mammals"; is an incorrect usage of a JavaScript set.
If you refer to MDN Set Docs, you will see that a Set can't be modified or even accessed using this bracket notation.


SRSI formule don't use "srsi_periods" params

I notice something really strange with strategies which use SRSI. No one of theses use the "srsi_periods" params, whereas it's something important. Even in the lib/srsi.js it's not used. Someone know why this param is not considered?
We should think about how to deal with this problem because SRSI is a very efficient indicator, and it's already use in srsi_macd and srsi_cci strategies.
For those who want to know more about this SRSI, and find out why the srsi_periods parameter is important, I advise you to go for some test on tradingview.

Hi @Lucidarme,
I checked some of the strats and they all seam to use the parameter "rsi_periods" and not "srsi_periods".

Hi @JensvdHeydt,
Yes the strats use the "rsi_periods" but "srsi_periods" is another parameter.

Dear issue reporter,
We have slightly changed our github issue policy and would now kindly request folks that have questions that they ask them in our zenbot subreddit.
You can find it here: https://reddit.com/r/zenbot
This issue will be closed, but if you disagree with your ticket being marked as a question feel free to leave a comment defending your case.
Thanks for contributing time and effort!
Greetings,
🤖


v1.2.1 windows crashes on ospray_minisg

I have tried loading the Sponza and San-miguel dataset but get a crash (see below).
Any help would be appreciated.
Command issued:
.\ospGlutViewer crytek-sponza\sponza.obj --sun-dir -.3 -1 .1 --renderer pt --sun-int 12 --hdri-light 30 rnl_probe.pfm -vp 667.492554 186.974228 76.008301 -vu 0.000000 1.000000 0.000000 -vi 84.557503 188.199417 -38.148270
crytek-sponza folder with the .obj files, etc and rnl_probe.pfm are in the same directory as .\ospGlutViewer.
VC stack trace:

ntdll.dll!00007ffb80e77a63()	Unknown
msvcr120.dll!00007ffb6eee6a57()	Unknown
msvcr120.dll!00007ffb6eee6967()	Unknown
ospray_minisg.dll!00007ffb659cb95c()	Unknown
ospray_minisg.dll!00007ffb659c76c6()	Unknown
ospray_minisg.dll!00007ffb659d9c9a()	Unknown
ospray_minisg.dll!00007ffb659d6deb()	Unknown
ospray_minisg.dll!00007ffb659d6418()	Unknown
ospray_commandline.dll!00007ffb684fc5a5()	Unknown
ospray_commandline.dll!00007ffb684e3281()	Unknown
ospGlutViewer.exe!00007ff69fc2a0b1()	Unknown
ospGlutViewer.exe!00007ff69fc210cf()	Unknown
ospGlutViewer.exe!00007ff69fc344d3()	Unknown
[External Code]

Hi,
I could reproduce the problem: it is a stack overflow (apparently the default 4k on Windows are much too small for our application). To mitigate you can increase the stack size of ospGlutViewer with
editbin /STACK:1073741824,134217728 ospGlutViewer.exe

(editbin comes with VC).
Best regards,
Johannes

That works. Thank you.


Is the library still maintained?

Hi!
This project seems very interesting but seems to be stale for a while.
Is someone still maintaining it?
Best,
José

I hope it is, but if not, it would help to archive the GitHub project so people do not have to wonder.

It seems that serratus has completely disappeared. I hope he's OK.  I would offer to take up the reins on it, if people have updates that they want to pull in, i'd be happy to setup a fork and take pulls and such.  I'm not much on knowledge as to how this all works, though.

I have contacted @serratus on his email in his profile. I'll update the thread if he responds. If not, I think a fork is a good idea.

i meant to say that i don't know much about how quagga works.  I'm perfectly fine at managing github repos, but i have never studied quagga beyond determining how the basic configuration options work.  i'd be happy to manage a fork though, since this is currently a cornerstone of a project i'm working on, and i'd definitely like to see it get improvements, preferably to a central location.
with 416 other forks out there, it's got to be hell trying to figure out who's made changes out there, and if they are good or not.  (anyone know of any tools to make that easier?)

Setup a repository here for everyone's patches:
https://github.com/NeraiCorp/getUserBarcode

Please leave a comment in #300 if you are interested in becoming a maintainer


Port (metal) lateinitializer of conflicting vlanIds and vxlandIds fields prevents deletion

What happened?
Metal Port's lateinitializer is creating a conflicting definition with both vlanIds and vxlandIds. This is preventing deletion of the resource (possibly Ready status too).

How can we reproduce it?
https://community.equinix.com/t5/discussions/crossplane-failure-to-delete-port-resource-in-claim/m-p/2706/highlight/true#M1346
Similar reported in #50

The IP reservation is being successfully created. The problem seems to be at refresh, related to the quantity being set to 256 as a computed field despite the field conflicting with the other fields (cidr, vrf_id).

What environment did it happen in?
Crossplane version:
Provider version: 0.6.1

#52 attempted to generalize the conditions in-which LateInititialization can be skipped.  This change may not be complete, I suspect the names of the fields that were sent to the Canonical Ignore list need to be formatted differently. My evidence that this wasn't implemented correctly is the CRD changes between v0.7.0 and v0.8.0 (also those seen in #52). Looking at the Device resource, we see that the Facility vs Metro handling was removed without a suitable replacement.
 It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider BGPSessionInitParameters `json:"initProvider,omitempty"`

LateInitialization in mutually exclusive fields is discussed here: https://github.com/crossplane/upjet/blob/main/docs/configuring-a-resource.md#further-details-on-late-initialization


use wallet-adapter lib

This PR replaces the wallet context in oyster/common with modules from the wallet-adapter library and refactors the other packages accordingly. Use of wallet: any has been replaced with a type compatible with the context. Tested manually using oyster/lending with Phantom, Torus, and Ledger on Chrome, and SolflareX and Torus on Firefox.

The cancel button is showing up with Chinese text for me. No idea why. Do we even want a cancel button? Here's what it looks like with no footer:

I'll change the Torus logo to the blue they use. This will fix it not showing up against the black background of the UI.

@SebastianBor can you try this PR with governance?

Torus and Phantom logos updated

The cancel button is showing up with Chinese text for me. No idea why. Do we even want a cancel button? Here's what it looks like with no footer:

I don't think we need the footer

Looks like there are some merge conflicts, resolving now.

Resolved conficts.
Added a missing dev dependency (was causing an issue linting in WebStorm).
In the governance package, replaced use if IWallet interface with WalletSigner from @oyster/common which is used everywhere now.


Error loading custom synonym file in Elasticsearch

I am using Rails, Tire and Elasticsearch on EC2 single server setup, no sharding or replication (this is the Jenkins CI Server). With a custom initializer as such:
analysis:
  filter:
    name_synonyms:
      type: synonym
      synonyms_path: <%= Rails.root.join("config", "synonyms", "name_synonyms.txt") %>

This file runs thru Erubis and the synonyms path is converted to something like this:
/root/workspace/project-project-0f317744a1870b4baf61bbaeb390ebe1/config/synonyms/term_synonyms.txt

When I list the files in the sever I see the following:
root@ip-XX-XXX-XX-XXX:~/workspace/project-project-0f317744a1870b4baf61bbaeb390ebe1/config/synonyms# ls -la
total 20
drwxr-xr-x 2 root root 4096 Feb 11 18:25 .
drwxr-xr-x 7 root root 4096 Feb 11 18:25 ..
-rw-r--r-- 1 root root 3117 Feb 11 18:25 location_synonyms.txt
-rw-r--r-- 1 root root 3999 Feb 11 18:25 name_synonyms.txt
-rw-r--r-- 1 root root 2144 Feb 11 18:25 term_synonyms.txt

Which is exactly I am expecting, however I see the following error when running rake spec
500 : {"error":"IndexCreationException[[test_facilities] failed to create index]; nested: FailedToResolveConfigException[Failed to resolve config path [/root/workspace/project-project-0f317744a1870b4baf61bbaeb390ebe1/config/synonyms/term_synonyms.txt], tried file path [/root/workspace/project-project-0f317744a1870b4baf61bbaeb390ebe1/config/synonyms/term_synonyms.txt], path file [/etc/elasticsearch/root/workspace/project-project-0f317744a1870b4baf61bbaeb390ebe1/config/synonyms/term_synonyms.txt], and classpath]; ","status":500}

It seems to me Elasticsearch is not capable of loading the files although the path is correct, could be a load order issue, I am really not too sure.

I know this is an old thread, but I ran across the same issue.  It's due to the elasticsearch user not being able to traverse the directories that contain the term_synonyms.txt file.  chmod o+x /parentfolders should suffice.

@bpang Thanks for sharing the solution. I was facing the same problem.
To get it running, I had to run chmod o+x on all parent folders i.e. if the file was in
/root/a/b/synonyms.txt
chmod o+x /root
chmod o+x /root/a
chmod o+x /root/a/b
Please let me know if this was the right approach, or is there a better way? Thanks.

In case anyone ends here with the same problem: This is the correct way of doing it: http://stackoverflow.com/a/35402714/345996
By adding the corresponding entry in the Java security policy file!