Improve Live-issues

My summarized changes:

Use Foundation label class for issue labels
Display issues directly without pressing a button
Add created date with "X-time ago"
Add basic description (limited to 500 characters) of the issue
Show the total number of found issues
Display the issue creator avatar next to the description
Display the latest issues first. It makes more sense if you get the newest ones. Then you always see new issues and you don't see issues other might already working on
Both the repository title and the issue title now have links to their location
Made the error text more universal, so it can apply to pull requests and issue request errors
More colors and styling things
Fix old merge conflicts.

Open ideas:

Show repository description as tooltip?

Example Image:

Great job buddy, really like the time ago idea.
For the look and feel, even that it was a great improve from my mockup, it feels like two different pages(the top and the issues sections). So since we're doing it, let's do it big.

The labels seems outplaced and away from the issue, maybe we should group the issues like cards? Material cards

As @jenkoian said maybe we could display issues in two colums. Similar to what DigitalOcean did [Two columns] (https://hacktoberfest.digitalocean.com/#featured-projects)

Should we let user filter the issues by some parameters (language as example) ?

As the title we maybe should try to make the issues section feel like october (Halloween,orange colors)


Add workaround for files rc1 is missing (and update to 1.8.0-rc1)

As soon as rc2 drops, we can drop these nasty hacks, but these get us a working ISO so we can release a real rc1.

cc @ehazlett


Improve sql query bbe to show usage of query row

Description:
Currently the bbe only shows how the entire record is printed to the console.
IMO it would be better to add the logic to show how this can be destructured into a Typed record. Eventhough its not strictly related to SQL connectors this is a common use case after the DB query,
 check from record {} result in resultStream
        do {
            io:println("Full Customer details: ", result);
        };

 check from record {} result in resultStream
     select {
             id: check 'int:intFromString(result["id"]);
            };

On looking into this further, I decided it would be much more useful if we have usages of queryRow function rather than returning an open record.


Add Jenkinsfile

Trello: https://trello.com/c/zMjJmZX4/569-move-short-url-manager-to-new-ci-infrastructure-1
The old CI infrastructure is in the process of being wound down so we need to move our apps to the new one.

https://ci.integration.publishing.service.gov.uk/job/short-url-manager/job/add-jenkins-file/ looks green to me


Jedict cask - attempt 2

Sorry, hopefully this is correct.

This is really confusing, so lets work it out. The if check is backwards (check other casks), and I have no idea where you’re getting the later version number, in addition to many other needed fixes, like quote style, checksums, and even the token line. The cask, it seems to me, should look like:
cask :v1 => 'jedict' do
  version '4.9.5'
  sha256 '6286c5f46e6c1404f007b364cc2baa3d7ce074c108be9c37de1270aca19bba78'

  url "http://jedict.com/Downloads/JEDict#{version.gsub('.','').zip"
  name 'Jedict'
  homepage 'http://www.jedict.com/'
  license :commercial

  app 'JEDict.app'
end

If it seems weird to you, please ask for clarification on what looks confusing.

Yes. I can see what you mean. I had multiple versions in there. The reference to an older version was because the site recommends it if you are using an older version of MacOSX.. I decided to remove this as I don't think Homebrew supports SIT files. (I couldn't see any evidence.)
I have also fixed up the case on the filename. The checksum has also been fixed. The reversing of the >= has also been fixed, all in a new branch. I will create a new pull request for it.


Write and publish responsible disclosure policy

If I find a critical vulnerability in the waterline codebase, how should I communicate it to the core team?
What guarantees are given about time to a patch?
Will reporters be credited for their work in finding a vulnerability?
How are critical security vulnerabilities disclosed to the community?
Are vulnerabilities given a CVE number?
Once you write a page like this, how can I be expected to find it?

Here is an example of what a page like this should look like: http://docs.python-requests.org/en/latest/community/vulnerabilities/

This would be great! We'll take a stab at getting something together soon.

@kevinburkeshyp Thanks for the suggestion. We'll continue the discussion here, which we'd apply to sails and waterline: https://github.com/balderdashy/sails/issues/2830


Where to define the app base url?

Am running app bare metal behind nginx reverse proxy, but it keeps rewriting requests for additional assets to the upstream url. took a look at asatru docs and hortusfox docs, could not find any environment variables or other settings that might indicate a base url setting.

Hi, there is an APP_BASEDIR environment setting. There you can define the sub-path of your app.


Add text.md markdown syntax

I have added the scope for language-markdown by @burodepeper (text.md) -- when this package is installed, it deactivates the default language-gfm, and so this package is not highlighting the markdown files correctly anymore.

Thanks, sorry for the slow merge. This is very useful!


[BUG] Module not found (but it's there in node_modules).

I have some code that does require('glslify'), and node_modules contains glslify, yet after Webpack has made a bundle, that bundle contains the familiar webpackMissingModule function for where glslify is required. I'll see if I can link a reproduction.

A workaround is require('glslify/browser.js') but it looks like the browser key in their package.json isn't being respected: https://github.com/stackgl/glslify/blob/master/package.json#L54

Hi @shama I tried that:
var glslify = require('glslify/browser.js');

var shaders = {
    vertex: glslify('./VertexShader.glsl'),
    fragment: glslify('./FragmentShader.glsl')
};

module.exports = shaders;

I've got glslify-loader all set up in Webpack, but that throws the error (the one hard coded in browser.js):
Uncaught Error: It appears that you're using glslify in browserify without its transform applied. Make sure that you've set up glslify as a source transform: https://github.com/substack/node-browserify#browserifytransform

So, at least now it actually imports something.
Question: should glslify-loader for Webpack automatically transform that error message into whatever it needs to be? <-- cc: @mattdesl @hughsk, and also @shama mentioned above that you can set the browser key in package.json (and I guess Webpack will use that as the entrypoint for require('glslify') calls).

Any update on this? Can you try against webpack 2?

No response and this is reported from webpack 1 so closing. If still an issue please test in webpack @latest and submit a new issue if still a problem


Typing a '(' inside another () pair marks the existing ')' as paired with the new '('

Issue Type: Bug

Enter this code into the editor:
console.log(something);

Start to add a function call inside log:
console.log(String(something)

Now the existing ) is highlighted. Even if you skip over something and type a ), it'll be ignored. To type the second closing parenthesis you need to type two )s.

I'd expect the editor to leave the existing ) alone in this case, since it's already matched to another (; and to be able to type the second ) by typing it just once.
VS Code version: Code 1.34.0 (a622c65b2c713c890fcf4fbf07cf34049d5fe758, 2019-05-15T21:59:37.030Z)
OS version: Windows_NT x64 10.0.17134

duplicate of #37315

Duplicate of #37315.


Undefined steps should be allowed?

Currently, unimplemented steps result in a fatal error, this is the opposite to  Cucumber which allows unimplemented steps and entire scenarios.
It would really aid the development of tests if undefined steps were allowed, may be raised as warnings instead. In my opinion, this should be the default behaviour, but at a minimum a setting that we can toggle.
Background
When porting our .feature files directly from Cucumber to XCTest-Gherkin and using the XCTest-Gherkin/Native to parse our .feature files directly, often we won't have implemented all the steps definitions yet and won't always do so in the order they are defined in the feature file.
This is especially true when working in teams where another team member has already created a step definition that is also used in your .feature but has not merged into master yet. I would like to be able to test the other step definitions in the meantime without having to comment-out lines in the .feature files.
Also, the Gherkin language is designed to be human readable by stakeholders not just developers and it's not unreasonable to have .feature files that don't even have tests yet as the .feature files still represent documentation for the wider business.

@cameroncooke would you expect these steps do nothing, not even raise test failure?


Remove assumepageview

This removes the unneeded .assumePageview() flag since this integration doesn't even have a .page() call mapping. Also bumping ajs-integration version while at it.
This is causing issues for customers that have code inside .ready()
@tsholmes

Current coverage is 100% (diff: 100%)

Merging #3 into master will not change coverage

@@           master    #3   diff @@
===================================
  Files           1     1
  Lines          19    19
  Methods         0     0
  Messages        0     0
  Branches        0     0
===================================
  Hits           19    19
  Misses          0     0
  Partials        0     0

Powered by Codecov. Last update 4fd6574...4d05e21


Publish updates via RSS

Nice feedback we got: A user may like to subscribe to specific updates, e.g., to a specific method.
This could trigger a Twitter bot, or publishing on the DIscord channel.

We did this! Closing! :smile:


User stories (senario editor)

Write user stories that have been assigned through google drive. Also write acceptance tests and create senario editor mock ups for presentation.

What are the acceptance tests?


Bump Elasticsearch package to 5.5

Coverage remained the same at 85.937% when pulling 1d4a9330207cf1da99a091544ab550b041a36543 on feat/bump-es into 42988dcb8635e8ee82882fc604a66bba94bf6b8a on master.


Tweak: (zenflux-cli) - Refactor README.md for better readability

User description
The README.md file in 'zenflux-cli' package has been updated to improve readability. Major changes include reformatting of text, better organization of information, and the addition of visual screenshots showcasing usage examples of the tool. Higher priority has been given to making instructions, tool features and configurations more understandable.

PR Type
Documentation

Description
The README.md file in the zenflux-cli package has been updated to improve readability and clarity.

Reformatted text for better readability.
Improved organization of information.
Added visual screenshots showcasing usage examples of the tool.
Enhanced descriptions of tool features and configurations.

Changes walkthrough 📝
Relevant filesDocumentation

README.mdRefactor README.md for better readability and clarity

packages/zenflux-cli/README.md
Reformatted text for better readability  Improved organization of information  Added visual screenshots showcasing usage examples  Enhanced descriptions of tool features and configurations

+58/-38

💡 PR-Agent usage:
Comment /help on the PR to get a list of all available PR-Agent tools and their descriptions

/improve

/improve
--pr_code_suggestions.extra_instructions="
Additional instructions:
"
--pr_code_suggestions.commitable_code_suggestions=true

/improve
--pr_code_suggestions.commitable_code_suggestions=true


'NoneType' object has no attribute 'imageId'

Prerequisites

[x] Did you read FAQ section?
[x] Did you test with the latest releases or commit ?

