(MODULE-2567) Add MongoDB >=3.x new APT repository location

See MODULE-2567.

This PR is interesting for me too, could you merge it ?

Please merge this.

please merge

please merge :dancers:

Please merge, 3.0 branch is now the current branch and this will be helpfull.
Thanks

:+1: please merge

:+1: please merge

There seems to be an issue with travis-ci, tests should be re-triggered.

Except that it's not main -- it's multiverse (for Ubuntu at least)

I'm not sure to understand @robbyoconnor, if you look at the code, $repo is set to "multiverse" when $::operatingsystem is set to "Ubuntu" ...

I may have missed that...sorry disregard
--Rob
Sent from my cell, please excuse any typos.
On Mar 24, 2016 3:50 PM, "Luc Sarzyniec"<EMAIL_ADDRESS>wrote:

I'm not sure to understand @robbyoconnor https://github.com/robbyoconnor,
if you look at the code, $repo is set to "multiverse" when
$::operatingsystem is set to "Ubuntu" ...
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/puppetlabs/puppetlabs-mongodb/pull/234#issuecomment-200990296

Hi,
I'd like to add you to my professional network on LinkedIn.

Robert

Confirm that you know Robert: https://www.linkedin.com/e/v2?e=0-ini67oej-9r&t=ssuw&tracking=eml-guest-invite-cta&ek=invite_guest&sharedKey=xJ5SvcL5&invitationId=6130897023177678848
You received an invitation to connect. LinkedIn will use your email address to make suggestions to our members in features like People You May Know. Unsubscribe here: https://www.linkedin.com/e/v2?e=0-ini67oej-9r&t=lun&midToken=AQFmrFVhGEd36Q&ek=invite_guest&loid=AQGjMXfG_AqG1QAAAVRVSclqNRyDkFvWYTCS2L1HOHeiEoooqNbKDIf-vX-lfPN_JceGIcpG64gza_Iy3nQF1K-QKY4Mfedou2KCq3Xil3KlglfGZlp75mg2Qbs-cJw1RH3TeN7Nnwjfh2x5y6eijTXGXsmq3lb01MFW7raV-zD0ylIg_hbky2pJR21esqGGIAlm&eid=0-ini67oej-9r
This email was sent to<EMAIL_ADDRESS>If you need assistance or have questions, please contact LinkedIn Customer Service: https://www.linkedin.com/e/v2?e=0-ini67oej-9r&a=customerServiceUrl&ek=invite_guest
© 2016 LinkedIn Corporation, 2029 Stierlin Court, Mountain View CA 94043. LinkedIn and the LinkedIn logo are registered trademarks of LinkedIn.

👍


Experimental Trackers - added diffusion model training with wandb

About refactoring your diffusion into a single codebase to avoid duplication, you can follow this guide generated by ChatGPT: https://chatgpt.com/share/0a2e4f72-97df-4625-bcda-0ff574aa4d85
I know that is the way to go, but I couldn't find any repositories.

Let's add a README and merge


Add official Docker Actions

docker/github-actions deprecated. Switch to the "main" Docker action docker/build-push-action
crazy-max/ghaction-docker-buildx archived and moved to docker/setup-buildx-action
Prepend official Docker actions in the Docker section

Review when v2.0.0 of build-push Docker action released

V2.0.0 is now released!


v 4+ (URGENT BUG - SHIPBLOCKER) iTreeAPI values ARE NOT saving to the backend database - EVEN THOUGH they are being shown on the front end

'Calculate Tree Benefits & Save' should (for all cases EXCEPT when the Species = 'Unknown') save the iTreeAPI benefits in the database.
Both live device testing (android) and simulator showed this error today 1/23/2023 with @bestw07's latest APK build.
Video of error:
https://user-images.githubusercontent.com/62637055/214216629-c007e368-6e2c-4581-9a8c-b9519c5614ee.mp4

Christy (device test on version 71):  I add a tree filling out all the fields properly. When I click Calculte Tree Benefits and save, the the Success message pops up first, then later the tree benefits appear. Should be the other way around.
https://www.dropbox.com/s/1rp8opizjp1i8m6/Video Jan 25 2023%2C 12 55 31 PM.mov?dl=0

Tested in sim with @bestw07 (also a screen share on android device) on 1/26/2023 #426


React section appears to be very dated

First 2 links are from 7 years ago, talking about class components. Just linking reacts updates docs would be a more relevant resource.

Thanks u @joe-was-here


[SR-15226] URLSession async features not available under x86_64-unknown-linux-gnu

Previous ID
SR-15226

Radar
None

Original Reporter
msbit (JIRA User)

Type
Bug

Status
Resolved

Resolution
Duplicate

Environment
$ swiftc --version
Swift version 5.5 (swift-5.5-RELEASE)
Target: x86_64-unknown-linux-gnu

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.3 LTS
Release:        20.04
Codename:       focal

Additional Detail from JIRA

Votes
0

Component/s
Compiler

Labels
Bug

Assignee
None

Priority
Medium

md5: c558b324f8d5372e363d9afa9dcfb355

duplicates:

SR-15187 URLSession missing async APIs in Swift 5.5

Issue Description:
With code like:
import Foundation
import FoundationNetworking

let bytes = URLSession.AsyncBytes()

Task.detached {
  let url = URL(string: "https://www.example.com")!

  await URLSession.shared.bytes(from: url)
  await URLSession.shared.data(from: url)
  await URLSession.shared.download(from: url)
}

when run via:
swiftc main.swift

gives me the following errors:
main.swift:4:24: error: type 'URLSession' has no member 'AsyncBytes'
let bytes = URLSession.AsyncBytes()
            ~~~~~~~~~~ ^~~~~~~~~~
main.swift:9:27: error: value of type 'URLSession' has no member 'bytes'
  await URLSession.shared.bytes(from: url)
        ~~~~~~~~~~~~~~~~~ ^~~~~
main.swift:10:27: error: value of type 'URLSession' has no member 'data'
  await URLSession.shared.data(from: url)
        ~~~~~~~~~~~~~~~~~ ^~~~
main.swift:11:27: error: value of type 'URLSession' has no member 'download'
  await URLSession.shared.download(from: url)
        ~~~~~~~~~~~~~~~~~ ^~~~~~~~

Is there a separate import or some other invocation (similar to `import FoundationNetworking`) required for non-Apple platforms to use these APIs?

This is insanity....

@shahmishal This is a duplicate of an issue that was transferred last year to corelibs-foundation. Can we transfer it as well?


Simplify the naming of bundled library components

Do you want to request a feature or report a bug?
A feature request to remove the additional library block naming around a library components.

What is the current behavior?
Exporting a single class with libraryTarget: "this" (or "umd") adds another namespace around the class with the same name.
src/core/TestLib.js
src/adapter/LocalStorage.js
src/adapter/NativeStorage.js

After creating a bundled library for each target, I have to call:
new TestLib()
new TestLib.Adapter.NativeStorage.NativeStorage();
new TestLib.Adapter.LocalStorage.LocalStorage();

What is the expected behavior?
I would like to have the option to bundle the component without additional "object block", so I could use:
new TestLib();
new TestLib.Adapter.LocalStorage();
new TestLib.Adapter.NativeStorage();

If this is a feature request, what is motivation or use case for changing the behavior?
Simplify the call to the exported classes of a library.
Check out this repository for an example project.

I guess you could do a PR adding support for a output.exposeDefault which only exposes the default export instead of the whole ESM.

I will have a look at the code how to implement this.
But currently I cannot run the tests of webpack.
git clone https://github.com/webpack/webpack.git
npm install
npm run test

lead to:

