Expose mainServer in the fashion of http.DefaultServeMux

At the moment, if you've written a code like
web.Get("/", handler)
web.Get("/somethingelse", anotherHandler)
// etc.

There is no way (AFAIK) to get the http.Handler behind this (in case you'd like to wrap it in some middleware, etc.). All you can do is create a new Server and then rewrite the code to use it (rather than the module-level functions that work on the main server).
I don't think there would be any trouble with exposing mainServer publicly, kind of like http.DefaultServeMux is exposed (feel free to correct me). If you don't care about an extra variable lying around, then it's a one-line fix:
var MainServer = mainServer

(otherwise you'd have to s/mainServer/MainServer everywhere).
I'd like to hear some feedback on this. Would anyone else find this useful? Is this more complex than I think and there'd be some weird problems?

Connected to #214 - if it was possible to access the handler directly, cors could be handled by e.g. https://github.com/rs/cors :)


Roll attacks with the standard dice roller so Dice So Nice can be used

If the standard dice roller were used for attacks, Dice So Nice would pick up dice rolls. Some players really like using Dice So Nice because it feels more like rolling dice.

I'm tempted to make this a system config setting.

I am not a fan of how much 3D dice rolls slow things down, so yeah, would prefer a setting. 👍🏻

sounds good


test(UnitTest): Adding support to run tests in concurrent mode based on number of CPUs

This patch adds support for defining thread count in concurrent unit test execution by using MAX as value. This will result in running tests based on number of CPUs dynamically.

@dios-david I'll close this for now; some of the most active pptr developers are pretty happy with npm run unit -- -j 4. Let's wait until the frustration builds up.


For El Capitan

Open this thread to add resources and info about El Capitan.
Some might be obsolete.
https://en.wikipedia.org/wiki/Sparse_image
http://osxdaily.com/2015/09/29/prepare-mac-os-x-el-capitan/
http://osxdaily.com/2015/09/30/create-os-x-el-capitan-boot-install-drive/
http://osxdaily.com/2015/10/01/clean-install-os-x-el-capitan-mac/
http://osxdaily.com/2015/10/09/howto-downgrade-os-x-el-capitan-mac/
http://osxdaily.com/2015/10/05/disable-rootless-system-integrity-protection-mac-os-x/
http://osxdaily.com/2015/05/04/disable-gatekeeper-command-line-mac-osx/
http://osxdaily.com/2015/10/12/secure-empty-trash-equivalent-mac-os-x/

I'll add the relevant information from those in a little while. Thanks!


UI Inconsistency: Failure to Reflect Updated Table Location

Describe the bug
When updating the location of a table, the user interface (UI) fails to reflect this change. Despite the UI not displaying the updated data path, the system does recognize and honor the modification. Subsequently, any shares initiated post-update utilize the new data location as intended. However, the discrepancy between the displayed and actual data path in the UI may cause confusion or uncertainty for users interacting with the system.
How to Reproduce

Identify a dataset for which you wish to update the data location.
Update the s3 location to a new path or location, ensuring it differs from the current location.
Save the changes.
Navigate to DATA tab of the dataset.
Verify that the UI still displays the old data location instead of the newly updated one.
Despite the UI not reflecting the change, initiate a share or perform any action that requires accessing the table's data.
Confirm that the system correctly utilizes the updated data location despite the discrepancy in the UI.

Expected behavior
UI synchronizes and reflects table data locations when they are updated.
Your project
No response
Screenshots
No response
OS
Mac
Python version
3.9
AWS data.all version
2.4
Additional context
No response

Hi @anushka-singh - looking at how we sync and udpate tables and you are entirely correct, currently we only update GlueTableProperties and Columns of a DatasetTable if it already exists... we do not update S3Prefix value which represents the S3 location of the DatasetTable (re: backend/dataall/modules/s3_datasets/services/dataset_table_service.py::sync_existing_tables)
Will add this to the backlog and see when we can prioritize this to also sync location - as a workaround now you can delete the table and re synchronize which will create a new table record altogether rather than updating an existing one

Got it!
We will recommend the solution to our users.


When will the support come for react@18?

Require this support as well.

Require this support as well.

I think currently they don't provide support in near future. If you still want to use it. It is supporting the react@18 with react-router@5 but not with<EMAIL_ADDRESS>you want to use it with react-routerv@6. You can make small tweak as follows.
Instead of using the
ConnectedRouter
You can make following default react-router Router component and make changes as follows
`import React, { useLayoutEffect, useRef, useState } from 'react'
import { Route, Router, Routes } from 'react-router-dom'
import { createBrowserHistory } from 'history'
import { useDispatch } from 'react-redux'
import { onLocationChanged } from 'connected-react-router'
const history = createBrowserHistory()
export default ({ children }) => {
const isFirstRender = useRef(true)
const dispatch = useDispatch()
const [historyState, setHistoryState] = useState({
action: history.action,
location: history.location,
})
useLayoutEffect(() => {
return history.listen(setHistoryState)
}, [])
useLayoutEffect(() => {
if (isFirstRender.current) {
dispatch(onLocationChanged(history.location, history.action, true))
isFirstRender.current = false
}
return history.listen((arg) => {
dispatch(onLocationChanged(arg.location, arg.action, false))
})
}, [dispatch])
return (
<Router
// ...rest of props required
location={historyState.location}
action={historyState.action}
navigator={history}
>
{/* here it lies   ..... */}
{children}

)
}
`
Rest of it is same as before.
I hope it is helpful. Thank you.


De-duplicate diagnostic messages in the problems panel.

Rebase of saviorisdead/RustyCode#220
Currently, clippy is returning duplicate rustc warnings for projects that have executable (Manishearth/rust-clippy#1365), and RustyCode is displaying them twice in problems panel.
This PR leaves only unique Cargo's diagnostic messages (comparing by range+text) for each source file.

Hi @mitskevich,
Rebase your changes please.
I am at this moment installing cargo clippy to check your changes.

Done.

Hm. I am using Windows and for me cargo clippy shows a lot of error messages. It says I have no some DLLs. Are you using Linux?

I'm using MacOS. Most probably you see error messages because you installed Clippy with stable or beta, it works only with latest nightly rust.

No. I am using nightly. It doesn't allow me to install it with stable. A lot of compile errors)

It's not a problem. I will solve it.

Then it's strange. Maybe try to to cargo clean and full rebuild.
BTW, I see duplicate warnings when I run cargo check in nightly too (haven't seen this before though)... I think this may be rustc's problem, not Clippy's. It looks like this issue is happening only for projects that have both library and executable.

Hm. Could you provide more steps what are you doing?

cargo clippy gives me duplicate errors, but cargo check doesn't.

Sure, here is the minimum example:

Create new Rust project with following structure:

Cargo.toml
[package]
name = "duptest"
version = "0.1.0"

[dependencies]

src/lib.rs
pub fn somefun() { let a = 1; }

src/bin/somebin.rs
extern crate duptest; fn main() { duptest::somefun(); }

Run cargo check. Here is the output I see:

   Compiling duptest v0.1.0
warning: unused variable: `a`, #[warn(unused_variables)] on by default
 --> src/lib.rs:1:24
  |
1 | pub fn somefun() { let a = 1; }
  |                        ^

warning: unused variable: `a`, #[warn(unused_variables)] on by default
 --> src/lib.rs:1:24
  |
1 | pub fn somefun() { let a = 1; }
  |                        ^

warning: function is never used: `main`, #[warn(dead_code)] on by default
 --> src/bin/somebin.rs:1:23
  |
1 | extern crate duptest; fn main() { duptest::somefun(); }
  |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    Finished debug [unoptimized + debuginfo] target(s) in 0.18 secs

Notice the same warning for the same line: unused variable: a

Now check this file in RustyCode with Cargo: Check and you'll see two duplicate warnings for this line in the error panel.

Clippy's issue is basically the same.
I use:
rustc 1.15.0-nightly (71c06a56a 2016-12-18)
cargo 0.16.0-nightly (ddb5c32 2016-12-16)

@mitskevich, I think your solution is inefficient.
Please look at http://stackoverflow.com/a/14438954 at Update 4. I think Set is more efficient for this task.

Nice. I'll check it and modify a bit later, thanks!

@mitskevich, Thank you.

After playing with this a little, I don't think we can get rid of a string allocation. We need some uniqueness predicate to make a distinction between vscode.Diagnostic objects. We can put all those objects in a Set, but then there will be no adequate predicate function to use in  Set.filter() (checking whole Set on each iteration with Set.has() is even more inefficient).
If we actually use string hashes to make a distinction between objects, then the current solution works better than sets. Here we make a unique string hash for each vscode.Diagnostic and bind it to the actual object by the hash-map relation. We automatically filter unique messages while doing that, without need of additional loop.
Let me know if I miss something, otherwise, feel free to close the PR if you feel that the downside of slowing the extension is worse than having duplicate issues in the problems panel.

I will think about it tomorrow.

Why not simple:
function makeUniqueElements(array: O[]): O[] {
    let uniqueElementsArray: O[] = [];

    for (let element of array) {
        const uniqueElement = uniqueElementsArray.find(uniqueElement => {
            if (element.a !== uniqueElement.a) {
                return false;
            }

            if (element.b !== uniqueElement.b) {
                return false;
            }

            return true;
        });

        if (uniqueElement === undefined) {
            uniqueElementsArray.push(element);
        }
    }

    return uniqueElementsArray;
}

I have done it: 72d587b09e8e9dc3de954f23855bc5219fa259c8
It is more efficient, is not it?

Maybe, not sure. There is a O(log*n) complexity because of the double loop (find in for), but it may be more efficient than string allocation and map insertion.

I think that processor works better than string allocation. Is there any way to check it?

We can do a benchmark tests, but I'm sure this particular place in code doesn't deserve it :)  We'll have at most hundreds warnings/errors at the same time, not millions. In the most inefficient way they will be processed in milliseconds. Bottleneck is in linters that produce them, not in the extension... Feel free to close this PR, I completely agree with your solution.


Bugfixes

Various bug fixes to get this working. Let me know if you'd like any changes 👍

key path was not interpolated due to single quotes
removed some output to help with automation
added key_id to headers

Please view individual commits to see clearer the main changes, without the noise of the indentation cleanup.
Thanks!

👍  I will merge this now and push new gem version later today. Thanks a lot @iainmullan for fixing issues and making documentation changes too. Really appreciate! 💛

@iainmullan New version has been pushed to Rubygem!


Application Gateway FAQ JP link is displayed in English/Application Gateway FAQページが英語で表示されてしまう

[フィードバックをこちらに入力してください]
このFAQページは日本語ではなく、英語で表示されてしまうように見受けられております。
https://docs.microsoft.com/ja-jp/azure/application-gateway/application-gateway-faq
ご確認頂けますでしょうか。

ドキュメントの詳細
⚠ このセクションを編集しないでください。 docs.microsoft.com で必須です ➟ GitHub の問題のリンク。

ID: 8f36f19e-caad-3e86-474a-dd86554e9eb6
Version Independent ID: 08ad49f3-6a57-b925-794a-37215e985aba
Content: Frequently asked questions about Azure Application Gateway
Content Source: articles/application-gateway/application-gateway-faq.yml
Service: application-gateway
GitHub Login: @vhorne
Microsoft Alias: victorh

@bangdu-ms Thank you for your feedback! We will review and update as appropriate.

@bangdu-ms , We have assigned this to the content owner/author for review.
@vhorne , Please fix the below doc as it is displaying in English instead of Japanese:
https://docs.microsoft.com/ja-jp/azure/application-gateway/application-gateway-faq

Hi @GitaraniSharma-MSFT  @vhorne Is there any update?
I also found these FAQ page has similar issue, can you please fix these pages as well?
https://docs.microsoft.com/ja-jp/azure/frontdoor/front-door-faq
https://docs.microsoft.com/ja-jp/azure/firewall/firewall-faq
It would be really appreciated if you can double check all FAQ pages

Hi @GitaraniSharma-MSFT @vhorne @MayankBargali-MSFT Can you please kindly confirm and help with the fix? It has been open for weeks and it does not seem to be a tough one.

These docs appear to be translated.  Is this issue still valid?
@vhorne @bangdu-ms

#please-close


Dropdowns are not preset since CM uses InfoModel 4.0.6

The CM uses the InfoModel 4.0.6.
Therefore, there have been changes in the enum classes, which have ensured that the dropdowns are no longer preset.
Enums have got the following structure:
AA("https://w3id.org/idsa/code/AA")...
Here is from the UI side the following to do, so that the dropdowns work reasonably again.
In the ResourceMetadataPage.js => Line 42:
this.$data.language = resource.language.substring(resource.language.lastIndexOf("/")+1);
This ensures that only then "AA" is preserved and displayed.
The following changes need to be made in SettingsPage.js:
this.$data.deployMethod = response[0][1].routeDeployMethod;
var loglevelTmp = configModel.logLevel;
this.$data.logLevel = loglevelTmp.substring(loglevelTmp.lastIndexOf("/") +1);
var connectorStatusTmp = configModel.connectorStatus;
this.$data.connectorStatus = connectorStatusTmp.substring(connectorStatusTmp.lastIndexOf("/")+1);
var connectorDeployModeTmp = configModel.connectorDeployMode;
this.$data.connectorDeployMode = connectorDeployModeTmp.substring(connectorDeployModeTmp.lastIndexOf("/")+1);

Fixed in commit 1a45cc1


[Issue #7971] [pulsar-client] Make pulsar-client usable through java-modules

Fixes #7971
Motivation
Since pulsar 2.6, the client is not useable anymore in projects that use jdk modules. The jars files contain split packages, preventing the jvm from starting
Modifications
Two 'split packages' fixed:

ZStd compression was reusing packages of airlift to access a protected class. Using reflection instead
Changed package of LongSchemaVersion from org.apache.pulsar.common.schema to org.apache.pulsar.common.protocol.schema. The former package is used already by client-api

Verifying this change

Added integration tests  that runs using java modules. Unfortunately, a maven limitation (https://issues.apache.org/jira/browse/MNG-5899) prevents me from adding the test to the reactor. For now, the test needs to be executed in a dedicated mvn call..

Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): no
The public API: **yes  --> LongSchemaVersion package changed. Not sure if this is a public API **
The schema: no
The default values of configurations: no
The wire protocol: no
The rest endpoints: no
The admin cli options: no
Anything that affects deployment: no

Documentation

Does this pull request introduce a new feature? no
If a feature is not applicable for documentation, explain why? Bugfix
If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

@merlimat I added a github workflow to run the modules test using java 11. That will prevent other split package situations in the future. Let me know if anything else is needed in order to get this merged.

@merlimat I added a github workflow to run the modules test using java 11. That will prevent other split package situations in the future. Let me know if anything else is needed in order to get this merged.

The pr had no activity for 30 days, mark with Stale label.

Closed as stale and conflict. Please rebase and resubmit the patch if it's still relevant.


nicotine-plus: No GSettings schemas are installed on the system

Describe the bug
Whenever I open a file chooser dialog in Nicotine+, it crashes with this error:
(org.nicotine_plus.Nicotine:567058): GLib-GIO-ERROR **: 18:59:22.961: No GSettings schemas are installed on the system
fish: Job 1, 'nicotine-plus' terminated by signal SIGTRAP (Trace or breakpoint trap)

Steps To Reproduce
Steps to reproduce the behavior:

An X environment without a DE
Install and run nixpkgs.nicotine-plus
Open a file dialog

Additional context
I saw a similar issue on Chromium: #26560
Maintainers (thanks!): @ehmry @klntsky
Metadata

system: "x86_64-linux"
host os: Linux 5.10.68, NixOS, 21.11 (Porcupine)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3.15
channels(root): "nixos-21.11pre319271.31ffc50c571"
channels(ao): ""
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

It looks like the glib setup hook isn't setting $GSETTINGS_SCHEMAS_PATH for some reason (maybe it's not running?)
The wrapped file looks something like
#! /nix/store/a54wrar1jym1d8yvlijq0l2gghmy8szz-bash-5.1-p12/bin/bash -e
export XDG_DATA_DIRS='/nix/store/gkx1aqa5ld1lxrkv9c5j7f8k7npzv9vp-nicotine-plus-3.1.1/share'${XDG_DATA_DIRS:+':'}$XDG_DATA_DIRS
export GI_TYPELIB_PATH=<removed for brevity>
exec -a "$0" "/nix/store/gkx1aqa5ld1lxrkv9c5j7f8k7npzv9vp-nicotine-plus-3.1.1/bin/.nicotine-plus-wrapped"  "$@"

So the packages /share is being added to $XDG_DATA_DIRS, which happens here:
https://github.com/NixOS/nixpkgs/blob/384d9fe3666cfb2bf87a3de54a17e443edceaf80/pkgs/build-support/setup-hooks/wrap-gapps-hook/wrap-gapps-hook.sh#L21-L28
Right above it, $GSETTINGS_SCHEMAS_PATH gets added to $XDG_DATA_DIRS if it's present, but that doesn't show in the wrapper, so the variable is not getting set.


Black screen video - audio ok on some Win10

I have an issue / a question (pick one) about Vlc.DotNet.
Generic information

Vlc.DotNet version : 3
Vlc.DotNet project used : WPF with WinForms component
libvlc version : (3.0.4) (x86/x64) from nuget
.net version : 4.6.1
Project language : (C#)
Project build architecture : (x86/x64)
Operating system : (Windows 10) (x86/x64)

Summary
In my apo, some Windows 10 users with undefined graphic card reported black video but with sound ok when playing DVDs (not blurays, just typical dvds). This happen for all the DVDs they have check, not for specific one. In my dev laptop and desktop everything playing fine. I have added the option to enable/disable hardware acceleration but the problem is still there. Any ideas about this problem? I can't get a log from them. The only thing I guess by myself is that I use airhack over the control and maybe corrupt the things, but it's only a guess. Maybe is there a direct 3d9 must be used for older graphics cards? I really appreciate any help on this, as it is crucial for me.
Best regards,
George

[ ] I confirm that my issue doesn't happen in VLC itself.

This bug report is quite vague, I can't really help on that.
The first thing to check is whether it happens with VLC itself, with the same version.
I don't see a reason why your airhack would be the cause, it's more likely an issue with VLC itself.
Did you redistribute the full nuget package or did you select which plugins to copy?

I think there is a way for d3d9, but I don't remember which. probably by playing with avcodec options or maybe with "vout" options

I will try both options. The one to remove airspace completely and the other to try with --vout options.
I have studied the limitations when mixing WPF and W32 from the Windows perspective and it seems that there might be a problem, possibly if the vlc dotnet winforms component is used on WPF, then the vlc must output to the HWND of the component (Windows see it as window). If some reason this is not identified or strictly forced the vlc to output on it, then perhaps the black output. The vlc component outputs somewhere, but I don't know where!
I'll post here any findings.
By the way, congrats for the great effort you have done already for this component. It is amazing.

another random thought : is there any antivirus software on the user's computer? I don't see any specific reason but we never know. Logs would be really appreciated. Are you able to register a Log callback and get logs from there?

I cant get log files from the released version rigth now. Perhaps the users have antivirus software. Is there any chance that the antivirus stops something on the app?

Hi,
Did you manage to fix your issue?


pie layer not drawing iOS objective c

code in view did load
#import <MagicPieLayer.h>
PieLayer* pieLayer = [[PieLayer alloc] init];
pieLayer.frame = CGRectMake(0, 0, 200, 200);
[self.view.layer addSublayer:pieLayer];
[pieLayer addValues:@[[PieElement pieElementWithValue:5.0 color:[UIColor redColor]],
[PieElement pieElementWithValue:4.0 color:[UIColor blueColor]],
[PieElement pieElementWithValue:7.0 color:[UIColor greenColor]]] animated:YES];
there was pie chart created at times but now totally I am not getting any pie chart.what is the issue here?

did it in main queue works fine


Nokogiri unescapes already escaped single/double quotes

When using Nokogiri to parse a piece of HTML, single and double quotes that are already escaped are being reverted back to their non escaped form. For example:
Nokogiri::HTML.fragment("
' '
").to_html
=> "
' '
"

Nokogiri::HTML.fragment("
" " "
").to_html
=> "
\" \" \"
"

The same does not happen for other characters, like > or &:
Nokogiri::HTML.fragment("
> &
").to_html
=> "
> &
"

This creates issues when feeding Nokogiri some already (maybe partially) escaped content.

I’m also confused about the internal unescaping of other HTML entities. For example:
>> fragment = Nokogiri::HTML.fragment("<script>")
=> #<Nokogiri::HTML::DocumentFragment:0x3ffe28d1f810 name="#document-fragment" children=[#<Nokogiri::XML::Text:0x3ffe28d1edd4 "


Page with schedules for all academic groups (like in spreadsheets)

Describe the feature
Sometimes a student wants to see all classes in university for today. It would be convenient to create a page where all academic groups classes are shown on one calendar.
Suggested solution
Request all .ics files for academic groups and display schedule for one week (maybe smth like dayGridWeek view) in many columns (like in Google Spreadsheets).
Additional context
See comments.

Вид как на гугл табличках

Relates to #101, #123


[4.2] [Serialization] Always list the bridging header before any imports

Cherry-pick of #17186 for the 4.2 branch. Reviewed by @DougGregor.
rdar://problem/40471329

@swift-ci Please test


Message box active highlight is too bright in dark mode

Get rid of the white glow.

Fixed in e77c0fb


Oauthswift salesforce

I added support for Salesforce authentication. It is all pretty straight forward except I added a call to remove encoding on code response keys. Salesforce definitely sends keys that have special characters which require URLEncoding (and were breaking my app until I removed them). I suspect other providers may have similar issues

Thank you!


Bug: Table Attribute Potential Bug

This issue needs a validation from the community - if this is really a big case or not. The priority will vary on the community request.
The Table attribute of System.ComponentModel.DataAnnotations.Schema is expecting the Table("TableName"), but there is a possibility the the Schema property may had been set explicitly. In RepoDb, this attribute is seems to be used as Table("[Schema].[TableName]") and defaultly ignoring the Schema property, like the existing Map("[Schema].[TableName]").
Here is the link to the code that could have the potential bug.
I would suggest to write it this way.
internal static string GetMappedName(Type type)
{
	return type.GetCustomAttribute<MapAttribute>()?.Name ??
		   GetMappedName(type.GetCustomAttribute<TableAttribute>()) ??
		   ClassMapper.Get(type) ??
		   type.Name;
}

With a helper method like below.
private static string GetMappedName(Table tableAttribute)
{
	if (tableAttribute == null)
	{
		return null;
	}
	if (string.IsNullOrEmpty(tableAttribute.Schema))
	{
		return tableAttribute.Name;
	}
	return $"[{tableAttribute.Schema}].[{tableAttribute.Name}]";
}

Important Note: We need to bring the IDbSetting object and use the ClosingQuote and OpeningQuote property to quote the values.
Acceptance Criteria: Make sure that all the existing Unit Tests and Integration Tests of all Solutions are passing (i.e.: RepoDb.Core, RepoDb.SqlLite, RepoDb.SqlServer, RepoDb.PostgreSql, RepoDb.MySql, RepoDb.MySqlConnector and RepoDb.SqlServer.BulkOperations).

The fix is now available at RepoDb v1.11.4-beta3.

Closing this issue now.


project-management: Should we revisit this milestone?

This milestone appears in our project schedule, but I think we agreed that the facilitator would be responsible for a specific question list tailored to each interviewee. Should we break this milestone up into multiple, each one corresponding to a specific interviewee and assigned to the facilitator?

Bumping this issue - would we like to break this milestone into several issues, each corresponding to the scheduled stakeholder interview date?

@Miriamhacker

@voglerdaniel What do you mean when you refer to "this milestone"?


fix: Update GitHub link in site nav bar

When this repository was forked from ORNL, it looks like we missed updating the GitHub icon in the site navigation bar to point to the sandialabs organization on GitHub instead of the ornl one.  Thanks to @GhostofGoes for noticing.

@wadeburgess or @mrmundt, can either of y'all approve and merge this quick fix?


dotnet with CPLEX: not linked or license not found

What version of OR-Tools and what language are you using?
Version: stable/v9.4
Language: C#
Which solver are you using (e.g. CP-SAT, Routing Solver, GLOP, BOP, Gurobi)
CPLEX 20.10
What operating system (Linux, Windows, ...) and version?
Windows 11
What did you do?
Right after cloning the repository:

Changed Makefile.cpp.mk adding USE_CPLEX ?= ON and providing the -DCPLEX_ROOT option in the third_party target recipe.
Executed:  tools\make third_party
Executed then:  tools\make dotnet
Created a console application project from scratch in VS 2022.
Installed the two nuget packages located in the .\or-tools\build_make\dotnet\packages into my project.

What did you expect to see
Execute with success the simple MIP example.
What did you see instead?
An error. The console outputs:
WARNING: Logging before InitGoogleLogging() is written to STDERR
W0926 16:52:33.024684 30456 linear_solver.cc:625] Support for cplex not linked in, or the license was not found.

Anything else we should know about your project / environment
I thought that this could be an error involving not supported CPLEX versions. After seeing this answer, I changed the FindCPLEX.cmake file right after the elseif(MSVC) line to:
set_target_properties(CPLEX::CPLEX PROPERTIES       IMPORTED_LOCATION "${CPLEX_ROOT}/cplex/lib/x64_windows_msvc14/stat_mda/cplex2010.lib")
which was somehow cplex12100.lib before.

Can you check it does not uses the package from nuget ?

Can you check it does not uses the package from nuget ?

Thanks for the reply.
I'm using the nuget packages generated from the compilation process.
Besides, I updated the section "What did you do" with steps 4. and 5. I hope this clarifies!
PS: a friend of mine reproduced steps 4. and 5. in his computer, with the .nupkgs generated in my local, and it worked with CPLEX 12.7!

@jjaneto in your cplex install dir what is the name of the "cplex*.lib" (and its relative location from the cplex root dir installation) ?

@Mizux the name of the lib is cplex2010.lib; I installed in my local with the default settings. The relative path to this library is IBM\ILOG\CPLEX_Studio201\cplex\lib\cplex2010.lib.
I also checked for any error involving environment variables, but could not find evidences for it.
I reproduced again the steps of the original post, changing the FindCPLEX.cmake file according your suggestion (editing to cplex*.lib), but the outcome I got the same error from before!

Make is deprecated.
Followup https://github.com/google/or-tools/issues/3558


Canvas toDataURL encode is different

<EMAIL_ADDRESS>commented:

Which version of PhantomJS are you using? 1.5
What steps will reproduce the problem?

I created a simple html page with a 200x200 canvas elemnt
In console: document.getElementById('canvas').toDataURL();
In PhantomJS I opend a page to the html file then after the page loaded I run an evaluate function to get the toDataURL data

What is the expected output? What do you see instead?
See Files attached
Which operating system are you using? Ubuntu 11.04
Did you use binary PhantomJS or did you compile it from source? Latest binary
Please provide any additional information below.

Disclaimer:
This issue was migrated on 2013-03-15 from the project's former issue tracker on Google Code, Issue #455.
:star2:   4 people had starred this issue at the time of migration.

I'm able to get a png of proper size if I use toDataURL with an explicit quality-argument:
var base64 = canvas.toDataURL("image/png", 0);

It's when I don't provide an explicit quality-argument, that I end up with a very large png. I traced the problem to JSHTMLCanvasElement::toDataURL.
There, we have the following few lines of code:
double quality;
double* qualityPtr = 0;
if (exec->argumentCount() > 1) {
    JSValue v = exec->argument(1);
    if (v.isNumber()) {
        quality = v.toNumber(exec);
        qualityPtr = &quality;
    }
}

If an explicit quality-argument is not provided, qualityPtr remains null. Later, this pointer is passed to  encodeImage in ImageBufferQt.cpp. There, we have the following lines:
int compressionQuality = 100;
if (quality && *quality >= 0.0 && *quality <= 1.0)
    compressionQuality = static_cast<int>(*quality * 100 + 0.5);

Since quality (which is qualityPtr) is not a valid pointer, the if clause never gets executed, and you end up with compressionQuality set to 100. When the image is finally saved to the buffer using QPixmap::save, you end up with a large, uncompressed file; from the documentation:

The quality factor must be in the range [0,100] or -1. Specify 0 to obtain small compressed files, 100 for large uncompressed files, and -1 to use the default settings.

According to the HTML5 spec, §<IP_ADDRESS> says that the quality argument only applies to images of type image/jpeg. It makes sense to default to 100 (although I think Firefox and Chrome use 92) in the case of JPEG, because you still want to render the image with decent quality. But in phantomjs, this number ends up affects the level of compression that is performed for PNGs. The compression doesn't affect the quality of the image, since PNG is lossless; it only ends up affecting the size. So a quality of 100 results in a PNG image without any compression, and 0 results in a PNG image with maximum compression.
I think encodeImage should take the image type into account before setting the quality value. It should only honor that argument if the type is JPEG; otherwise it should use -1, so that  QPixmap::save uses the default settings for that type.
I can get started on a pull-request for this.

Is this going to be fixed?

The fix is upstream in Qt-webkit.

Yup. Closing. Thank you @vivin !


Error: INSTALLATION FAILED: create: failed to create: Request entity too large: limit is 3145728

Hey, I downloaded the helm package. and tried to install it, but I'm consistently having two issues:

Error: INSTALLATION FAILED: create: failed to create: Secret "sh.helm.release.v1.billing.v1" is invalid: data: Too long: must have at most 1048576 bytes
Error: INSTALLATION FAILED: create: failed to create: Request entity too large: limit is 3145728

Can anyone please elaborate how to fix this problem? In the past, I did helm install Lago he v1.0.0 successfully, but when I just tried to install from this repo I'm having this issue

That's a duplicate. I accidentally pressed create two times in a row


Remove legacy API

Overview
Remove all references to the legacy, NodeJS API. This includes:

Docker Compose service definitions
References in README.md
STRTA

Connects #14
Resolves #416
Checklist

[ ] fixup! commits have been squashed
[ ] CI passes after rebase
[ ] CHANGELOG.md updated with summary of features or fixes, following Keep a Changelog guidelines

Testing Instructions

./scripts/setup
vagrant ssh -c "./scripts/resetdb"
vagrant ssh -c "./scripts/server"
Interact with the application at http://localhost:6543/ and verify things are a-OK.

Looking at this now.

What do you think about adding a CHANGELOG entry for this? I am on the fence leaning slightly toward yes, add an entry.

What do you think about adding a CHANGELOG entry for this? I am on the fence leaning slightly toward yes, add an entry.

Yeah, I think there should be a CHANGELOG entry. I was going to do that before merging.
Also, heads up, I'm going to be opening a follow up PR that cleans up the environment variables files in a way that removes another artifact of the NodeJS API and updates documentation to better accommodate outside contributors.


fix value of startdate and enddate

Changes Unknown when pulling 4cfa0667a742d840e4a0bc5799559f025c5522a6 on indriHutabalian:dev into ** on danliris:dev**.


fix for Xcode scheme name match and turn the Xcode project into a Swift Package

For cases when the schemes are like:

MyProject
MyProject-macOS

Specifying the scheme name as MyProject both schemes were matching

I signed it!

Thank you!

Looks like travis ci failed?

@jverkoey it failed because travis ci have a limitation that stops the build if no output is produced in 10 minutes. this usually happens when the travis ci virtual machines are too slow or freezing for some reason.
No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.

Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received

The build has been terminated

Could you please start the build again?

Looks like CI isn’t working in general so we’ll need to follow up on that separately.


Backend support for creating/updating managed policies

Tasks completed:

[x] Allow Managed policies as a standalone resource when creating requests
[x] Allow updating of the request (for authorized users)
[x] Allow applying of the request (for authorized users) - creating / updating managed policy
[x] Populate old managed policies
[x] Deal with managed policies that have reached the maximum number of versions (5)
[x] Unit testssssss

Here's some of the code we discussed:
async def create_or_update_managed_policy(
    new_policy,
    policy_name,
    policy_arn,
    description,
    policy_path="/",
    existing_policy=None,
    **conn_details,
):
    log_data = {
        "function": f"{__name__}.{sys._getframe().f_code.co_name}",
        "new_policy": new_policy,
        "policy_name": policy_name,
        "policy_arn": policy_arn,
        "description": description,
        "policy_path": policy_path,
        "existing_policy": existing_policy,
        "conn_details": conn_details,
    }

    ca = await sync_to_async(CloudAux)(**conn_details)

    if not existing_policy:
        log_data["message"] = "Policy does not exist. Creating"
        log.debug(log_data)
        await sync_to_async(create_managed_policy)(
            ca, policy_name, policy_path, new_policy, description
        )
        return

    log_data["message"] = "Policy exists and needs to be updated"
    log.debug(log_data)
    # Update the managed policy
    await update_managed_policy(ca, policy_name, new_policy, policy_arn)

and
async def update_managed_policy(cloudaux, policy_name, new_policy, policy_arn):
    log_data = {
        "function": f"{__name__}.{sys._getframe().f_code.co_name}",
        "new_policy": new_policy,
        "policy_name": policy_name,
        "policy_arn": policy_arn,
        "message": "Updating managed policy",
    }
    log.debug(log_data)

    current_policy_versions = []
    default_policy_index = 0
    versions = await sync_to_async(cloudaux.call)(
        "iam.client.list_policy_versions", PolicyArn=policy_arn
    )
    for i, version in enumerate(versions.get("Versions", [])):
        if version["IsDefaultVersion"]:
            default_policy_index = i
        current_policy_versions.append(version)

    if len(current_policy_versions) == 5:
        # Want to make sure we don't pop the default version so arbitrarily set position to 1 if default ends
        # up being the last index position
        pop_position = 1 if default_policy_index == 4 else 4
        await sync_to_async(cloudaux.call)(
            "iam.client.delete_policy_version",
            PolicyArn=policy_arn,
            VersionId=current_policy_versions.pop(pop_position)["VersionId"],
        )

    await sync_to_async(cloudaux.call)(
        "iam.client.create_policy_version",
        PolicyArn=policy_arn,
        PolicyDocument=json.dumps(new_policy, indent=2),
        SetAsDefault=True,
    )

Made some minor tweaks and added more unit tests for the overall request flow


Error loading anime page

"error loading anime page" always pops up every time i press an anime in the library section (mal) few animes that don't have this bug is one piece and bleach, and the rest is the error.
oppo f3
android 7.0
no 1.0.3

I am well aware. That is because the recommendations are fetched from Anilist and not gogoanime. The system for fetching anime pages from Anilist/MAL ID:s is not good currently and can not get perfect, but I will try to improve it.

"error loading anime page" always pops up every time i press an anime in the library section (mal) few animes that don't have this bug is one piece and bleach, and the rest is the error.
oppo f3
android 7.0
no 1.0.3

There's a method for it, set slugs, if u don't know how to set it, i have a video for reference.

well yeah i tried doing that but i actually don't know how to, can you please show me the vid so i can set it?

well yeah i tried doing that but i actually don't know how to, can you please show me the vid so i can set it?

https://streamtape.com/v/kZmxmye8QySOMZk/Screenrecording_20210919_185347.mp4
By chance if its wrong syncing in mal/anilist u can set slugs for it too

https://streamtape.com/v/qJyBoBwl4XsRBd/Screenrecording_20210811_233313.mp4
A better example

Fixed in 1.1.1.
I can not improve the MAL/Anilist linking beyond the current implementation.


Javadoc updates, added interfaces to allow easier mocking and gradle support

Hey,
I did some updates around the javadoc, source generation, added interfaces and added gradle build file if you guys are interested.
I forked it off the cloudfoundry incubator fork but I can re-apply them to a newer branch here if you guys are interested.
Stephen

Great stuff @StephenDillon! As you can see, we haven't updated this repo - it began as a project to learn the S3 protocol internally. Officially speaking, we do no development on this library and we recommend the use of the Amazon S3 client.
Given your work, I'll take some time to migrate this under Basho Labs where we focus on community-maintained code out of support of the company.
Do you have interest in being the maintainer going forward? Either way, thank you for what you've done here!

Sure that would awesome.
If you want to port over what you have at the moment I can reapply my
changes afterwards.
Thanks!
On Mar 31, 2015 8:10 AM, "Matt Brender"<EMAIL_ADDRESS>wrote:

Great stuff @StephenDillon https://github.com/StephenDillon! As you can
see, we haven't updated this repo - it began as a project to learn the S3
protocol internally. Officially speaking, we do no development on this
library and we recommend the use of the Amazon S3 client.
Given your work, I'll take some time to migrate this under Basho Labs
https://github.com/basho-labs where we focus on community-maintained
code out of support of the company.
Do you have interest in being the maintainer going forward? Either way, thank
you for what you've done here!
—
Reply to this email directly or view it on GitHub
https://github.com/basho/riakcs-java-client/pull/7#issuecomment-88063264
.

I just migrated it @StephenDillon, which thankfully keeps your PR open. You've also been added to @basho-labs/riakcs-java-client-committers and have write access to this repo. Feel free to merge these edits if you find them passing your tests.
And welcome! We're happy to have you as a committer. Let me know if I can do anything to help via email or twitter.

Excellent, I will take a look at resolving the conflicts later.

Hey Matt, can you check the group permissions for me, don't see to be able to push.
http://imgur.com/fSzrssN
Thanks!

You bet @StephenDillon - checking!

Good call @StephenDillon - should be good now but lmk!

Hey @StephenDillon - you're more than welcome to merge this when you're ready to do so. Let me know if you need help testing.

I have a branch locally were I am updating it, should be able to push it soon

Hey @StephenDillon - just noticed this hasn't merged yet. Would you care to do so still?
Thanks! :+1:

Hey Matt,
I created a new pull against the latest code.
It has a lot of the interface updates some I need to do some investigation to finish, included the fix mentioned around local and updated to use gradle to build. (Added build instructions to readme)
It will also generate a javadoc and sources jar
https://github.com/basho-labs/riakcs-java-client/pull/9

@StephenDillon you're welcome to merge whichever PR. I follow your lead, sir - you're the maintainer :smile:


[Add] Canva Color

Site URL
https://www.canva.com/colors/
Description of the above provided site
A vibrant online platform offering a curated palette of inspiring colors to elevate your designs effortlessly.
Category
Frontend
Sub Category
colors
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue (optional)
[ ] I am a GSSoC'23 contributor

@Oyebolade closing this as no responses received , if you still want to work and deliver the things quick  i will reopen it again, just tag me :)


Make Store package download stable

Microsoft Reviewers: Open in CodeFlow

@yao-msft Looks like this is removing the experimental feature. Is there an ETA on when this may be returning?

Removing the experimental feature means this feature is now official. This feature will be in our next winget 1.8 release (and also 1.9 preview).

That's great to hear. Thanks!
Thanks,
Richard

From: yao-msft @.>
Sent: Saturday, June 22, 2024 11:43:31 AM
To: microsoft/winget-cli @.>
Cc: Richard Balsley @.>; Comment @.>
Subject: Re: [microsoft/winget-cli] Make Store package download stable (PR #4570)
Removing the experimental feature means this feature is now official. This feature will be in our next winget 1.8 release (and also 1.9 preview).
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/winget-cli/pull/4570#issuecomment-2184151168, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMYE2BCPX4Z3OU37XMMIZJLZIXAVHAVCNFSM6AAAAABJVGIMAOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBUGE2TCMJWHA.
You are receiving this because you commented.Message ID: @.***>

@yao-msft I'm using a PowerShell script to download multiple store apps with winget. I'm getting a consistent prompt for credentials when downloading store apps (I seem to get 2 prompts per app, one for the app itself and another for the dependencies I think, could also be due to multiple appx versions of the app being downloaded). I'm using an EntraID to download as expected, but I'm not signed into that account.
Is there a way to invoke this to only be prompted once for credentials? Thanks.

@yao-msft We are encountering the same issue mentioned by @rbalsleyMSFT. We noticed that it's possible to download VSCode without authentication, so there might be a workaround to bypass this authentication, or is it reserved for Microsoft products?

@yao-msft I'm using a PowerShell script to download multiple store apps with winget. I'm getting a consistent prompt for credentials when downloading store apps (I seem to get 2 prompts per app, one for the app itself and another for the dependencies I think, could also be due to multiple appx versions of the app being downloaded). I'm using an EntraID to download as expected, but I'm not signed into that account.
Is there a way to invoke this to only be prompted once for credentials? Thanks.

The 2 prompts are: one for retrieving download links and the other for acquiring license. They are 2 different backend services. Winget uses Web Account Manager for Microsoft Entra Id authentications. Web Account Manager manages the token caches, it should behave the same with the Connect to Work or School experience of Windows Settings.
Did you try signing in System wide?
Did you use the Export-WingetPackage or the winget cmdline? For winget cmdline, you can specify the account to use using --authentication-account, if the account has been logged on recently, no popup will appear. If you are using Export-WingetPackage, currently it will try to logon with the default account (the current user session account), if failed, it will show the popup. PSCmdlet does not support specifying a specific account yet. If needed, please feel free to file an issue to ask for parity between cmdline version vs PSCmdlet for dowloading store apps (the work will require some winget COM api change then update the PSCmdlet)

@yao-msft We are encountering the same issue mentioned by @rbalsleyMSFT. We noticed that it's possible to download VSCode without authentication, so there might be a workaround to bypass this authentication, or is it reserved for Microsoft products?

Authentication is only required for installer type msstore (the appx/msix packages). VSCode is exe installer, it has download links in the manifest so it does not need authentication. A quick way to find out if authentication is needed is to look at package ids. If the Id starts with XP, it is non-msstore installer, no authentication needed. Otherwise, it's msstore installer type, it needs authentication.


magellan serve supports dynamic paths

Story
As Frontend Developer I want to have static + dynamic path support for magellan serve, so that I can use React's BrowserRouter.
AC

static path for static assets can be configured
default all dynamic

I've now taken steps to add support for the dynamic resolution of urls like /some-virtual-url/7 and similar cases while maintaining static file resolution.
Adding support for static route either through CLI, config or other means as well as the envisioned behavior in the context of existing functionality would need clarification.


Split the Wikimedia Database into Chunks

Steps are:

[ ] Clean the ns_6 files and filter out images that we will not use.
[ ] Shuffle the database randomly.
[ ] Split it into chunks that can easily be processed.

note to self: check the difference between date_time_original and date_time


Request for Re-uploading the Wikipedia_bd.zip Dataset

I hope this message finds you well.
currently, I am working on calculating topic coherence using Wikipedia_bd.zip dataset. However, due to restrictions in China, I am unable to access or download the file. I kindly request if it would be possible for you to re-upload the dataset or provide an alternative means of access (e.g., email or a mirror link).
best regards,
adekang

Hi, it seems that link was expired. I have uploaded Wikipedia_bd.zip to Google Drive.


Merge insert_size_hist into main

Updated code to produce ATAC insert size histogram plot as png

Everything should be fine. Eugenio needs to make sure the docker is build correctly like intended.


Renderer2D: Replace vertex setup code with a for loop.

Describe the issue
Renderer2D had a lot of code duplication, which could be trivially replaced with a for loop.
PR impact
A lot less duplicated code.
Proposed fix
Replace with loops where possible.

There is still some duplication though.
The code that you added is copy-pasted 4 times for the different overloads.
wouldn't it be better to just declare a function (static/internal) to setup the buffer?
something like:
static void SetupQuadVertexBuffer(Ref<VertexBuffer> buffer)
{
    ...
}

and call the function instead.

There is still some duplication though.
The code that you added is copy-pasted 4 times for the different overloads.
wouldn't it be better to just declare a function (static/internal) to setup the buffer?
something like:
static void SetupQuadVertexBuffer(Ref<VertexBuffer> buffer)
{
    ...
}

and call the function instead.

It would be, but it feels like too big of a rework and something that cherno would want to design himself.


feat: Canonical instance deployer contract

Implementation for the initial contract instance deployer contract. Tracks instance deployed events in nodes and stores them locally.
Skips validations for class id and eth address for now.
Builds on https://github.com/AztecProtocol/aztec-packages/pull/4429
Fixes https://github.com/AztecProtocol/aztec-packages/issues/4071
Fixes https://github.com/AztecProtocol/aztec-packages/issues/4072

Benchmark results
Metrics with a significant change:

note_trial_decrypting_time_in_ms (8): 20.7 (-81%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit a6179bdb and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
128 txs

l1_rollup_calldata_size_in_bytes
45,636
180,516
720,036

l1_rollup_calldata_gas
222,432
870,612
3,465,684

l1_rollup_execution_gas
314,919
988,352
3,685,341

l2_block_processing_time_in_ms
1,149
4,338
17,185

note_successful_decrypting_time_in_ms
309 (+3%)
964
3,631 (+1%)

note_trial_decrypting_time_in_ms
:warning: 20.7 (-81%)
99.0
143 (-1%)

l2_block_building_time_in_ms
18,201 (+1%)
72,087 (+2%)
289,625 (+2%)

l2_block_rollup_simulation_time_in_ms
13,362 (+2%)
52,904 (+3%)
212,868 (+2%)

l2_block_public_tx_process_time_in_ms
4,810 (-1%)
19,107 (+1%)
76,495 (+1%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
13,881 (+1%)
26,503 (+1%)

note_history_successful_decrypting_time_in_ms
2,354 (-1%)
4,625

note_history_trial_decrypting_time_in_ms
108 (+7%)
234 (+7%)

node_database_size_in_bytes
17,342,544
33,275,984 (+1%)

pxe_database_size_in_bytes
29,923
59,478

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
310
44,512
26,225

private-kernel-ordering
199
44,545
16,625

base-rollup
1,427 (+2%)
129,002
881

root-rollup
82.4
4,088
677

private-kernel-inner
446
71,703
26,225

public-kernel-private-input
248
32,647
26,225

public-kernel-non-first-iteration
247
32,689
26,225

merge-rollup
7.68
2,608
881

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
2 leaves
8 leaves
16 leaves
32 leaves
128 leaves
64 leaves
512 leaves
1024 leaves
2048 leaves
8192 leaves

batch_insert_into_append_only_tree_16_depth_ms
10.2
11.3 (+4%)
12.6
17.1 (+2%)
22.8
64.1
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.9
17.5
23.0
31.6
47.0
143
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.593
0.628 (+4%)
0.535
0.528 (+2%)
0.477
0.443
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
N/A
N/A
N/A
74.9 (+1%)
47.3 (-1%)
238
463
896
3,543

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
N/A
N/A
N/A
159
96.0
543
1,055
2,079
8,223

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
N/A
N/A
N/A
0.463 (+1%)
0.486 (-1%)
0.435
0.433
0.427
0.426 (-1%)

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
N/A
N/A
N/A
103 (-1%)
56.7
347
691
1,356 (-1%)
5,392

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
N/A
N/A
N/A
197
104
691
1,363
2,707
10,771

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
N/A
N/A
N/A
0.490
0.497
0.473
0.473
0.470 (-1%)
0.470

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
N/A
56.4
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
N/A
94.1
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
N/A
0.577
N/A
N/A
N/A
N/A
N/A
N/A
N/A

Miscellaneous
Transaction sizes based on how many contracts are deployed in the tx.

Metric
0 deployed contracts
1 deployed contracts

tx_size_in_bytes
17,271
40,063

Transaction processing duration by data writes.

Metric
0 new commitments
1 new commitments

tx_pxe_processing_time_ms
556
1,319

Metric
0 public data writes
1 public data writes

tx_sequencer_processing_time_ms
0.494 (-3%)
594 (+1%)


Regarding licence of model file and dataset.

hi YadiraF,
I have gone through the repository and found that the license type used in this repository is "MIT".
1.Is the model file also covered under MIT license?
2.With your knowledge, any idea about the licensing of datasets you used?

The training data is from 3DDFA, which does not itself include a license, but uses other models and datasets:

BFM which includes a non-commercial use stipulation: "NON-COMMERCIAL USE: The license granted is for internal, non-commercial research, evaluation or testing purposes only. Any use of the DATA or its contents to manufacture or sell products or technologies (or portions thereof) either directly or indirectly for any direct or indirect for-profit purposes is strictly prohibited."
LPFW which includes a non-commercial use stipulation: "The database is made available only for non-commercial use."

Furthermore, it includes datasets like Helen which use training data from Flickr users that is not necessarily licensed for use as training data.
In short, it's not possible that the model could be licensed for free use. At best, it's free for research purposes only.


Push 0.1.5 to rubygems

Hi,
Is there any chance to get version 0.1.5 pushed to rubygems?
I'd simplify our CI setup a lot.

+1


How to check what room are being used?

Hi,
Is there a way to check what rooms are being used?
I found some not-very-skillful users to get into the wrong room...
Thanks

Use the logging function in server/config/config.js there in develop you get a rooms and peer lists.

I Tried to enable logs and also roles but ended up with errors , can you please send the sample config

use the server/connect.js --stats

On a running server you may also connect to the console of the server. Simply run npm run connect in the server folder. From there you can do for example: dumpRooms
You can also run t in the console which brings you to a Javascript console where you can inspect the rooms and peers maps directly (handle with care!!!)

Thank you everyone!
I guess in case I have it deployed with dockers, I need to get a shell inside the container beforehand, right?


var-annotated error for Series and Index after upgrading to 2.0.3+

Describe the bug
Upgrading from 2.0.1 to 2.1.1 and now I get errors about Series and Index that aren't helpful.  It should not be necessary to duplicate type hints on a local variable.
To Reproduce

Provide a minimal runnable pandas example that is not properly checked by the stubs.

    idx0 = pd.Index()
    idx1: pd.Index = pd.Index()
    sr0 = pd.Series()
    sr1: pd.Series = pd.Series()

Indicate which type checker you are using (mypy or  pyright).
mypy

Show the error message received from that type checker while checking your example.

error: Need type annotation for "idx0"  [var-annotated]
error: Need type annotation for "sr0"  [var-annotated]

Please complete the following information:

OS: [e.g. Windows, Linux, MacOS]
Linux
OS Version [e.g. 22]
python version
3.8
version of type checker
1.7.1
version of installed pandas-stubs
2.1.1 and 2.0.3 failing, 2.0.1 no error

I can re-produce the var-annotated error for pd.Index but not for pd.Series.

Revealed type is "pandas.core.indexes.base.Index[]"
Revealed type is "pandas.core.series.Series[Any]"

Probably need to slightly adjust the Index overloads to return Index[Any] (or Index[S1]) in the last case?
Quick note: pandas 2.1.* requires python 3.9 or newer! This also means you are not getting the latest pandas-stubs releases (they also require 3.9)!

I can re-produce the var-annotated error for pd.Index but not for pd.Series.

Revealed type is "pandas.core.indexes.base.Index[]"
Revealed type is "pandas.core.series.Series[Any]"

Probably need to slightly adjust the Index overloads to return Index[Any] (or Index[S1]) in the last case?
Quick note: pandas 2.1.* requires python 3.9 or newer! This also means you are not getting the latest pandas-stubs releases (they also require 3.9)!

I am able to resolve 2.1.1 with Python 3.8 and while I plan to upgrade soon, it wouldn't help unless this gets fixed in the stubs library first.  This issue affects pd.Series and not just pd.Index.  It shouldn't matter but my version of pandas I am testing with is 2.0.3.
Additional migration issues for the pd.Series constructor involve passing a dictionary.  It fails with a Timestamp or multi-index key whereas before it did not:
sr1 = pd.Series(
        {
            pd.Timestamp(2023, 1, 2): "b",
        }
    )

    sr2 = pd.Series(
        {
            ("a", "b"): "c",
        }
    )

test.py:172: error: Need type annotation for "sr1"  [var-annotated]
test.py:174: error: Dict entry 0 has incompatible type "Timestamp": "str"; expected "str": "ndarray[Any, Any]"  [dict-item]
test.py:178: error: Need type annotation for "sr2"  [var-annotated]
test.py:180: error: Dict entry 0 has incompatible type "Tuple[str, str]": "str"; expected "str": "ndarray[Any, Any]"  [dict-item]

Additional migration issues for the pd.Series constructor involve passing a dictionary. It fails with a Timestamp or multi-index key whereas before it did not:

I created a separate issue for this.   #831

We won't update the stubs to support older versions of python, mypy, pyright, or pandas.

Thats understandable.  I appreciate you taking the time to fix this issue.


Name changed

The Configuring the Reply URLs of https://docs.microsoft.com/en-us/azure/blockchain/workbench/deploy is quiet different from the page layout of the portal. “Settings” is no longer able to find, “Reply URLs” can be find in “Manage”>“Authentication”>“Redirect URIs” instead of “Settings > Reply URLs” and the name has been change to “Redirect URIs” now.

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

ID: 3eb2e7c5-e153-4067-ae8c-45eb64add7da
Version Independent ID: 3c87633d-44b7-525d-0e29-75f2d4bcbf2b
Content: Deploy Azure Blockchain Workbench
Content Source: articles/blockchain/workbench/deploy.md
Service: azure-blockchain
GitHub Login: @PatAltimore
Microsoft Alias: patricka

@saraao Thanks for the feedback and reporting this. I have assigned the issue to the content author to investigate further and update the document as appropriate.

@saraao Thanks for the feedback. The document uses "App registrations" rather than "App registrations (preview)". We use the released version of the portal rather than the preview feature. Once the App registration (preview) replaces the current App registrations, we'll update the deployment documentation. You should be able to follow the documentation using the "App registrations" management in the portal.
Thanks,
Pat
#please-close


Add Drawing help text

Provide user with help text on how to start and complete a polygon

@annehaley assigning this to you because #42  already has this done


Support mixed graphs of DPU and fixstars Halides' IPs

This PR is for supporting graphs using both DPU and fixstars' Halide FPGA backend.
Changes:

Remove dpu_load. It is done by Halide's runtime.
Add dnn_fpga example, which utilize both DPU and fixstars' Halide IP.

@iitaku Please review.

@iasakura Can you change PR target branch to develop? I need to test it with service side.

@iasakura Can you change PR target branch to develop? I need to test it with service side.

I've changed it.


Continuous Delivery Workflow to build NPM Archive and Docker Image

I claim this issue!

Updated Issue Description:
Create Continuous Delivery Workflow.
Description:
We need to set up a GitHub Actions workflow to automate the build process for our frontend-project. This workflow should be triggered on push to our main branch and ensure that an image is created which runs the remsfal-frontend-application. It needs to handle dependency caching, metadata extraction, and image publishing to the GitHub Container Registry
Acceptance Criteria:
The build process must include:

Trigger on push events to the main branch and on pull_request events targeting the main branch.
Include proper caching mechanisms for dependencies to improve execution speed .
Ensure secrets (if needed) are securely accessed via GitHub's secrets store.
Metadata are extracted and added dynamically to the meta information of the image.
image is build and pushed to our GHCR.

Additional Notes:
If there are any existing workflows, ensure this one integrates well with them.


for local cassandra, check if sai is enabled

What this PR does:
For local cassandra backend, check if sai is enabled.
Previous we did this startup check by bridge, now use CqlSession
Which issue(s) this PR fixes:
Fixes https://github.com/stargate/jsonapi/issues/674
Checklist

[x] Changes manually tested
[x] Automated Tests added/updated
[x] Documentation added/updated
[x] CLA Signed: DataStax CLA

Let's wait as it's not clear we actually want to do these checks. To be discussed on today's meeting.


Verify that all asset licenses are accounted for in CREDITS.md

What problem does this solve or what need does it fill?
As discussed in https://github.com/bevyengine/bevy/pull/4975#discussion_r894906706, we should verify that all assets are correctly attributed.
What solution would you like?

Add a LICENSES.csv file to the assets folder.
Record all licenses and source links there.
Add a step to CI to verify that there's a one-to-one correspondence.

What alternative(s) have you considered?
Manually verify that these are correct.
This solves the problem for now, but doesn't increase our long-term confidence.

For anyone who's willing to work on this:
Information about many of the assets can be found here: https://github.com/bevyengine/bevy/blob/619c30c036ddfceb66030922099961bd17b65e35/CREDITS.md#L17-L27
However, it's very incomplete:

The line about the "Generic RPG Pack" didn't mention the source. It's most likely https://bakudas.itch.io/generic-rpg-pack.
Same for the "FiraMono" font, which is from https://github.com/mozilla/Fira. assets/fonts/FiraSans-bold.ttf is also from the same repository, but it's not mentioned in the credits.
assets/models/FlightHelmet is from the glTF Sample Models. It was originally made by Microsoft and falls under the CC0 1.0 Universal license.
assets/models/SimpleSkin is from part 19 of the official glTF tutorial. It falls under the Creative Commons Attribution 4.0 International license.
assets/models/cube and assets/models/sphere are apparently from commit 870f715, but I couldn't find any attribution or license information. @cart probably knows more about those two.
Similarly, there's no information about assets/models/monkey, but it also came from one of @cart's commits (1143f16)
assets/models/Box0.bin is the same story: @cart added it in commit 86a467f
We're done with the models, but we're not done with mysterious assets from the early days of Bevy. assets/sounds/Windless Slopes.ogg is from commit 3eb3935.
The source of assets/sounds/breakout_collision.ogg is actually Bevy itself! To be specific, @IceSentry made it for the Breakout example. I'm assuming this falls under the same dual MIT/Apache-2.0 license as Bevy, but double-check with someone else.
assets/textures/array_texture.png came from #903. @bonsairobo should know more about its source.

And some words of advice:
I'd highly recommend using SPDX License Identifiers to refer to the licenses in the CSV. Your CI pipeline should confirm that all the licenses are compatible with Bevy's MIT/Apache 2.0 license structure. And once you figure out this mess, please add everything that was missing to CREDITS.md. It just makes life easier for everyone.

The source of assets/sounds/breakout_collision.ogg is actually Bevy itself! To be specific, @IceSentry made it for the Breakout example. I'm assuming this falls under the same dual MIT/Apache-2.0 license as Bevy, but double-check with someone else.

When creating that sound I did consider it would just fall under the bevy license, I didn't give more thoughts than this, but if you need me to agree to any other license I will gladly do what it takes.

IMO we should remove CREDITS.md once this is done; we really don't want two sources of truth.

IMO we should remove CREDITS.md once this is done; we really don't want two sources of truth.

Perhaps we could generate CREDITS.md from the CSV using an action (similar to the README for the examples). But that would make things more complicated. Deleting it is probably the best solution.

assets/textures/array_texture.png came from https://github.com/bevyengine/bevy/pull/903. @bonsairobo should know more about its source.

I generated that particular image by stacking 4 textures from https://freepbr.com/
I can try to find the original links.

https://freepbr.com/materials/desert-rock1/
https://freepbr.com/materials/snow-drift/
https://freepbr.com/materials/rough-wet-cobble/
https://freepbr.com/materials/stylized-grass1/

Thanks! While we do have the usage rights for those 4 textures, the licensing terms are quite vague. Perhaps we could get in touch with Brian (the owner of Free PBR) and ask him to relicense them under something like the Creative Commons Attribution-NonCommercial 4.0 International license, which is pretty similar to what he currently has.


Missing weapon

Thus calculator has been almost perfectly accurate, and incredibly helpful, but the one weapon I've found to be missing is Rellana's twin blades

Thanks! Rellana's Twin Blades are there - make sure you select "Include DLC Weapons" and don't have any other filters that would exclude them


module.exports.changed-function: Checks whether running the write function would change anything

... without actually applying the changes.
The main reason for me to add this feature is, that I want to add a pre-push-hook that checks whether thought has to be run to update the documentation.

Coverage increased (+3.3%) to 93.333% when pulling d94514c4d40250921d1bc97e334c4097619f99f3 on compare into 52ded622ca9e3c89a6c58d2d9d82ac52c067ad9a on master.

Coverage increased (+3.3%) to 93.333% when pulling d94514c4d40250921d1bc97e334c4097619f99f3 on compare into 52ded622ca9e3c89a6c58d2d9d82ac52c067ad9a on master.

Coverage increased (+3.3%) to 93.333% when pulling d94514c4d40250921d1bc97e334c4097619f99f3 on compare into 52ded622ca9e3c89a6c58d2d9d82ac52c067ad9a on master.

Coverage increased (+3.3%) to 93.333% when pulling d94514c4d40250921d1bc97e334c4097619f99f3 on compare into 52ded622ca9e3c89a6c58d2d9d82ac52c067ad9a on master.


[1.12.2] [rftools-1.12-6.13] builder ignores filter card

So very simple, I setup my builder, make a filter card, put in cobble and dirt as blacklisted blocks, put the filter card in the builder, i also put a normal quarry card (non clearing non fortune non anything), hook up some power, put a chest on top, a lever in front and run.
Chest above starts filling with cobble and dirt, among the rest of the stuff it finds.

Ok. You have to init the filter with the material that it is BEFORE it is mined. Since the world does not contain cobble usually (but normal stone) you have to put stone in the filter. Additionally the dirt is probably coming from the grass blocks that are being harvested. So you have to put grass blocks in the filter as well

hmm.... tricky, thanks

Note that you can put stone and grass in a filter item by sneak right clicking that item on stone and grass. You don't need to be able to actually harvest those

oh cool, thanks for the info! great mod as always!


Improve sub-classability of dask dataframe

This is a work in progress
Previously in several places we hard-coded pandas classes in type checks.
This made it hard for other projects to inherit from dd.core._Frame and have
code handle metadata correctly.
Now we replace these static checks with either a mutable list of classes, or
with dispatchable functions that can be implemented elsewhere.  This allows
other projects to more cleanly subclass dask dataframe.

[ ] Tests added / passed
[ ] Passes flake8 dask

See also:

https://github.com/gpuopenanalytics/pygdf/pull/262
https://github.com/gpuopenanalytics/dask_gdf/pull/43

cc @kkraus14

cc @TomAugspurger for review

Sorry for the delay.
The changes here all seem fine. In my experience these kinds of subclass-friendly changes can be easy to regress on without tests. At some point it'd be nice to have tests (and docs) on how to extend dask dataframe if we really want to support it, but it's probably to wait until we have a solid implementation before going down that path.

@jcrist if you have time to take a look at this I would appreciate it

cc @jorisvandenbossche in case he is interested in this topic

Merging tomorrow if there are no further comments.


missing interaction_pb2 - pls checkin in

from protos import interaction_pb2

ImportError: cannot import name 'interaction_pb2'

Hi, the interaction_pb2file is automaticall generated from the interaction.proto file when the protobuf-compiler is run. The installation scripts does this automatically, and you can peek inside the the setup.py file to do this manually instead.


cukinia: fix cukinia_symlink test

The readlink command returns only the basename of a path if the link
points to a file or directory within the same directory. The test needs
to use the -f parameter to canonicalize the resolved link so that it
includes the complete path.

Good catch @jftetu  !


Add pacmod interface

Status
DEVELOPMENT
Description
Add Autoware interface for AStuff PACMod
Todos

[ ] Tests
[ ] Documentation

Steps to Test or Reproduce
roslaunch as pacmod_interface.launch

Runtime Maneger UI will be implemented soon...

@yk-fujii Thank you for your review. Could you check again?

Approve it.
However, if the user does not do recursive / submodule update, the build will fail,
so I added that check.

Thanks!


UseShorthandTypeNames incorrect with Sendable functions

If I start with the code
var a: Optional< @Sendable (Int) -> (Float)> = nil
and apply swift-format format --parallel --recursive --in-place Sources version 509.0.0 the code becomes
var a: @Sendable (Int) -> (Float)? = nil
The optionalness has moved from the whole phrase to just the return type.  This has a different meaning.  The new code doesn't compile because of this.

This should be fixed with https://github.com/apple/swift-format/pull/589


Still maintained

This project is dead or it still maintained?

Good question! Unfortunately the current version isn't actively developed or maintained. I will sometimes add bug fixes and possibly even features.
Now my main focus in this project is rewriting it from scratch so that features such as selections can be implemented. Even though the current version is usable there are a lot of shortcomings and it's hard implement new major features. There are two branches for the rewrite but unfortunately neither of them are even close to usable now due to a lack of time.


Updates catalog API endpoints and sets them to only use metadataType=rc

This sets the catalog API endpoints to use the /api/v1/catalog/search endpoint rather than the old /api/catalog/v5/search endpoint so that it is integrated into Gitea's API v1 paths.
This also makes it so Scribe only searches for RC v0.2 containers, as it seems that is all it supports at this time.
If you ever do support published Scripture Burrito repos, please add &metadataType=sb to the base URL.

All changes are updated with fixes for bugs on URL change in PR #131


Does this plugin suppose to work with the latest dokku and Dockerfile deployment type?

I need it to fetch private ruby gem in Dockerfile commad

It only supports buildpacks. You should specify a --build-arg option and pass in the ssh key that way for Dockerfile deployments.

Thanks Jose!
Actually, I have figured out to pass ssh-agent by enabling BuildKit first. Works perfectly!


fix: explicit port/portRange even if random is true

🔗 Linked issue
https://github.com/unjs/get-port-please/issues/65
❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme, or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[x] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
📝 Checklist

[x] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

Thanks for PR. linked issue should be resolved by https://github.com/unjs/get-port-please/commit/cd4acec1245c7241000cd88f623192709574a370 in next release.


Fix lost cancel for mpp query

What problem does this PR solve?
Issue Number: ref #7587
Problem Summary:
What is changed and how it works?
When TiDB cancel a mpp query, there is a chance that the cancel is lost:

time
TiDB
TiFlash

t1
Send Disptach MPPTask to TiFlash
Dispatch request is not received

t2
Send CancelMPPTask request to TiFlash
Received CancelMPPTask, and found nothing to cancel

t3

Receive Dispatch request of t1, then the cancel is lost

This pr add a CancelledMPPGatherCache to avoid this cancel lost
Check List
Tests

[x] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/rebuild

/rebuild

And close https://github.com/pingcap/tiflash/issues/6727?

/merge

/merge

/run-all-tests


[MINOR] improve(build): Improve the release script

What changes were proposed in this pull request?

Make Python package built and publish automatically.
Change the Python doc generation command.
Remove the Python package from SVN.

Why are the changes needed?
To meet the new code changes in 0.7.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Manual verification.

Thanks @mchades for the review, I will wait for the last minute to merge this.


docs: upgrades to vite core

Description
A section about improvements to Vite Core itself.

What is the purpose of this pull request?

[ ] Bug fix
[ ] New Feature
[x] Documentation update
[ ] Other

How about this from #8139?

plugin-vue-jsx and plugin-legacy is now TypeScript

Nice one @sapphi-red, added 👍🏼


DRILL-4380: Fix performance regression: in creation of FileSelection …

…in ParquetFormatPlugin to not set files if metadata cache is available.

Other than INFO => DEBUG, +1


Question: ParseOptions resolve versus resolveFully

This is a pretty simple question, I think.
Related to code starting here: https://github.com/swagger-api/swagger-parser/blob/d88d11c10252f98b052ee7ce690de334ab48adaf/modules/swagger-parser-v3/src/main/java/io/swagger/v3/parser/OpenAPIV3Parser.java#L66
if (options.isResolve()) {
    result.setOpenAPI(resolver.resolve());
}
if (options.isResolveFully()) {
    result.setOpenAPI(resolver.resolve());
    new ResolverFully(options.isResolveCombinators()).resolveFully(result.getOpenAPI());
} else if (options.isFlatten()) {
    InlineModelResolver inlineModelResolver = new InlineModelResolver(options.isFlattenComposedSchemas());
    inlineModelResolver.setSkipMatches(options.isSkipMatches());
    inlineModelResolver.flatten(result.getOpenAPI());
}

Is it intentional for resolve=true and resolveFully=true to resolve the document twice, or is this missing an else condition plus resolution logic in the isFlatten block? I see the same behavior in readLocation and readContents, so I assume it's intentional but I don't understand the use case.
I'm looking at setting either resolve or resolveFully, but not both. I'm hesitant to do so because it looks like the parser may be implicitly relying on some caching done by the first resolve whenever resolveFully is invoked, but there are no checks for if resolve and resolveFully are both set.

Agree, it confuses.
The whole OpanPIV3Parser seems confusing a bit.
I've prepared a PR with refactoring to make it more clear.

Огромное спасибо!


⚠ Bofrost.de has degraded performance

In 6ee0de5, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1614 ms

Resolved: Bofrost.de performance has improved in bbab42f after 11 minutes.


Upload PNG image doesn't work correctly.

The Podio response tells me the source isn't given as multipart/form-data with type 'file'. This is something the library should catch, right? I created a thread on the forums as well.
https://help.podio.com/hc/communities/public/questions/203416167-Multipart-form-data-error-when-trying-to-upload-a-file-?locale=en-us

This actually is a duplicate of issue: https://github.com/podio/podio-php/issues/74
I think it would save so much time to a lot of people by adding this fix.


Build system is too strict on checking for document links

Describe the bug
When we write documentation we need to refer to HTML files that do not yet exist (e.g., generated schematics) on the deploy site.  The generated schematics would likely be part of the add of the same pull request as the referring documentation.
To Reproduce
Create a new html link in a document to an as yet generated schematic in the gen/ area.  It may be generatable, but not yet deployed on the production site.
Then push this to a fork and do a pull request.  The pull request lint checks will fail.
Expected behavior
Warnings on dead links.
Actual behavior
Failure and job stoppage on 'dead' or really 'not yet alive' links.
Additional: Dart SDK info
No response
Additional: pubspec.yaml
No response
Additional: Context
No response

I'm not sure what the right solution for this is.  One possibility is to update links in a following PR?

Ya, it is failing on pull request that need generation of the doc. Any workaround on this?


plrust can cause ERRORs in databases without the extension

plrust hooks the "process utility statement" and the extension library is loaded by the postmaster as a shared_preload_libraries entry.  This means every backend connection to every database actually has plrust code running.  Even those databases without the plrust extension installed.
Unfortunately, plrust does something in that hook where during an ALTER FUNCTION statement, it'll raise an ERROR if plrust isn't installed in the database.
This is easy enough to fix, and I will tomorrow.

Fixed in #185


Poller does not stop on $stateChangeStart

I am using the poller like this in the controller:
var productViewPoller = poller.get('/products/' + $stateParams.id + '.json', { delay: 10000, smart: true, idleDelay: 60000});

productViewPoller.promise.then(null, null, function(resp) {
  $scope.product.bids = angular.copy(resp.data.bids);
  $scope.product.questions = angular.copy(resp.data.questions);
});

// Stop Poller if user changes $state URL
$scope.$on('$stateChangeStart', function (){
  console.log("View closed");
  productViewPoller.stop();
});

I see "View closed" in the console, when I leave / change the $state, but the poller does not stop and keeps running.

This problem appears when using pollerConfig.handleVisibilityChange = true;
Is there anyway to config the poller to slow down on visibility change, while still stopping on state change?

@alereisan Good catch! Fix is on the way 🎉

https://github.com/emmaguo/angular-poller/releases/tag/v0.4.4


Update to v1.5.0

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

Hi @jschueller,
It seems that the new release of pyAgrum introduces a lot of issues for conda wheels. If linux jobs seem unable to find Python_INCLUDE_DIRS (but only for python <3.10 ?), some osx jobs ends during installing or building phases (but once again, the behavior is not the same depending on the python used).
Do you think the changes introduced with our new use of cmake could be the cause of all these issues ?

if that doesnt work pass instead:
-DPython_FIND_STRATEGY=LOCATION \
  -DPython_ROOT_DIR=${PREFIX} \

I'll try that !

Ah, it was almost perfect!

apparently it needs the include dir too:
-DPython_INCLUDE_DIR=${PREFIX}/include/python${PY_VER}

It worked, thanks again for your precious help!


Database reset

Description
I've used Luckperms for a long time and never had this issue but after the last server restart, the H2 database with all player permissions and groups just reset itself with no warnings in the logs regarding it.
Environment details

Server type/version: Paper running version 1.16.5 build 492
LuckPerms version: v5.1.93

Any other relevant details
Sorry that I don't have any information to give on this but the console/logs show nothing. No plugins have changed and 2 other servers restarted under the same conditions with no issues.

Sounds strange, unfortunately without more detail there is nothing I can do to help / potentially fix any underlying issue.
If you want something with a little more reliability, I suggest setting up a "proper" database - MySQL or something like that.


Master pre merge v0.2.7

Description
Please include a brief summary of the change that this pull request proposes. Include any relevant motivation and context. List any dependencies required for this change.

merge v0.2.7 features to master branch

Fixes Issue
#470 add issue_template
#473 Add pull request template and contributing document.
#476 update pr_templete
#477 Enabled unit test for issue-444
#479 AbstractTxTask decoupling
#480 Fix 404 on whitepapers
#481 Acceptance of now invalid keystores
#484 Update README.md
#485 Fix sendTransaction error handling
#489 additional blockchain concurrent access unit test
#490 Added Java API get account nonce functionality
#494 fix null console bug and account exist checks
#497 P2p decode/encode issue
Type of change
Insert x into the following checkboxes to confirm (eg. [x]):

[x] Bug fix.
[x] New feature.
[ ] Breaking change (a fix or feature that causes existing functionality to not work as expected).
[x] Requires documentation update.

Testing
Please describe the tests you used to validate this pull request. Provide any relevant details for test configurations as well as any instructions to reproduce these results.

Verification
Insert x into the following checkboxes to confirm (eg. [x]):

[x] I have self-reviewed my own code and conformed to the style guidelines of this project.
[x] New and existing tests pass locally with my changes.
[ ] I have added tests for my fix or feature.
[x] I have made appropriate changes to the corresponding documentation.
[x] My code generates no new warnings.
[x] Any dependent changes have been made.

LGTM


Optimise/add missing check[-*] icon/s

check-square[-2] was missing, plus these were inconsistent with other check-[*/2] icons, in that the -2 variation is for when the check extends outside of it’s shape, as opposed to the original where it should be contained inside…

Not sure if we need to switch the check and check-2. I agree your change should be the how it should be. But the people who are using Lucide upgrading to a new version are getting surprised with a new check icon, not sure if we should do this.

So many inconsistencies when you really look at the whole set :/
@ericfennis Ok, switched them back now…

I think we need better names instead of the -2 suffixes to begin with. 🤔

I think we need better names instead of the -2 suffixes to begin with. 🤔

@karsa-mistmere Agreed where possible, but that particular can of worms isn’t specific to this PR. I think that should be addressed separately, because a lot of these kind of variants already have this numbered naming scheme as it stands…


Add Natural product, NMR data and Pharmacology, ADME, metabolism sect…

some of ADME and metabolism links inspired from Assoc. Prof. Johannes Kirchmair lecture

Thanks!


It still does not work with some GGML v3 models

For example:
https://huggingface.co/TheBloke/gpt4-alpaca-lora-30B-4bit-GGML/tree/main
The main branch should have GGML v3 but python crashes when trying to run this model.
I can run it using llama_cpp package.
Thanks

@idobric, it seems like there are new updates again :sweat_smile: the main branch is pointing to the GGML v2 I guess.
I will update it to the latest and let you know.

@idobric, I updated llama.cpp to the latest release and pyllamacpp is working now with the model you provided above.
I've pushed a new 2.4.0 version to PYPI. Could you please test it on your end ?

Hi and thank you very much for  doing this.
What's really hard about all these breaking changes is that they never keep retrocompatibility whith previous models versions.
Your bindings are supported at my gpt4all-ui. It would be cool if you test it and upgrade the binding part as you change yours your bindings has -a at the end of the name (for abdeladim) as i also support other developers bindings. Marella has also made some good bindings and i add -m to distinguish his from yours. I probably gonna change the bindings list to have a card that shows who built it and give a link to their repos to show some love.
I have created a binding template to show how to interface any new binding with the app. It is very easy, just implement a class and you're good to go.
I finally built a video to show how the basic use of the ui. I hope you like it:
https://www.youtube.com/watch?v=ds_U0TDzbzI&ab_channel=ParisNeo

@ParisNeo, yeah, that's the big problem, it's hard to know which version for which model, especially with the myriad of ggml models out there.
So finally the 2.0 release of gpt4all-ui is here, it looks fantastic :clap:
Yeah, I noticed that you support my bindings. Glad you found them useful.
I didn't change anything to the API so basically everything should still work I guess. If I did I'll try to submit a PR.
Keep up the good work :muscle:

Thanks man :)


Cant enable plugins who uses Singletons

Godot version
4.0 beta 6
System information
manjaro linux
Issue description
When a plugin uses a Singleton, you know that until the singleton is added to Autoload, the engine doesnt recognize the the name in scripts, lets take dialogic as example, it uses a singleton called: Dialogic but since you open the project the Scripts are parsed and checked, and this generates error since Singleton isnt recognized, then the engine doesnt recognizing it thus you cant enable the plugin!
workaround:

add the autoload manually before enabling the plugin

Steps to reproduce

Open Project
Create a new plugin
Make it using a singleton
Disable plugin
Close Project
Open Project again
Try to enable plugin

Minimal reproduction project
just download dialogic and place it on your project
https://github.com/coppolaemilio/dialogic

This is imho an expected environmental constraint a plugin must operate under.
The correct way to handles this, as the plugin developer, is to not rely on the name.
Neither should the user be required to add the autoload, the plugin can do that.
What to do:
In the EditorPlugin's _enter_tree(), you register the autoload under name. This name is purely for the user, not for the plugin.
In the plugins various scripts, you add this line: var plugin_autoload: Node = $"/root/plugin_autoload", and use this variable instead of the autoloads name.


Correct condition

Last patch[1] introduced an error where RHOL wasn't deployed if not present.
[1] https://github.com/openstack-k8s-operators/ci-framework/pull/77

/lgtm


1.20.4 - MinecraftComponentSerializer#deserialize(...) throws UnsupportedOperationException

On 1.20.4 I get UnsupportedOperationException when calling:
MinecraftComponentSerializer.get().deserialize(nms);

java.lang.UnsupportedOperationException: null
        at lonelibs.net.kyori.adventure.platform.bukkit.MinecraftComponentSerializer.<clinit>(MinecraftComponentSerializer.java:91) ~[LoneLibs.jar:?]

This didn't happen on 1.20.2.
Attaching a debugger shown that MC_TEXT_GSON and TEXT_SERIALIZER_SERIALIZE are null and SUPPORTED is false.
Thank you for your time!

Seems related to this: https://github.com/KyoriPowered/adventure-platform/pull/144


Example "sc-record" fails to be compiled

First, thank you for this best apple sdk wrapper for Rust!
I love this project.
I found an easy compile error, so I notice you.
Run the example
cargo r --features="custom-allocator" --example sc-record

Then I got
error[E0004]: non-exhaustive patterns: `OutputType::Mic` not covered
   --> cidre/examples/sc-record/main.rs:99:15
    |
99  |         match kind {
    |               ^^^^ pattern `OutputType::Mic` not covered
    |
note: `OutputType` defined here
   --> /cidre/cidre/src/sc/stream.rs:117:1
    |
117 | pub enum OutputType {
    | ^^^^^^^^^^^^^^^^^^^
...
123 |     Mic,
    |     --- not covered
    = note: the matched value is of type `OutputType`
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
    |
101 ~             sc::OutputType::Audio => self.inner_mut().handle_audio(sample_buf),
102 ~             OutputType::Mic => todo!(),
    |

For more information about this error, try `rustc --explain E0004`.

Thanks for heads up!
Fixed.


chore: release 1.0.2

:robot: I have created a release *beep* *boop*
1.0.2 (2021-05-26)
Bug Fixes

Check for the existence of plugin methods before calling (2cf5362)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/projectsophon/df-plugin-dev-server/releases/tag/v1.0.2 :sunflower:


two sets of charts

We noticed there are two sets of Helm charts for the hotels API. one set is in the deploy/k8s folder, but the old set was left in the Hotels API source tree. We need to remove the ones from the source tree and to leave only the ones that remain to be those in the deploy/k8s folder.
We also need to then test the dev spaces functionality to make sure the demo works as it is written. If it doesn't, we need to create other issues to reflect each of the work items that need to be created to enable dev spaces, yet have only one set of Helm files.

@eiximenis - This is a holdover from the Helm work, as this was missed and I'm not sure the Dev Spaces functionality has been tested by the dev team. This task should be completed when there are only 1 set of Helm files for the Hotels API (and all other APIs in the back-end repo), and once the Dev Spaces functionality has been fully tested successfully per the demo script. Please provide an ETA on when this will be completed (testing inclusive). Thanks.

Hi @bradygmsft
Sorry for late response, did not see that.
Helm charts were not tested with devspaces tooling. Let me see what is needed to reuse our current helm charts with devspaces.
Thx

Solved in PR #35


Fix broken DevX API release pipeline

DevX API release pipeline is broken due to an expired secret in the service principal of the service connection used in the release pipeline.

The staging job was able to be resolved successfully by creating a new service connection which created a new service principal. The production job however was failing as it was somehow still referencing the old service principal client secret. We had to create a new release pipeline altogether to resolve this.
This document outlines the steps that were taken.


Update to stc v8

closes #354

https://github.com/ix-ax/axsharp/commit/86202071c010cbc58eeeb576563b050bfd46b1d5


Switch to AtomsCalculators v0.2.x

CC @tjjarvinen

@tjjarvinen -- This is ready or close to ready to merge and register. Note it does not yet implement the low-level interface for parameterized potentials. But I think it is already useful as is since it will make the non-parameterized potentials in EmpiricalPotentials usable with AC 0.2.

I have also done also some work to update to AC v0.2. But that is mainly for getting utility calculators play nice with low-level interface.
For me this looks mostly good, so I will merge this. I will then add my work to this and some other small things. Then we can proceed to register ACU.


Not compiling on macOS10.14.1 (recent update)

I just updated Mojave and tried to built my project (which has been working great). I now get these errors:

Any suggestions?

Hmm, I've also been on Mojave since the beta (currently 10.14.2 and Xcode 10.1) and haven't noticed problems (except that GL support in GLFW is broken of course, so you should use metal-osx-xcode-debug, but at least compiling also still works with the GL backend).
The error message looks like the shader generation build step didn't work (the class DbgTextShader is created by the code generator).
If this is the case there should be other error messages earlier when the ALL_GENERATE target is built, can you check and copy-paste them here?
Also did you try the following?
> ./fips diag tools
...anything unusual here?
> ./fips clean all
...clean everything, just in case any partially generated files are around which might confuse the timestamp checking
> ./fips build
...and rebuild

All the versions again on my machine for cross-checking:

macOS: 10.14.2 Beta (18C48a)
Xcode: 10.1 (10B61)
clang --version: Apple LLVM version 10.0.0 (clang-1<IP_ADDRESS>)
cmake --version: cmake version 3.13.0
python --version: Python 2.7.10 (the one that comes preinstalled on macOS)

Cheers!

Interesting! The diagnostics reveals:
=== tools:
git:	found
cmake:	found
ccmake:	found
make:	found
ninja:	OPTIONAL, NOT FOUND (required for building '*-ninja-*' configs)
xcodebuild:	found
javac:	OPTIONAL, NOT FOUND (version 8 required for Android development, installed with the Java JDK)
java:	OPTIONAL, NOT FOUND (version 8 required for Android development, installed with the Java JDK)
python2:	found
ccache:	OPTIONAL, NOT FOUND (used with './fips set ccache on')
/bin/sh: code: command not found
vscode:	OPTIONAL, NOT FOUND (used as IDE with vscode configs)
clion:	OPTIONAL, NOT FOUND (used as IDE with clion configs)

So, looks like bin/sh is missing (or appears to be)? No idea why that might the case, but it does explain a lot.

No, the error message is misleading (I wonder why it's here though), it means that "/bin/sh" can't find "code" (the VSCode executable). So apart from the confusing message, everything is alright.

Well, I have no idea what happened, but syncing with the latest made it all go away. Thanks for the help.

Here is the output of the build step...
build_debug.txt

Ok, looks like the shader code generation had a problem. Can you do the following:

./fips clean (that's important to remove the partially generated shader files)
./fips gen + open (to open Xcode)
select and build the ALL_GENERATE target, and post the output here like in this screenshot:

Showing Recent Messages

Prepare build
note: Using legacy build system

Build target ALL_GENERATE of project iogramx with configuration Debug

PhaseScriptExecution CMake\ Rules /Users/daniel/Dev/iogramx/fips-build/iogramx/osx-xcode-debug/oryol_Dbg/iogramx.build/Debug/ALL_GENERATE.build/Script-C0E09B622AD94DBEB561478C.sh
    cd /Users/daniel/Dev/iogramx/iogramx
    /bin/sh -c /Users/daniel/Dev/iogramx/fips-build/iogramx/osx-xcode-debug/oryol_Dbg/iogramx.build/Debug/ALL_GENERATE.build/Script-C0E09B622AD94DBEB561478C.sh

echo ""

cd /Users/daniel/Dev/iogramx/iogramx && /usr/local/bin/python /Users/daniel/Dev/iogramx/fips-build/iogramx/osx-xcode-debug/fips-gen.py /Users/daniel/Dev/iogramx/fips-build/iogramx/osx-xcode-debug/fips_codegen.yml
## shader code gen: /Users/daniel/Dev/iogramx/iogramx/src/shaders.glsl

Hmm and below the line
## shader code gen: /Users/daniel/Dev/iogramx/iogramx/src/shaders.glsl

There's nothing else? At least until this line it looks as expected, the interesting part happens right after that log message.
A few other things to check:

whether the oryol-shdc executable works:

# from the oryol project directory:
> cd tools/osx
> ./oryol_shdc -help
Oryol SPIR-V to GLSL/HLSL/MSL cross-compiler
Based on SPIRV-Cross: https://github.com/KhronosGroup/SPIRV-Cross
-help		-- show help
-spirv		-- SPIR-V input file
-o		-- output file
-lang		-- target language (glsl100, glsles3, glsl120, glsl330, metal, hlsl

...and it would be interesting whether any cross-compiled shader files are generated at all (this is done by the oryol-shdc tool):
> cd ../fips-build/oryol/osx-xcode-debug/code/Samples/Triangle
> ls
CMakeFiles              oryol.build             shaders_fs.glsl.frag    shaders_fs.glsl330.json shaders_vs.glsl330
Info.plist              shaders.cc              shaders_fs.glsl.spv     shaders_vs.glsl.spv     shaders_vs.glsl330.json
cmake_install.cmake     shaders.h               shaders_fs.glsl330      shaders_vs.glsl.vert

Note the *.spv and .glsl330 files. Do these exist?