Speech provider registered twice after extension host crash

Testing #203087
The extension host crashed while I kept trying out the feature using both start and stop keyboard shortcuts.
My start keyboard shortcut is Ctrl+T Ctrl+V and my stop keyboard shortcut is Ctrl+T Ctrl+Shift+V.
When the extension host restarts, the feature stops working completely, and devtools reports an error that a speech provider was already registered.

Crashing occurs much less frequently when the stop keyboard shortcut is Ctrl+V Ctrl+T instead.
I don't seem to get any crashing when the stop keyboard shortcut is Ctrl+Shift+T Ctrl+V.

/duplicate https://github.com/microsoft/vscode/issues/203172

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!

If you find steps how to reproduce the crash, I would still be interested. The feature should really not cause the extension host to crash...


query/logicalplan: Better support for propagating DynamicColumns

The logicalplan should better propagate columns that are dynamic such that they can be treated differently in the future.
This PR builds on top of #92
Fixes #89

This PR isn't needed anymore.


Init direct elements

Is there any way to init direct elements, not selector?
Eg.
wickedElements.upgrade(el, wicked)

wickedElements.define(el, wicked) should do?

Happy to re-open in case my answer didn't help 👋

Thanks!


fix(tooltip): prevent opening when tooltipPopupDelay is present

Cancel the timeout when tooltipPopupDelay is present and the element with the tooltip directive becomes disabled

This implements @rvanbaalen's fix for #3611.

:+1:


Provide a way to do spatial joins with custom judgement/iterator class.

Expected behavior
I have a use case where I want to join based on geodesic area overlap of 90% or more and I would like to define my own judgment.
In class org.datasyslab.geospark.spatialOperator.JoinQuery,
Add as below to allow users to specify their own operator for join and generating matching pairs.
public static final class JoinParams<U extends Object, T extends Object>
{
public final boolean useIndex;
public final boolean considerBoundaryIntersection;
public final boolean allowDuplicates;
public final IndexType indexType;
public final JoinBuildSide joinBuildSide;
public final FlatMapFunction2<Iterator, Iterator, Pair<U, T>> customJudgement;
}
and allow user to use it with
public static <U extends Geometry, T extends Geometry> JavaPairRDD<U, T> spatialJoin(
SpatialRDD leftRDD,
SpatialRDD rightRDD,
JoinParams joinParams) {
....
}
Actual behavior
JudgementBase is private and user does not have a way to specify their own judgement to use for spatial joins.
Steps to reproduce the problem
N/A
Settings
GeoSpark version = <IP_ADDRESS>
Apache Spark version = 2.4.1
JRE version = 1.8?
API type = Scala or Java? Java

@cakilandeswari I believe what you described can be easily done by adding one more filtering step after getting the spatial join query result. You just keep the pairs that have geodesic area overlap of 90%.

@jiayuasu  When i started, I did try to add a UDF to compute geodesic area to use after converting the results from join RDD to a data frame, my workflow could never complete due to to memory issues. It doesn't help that shapes need to be converted to strings when converting from RDD to data frames due to the removal of user defined data types in a sql row.
The shapes that i have are pretty huge and of bigger numbers (imagine all possible states in united states) and filtering early helps me complete the join successfully.
By adding my own judgement, I could filter out early and i also optimized on just returning the centroid+metadata in my shape pairs rather than returning complete shapes.
Since this is custom optimization, developers like me would highly benefit from specifying a custom iterator/judgment. Also the spatial join api is touted as for developers who want to do this sort of detailed optimization and will not affect other APIs.


Corrected spelling mistake in the metadata

Docs Build status updates of commit 7a0ec70:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-conceptual/azureadps-1.0/overview.md
:bulb:Suggestion

Details

docs-conceptual/azureadps-1.0/toc.yml
:white_check_mark:Succeeded

docs-conceptual/azureadps-1.0/overview.md

Line 23, Column 114: [Suggestion-docs-link-absolute] Absolute link 'https://docs.microsoft.com/powershell/module/azuread/?view=azureadps-2.0&preserve-view=true' will be broken in isolated environments. Replace with a relative link.

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

Docs Build status updates of commit 0628138:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-conceptual/azureadps-1.0/overview.md
:white_check_mark:Succeeded

docs-conceptual/azureadps-1.0/toc.yml
:white_check_mark:Succeeded

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

Docs Build status updates of commit 0d46eac:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-conceptual/azureadps-1.0/toc.yml
:white_check_mark:Succeeded
View (azureadps-1.0)

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

Docs Build status updates of commit c0bb761:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-conceptual/azureadps-1.0/overview.md
:white_check_mark:Succeeded
View (azureadps-1.0)

docs-conceptual/azureadps-1.0/toc.yml
:white_check_mark:Succeeded
View (azureadps-1.0)

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


docs(guide): how to style svgs

What project are you opening a pull request for?

react-instantsearch (use v2 base)

Summary
it's not so hard, but the actual svg elements don't have a class, so you will have to target them explicitly.
SVG elements also have a different feature set, so this example should clear things up.
Result
Extra piece of text in the Styling widgets part that explains briefly that we work with svg, so it's styleable and how.
see #1981

Thx, documentation is key!


Support ip resource types

We need it so that in UI users won't copy-paste the default netmask and have to remove it later in the browser

I think it might be better to support this from the UI-side, if the suffix is /32 or /128 (depending on ip-type) we should treat them as plain IP.
I mean, we could still do it in connlib , while in the client-side it'd just be just a change on how it's display/copied.
We also could just check for plain ip(/32 or /128) when calling on_update_resources which would achieve the same result less invasive in the connlib code-base.
I think the point is that we don't need a separate Ip type.

I think the point is that we don't need a separate Ip type.

Assuming users don't need to differentiate between the two, this works.

Add a client_address field to Resources schema which is sent and passed up to the clients for copy-paste.

Fixed via the Address Description field


Improve redis documentation