<EMAIL_ADDRESS>test /home/toni/projects/webpack
mocha test/*.test.js --harmony --check-leaks
module.js:472
throw err;
^
Error: Cannot find module 'webpack/lib/Chunk'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at require (internal/module.js:20:19)
at Object. (/home/toni/projects/webpack/node_modules/extract-text-webpack-plugin/index.js:9:13)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at require (internal/module.js:20:19)
at Object. (/home/toni/projects/webpack/test/HotTestCases.test.js:8:27)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.runMain (module.js:605:10)
at run (bootstrap_node.js:423:7)
at startup (bootstrap_node.js:147:9)
at bootstrap_node.js:538:3

@Viatorus - Did you run npm link && npm link webpack on the repo? This will fix the error you are seeing with the tests.


expose window state to json, reopen and re-position windows on startup

solved

fix color picker width change after loading, maybe redo window width everywhere


Add e2e tests to enforce garbage collection

Goal: add an e2e that ensures the BI is deleted when the parent Operator resource is deleted.

Closing as this was only relevant to the POC branch.


Find-PSResource -Repository 'PSGallery' with NuGet version range returns no versions

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.

Steps to reproduce
Find-PSResource -Repository 'PSGallery' -Name 'Az' -Version '(9,10)' returns nothing.
If using -Debug we can se that the API request looks like below, which to me looks fine.

https://www.powershellgallery.com/api/v2/FindPackagesById()?id='Az'&$orderby=NormalizedVersion desc&$inlinecount=allpages&$skip=0&$filter=IsPrerelease eq false and Id eq 'Az' and NormalizedVersion gt '9.0.0' and NormalizedVersion lt '10.0.0'

I think this is a problem with the PowerShell Gallery API. It works with NuGet v3 API shim pwsh.gallery like so:
PS> Find-PSResource -Repository 'pwsh.gallery' -Name 'Az' -Version '(9,10)'

Name Version Prerelease Repository   Description
---- ------- ---------- ----------   -----------
Az   9.7.1              pwsh.gallery
Az   9.7.0              pwsh.gallery
Az   9.6.0              pwsh.gallery
Az   9.5.0              pwsh.gallery
Az   9.4.0              pwsh.gallery
Az   9.3.0              pwsh.gallery
Az   9.2.0              pwsh.gallery
Az   9.1.1              pwsh.gallery
Az   9.1.0              pwsh.gallery
Az   9.0.1              pwsh.gallery

PS>

Expected behavior
PS> Find-PSResource -Repository 'PSGallery' -Name 'Az' -Version '(9,10)'

Name Version Prerelease Repository Description
---- ------- ---------- ---------- -----------
Az   9.7.1              PSGallery  Microsoft Azure PowerShell - Cmdlets to manage resources in Azure. This module is compatible with PowerShell and Windows Pow…
Az   9.7.0              PSGallery  Microsoft Azure PowerShell - Cmdlets to manage resources in Azure. This module is compatible with PowerShell and Windows Pow…
Az   9.6.0              PSGallery  Microsoft Azure PowerShell - Cmdlets to manage resources in Azure. This module is compatible with PowerShell and Windows Pow…
Az   9.5.0              PSGallery  Microsoft Azure PowerShell - Cmdlets to manage resources in Azure. This module is compatible with PowerShell and Windows Pow…
Az   9.4.0              PSGallery  Microsoft Azure PowerShell - Cmdlets to manage resources in Azure. This module is compatible with PowerShell and Windows Pow…
Az   9.3.0              PSGallery  Microsoft Azure PowerShell - Cmdlets to manage resources in Azure. This module is compatible with PowerShell and Windows Pow…
Az   9.2.0              PSGallery  Microsoft Azure PowerShell - Cmdlets to manage resources in Azure. This module is compatible with PowerShell and Windows Pow…
Az   9.1.1              PSGallery  Microsoft Azure PowerShell - Cmdlets to manage resources in Azure. This module is compatible with PowerShell and Windows Pow…
Az   9.1.0              PSGallery  Microsoft Azure PowerShell - Cmdlets to manage resources in Azure. This module is compatible with PowerShell and Windows Pow…
Az   9.0.1              PSGallery  Microsoft Azure PowerShell - Cmdlets to manage resources in Azure. This module is compatible with PowerShell and Windows Pow…

PS>

Actual behavior
PS> Find-PSResource -Repository 'PSGallery' -Name 'Az' -Version '(9,10)'
PS>

Error details
No response
Environment data
PowerShell v7.4.1
Microsoft.PowerShell.PSResourceGet v<IP_ADDRESS>

Visuals
No response

if you run the query in the browser you get this error message

if you take that query and properly encode it like this then you get results so should be a simple enough fix however perhaps also needs some cleanup
irm "https://www.powershellgallery.com/api/v2/FindPackagesById()?id=%27Az%27&$orderby=NormalizedVersion%20desc&$inlinecount=allpages&$skip=0&$filter=IsPrerelease%20eq%20false%20and%20Id%20eq%20%27Az%27%20and%20NormalizedVersion%20gt%20%279.0.0%27%20and%20NormalizedVersion%20lt%20%2710.0.0"

@kilasuit Somehow your PowerShell command works, but you haven't escaped $. Which gives a rather strange URI if
"https://www.powershellgallery.com/api/v2/FindPackagesById()?id=%27Az%27&$orderby=NormalizedVersion%20desc&$inlinecount=allpages&$skip=0&$filter=IsPrerelease%20eq%20false%20and%20Id%20eq%20%27Az%27%20and%20NormalizedVersion%20gt%20%279.0.0%27%20and%20NormalizedVersion%20lt%20%2710.0.0" | clip

Gives
https://www.powershellgallery.com/api/v2/FindPackagesById()?id=%27Az%27&=NormalizedVersion%20desc&=allpages&=0&=IsPrerelease%20eq%20false%20and%20Id%20eq%20%27Az%27%20and%20NormalizedVersion%20gt%20%279.0.0%27%20and%20NormalizedVersion%20lt%20%2710.0.0

@o-l-a-v thanks for creating this issue, we're aware of this being an issue due to a version comparison bug. We have this in our backlog


inactivate "add" button without annotation file

On this page:
http://audiannotate.brumfieldlabs.com/project/saracarl/bacon/items/bacon-home
the "add" button is active even without a file uploaded.  Easy to click without reading.

Fix the red page, at minimum!


init() and shut_down() needs reference counting

Hello
I am reviewing patches that add rsmi support to hwloc. The major complain is that rsmi init()/shutdown() do not have reference counting.
Any application using both rsmi and hwloc will call rsmi_init() and hwloc_topology_load() which also calls rsmi_init(). hwloc doesn't know when the application actually uses rsmi. Hence hwloc cannot ever call rsmi_shut_down() because it may always break somebody else using rsmi.
The issue basically prevents us from ever calling rsmi_shut_down(), which is ugly and makes valgrind complain etc.
Note that this is not specific to hwloc. It's a generic problem with libraries that may be used by multiple layers in a software stack. MPI is fixing similar issues (nobody cared 25 years ago, today it's a big issue).
Note also that I am not even talking about thread safety here. Reference counting can be thread-unsafe for now if the rest of the lib isn't thread-safe. But you must make rsmi_shut_down() a noop unless it's the last invocation with respect to number of rsmi_init() calls earlier.
Also it'd be good to know which version fixes this so that hwloc can check the rsmi version before deciding whether it may safely call rsmi_shut_down() or not.
thanks
Brice

Thanks Brice
I'm working on this now. I'll push something probably next week.
Chris
On Tue, May 5, 2020 at 4:03 AM Brice Goglin<EMAIL_ADDRESS>wrote:

Hello
I am reviewing patches that add rsmi support to hwloc. The major complain
is that rsmi init()/shutdown() do not have reference counting.
Any application using both rsmi and hwloc will call rsmi_init() and
hwloc_topology_load() which also calls rsmi_init(). hwloc doesn't know when
the application actually uses rsmi. Hence hwloc cannot ever call
rsmi_shut_down() because it may always break somebody else using rsmi.
The issue basically prevents us from ever calling rsmi_shut_down(), which
is ugly and makes valgrind complain etc.
Note that this is not specific to hwloc. It's a generic problem with
libraries that may be used by multiple layers in a software stack. MPI is
fixing similar issues (nobody cared 25 years ago, today it's a big issue).
Note also that I am not even talking about thread safety here. Reference
counting can be thread-unsafe for now if the rest of the lib isn't
thread-safe. But you must make rsmi_shut_down() a noop unless it's the
last invocation with respect to number of rsmi_init() calls earlier.
thanks
Brice
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/RadeonOpenCompute/rocm_smi_lib/issues/62, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ADDTF2NU6JSZKLAKKCGYK6TRP7I7JANCNFSM4MZMWX4Q
.

Thanks, I just saw the commit. Can you confirm that refcounting will be enabled when rsmi_version_get() return > 3.3.x ? I see your last release in Match is 3.3.0 but I can't find the next version number in git master.

That's correct. 3.5 (there is no 3.4) should be the first release with the
ref counting.
Chris
Chris
On Thu, May 28, 2020 at 3:50 AM Brice Goglin<EMAIL_ADDRESS>wrote:

Thanks, I just saw the commit. Can you confirm that refcounting will be
enabled when rsmi_version_get() return > 3.3.x ? I see your last release in
March is 3.3.0 but I can't find the next version number in git master.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/RadeonOpenCompute/rocm_smi_lib/issues/62#issuecomment-635209261,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADDTF2OGSR4I4Z56V3FN4KDRTYQVHANCNFSM4MZMWX4Q
.

--

Perfect, thanks.

Ref count exists as of 3 years ago :)


iOS chiptool fails to compile: TemperatureSensorViewController.m:223:29: No visible @interface for 'CHIPDevice' declares the selector 'subscribeWithQueue:minInterval:maxInterval:params:reportHandler:subscriptionEstablished:'

iOS chiptool fails to compile using SHA 48b48c28a5c2aa699ee2699d8a051717ff6d0686
See following error:
/Users/keanhinlim/connectedhomeip/src/darwin/CHIPTool/CHIPTool/View Controllers/Temperature Sensor/TemperatureSensorViewController.m:223:29: No visible @interface for 'CHIPDevice' declares the selector 'subscribeWithQueue:minInterval:maxInterval:params:reportHandler:subscriptionEstablished:'

Proposed Solution
<suggested fix, suggested enhancement>

Fallout from https://github.com/project-chip/connectedhomeip/pull/16534


frontend: missing-doc advice is conditioned to the presence of doc on the module

The missing-doc advice is now conditioned to the presence of a doc on the module.
The rationale is that if the module is documented, then the programmer does care and we show places where the documentation is missing, else the programmer does not care then we do not talk about documentation in order to not alienate him.

Good idea. +1


added dadamssg as contributor

What:
Added myself as a contributor

Why:
Kent told me I could :)
https://github.com/kentcdodds/dom-testing-library/pull/77#issuecomment-406368721

How:
npm run add-contributor

Checklist:

[ ] Documentation
[ ] Tests
[ ] Ready to be merged
[x] Added myself to contributors table

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update http4s-dsl, http4s-ember-client, ... to 0.23.29

About this PR
📦 Updates

org.http4s:http4s-dsl
org.http4s:http4s-ember-client
org.http4s:http4s-ember-server

from 0.23.18 to 0.23.29
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.http4s" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.http4s" }
}]

labels: test-library-update, early-semver-minor, semver-spec-patch, version-scheme:early-semver, commit-count:1

Superseded by #51.


Feature request: Generate model names for MiddlewareParams

Problem
The client generator generates a MiddlewareParams type whose keys are model, action, ... and so forth. action is from type PrismaAction and consists of several action types. model on the other hand is just a string and one must always know the exact names of models available in the schema.
Suggested solution
Generate a PrismaModel type (or similar) consisting of the names of models available as strings and attach it to the model property of MiddlewareParams.
Alternatives
Leave it as it is.

I think this is a duplicate of https://github.com/prisma/prisma/issues/3545
This actually being worked on so I expect it to land.


Catch FFMPEG errors

I'd like to be able to catch errors programmatically.
The API allows me to check the progress and the loggers, do you know if I can also catch errors ?
A workaround would be to listen to the logger and when "failed" is written I would know it failed, but I'm looking for a more performant solution.
Thanks!

I've got errors as well, I've been checking the length of the output buffer
const data = ffmpeg.FS('readFile', 'video.mp4');
if (data.length <= 48) {
  throw new Error('Empty video');
}


Test BSD on CI

As issues like https://github.com/jwilm/alacritty/issues/2244 indicate, testing on Linux and macOS is not sufficient to make sure that BSD works properly.
While BSD is very likely to be a minor platform compared to Linux/macOS, I still think that Alacritty could significantly improve the level of support without raising the effort much.
Part of this is to ensure that the latest version of Alacritty at least builds on OpenBSD or FreeBSD as a simple sanity-check. Unfortunately travis does not support BSD natively but I'd propose to add a docker-based FreeBSD build to the standard CI process which at least tests that all tests succeed on the stable Rust platform.

Based on some research it seems like support for BSD on the popular CI platforms like Travis is very limited. The only online CI service I found which provides BSD support seems to be cirrus.
One alternative would be to setup a custom build environment just for BSD, though this would likely be a lot of effort for a poorly integrated version.

Don't know if you'd be interested in https://builds.sr.ht/ which does support FreeBSD among others. I actually haven't used it myself but the people behind https://github.com/swaywm/sway are also behind sr.ht.

I wasn't aware that sr.ht also supports BSD. Based on that info alone I'd say it's probably the most promising platform I've seen so far.
However there's quite a barrier of entry for it, since it requires monthly payments. For projects that are completely on sourcehut that might not be a problem but just for testing out the CI process might not be worth it especially since I'm not sure how well Rust would be supported.
I'm surprised to see that there's github integration though. I was about to note that as another potential point of trouble but then saw on the sway github repo that it seems to be just working like travis or similar.
So while I'm not going to rush into setting up sourcehut to run all of Alacritty's CI at this point, I'll definitely keep it in mind. It seems like one of the better options available for BSD CI, so thanks for bringing it up.

Hey, I'd be happy to give alacritty free builds on sourcehut.

@ddevault That's a very nice offer and I'd love to take you up on that. At least for the period of setting everything up and testing the platform out, it would help a lot not to pay out of pocket for something that might not even pan out right in the end.
However, sourcehut is hardly asking for much (starting with $2/month) and also has development and hosting/electricity to pay for. So if we should decide to go with sourcehut for the future of at least BSD builds, I'd like to pay for the services we use rather than taking advantage of having reasonable popularity (which would be unfair to other, smaller projects imo). Chances are Alacritty would also be able to come up with at least the minimum price of sourcehut by taking donations itself, though I'd have to look into that and it would probably take a bit of effort to setup.

I use Alacritty as my daily driver, this would be an easy way to thank you for it :)

That's lovely to hear and does make for an exchange I'd be very happy about.
Since payment is currently optional as far as I can tell, it should also be possible to just try things out and see how it goes. So I think this is definitely the way forward for automatic BSD builds, especially since I'm not aware of any reasonable alternative. I'll have a play around with it this weekend to see how things pan out.
Thanks for the support @ddevault.

No problem. I just upgraded you to a lifetime free account on sr.ht, enjoy!


[KOGITO-3893] Add unit testing to jenkinsfiles

https://issues.redhat.com/browse/KOGITO-3893
Many thanks for submitting your Pull Request :heart:!
Please make sure that your PR meets the following requirements:

[x] You have read the contributors' guide
[x] Pull Request title is properly formatted: [KOGITO-XYZ] Subject
[x] Pull Request contains a link to the JIRA issue
[x] Pull Request contains a description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket
[ ] Your feature/bug fix has a unit test that verifies it
[ ] You've tested the new feature/bug fix in an actual OpenShift cluster

/jenkins test


Avoid cyclic dependencies in standard libraries by reporting an error

I was fighting with cache compilation problems for a while and then  Dmitry realized that by removing a cyclic dependency - e.g.:
diff --git a/distribution/lib/Standard/Table/0.0.0-dev/src/Data/Type/Value_Type.enso b/distribution/lib/Standard/Table/0.0.0-dev/src/Data/Type/Value_Type.enso
index a36b8e0231b..e4cb387f794 100644
--- a/distribution/lib/Standard/Table/0.0.0-dev/src/Data/Type/Value_Type.enso
+++ b/distribution/lib/Standard/Table/0.0.0-dev/src/Data/Type/Value_Type.enso
@@ -1,6 +1,5 @@
 from Standard.Base import all
 import Standard.Base.Errors.Illegal_Argument.Illegal_Argument
-import Standard.Database.Data.SQL_Type.SQL_Type

 import project.Data.Type.Value_Type_Helpers
 from project.Errors import Invalid_Value_Type
@@ -133,7 +132,7 @@ type Value_Type

        Fallback provided to allow describing types that are not supported by
        Enso at this time.
-    Unsupported_Data_Type type_name:(Text|Nothing)=Nothing (underlying_type:SQL_Type|Nothing=Nothing)
+    Unsupported_Data_Type type_name:(Text|Nothing)=Nothing (underlying_type:Any|Nothing=Nothing)

     ## A mix of values can be stored in the Column.

the problem goes away.
However we should have a way to detect such problem and fail:

either fail the build of standard libraries
or fail when executing with a more meaningful message

In module Standard.Database.Connection.Database:
Compiler encountered errors:
Database.enso[23:11-23:28]: The name `Connection_Details` could not be found.
Database.enso[23:33-23:50]: The name `Connection_Options` could not be found.
Database.enso[23:55-23:64]: The name `Connection` could not be found.
Database.enso[23:68-23:76]: The name `SQL_Error` could not be found.
Database.enso[24:25-24:42]: The name `Connection_Options` could not be found.
Database.enso[28:29-28:41]: The name `Single_Choice` could not be found.
Database.enso[30:28-30:33]: The name `Vector` could not be found.
Database.enso[31:63-31:67]: The name `False` could not be found.
Database.enso[35:9-35:14]: The name `Option` could not be found.
Database.enso[36:5-36:17]: The name `Single_Choice` could not be found.
Database.enso[36:27-36:33]: The name `Display` could not be found.

Not a major issue so closing this.


Rails/RelativeDateConstant crashes on dual-assigning constants

This is poor code which I'm cleaning up, but this cop errors out when "dual-assigning" two constants. I've generated a simple test case below.
Thanks for all your hard work on rubocop, we really appreciate it!
Steps to reproduce the problem
class MyClass
  CONSTA, CONSTB = 1, 2
end

$ rubocop --only Rails/RelativeDateConstant rubocop_test.rb -d
For /Users/rando/Code/textus/text-us-web-app: configuration from /Users/rando/Code/textus/text-us-web-app/.rubocop.yml
Default configuration from /Users/rando/.gem/ruby/2.3.0/gems/rubocop-0.48.1/config/default.yml
Inheriting configuration from /Users/rando/.gem/ruby/2.3.0/gems/rubocop-0.48.1/config/enabled.yml
Inheriting configuration from /Users/rando/.gem/ruby/2.3.0/gems/rubocop-0.48.1/config/disabled.yml
Inspecting 1 file
Scanning /Users/rando/Code/textus/text-us-web-app/rubocop_test.rb
An error occurred while Rails/RelativeDateConstant cop was inspecting /Users/rando/Code/textus/text-us-web-app/rubocop_test.rb:3:2.
undefined method `lambda_or_proc?' for nil:NilClass
/Users/rando/.gem/ruby/2.3.0/gems/rubocop-0.48.1/lib/rubocop/cop/rails/relative_date_constant.rb:30:in `on_casgn'
/Users/rando/.gem/ruby/2.3.0/gems/rubocop-0.48.1/lib/rubocop/cop/commissioner.rb:43:in `block (2 levels) in on_casgn'
/Users/rando/.gem/ruby/2.3.0/gems/rubocop-0.48.1/lib/rubocop/cop/commissioner.rb:106:in `with_cop_error_handling'
/Users/rando/.gem/ruby/2.3.0/gems/rubocop-0.48.1/lib/rubocop/cop/commissioner.rb:42:in `block in on_casgn'
/Users/rando/.gem/ruby/2.3.0/gems/rubocop-0.48.1/lib/rubocop/cop/commissioner.rb:41:in `each'
/Users/rando/.gem/ruby/2.3.0/gems/rubocop-0.48.1/lib/rubocop/cop/commissioner.rb:41:in `on_casgn'
...

RuboCop version
$ rubocop -V
0.48.1 (using Parser <IP_ADDRESS>, running on ruby 2.3.0 x86_64-darwin16)

This is probably fixed on master, but in general I have a feeling this cop doesn't handle multiple assignment. We should take a look into this.

This is probably fixed on master

I confirmed no error from the example given here on master.

I just pulled the latest master, and can also confirm that it work. Feel free to close this, and I will await the next release. Thanks!

Well, this bug is fixed, but I also confirmed the cop doesn't really do anything in the case of multiple assignment to constants, so we need to fix this.


Show dimensions of multi-dimensional arrays

At the moment, if I have a 3×3 list of lists, the variable preview just says "List of 3 items". I'd like it to say something like "Nested 3×3 list".

Hi, I might be able to do this task. Can you give me some more information? I dont have an overview in this project.

Hi @christianp is this issue still open? I would like to work on it. Could you give some more information on how to generate the preview?

@vallabhtiwari Sorry, this was resolved by @MaanasArora in #752, and I forgot to close the issue.
Thanks for offering to help! You might like to try #676. Look at the instructions on setting up a development environment, if you haven't already.

Whoops, I was wrong! #752 dealt with matrices and vectors, but not lists.
To demonstrate this problem: create a question and add a variable with definition repeat(repeat(1),3),4).
The variable values preview will show "List of 4 items". I'd like it to say "Nested 4×3 list".
The relevant code is in editor/static/js/editor.js.

Hello - I have tried to solve this issue, and have made a pull request. This is my first time contributing to open source though, so please feel free to give feedback.


docs(tailwind): 📝  add tailwind support for adding examples

Added Tailwind example for Select

Axe test failed should be fixed.

Fixed failing test !!


Implement AStarMoveComponent::stopMovement

Resolves #844
I added the functionality and tests as described in the issue.
Let me know if I can make improvements.
I created this PR in the context of the Hacktoberfest. So it would be nice if you could label the PR as hacktoberfest-accepted if you appreciate my contribution.

Codecov Report

Merging #881 into dev will increase coverage by 0.27%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##                dev     #881      +/-   ##
============================================
+ Coverage     59.44%   59.71%   +0.27%
- Complexity     2381     2399      +18
============================================
  Files           257      258       +1
  Lines         11726    11729       +3
  Branches       1066     1066
============================================
+ Hits           6970     7004      +34
+ Misses         4437     4404      -33
- Partials        319      321       +2

Impacted Files
Coverage Δ
Complexity Δ

...asb/fxgl/pathfinding/astar/AStarMoveComponent.java
57.62% <100.00%> (+57.62%)
18.00 <1.00> (+18.00)

...tes/com/almasb/fxgl/generated/BuildProperties.java
0.00% <0.00%> (ø)
0.00% <0.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 80efca2...47fe28d. Read the comment docs.

Thanks.
Re: label, all done, good luck!


Updated highlightjs to support many more languages, including Rust

I noticed the library this was using for the syntax highlighting was pretty out of date so I updated it. HighlightJS has a list of languages it deems most common so I went ahead and added support for that as well. This is all explained in the new languages.md file found in the doc directory

This is a good update since there are now many more programming languages and this is fine for now, however we can later try switching to prism.js.
Either way, huge thanks for the contribution ❤


updated for mc 1.12

Im not too sure on how you  guys do code formatting or anything else, and Im not good at java at all but I managed to get lp2 to compile and run in mc 1.12...
Blocks aren't registered as that crashes and I haven't been able to fix it so its commented out so i cant test anything but it might work if you guys can help with that.

nevermind, saw the other pull >_>

mind as well keep it open.
I made really simple fixes and only one thing broke from it from what I can see.
Accept it or deny it, Its a simple fix for a bigger problem...


[Feature Request] Add HTML DOM API

It would be nice to have ability to access DOM elements and based on this API could be written lots of C# Blazor UI Libraries

I don't think it would actually be a good idea : Blazor is already here for manipulating the dom. Manipulating the dom outside of Razor files would lead to unwanted result as Blazor internal state would not be in sync with the browser's.
If there is stuff in the DOM api that can't be done with Blazor, are not planned to be done and do not fit Blazor role then I'd be happy to implement it though.

I don't think it would actually be a good idea : Blazor is already here for manipulating the dom. Manipulating the dom outside of Razor files would lead to unwanted result as Blazor internal state would not be in sync with the browser's.
If there is stuff in the DOM api that can't be done with Blazor, are not planned to be done and do not fit Blazor role then I'd be happy to implement it though.

@RemiBou Yeah, yesterday after I have write this feature request I also thought about this ... if is it needed ...
But I anyway think it will be useful to have this API available,, then based on mono.wasm it would be possible to implement other frameworks and it will give community lots of choice ...
Also I have been thinking how to improve adding new API ... and I have started new project BlazorTypeScriptGenerator
There are some issues that right now I do not know how to solve, but when I done it will will take a few second to generate wrappers for some API not only Browser API ;)

Indeed it can be useful on some cases, but it could also do harm. I prefer to keep it that way : if some browser stuff can't be done with Blazor vanilla, I'll think about it.
In my mind, the purpose of BrowserInterop is not to be able to create wrapper for frameworks but provide API for playing with the browser without going through the pain I've been through. A bit like system API enable to interact with the OS.
I'll close this for now. FYI I identified some window.document API that would be valuable here https://github.com/RemiBou/BrowserInterop/issues/12 . If you need more, please comment on the issue

Indeed it can be useful on some cases, but it could also do harm. I prefer to keep it that way : if some browser stuff can't be done with Blazor vanilla, I'll think about it.
In my mind, the purpose of BrowserInterop is not to be able to create wrapper for frameworks but provide API for playing with the browser without going through the pain I've been through. A bit like system API enable to interact with the OS.
I'll close this for now. FYI I identified some window.document API that would be valuable here #12 . If you need more, please comment on the issue

@RemiBou I still think that it is useful to provide all DOM API to user and here is why:

There are lots of use-cases which we cannot and event should not imagine (because otherwise we would write this :) ) that particular designer may try to implement and allowing whole DOM API to user is helps with transition from other JavaScript framework to Blazor
One of use-cases could be to implement framework in framework for example for animation
Imagine some Blazor component that allow create very cool animations that requires some specific DOM API
If DOM API will be provided partially that each user will try to create issue for implementing its API and you will have a lots of issues (tickets:) )
I love open-source and lots of choices that it provides .... The best systems I have worked just provided consistent API without enforcing user to write code only using part of API ...
For example Python allows to write software in such way that you want, you can do whatever you want on that platforms where Python is supported, but each feature is provided consistent to each other

I think that we should not enfore users to write code as we want, but to provide choose ... If user f**cked up, it is not our business, we provided API, you bad implementation is your decision ;)


Unable to use drop down in Discussion comments

Using 2.19.1111.3 (not sure if this is the latest version or not), but when there is a Discussion comment, and I need to use one of the drop down options:

I get this error message:

and it doesn't update on GitHub. However, I can add a comment as a response and resolve the discussion that way without any issues.

Closing a very old issue. Fix is getting the latest codeflow.


Max Function does not return maximal value

Describe the bug
max function does not work
To Reproduce
Steps to reproduce the behavior:
alias test r0
move test 0
max test test 1
s db Setting test
j 0

Expected behavior
test should be 1

The same goes for min
alias test r0
move test 0
min test test -1
s db Setting test
j 0

should yield -1

Thanks, I Corrected It. You can update the extension


News List UI Tweaks

[x] Link types, when clicked on listing page should take the user to the URL in a new browser tab
[x] Need to know the type of news on the listing page
[ ] Links should display their description text
[x] Icons should link to filtered news page

Moved the description into it's own issue #454 since that's blocked by #437


Add settings value to use leading zero chars for motion identifier

A 1 should be A 001 or A 01 (according to settings value)

done by #2703.


Encoder settings during training

If using DINOv2 as the encoder for training the student model, is it necessary to load the initial weights? Assuming the frozen encoder loads the initial weights.

If you have loaded the pre-trained DINOv2 weights, you no longer need to load them.


IATI Cloud README update

The README has not been updated in a long time, requirements and installation instructions are not sufficient.

:tada: This issue has been resolved in version 5.6.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Acorn top level for AES

I still need to flesh things out, but @jadephilipoom please can you take a look at silveroak-opentitan/aes/Acorn/CipherRound.v and let me know if this is the kind of thing you were expecting. Thank you kindly.
Addressing #242

Thanks Jade. I'll flesh this out and try to finish xor4x4V which I had implemented last night but I was running into one of those situations where Coq goes into an infinite loop (I think because I have something wrong with my types while using typeclasses) and I get no feedback so it is rather difficult to debug.

Thanks Jade. I'll flesh this out and try to finish xor4x4V which I had implemented last night but I was running into one of those situations where Coq goes into an infinite loop (I think because I have something wrong with my types while using typeclasses) and I get no feedback so it is rather difficult to debug.

Try Set Typeclasses Debug, it might help!

I've implemented the 4x4 xor of 8-bit words, and converted to using Axiom.  I get an infinite loop for the top level definition so I guess there is something wrong with my types. However, I don't know how to make sense of the debug output:
COQC CipherRound.v
Debug: 1: looking for (Monad ?m) with backtracking
Debug: 1.1: exact H on (Monad ?m), 0 subgoal(s)
Debug: 2: looking for (Cava m ?signal) with backtracking
Debug: 2.1: exact H0 on (Cava m ?signal), 0 subgoal(s)
Debug: 3: looking for (Monad ?m) with backtracking
Debug: 3.1: exact H on (Monad ?m), 0 subgoal(s)
Debug: 4: looking for (Cava m ?signal) with backtracking
Debug: 4.1: exact H0 on (Cava m ?signal), 0 subgoal(s)
Debug: 5: looking for (Monad ?m) with backtracking
Debug: 5.1: exact H on (Monad ?m), 0 subgoal(s)
Debug: 6: looking for (Traversable ?T) with backtracking
Debug: 6.1: simple apply @Traversable_vector on
(Traversable ?T), 0 subgoal(s)
Debug: 7: looking for (Applicative.Applicative m) without backtracking
Debug: 7.1: simple apply Applicative_Monad on
(Applicative.Applicative m), 1 subgoal(s)
Debug: 7.1-1 : (Monad m)
Debug: 7.1-1: looking for (Monad m) without backtracking
Debug: 7.1-1.1: exact H on (Monad m), 0 subgoal(s)
Debug: 8: looking for (Monad m) with backtracking
Debug: 8.1: exact H on (Monad m), 0 subgoal(s)
Debug: 9: looking for (Cava m ?signal) with backtracking
Debug: 9.1: exact H0 on (Cava m ?signal), 0 subgoal(s)
Debug: 10: looking for (Monad m) without backtracking
Debug: 10.1: exact H on (Monad m), 0 subgoal(s)
Debug: 11: looking for (Monad ?m) with backtracking
Debug: 11.1: exact H on (Monad ?m), 0 subgoal(s)
Debug: 12: looking for (Cava m signal) without backtracking
Debug: 12.1: exact H0 on (Cava m signal), 0 subgoal(s)
Debug: Finished run 1 of resolution.
Debug: 1: looking for (Monad ?m) with backtracking
Debug: 1.1: exact H on (Monad ?m), 0 subgoal(s)
Debug: 2: looking for (Cava m ?signal) with backtracking
Debug: 2.1: exact H0 on (Cava m ?signal), 0 subgoal(s)
Debug: 3: looking for (Monad ?m) with backtracking
Debug: 3.1: exact H on (Monad ?m), 0 subgoal(s)
Debug: 4: looking for (Cava m ?signal) with backtracking
Debug: 4.1: exact H0 on (Cava m ?signal), 0 subgoal(s)
Debug: 5: looking for (Monad ?m) with backtracking
Debug: 5.1: exact H on (Monad ?m), 0 subgoal(s)
Debug: 6: looking for (Traversable ?T) with backtracking
Debug: 6.1: simple apply @Traversable_vector on
(Traversable ?T), 0 subgoal(s)
Debug: 7: looking for (Applicative.Applicative m) without backtracking
Debug: 7.1: simple apply Applicative_Monad on
(Applicative.Applicative m), 1 subgoal(s)
Debug: 7.1-1 : (Monad m)
Debug: 7.1-1: looking for (Monad m) without backtracking
Debug: 7.1-1.1: exact H on (Monad m), 0 subgoal(s)
Debug: 8: looking for (Monad m) with backtracking
Debug: 8.1: exact H on (Monad m), 0 subgoal(s)
Debug: 9: looking for (Cava m ?signal) with backtracking
Debug: 9.1: exact H0 on (Cava m ?signal), 0 subgoal(s)
Debug: 10: looking for (Monad m) without backtracking
Debug: 10.1: exact H on (Monad m), 0 subgoal(s)
Debug: 11: looking for (Monad ?m) with backtracking
Debug: 11.1: exact H on (Monad ?m), 0 subgoal(s)
Debug: 12: looking for (Cava m signal) without backtracking
Debug: 12.1: exact H0 on (Cava m signal), 0 subgoal(s)
...

running into one of those situations where Coq goes into an infinite loop

It might help to pass all parameters explicitly to the functions e.g (@ret m _ (unpeel v)). If you provide the arguments you expect for the implicit monad parameters, it might show a type you expect to be correct but Coq can't unify.

The commit "Fixed unroll of cipher" fixes that infinite loop error and @jadephilipoom also suggested the use of Section to make debugging typeclass code easier.

I've incorporated several review feedback changes and got the Acorn top-level AES ready to be reviewed. Changes include:

Use of Section for Acorn definitions.
Shortening type index names e.g. BitType to Bit.
Unrolling is specified in terms of a foldM definition but this might later do with re-writing in term of List.fold_right.
The XOR-vector operations are now done with a new library zipWith definition.
The AES Acorn AES top-level is hooked up to the parent Makefile so it gets built as part of CI.


Prepend config.siteurl to media URLs if it is specified

Resolves #613, still need to fix media upload problems though. Tested and works great.

But currently {{ site.baseurl }} appears in the Markdown even in the absence of such a setting in my configuration

I confirm. I think this PR is deprecated, but the "problem" is still present.
What can we do to move on? :-)


Raise Exception on problem Device names

Device names with illegal characters can fail in unexpected ways.
Expected Behavior
LiveTable shows the normal entries.
Current Behavior
The livetable runs, but gives "failed to format row" messages. The document in db[-1].table() is still ok looking.
Possible Solution
The MyDevice constructor should raise an exception about the dicey ':' and '.' in the name.
Steps to Reproduce (for bugs)
class MyDevice(Device):
    x = Component(Signal)

det = MyDevice("illegal.device:name")

uid, = RE(count([det], num=1), LiveTable(det.name))

print(db[-1].table())

Context
I was trying to debug why I couldn't LivePlot my sensor.
Your Environment
Ubuntu 20.04 in WSL. Python 3.8. bluesky==1.6.2

This is for the ophyd repository.


Several fixes [one bug when tested in a timezone containing a dot and several simple code quality issues]

removed dead code,
moved global variables to local scope and
fixed an issue with milliseconds determination when timezone contains a dot itselve

Great work @ssproessig :beers:
What's the difference between grunt test and the karma file you created? Should we have both grunt and karma?

grunt test is perfectly fine from command-line or Travis CI. karma is one of the WebStorm integrated test runners - this allows me to view results and coverage information directly in my IDE of choice
see: http://blog.jetbrains.com/webstorm/2013/10/running-javascript-tests-with-karma-in-webstorm-7/
so, regarding karma file - not sure if needs to be in your branch as well.

Alright @ssproessig. Thanks for the explanation (and link).
I removed the karma file, just to avoid possible confusions with the grunt file. But we can it in the future in case we need.


BUG

I personally feel the bubbles coming on the screen continuously is creating disturbance to user interface .
Instead we can keep our background in subtle pattern without changing the original background color.

I want to contribute to this project. So, kindly assign me the task.

Hi ,
This might a good issue but please use issue template and raise a fresh issue with proper details.
Regards
Project Mentor (GSSoC' 24)


Incorrect HTTP status returned with AngularJS application

In angularjs I can make an http GET request as follows:
$http.get('http://localhost:9000/getdata/123',{withCredentials: true})
  .success(function(data, status, headers, config) {
    console.log("Success! Got this http response code: " + status);
  })
  .error(function(data, status, headers, config) {
    console.log("Failed. Got this http response code: " + status);
  });

When I run this code in Chrome and my REST server returns an HTTP 404 this will print the following:
Failed. Got this http response code: 404

When I run this same code in phantomjs this will print the following:
Failed. Got this http response code: 0

It seems there is a difference in how phantomjs executes the javascript compared to how chrome executes it. Here is the phantomjs code I am using to execute this:
var page = require('webpage').create();

page.onConsoleMessage = function(msg) {
  console.log('Here is a page message ' + msg);
};

page.open('http://localhost:8080', function ( status ) {
  if ( status === 'fail' ) {
    phantom.exit( 1 );
    return; // essential, if you don't, below will be executed
  }

  window.setTimeout(
    function () {
      var result = page.evaluate(
        function () {
          var html = document.documentElement.outerHTML;
          return html;
        }
      );
      console.log(result);
    },
    1000 // wait 1,000ms (1s)
  );
});

Same here. In phantomjs the value passed to the status argument of the error callback of $http is always zero, regardless of the actual HTTP status received. It doesn't only fail with a 404, any other error status also triggers this bug.
When using selenium or a full browser (I've tested with firefox and chrome) instead of phantomjs it works as expected, the actual HTTP status is passed in the status argument.


Feat : Sync the app themes with system setting

We can sync the app theme with user system setting (Light/Dark mode). so user don't have to change it manually in the app.

Hey @akshay-shimpi let the theme switch present in the app.


WIP: Convert KcapiHash::update to take a u8 slice

I've noticed that a number of functions take owned Vec<u8>s but could instead take slices. This has the benefit of not requiring allocations or allowing hashing just a part of the data (subslice).
This is a WIP but if it looks good I'll adjust the documentation and also the setkey call.

There are other places where we use vectors in place of [u8] slices. Can you change those as well? Since these are breaking changes, we may have to update the crate as well when you are done.

I had yet another idea that'd allow using slices but would still accept vectors (not to introduce a breaking change): using impl AsRef<[u8]> instead of Vec.
Attached code so you can see how it works (as well as extended code example to include u8 slice).
I'm OK with either approach (convert to u8 slices or impl AsRef) but this reduces the number of breaking changes.
Thanks for help! :wave:

Hi Wiktor,
Could you please confirm if the impl Asref<[u8]> is an approach that does not break the existing implementation?
I would like to not have to update my downstream consumer of this crate, so it would be best if you could add a few tests
to demonstrate that.
~ Puru

so it would be best if you could add a few tests to demonstrate that.

Actually this already is covered by doctests (the old tests that use vectors didn't need to be adjusted). I'll convert all other use-sites to that...

Okay, it should be all low-hanging fruits.
If some structs did not capture keys and other things then it could be optimized further but for this PR I wanted to preserve the API.
It should be ready for review. Thanks! :pray:


kvm: Add DaemonSet example

The daemonset can be used to deploy the kvm device-plugin on all nodes of a cluster.
Signed-off-by: Fabian Deutsch<EMAIL_ADDRESS>

I actually checked that this works. It does
Created DS, created consumer. Checked that dev/kvm is in consumer.

Updated a little

Thanks, fixed.

Fixed again.


Update the tag for manager/proxy containers

Jenkins job istio/presubmit passed

Jenkins job istio/presubmit passed


Missing body in the report when a patch operation is performed

When doing patch operation, and I set my api to include a json in it's body, the operation handles the specified body correctly, but when generating the report of the test, the body is not appearing there

This bug has been fixed, please update to the latest version.


Update regtest mode check when used fPoSNoRetargeting

Update regtest mode check when used fPoSNoRetargeting.
The fix is not tested.

Replaced by: https://github.com/qtumproject/qtum/pull/736/commits/8550a6c3c91ccf7c3a7bf5387482b0e6b5d2ec76


loading attribute on img and iframe tag

We have a new "loading" attribute for the img and iframe tag. Let's use it without
See https://web.dev/native-lazy-loading
See https://github.com/whatwg/html/pull/3752/files#diff-36cd38f49b9afa08222c0dc9ebfe35eb
I tried to add this directly in the @types repo:
https://github.com/microsoft/TypeScript/pull/33080/commits/47859a9807f4d032171e9f469ab16de83fdff593
But this has to be added here. (and I'm not sure to understand how)
    /**
     * Tell the browser if the iframe is a good ("lazy"), bad ("eager") or undetermined ("auto")
     * candidate for lazy loading. If the iframe is lazy laoded, the browser will wait untill
     * it actually appears in the user screen to load its content.
     */
    loading: "lazy" | "eager" | "auto";

    /**
     * Tell the browser if the image is a good ("lazy"), bad ("eager") or undetermined ("auto")
     * candidate for lazy loading. If the image is lazy laoded, the browser will wait untill
     * it actually appears in the user screen to load it.
     */
    loading: "lazy" | "eager" | "auto";