Description
Tried downloading this member: https://www.pixiv.net/member.php?id=1129046
Got this error:
'NoneType' object has no attribute 'imageId'
Dumping html to: Error medium page for image 62079711.html
Stack Trace: (<type 'exceptions.AttributeError'>, AttributeError("'NoneType' object has no attribute 'imageId'",), <traceback object at 0x0407B170>)
Tested with newest non-beta version of PixivUtil2: v20190917
EDIT: Works with latest beta. I guess it was fixed...

ya, some changes on the layout from pixiv.


Market crash

MapKit view make the swappable feature crash :(

What error are you getting @adrienblh? Can you provide a sample project?


Build fails for iOS using Xcode 14.3

Versions

Xcode 14.3
ReactNative 0.71.6
Expo 48.0.11
Indy SKY Expo Plugin 0.2.0

When building a basic AFJ / ReactNative app using indy-sdk-expo-plugin I get iOS build errors:
<unknown>:0: error: unable to load standard library for target 'arm64-apple-ios10.0'
<unknown>:0: error: module compiled with Swift 5.5.2 cannot be imported by the Swift 5.8 compiler: /Users/wgallagher/dev/aq/expo-afj/ios/Pods/Indy/IndySdk/Indy.framework/Modules/Indy.swiftmodule/arm64.swiftmodule

This is following Timo's excellent Youtube video on getting started with AFJ and Expo.
I was able to get things running on Android Simulator or on Device if I changed the build settings to Release.

Hi! sorry for the late response. Do you remember if this was for the simulator or real device?
Also, if it suits your use case, it would be good to move towards askar, indy vdr and anoncreds which have way better support for React native.


[gardening][lib/Basic][C++11] Replace typedef with using

This is a series of pull requests attempting to replace typedefs with usings.

@swift-ci smoke test

I guess using is often cleaner, but... what's the heuristic you're using to decide which typedefs to change?

I’m willing to replace most typedefs in subsequent PRs so there is no specific reasons for what I replaced in this PR. This is just a small start.

but... what's the heuristic you're using to decide which typedefs to change?

Just narrowed the scope to only lib/Basic now.
@swift-ci smoke test

@swift-ci smoke test

Okay, thanks!


Supported Upgrade Paths missing latest version (22)

The "Supported Upgrade Paths" page makes no mention of the latest available version (22).

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

ID: 9a44993a-d0a7-4756-5a75-e20ee9770bae
Version Independent ID: bf2126fb-1dea-d29e-9273-720512b2061f
Content: Supported upgrade paths to Business Central on-premises - Business Central
Content Source: dev-itpro/upgrade/upgrade-paths.md
Service: dynamics365-business-central
GitHub Login: @jswymer
Microsoft Alias: jswymer

Thanks for the feedback! We've fixed the articles and the update will be pusblished soon.


Thumbnails don't load when in details view

Version: 1.4.3
Thumbnails for Yiffer load in the general overview of comics, but once loaded into the details page of a comic, the thumbnail seizes to work. This thumbnail is also used by Tachiyomi to set the library, history and update thumbnail.

Fixing in version 1.4.4

Confirmed that it's working in version 1.4.4


Fix template() losing informating when getting a template of a template

Prior to this change, using template() would lose information in this
scenario:

Create an activity, act1
Get a template with act1.template()(), and create a new activity from the
template, act2
Get a third template, act2.template()(), and use it to create act3.

act3 was missing properties from act1.
This patch makes a change to copy properties from an activity to a template,
instead of using prototypal inheritance. This seems to fix the problem.

Landed in master, thank you


⚠ Bofrost.fr has degraded performance

In 0a5479f, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1073 ms

Resolved: Bofrost.fr performance has improved in 4224ac9 after 6 minutes.


Support ENUM, VARCHAR and TIMESTAMP comparisons

enum and varchar cannot be trivially compared. Here are some counter-examples:
mysql> create table a(id int, val varchar(8), primary key(id));
Query OK, 0 rows affected (0.02 sec)

mysql> insert into a values(1, 'a'), (2, 'B');
Query OK, 2 rows affected (0.01 sec)
Records: 2  Duplicates: 0  Warnings: 0

mysql> select * from a order by val;
+----+------+
| id | val  |
+----+------+
|  1 | a    |
|  2 | B    |
+----+------+
2 rows in set (0.00 sec)

mysql> select * from a order by binary(val);
+----+------+
| id | val  |
+----+------+
|  2 | B    |
|  1 | a    |
+----+------+
2 rows in set (0.00 sec)

Varchar comparison is dictated by collation rules. For VTGate to match them, it needs to mimic MySQL's rules. The strategy I have in mind is to additionally pull weight_string(val) which will give me a lexically comparable equivalent of the string.
For enum:
mysql> insert into a values(1, 'b'), (2, 'a');
Query OK, 2 rows affected (0.01 sec)
Records: 2  Duplicates: 0  Warnings: 0

mysql> select * from a order by val;
+----+------+
| id | val  |
+----+------+
|  1 | b    |
|  2 | a    |
+----+------+
2 rows in set (0.00 sec)

mysql> select * from a order by binary(val);
+----+------+
| id | val  |
+----+------+
|  2 | a    |
|  1 | b    |
+----+------+
2 rows in set (0.00 sec)

Enum ordering depends on the enum number, not string. We have to look at an approach similar to weight_string, but that returns the underlying number instead of the string.

I see. Well this works very well for us since we don't sort on ENUM or VARCHAR, we just use them in aggregations. So I suppose we would need to use this Vitess fork instead of the mainline until functionality has been implemented in the mainline.

Even for equality comparisons, mysql treats 'a' == 'A'. So, unless you're very confident about your data, you may still get some surprises.
The good news is that the weight_string approach is not too hard because most of the groundwork for it is already done. I can get back to it once I clear my backlog, or guide someone if they have the bandwidth.

@tirsen can we close this? I'll work on the more correct fix when I catch up on my backlogs.

I'll be closing this unless there are objections.


Adding service-fabrik-postgresql-manager job for postgresql-operator

Corresponding changes in service-fabrik-broker: https://github.com/cloudfoundry-incubator/service-fabrik-broker/pull/488

Closing this PR.


atomic min and max question

Is atomic min and max supported with #pragma omp atomic ?  Thanks.

It does not appear that max or min are supported in the spec.   See https://www.openmp.org/spec-html/5.1/openmp.html

Let me add that while min and max are not directly supported, the atomic construct of OpenMP version 5.1 does indirectly support them via conditional atomic updates and the < and > operators. See https://www.openmp.org/spec-html/5.1/openmpsu105.html#x138-1480002.19.7 and look for “ordop”.


Allow variables to be set in CUSTOMIZED_SDK_URL with nightly

Signed-off-by: lanxia<EMAIL_ADDRESS>

internal/Grinder/21978
SDK_RESOURCE=nightly
CUSTOMIZED_SDK_URL=https://openj9-artifactory.osuosl.org/artifactory/ci-openj9/Build_JDK${JDK_VERSION}_${PLATFORM}_Nightly/


refactor: update biome config and upgrade therefore

#204  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @pevisscher and the rest of your teammates on  Graphite


Version update to 1.0.2

Coverage increased (+0.03%) to 90.022% when pulling d25b172dcaadb12fc42626feee1d53a667df2096 on jeronimoalbi:develop into 10172590ba66fc25158b1d5010f15c74c9bbcda8 on kusanagi:master.


Per Object Update outline not showing.

The regular version does work, but the new branch for the per-object outline does not work for me. Material gets instanced, but the outline is not showing up.

Same problem for me. master branch works and renders properly but per-object does not work

This issue is still happening, does anyone have any fix?


Can not proccess the ‘PRIMARY KEY ( 字段1 , iii )’ words，how to resolve it

CREATE TABLE back_user (
字段 varchar(20) NOT NULL COMMENT '用户名',
PRIMARY KEY ( 字段 , iii ),
KEY bbb (bbb),KEY dd (dd),
CONSTRAINT back_user_ibfk_1 FOREIGN KEY (字段) REFERENCES tbug (CID),
CONSTRAINT back_user_ibfk_2 FOREIGN KEY (dd) REFERENCES tdic (CID)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='后台用户表';
the first ‘字段’ is processed successful， the second ‘字段’  and the third ‘字段’ can not processed，how to resolve it？

use the new version，chinese words are processed，
may be the jar is used wrong，the new jar is download from
https://oss.sonatype.org/content/groups/public/com/github/jsqlparser/jsqlparser/0.9.5-SNAPSHOT/

That is right. I included all UTF8 letter ranges in identifier processing. It was taken from a JavaCC java grammar.  I thought it was complete. If I missed something there please correct my modifications. Cheers Tobias


SKIN SOUNDS

the r3nzskin nightbringer yasuo doesnt have voice lines. the ult doesnt have the voice of nightbringer.
Its not only at nightbringer, nearly at all skins.

#1


Upload repository to maven

Hello! Can you upload your repository to maven? I can't find him.

Hi. I had first some difficulties to release to maven, but now it's ok. You should be able to find it.
<dependency>
  <groupId>net.chibidevteam</groupId>
  <artifactId>apiversioning</artifactId>
  <version>0.1.0</version>
</dependency>


allow async work in SocketTask.cpp

At the moment we have a blocking call to processAll() in the SocketTask. This does not matter for http but prevents most possible performance gain for the VelocyStream Protocol. We need to start a new read as soon as possible.
https://github.com/arangodb/arangodb/blob/af1723524237b1fc4d268a85f1220049fcb0011c/arangod/Scheduler/SocketTask.cpp#L485
This bug was found by a new test in the Java driver for for long (10s) and short (1s) running queries. The shorter query is expected be returned before the long query finishes. But the server did not take the short request off the network before finishing the long request.

This bug was fixed by Frank. Now less vst requests are handled directly allowing them to be processed in an asynchronous manner. The behavior of http has not been changed maintaining the good performance for http. As far as I remember there was a visible speed improvement for velocystream and Mark (original reporter) and I confirmed that short requests will now pass slower ones that take a lot of processing time.


Build error @types/highlight.js/index.d.ts (22,40): error TS2304: Cannot find name 'Node'.

I am seeing this error, suspect it's due to types, however I'm not using highlight.js, so this is odd?
ERROR in<EMAIL_ADDRESS>(22,40): error TS2304: Cannot find name 'Node'.
TS Version: 2.0.10

OK I added "dom" to lib in tsconfig, error went away, is this right?
What does "dom" do, my project is using TS for node.js core, no other modules.

You have the types for highlight.js installed. Delete them.

Where would highlight.js be installed? I've deleted node_modules and did a npm install for my project, my package.json has only these modules:
 "devDependencies": {
    "nodemon": "^1.11.0",
    "tap-summary": "^3.0.1",
    "tape": "^4.6.2",
    "ts-loader": "^1.2.2",
    "tslint": "^4.0.0",
    "typedoc": "^0.5.1",
    "typescript": "^2.0.10",
    "webpack": "^1.13.3"
  },

Right here https://github.com/TypeStrong/typedoc/blob/master/package.json#L35

The method is typed as taking a DOM Node. You can reference "lib" :[ "dom" ] to tsconfig.json.compilerOptions

Thanks, I really appreciate the helpful info, more knowledgeable of the going on! Everything make sense now :100:

@rajinder-yadav please ask questions on Stack Overflow -- this isn't a general support forum for TypeScript. Thanks!

@RyanCavanaugh it started off me feeling this was a bug, I even followed up, don't see this as asking for help.

This might be an issue with the definition too, which you can report to DefinitelyTyped. It should work without dom for Node.js usage.

Thanks @blakeembrey, was not sure initially where to go report this.


CIT project code transfer to BC Gov GitHub repo

Describe the issue
CIT project team needs to transfer their Terraform-based CIT app\infra deployment code to the BC Gov owned private or public repo
Additional context

New product owner may need some training (we're pulling her into training on the 26th of May)
Current CIT Terraform code is in a repo run by the dev vendor NTT
Next will be to move from them using Terraform sourced from an NTT laptop

Definition of done

Meeting with Susan with Julian and Jon where we walk her through creating a github user (if needed) and making a repo for the CitV4 purpose
Invite her to training after the 26th, and prepare her to pull in the code
Create space in BC Gov GitHub for CIT project + people
Onboard CIT folks involved (may need NTT resource participation, ICT group to coordinate)
Transfer of CIT code from current repo to BC Gov GitHub repo

Met with Susan and discussed what needs to be done to help operationalize their CIT application.  She has now taken the training necessary and we'll be moving forward with creating a space for her teams code in the BC Gov GitHub repo.  More back and forth will be necessary for this and Susan will also have to bring in NTT as part of this.

It appears that the current CIT v4 is now closed and the Susan is trying to work out with them what might be next.  We recommended that move their current GitHub repo from the vendor created area to the BC Gov GitHub repo as a start.  They may likely choose to work with NTT to get the repo moved to the BC Gov space, but waiting on answer.

As a matter of scrum practice, just make sure that I am the one pulling tickets into the sprint

Looks like they have a repo
And there's a couple things we can talk to them about (make a var for this value, bit of security by obscurity)
https://github.com/bcgov/CIT/blob/c4d6023bd4255eacb09a0176c4c1859b17e41877/terraform/cit-prod/variables.tf#L42

Jon to reach out to Susan, congratulate and make the above low-priority suggestion


Export in command line

Hi,
Is it planned to be able to launch an export (movies and tv shows) from the command line?
Example :
tinyMediaManagerCMD.exe -export {export-name} {destination_folder}
Thanks !

that is still on our todo list, but there is no ETA for it..

Ok thanks !


Argument list too long: recursive header expansion failed

I get a build fail in xcode and see the following
Argument list too long: recursive header expansion failed at /Users/USER/APP/node_modules/react-native-maps/lib/android/build/intermediates/classes/release.
How can I fix?

Any fix for this?


Expose Workspaces to PowerToys Run

Description of the new feature / enhancement
PowerToys Run displays Workspaces with names matching the search query. The default selection behavior would be to launch the Workspace.
Scenario when this would be used?
Launching Workspaces would be faster versus launching the Workspaces Editor and clicking "Launch" each time. This is especially useful with multiple desktops and Workspaces for each desktop.
Supporting information
No response

Great workaround. Thanks @plante-msft!


Work out how to send $request.body and $request.headers to Step Functions from the API

Right now, I only send the $request.body. This means that I can't validate the secret within the Webhook. I need to get this working 🙃 I have a funny feeling I am going to have to slightly adjust architecture as this isn't possible today 🙃

This is nearly working within pr #4, not a perfect solution but it works 👍


Metabase Reporting: Plant Treatment views

Describe the Task
Treatment views

[x] chemical treatment
[x] bio treatment
[ ] mechanical treatment

Additional Context
related to ticket #220 & #328
Originally posted by @micheal-w-wells in https://github.com/bcgov/invasivesbc/issues/326#issuecomment-754991683

lets call the rest of these 3's:
Plant Monitoring
Animal Observation
Animal Treatment
Animal Monitoring

lets call the rest of these 3's:
Plant Monitoring
Animal Observation
Animal Treatment
Animal Monitoring


Feat:contact us backend functionality

Describe the feature
implementing it using node js and and contact directly send to via mail
Add ScreenShots
After implementation I will add
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@VanshKing30 kindly assign this issue to me

@VanshKing30 kindly assign this issue to me

Ok start working on this..

@Isha1233 When i am trying to signup always saying can't sign up then how to view website can u please explain i would like to work on this project


[Question] enpoint vs cap enpoint

In your examples, you have two endpoints per channel:

sharc_ARM_echo_endpoint_context
sharc_ARM_echo_cap_endpoint_context

I can't get my head around why this is necessary.
In the rpmsg-lite-examples repo there is only 1 endpoint.
Thank you

Is it one for receive and one for send ? Are the endpoints not duplex ?

 One is for normal echo the other for capitalization ?


The specified executable is not a valid application for this OS platform

win10 x64
Hello! After I hit the update button from <IP_ADDRESS> and the update is downloaded and extracted I got this error
The specified executable is not a valid application for this OS platform
ZipExtractor.log
And .exe is saying same

Hello there,
Is it possible that your AV software detects Steam Library Manager executable as malicious? Archive might be corrupt as well.
I will be updating the dependencies soon and might consider changing the auto-updater if this issue persists.
Thanks for reporting!

Not sure that AV is a problem. I can luach manager froim inside standalone downloaded .zip

I check it with disabled AV and there is the same problem.

I just had it too - it's a 0 byte exe.

Thank you all for reporting the issue, i was able to reproduce the issue and it is fixed now. 🙏


Feature Request: Progress bar/% amount in tab window

After using auto1111 I swapped to Swarm cause it let me use my GPU for dat speedy iterations.
but when I was using Auto1111 I had a little XX% in the page name, this meant I could have a different tab open and it would tell me how far through the image gen it was.
Similarly an adjacent feature would be some kind of progress bar or estimate in the actual UI, so I can have some idea of when to check back in.

In actual UI there's two progress reports:
1st, the queue size estimate

2nd, the bars under images:

(Generally the green bar is the main one, but there's also a purple bar that will show up when you have a custom workflow with many steps to jump through)

There's now a (3 generating) prefix on the page title for when generating several images

Those progress bars should ideally be placed somewhere else, since hiding the image feed also hides the progress bar. This is mainly in consideration of a mobile UI.


Support parsing a QuestionnaireResponse's answer.valueReference

This addresses bug #979, and adds a test for it.

Coverage decreased (-0.01%) to 72.698% when pulling cb4b74e819c87c17afcb368e46c501c592e815d1 on dgileadi:979-questionnaire-response-value-reference into 044fc13b43e9579c74af3bb4fef91755c9506ea0 on jamesagnew:master.

Looks great, sorry for the delay in merging. Merging this now.


[Suggestion]

Isn't there any way you could update DT to 1.14.4. Because you could play Minecraft much better playing this mod in 1.14.4.
I hope you can do anything.

The update is in progress, but will probably not be done for quite a while. Sorry.


aws:context

What happened?
I get this error
error: Missing required configuration variable 'aws:context'

when running pulumi up containing this code
import { getBucketObject } from "@pulumi/aws/s3"

getBucketObject(
  {
    bucket: "bucketName",
    key: `/blah/blah.json`,
  },
  {
    provider: new Provider("us-east-2", {
      assumeRole: awsConfig.requireObject("assumeRole"),
      allowedAccountIds: awsConfig.requireObject("allowedAccountIds"),
      region: "us-east-2",
    }),
  }
)

Steps to reproduce
Run the code in the "What happened" section
Expected Behavior
I expected pulumi up to just work
Actual Behavior
pulumi up resulted in this error
error: Missing required configuration variable 'aws:context'

Output of pulumi about
CLI
Version      3.38.0
Go Version   go1.19
Go Compiler  gc

Plugins
NAME    VERSION
nodejs  unknown

Host
OS       darwin
Version  11.6
Arch     x86_64

This project is written in nodejs: executable='/Users/<redacted>/.nvm/versions/node/v16.15.1/bin/node' version='v16.15.1'

Additional context
My workaround for this was just adding aws:context: uhhh to my stack config. After this, pulumi up ran just fine.
Original Slack thread: https://pulumi-community.slack.com/archives/CRH5ENVDX/p1663363028832449
using NPM package @pulumi/aws version 5.10.0
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Hi @mike-chen-samsung I've been unable to reproduce this issue myself. Does this erorr occurr in a Pulumi program which only has that one getBucketObject call and no other code?
There's also no reference I've found to an aws:context configuration variable in the provider which leads me to think this error could be originating from another source. Please could you share any more output information:

Is the error attached to a specific resource?
Would you be able to share additional diagnostics information?
Would you be able to provide a minimal reproduction of the issue that we can run and see the issue for ourselves?

Thanks!


Add snippets for elseif and apply/endapply

Ref: https://github.com/mblode/vscode-twig-language-2/issues/83

Thank you!


test case timeout

version
winafl: 2.43b X64 version
DynamoRIO:   DynamoRIO-Windows-8.0.0-1
windows:
20H2 19042.685 X64
win7 sp1 X64
mytest program:
EXTERN_C __declspec(dllexport) void test(wchar_t* pwcFilePath);

void test(wchar_t* pwcFilePath) {
    printf("%S\r\n", pwcFilePath);
}

int wmain(int argc, wchar_t** argv)
{
    test(argv[1]);
    return 0;
}

fuzz parameter:
Z:\test\winafl64\afl-fuzz.exe -i Z:\test\in -o Z:\test\out -t 20000 -D Z:\test\dr64 -- -fuzz_iterations 5000 -coverage_module test.exe -target_module test.exe -target_method test -nargs 1 -- Z:\test\test.exe @@

Z:\test\winafl64\afl-fuzz.exe -i Z:\test\in -o Z:\test\out -t 20000 -D Z:\test\dr64 -- -fuzz_iterations 5000 -coverage_module test.exe -target_module test.exe -target_offset 0x11A20 -nargs 1 -- Z:\test\test.exe @@

result:
Z:\test>Z:\test\winafl64\afl-fuzz.exe -i Z:\test\in -o Z:\test\out -t 20000 -D Z:\test\dr64 -- -fuzz_iterations 5000 -coverage_module test.exe -target_module test.exe -target_offset 0x11A20 -nargs 1 -- Z:\test\test.exe @@
WinAFL 1.16b by<EMAIL_ADDRESS>Based on AFL 2.43b by<EMAIL_ADDRESS>[+] You have 16 CPU cores and 0 runnable tasks (utilization: 0%).
[+] Try parallel jobs - see afl_docs\parallel_fuzzing.txt.
[*] Checking CPU core loadout...
[+] Found a free CPU core, binding to #0.
[+] Process affinity is set to 1.

[*] Setting up output directories...
[+] Output directory exists but deemed OK to reuse.
[*] Deleting old session data...
[+] Output dir cleanup successful.
[*] Scanning 'Z:\test\in'...
[+] No auto-generated dictionary tokens to reuse.
[*] Creating hard links for all input files...
[*] Attempting dry run with 'id_000000'...

[-] The program took more than 20000 ms to process one of the initial test cases.
    Usually, the right thing to do is to relax the -t option - or to delete it
    altogether and allow the fuzzer to auto-calibrate. That said, if you know
    what you are doing and want to simply skip the unruly test cases, append
    '+' at the end of the value passed to -t ('-t 20000+').

[-] PROGRAM ABORT : Test case 'id_000000' results in a timeout
         Location : perform_dry_run(), Z:\winafl-master\afl-fuzz.c:3013

I also tried DynamoRIO-Windows-7.91.18369，here is the results:
Z:\test>Z:\DynamoRIO-Windows-7.91.18369\bin64\drrun.exe -c Z:\test\winafl.dll -debug -target_module test.exe -target_method test -fuzz_iterations 10 -nargs 1 -- Z:\test\test.exe 123
123
123
123
123
123
123
123
123
123
123

I know the reason .
DynamoRIO will use some config file located at his root directory, so if only copy bin64 it won't work at all.
wrong command:
Z:\test\winafl64\afl-fuzz.exe -i Z:\test\in -o Z:\test\out -t 20000 -D Z:\test\dr64 -- -fuzz_iterations 5000 -coverage_module test.exe -target_module test.exe -target_method test -nargs 1 -- Z:\test\test.exe @@

right command:
Z:\test\winafl64\afl-fuzz.exe -i Z:\test\in -o Z:\test\out -t 20000 -D Z:\DynamoRIO-Windows-7.91.18369\bin64 -- -fuzz_iterations 5000 -coverage_module test.exe -target_module test.exe -target_offset 0x11A20 -nargs 1 -- Z:\test\test.exe @@


Write metadata to timeseries files in PastaStore.to_zip()

Currently the metadata is not written to file, which means when writing the zip, all that metadata is lost.
I have to think of a way to add the metadata to the timeseries json file. Shouldn't be too hard, but probably have to deal with converting all kinds of types that aren't officially allowed in json. Perhaps the PastasEncoder can once again be of use here.

Closed by #12


new Zigzag algorithm. Slower but better to deal with concave shapes

Fixes https://github.com/pshihn/rough/issues/133


support tryT transformer

closes #27

Coverage increased (+0.5%) to 44.372% when pulling 6caa45109a83571bf9c2579ebe14963975c71216 on stream-generator into aeeb94ba4d7cc91fe6c9cb7ea71de94e3a6c7e1c on master.


.Net: Bug: HTTP 404 - POST /chat/completions

Describe the bug
Exception thrown: 'Microsoft.SemanticKernel.HttpOperationException' in mscorlib.dll
Exception thrown: 'System.AggregatException' in mscorlib.dll
HTTP 404 (invalid_request_error: unknown_url)
Unknown request URL: POST /chat/completions. Please check the URL for typos, or see the docs at https://platform.openai.com/docs/api-reference/.
HTTP 404 (invalid_request_error: unknown_url)
To Reproduce
var builder = Kernel.CreateBuilder();
builder.AddOpenAIChatCompletion("gpt-4o", OPENAI_APIKEY);
var _kernel = builder.Build();

var service = _kernel.GetRequiredService<IChatCompletionService>();

var settings = new OpenAIPromptExecutionSettings
{
    Temperature = 1.05F,
    TopP = 1F,
    MaxTokens = 4096,
    ResponseFormat = "json_object"
};

var chat = new ChatHistory();
var ct = new CancellationTokenSource();
chat.AddUserMessage("tell me something good");
var content = await service.GetChatMessageContentsAsync(chat, settings, _kernel, ct.Token);

Expected behavior
'content' variable contains the message result.
Platform

OS: Windows 11
IDE: Visual Studio 2022
Language: C#
Source: Microsoft.SemanticKernel v 1.18.2

Additional context
Was working, then suddenly started throwing this exception.

Exception:
HTTP 404 (invalid_request_error: unknown_url)

Unknown request URL: POST /chat/completions. Please check the URL for typos, or see the docs at https://platform.openai.com/docs/api-reference/.

Inner Exception StackTrace:
   at OpenAI.ClientPipelineExtensions.<ProcessMessageAsync>d__0.MoveNext()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at OpenAI.Chat.ChatClient.<CompleteChatAsync>d__14.MoveNext()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at OpenAI.Chat.ChatClient.<CompleteChatAsync>d__5.MoveNext()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.SemanticKernel.Connectors.OpenAI.ClientCore.<RunRequestAsync>d__65`1.MoveNext()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   at Microsoft.SemanticKernel.Connectors.OpenAI.ClientCore.<GetChatMessageContentsAsync>d__15.MoveNext()

RequestUri:

@dmytrostruk - can you quickly look into this.  Seems like something might have changed during the last update.

@johnholliday - I tried this also and did not get any errors.  One thing to try locally is to hard code your model and key into AddOpenAIChatCompletion to see if there is something broken in the variables you currently have.

Just one observation when updating to the new OpenAI SDK for our OpenAI Connector we had a limitation that was enforced from their SDK where the SDK will enforce the endpoints to end with v1/chat/completions, before endpoints that finished with chat/completions where enough.
Another observation is that the connector expects the BaseAddress to be provided by an endpoint or by the httpClient, if you are providing an httpClient that is being shared across different tests and nullifying it's BaseAddress you may be getting this error.

I just recently started a new project and wanted to try it out. First run and got the same error.
Unknown request URL: POST /chat/completions. Please check the URL for typos, or see the docs at https://platform.openai.com/docs/api-reference/.
---> System.ClientModel.ClientResultException: HTTP 404 (invalid_request_error: unknown_url)

Unknown request URL: POST /chat/completions. Please check the URL for typos, or see the docs at https://platform.openai.com/docs/api-reference/.
    at OpenAI.ClientPipelineExtensions.ProcessMessageAsync(ClientPipeline pipeline, PipelineMessage message, RequestOptions options)
    at OpenAI.Chat.ChatClient.CompleteChatAsync(BinaryContent content, RequestOptions options)
    at OpenAI.Chat.ChatClient.CompleteChatAsync(IEnumerable 1 messages, ChatCompletionOptions options, CancellationToken cancellationToken)
    at Microsoft.SemanticKernel.Connectors.OpenAI.ClientCore.RunRequestAsync[T](Func1 request)
--- End of inner exception stack trace ---

Please confirm if you are using OpenAI.beta10 or OpenAI.beta11 versions. This may happen if you are using the beta11 against 1.18.2 or 1.19.0 which is targetting OpenAI.beta10. The URL behavior in beta11 changed, and we have a PR to update our connectors to the latest version.

@RogerBarreto I think that'll be it. Thanks for the replies folks, apologies for the delayed response! Here's a repro:
    <PackageVersion Include="Microsoft.SemanticKernel.Abstractions" Version="1.19.0" />
    <PackageVersion Include="Microsoft.SemanticKernel.Connectors.OpenAI" Version="1.19.0" />
    <PackageVersion Include="Microsoft.SemanticKernel.Core" Version="1.19.0" />
    <PackageVersion Include="OpenAI" Version="2.0.0-beta.11" />

using Microsoft.Extensions.DependencyInjection;
using Microsoft.SemanticKernel;
using Microsoft.SemanticKernel.ChatCompletion;

internal class ChatCompletionServiceTests
{
    [Test]
    public async Task AddKernelToServiceCollection_CredentialsAreValid_ReturnsResponse()
    {
        var services = new ServiceCollection();
        services.AddKernel();
        services.AddOpenAIChatCompletion("gpt-4o", Environment.GetEnvironmentVariable("OpenAIApiKey")!, Environment.GetEnvironmentVariable("OpenAIOrgId")!);
        var provider = services.BuildServiceProvider();
        var chatService = provider.GetRequiredService<IChatCompletionService>();
        var kernel = provider.GetRequiredService<Kernel>();
        _ = await chatService.GetChatMessageContentAsync("How much wood can a woodchuck chuck?", kernel: kernel);
    }
}

Yeah, that make sense and prove the point, for now use the OpenAI.beta10 and you will be fine.
Semantic Kernel 1.17 didn't use the OpenAI SDK yet. (New Connectors arrived in 1.18.2+)

Will close this as soon we have the related PR merged.


Use Ryu ofctl_rest API to dump flows instead of ovs-ofctl in unit tests

Not all HW switches can support ovs-ofctl to dump all the flows installed in its tables.
By using the already connected Ryu controller to fetch the flows (by starting it not only with the faucet app but also with the ofctl_rest app) we can be able to remove this contraint.
The format of the strings to search in the "dump-flows" output has been modified to correspond to the output provided by the Ryu ofctl_rest application.
All tests have been successfully run on Mininet with this change applied.

This is a great change!
I added one note to remove the TODO/sleep for hardware switches because
your change fixes the problem.
On Thu, Jun 9, 2016 at 1:17 PM, Davide Trentin<EMAIL_ADDRESS>wrote:

Not all HW switches can support ovs-ofctl to dump all the flows installed
in its tables.
By using the already connected Ryu controller to fetch the flows (by
starting it not only with the faucet app but also with the ofctl_rest app)
we can be able to remove this contraint.
The format of the strings to search in the "dump-flows" output has been
modified to correspond to the output provided by the Ryu ofctl_rest
application.
All tests have been successfully run on Mininet with this change applied.
You can view, comment on, or merge this pull request online at:
https://github.com/REANNZ/faucet/pull/110
Commit Summary

Use Ryu REST app to get flows instead of ovs-ofctl
changed expected strings to find the desired flow entry in the
multipart reply
removed useless commented line

File Changes

M tests/faucet_mininet_test.py
https://github.com/REANNZ/faucet/pull/110/files#diff-0 (40)

Patch Links:

https://github.com/REANNZ/faucet/pull/110.patch
https://github.com/REANNZ/faucet/pull/110.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/REANNZ/faucet/pull/110, or mute the thread
https://github.com/notifications/unsubscribe/AEgZ116kG9VgRpiJH3E9iaF2rJsj7Tsbks5qKHTTgaJpZM4IyXJu
.

I went ahead and merged this and I will make some further changes myself to ensure works for hardware too.


BUG: use integer division where appropriate

There are a few places where it is obvious that integer division is needed, and the 2to3 tool can't take care of them.  I tripped over one via a warning from numpy about non-integer indexing, and scanned __init__.py to find others.

Thanks! I was meaning to fix those up!


add instances for UTCTime

Time series are very frequent in statistics and therfore frequent in csv.

+1 I also found myself wanting to parse timestamp fields.
Perhaps a nice workaround might be to give a way to lift general attoparsec Parsers into Cassava parsers; then I could just reuse the timestamp parsers from something like timeparsers when parsing my timestamps rather than relying on Cassava to have them or reimplementing them myself.

Is this related to #68?

I just ran into this as well. @hvr would you accept to import time and/or timeparsers and provide FromField/ToField instances of Day etc. ?

There's a PR for this already: https://github.com/haskell-hvr/cassava/pull/151


Error while retrieving a CIS Scan when a node in a cluster is removed

What kind of request is this (question/bug/enhancement/feature request): bug
Steps to reproduce (least amount of steps as possible):

Deploy a cluster - 1 control/etcd node - m1 and 1 worker node- w1
Run CIS scan, when the cluster is Active. Verify the report generated. A test, to be run on all the nodes - test1 - reports correctly for nodes - m1 and w1
Scale up the number of worker nodes by 1
Run CIS scan, when the cluster is Active. Verify the report generated. A test, to be run on all the nodes - test1 - reports correctly for nodes - m1, w1 and w2
Scale down the number worker nodes by 1
Run CIS scan, when the cluster is Active. Verify the report generated. A test, to be run on all the nodes - test1 - reports correctly for nodes - m1, w1
Click on the report generated in Step 4.

Expected Result:
Report should be retrieved successfully.
Actual Result:
Report/CIS Scan fails to load

Error in console:
controller.js:151 Uncaught (in promise) TypeError: Cannot read property 'id' of undefined
    at controller.js:151
    at Array.map (<anonymous>)
    at controller.js:148
    at Array.map (<anonymous>)
    at n.<anonymous> (controller.js:137)
    at n.i.get (metal.js:3614)
    at $e (metal.js:2720)
    at t.r.compute (glimmer.js:565)
    at t.value (glimmer.js:388)
    at e.r.value (runtime.js:5115)

Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): master-head
Installation option (single install/HA): single

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): custom
Kubernetes version (use kubectl version):

1.16

Verified on master head - commit id: 656781c34
Steps:

Deploy a cluster - 1 control/etcd node - m1 and 1 worker node- w1
Run CIS scan, when the cluster is Active. Verify the report generated. A test, to be run on all the nodes - test1 - reports correctly for nodes - m1 and w1
Scale up the number of worker nodes by 1
Run CIS scan, when the cluster is Active. Verify the report generated. A test, to be run on all the nodes - test1 - reports correctly for nodes - m1, w1 and w2
Scale down the number worker nodes by 1
Run CIS scan, when the cluster is Active. Verify the report generated. A test, to be run on all the nodes - test1 - reports correctly for nodes - m1, w1
Click on the report generated in Step 4.
Report is fetched successfully. And w2 on a test (applicable) says "Node is not part of the cluster


Release version 0.0.2

What happened 👀
Release version 0.0.2 to resolve build on Jitpack
Insight 📝
Remove applicationId at common-ktx library
Proof Of Work 📹
N/A

@doannimble Please checkout release/0.0.2 from develop for release instead of merge develop to main directly 🙏

Close as invalid PR


valueList

aas:valueList has wrong label and comment

Solved by https://github.com/sebbader/AssetAdminShellOntology/commit/f5c52321c79d7b6d72090ff3fce24e69f58fc630


VS Code hangs up when there is a cyclic dependency in tasks.json

VSCode Version: 1.50.1
OS Version: Win 2004

Steps to Reproduce:

Create a tasks.json with at least one task
Set the task's dependsOn property to the name of the same task
Start the task
Enjoy how your VS Code window crashes!

Seriously, there should be a check for such unconditional dependency cycles. :-)

Great, thanks for the fast fix!


Web assembly support

So i have been considering the past few days... How difficult would it be to port this library to support web assembly?
We would surely need to go fully native c++, without the CX extensions and classes, and subtitles would surely not work anymore, but I think it would be a cool, 11/10 difficulty project we could pursue.

I think libVLC is becoming a viable alternative to MF + ffmpeg. It now supports uno and is fully cross platform. So if there's one cross platform media engine, it's probably libVLC.

 The approach is directly opposite to Windows - instead of minimising background resource usage, they seem to be going the other way around and favor having most of the logic in the background service.
On top of that, heaps of APIs with sane name but different namespace, randomly deprecated things, and unholy need for inner classes.

After reading into discussions about Android APIs, it's also my impression that the situation there is definitely not better than on the Microsoft side.  The grass is always greener on the other side? Huh, well, maybe not. And yes, Android has a very different approach to API design, parly due to Java limitations. Especially, there are no events in Java, so for each and every event you need to implement an interface, what a mess. That's one of the worst aspects of the Java language design.

What baffles me more is that kotlin seems to be going down the same route of class / interface for every event handler, instead of implementing actual event handlers. Thank God for Xamarin lol. Makes life a little easier, although interacting with framework classes is still a capital PITA.
I gotta say, Windows is miles ahead of Android. At least backwards compatibility is a given, and bugs are far in between. It is pretty obvious that Microsoft has a much better understanding of the programming world than Google.

I don't fully agree on backwards compatibility: Android has the concept of providing the "AppCompat" layer. It is a set of support libraries that implement new Android APIs on older Android versions as far as possible. So when they deprecate and API and replace it with a new one, you can use AppCompat with the new API and on older phones it will be implemented through the older API. That's a pretty clever concept that allows to evolve APIs and support them even on older phones. But on the other hand it can also be an invitation for Google to randomly break and replace APIs and have devs switch to new concepts all the time.
Overall I also prefer Windows APIs a lot over Android. Especially the UI layer is pretty amazing, if only there were not so many bugs. Hopefully the open source WinUI 3+ will allow it to get even better regarding quality and feature set in future.


How to solve the passthrough problem?

I suspect MRTK2.8 and Oculus Intergration don't work well together. My scene is a cylindrical courtyard model with the camera and UI panel in it. I want to switch between passthrough mode and non-passthrough mode. when use Underlay, click a button, hide the cylindrical model,the outside is black,not reality background. when use Overlay and set Opacity 0.3, there is a slight passthrough effect In the courtyard model, this is not i wanted, i need  absolute VR experience.Is there any way to solve this?  Maybe should use MRTK 3?
And when changing overlayType or textureOpacity in code, it doesn't work.
public void SetPassthroughOrNot()
    {
        if (environment.activeSelf)
        {
            passthroughLayer.overlayType = OVROverlay.OverlayType.Overlay;
            passthroughLayer.textureOpacity = 0.3f;
            environment.SetActive(false);
        }
        else
        {
            passthroughLayer.overlayType = OVROverlay.OverlayType.Underlay;
            passthroughLayer.textureOpacity = 1.0f;
            environment.SetActive(true);
        }
    }

MRTK3 might be a good idea. Do these help?
https://localjoost.github.io/Full-underlay-passthrough-transparency-with-MRTK3-on-Quest-2Pro/
https://localjoost.github.io/Full-underlay-passthrough-transparency-with-MRTK3-GA-on-Quest-2Pro/


libssl.so.1.1: cannot open shared object file: No such file or directory

Describe the bug
I'm attempting to set up a unleash-edge within a docker image built on a newer OS(Debian 12.6), and when starting the container, it returns the error
/unleash-edge: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
Example Dockerfile, with latest binary(19.3.0) in same directory:
FROM debian:12.6

COPY ./ /

ENTRYPOINT ["/unleash-edge"]

Steps to reproduce the bug

Setup Dockerfile using later versions of OSes(Debian 12) and unleash-edge binary in same folder
Run Dockerfile

Expected behavior
Should start up unleash-edge without errors
Logs, error output, etc.
/unleash-edge: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

Screenshots
No response
Additional context
No response
Unleash version
19.3.0
Subscription type
Open source
Hosting type
Self-hosted
SDK information (language and version)
No response

Hi @mraymond - With newer debians, debian uses openssl 3.0, I think we're still built against libssl (openssl 1.1). I'll see if I can't get a build out with openssl 3.0. Thanks for reporting this.

I'm assuming you downloaded the binary from the repository here, that's still built with openssl 1.1.
I'd probably make a builder using debian 12 as well. I'll make a PR with a new Dockerfile with Openssl 3.0

Yep, confirming the binaries I was trying were from the releases on Github. Thanks for the future update.


Add FormatterException

This is intended for usage within Extensions class during traversing of object-keys.
Previous behavior would allow a formatter to throw an uncaught exception for any number of reasons (ex. value is null and not handled by formatter).
This made it difficult to debug the cause of any problem.
New behavior wraps any format-related exception as a FormatterException.

Do you want to bump the version?

@khalidabuhakmeh: updated version and rebased commits. Should be good to go.


Migrate to github actions

Moving off of travis-ci / appveyor and onto github ci

cc: @rwjblue @stefanpenner @oligriffiths
This should be good to go now (just squash the commits down). We will also need to turn off the appveyor integration once this lands.


Error during mysql update

When I'm trying to update my database error occur:

An error occured while updating bolt_members_account. The error is An exception occurred while executing 'ALTER TABLE bolt_members_account CHANGE roles roles LONGTEXT DEFAULT 'Array' NOT NULL COMMENT '(DC2Type:json_array)'': SQLSTATE[42000]: Syntax error or access violation: 1101 BLOB, TEXT, GEOMETRY or JSON column 'roles' can't have a default value
An error occured while updating bolt_members_provider. The error is An exception occurred while executing 'ALTER TABLE bolt_members_provider CHANGE refresh_token refresh_token LONGTEXT DEFAULT 'Array' NOT NULL COMMENT '(DC2Type:json_array)', CHANGE resource_owner resource_owner LONGTEXT DEFAULT 'Array' NOT NULL COMMENT '(DC2Type:json_array)'': SQLSTATE[42000]: Syntax error or access violation: 1101 BLOB, TEXT, GEOMETRY or JSON column 'refresh_token' can't have a default value
An error occured while updating bolt_members_token. The error is An exception occurred while executing 'ALTER TABLE bolt_members_token CHANGE token_data token_data LONGTEXT DEFAULT 'Array' NOT NULL COMMENT '(DC2Type:json_array)'': SQLSTATE[42000]: Syntax error or access violation: 1101 BLOB, TEXT, GEOMETRY or JSON column 'token_data' can't have a default value

I'm using mysql Ver 14.14 Distrib 5.7.12
Any advice how to fix this problem?

Closing, since it's almost a year old, if it's still an issue with the latest dev-master or the next release, please reopen,  but I haven't run into this during the last half year or so of using members.


Update Yasumi::getProviders for platform agnosticism

Discovered while running tests on #29, Yasumi::getProviders does not work as expected on Windows!
This commit updates Yasumi::getProviders so that instead of hardcoding the unix-style / it instead listens for whatever PHP specifies as the DIRECTORY_SEPARATOR.

Super! Was thinking about the same, but didn't have the time yet to test on Windows. My understanding is that DIRECTORY_SEPARATOR is not necessarily needed because PHP always converts / to the appropriate character in its file functions.

This is what getProviders was returning on Windows:

Hmm. I see...

I tried on Windows and see also the 'Unix' style separators but didn't have any issues. Do you encounter any problems because of this?

No problems in usage.  Only that the test failed because getProviders was returning full filepaths instead of provider names.

I didn't run the tests. Let me check again.


LUKS (Linux Unified Key Setup) Does Not Work

Please paste the output of the following command here: sudo edit-chroot -all

name: precise
encrypted: yes, unlocked
crouton: version 1-20170901092920~master:0216f9d1
release: precise
architecture: armhf
xmethod: xorg
targets: lxde
host: version 9765.81.0 (Official Build) stable-channel veyron_speedy
kernel: Linux localhost 3.14.0 #1 SMP PREEMPT Mon Oct 9 00:37:31 PDT 2017 armv7l armv7l armv7l GNU/Linux
freon: yes
Please describe your issue:
Here is the problem that popped up after upgrading to new Chrome OS - cannot open LUKS encrypted device:
(precise)root@localhost:~# cryptsetup luksOpen --key-file ./key2_file /dev/mmcblk1 encryptedS
/dev/mapper/.qFeWCH: lsetfilecon failed: Permission denied
/dev/mapper/.1n5rdv: lsetfilecon failed: Permission denied
/dev/mapper/temporary-cryptsetup-3617: open failed: No such file or directory
Failed to open temporary keystore device.
Failed to read from key storage.
If known, describe the steps to reproduce the issue:
The just one step needed is above. Here is strace grepped output:
...
mknod("/dev/mapper/.Z4fKP7", S_IFBLK|0660, makedev(254, 2)) = 0
chown32("/dev/mapper/.Z4fKP7", 0, 6)    = 0
lsetxattr("/dev/mapper/.Z4fKP7", "security.selinux", "system_u:object_r:fixed_disk_device_t:s0", 41, 0) = -1 EACCES (Permission denied)
...
I suspect the problem is SELinux in the host OS and I am curious if anything can be done to solve it.

Unfortunately, the 'precise' release isn't supported any longer.
Hopefully, this issue is confined to it.
-DennisL

Thank you, Dennis. Yes, there were indeed other problems with 'precise'. Installing 'xenial' release has solved the problem.
-Nikolay


HDDS-8005. Fixed intermittent failure in TestOmSnapshot.testSnapDiffWithMultipleSSTs

What changes were proposed in this pull request?
TestOmSnapshot.testSnapDiffWithMultipleSSTs was failing all the time because snapshot diff is an async API and when a job is submitted for the first time, it always returns empty diff list with IN_PROGRESS status. User is supposed to make second call to fetch the results, once job is DONE. TestOmSnapshot.testSnapDiffWithMultipleSSTs was only making one call which only submits the request and returned empty diff response as mentioned above.
This change is to call snap diff after job to DONE to fetch complete diff report.
What is the link to the Apache JIRA
HDDS-8005
How was this patch tested?
Ran the test locally and on fork: https://github.com/hemantk-12/ozone/actions/runs/7620429542

Thanks @hemantk-12 , overall change looks good , left a minor comment. Could you also please run the flaky test workflow for this test a few times.

Initially, I didn't run the flaky-test-check because this test was marked Unhealthy not Flaky which means it failed all the times.
Just to be sure as suggested above, I ran it for 5x10 for one of the TestOmSnapshot's implementation: https://github.com/hemantk-12/ozone/actions/runs/7630045775 and it passed all the times.

Thanks @sadanand48 and @aswinshakil for the review.


Build/launch failure: jcm-deepfilternet (easyeffects plugin)

Steps To Reproduce

sudo nixos-rebuild

Build log
unpacking channels...
unpacking channels...
building Nix...
building the system configuration...
these 16 derivations will be built:
  /nix/store/kqwx4dqjag49hfvawi2jyjw1cil0yjcm-deepfilternet-0.5.6.drv
  /nix/store/jgd13cgyk7ldz71v7jnw8bi1fdrha9rf-easyeffects-7.1.7.drv
  /nix/store/1qypfs5cfrgkz7i73flxl4jmd29axl3y-home-manager-path.drv
  /nix/store/nn0610ksrrkw29z2hq56c344mdpiy0s2-activation-script.drv
  /nix/store/rgicrawdww4305xx4z2283zcaaaxzc5c-man-paths.drv
  /nix/store/9il4nzpsjdxkg3yym1b1jp95cbfwgnn7-man-cache.drv
  /nix/store/7kknvxr0pi6m9kgizk8lk6nni1ndn5ba-hm_.manpath.drv
  /nix/store/vrxn9rw3xp9c2ssc15zcpxphw3fxfzhl-easyeffects-7.1.7-fish-completions.drv
  /nix/store/i8n9njkl8vam2d86mv50g70y6nwa12af-ad-fish-completions.drv
  /nix/store/j4myvjyj4d0yd3a64qcmaisyl9lxaxjk-easyeffects.service.drv
  /nix/store/xl7nrwjdy4zyxndhassvx172lwvrjm4x-home-manager-files.drv
  /nix/store/4290wpiawmcfzmfa0am79rcp3n50pfc1-home-manager-generation.drv
  /nix/store/iir0799cf83fs7mf80cjr40sqqas2blg-unit-home-manager-ad.service.drv
  /nix/store/9f3d783w54mjd94g4awzzv5n3m52ywg0-system-units.drv
  /nix/store/vbpp6nl2pkjd61vg0shna7jim4swarhq-etc.drv
  /nix/store/1saybbi277snz3sgg0pbkg2z9klb5wmm-nixos-system-nixos-gnome-24.11pre666839.c3aa7b8938b1.drv
building '/nix/store/kqwx4dqjag49hfvawi2jyjw1cil0yjcm-deepfilternet-0.5.6.drv'...
Running phase: unpackPhase
unpacking source archive /nix/store/zjx7jxm12259mp6j9jpsaxa4zf9i64vk-source
source root is source
Executing cargoSetupPostUnpackHook
Finished cargoSetupPostUnpackHook
Running phase: patchPhase
Executing cargoSetupPostPatchHook
Validating consistency between /build/source/Cargo.lock and /build/cargo-vendor-dir/Cargo.lock
Finished cargoSetupPostPatchHook
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
Running phase: buildPhase
Executing cargoBuildHook
/build/source/ladspa /build/source
++ env CC_X86_64_UNKNOWN_LINUX_GNU=/nix/store/lbk30k56awz9vz9qpid93fkjns0xwlhd-gcc-wrapper-13.3.0/bin/cc CXX_X86_64_UNKNOWN_LINUX_GNU=/nix/store/lbk30k56awz9vz9qpid93fkjns0xwlhd-gcc-wrapper-13.3.0/bin/c++ CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=/nix/store/lbk30k56awz9vz9qpid93fkjns0xwlhd-gcc-wrapper-13.3.0/bin/cc CC_X86_64_UNKNOWN_LINUX_GNU=/nix/store/lbk30k56awz9vz9qpid93fkjns0xwlhd-gcc-wrapper-13.3.0/bin/cc CXX_X86_64_UNKNOWN_LINUX_GNU=/nix/store/lbk30k56awz9vz9qpid93fkjns0xwlhd-gcc-wrapper-13.3.0/bin/c++ CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=/nix/store/lbk30k56awz9vz9qpid93fkjns0xwlhd-gcc-wrapper-13.3.0/bin/cc CARGO_BUILD_TARGET=x86_64-unknown-linux-gnu HOST_CC=/nix/store/lbk30k56awz9vz9qpid93fkjns0xwlhd-gcc-wrapper-13.3.0/bin/cc HOST_CXX=/nix/store/lbk30k56awz9vz9qpid93fkjns0xwlhd-gcc-wrapper-13.3.0/bin/c++ cargo build -j 16 --target x86_64-unknown-linux-gnu --offline --profile release
warning: `/build/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
warning: `/build/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
warning: /build/source/pyDF-data/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition
(in the `pyo3` dependency)
   Compiling autocfg v1.1.0
   Compiling libm v0.2.7
   Compiling proc-macro2 v1.0.66
   Compiling unicode-ident v1.0.11
   Compiling memchr v2.5.0
   Compiling libc v0.2.147
   Compiling cfg-if v1.0.0
   Compiling thiserror v1.0.47
   Compiling once_cell v1.18.0
   Compiling version_check v0.9.4
   Compiling ucd-trie v0.1.6
   Compiling serde v1.0.188
   Compiling either v1.9.0
   Compiling time-core v0.1.1
   Compiling regex-syntax v0.7.5
   Compiling syn v1.0.109
   Compiling time-macros v0.2.14
   Compiling itertools v0.10.5
   Compiling static_assertions v1.1.0
   Compiling deranged v0.3.8
   Compiling itoa v1.0.9
   Compiling ahash v0.7.6
   Compiling num-traits v0.2.16
   Compiling num-integer v0.1.45
   Compiling num-bigint v0.4.4
   Compiling adler v1.0.2
   Compiling quote v1.0.33
   Compiling aho-corasick v1.0.4
   Compiling anymap2 v0.13.0
   Compiling syn v2.0.29
   Compiling cc v1.0.83
   Compiling getrandom v0.2.10
   Compiling doc-comment v0.3.3
   Compiling miniz_oxide v0.7.1
   Compiling matrixmultiply v0.3.7
   Compiling gimli v0.28.0
   Compiling unicode-segmentation v1.10.1
   Compiling tinyvec_macros v0.1.1
   Compiling percent-encoding v2.3.0
   Compiling tinyvec v1.6.0
   Compiling object v0.32.0
   Compiling time v0.3.28
   Compiling rustfft v6.1.0
   Compiling regex-automata v0.3.7
   Compiling same-file v1.0.6
   Compiling anyhow v1.0.75
   Compiling strength_reduce v0.2.4
   Compiling backtrace v0.3.69
   Compiling rustc-demangle v0.1.23
error[E0282]: type annotations needed for `Box<_>`
  --> /build/cargo-vendor-dir/time-0.3.28/src/format_description/parse/mod.rs:83:9
   |
83 |     let items = format_items
   |         ^^^^^
...
86 |     Ok(items.into())
   |              ---- type must be known at this point
   |
help: consider giving `items` an explicit type, where the placeholders `_` are specified
   |
83 |     let items: Box<_> = format_items
   |              ++++++++

   Compiling rawpointer v0.2.1
   Compiling transpose v0.2.2
   Compiling unicode-normalization v0.1.22
   Compiling walkdir v2.3.3
   Compiling primal-check v0.3.3
   Compiling hashbrown v0.11.2
   Compiling half v2.2.1
   Compiling minimal-lexical v0.2.1
For more information about this error, try `rustc --explain E0282`.
error: could not compile `time` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: builder for '/nix/store/kqwx4dqjag49hfvawi2jyjw1cil0yjcm-deepfilternet-0.5.6.drv' failed with exit code 101
error: 1 dependencies of derivation '/nix/store/jgd13cgyk7ldz71v7jnw8bi1fdrha9rf-easyeffects-7.1.7.drv' failed to build
error: 1 dependencies of derivation '/nix/store/vrxn9rw3xp9c2ssc15zcpxphw3fxfzhl-easyeffects-7.1.7-fish-completions.drv' failed to build
error: 1 dependencies of derivation '/nix/store/j4myvjyj4d0yd3a64qcmaisyl9lxaxjk-easyeffects.service.drv' failed to build
error: 1 dependencies of derivation '/nix/store/1qypfs5cfrgkz7i73flxl4jmd29axl3y-home-manager-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/rgicrawdww4305xx4z2283zcaaaxzc5c-man-paths.drv' failed to build
error: 1 dependencies of derivation '/nix/store/4290wpiawmcfzmfa0am79rcp3n50pfc1-home-manager-generation.drv' failed to build
error: 1 dependencies of derivation '/nix/store/iir0799cf83fs7mf80cjr40sqqas2blg-unit-home-manager-ad.service.drv' failed to build
error: 1 dependencies of derivation '/nix/store/9f3d783w54mjd94g4awzzv5n3m52ywg0-system-units.drv' failed to build
error: 1 dependencies of derivation '/nix/store/vbpp6nl2pkjd61vg0shna7jim4swarhq-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/1saybbi277snz3sgg0pbkg2z9klb5wmm-nixos-system-nixos-gnome-24.11pre666839.c3aa7b8938b1.drv' failed to build

Additional context
Using nixos-unstable. Last attempt just now.
Notify maintainers
@ralismark @getchoo
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
 - system: `"x86_64-linux"`
 - host os: `Linux 6.10.4, NixOS, 24.11 (Vicuna), 24.11pre666839.c3aa7b8938b1`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.5`
 - channels(root): `"home-manager, nixos, nixpkgs"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Add a :+1: reaction to issues you find important.

I experience the same issue

This should have been fixed in https://github.com/NixOS/nixpkgs/pull/334838, which hasn't made it to nixos-unstable yet. Could you try running this against latest nixpkgs-unstable?

Thanks @getchoo, I'm fairly sure that will fix it, else will reopen.

I still have this issue on ubuntu using nix+home-manager, manually pointing to the newest version of easyeffects fixes the issue:
services.easyeffects = {
      enable = true;
      package = pkgs.fetchFromGitHub {
      owner = "wwmm";
      repo = "easyeffects";
      rev = "v7.1.8";
      hash = "sha256-eDjtmr100WOCd0k0p3rUEtu6O9LlSGs43oaIXT07ikI=";
    };

This seems like a different issue if easyeffects itself is failing to build (also thanks for tipping me off to the new release 😆)

It did work but now the service doesn't launch :(
logs.txt

Any news on that? The service still won't start on NixOS unstable.

It did work but now the service doesn't launch :( I did recursively reset the easyeffects' dconf keys, didn't help.
logs.txt

The logs are sadly not very useful, only containing Failed to register: Unable to acquire bus name errors over and over again. Perhaps you already have another instance of easyeffects running?
This also appears to be different from the original issue reported

Hum okay I had to kill .easyeffects-wr and then everything fixed itself. Is that a known culprit?

Is that a known culprit?

Running two processes that want to own a bus name is, yes
But I'm not really sure why another process was running in the background; that should not happen normally


#300 Chocolate Distribution Problem

Description
This contains the C++ solution of the Chocolate Distribution Problem.
Fixes #(300)
Checklist:

[x] My code follows the style guidelines(Clean Code) of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have created a helpful and easy to understand README.md
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests/screenshots(if any) that prove my fix is effective or that my feature works

Sir please merge this PR.


only call calc on deterministic deps of RHS-only nodes at MCMC initialization

This seeks to address issue #625.
I will not proceed until thumbs up from @perrydv and @danielturek .

Two comments:

Could the same changes be made in a more transparent manner, as:

Rather than creating a nodeFunctionVector, only create this (as currently done):
determDepsOfRHSonly <- model$getDependencies(model$getMaps('nodeNamesRHSonly'), determOnly = TRUE)

Then change the later calcuate line to:
model$calculate(determDepsOfRHSonly)

Sorry if I'm overlooking something, and that's not the same as what you have.

Still thinking about this change, overall.

@paciorek Also suggest this PR be renamed to refer to "model initialization", rather than "MCMC initialization", if that's possible.
As a historical note, the current initializeModel originated from code at the beginning of the MCMC algorithm, which was then pulled out as a separate initializeModel routine, in hopes of other algorithms using it, as well.

I used the nodeFunctionVector because that's what you had!  I wasn't really understanding why we had explicitly created a nodeFunctionVector before....

I pushed one commit to this PR, to simplify as discussed: no longer using a nodeFunctionVector.
I'll say LGTM, in the sense that I can't come up with cases where this doesn't work.  I'd say go with it, with the deeply-rooted belief that if we're overlooking some case where it doesn't work, we'll find out soon enough...

@paciorek - remember to add basic test of initialization of model with NA in dynamic indexes.


Position on the screen

jquery-confirm version:
v3.x.x
I'm submitting a ...  (check one with "x")
[ ] bug report
[x] feature request
[ ] support request
Current behavior:
The pop-up comes only in the center of the screen.
Expected behavior:
We can include a feature to position it left, right, top, bottom, center.
Steps to reproduce:
1st way:
Include 6 variables as custom_position, pos_left, pos_right, pos_top, pos_bottom
Check if custom_position is true or not
If true, check all 4 positions if true or not
If true, move the dialog box to the left/right/top/bottom of the screen, if not, position it in the center
2nd way:
Include 3 variables as custom_position, pos_vertical, pos_horizontal
If custom position is true, check for pos_vertical/pos_horizontal for fix values as
pos_vertical: ['top','center','bottom']
pos_horizontal: ['left','center','right']
position the dialog box according to the options
Related code:
code is still in development
i will post it once i complete it
insert any relevant code here

Other information:

Thanks for the suggestion, i will try and implement this soon.

Soon means in a short time from now


d1: Fix exec to return D1ExecResult correctly.

The D1 API returns a D1ExecResult shaped object on calls to .exec. This fixes the types to match what D1 returns.

cc @geelen

Superseded in runtime work.


[WIP] Add endpoints to work with helm releases

Coverage decreased (-0.9%) to 45.837% when pulling 2b7dba4b07d780e95f885539b1e23f5ed9e4d771 on saheienko:add_helm_releases_api into f3b85a291d9f67a2745fed518c7e909be05d9a69 on supergiant:master.


Celery Background Tasks: Property "Task" defined in "Celery" is read-only

Currently, the documentation says to replace celery.Task with a custom ContextTask. But this raises an error using mypy:
$ cat minimal.py
from flask import Flask
from celery import Celery, Task

def make_celery(app: Flask):
    celery = Celery(app.import_name)
    celery.conf.update(app.config["CELERY_CONFIG"])

    class ContextTask(Task):
        def __call__(self, *args, **kwargs):
            with app.app_context():
                return self.run(*args, **kwargs)

    celery.Task = ContextTask
    return celery
$ mypy minimal.py
minimal.py:13: error: Property "Task" defined in "Celery" is read-only
minimal.py:13: error: Incompatible types in assignment (expression has type "Type[ContextTask]", variable has type "Task[Any]")

Instead one should initialize Celery with a string of the desired Task class. See Celery docs.
$ cat minimal.py
from flask import Flask
from celery import Celery, Task

class ContextTask(Task):
    def __call__(self, *args, **kwargs):
        with app.app_context():
            return self.run(*args, **kwargs)

def make_celery(app: Flask):
    celery = Celery(app.import_name, task_cls="minimal.minimal:ContextTask")
    celery.conf.update(app.config["CELERY_CONFIG"])

    return celery
$ mypy minimal.py
Success: no issues found in 1 source file

Is it resolved??

@davidism Is it resolved??

The proposed fix isn't correct, it defeats the purpose of the Flask application factory function by referring to the app outside the function. That said, the current pattern isn't correct either if you're using the factory pattern for Flask as well.
However, I don't particularly care if MyPy doesn't think this is correct. MyPy isn't perfect, especially when it comes to completely valid Python patterns that large frameworks use but that MyPy hasn't figured out how support yet.


new release?

Hi, any chance a new release gets pushed to npm soon?

Sure, I completely forgot to do it. I am AFK, but I am going to create a new release once I go back home.

thx @dmuneras!

Hey @jamesdixon! I released a new version. Thanks a lot for your contribution.

thank you!


MySQL Error when a new head node is added to an existing cluster - UEFI_SUPPORT Branch

I built a 3 (default) node cluster using UEFI_SUPPORT branch. After that I am trying to expand the cluster by adding 1 head node and 2 worker nodes. The 3rd node was added successfully but when I tried chef-ing existing head nodes, head node 2 failed with following error:
  * ruby_block[Check MySQL Quorum Status] action run
================================================================================
Error executing action `run` on resource 'ruby_block[Check MySQL Quorum Status]'
================================================================================

RuntimeError
------------
MySQL wsrep status still not ready after 10 poll attempts! (got: nil)

Cookbook Trace:
---------------
/var/chef/cache/cookbooks/bcpc/recipes/mysql.rb:242:in `block (2 levels) in from_file'

Resource Declaration:
---------------------
# In /var/chef/cache/cookbooks/bcpc/recipes/mysql.rb

209: ruby_block 'Check MySQL Quorum Status' do
210:   block do
211:     require 'mysql2'
212:     require 'timeout'
213:
214:     # Returns 'ON' if wsrep is ready.
215:     # Returns 'nil' if we time out or get an error.
216:     def wsrep_ready_value(client_options)
217:       Timeout.timeout(5) do
218:         client = Mysql2::Client.new(client_options)
219:         result = client.query("SHOW GLOBAL STATUS LIKE 'wsrep_ready'")
220:         result.first['Value']
221:       end
222:     rescue
223:       nil
224:     end
225:
226:     mysql_status = nil
227:     poll_attempts = 10
228:
229:     poll_attempts.times do |i|
230:       mysql_status = wsrep_ready_value(mysql_local_connection_info)
231:       if mysql_status == 'ON'
232:         Chef::Log.info("MySQL is up after #{i} poll attempts")
233:         break
234:       else
235:         Chef::Log.debug("MySQL status is #{mysql_status.inspect}, sleeping")
236:         sleep(0.5)
237:       end
238:     end
239:

Compiled Resource:
------------------
# Declared in /var/chef/cache/cookbooks/bcpc/recipes/mysql.rb:209:in `from_file'

ruby_block("Check MySQL Quorum Status") do
  action "run"
  retries 0
  retry_delay 2
  guard_interpreter :default
  block_name "Check MySQL Quorum Status"
  cookbook_name "bcpc"
  recipe_name "mysql"
  block #<Proc:0x00000005b4fb68@/var/chef/cache/cookbooks/bcpc/recipes/mysql.rb:210>
end

Trying to chef the 2nd head node once again.

Looking at 2nd head node, MySQL service is stopped. I am not sure why would this happen on a running cluster:
root@bcpc-vm2:/home/ubuntu# cd
root@bcpc-vm2:~# service mysql status
 * MySQL (Percona XtraDB Cluster) is stopped. Check log

Also, since now I have 3 head nodes, not sure why quorum is not found.

Started MySQL service manually and re-chef'd the node again.  This time chef-client ran successfully. It would be good to reproduce/investigate why MySQL went down.


Running FAPI conformance suite on top of OB accelerators

Description:
Need to run the FAPI conformance suite on top of OB accelerators and also obtain the respective certifications.
Test suite details:
Test plan: FAPI1-Advanced-Final: Authorization server test.
FAPI profile: plain_fapi

Combination
Client Authentication Type
Request Object Method
FAPI Response Mode

1
mtls
by_value
plain_response

2
mtls
by_value
jarm

3
mtls
pushed
plain_response

4
mtls
pushed
jarm

5
private_key_jwt
by_value
plain_response

6
private_key_jwt
by_value
jarm

7
private_key_jwt
pushed
plain_response

8
private_key_jwt
pushed
jarm

Closing this issue since this is fixed


PIPlayerApplet: null BLOCK_NAME

I sent to the server data with empty stimuli and empty media. The response was 500 with this message:
java.sql.SQLException: ORA-20000: yuiat_admin_pkg.insert_applet_data ORA-01400: cannot insert NULL into ("YUIAT_RESEARCH_ADMIN"."YUIAT_APPLET_DATA"."BLOCK_NAME") Session: 666883 Block:  Trial: 11
I assume that PIPlayerApplet uses the stimuli field for BLOCK_NAME. I don't think we want to prevent people from not logging their stimuli. If stimuli is empty, enter an empty string, or the string "null" (whatever is possible). The same is true for whatever you do with the media field (I guess it goes to trial_name).

@andrewdzik can we close this?

Closing for lack of interest as part of an issue triage. If this comes up again, we can reopen.


Ensure we don't create test nc files in the user's git repo

[ ] Closes Issue #xxxx
[ ] Tests added
[ ] Changes are documented in CHANGELOG.rst

@hmaarrfk LGTM! Thanks for catching this! Should this go together with #187? Or which order of merge do you prefer?

no order is important, i just didn't know the knock on effects. making it easier to click merge for you :D

Thanks @hmaarrfk!


Use conditions but not repo ids as query condition

Fix #15412, in my test, over 600 repositories in /issues with over 6000 issues will spend 370ms in my macBook Pro 2020 .

Ci fail appears related

Ci fail appears related

Yes, I'm looking into that. A question is if I created an issue or pull in a public repository I have no write permission, should the repo be listed in my issues or pulls. Or any public repo which you have some comments/reviews on those issues or pulls.

It's more clear than before 👍.
I am a little curious, why these unit test checks for IssueStats are changed?

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@013fb73). Click here to learn what that means.
The diff coverage is 72.72%.

@@           Coverage Diff           @@
##             main   #16839   +/-   ##
=======================================
  Coverage        ?   45.52%
=======================================
  Files           ?      807
  Lines           ?    89778
  Branches        ?        0
=======================================
  Hits            ?    40872
  Misses          ?    42388
  Partials        ?     6518

Impacted Files
Coverage Δ

models/repo_permission.go
61.46% <ø> (ø)

models/user.go
55.77% <ø> (ø)

models/repo_list.go
72.83% <68.14%> (ø)

models/issue.go
59.26% <72.97%> (ø)

routers/web/user/home.go
62.44% <80.48%> (ø)

models/issue_list.go
72.20% <100.00%> (ø)

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 013fb73...ade6c9c. Read the comment docs.

It's more clear than before 👍.
I am a little curious, why these unit test checks for IssueStats are changed?

I guess the previous implementation is not right. :) But I cannot point out what's wrong with it.
I tested the new implementation locally and found it works well.


Use flexible shebang for user scripts

User environments do not necessarily have correct bash at /bin/bash. Shebang fixed at #!/bin/bash may result in error.
This code change replaces shebang in scripts that are run in host OS with #!/usr/bin/env bash. Scripts that are run in guest OS or in VM are untouched.

For all but the two top level scripts the shebang is completely irrelevant and should in fact probably be removed.
And I have yet to see a system where /bin/bash does not work. That's a pretty well accepted standard path. Where did you run into issues with it?

bash is not always in /bin particularly BSD-based systems. On my mac, I do have bash 3.x on /bin/bash and 5.x on /usr/local/bin. Using #!/usr/bin/env bash allows using bash searches environment for desired bash.

Hmmm interesting,
Also this answer on Stackoverflow

By the way if I only change makeimage.sh and build.sh to use flexible shebang, scripts under util/ would continue to show error when trying to build in bash 3 environment. So I tried to change the shebangs for scripts that are run on host machines.

I've decided against this.
/bin/bash is a very established standard path, much more than /usr/bin/env itself is.
Also, allowing PATH to have an effect there seems an unneccesary source of issues.

It is your prerogative.
If you do encounter the need of supporting macOS in the future, there might be issues if bash is hardcoded at /bin/bash.