Is your feature request related to a problem? Please describe.
The official document contains postgress connection info , but it lacks the redis info. After some research in the serverpod codebase, I see that redis has no need username, just past the password under development -> redis in config/passwords.yaml file into like redisInsights tool.
Describe the solution you'd like
It'll be better to documentation the redis connection info if they want to use redis.
step1: change enabled to true under `config/developments.yaml'
redis:
	enabled: true

step2: get the password under config/passwords
database:
	redis: 'password'

Describe alternatives you've considered
improve documentation for redis.
Additional context
None.

This should be added to the documentation, thanks!


not working

Umm hey Trickjoker I was wondering if you  had any new sites to add cause most didn't work for me ik you just updated it so whenever you find anything could you pls dm me it'd be much appreciated if you send a site with an internet browser as well

Hey!
I'll be adding more websites soon, so be sure to be on lookout for those! In the meantime, if you have Discord, you can join various proxies discord servers [for example, Interstellar] for more links while you wait.

woah that was a fast reply didn't expect you to write back so quickly but anyways thanks for addressing me, sry for wasting your time and have a great rest of your day!

No problem! I address every issue i get :)
Also, i get emails from GitHub about issues in my repositories, so that's why I responded so quickly!
You have a great rest of your day, too!


missing loot

Issue description
Missing "The Apothecary" as potential loot. But the search results display a map. I tested it on different browsers and incognito.
Map name
Defiled Cathedral
Map image
No response
Layout rating
None
Density rating
None
Boss rating
None
Tags

[ ] League mechanics - If map is good for league mechanics that require some space (Breach, Legion)
[ ] Delirium mirror - If you can hold delirium mirror through whole map or delirium mirror gets good value in it
[ ] Outdoors - If map is outdoors or indoors (Dunes vs Cells for example)
[ ] Linear - If map is linear instead of having multiple paths to take. Map counts as linear even if the line goes in circle
[ ] Few obstacles - If map does not have a lot of obstacles (so for example is good for shield charging around)
[ ] Boss Not spawned - If boss is not spawned on entering the map (important for Altar farming, can be verified by checking for boss altars spawning or not)
[ ] Boss Rushable - If boss is close to map start or can be rushed quickly and reliably, a lot quicker than completing whole map
[ ] Boss Phases - If boss has hard phases that force you to wait (delay on initial boss spawn counts too)
[ ] Boss Soft phases - If boss has soft phases that can be bypassed with DPS (teleports at certain threshold, heals, partial damage reduction)
[ ] Boss Separated - If boss room is separated from rest of the map

you need to configure voidstones here:


.NET Core Platform

First draft of .NET Core Platform topic.

/cc @cartermp @blackdwarf

This needs to be added to the TOC and the wrench removed from the Getting Started page, no?

on docs.asp.net we've gone 100% to replacing application to app and customers seem to like it. I thought that was part of our modern voice.  AngularJS is what ScottGu and the lesser scotts keep pointing to. There it has
A great way to get introduced to AngularJS is to work through this tutorial, which walks you through the construction of an AngularJS web app.
Web Application is old, web app is modern.

I don't see an issue using app as well. But in addition to the TOC and wrench I mentioned earlier, I think that the order of this topic sections should be reversed. The comparison with the Framework should come later in the topic so that people completely new to the technology already have some context on what Core is.
/cc @rpetrusha


[Bug] Adding loading animation to contributor page

Description
@Rakesh9100
I want to add loading animation to the contribution page
it looks good and not look empty while api fetching contributors
please assing under  Gssoc24
Screenshots
No response
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a GSSOC'24 contributor.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

Go ahead @pandeyji711


[FEATURE] Upload Images - Add refresh button or retry mechanism

Is your feature request related to a problem? Please describe.
When I upload the image, if it is an external image address, it is easy to fail, but I can't find the refresh button or it tries to download it again, I need to create it again

A workaround way is manually deleting BackingImage and StorageClass. Also, we need to remove status in VirtualMachineImage to trigger it to download the image again.
Probably, we can add a refresh button on UI and send the above requests to the server. The button only shows up when VirtualMachineImage is in an error state.


Plumb through inplace, cope with no changes.

This was enough to get it working, but I think this is an indicator of uncovered code paths.


Updating ClassicalControls to reduce intrinsics

This updates the structure of the classical control ApplyIf* and ApplyControlled* callables in terms of each other to reduce 8 intrinsics to 2 intrinsics. Also updates the qir-gen.csproj to use the local QSharp.Core project instead of the one from the QDK for easier testing.

How much of a race is this PR with https://github.com/microsoft/qsharp-runtime/pull/527? Shall I wait with merging 527 and remove the adj/ctl bridge APIs from it?

That's up to you, @irinayat-MS ; I think we know what updates would be need to made to the conditional support in #527 if it merges first. If you are ok waiting, then that will be two PRs instead of 3, but either way I don't think it's a problem.

OK. I've set 527 to merge automatically. If it merges successfully I'll follow up after yours to validate that we can remove the bridge for adj/ctl APIs. If it fails for whatever reason and your PR merges first, I'll align it with your refactor in a single change.


Update Gradle to 8.10

Description
Update Gradle to 8.10
Issues Resolved
N/A
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Do we need to update the same on other repos?

Thanks @peterzhuamazon , yes, it is desired (by not required), I did for some already


Update cached_network_image

Right now there is new version available for cached_network_image - 2.0.0-rc
It would be nice to update it in flutter_map, cos there are some braking changes, introdused by flutter team : The Flutter team made a breaking change with the ImageProvider in Flutter 1.10.15.
More details can be found here: https://github.com/renefloor/flutter_cached_network_image/issues/270

Any news on this?

pull requests accepted :)

thanks ;-)


User_agent:is_referral() is it correct??

at line 506 of :system/libraries/User_agent.php
$this->referer = ($referer_host && $referer_host !== $own_host);
shouldn't it be
$this->referer = ($referer_host && $referer_host === $own_host);
?

Here is a direct link to the line, to save the extra clicking :)
https://github.com/bcit-ci/CodeIgniter/blob/bd1e61500383245aec702f645955a774604687c6/system/libraries/User_agent.php#L505

It wouldn't be a referral if HTTP_REFERER and base_url are the same host, so, at least on the surface, the existing code appears to be correct.

It is correct.


CI warnings: Use Custom Errors instead of require statements

Our CI is generating warnings like the following on the latest master run:
Build and lint Airnode: packages/airnode-examples/contracts/authenticated-coinmarketcap/Requester.sol#L36
Use Custom Errors instead of require statements

The corresponding code:
https://github.com/api3dao/airnode/blob/c59f68e2c5439921d7d9081b0345b171a29f6eaf/packages/airnode-examples/contracts/authenticated-coinmarketcap/Requester.sol#L36
There are 10 in total, all corresponding to similar Requester.sol contracts within airnode-examples.
Do we want to make the suggested change?

Nah, that's just the sheeple bleating, custom errors vs. string errors is a tradeoff. String errors work on all chains and block explorers (people don't care because they're not on as many weird chains as us), even when the client doesn't know the contract ABI. This comes at the cost of higher deployment cost and higher unhappy path gas cost, so I only use custom errors if the contract is expected to be deployed many times and revert very frequently (as in https://github.com/api3dao/merkle-funder/blob/main/contracts/MerkleFunder.sol).
Immutables being capitalized SNAKE_CASE is flat out wrong (https://docs.soliditylang.org/en/v0.8.21/contracts.html#constant-and-immutable-state-variables) so I don't know what the solhint guys were thinking there.
I'm opening a PR to ignore both of these warnings


Player Details breaks when player has not played any COTDs or any matchmaking.

should be fixed with a few try catches.

fixed with latest player_details update


 with exact doesn't seem to apply active class for named routes correctly (2.0)

Vue.js & vue-router.js version
2.0.0-rc.3, 2.0.0-rc.3
Steps to reproduce
<router-link to="/" exact>Start</router-link> applies the active class but
<router-link :to="{ name: 'start' }" exact>Start</router-link> doesn't.
Problem
Should be the isSameRoute function in /src/util/route, but i cant find the error.
Link to reproduce
Here is a jsfiddle with that shows the behaviour: http://jsfiddle.net/jwahdatehagh/feowLxqm/1/
(thanks to @posva)

here's a fresh repro: http://jsfiddle.net/posva/wtpuevc6/ 😄

Thanks @posva, i've updated the link. It illustrates the problem...


Xcode81

Enabled Allow app extension API only

Thanks for thinking of this. Merged to master just in time for Interstellar 2.


Allow public unsafe smart contract functions to be called from outside

What was wrong?
unsafe functions weren't allowed to be public (pub) as described in #687
How was it fixed?
The issue was fixed by removing the block of code that checked whether the function is both pub and unsafe. i.e by removing the following check.
Later, the tests were updated to respect the same by updating the snapshots using cargo insta review.

Codecov Report

Merging #695 (ed9d0d9) into master (182d189) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #695      +/-   ##
==========================================
- Coverage   82.06%   82.05%   -0.01%
==========================================
  Files         125      125
  Lines       10881    10876       -5
==========================================
- Hits         8929     8924       -5
  Misses       1952     1952

Impacted Files
Coverage Δ

crates/analyzer/src/db/queries/functions.rs
90.10% <ø> (-0.27%)
:arrow_down:

Continue to review full report at Codecov.

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

just need to run cargo fmt

@g-r-a-n-t , yup. Formatting issues are fixed in the latest commit.


Allow to delete or keep backup files generated via neo4j-admin backup helm chart

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

this is implemented in the below PR's
https://github.com/neo4j/helm-charts/pull/226
https://github.com/neo4j/helm-charts/pull/224


A new cluster

@thomasjpfan I'm in the process of moving everything to a new cluster (GCE). For now, Jenkins running in that cluster is accessible through http://jenkins2.dockerflow.com. At the moment, only docker-flow-swarm-listener job is moved there.

Thank you for the update!

All the apps are transitioned. The only important difference is that Jenkins address is now jenkins2.dockerflow.com.

@vfarcic Can you update Jenkins to allow PRs to be tested?

It's done. You'll have to push a dummy commit to that PR to start a build.


Write a comparison to Helm

Feedback from people posting on social media is that Timoni's docs lack a detailed comparison of features to Helm. The doc should highlight the major differences like modules vs charts, values files CUE vs YAML, instances vs releases, server-side apply vs Helm 3-way-merge, CRDs upgrades vs Helm broken CRD support, bundles.

Hey Stefan. I just saw timoni and I'm totally naive to it, but it seems interesting to me, and I want to contribute to it, though, I'm not aware of the roadmap of the development, and its future features other than the open issues. Would you open some issues?


Try-finally for batch cleanup

Handling clean-up in generators via try-finally:

Some generators need to clean up (release allocated resources, close open files, etc.) after iteration over them is finished.

function* genFunc() {
    try {
        yield 'a';
        yield 'b';
    } finally {
        console.log('Performing cleanup');
    }
}

Try-finally block is not implemented yet nowhere. Bummer.


Architecture for high throughput

In the appended file I've written down some ideas on getting throughput way past the GB/s region that @sk1p and I had discussed. What do you think?
Ideas for scalable architecture.docx

A new draft of the architecture is now available in the repository. It is currently focused on data processing, though we haven't forgotten about acquisition and live processing. Feedback welcome!

I'm closing this now  since we are discussing architecture for live acquisition and embedding in #123.


[Web Components] add List Component

Convert the List Component from React to Web Component

We've decided to approach web-components differently (not try to build them out of React)


Fixes #54, #55, #56, #57

Closes #54
Closes #55
Closes #56
Closes #57
Also updated Fabric-Loom to 1.7-SNAPSHOT

Anyone there?


handlebar helpers not available at application level

I would like to have my handlebar helpers available to all my views, but for some reason this doesn't work:
var express = require('express');
var session = require('express-session');
var cookieParser = require('cookie-parser');
var bodyParser = require('body-parser');
var flash = require('connect-flash');
var logger = require('morgan');
var handlebars = require("express-handlebars");
var path = require('path');
var favicon = require('serve-favicon');

module.exports = function(app, envConfig){
  // view engine setup
  app.set('views', path.join(envConfig.rootPath, 'views'));

  var hbs = handlebars.create({
    helpers: {
      foo: function () { return 'FOO!'; },
      bar: function () { return 'BAR!'; }
    }
  });

  app.engine('.hbs', handlebars({
    extname: '.hbs',
    defaultLayout: 'main',
    layoutsDir: path.join(envConfig.rootPath,'views/layouts'),
    partialsDir: path.join(envConfig.rootPath, 'views/partials')
  }));
  app.set('view engine', '.hbs');
  app.use(logger('dev'));
  app.use(bodyParser.json());
  app.use(bodyParser.urlencoded({extended: true}));
  app.use(cookieParser());
   app.use(session({
    secret: 'temporary',
    resave: true,
    saveUninitialized: true
  }));
  app.use(flash());
  app.use(express.static(path.join(envConfig.rootPath, 'public')));
};

When I try to output that in my view I get nothing.
But if I set the function inside my render() method, it works:
var request = require('request');
var faker = require('faker');
var _ = require('lodash');

module.exports = {
  index: function(req, res){

      var numRecords = 10;
        var profiles = [];
        for(i=0; i < numRecords; i++) {

            profiles.push({
                full_name: faker.name.findName(),
                blurb: faker.lorem.words(5),
                avatar: faker.image.avatar()
            });
        }

    res.render('profiles/index', {
        profiles: profiles,
        layout : 'main',
        helpers: {
        foo: function () { return 'FOO!'; },
        bar: function () { return 'BAR!'; }
        }
     });
  }
};

Has anyone run into this issue?
Thank you in advance.

When I call the helper like this {{foo}} it works, but with inbuilt helpers like this {{#each foo}} {{/each}} it doesn't work. Are you facing the same issue?
http://stackoverflow.com/questions/37178436/express-handlebars-built-in-helpers-not-working

Same problem here

Same here, also if I register any custom helpers in exhbs.handlebars instance then also it is not available in applicaiton helper.
If we can not set the custom helper in global handlebar's instance then this module is of no use. I am currrently using https://github.com/barc/express-hbs in my project but because of slow rendering I was trying some alternative library.

Bah, same problems here...
Can only render helper functionality from the render method.
Is there anyone with an answer to this?

app.engine('handlebars', exphbs({
defaultLayout: 'main',
helpers: {
yourFirstGlobalHelper: function (foo) { return foo },
yourSecondGlobalHelper : function (bar) { return bar}
}
}));
app.set('view engine', 'handlebars');
And in your templates, simply call your global helpers this way:
{{yourFirstGlobalHelper someLocalVariable }}

I've replicated this too.
So for me when I have a an each helper:
{{#each someArray}}     {{>partial itemInArray}} {{/each}}
Then in the partial.hbs, custom helpers that have been added to global Express are not available.
This also seems to be true for parent context items when in each ( ../parentItem) and there is a bug for this too: #196


Windows installation (cannot build subprocess32)

I am having issues installing on windows. Can a wheel be created for windows os that doesn't require subprocess32 (which is incompatible with windows). Will be good to test this.
Error message is listed below .
Building wheels for collected packages: subprocess32
  Running setup.py bdist_wheel for subprocess32 ... error
  Complete output from command c:\python27\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\tobeya~1\\appdata\\local\\temp\\pip-build-    nwzk9d\\subprocess32\\setup.py';exec(compile(getattr(tokenize, 'open', open)   (__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d   c:\users\tobeya~1\appdata\local\temp\tmpcaj0oapip-wheel- --python-tag cp27:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win-amd64-2.7
  copying subprocess32.py -> build\lib.win-amd64-2.7
  running build_ext
  building '_posixsubprocess' extension
  creating build\temp.win-amd64-2.7
  creating build\temp.win-amd64-2.7\Release
  C:\Users\TobeyAsinugo\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Ic:\python27\include -Ic:\python27\PC /Tc_posixsubprocess.c /Fobuild\temp.win-amd64-2.7\Release\_posixsubprocess.obj
  _posixsubprocess.c
  _posixsubprocess.c(10) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
  error: command '"C:\Users\TobeyAsinugo\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe"' failed with exit status 2

  ----------------------------------------
  Failed building wheel for subprocess32
  Running setup.py clean for subprocess32
Failed to build subprocess32
Installing collected packages: subprocess32, hiredis, meld3, setuptools, supervisor, termcolor,     objgraph, ujson, mrq, Werkzeug, greenlet
  Found existing installation: subprocess32 3.2.7
    Uninstalling subprocess32-3.2.7:
      Successfully uninstalled subprocess32-3.2.7
  Running setup.py install for subprocess32 ... error
    Complete output from command c:\python27\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\tobeya~1\\appdata\\local\\temp\\pip-build-nwzk9d\\subprocess32\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\tobeya~1\appdata\local\temp\pip-a3xvhl-record\install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-2.7
    copying subprocess32.py -> build\lib.win-amd64-2.7
    running build_ext
    building '_posixsubprocess' extension
    creating build\temp.win-amd64-2.7
    creating build\temp.win-amd64-2.7\Release
    C:\Users\TobeyAsinugo\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Ic:\python27\include -Ic:\python27\PC /Tc_posixsubprocess.c /Fobuild\temp.win-amd64-2.7\Release\_posixsubprocess.obj
  _posixsubprocess.c
    _posixsubprocess.c(10) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
    error: command '"C:\Users\TobeyAsinugo\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe"' failed with exit status 2

    ----------------------------------------
  Rolling back uninstall of subprocess32
Command "c:\python27\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\tobeya~1\\appdata\\local\\temp\\pip-build-nwzk9d\\subprocess32\\setup.py';exec(compile(getattr(tokenize, 'open', open (__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\tobeya~1\appdata\local\temp\pip-a3xvhl-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in c:\users\tobeya~1\appdata\local\temp\pip-build-nwzk9d\subprocess32\

Hi @Tobey !
It seems that the latest subprocess32 should compile on Windows:
https://github.com/google/python-subprocess32/issues/2
We rely on a flag (https://github.com/pricingassistant/mrq/blob/47cff1109b6d59baaf4e616d00c93f9970d853b4/mrq/bin/mrq_worker.py#L59) that's not available in subprocess, so I'd recommend to test MRQ now again before we think about other workarounds.
Thanks!

We don't use this flag anymore in 0.9.x. Should we switch back to regular subprocess?

@Tobey turns out the process pools behave better with subprocess32, but it can definitely be considered optional. I've skipped the dependency on win32. Let me know how that works for you.

@sylvinus ill let you know how i get on


Game Crashes on Clicking the Mods Button in Menu

Minecraft version
1.21.1
Describe the bug
Game Crashes on Clicking the Mods Button in Menu
Steps to reproduce
Before i start. I am using Neoforge for Mincraft 1.21.3 but i cant chose it in the drop down Menu.

Using Minecraft Launcher or MultiMC
Installing Neoforge for Minecraft 1.21.3
Installing any Mods
Clicking on the Mods Button
...

Logs
https://pastebin.com/yW7S7mDC
Additional context
Since i dont have much Time to Play Online and dont wont to lose my Progress i Play on Singelplayer and use just a few Mods.
The Crash happens also when there is no Mod Installed and only Neoforge is Running.
The Mods i am using cant be run in Fabric or not jet Portet for Forge.
Ram total 16GB. Ram for MC 8GB. Runing MC on Win 11. All drivers uptodate. 44 Mods Installed.
Some of the Mods can be Configered in Game as far as i know. That can be done in the Mod Tab wich you reach when clicking on the Mod Button in the Menu. But every Time when i Click the Mod Button the Game Crashes.
Adding a Screenshot and the Crashlogs from MultiMC.

crash-2024-11-13_03.23.41-client.txt
crash-2024-11-13_03.19.44-fml.txt

You can't use Connector with 1.21.3 version of MC yet, only 1.21.1 is supported at this time.

Connector isnt Installed.
Or do you see it in the Log´s?
Or do i need it to fix that?
Sorry but i dont get you answer.

Then what does this crash report have to do with the Connector and why did you create a topic here if you don't use it? This is the Connector github, where Connector health reports are accepted.

Oh that was my mistake sorry.
In my research about Connecteri did end here and figured that it isnt for 1.21.3.
Beside i was looking for the Crash wish another Person told me is an Neoforge Bug.
So i confused where i was when i wrote the Report.
I am realy sorry.


fix: support macos

Issue Link: https://github.com/RGB-Tools/rgb-sandbox/issues/3
Due to the absence of the ss command in macOS, Docker Compose failed to start. We have modified the port checking to utilize nc to attempt connecting to the port for determination.
 rgb-sandbox % ss
zsh: command not found: ss

Issue Link: https://github.com/gardener/gardener/issues/7019

base64 -w0 does not function correctly on macOS, thus the -w0 option has been removed.

Thanks!


Fix generator. Do not remove jQuery plugins from application.js

Fixes #117.

:clap: :clap: :+1:
This looks great! Once the CI passe, I'm merging.
Thanks @szyablitsky!


how can I use shorty api_key as a parameter?

hello
how can I use shorty api_key as a parameter in shorty methode like below:
$result = Shorty::shorten($url,$api_key );
because of I want to use dynamic google api_key for every user.
may you help me?
thanks

This package is not designed to work that way. Sorry.


Move Ghci out of the Arc<Mutex<_>>

In #11 I removed the Weak<Ghci> pointers from the ghci task structs, favoring the mpsc channels for communication over locking a mutex. This means I can make several simplifications, in particular turning Ghci::reload into a real method that uses std::mem::replace.

Current dependencies on/for this PR:

main

PR #39   👈

PR #40

PR #34

This comment was auto-generated by Graphite.


ANC Subs Visit - Next Steps - Leg Pain or Redness [2h]

Issue
In subsequent encounters, a patient may identify a symptom for the first time which will result in a specific diagnosis. If they return and identify the same symptom again then the diagnosis may change.
When a patient identifies that they have leg pains as a symptom at any visit and answer NO to all follow-up questions, we provide health education (even if it is the 2nd or 3rd time they have had this symptom)

Supporting Documents:
You can see the logic for next steps here.
Notes:
Similar to the first ANC encounter, if a patient is receiving health education for multiple things they will stack in one health education sub-activity.
To Do:

Style next steps screens per design
Adjust logic per document

Updated this screen to:
(1) include leg redness as well
(2) added in the follow-up question so it is in the same format as other health education screens in the app

https://nutrition-ihangane.pantheonsite.io/
QA Review
Found issues and questions:

The word "or" is missing.

Checked and approved:

When the patient has leg pain or redness, as far as follow-up questions are no, they are offered health education.

Symptoms
Follow-up
Health education

@balagan73
Please retest

https://nutrition-ihangane.pantheonsite.io/
QA Review
Checked and approved:

Panel title is now 'Leg pain or redness'


Adopt GitHub Auth provider for issues reporter

Since we now have a way for users to login to GitHub within VSCode, we can leverage this in the issue reporter. As a first step, if the user is already signed in and we have a token with scopes for creating an issue, we can just directly post the issue instead of showing the intermediate "new issue" page

Point to note: users may have one set of credentials that they work against, but may want to report issues under a different set of credentials. (e.g. work vs personal).

Could the UI promote this solution so the (imo hacky) copy&paste is avoided?
The issue report screen could be broken into two workflows:

"Connect with GitHub to report an issue" button (opens form, works without copy&paste)
"Open GitHub in your browser" (opens issue template directly in GitHub, avoids form entirely)

Any updates on this?


Memory issue with long running process

Describe the bug
I'm running a continuous snoostorm process to monitor reddit comments and am running into memory issues. It looks like every new comment encountered is pushed into an array that isn't ever reduced in size. Perhaps snoostorm wasn't intended for a continuously running use-case?
To Reproduce
Steps to reproduce the behavior:

Execute a script that streams comments
Monitor the memory on your machine (I'm using free -m on Ubuntu)
Free memory should continue to be depleted

Expected behavior
Clear old inventory when it's no longer needed. The inventory array is used to filter out comments we have already seen. We can probably clear old inventory after the array reaches some length or remove inventory that's older than the 100th oldest comment.
Here's what I'm doing as a workaround. Probably not ideal:
let stream = new snoostorm.CommentStream(client, {
  subreddit: "all",
  limit: 100,
  pollTime: 1000,
}).on("item", (comment) => {
  processComment(comment)

  // Picked the #s 1000 and 500 here without much thought. Not ideal but better than
  // memory issues.
  let len = stream.inventory.length
  if (len > 1000) {
    stream.inventory = stream.inventory.slice(len - 500)
  }
})

System Configuration:
Using TypeScript? No
Node Version? v14.3.0
Snoostorm Version? v1.3.0

The issue has been noted. My use case for snoostorm was designed for short-running processes (checking for modmail during a period), so this hasn't come up as much. I'm going through the process of rewriting all of my open source projects, so this design flaw will be fixed in<EMAIL_ADDRESS>

So in<EMAIL_ADDRESS>the generic Poll has been updated to only store an identifier of the specified object in a Set.
processed: Set<T[keyof T]> = new Set<T[keyof T]>();

If this still proves to be too much memory consumption, you can manually clear the processed list with stream.processed.clear()


[vue3] Enabled tracing &metrics are not detected

Same issue for tracing & metrics:
https://github.com/user-attachments/assets/25dc6628-a3d4-42dd-bf97-b784f06a6a85

Looks like the catalog.cattle.io.app endpoint no longer returns the values used when installing the application, we are searching for app.spec.values.telemetry.{property} to determine if telemetry for tracing and metrics is enabled.

We could instead look at the ConfigMap for the kubewarden-collector installed by the kubewarden controller chart to determine if tracing or metrics is enabled.

I am reopening this because bug is also in rancher 2.8.10-alpha1 & v2.9.4-alpha2, we need to backport the fix.

Backports are released, closing


RedissonSpinLock maybe has some problem during the spinning?

redisson version: 3.16.8
JDK: <IP_ADDRESS>2
system: macOS 12.3 (21E230)
cpu: Apple M1 Pro
class: RedissonSpinLock
method: public boolean tryLock(long waitTime, long leaseTime, TimeUnit unit)
https://github.com/redisson/redisson/blob/d805a177546fc14788e731d3a29c6d0374eabcb1/redisson/src/main/java/org/redisson/RedissonSpinLock.java#L142
When the lock (RedissonSpinLock) was not acquired at first time, but it is acquired during the spinning and time <= 0, the lock will keep locked until the leaseTime.
But in that period of time, no one can really acquire the lock.
Could it return true even if time <= 0?
The code may look like:
        LockOptions.BackOffPolicy backOffPolicy = backOff.create();
        while (ttl != null) {
            current = System.currentTimeMillis();
            Thread.sleep(backOffPolicy.getNextSleepPeriod());
            ttl = tryAcquire(leaseTime, unit, threadId);
            if (ttl == null) {
                return true;
            }
            time -= System.currentTimeMillis() - current;
            if (time <= 0) {
                acquireFailed(waitTime, unit, threadId);
                return false;
            }
        }
        return true;

Or maybe it should unlock itself when it the time <= 0 before return false.

Can this be confirmed?

Fixed! Thanks for suggested change


Cannot choose same date for departure and return

When selecting the dates if I choose the same date for the end date as I did for the start date, it makes the start field blank.
How can I change the functionality so that it will allow me to choose a start and end date that is the same day?
Thanks

Are you using a date range? On the demo, there is no problem selecting the same time for the start and end of the range.
If you are using individual pickers, can you please provide a sample of your datepicker usage?

Hello, I figured it out. We had an intern come in an mess with the code, I
think it was some hack he made that stopped it, but I was able to fix it.
Thanks for the quick reply though
On Thu, Nov 12, 2015 at 1:39 PM, Daniel Talash<EMAIL_ADDRESS>wrote:

Are you using a date range? On the demo
https://rawgit.com/g00fy-/angular-datepicker/master/app/index.html,
there is no problem selecting the same time for the start and end of the
range.
If you are using individual pickers, can you please provide a sample of
your datepicker usage?
—
Reply to this email directly or view it on GitHub
https://github.com/g00fy-/angular-datepicker/issues/206#issuecomment-156244492
.


Overviewing and Revisioning of Requirements and Planning

According to the received feedback from customers, requirements and plans must be re-evaluated and revisioned. (Deadline: 29.3.2016 Tuesday)
@atakanguney @mbugc @suyunu @gokarslan @sevdacopur @ozerbiber  @dabager

Done.


Sass @include fixes

Make sure that comments inside @include parameters are not removed
Format comments inside @include parameters
Don’t add extra empty lines to @include calls that are next to each
other
Format multiple empty lines between @include calls to one empty line
Add extra empty lines to @include calls that are between rules or
Sass blocks

Nice work!


CRITICAL security vulnerability reported in image scan (python:3.7.4-slim-buster)

I am using python:3.7.4-slim-buster docker image for a python application which is a Linux based docker container image. I received the results from a BlackDuck (BD) image scan on my container image and has a reported CRITICAL security vulnerability for BerkeleyDB 5.3.28. I was wondering if someone can help me suggest a way to solve the issue.
The BD report suggests upgrade from BerkeleyDB 5.3.28 to v6.2.31 will fix the vulnerability. Most recent being v18.1.32. Digging down into the root of the container I found libdb-5.3.so listed in the following dir:
root@08ad4950b59f:/usr/lib/x86_64-linux-gnu# ls
audit              libexpatw.so.1    liblz4.so.1         libsqlite3.so.0.8.6
coreutils          libexpatw.so.1.6.8    liblz4.so.1.8.3     libssl.so.1.1
engines-1.1        libffi.so.6       libmenuw.so.6       libstdc++.so.6
gconv              libffi.so.6.0.4   libmenuw.so.6.1     libstdc++.so.6.0.25
libacl.so.1        libformw.so.6     libnettle.so.6      libtasn1.so.6
libacl.so.1.1.2253     libformw.so.6.1   libnettle.so.6.5    libtasn1.so.6.5.5
libapt-pkg.so.5.0      libgdbm.so.6      libp11-kit.so.0     libtic.so.6
libapt-pkg.so.5.0.2    libgdbm.so.6.0.0  libp11-kit.so.0.3.0     libtic.so.6.1
libapt-private.so.0.0      libgmp.so.10      libpanelw.so.6      libunistring.so.2
libapt-private.so.0.0.0    libgmp.so.10.3.2  libpanelw.so.6.1    libunistring.so.2.1.0
libattr.so.1           libgnutls.so.30   libpcreposix.so.3   libzstd.so.1
libattr.so.1.1.2448    libgnutls.so.30.23.2  libpcreposix.so.3.13.3  libzstd.so.1.3.8
libcrypto.so.1.1       libhogweed.so.4   libseccomp.so.2     perl
libdb-5.3.so           libhogweed.so.4.5     libseccomp.so.2.3.3     perl-base
libdebconfclient.so.0      libidn2.so.0      libsemanage.so.1
libdebconfclient.so.0.0.0  libidn2.so.0.3.4  libsqlite3.so.0

Also, the BD report lists the following as the source of the vulN:
debian libdb5.3/5.3.28+dfsg1-0.5/amd64

I wonder what is a way to upgrade this package called BerkeleyDB and how can it be done. Thanks in advance for any help on this matter.

Do you have a specific CVE number or other identifier that would help us chase this down?
$ docker pull python:3.7-slim-buster
3.7-slim-buster: Pulling from library/python
Digest: sha256:4b0cd7cc8a201bd8098adbb2f2ffef55eec1364297b0c1c6630cc4dee41739e3
Status: Downloaded newer image for python:3.7-slim-buster

$ docker run -it --rm python:3.7-slim-buster bash
root@6b90558f8f0f:/# apt-get update -qq
root@6b90558f8f0f:/# apt-get install libdb5.3
Reading package lists... Done
Building dependency tree
Reading state information... Done
libdb5.3 is already the newest version (5.3.28+dfsg1-0.5).
libdb5.3 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@6b90558f8f0f:/# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Here are the 48 vulnerabilities found by BlackDuck for BerkeleyDB 5.3.28
VulNs-BerkeleyDB5.3.28.pdf
Hope this helps.

Extracted from the PDF for easier evaluation (with the actual relevant Debian security tracker links):

CVE-2015-2583: https://security-tracker.debian.org/tracker/CVE-2015-2583
CVE-2015-2624: https://security-tracker.debian.org/tracker/CVE-2015-2624
CVE-2015-2626: https://security-tracker.debian.org/tracker/CVE-2015-2626
CVE-2015-2640: https://security-tracker.debian.org/tracker/CVE-2015-2640
CVE-2015-2654: https://security-tracker.debian.org/tracker/CVE-2015-2654
CVE-2015-2656: https://security-tracker.debian.org/tracker/CVE-2015-2656
CVE-2015-4754: https://security-tracker.debian.org/tracker/CVE-2015-4754
CVE-2015-4764: https://security-tracker.debian.org/tracker/CVE-2015-4764
CVE-2015-4774: https://security-tracker.debian.org/tracker/CVE-2015-4774
CVE-2015-4775: https://security-tracker.debian.org/tracker/CVE-2015-4775
CVE-2015-4776: https://security-tracker.debian.org/tracker/CVE-2015-4776
CVE-2015-4777: https://security-tracker.debian.org/tracker/CVE-2015-4777
CVE-2015-4778: https://security-tracker.debian.org/tracker/CVE-2015-4778
CVE-2015-4779: https://security-tracker.debian.org/tracker/CVE-2015-4779
CVE-2015-4780: https://security-tracker.debian.org/tracker/CVE-2015-4780
CVE-2015-4781: https://security-tracker.debian.org/tracker/CVE-2015-4781
CVE-2015-4782: https://security-tracker.debian.org/tracker/CVE-2015-4782
CVE-2015-4783: https://security-tracker.debian.org/tracker/CVE-2015-4783
CVE-2015-4784: https://security-tracker.debian.org/tracker/CVE-2015-4784
CVE-2015-4785: https://security-tracker.debian.org/tracker/CVE-2015-4785
CVE-2015-4786: https://security-tracker.debian.org/tracker/CVE-2015-4786
CVE-2015-4787: https://security-tracker.debian.org/tracker/CVE-2015-4787
CVE-2015-4788: https://security-tracker.debian.org/tracker/CVE-2015-4788
CVE-2015-4789: https://security-tracker.debian.org/tracker/CVE-2015-4789
CVE-2015-4790: https://security-tracker.debian.org/tracker/CVE-2015-4790
CVE-2016-0682: https://security-tracker.debian.org/tracker/CVE-2016-0682
CVE-2016-0689: https://security-tracker.debian.org/tracker/CVE-2016-0689
CVE-2016-0692: https://security-tracker.debian.org/tracker/CVE-2016-0692
CVE-2016-0694: https://security-tracker.debian.org/tracker/CVE-2016-0694
CVE-2016-3418: https://security-tracker.debian.org/tracker/CVE-2016-3418
CVE-2017-10140: https://security-tracker.debian.org/tracker/CVE-2017-10140
CVE-2017-3604: https://security-tracker.debian.org/tracker/CVE-2017-3604
CVE-2017-3605: https://security-tracker.debian.org/tracker/CVE-2017-3605
CVE-2017-3606: https://security-tracker.debian.org/tracker/CVE-2017-3606
CVE-2017-3607: https://security-tracker.debian.org/tracker/CVE-2017-3607
CVE-2017-3608: https://security-tracker.debian.org/tracker/CVE-2017-3608
CVE-2017-3609: https://security-tracker.debian.org/tracker/CVE-2017-3609
CVE-2017-3610: https://security-tracker.debian.org/tracker/CVE-2017-3610
CVE-2017-3611: https://security-tracker.debian.org/tracker/CVE-2017-3611
CVE-2017-3612: https://security-tracker.debian.org/tracker/CVE-2017-3612
CVE-2017-3613: https://security-tracker.debian.org/tracker/CVE-2017-3613
CVE-2017-3614: https://security-tracker.debian.org/tracker/CVE-2017-3614
CVE-2017-3615: https://security-tracker.debian.org/tracker/CVE-2017-3615
CVE-2017-3616: https://security-tracker.debian.org/tracker/CVE-2017-3616
CVE-2017-3617: https://security-tracker.debian.org/tracker/CVE-2017-3617
CVE-2019-2708: https://security-tracker.debian.org/tracker/CVE-2019-2708
CVE-2019-8457: https://security-tracker.debian.org/tracker/CVE-2019-8457

I sorted through the full list, and only the following two are even remotely relevant to Debian / the referenced image:

https://security-tracker.debian.org/tracker/CVE-2017-10140

fixed in all Debian versions back in 2017 (so long-since fixed in this image)

https://security-tracker.debian.org/tracker/CVE-2019-8457

considered a "Minor issue" by the Debian security team, and thus never fixed in Debian Stretch (although it is fixed in Debian Buster, which the referenced image is based on)

In other words, I don't see anything in that report that isn't a false positive. :confused:

I agree a lot of this might be false positives, but company policy mandates rectifying critical findings :roll_eyes: Any way you can suggest we can update the BerkeleyDB package to 6.2.31 or higher on our end?

I don't know of a way to do so without breaking things; I'd recommend
contacting Black Duck and asking them if they can fix these detections that
don't apply.

Ok fair enough. One last favor, can you take a look at the following list? We have two more critical vulnerabilities for Sqllite and Perl:
http://sqlite.org/
SQLite3.27.2
Versions:417
Columns: Identifier, Published, Base Score, Exploitability, Impact
NVD CVE-2017-10989				Jul 7, 2017	7.5	10	6.4
NVD CVE-2017-2519				May 22, 2017	7.5	10	6.4
NVD CVE-2017-2518				May 22, 2017	7.5	10	6.4
NVD CVE-2017-2520				May 22, 2017	7.5	10	6.4
NVD CVE-2018-20506				Apr 3, 2019	6.8	8.6	6.4
NVD CVE-2018-20346				Dec 21, 2018	6.8	8.6	6.4
BDSA BDSA-2019-2110 (CVE-2019-5827)	Jul 16, 2019	6.8	8.6	6.4
BDSA BDSA-2019-2130				Jul 16, 2019	5.8	8.6	4.9
BDSA BDSA-2019-0814 (CVE-2019-9936)	Mar 26, 2019	5	10	2.9
BDSA BDSA-2019-1682 (CVE-2019-8457)	Jun 3, 2019	5	10	2.9
BDSA BDSA-2019-1472 (CVE-2019-5018)	May 13, 2019	5	10	2.9
NVD CVE-2018-20505				Apr 3, 2019	5	10	2.9
BDSA BDSA-2019-2131				Jul 16, 2019	5	10	2.9
BDSA BDSA-2019-0813 (CVE-2019-9937)	Mar 25, 2019	5	10	2.9
NVD CVE-2016-6153				Sep 26, 2016	4.6	3.9	6.4
BDSA BDSA-2019-2132				Jul 16, 2019	4.6	3.9	6.4
NVD CVE-2017-13685				Aug 29, 2017	4.3	8.6	2.9

http://www.perl.org/
Perl5.28.0
Versions:1269
Columns: Identifier, Published, Base Score, Exploitability, Impact
NVD CVE-2018-18314				Dec 7, 2018	7.5	10	6.4
BDSA BDSA-2018-4215 (CVE-2018-18311)	Dec 5, 2018	6.4	10	4.9
NVD CVE-2018-18313				Dec 7, 2018	6.4	10	4.9
BDSA BDSA-2018-4217 (CVE-2018-18312)	Dec 5, 2018	5.1	4.9	6.4

I am still in process to work on these, but in most likelihood these are false positives as well. It will be great to have an assurance from the docker team. Helps rest my case :stuck_out_tongue_closed_eyes:

If those are in this same image, you'll want to look up the CVEs on https://security-tracker.debian.org/tracker/ to check their applicability (just as I've done above).
See also https://github.com/docker-library/faq#why-does-my-security-scanner-show-that-an-image-has-cves for more information/tips.


Create 2021-12-03_gnuradio.yaml

Technical Writer for GNU Radio

Thanks @saminatrachier! Job is up with permalink https://jobs.numfocus.org/job/2021-12-03_gnuradio


feat: manual trigger

features:

manual workflow trigger
python version variable updates
update reqirements

Codecov Report

Merging #2 (21249d6) into master (60cebff) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 21249d6 differs from pull request most recent head 38bb585. Consider uploading reports for the commit 38bb585 to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##           master       #2   +/-   ##
=======================================
  Coverage   91.38%   91.38%
=======================================
  Files          25       25
  Lines         894      894
=======================================
  Hits          817      817
  Misses         77       77


Equation numbering

Is it possible to support \tag{} in a conversion to braille?  To get hard-coded numbers like "(5.6)" in single or multi-line displays?  Or maybe get them to produce at least the right textual version?
I've removed \label{} from the LaTeX I process off-line, but "need" the equation number since presumably an author will use it as target of a cross-reference.
They seem to work great in conversion to MathML and SVG.  I might be able to hack-in a replacement by  \text{(5.6)} which might produce acceptable Nemeth, but it would be cleaner if SRE was doing that.

May have spoken too soon.  Transcriber at Nebraska has a list of comments, which I will eventually distribute to where they need to go.  One is

When there is a left-to-right scroll bar, there is a lot of braille symbols before the formulas.  I am deleting all of that.  Also- the label of the formula (5.5) should be a heading 3 before the formula begins. I am moving it from the far right (after the formula) to a heading before the formula.

I could do that for a one-line equation (not so cleanly), but perhaps this is what needs to be done for multi-line especially.  I can find out what "heading 3" is, it might mean start in column 3.


Pr cleanup

Fixes Or Enhances
Make sure that you've checked the boxes below before you submit PR:

[x] Tests exist or have been written that cover this particular change.

@go-playground/admins

Coverage decreased (-0.008%) to 75.956% when pulling 34392c0daed68e1dcc91952fb6714f4766a5f4a3 on pr-cleanup into a53d64fc35007c84eb9ac307c489dac9186a6b91 on master.


Consider removing unused components, actions, conditions, and blueprints

If a component / action / condition / blueprint isn't actually used it's less stable. It might be helpful and trim down on option overload to remove anything that doesn't exist.

Done with code analysis in 2.0.


Bring everything from origin

@fabiocosta0305 was this PR added intentionally? If so, what are you trying to contribute?


any_of does not localize multiple fields

any_of doesn't suffix the field key with the locale if more than one condition is provided.
# Working fine:
Post.any_of title: 'Hello World' # => { :title.en => 'Hello World' }

# Working not so fine:
Post.any_of title: 'Hello World', description: 'Hello World' # => { :title => 'Hello World', :description => 'Hello World' }

I looked around a little, and it seems to be caused by the []= method in the Selector module because it doesn't recognize these kinds of nested keys. I changed handle_and_or_value(values) to localize keys and now things work great.
def handle_and_or_value(values)
  [].tap do |result|
    result.push(*values.map do |value|
      Hash[value.map{ |key, value| key = "#{key}.#{::I18n.locale}" if klass.fields[key.to_s].try(:localized?); [key, try_to_typecast(key, value)] }]
    end)
  end
end

I'm using Mongoid 2.4.3, and I'm loving it! Keep up the good work :)

Nice catch.


Capabilities

Allow to pass --capability CAPABILITY_IAM argument.
c.f.: http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateStack.html

Thanks!


HIVE-27993 : Netty4 ShuffleHandler: should use 1 boss thread

Similar to Tez TEZ-4394, and Hadoop, Hive LLAP ShuffleHandler should also use a single thread for boss thread pool.

Thanks for helping with review @zhangbutao
Rebased and now we have a green run!

@abstractdog Could you please take a look as well? Thx.


Add Rubinius to available Rubies

What would it take to add Rubinius to the available Rubies?

we're deprecating the drone/images repository in favor of the official language stacks. The drone team will focus solely on the CI platform and build orchestration, and will leave the image creation to the respective communities.


Add sourcemap support

This pull request is based on #346, but somewhat cleaned up (and it looks like that PR might be abandoned).

What's the status of this PR? Any chance it could be merged in at some point?

@fdintino This needs tests and docs at least. Are there other compressor supporting source maps that could be added at the same time?

I've also written support for sourcemaps for uglifyjs and cssclean.
I agree on the tests, though I wasn't sure what the best way to go about that is. My first thought was to get node and java packages installed with the .travis.yml and bootstrap the different test cases with package.json files installed into temp directories (there is even an npm package to get closure.jar, so I could even use it for that). I would of course check if node or java is in the PATH and if not raise a SkipTest

Thanks for this. I haven't had capacity for working more on my old PR - appreciate you picking this up!

Just a thought, do you think it's enough to add source map support at the compression stage but not the compilation stage? Without source maps for compilers, what do you do about coffeescript or ES6/jsx files?

Provided that the compiler stage adds the sourceMappingURL comment at the bottom of the file, then the cleancss and closure compressors will merge the original input source maps into the final one. We use the sass compiler with sassc and the --sourcemap flag and it works great with the cleancss compressor (if you want, inspect an element in Chrome on http://www.theatlantic.com/ to see it at work).1 I haven't tested that it works with closure (though I plan on writing unit tests for that once #531 is merged) but in theory it should, as I explicitly parse and pass along the input source maps in the closure arguments. UglifyJS only supports a single input source map via the cli for now but the support already exists in the API for multiple input source maps so you could customize the uglifyjs bin script to add this feature for yourself until the cli ticket is fixed. Or use the closure compressor, though it's about 10 times slower than uglify. None of the other bundled compressors support input source maps, so it would have to be between the above tools if you want this feature. The only other tool I'm aware of that can minify and concatenate input source maps is gulp. And I did write a gulp compressor before we switched to cleancss. But it's a terrible mess of dynamically building a Gulpfile.js in a temp directory and executing it with that cwd.
1 Annoyingly, sassc (i.e. libsass), node-sass, and ruby sass all have different command-line flags for enabling source map output

As you can tell, I've thought a lot about this :-)
So the short answer I suppose is that you can add the appropriate flags in your %(COMPILER)s_ARGUMENTS to enable sourcemaps for the time being. I think it would make sense for the OUTPUT_SOURCEMAPS setting to automatically add these flags to compilers that support source maps when True. But to be honest, given that it works well enough for our specific purposes, I'm not very motivated to improve upon this pull request until I get a sense that the maintainers (and I suppose specifically @cyberdelia) are ever going to merge them or even give feedback.

This doesn't yet include the unit tests for source maps, but it's freshly rebased off of master (resolving the conflicts) and a few minor fixes are included, in case anyone wants to use this branch while I add tests and documentation.

@cyberdelia @davidt
Is there any hope of ever merging this? It seems like a lot of the more meaningful, architectural PRs are sort of just being ignored out-of-hand, and I've yet to see any explanation as to why.

@tobz This PR isn't being ignored, it's on me actually to finish it. I have some work I haven't pushed out yet that allows for sourcemaps for the post-processors that support it, but getting those sourcemaps to concatenate in the compressor step has proved challenging, specifically for javascript. uglifyjs does not support multiple input sourcemaps, nor does closure compiler. One option is to concatenate the sourcemaps in python (the source map spec is not all that complicated) and then pass a single input sourcemap to uglifyjs, but when I attempted that the performance isn't great. I'll work a bit more on it and perhaps leave multilevel sourcemap support for a future pull request.

@fdintino Adding my two cents on what worked for me: I ended up going with the 'concatenate sourcemaps then feed it to uglifyjs' option, and I used your source-map-concat-cli to do it (which I imagined you had written for this purpose!). Then I wrote a custom compressor to tie it all together. I never cared too much to test the performance since everything is only compiled once for Production anyway, although it seems to run fast enough in development.


ModuleNotFoundError: No module named 'readchar'

Following the guide, step by step. I've got as far as Create a BrachioGraph instance, when, I get this:
pi@raspberrypi:~ $ sudo pigpiod
pi@raspberrypi:~ $ cd BrachioGraph
pi@raspberrypi:~/BrachioGraph $ python3
Python 3.7.3 (default, Dec 20 2019, 18:57:59)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

from brachiograph import BrachioGraph
Traceback (most recent call last):
File "", line 1, in
File "/home/pi/BrachioGraph/brachiograph.py", line 4, in
import readchar
ModuleNotFoundError: No module named 'readchar'

Hi,
As the guide mentions (https://www.brachiograph.art/get-started/install.html#other-python-packages) you need to install readchar first.

I'm assuming I did that with the line
pip install tqdm readchar ?
I didn't see any errors at the time, but I'll try again without using the Virtual Environment (pip3) method.

try pip3

Thanks all, Using pip3 seems to allow me to progress to the next step.


[in_app_purchase] An Active Subscription List iOS

Question
Is there a way to get an active subscription list on iOS using in_app_purchase plugin?

for a person documenting this: on android billing library only returns active subscription. on iOS Apple decided that developers must implement subscription validation on their end, so they always return all past purchases from their restoration method
there are few solutions

local via library
local via calling verifyReceipt directly
server side validation via the same verifyReceipt

other things to add:

local validation via calling verifyReceipt directly is not encouraged
local validation via library heavy and not implemented in flutter yet see #52522
a sample code of server-side validation in https://github.com/flutter/flutter/issues/77232#issuecomment-790768659

article in apple documentation about validation techniques
https://developer.apple.com/documentation/storekit/in-app_purchase/choosing_a_receipt_validation_technique?language=objc

@mvanbeusekom I think this issue is also addressed with the latest codelab?

Could this be implemented with currentEntitlements?
https://developer.apple.com/documentation/storekit/transaction/currententitlements


Update DD to 0.28

@rohandahale I changed some of the multidomain nfft stuff. You may want to check this over before I merge this PR.

This is good to go so merging


$extend should have its own unique support

The docs state that you can use "$include — for included mixins (e.g. @include ... and @extend ...)", however, $extend should get its own unique support, as the preferred way for many Sass developers is to write their rulesets like this:
.foo {
  @extend %bar;

  normal: property;

  @include baz {
    another: property;
  }
}

This allows for the clear separation of:

This thing extends from another thing
I will then override any of the thing's extended properties with new ones
And then include any mixins specific to this thing.

Currently, adding $include in to the sort order lumps @extends with it, thus breaking the visual flow of overriding properties.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/26296599-extend-should-have-its-own-unique-support?utm_campaign=plugin&utm_content=tracker%2F214563&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F214563&utm_medium=issues&utm_source=github).

Fixed in dev already. See #204


Error requesting reviewer; but reviewer was requested

$ hub pull-request -r @terryma
Error requesting reviewer: Created (HTTP 201)

Yet the PR showed up just fine with the requested reviewer. Any thoughts?

I can do this actually, this is pretty easy to fix.

@mislav I'm pretty sure that the fix is trivial; the code is checking for a 200, but the right status code is 201.
I can't build master as I have 11 test errors. Since you seem to be a current active contributor, do you think you can make the fix?


99% CPU usage in Prod

Good afternoon,
In the system we have generated two topics. One for notifications of messages and one for real-time auctions.
The operation is really good considering the topic of auctions performed very complex requests.
However, in many cases regardless of the work you are performing the overall cpu socket is at 100%.
any ideas to solve or optimize the operation?
Thank you!

I have no idea, how many rpm on this action? It's very hard to say because it can from the traffic, the code in the process etc etc ...
Are you using child process to delegate operation in another thread than the main loop?

This function executes every 15 seconds.
public function onUpdateNotifications(ConnectionInterface $connection, Topic $topic, WampRequest $request, $event, array $exclude, array $eligible)
    {
        $this->changeEnvironment($connection);

        $idDestinatario = $event['destinatario'];
        $destinatario = $this->em
            ->getRepository('AdministracionBundle:User')
            ->findBy(array('id' => $idDestinatario));

        // Obtenemos el número de mensajes y notificaciones nuevas
        $datos = $this->em
            ->getRepository('ItbidMensajesBundle:Mensaje')
            ->NotificationsData($destinatario[0]);

        $parameters = array(
            "messageCount" => $datos['count_messages'],
            "notificationCount" => $datos['count_notifications'],
        );
        $this->sendToAll($topic, "updateCounters", $parameters);
    }

If the process take a lot of time it's problematic, React is non blocking and async but the doctrine is not, this is blocking the loop.
If your script is taking something like 10sec you are processing all the time and blocking the rest of execution. You should delegate the task with react child process or async mysql client


Integrate the GOPATH hacks to allow for codegen anywhere.

Proposed Changes

Use GOPATH hacks to codegen anywhere.

fixes: #233

/lgtm


Cannot view account details

When the theme is enabled, I can no longer view my profiles details.

When disabled I can.

It would be better if you joined the betterdiscord server or DM me about this issue, im barely active on here. Anyways are you sure you dont have any other themes/custom css enabled?


x64 bswap dataflow is incorrect

>>> bv.get_disassembly(here)
'bswap   rax'
>>> current_mlil.ssa_form[8]
<il: rax#1 = temp0#1 | (temp1#1 | (temp2#1 | (temp3#1 | (temp4#1 | (temp5#1 | (temp6#1 | temp7#1))))))>
>>> for var in current_mlil.ssa_form[8].vars_read:
... 	print var, current_mlil.ssa_form[8].get_ssa_var_possible_values(var)
...
<ssa <var int64_t temp0> version 1> <unsigned ranges: [<range: 0x0 to 0xff00000000000000, step 0x100000000000000>]>
<ssa <var int64_t temp1> version 1> <unsigned ranges: [<range: 0x1000000000000 to 0xff000000000000, step 0x1000000000000>]>
<ssa <var int64_t temp2> version 1> <unsigned ranges: [<range: 0x10000000000 to 0xff0000000000, step 0x10000000000>]>
<ssa <var int64_t temp3> version 1> <unsigned ranges: [<range: 0x100000000 to 0xff00000000, step 0x100000000>]>
<ssa <var uint64_t temp4> version 1> <unsigned ranges: [<range: 0x1000000 to 0xff000000, step 0x1000000>]>
<ssa <var uint64_t temp5> version 1> <unsigned ranges: [<range: 0x10000 to 0xff0000, step 0x10000>]>
<ssa <var uint64_t temp6> version 1> <unsigned ranges: [<range: 0x100 to 0xff00, step 0x100>]>
<ssa <var uint64_t temp7> version 1> <unsigned ranges: [<range: 0x1 to 0xff>]>

Each of these tempX Variables should have a possible values range of [<range: 0x0 to 0xff...., step ....>]. As it stands, dataflow currently considers it impossible for rax#1 to be 0, which is clearly not the case.

Fixed in build 1.1.1081-dev.


[Bug/Feature]: "Active citation key formula" not editable, overrides citation key format

Debug log ID
Y6R4KKQZ-euc
What happened?
Hi @retorquere,  Here is what I'm currently experiencing. The Citation Key Formula is set to Auth.Etal2.fold + '-' + year however there's a second field called "Active citation key formula" with value (auth.lower + year). Any new resources added to the library adopts the "active" formula. I cannot edit the "active" formula.  Thanks in advance for advice or assistance on this.

please try build 4203

Auth.Etal2.fold + '-' + year is not a valid formula -- try authEtal2.fold + '-' + year

The edit field should have gone orange, and if you hover over the field, it should tell you that Auth is not a valid field.

Thank you - the edit field was orange. I updated the values to "authEtal2.fold + '-' + year" as directed. As shown in attached capture the additional "Active citation key formula" field is no longer showing. I tested by adding a new Title and it auto-pinned using the correct cite key formula.


Postgraphile introspection fails to produce full schema

Steps to reproduce
Following successful connection to NeonDB and installation of postgraphile, the automatic generation of the schema will produce a schema with only functions. Tables, domains, and edges are all missing.
Expected result
The same schema should be generated from a NeonDB database as you would expect for a vanilla Postgres DB.
Actual result
The automatic generation of the schema will produce a schema with only functions. Tables, domains, and edges are all missing.
Environment
Postgraphile v5.0.0
Node v18.16.0
NeonDB Postgres v15
The owner of the functions is the same as the tables.
Logs, links

Weird. I have no prior experience with postgraphile, but it works for me:

First I created a new project on neon, connected t it with psql, and created two tables called "foo" and "bar".

I launched postgraphile per the instructions at https://postgraphile.org/news/2023-08-03-version-5-beta/:

~$ npx pgl@beta -P pgl/amber -e -c "postgresql://neondb_owner@ep-purple-sunset-a2h6sfjp.eu-central-1.aws.neon.tech/neondb?sslmode=require" -s public
The GRAPHILE_ENV environmental variable is not set; Grafast will run in production mode. In your development environments, it's recommended that you set `GRAPHILE_ENV=development` to opt in to additional checks that will provide guidance and help you to catch issues in your code earlier, and other changes such as formatting to improve your development experience.
Server listening on port 5678 at http://[::]:5678/graphql

I opened a browser to that URL. In the GraphQL Explorer, I can see the two tables:

I'm closing this issue, on the assumption that whatever the problem was, it's been fixed by now. Please reopen if you can still reproduce it.
(P.S. sorry for the delay, I noticed this report only now, when going through old issues..)


Add support for more links

Can you please add support for https://terabox.com/ and https://pkin.me/ ?
Here are the example urls:
https://terabox.com/s/1y_Lns3qOk6BgCuPn8BtErQ
And
https://pkin.me/U69JIgs

Pkin.me added
I will add terabox later.

can u make a release of the latest fix on pypi ?

Yes was doing that only. Was writing changelogs


transitive dependency error while working with cocoapods

The 'Pods' target has transitive dependencies that include static binaries: (/Users/xxx/workspace/xcode/iBBS-Swift/Pods/OpenSSL/lib/libcrypto.a and /Users/xxx/workspace/xcode/iBBS-Swift/Pods/OpenSSL/lib/libssl.a)in

duplicate of #40


[JOOQ][Twinkle-05] Integrate Flyway for Database Migrations

Setup and Integrate Flyway for Database Version Control
Description:
Add Flyway to manage our database migrations. Configure it to work with our existing database setup and document the process for creating and applying new migrations.
Acceptance Criteria:

[ ] Flyway integrated into the project.
[ ] Initial migration scripts reflecting the current database schema created.
[ ] Documentation for migration process available for the development team.

Habr resources:

Миграции баз данных с Flyway
Контроль версий в базах данных — Сравнение Liquibase и Flyway


Readme in master refers to needing to be merged into master

The readme.md file that is in the branch refers to needing to be merged into master when it is already in master.  This needs to be cleaned up.

I will clean it up and commit the update.

This issue has been correct and fixed here.


Update Composer dependencies (2021-03-08-00-11)

Visual regression test passed!
View the visual regression test report


Qiskit elements image not looking fancy enough on white background

docs/images/qiskit_elements makes use of transparency, but assuming the background is black.

yeah it should be nicer


ChatGPT cannot generate the right SPARQL.

For TheSession Database:
If I ask Please find a tune of music genre "jig", of "D major", the name of which tune contains "colm".,
Gpt generated SPARQL:
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>

SELECT DISTINCT ?tune_name ?tune_id
WHERE {
  GRAPH <http://sample/thesession/reconciled> {
    ?tune_id a wd:Q170412;  # Filtering for tunes
             wdt:P136 wd:Q8281;  # Music genre "jig" (Assumed Q8281 is the QID for "jig")
             wdt:P826 wd:Q8383;  # Mode "D major" (Assumed Q8383 is the QID for "D major")
             wdt:P2561 ?tune_name.  # Name of the tune
    FILTER(CONTAINS(LCASE(STR(?tune_name)), "colm"))
  }
}
LIMIT 10

It chose the wrong Q-IDs for both "jig"and "D major".
The expected SPARQL should be like:
prefix rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
prefix wd:<http://www.wikidata.org/entity/>
prefix wdt:<http://www.wikidata.org/prop/direct/>
select distinct * from <http://sample/thesession/reconciled>
where {
?Tune rdf:type wd:Q170412;
           wdt:P2561 ?nameOfTune;
           wdt:P136 wd:Q1079270;
           wdt:P136 ?Type;
           wdt:P826 wd:Q1124006.
filter(contains(str(?nameOfTune), "colm")).
}

I have uploaded a folder about prompt engineering:
https://github.com/DDMAL/linkedmusic-queries/tree/main/LLM2SPARQL_TheSession_WikiData_MusicBrainz
@fujinaga You may try running the trial.py to see the generated SPARQL.

OK, as you said, I think and out of expediency, we can put the Q-entities in the context to feed GPT.


Change return values and arguments of some functions

Reference: https://github.com/digego/extempore/pull/352#issuecomment-460160118
Is this master branch reflected in the latest version of extempore (in CMakeLists.txt)?
I want to use nvgLerpRGBA function.
But, When I compiled the latest version of extempore, the following code is generated in libs/aot-cache/nanovg.xtm
(llvm:bind-symbol libnanovg "nvgLerpRGBA")
(bind-lib libnanovg nvgLerpRGBA [NVGcolor,NVGcolor,NVGcolor,float]*)

How can I solve it?
if possible, I want to change some functions return type from NVGcolor type to NVGcolor* type.
(Or, I will implement nvgLerpRGBA function with xtlang)
Please review!

Fixed slightly😣

hey, sorry - I am looking into this. you're right that perhaps we should use the latest extemporelang/nanovg (rather than the specific commit tagged here) but I need to do a bit more testing.
Sorry about the delay - just got a bunch of other stuff on right now.

No problem. 😀
I don't understand the dependency of nanovg files in CMakeLists.txt. So, I can't test it. 😥
I'm sorry to leave the test to you.
Please could you tell me how to test? I think that it will be useful in the future.

Hey, sorry about the delay. Things came up.
Re: the CMakeLists.txt file, one cheeky way you can test things is to point to your new branch of this repo in the main Extempore cmakelists file using the URLs on line 717 and 842. Then, if you re-build extempore it'll use your new version of the nanovg source code from this repo. And you can run tests/examples, etc.
Re: testing, there are automated tests (there's a make test target if you're on linux/macOS, or you can call ctest directly) but with this sort of thing it's important to actually look at the output and see that they work.

Sorry for my late reply.
Thank you for advice.
I don't understand CMake. I need to learn to Cmake. Therefore, it takes a little more time to test.

Don't feel too bad - CMake is deep magic.
Like I said, those minimal changes (to the hash in the url) should be enough for you to test - you don't even have to commit the changes.

In fact, I am facing a problem.
I change the URL on line 717 from  https://github.com/extemporelang/nanovg/archive/9d9232e338dd2c368924abe65d6885ae57d61e80.tar.gz to https://github.com/cyblue9/nanovg/tree/feature/fix_some_arguments.
Then, below error message is displayed.
Scanning dependencies of target nanovg
[ 63%] Creating directories for 'nanovg'
[ 64%] Performing download step (download, verify and extract) for 'nanovg'
-- Downloading...
   dst='/Users/YUYA/Desktop/extempore/cmake-build/nanovg/src/archive.tar'
   timeout='none'
-- Using src='https://github.com/cyblue9/nanovg/tree/feature/fix_some_arguments'
-- Downloading... done
-- extracting...
     src='/Users/YUYA/Desktop/extempore/cmake-build/nanovg/src/archive.tar'
     dst='/Users/YUYA/Desktop/extempore/cmake-build/nanovg/src/nanovg'
-- extracting... [tar xf]
CMake Error: Problem with archive_read_open_file(): Unrecognized archive format
CMake Error: Problem extracting tar: /Users/YUYA/Desktop/extempore/cmake-build/nanovg/src/archive.tar
-- extracting... [error clean up]
CMake Error at nanovg-stamp/extract-nanovg.cmake:33 (message):
  error: extract of
  '/Users/YUYA/Desktop/extempore/cmake-build/nanovg/src/archive.tar' failed

make[2]: *** [nanovg/src/nanovg-stamp/nanovg-download] Error 1
make[1]: *** [CMakeFiles/nanovg.dir/all] Error 2
make: *** [all] Error 2

Because, new URL(https://github.com/cyblue9/nanovg/tree/feature/fix_some_arguments) is not tar file.
Which solution I should choose?

Change URL

Probably the URL is wrong. Is there a way to archive the current repository?

Don't use tar command

If there is no way to archive the current repository, you need to change cmake so that it does not use the tar command.

Yeah, you can't give it the URL of the human-readable GitHub web interface, you need to give it a URL endpoint where GH will just give you back a zip/tarball of the repo - CMake should be able to handle both zip and tar.gz formats fine. In your case, I looked at the URL that the "download as zip" UI element pointed to, and it was https://github.com/cyblue9/nanovg/archive/feature/fix_some_arguments.zip
Does that help?

Oh, I see. Thanks!
But, https://github.com/cyblue9/nanovg/archive/feature/fix_some_arguments.zip responses 404 Not Found.
GH doesn't support downloading of specific branch.
If it uses git clone, downloading of specific branch is able with git clone <url> --branch <branch> --single-branch [<folder>] .
Can it do the same with cmake?

Success to install!
I use GIT_REPOSITORY and GIT_TAG property.
(ref: https://cmake.org/cmake/help/v3.0/module/ExternalProject.html)
I will do make test now.
Please wait for a little while longer.

Question.
nanovg.c and nanovg.h, etc in extempore/cmake-build/nanovg/src/nanovg/src are
/feature/fix_some_arguments definition.
NVGcolor* nvgLerpRGBA(NVGcolor *c0, NVGcolor *c1, float u);

But, nanovg.xtm  in libs/aot-cache is current master branch definition.
(llvm:bind-symbol libnanovg "nvgLerpRGBA")
(bind-lib libnanovg nvgLerpRGBA [NVGcolor,NVGcolor,NVGcolor,float]*)

How do I update nanovg.xtm from current master branch definition to /feature/fix_some_arguments definition?

ping …

really sorry about the delay - I've been away. will get to it (and the other one) asap...

OK, no problem!😀

hey, sorry again about the delay. this all looks ok - as you figured out, the main reason we have to patch those functions is because xtlang is not (necessarily) ABI compatible with whatever c compiler is used to compile the nanovg shared lib, so we can't pass structs by value on the stack.
The forward definition of the llvm_zone_malloc_from_current_zone function is so that this library will just "zalloc" these (small) structure, which is more convenient than having to pre-allocate and pass in the pointer every time. It's a trade-off which makes sense most of the time.
Anyway, it seems like you're doing a decent job with this nanovg stuff, so basically feel free to keep working on it (and sorry again about my late reply to this merge request---I really do appreciate the work you're doing).


Fix compatibility of examples with py3

Description
Fixes compatibility issues of example/rcnn and example/sparse to run with python3
Checklist
Essentials

[x] Passed code style checking (make lint)
[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage
[x] For user-facing API changes, API doc string has been updated. For new C++ functions in header files, their functionalities and arguments are well-documented.
[x] To my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes
To ensure compatibility of example/rcnn with py2.7 and py3.6

[x] Use six.moves.cPickle
[x] Remove xrange to use builtins.range
[x] Change how modules are imported
[x] Update usage of numpy to ensure we are not calling deprecated APIs. Example using float to index an array has been removed from numpy. Now we need to cast it to int first.
[x] Updated readme

To ensure compatibility of example/sparse with py3.6

[x] An assert statement was comparing string and float causing type error on py3.6

To ensure example/sparse runs on Mac

[x] Updates scripts to fetch data to use common API for Mac and Linux. Removed wget.
[x] Updated get_bz2_data to extract file line by line. Else it fails on Mac as MacOS doesn't support that feature for large files.
[x] Added get_zip_data in test_utils, which works on both Mac and Linux

Comments

example/rcnn now needs pip packages builtins and six even for py2.7 so we can use same API for both py2.7 and py3.6. This is not a big deal since this is an advanced example and already requires 4-5 pip packages to run

@anirudh2290 especially for test_utils changes
@eric-haibin-lin especially for sparse changes #

Hello @rahul003, please make sure to rebase your PR.

Rebased

@marcoabreu what instance types is the CI using? We seem to be running out of memory. The error in CI is for test_sgd running out of cuda memory. This code has nothing to do with that error.

@rahul003 We're using G3.8xlarge with 8Gb of CUDA-memory - that should be more than sufficient. I've submitted a PR to disable this test temporarily: https://github.com/apache/incubator-mxnet/pull/9001
In the meantime, I retriggered your build. This was a flaky test.

Done


AI win rate graph support

Having an option to enable rendering of AI win rate graphs for SGFs that have that information would be great. Having the graph display some kind of a marker for the current move would be nice as well.
If this is not possible, would it be possible to add callbacks for tree navigation events so that users could add their own graphing functionality?

That sounds like a nice feature idea. However, I'm not sure how to best do that, since I'm not familiar with the format that AI win rate information is typically encoded into SGFs. Is there now some sort of standard for how AI engines format this information in their SGF output?
As for callbacks for tree navigation events, the core editor object (see editor.js) is already designed to notify the list of objects of the various GUI panels, and one of the types of notification messages is for a navigation change.

I created two sample files with Lizzie using KataGo and LeelaZero. Lizzie seems to store the AI analysis information in LZ properties for both bots. Here are the examples (I removed a lots of variations generated by the bot, they are in the same property):

KataGo: B[pd]LZ[0.7.2 41.6 2.8k move D4 visits 988 winrate 5846 scoreMean 0.739948 <SNIP> ];
LeelaZero: B[pd]LZ[0.7.2 41.6 2.8k move D4 visits 988 winrate 5846 scoreMean 0.739948 <SNIP>]

I also downloaded a SGF from online-go.com (using the "SGF With AI Review" feature) to see how they store the AI analysis information for their games and seems like the downloaded SGFs contain the information in C properties, but the information is apparently only provided for variations. Here's an example comment from such a file:

C[Black's win rate: %100.0 visits: 745]

I'll take a look at SGFs produced by other tools later. For now it seems that getting this information out of SGFs saved with Lizzie is relatively straightforward. I might look into this myself at some point, but I can't promise anything.

@marant, I don't think that I will have time to implement a feature like this in the near or mid-term.
However, I found out today that another user of BesoGo has already implemented something similar.
See this post from the Nordic Go Dojo website
https://www.nordicgodojo.eu/post/103/winrate-graphs-in-ai-analysed-games-and-sample-ngd-game-review
Perhaps they might be willing to share their code if you reach out to them.

Rating games from official KataGo website store the information as C[0.49 0.51 0.00 -0.1 v=1000] what means white win rate, black win rate, 0.00, white score


Wrapping takeOffer() in retry-queue for auto retry

:tada: This PR is included in version 1.3.2 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:


[stable/locust] Don't set worker replicas when hpa is enabled

Description
In current locust chart, the worker spec.replicas is set even when worker.hpa.enabled is true, and it causes problem in GitOps tool Argo CD.
By design, Argo CD constantly compares resource in Kubernetes against their definition in git. In this case, Argo CD will try to set spec.replicas to 1 to match resource definition in git, however, HorizontalPodAutoscaling will try to set spec.replicas to properly value according to current worker loading. This discrepancy makes worker unstable.
To fix the issue, locust chart shall not set spec.replicas when worker.hpa.enabled is true.
Checklist

[x] Title of the PR starts with chart name (e.g. [stable/mychartname])
[ ] I have read the contribution instructions, bumped chart version and regenerated the docs
[ ] Github actions are passing

Hi @max-rocket-internet ,
We have bumped the version, please help to check this is okay now, thanks.


support polymorphic to many2many relation

Make sure these boxes checked before submitting your pull request.

[v] Do only one thing
[v] No API-breaking changes
[v] New code/logic commented & tested

For significant changes like big bug fixes, new features, please open an issue to make an agreement on an implementation design/plan first before starting it.
What did this pull request do?
support polymorphic to many2many relation
Fixes #2542

Codecov Report

Merging #2543 into master will increase coverage by 1.21%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #2543      +/-   ##
==========================================
+ Coverage   79.42%   80.64%   +1.21%
==========================================
  Files          24       24
  Lines        3466     3523      +57
==========================================
+ Hits         2753     2841      +88
+ Misses        612      579      -33
- Partials      101      103       +2

Impacted Files
Coverage Δ

model_struct.go
87.32% <100%> (+0.32%)
:arrow_up:

join_table_handler.go
94.3% <100%> (+1.03%)
:arrow_up:

callback_save.go
95.87% <100%> (+0.04%)
:arrow_up:

scope.go
87.62% <100%> (+0.4%)
:arrow_up:

association.go
92.37% <100%> (ø)
:arrow_up:

main.go
83.61% <0%> (+2.61%)
:arrow_up:

logger.go
60.65% <0%> (+32.78%)
:arrow_up:

Continue to review full report at Codecov.

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


Remove restriction that CDAP must be running from run_class

Cherry-pick of #237 with no conflicts

LGTM 👍


Error: Cannot read properties of undefined (reading 'length')

I am using browser agent for my Next JS application. I have integrated it using APM. I am getting following error very frequently in my application "Cannot read properties of undefined (reading 'length')" .
I am attaching the screenshot of my sentry issue for reference.
I am using Node JS agent for APM
I have referred official doc to setup browser agent for my Next JS application. Here is the link for reference - https://newrelic.com/blog/how-to-relic/nextjs-monitor-application-data

Sorry to hear you're having trouble @Pranav2111 . This looks like it's being thrown from the browser side, so I'm going to transfer this to that team. (This repo's owned by the APM side Node Agent team.)

@Pranav2111 I'm not able to move this, but the Browser team is working on this issue. Could you open this issue on their repo? Thank you!

(browser agent) bug created - https://new-relic.atlassian.net/browse/NR-270488

Browser agent bug fix PR -- https://github.com/newrelic/newrelic-browser-agent/pull/1039


refactor(lib): change PyQT5 to PySide6

This, hopefully, should now add support for M1 chips
Closes #53

@HadiSDev, you would mind testing by installing this?
pip install git+https://github.com/jeertmans/manim-slides.git@pyside6

@jeertmans New error :D but closer (Poetry error):
 • Installing pyqt5-qt5 (5.15.2): Failed

  RuntimeError

  Unable to find installation candidates for pyqt5-qt5 (5.15.2)

  at ~/Library/Application Support/pypoetry/venv/lib/python3.9/site-packages/poetry/installation/chooser.py:103 in choose_for
       99│
      100│             links.append(link)
      101│
      102│         if not links:
    → 103│             raise RuntimeError(f"Unable to find installation candidates for {package}")
      104│
      105│         # Get the best link
      106│         chosen = max(links, key=lambda link: self._sort_key(package, link))
      107│

It works @jeertmans  :D :D but I am done with the conference so I am not going to use it for a long time xD

Well done m8

No problem @HadiSDev, thanks for testing that :D