We could also have the Intrinsic Size Attribute: https://www.w3.org/TR/css-sizing-3/ since it is generally available.


Fix by golint

Golint: https://github.com/golang/lint
The fixes are simple:

Added comments to the public func/method/type/struct
Made some public functions private

Fix native/plugin/plugin.go by golint
Fix compiler/ast/variables.go by golint
Fix vm/decimal.go by golint
Fix vm/go_object.go by golint
Fix vm/regexp.go by golint
Fix vm/string.go by golint
Fix vm/classes/classes.go by golint
Fix vm/errors/error.go by golint
Fix compiler/ast/statements_test_helpers.go by golint
Fix vm/integer.go by golint
Fix test_fixtures/import_test/plugin/plugin.go by golint
Fix compiler/ast/testable_expressions.go by golint
Fix compiler/ast/testable_statements.go by golint
Fix vm/error.go by golint
Fix vm/instruction.go by golint
Fix vm/method.go by golint
Fix vm/object.go by golint
Fix test_fixtures/import_test/plugin/lib/lib.go by golint
Fix native/db/db.go by golint
Fix compiler/ast/ast.go by golint
Fix compiler/ast/expressions_test_helpers.go by golint
Fix compiler/ast/statements.go by golint
Fix vm/validate.go by golint
Fix test_fixtures/import_test/struct/struct.go by golint
Fix cmd/binder/main.go by golint
Fix goby.go by golint
Fix compiler/ast/expressions.go by golint
Fix vm/concurrent_array.go by golint
Fix vm/thread.go by golint
Fix vm/vm.go by golint
Fix compiler/bytecode/instruction.go by golint
Fix native/ripper/ripper.go by golint
Fix vm/class.go by golint
Fix vm/hash.go by golint
Fix vm/match_data.go by golint

@hachi8833 Can you split this up by folders? Like:

vm
compiler/ast
compiler/bytecode
test_fixtures
native
cmd

OK, I'll split them.


Append to zarr redundant with mode='a'

When appending to a zarr store, we need to set append_dim=dim_name but also mode='a'. Any reason to also specify the writing mode? I think it should automatically be set to 'a' if append_dim is not None.

This sounds reasonable to me.

@shikharsg, @jendrikjoe and @rabernat might be interested too.

Looks good to me


Reverse geocoding mechanism with privacy friendly requests

At the moment, the inferences only contain the coordinates of the inferred work and home locations. It would be much more informative to have an actual address or place name here. In addition, a reverse geocoding mechanism would also be very useful for presenting detected POIs to the user (see here https://github.com/sitcomlab/simport-learning-app/issues/100)
Although we initially had the aim to have local reverse geocoding mechanism to be used for the inferences, for a first version we decided to keep things simple and use external services in a way, that offers at least some privacy protection for the user. This could be realized, for example, with sending a number of dummy locations together with the actual location of specific point to the reverse geocoding service and then pick the right one on client side.

[ ] develop concept + example script
[ ] implement functionality / service in actual application
[ ] use reverse geocoded locations for inferences

Regarding the privacy-preserving reverse geocoding, linked below is a generalized approach for querying a location based service that uses dummy locations (like Felix's demo above) but deals with the problem of repeated queries exposing the true location over time. Essentially, for a region with frequent queries (eg home location) they generate a fixed set of k corresponding fake regions; whenever a query is sent about a point in the true frequent region, queries are also sent for a dummy location in each of the corresponding fake regions. The information the service is able to acquire over time thus changes from "user likely lives near this location" to "user likely lives in one of these k locations".
The paper is here https://ieeexplore.ieee.org/abstract/document/8975879 and in Zotero. Note that the paper explores location sharing for whole trajectories and thus needs to worry about further constraints like reachability between points, whereas we could simplify because we only query certain points from our inferences where dummy points cannot be recognized as implausible so easily.

Reverse geocoding is implemented using the Nominatim-Instance from OSM, which comes with various usage-limitations. Therefore:

requests are done one at a time
requests are done with delays in between them
geocoding for inferences is done in two places:

during inference-calculation
when the user is viewing their inferences

geocoding results are cached in a database and reused if applicable

Still the geocoding is fairly unstable due to the restrictions of the OSM-Nominatim.
For improving the geocoding in the future, we could use another or even run our own instance of Nominatim.


5.2 RFC 6238 past time-step window support

The validation system should compare OTPs not only with    the receiving timestamp but also the past timestamps that are within    the transmission delay.
Code may change while user is entering code. For this situation system check actual and past code. No need to wait for time-window change
Add parameter for it. Suggest to set it to 1 window by default

Acknowledged.

With regards to this, I'll look into this over the weekend / holidays.
If you like to open a PR, that would be great too :)
Thanks!

I tried to hotfix it, but got stuck with build. There is no run item, if i create folder it causes error run is a folder. Also there is no build folder according to .gitignore, but i can create it.
Maybe you need to builder or i need more experience in team work :)
Also why you prefer yarn to npm, what advantages it have? Can npm be used instead of yarn?

@cyclopentan
Generally, there is no run since it's meant to be a library (and no UI or application associated with it)
The use-cases or implementation should be checked by running the npm run test or npm run test:watch.
Feel free to use npm.
yarn was preferred as this library existed before package-lock.json was introduced in npm. Thus, IMO, for package maintenance, it was better.. Not much difference now.

released in v8.0.1


Fixed product matching and updated readme for promotions

It didn't seem to be working for me on my products w/ multiple variants.  Works well now.
Also updated the readme for the new promo system

I only meant for the first 2 to get in here, guess I should have made my own branch?  Don't see a way to remove the last one now.

Yes, only 90c837f and 4da6f63
a8a99fb changes the functionality, it uses the discount amount as a percentage


Plugin is incompatible with IDE build 211.*+

Hi,
I am currently using : WebStorm 2021.2 EAP Build #WS-212.4037.16, built on June 8, 2021
But i am unable to use this great plugin, because:

It would be nice if you could update the plugin, so EAP users can continue using it!

Hello,
I pushed a new version 0.27.0, should allow use of EAP version.

Thank you for the super quick update, it is working now again!


feat: import updates from autoware_common

Description
This PR imports the updated commits from autoware_common and fixes a link https://github.com/autowarefoundation/autoware_lanelet2_extension/pull/11/commits/3a8bde99a5e42581aff179de68c005e588662cf3.
Tests performed

Not applicable.
Effects on system behavior

Not applicable.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

To preserve the commit history, I will use merge commit.


Cannot add new tasks when a project is "Sorted"

@mgsloan I am writing to report that sorting tasks in a project may stop the o key to work. In the worst case, I have experienced times when I cannot save a task after trying to create it manually. I don't have a fix. It helps to warn people in the ReadMe, say, in the ## Sorting section about the limitation if we have to live with it :)
Here are a few more detailed notes.

With a fresh account for Todoist and todoist-shortcuts with either Firefox/Chrome, after selecting any of the "Sort" options, the extension/add-on won't allow me to create a new task. It doesn't matter how I sort the tasks, be it manually through the Sort icon on Todoist, or with s, p, r, or n on the keyboard.
Hitting o summons the following view, where neither of the two pop-up boxes are useful/operable. The "Add task" box accepts mouse clicks, but does not pick up any keystrokes from the keyboard. The menu box on the right also accepts mouse clicks, but instead operates on the currently selected task.

 I am picking up the following logs from the console after hitting Ctrl+Shift+I in Chrome.
```
vendor.1d7cbd5093c12f86c3df.js?WB_REVISION=c870d0af2faa5a2ca5b23239f714e4e8:1 todoist-shortcuts: Couldn't find unique descendant with class menu_item and matching predicate, instead got null
Error
at getStack (chrome-extension://dehmghpdcahlffompjagejmgbcfahndp/todoist-shortcuts.js:3806:13)
at warn (chrome-extension://dehmghpdcahlffompjagejmgbcfahndp/todoist-shortcuts.js:3789:22)
at withUniqueClass (chrome-extension://dehmghpdcahlffompjagejmgbcfahndp/todoist-shortcuts.js:3979:7)
at chrome-extension://dehmghpdcahlffompjagejmgbcfahndp/todoist-shortcuts.js:2594:9
at withUniqueClass (chrome-extension://dehmghpdcahlffompjagejmgbcfahndp/todoist-shortcuts.js:3977:14)
at chrome-extension://dehmghpdcahlffompjagejmgbcfahndp/todoist-shortcuts.js:2115:9
at withUnique (chrome-extension://dehmghpdcahlffompjagejmgbcfahndp/todoist-shortcuts.js:3868:14)
at chrome-extension://dehmghpdcahlffompjagejmgbcfahndp/todoist-shortcuts.js:2113:7
at withTaskHovered (chrome-extension://dehmghpdcahlffompjagejmgbcfahndp/todoist-shortcuts.js:2546:7)
at withTaskMenuImpl (chrome-extension://dehmghpdcahlffompjagejmgbcfahndp/todoist-shortcuts.js:2111:5)
at withTaskMenu (chrome-extension://dehmghpdcahlffompjagejmgbcfahndp/todoist-shortcuts.js:2102:7)
at addAboveOrBelowTask (chrome-extension://dehmghpdcahlffompjagejmgbcfahndp/todoist-shortcuts.js:2593:7)
at addBelowTask (chrome-extension://dehmghpdcahlffompjagejmgbcfahndp/todoist-shortcuts.js:2579:5)
at addBelow (chrome-extension://dehmghpdcahlffompjagejmgbcfahndp/todoist-shortcuts.js:893:5)
at chrome-extension://dehmghpdcahlffompjagejmgbcfahndp/todoist-shortcuts.js:4604:34
at d (chrome-extension://dehmghpdcahlffompjagejmgbcfahndp/todoist-shortcuts.js:4567:84)
at o.m._handleKey (chrome-extension://dehmghpdcahlffompjagejmgbcfahndp/todoist-shortcuts.js:4578:248)
at o.handleKey (chrome-extension://dehmghpdcahlffompjagejmgbcfahndp/todoist-shortcuts.js:4545:1722)
at o.m._handleKeyEvent (chrome-extension://dehmghpdcahlffompjagejmgbcfahndp/todoist-shortcuts.js:4584:34)
at o.handleKeyEvent (chrome-extension://dehmghpdcahlffompjagejmgbcfahndp/todoist-shortcuts.js:4545:804)
at HTMLDocument.genericKeyHandler (chrome-extension://dehmghpdcahlffompjagejmgbcfahndp/todoist-shortcuts.js:4680:24)
(anonymous) @ vendor.1d7cbd5093c12f86c3df.js?WB_REVISION=c870d0af2faa5a2ca5b23239f714e4e8:1
warn @ todoist-shortcuts.js:3791
withUniqueClass @ todoist-shortcuts.js:3979
(anonymous) @ todoist-shortcuts.js:2594
withUniqueClass @ todoist-shortcuts.js:3977
(anonymous) @ todoist-shortcuts.js:2115
withUnique @ todoist-shortcuts.js:3868
(anonymous) @ todoist-shortcuts.js:2113
withTaskHovered @ todoist-shortcuts.js:2546
withTaskMenuImpl @ todoist-shortcuts.js:2111
withTaskMenu @ todoist-shortcuts.js:2102
addAboveOrBelowTask @ todoist-shortcuts.js:2593
addBelowTask @ todoist-shortcuts.js:2579
addBelow @ todoist-shortcuts.js:893
(anonymous) @ todoist-shortcuts.js:4604
d @ todoist-shortcuts.js:4567
m._handleKey @ todoist-shortcuts.js:4578
o.handleKey @ todoist-shortcuts.js:4545
m._handleKeyEvent @ todoist-shortcuts.js:4584
o.handleKeyEvent @ todoist-shortcuts.js:4545
genericKeyHandler @ todoist-shortcuts.js:4680
vendor.1d7cbd5093c12f86c3df.js?WB_REVISION=c870d0af2faa5a2ca5b23239f714e4e8:1 todoist-shortcuts: Clicking quick add task, as filter view has no task adding. (this is fine)

</details>

The same limitation applies to all the Filters. When there is no task, o key works but adds a plain task to the Inbox. When there are tasks in the filter, the same set of two pop-ups shows up after pressing the o key.

Hmm, very curious!  Thanks for reporting.
I haven't been able to reproduce these issues in my personal account, but have not yet tried with a fresh account.  Are these issues still occurring now?  Maybe updates to Todoist itself have fixed the problem

With my test account, still, I was able to reproduce the problem as of 2021-09-27, in Chrome, with v1353.

Let me close this issue for now. The new Todoist shortcut is in conflict with this repo. O and o are not functioning, and I cannot even perform simple j/k-style navigation at this point.
I will reopen this issue should i get a chance to reproduce it.

I find the Version 136 solved the compatibility issue with the new Todoist shortcut. I am reopening this issue as I can still reproduce the same problem. One new caveat is that sorting by priority can be set using p key, but cannot be removed. While the tasks in a project is sorted, I cannot even add a new task with the "Add task" button.
Here are the steps I followed to reproduce the problem:

Clear Cookies and Cache, and log back in;
Go to a project and sort with with p-key
Move around using j/k and press o: still, two menu entries shall pop out.
Subsequently, pressing p does nothing - it won't undo the sorting setting anymore.

When o key fails to work properly, I usually cannot add more tasks - pressing the enter key does nothing, nor does pressing the "Add task" button do anything.

Per my most recent test, to undo the sort-setting, I need to use the Todoist desktop app and check off the sorting option. Also, I need to clear the cookies and the cache for Todoist.com in Firefox to eventually restore normal functionality for o key.
There are also tests where p still can undo the sort-setting, but not all tasks are shown in the project. In a project with 6 tasks, only one is rendered.

@llinfeng Ah, thanks for your detailed description of the problem!  I've fixed this in version 137.  The sorting keybindings will now also remove sorting if used again.

@mgsloan Thanks a lot for getting o / O to work when things are sorted.
One caveat to note is that when there are sections in a project, sorting the list leaves o and O to function similarly - they both add a task to the very top of the task-list within the project.


Travis started to fail out of nowhere

This happened quite a few times before. Somehow Travis seems to change their configuration/VMs without notice.
To prove that no code change caused this we created a dummy branch with no real change:
https://travis-ci.org/github/plone/volto/builds/667659803?utm_source=github_status
Travis still fails on Plone and Guillotina. I was able to fix the Plone build by not relying on Python venv. I have no clue why or how Guillotina fails:
https://travis-ci.org/github/plone/volto/jobs/667683243?utm_source=github_status
@bloodbare can you have a look? We are using a fixed Docker image of Guillotina but somehow the frontend build started to fail. As said, we can prove that we did not change any code. No clue how to fix this...

@tisto I don't see any error on travis log that makes me understand what is happening. Docker-compose doesn't show any info, maybe because of  > /dev/null can you remove it ?

@bloodbare running: https://travis-ci.org/github/plone/volto/jobs/667721180
On Fri, Mar 27, 2020 at 2:56 PM Ramon Navarro Bosch <
<EMAIL_ADDRESS>wrote:

@tisto https://github.com/tisto I don't see any error on travis log
that makes me understand what is happening. Docker-compose doesn't show any
info, maybe because of > /dev/null can you remove it ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/plone/volto/issues/1305#issuecomment-605014066, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAE2KKPPVPQTWHF5TQCO3ULRJSV7FANCNFSM4LVAARGQ
.

Looks like there is no problem with docker-compose. I've checkout the branch and run the tests with the same failing tests so its not a Travis problem.
I have the feeling that https://github.com/plone/volto/blob/travis-fail-test/cypress/support/guillotina.js is not called to create the "Site".

I've checkout commit https://github.com/plone/volto/commit/8052079f4011fd7bc8dd8d3b32717f294fa19f11 and all works in Guillotina, was the commits after on volto that broke it (and I can reproduce in my laptop)

Looks like master works on guillotina, its the travis-fail-test branch: This commit https://github.com/plone/volto/commit/3b2355494680d36345a7146fcff0c2484cea7289

@tisto ^

That branch was not created from master. Have to do it again.


[Docs] Create a json file with an array of all Team Members

Details:-

Name
Role
Linkedin Url
Github Url
Twitter Url
Website Url
role type(1 for lead, 2 for community Admins and 3 for rest)

Keep the order of Objects/person Details same as the Main Site
Link to G-Sheet
Link to Main Site
For More Information, contact us over our Discord Server

Assign this issue to me

I would like to work on this, assign this to me @TheCodeVenturer . One more thing, you haven't specified roles in the G-sheet. Let me know what to do with that.

I would like to work on this, assign this to me @TheCodeVenturer . One more thing, you haven't specified roles in the G-sheet. Let me know what to do with that.

@kunaldhand
For that i have provided the Main Site Link
But As @shivamshaw07 commented first
He will be assigned
And in case if he will not be able to do it or unassign himself
I will Assign You

As a gdsc core Team member i know the roles. So can i do it.

Assign this issue to me

Sure,
Go Ahead


License quesion

Hi,
Can we use those ELMo Embeddings for commercial purpose?

It's under MIT. A LICENSE file has been added recently.


Feat/phase out xcom backend

Removes the need for an XCom backend. Relevant functionality is now in RayPythonOperator.
This will simplify the initial setup.

cc: @richardliaw @grechaw


Add json files with questions

The incorporation of these files contributes to the project by introducing a specific set of questions in a structured and readable format. This change may be part of expanding the project's question database, enhancing the variety of content, or introducing new features related to questions. The inclusion of JSON files facilitates the manipulation and management of questions within the code, allowing greater flexibility and ease of project maintenance.

The changes look good

added the following files to this branch
@YoelFerreyra @Israel-Laguan

Please check some questions without a proper UUID, then some questions that are not really asking anythin

check @Israel-Laguan @YoelFerreyra  I corrected some uuid


Fix temperature handling when attribute is outside capability range

There can be cases where a device reports a color temperature in mired that maps to a kelvin value that is outside our color temperature capability range. Also, receiving a mired value of 0 would result in a divide by zero error. This will attempt to clamp the mired values to an acceptable range before doing the conversion to kelvin.

As it stands right now, this PR will clamp the bounds that the color temperature attribute reported in mireds to fit within the range provided by our capability (1-30,000 Kelvin, which is 1,000,000 - 33 mired, respectively). Most bulbs seem to fall in the 1800K - 8000K range, and I don't think there is any practical application that would go beyond 30,000K, so I think this range checking might be overkill and missing the real point of the problem (the zero case, addressed below). I suppose it would still be good to check and provide a log message for, but anything outside this range is certainly strange - any thoughts on this?
Right now this PR also treats 0 mired as being beyond the max allowable value so it treats it as 30,000K. This seems like a bad idea since zero is actually not a valid value to begin with (kelvin = 1,000,000 / mired). What would be the best way to handle the zero case beyond just leaving a message in the logs? Should be default it to some kind of sane value (i.e. the default value for the cluster definition, 4000K)? The spec does not seem to provide a satisfying answer for how to handle an impossible value like this.


winssh-pageant: Add version 1.2

https://github.com/ndbeals/winssh-pageant

/verify

/verify

/verify

Got my answer.

Why would you waste a week of both our time to review a manifest you never were going to accept in the first place???

I would have really appreciated being told to not waste my time a week ago when I opened this PR, instead of the frustrating and ridiculous back-and-forth you put me through.


Blank page is displayed while adding or editing descripiton in Roles page

Affected module
UI, Backend
Describe the bug
If we enter special characters while adding a role in the "Name" field, while adding or editing description a blank page is displayed after saving on the UI.
In the backend, we are getting role not found error
To Reproduce

Create a role with special characters in Name field
Add or Edit the existing description text and click on Save
Blank page will be displayed.

Expected behavior
Updated description should be displayed.
Version:

OpenMetadata version: 0.9.0

Additional context
NA

I took a cursory look at this problem
The Test role I created has special characters

When the UI makes a GET request with /roles/name the name is incorrectly set up in the request

We may need to parse the name correctly, perhaps with url encoding before making a request.
I haven't looked into what could potentially go wrong in the backend yet.


Make a panel height be dependant on the panel's scrollview contentView?

I'm building an app where I need to show a bottom panel like this:

This bottom sheet is its own view controller and uses a collectionview since there are a variable number of cells. I am not sure how to make FloatingPanel show this panel "as big as is needed". Using FloatingPanelIntrinsicLayout doesn't work, since the collectionview doesn't have an intrinsic height that's set by its cells. So for now I am using a fullscreen layout.
Code is something like this:
class SpecialRequestsCoordinator {
  private let floatingPanelController = FloatingPanelController()
  private let rootViewController = SpecialRequestsViewController()

  init() {
    floatingPanelController.delegate = self
    floatingPanelController.isRemovalInteractionEnabled = true
    floatingPanelController.surfaceView.cornerRadius = 15
  }

  func openCatering() {
    let vc = SpecialRequestChoiceSelectViewController()
    floatingPanelController.set(contentViewController: vc)
    rootViewController.present(floatingPanelController, animated: true, completion: nil)
  }
}

extension SpecialRequestsCoordinator: FloatingPanelControllerDelegate {
  func floatingPanel(_ vc: FloatingPanelController, layoutFor newCollection: UITraitCollection) -> FloatingPanelLayout? {
    if vc.contentViewController is SpecialRequestChoiceSelectViewController {
      return FullLayout()
    }

    return IntrinsicLayout()
  }
}

class FullLayout: FloatingPanelLayout {
  func insetFor(position: FloatingPanelPosition) -> CGFloat? {
    switch position {
    case .full: return 0
    default: return nil
    }
  }

  var initialPosition: FloatingPanelPosition {
    return .full
  }

  var supportedPositions: Set<FloatingPanelPosition> {
    return [.full]
  }
}

class IntrinsicLayout: FloatingPanelIntrinsicLayout {
  func insetFor(position: FloatingPanelPosition) -> CGFloat? {
    return nil
  }

  public var initialPosition: FloatingPanelPosition {
    return .full
  }

  public var supportedPositions: Set<FloatingPanelPosition> {
    return [.full]
  }
}

And as you might expect, it is now shown like this, which is not ideal. It's way too big and empty:

So how can I configure FloatingPanel to show the panel only as big as a scrollview's contentSize? Alternatively I could look into calculating the height in the view controller and pass that into a custom fixed height layout class, but that's going to be a nightmare when taking dynamic type into consideration.
As an aside, it feels like the different FloatingPanelLayout protocols (FloatingPanelLayout, FloatingPanelIntrinsicLayout) are quite complicated. If you simply want a fixed height layout, or a 100% fullscreen layout as in my example above, there is so much repeated code.

Okay, got it to work like this:
class SpecialRequestChoiceSelectViewController: UIViewController {
  @IBOutlet private var collectionView: UICollectionView!

  func floatingLayoutHeight() -> CGFloat {
    collectionView.layoutIfNeeded()
    return collectionView.collectionViewLayout.collectionViewContentSize.height + 42
  }
}

class FixedHeightLayout: FloatingPanelLayout {
  private let height: CGFloat

  init(height: CGFloat) {
    self.height = height
  }

  func insetFor(position: FloatingPanelPosition) -> CGFloat? {
    switch position {
    case .tip: return height
    default: return nil
    }
  }

  var initialPosition: FloatingPanelPosition {
    return .tip
  }

  var supportedPositions: Set<FloatingPanelPosition> {
    return [.tip]
  }

  func backdropAlphaFor(position: FloatingPanelPosition) -> CGFloat {
    return 0.3
  }
}

extension SpecialRequestsCoordinator: FloatingPanelControllerDelegate {
  func floatingPanel(_ vc: FloatingPanelController, layoutFor newCollection: UITraitCollection) -> FloatingPanelLayout? {
    if let srcsvc = vc.contentViewController as? SpecialRequestChoiceSelectViewController {
      return FixedHeightLayout(height: srcsvc.floatingLayoutHeight())
    }

    return IntrinsicLayout()
  }
}

Hey kevinrenskers!
I'm doing something quite similar.  Are you fetching data inside the SpecialRequestChoiceSelectViewController to populate the collectionView?  In my case, I'm fetching data from a server but I can't seem to get the height before this is called func floatingPanel(_ vc: FloatingPanelController, layoutFor newCollection: UITraitCollection). Any ideas on how to approach this?

Luckily for me I already have the data before I show the view controller :)

@kevinrenskers @ag-hendrix
Why not set constraints for collectionView bottonAnchor to the parent view bottom of the FloatingPanel , it will auto set the collectionView display area , this is my use case code
NSLayoutConstraint.activate([
            self.tableView.topAnchor.constraint(equalTo: self.view.topAnchor, constant: 34 + CGFloat( TopButtonsView.BAR_HEIGHT)),
            self.tableView.leftAnchor.constraint(equalTo: self.view.leftAnchor, constant: 0),
            self.tableView.bottomAnchor.constraint(equalTo: self.parent!.view!.safeAreaLayoutGuide.bottomAnchor, constant: 0),
            self.tableView.rightAnchor.constraint(equalTo: self.view.rightAnchor, constant: 0)
        ])

And make sure  this is inside  did move to parent  , or will crash
override func didMove(toParent parent: UIViewController?) {
       //.... active
}

In my case , I didn't track tableview , so you can scroll tableview in both .half and .full mode
Hope it helps

Hey kevinrenskers!
I'm doing something quite similar. Are you fetching data inside the SpecialRequestChoiceSelectViewController to populate the collectionView? In my case, I'm fetching data from a server but I can't seem to get the height before this is called func floatingPanel(_ vc: FloatingPanelController, layoutFor newCollection: UITraitCollection). Any ideas on how to approach this?

@SCENEE Do you have any input on how I could approach this issue?

Hello, @kevinrenskers
I'm sorry to my late response. Now I acknowledged this issue.
Hello, @ag-hendrix,

@SCENEE Do you have any input on how I could approach this issue?

You call FloatingPanelController.updateLayout() to call func floatingPanel(_ vc: FloatingPanelController, layoutFor newCollection: UITraitCollection), its method might has some side effect in your content view controller...
I will consider a new configuration or the lib usage for the following use case.

So how can I configure FloatingPanel to show the panel only as big as a scrollview's contentSize?

Now I'm planning to add the new API in FloatingPanel v2.0, to adapt the panel height referring to a layout frame, for instance, a scroll view's content size.

Amazing!

@SCENEE
Has ur idea 'FloatingPanelAdaptiveLayoutAnchor' to 'FloatingPanelLayoutAnchoring' been renamed in v. 2? Maybe I overlooked it c:

Hi, @CaramelHeaven. FloatingPanelAdaptiveLayoutAnchor was released in v2.0.0 and just now I'm implementing it! It will be an object adopting FloatingPanelLayoutAnchoring and be released in v2.1.0. Then you will be able to use it with FloatingPanelLayoutAnchor and FloatingPanelIntrinsicLayoutAnchor :)


Day 1 notes :)

Lovely job Ava :) super smooth

RStudio - Slide 13-  love the description of the console being the engine - maybe we could add an image
RStudio - Slide 19 - maybe change out explanation from being so public health focused

Thanks! 😄


iOS Build with Hermes outputs an incorrect sourcemap file

Description
When generating a sourcemap file in a build with Hermes enabled in iOS, the generated file is incorrect.
When looking into the build logs from XCode, I realized that the HBC_SOURCEMAP_FILE and PACKAGER_SOURCEMAP_FILE shared the same location (if the SOURCEMAP_FILE is named main.jsbundle.map).
I believe HBC_SOURCEMAP_FILE is not pointing to the right path, as it is in $DEST and not in $CONFIGURATION_BUILD_DIR.
This can be solved in scripts/react-native-xcode.sh if we move the line BUNDLE_FILE="$DEST/main.jsbundle" above the sourcemap composition command, like so:
  "$HERMES_CLI_PATH" -emit-binary $EXTRA_COMPILER_ARGS -out "$DEST/main.jsbundle" "$BUNDLE_FILE"
  BUNDLE_FILE="$DEST/main.jsbundle" # moving the line here works
  if [[ $EMIT_SOURCEMAP == true ]]; then
    HBC_SOURCEMAP_FILE="$BUNDLE_FILE.map"
    "$NODE_BINARY" "$COMPOSE_SOURCEMAP_PATH" "$PACKAGER_SOURCEMAP_FILE" "$HBC_SOURCEMAP_FILE" -o "$SOURCEMAP_FILE"
  fi
  # previous location of the line

I'm ok to open a Pull Request with this change :)
This may be linked to https://github.com/facebook/react-native/issues/34043
Version
0.69.0
Output of npx react-native info
System:
OS: macOS 12.4
CPU: (10) arm64 Apple M1 Pro
Memory: 184.34 MB / 32.00 GB
Shell: 5.8.1 - /opt/homebrew/bin/zsh
Binaries:
Node: 18.0.0 - /opt/homebrew/bin/node
Yarn: 1.22.18 - /opt/homebrew/bin/yarn
npm: 8.6.0 - /opt/homebrew/bin/npm
Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.11.3 - /Users/louis.zawadzki/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5
Android SDK: Not Found
IDEs:
Android Studio: 2021.1 AI-211.7628.21.2111.8309675
Xcode: 13.4.1/13F100 - /usr/bin/xcodebuild
Languages:
Java: 11.0.15 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.0.0 => 18.0.0
react-native: 0.69.0 => 0.69.0
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce

Create a new React Native project
Add a javascript error when clicking on a button
Enable Hermes in the Podfile, run pod install
Add an export SOURCEMAP_FILE=./build/main.jsbundle.map line at the top of the "Bundle React Native code and images" build phase
Build from xcode with Release build configuration
Trigger the error
Symbolicate the error with metro-symbolicate

Snack, code example, screenshot, or link to a repository
Path to sourcemaps files without any change - they are identical:

After the change, HBC_SOURCEMAP_FILE points to the right location:

This shoudl be addressed by #34111


Include dpc_common for Release Version of Matrix Multiply Samples on Windows AND Update trademark usage for Matrix Multiply samples.

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant. Add a 'X' to the one that is applicable.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Sample Migration (Moving sample from old repository after completing checklist established)

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Command Line
[ ] oneapi-cli
[ ] Visual Studio
[ ] Eclipse IDE
[ ] VSCode

Checklist for Moving samples:
Links and Details can be found in the samples WG Teams Files.

[ ] Review sample design with domain reviewers https://github.com/oneapi-src/oneAPI-samples/wiki/Reviewers-and-Domain-Experts
[ ] Implement coding guidelines and ensure code quality.
[ ] Adhere to sample.json specification. https://github.com/oneapi-src/oneAPI-samples/wiki/sample-json-specification
[ ] Run jsonlint on sample.json to verify json syntax. www.jsonlint.com
[ ] Adhere to readme template
[ ] Ensure/create CI test configurations for sample (ciTests field) https://github.com/oneapi-src/oneAPI-samples/wiki/sample-json-ci-test-object
[ ] Enforce format via clang-format config file
[ ] Review DPC++ code with Paul Peterseon. (GitHub User: pmpeter1)
[ ] Review readme with Tom Lenth or Joe Oster. (GitHub User: JoeOster)
[ ] Tested using Dev Cloud when applicable
[ ] Implement fixes for ONSAM Jiras
[ ] If you have new dependencies/binaries, inform Samples Project Manager Swapna R Dontharaju (@srdontha) or @JoeOster

This should be approved by @xmnboy

@xmnboy @JoeOster I have added the backslashes for both Matrix Multiply samples.

@clevels -- thanks for fixing backslash.
@JoeOster  -- I have provided my approval.

@clevels - the ci is failing due to an error, the log is below and the error is the last line
collection failure
/Library/Python/3.7/site-packages/pluggy/hooks.py:286: in call
return self._hookexec(self, self.get_hookimpls(), kwargs)
/Library/Python/3.7/site-packages/pluggy/manager.py:93: in _hookexec
return self._inner_hookexec(hook, methods, kwargs)
/Library/Python/3.7/site-packages/pluggy/manager.py:87: in
firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
/Library/Python/3.7/site-packages/_pytest/python.py:246: in pytest_pycollect_makeitem
res = list(collector._genfunctions(name, obj))
/Library/Python/3.7/site-packages/_pytest/python.py:413: in _genfunctions
self.ihook.pytest_generate_tests.call_extra(methods, dict(metafunc=metafunc))
/Library/Python/3.7/site-packages/pluggy/hooks.py:324: in call_extra
return self(**kwargs)
/Library/Python/3.7/site-packages/pluggy/hooks.py:286: in call
return self._hookexec(self, self.get_hookimpls(), kwargs)
/Library/Python/3.7/site-packages/pluggy/manager.py:93: in _hookexec
return self._inner_hookexec(hook, methods, kwargs)
/Library/Python/3.7/site-packages/pluggy/manager.py:87: in
firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
conftest.py:45: in pytest_generate_tests
sample_configurations = generate_configurations(samples_dir, samples_list)
utils.py:44: in generate_configurations
sample_json = read_json_file(os.path.join(sample_path, 'sample.json'))
utils.py:30: in read_json_file
data = json.load(json_file)
/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/json/init.py:293: in load
return loads(fp.read(),
/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/codecs.py:322: in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
E   UnicodeDecodeError: 'utf-8' codec can't decode byte 0xae in position 202: invalid start byte

The environmental issue passed on pre prod ci run


Incorrect uniform layout with mat2

Summary
I added a mat2 uniform to my vertex shader. I assigned it an identity matrix so I was surprised when my mesh stopped displaying. I replaced the uniform by the literal identity mat2(vec2(1, 0), vec2(0, 1)) and the mesh displayed correctly.
So I checked with Nvidia Nsight and I found the issue.
My uniform declaration:
uniform params {
	mat4 viewProj;
	mat2 model;
};

My uniform data looks like this (params[0] on the GPU):
Address Data
0x00000000         0.00250         0.00000         0.00000         0.00000
0x00000010         0.00000         0.00333         0.00000         0.00000
0x00000020         0.00000         0.00000        -0.00100         0.00000
0x00000030         0.00000         0.00000         0.00150         1.00000
0x00000040         1.00000         0.00000         0.00000         1.00000
0x00000050         0.00000         0.00000         0.00000         0.00000

The generated vertex shader tries to initialize the mat2 like this:
mat2(params[4].xy, params[5].xy)
According to the data it should be:
mat2(params[4].xy, params[4].zw)
Test case
https://github.com/Ohmnivore/battle/tree/5c88e270fef19618425dbfa82b6217bc87c7dafc
Overview (the project only has two source files):

Shader code in code/shaders.glsl
Uniforms applied in code/BattleApp.cc (BattleApp::OnRunning):

// Update parameters
this->mainVSParams.viewProj = viewProj;
this->mainVSParams.model = glm::mat2();
this->mainDrawState.FSTexture[MainShader::tex] = this->texBG3;

// Render
Gfx::ApplyDrawState(this->mainDrawState);
Gfx::ApplyUniformBlock(this->mainVSParams);
Gfx::Draw(0);

Generated files

shaders.h
shaders.cc
Vertex shader contents

Using target win64-vstudio-debug btw

Digging deeper. Here's shaders_mainVS.glsl330.json:
{
  "stage":  "vs",
  "uniform_blocks": [{
      "type": "params",
      "name": "_15",
      "slot": 0,
      "size": 96,
      "members":  [{
          "name": "viewProj",
          "type": "mat4",
          "num":  1,
          "offset": 0,
          "matrix_stride":  16
        }, {
          "name": "model",
          "type": "mat2",
          "num":  1,
          "offset": 64,
          "matrix_stride":  16
        }]
    }],
  "textures": [],
  "inputs": [{
      "name": "position",
      "type": "vec4",
      "slot": 0
    }, {
      "name": "texcoord0",
      "type": "vec2",
      "slot": 2
    }],
  "outputs":  [{
      "name": "uv",
      "type": "vec2"
    }]
}

I tried putting the mat2 into its own separate uniform block but it's still the same.
It's using row0.xy and row1.xy instead of row0.xyzw.

Thanks for the detailed bug report :) This might be a bug in one of those places:

SPIRVCross itself (at least in the old version I'm currently using)
the fixes/hacks in my fork of SPIRVCross (those were indeed related to matrix orientation, but for HLSL)
or somewhere up in the oryol-shdc tool which wraps around SPIRVCross (I might have configured SPIRVCross wrong for instance)...

I guess I need to update the shader toolchain to the latest version SPIRVCross first so that I can drop my own fork. This will be quite a bit of work, and I probably won't get around to this in the next few weeks.
Can you workaround the problem for now?

It turned out that I needed a mat3 (to include 2D translation) instead of a mat2.
I tried mat3 but I got an error:
shaders.glsl(2): error : invalid uniform block member type 'mat3', must be (mat4,mat2,vec4,vec3,vec2,float)

I don't remember where I read it but I know that mat3 arrays aren't supported. Gfx/doc/Shaders.md says that simple mat3 should be fine though.
So I used a mat4 uniform instead. I cast to and from, using glm::mat4(myMat3CPU) and mat3(myMat4GPU) to get desired behavior. It's my workaround. I think the same could be done for mat2.
No worries and thanks for the libraries! I'm really enjoying using Oryol and its ecosystem.


Demo data deletion and initial settings entry

Banner at top of screen saying ?demo mode, click here to go to real mode'
Goes to confirmation screen
Deletes everything from that community except current user and household
Then goes to initial settings entry screen

Originally created by Tom Smyth at 2017-01-24 20:48, migrated from redmine-#5762

Follows Feature #4563: Fake data generation added

By Tom Smyth at 2017-01-25 01:55

Category deleted ( ~~ Public Release~~ )

By Tom Smyth at 2017-09-06 13:58


Some Code Does Not Work

Code in 10.3.1:
solarWatts.index[1]-solarWatts.index[0]
results in: TypeError: unsupported operand type(s) for -: 'str' and 'str'

I have the same issue


Stop skipping some fields on instrument

Motivation
Found some fields that weren't being logged, but IMHO would be useful (and won't pollute the output).
Proposal
Log the extra fields
Test Plan
CI
Release Plan

Nothing to do / These changes follow the usual release cycle.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#2778  👈
#2777
main

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

Join @andresilva91 and the rest of your teammates on  Graphite

Merge activity

Nov 1, 1:41 PM EDT: A user started a stack merge that includes this pull request via Graphite.


Bump v1.11.x to v1.11.0-pre2

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

macOS: Infra failure ignored
Windows: #14128
Interop: https://github.com/grpc/grpc/issues/14969


Blocked:  Multiline string improvements

Details
Blocked by #2.  Was initially to be in https://github.com/rustprooflabs/pgosm-flex/pull/3

Closing this.  When the blocking issue is resolved the tiny bit of effort into the changes here can be quickly reworked.

Closing this.  When the blocking issue is resolved the tiny bit of effort into the changes here can be quickly reworked.


The given key 'insertFinalNewline' was not present in the dictionary

Got this error when requesting document formatting with no insertFinalNewline set in FormattingOptions:
Internal Error - System.Collections.Generic.KeyNotFoundException: The given key 'insertFinalNewline' was not present in the dictionary.

According to the LSP docs trimTrailingWhitespace, insertFinalNewline and trimFinalNewlines are optional, however it seems the OmniSharp implementation just assumes they are always in the dictionary? Should we check their existence before accessing the keys?
https://github.com/OmniSharp/csharp-language-server-protocol/blob/6371386ee90dde8a1c419f3dc8fc94e0c1bc35f0/src/Protocol/Models/FormattingOptions.cs#L40

looks like a bug, it should be using TryGetValue instead.


This looks like you forgot to run the ant build step.  See the Contributor's Guide for full instructions on on building Cesium.


Added Interactive visualisation to Indian elections model

I have created an interactive plot for the SENSEX performance around Indian general elections in the model (Hedging-of-Financial-Derivatives/Indian Elections /generalelections.ipynb) where users can hover over data points to see the date and SENSEX value, and added vertical lines to indicate election dates.

Hi @Akshat111111 , Please assign labels GSSOC and level 2 to this PR.
Resolves #209 .


IS THIS DEAD? PLEASE CONFIRM.

Development seems to be happening, but at a slow pace. Maybe in a few months this mod will be relevant again.

Development seems to be happening, but at a slow pace. Maybe in a few months this mod will be relevant again.

The mod is up to date and multiple great big fixes just happened. What do you expect based on your comment? Have you contributed?

Development seems to be happening, but at a slow pace. Maybe in a few months this mod will be relevant again.

Oh I thought this was on th3 Marvion fork. Go look a4 marvion fork

On the discord server I frequently update the FAQ message I've posted.

kinda dead

Marvion's fork is active. Main has been out of dev for some time. I do plan on reviving it, but until I have some time to really dive into it, its gonna be stale. Will likely review in 6 months.