Banner NFT & On-Chain Resume

BuildOnFlowBanner
Grant category

[ ] OpenSource maintenance
[ ] Developer service
[x] Product bounty
[ ] Educational material

Description
Start with a Banner NFT and then have tracks for learning and completing quests on Flow. Each quest completed earns you a "stamp" in your on-chain resume NFT.
Test Site
Problem statement
Gamify learning and showcase your development journey in the Flow ecosystem.

Target audience: Flow developers
Evidence for the need: Emerald City DAO BootCamp (I am a graduate of the first BootCamp). Hard to easily identify what someone's experience level is.

Proposed solution
Currently, the site allows users to customize their banner NFT and showcase their FLOATS.
Future Features:

Depending on which FLOATS you own, you would have some unique attributes. For example, if you have the Emerald City DAO BootCamp graduate FLOAT, you could have a graduation hat somewhere.
Developing tracks and quests to complete. (Flow university)
Developing the on-chain resume booklet and SVG stamps for track/quest completions.
Users will be able to share their on-chain Resume on social platforms.
More customizations to the banner (having flow website on the desktop, adding frames to choose which FLOATS to showcase, etc.)
Allow users to upload their own custom SVG attributes and make royalties off of them when someone mints.

Impact

In what ways does this benefit the broader Flow developer ecosystem?
Onboards more developers to the Flow ecosystem! Developers would get to build example Dapps, be incentivized to do so, and most importantly, have fun while buidling.

Milestones and funding

Milestone
Deliverables
Timeline
Risks
FLOW requested

1 -  Smart Contracts
Smart Contracts on Testnet with all the attributes for the banner NFT following the standards, functions that allow the ability to change these attributes, and the on-chain SVG attributes.
~3 weeks
Need time for me as I am a new Flow developer
2500

2 - Frontend & Landing Page (https://www.buildonflow.art/)
Make it easy and intuitive for users to customize their banner. Have a landing page clearly stating our roadmap and expectations. Get a logo created and the branding of the website.
~2 weeks
Waiting on logo and designer
1500

3 -  Smart Contracts
Smart Contracts on Mainnet
~1 week
If any significant changes need to be made from the Tesnet smart contracts
0

4 - Flow University Planning, Preparation, and Landing Page (http://flowuniversity.xyz/)
Build a roadmap for Flow University. This would include the overall structure of tracks, submission of quests, partnerships, SVG stamps, fleshed-out quests for the first track, smart contract architecture, website designs, and on-chain resume SVG design. Also, build the landing page
~1 month
Waiting on designer
4000

Team

Name
Role
Bio
Contact

Shain Dholakiya
Full-Stack Engineer
Currently a Developer Advocate at Decentology and Software Engineer at Influur. Previously Software Engineer at Synthesis School, The Boring Company, NASA, Amazon, and Microsoft
<EMAIL_ADDRESS>

Thanks for the product bounty submission @ShainDholakiya. We've carefully reviewed this and decided to pass for the following reason: Adoption and market need is unclear, making it difficult to predict the impact of the milestones.
Please feel free to resubmit once you see more adoption and clear user needs emerge. If you have any questions, you can reach out to me on Discord (alx-flw.find#6198).


Edition-specific constructors might mutate modifier slice

Description
The edition-specific constructors like
func NewTestExecutionRecipeCollectionCreated(modifiers ...eiffeleventsroot.Modifier) (*TestExecutionRecipeCollectionCreated, error) {
	return eiffeleventsroot.NewTestExecutionRecipeCollectionCreatedV4(append(modifiers, eiffeleventsroot.WithVersion("4.1.1"))...)
}

look suspicious to me since append() might modify its first argument, depending on the slice's capacity. I'm not sure this applies in this case because of the variadic argument, but if a slice is passed I wonder if it's passed on to append() or if a copy is made. Let's play this safe and make sure that we can't mutate the modifier slice by manually copying the elements into a new slice or passing a full slice expression to append() to force a copy.
Motivation
We clearly shouldn't modify any slice of modifiers that's passed to the constructors.
Exemplification
N/A
Benefits
Could potentially fix a hard to diagnose bug.
Possible Drawbacks
A slight performance degrade, but insignificant compared to the overall cost of publishing an event.

No, I misunderstood how slices work. The original slice will never be affected by the append() call since the slice header is passed by value. Even if the underlying array gets new values tacked on to the end, the caller's slice won't include the added elements.


[@nuxt/test-utils] nuxt shouldn't rebuild from scratch every time a test re-runs

Describe the feature
It seems like irregardless of the parameters I pass into setup from @nuxt/test-utils, vitest always re-builds the entire app, even if nothing changed in it and the only change was in the test file.
I can pre-build the app and disable the test build step using build: false, but even that wasn't trivial to configure (because it always tries to use its own randomly generated build folder) and it would be better to be able to re-build during testing just when it's actually needed not on every test run.
For anyone interested, this is what I had to get done to get the tests to run from the standard .output directory:
// Basic nuxt e2e test with vitest
import { createPage, setup } from '@nuxt/test-utils'
import { describe, it, expect } from 'vitest'
import path from 'path'

const mainOutputDir = path.resolve(__dirname, '../../.output')

describe('viewer', async () => {
  //
  await setup({
    buildDir: mainOutputDir,
    build: false,
    nuxtConfig: {
      buildDir: mainOutputDir,
      nitro: {
        output: {
          dir: mainOutputDir
        }
      }
    }
  })

  it('renders the viewer', async () => {
    const page = await createPage('/projects/9387e7e4c2/models/51c7c5b8eb')
    await page.waitForSelector('#speckle')
    const content = await page.content()
    expect(content).toMatch('helloworld')
  }, 100000)
})

Additional information

[ ] Would you be willing to help implement this feature?
[ ] Could this feature be implemented as a module?

Final checks

[X] Read the contribution guide.
[X] Check existing discussions and issues.

completely agree. let's track in https://github.com/nuxt/nuxt/issues/15186


net-snmp: 5.9.3 -> 5.9.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/net-snmp/versions.
meta.description for net-snmp is: Clients and server for the SNMP network monitoring protocol
meta.homepage for net-snmp is: http://www.net-snmp.org/
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 5.9.4 with grep in /nix/store/xj8mg9zwqayprnksc5sz2lsn4q7c1s4m-net-snmp-5.9.4-bin
found 5.9.4 in filename of file in /nix/store/xj8mg9zwqayprnksc5sz2lsn4q7c1s4m-net-snmp-5.9.4-bin

Rebuild report (if merged into master) (click to expand)

235 total rebuild path(s)

235 package rebuild(s)

First fifty rebuilds by attrpath
_389-ds-base
adapta-gtk-theme
argus
bottles
budgie.budgie-control-center
budgie.budgie-desktop
budgie.budgie-desktop-with-plugins
budgie.budgie-gsettings-overrides
budgie.magpie
budgiePlugins.budgie-analogue-clock-applet
budgiePlugins.budgie-user-indicator-redux
check-wmiplus
cinnamon.cinnamon-common
cinnamon.cinnamon-control-center
cinnamon.cinnamon-gsettings-overrides
cinnamon.cinnamon-screensaver
cinnamon.cinnamon-session
cinnamon.cinnamon-settings-daemon
collectd
colord
colord-gtk
colord-gtk4
darktable
diffoscope
digikam
dnsdist
eolie
epkowa
exactaudiocopy
fbida
fgallery
freeipa
frr
fwupd
gImageReader
geeqie
gnome-browser-connector
gnome-firmware
gnome.gnome-color-manager
gnome.gnome-control-center
gnome.gnome-disk-utility
gnome.gnome-session
gnome.gnome-settings-daemon
gnome.gnome-settings-daemon43
gnome.gnome-shell
gnome.gnome-software
gnome.gnome-terminal
gnome.gnome-tweaks
gnome.gpaste
gnome.mutter

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/xj8mg9zwqayprnksc5sz2lsn4q7c1s4m-net-snmp-5.9.4-bin \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A net-snmp https://github.com/r-ryantm/nixpkgs/archive/3d5fdc9ade95bb9e0bdc07c3b1e07cbe68ff311d.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/xj8mg9zwqayprnksc5sz2lsn4q7c1s4m-net-snmp-5.9.4-bin
ls -la /nix/store/xj8mg9zwqayprnksc5sz2lsn4q7c1s4m-net-snmp-5.9.4-bin/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review took longer than 45m and timed out

Maintainer pings

Fixes CVE-2022-44792 and CVE-2022-44793.
Changelog:
https://github.com/net-snmp/net-snmp/blob/v5.9.4/NEWS

IMPORTANT: SNMP over TLS and/or DTLS are not functioning properly in this release [5.9.4] with various versions of OpenSSL and will be fixed in a future release.

Yep I saw that warning as well but from my understanding this is not something new and we are likely to already have the issue with 5.9.3. I also checked the git logs between 5.9.3 and 5.9.4 it does not appear to have something about this.
Someone asked some clarification in the upstream issue tracker: https://github.com/net-snmp/net-snmp/issues/550#issuecomment-1680093318


error when upgrading on windows

When I execute pip install python-amazon-simple-product-api --upgrade I get this error: Could not find a version that satisfies the requirement install (from versions: ) No matching distribution found for install

I have had good luck upgrading directly from github.
pip install git+https://github.com/yoavaviram/python-amazon-simple-product-api.git
That's from memory, but it should be close.

Did that fix your issue? If so can someone close the ticket?


Can I use this pulgin for dynamic forms?

I have a form on which I want to perform validation but this form can be changed dynamically.
For example: Form for creating Authors and more then one Books can be added dynamically. Now I want to perform validation for this form. Is it possible with this plugin??? And on some fields I have some function call via onblur

I am facing this issue Please have a look

Yes you can but you need to make some modification on the code, at method.init :
methods: {
	init: function (options) {
		var settings = $.extend(true, {}, defaults);
		settings.options = $.extend(true, settings.options, options);
		var $siblingElements = this;

		var uniqueForms = $.unique(
			$siblingElements.map(function () {
				return $(this).parents("form")[0];
			}).toArray()
		);

		//mod by acs
		$(uniqueForms).unbind("submit");

		$(uniqueForms).bind("submit", function (e) {
			var $form = $(this);
			var warningsFound = 0;
.
.
.
.

Reason for this is to prevent multiple validations, let's say blur event happened thrice, that would mean three validation actions leading to three calls to submitSuccess / submitError blocks.
Similar to what you're doing.... or close enough... validation selector is based on what the user chose, here's how it used it:
<select
	id="tmf-001" class="span4" ng-model="Type"
        ng-change="modalForm.initValidation();"
	required="" data-validation-required-message="select from list"
>
	<option value="">Please select</option>
	<option value="1">1</option>
	<option value="2">2</option>
</select>

this.initValidation = function(){
	var selector1 = '#tmf-001, #tmf-002, #tmf-003, #tmf-004';
	var selector2 = '#tmf-001, #tmf-002, #tmf-004';
	var selector3 = '#tmf-001';
	var selector = '';

	//validation done based on action
	if(this.action === '1'){
        .       some code for selector
        .
        .
        .

	if(this.validator.jqBootstrapValidation){
		this.validator.jqBootstrapValidation('destroy'); //remove previous validations
		delete this.validator.jqBootstrapValidation;
	}

	this.validator = $(selector).not('[type=submit]').jqBootstrapValidation({
		preventSubmit: true,
		submitError: function ($form, event) {
			console.log('validation fail');
			//do whatever
		},
		submitSuccess: function ($form, event) {
			console.log('validation success, action : ', directive.action);
			//do whatever
		}
	});
};

You might also want to check this issue,https://github.com/ReactiveRaven/jqBootstrapValidation/issues/157, regarding calls to 'destroy'

Thanks....


eth_getStorageAt spec ambiguity

See https://github.com/NomicFoundation/hardhat/pull/2581 and https://github.com/NomicFoundation/hardhat/pull/2581 ... and in particular https://github.com/NomicFoundation/hardhat/pull/2581#issuecomment-1242956716
The specification for eth_getStorageAt seems to be causing confusion for multiple projects, specifically around whether or not the RPC endpoint SHOULD accept hex encoded integers of length < 66 bytes.
This spec itself seems to contain an error in that uint256 is output as ^0x[0-9a-f]{0,64}$ ... shouldn't that say {1,64} ?  Is it intended that 0x is acceptable (vs 0x0)?

Thanks for pointing this out @aathan. I've taken a look and you are indeed correct, it is not intended for 0x to be accepted as a uint256. However, it is acceptable as a Byte value in general. This is a better definition of the storage keys.
I've created a new type BytesMax32 in #305 to be used in places where storage keys are referenced. PTAL at the PR and let me know if the solution seems acceptable to you.
RPC endpoints SHOULD accept hex encoded byte values of length < 66 bytes. I apologize for the error in the specification.


ProvisionWatcher Can Be Created With Empty OperatingState

When creating a new ProvisionWatcher via http://localhost:48081/api/v1/provisionwatcher it is possible to do so with an empty OperatingState value. OperatingState should be specified as either enabled or disabled. If an attempt to create a ProvisionWatcher is made without one of these valid values, a 400 Bad Request should be thrown.

I have a fix pending https://github.com/edgexfoundry/blackbox-testing/issues/174

Should we close this issue and reopen it in https://github.com/edgexfoundry/go-mod-core-contracts? If we want the contract to manage the functionality and not the EdgeX routing logic, that would probably make the most sense.


Dependency package @rollup/plugin-typescript has a new version available

We have identified a dependency on version 11.1.1 of @rollup/plugin-typescript. A new version (11.1.2) is available for upgrade.
Following are the steps to upgrade package dependency.

Understand the breaking changes between the version being used and the version you want to upgrade to.

Identify all packages that take a dependency on this package.

Go to the root folder for each such package (/sdk/service-name/package-name) and update package.json to have the new version.

Run rush update to ensure the new version is pulled in.

Make relevant changes to absorb the breaking changes.

Repeat steps 3 to 5 for each of the packages that have a dependency on this package.

We no longer depend on it.


bypass governance retention when deleting s3 bucket

Summary
s3 seems to use the default retention governance mode, which causes bucket deletion to fail unless we bypass the governance retention.
https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-overview.html
Checklist

[X] The PR has a meaningful title. It will be used to auto generate the
changelog.
The PR has a meaningful description that sums up the change. It will be
linked in the changelog.
[X] PR contains a single logical change (to build a better changelog).
[X] Categorize the PR by adding one of the labels:
bug, enhancement, documentation, change, breaking, dependency
as they show up in the changelog.
[X] Link this PR to related issues or PRs.

It looks like Exoscale supports this feature, as it's not on their unsupported list: https://community.exoscale.com/documentation/storage/quick-start/#s3-unsupported-features
So I added a bit more logic to determine if ObjectLock is enabled or not on a given bucket. If it's enabled we need to bypass it. Otherwise we would run into errors if a customer enables it on a bucket they provisioned via the provider.
@glrf @zugao : we should probably port this to provider-cloudscale as well?


LoadProject API throws InvalidProjectFileException on .NET 2.1 preview project

Steps to reproduce

Install the .NET Core 2.1 preview
Create a .NET Core console app using dotnet new console . No need to change the template code.
In a separate .NET Core console app (doesn't matter if it is .NET Core 2.0 or 2.1), use the MSBuild API to load the other project.

Results in this exception:
Unhandled Exception: Microsoft.Build.Exceptions.InvalidProjectFileException: The SDK 'Microsoft.NET.Sdk' specified could not be found.  c:\src\ShiftleftSecurity\sl-microagent-dotnet\ProjectAnalysis\testconsole\testconsole.csproj
   at Microsoft.Build.Shared.ProjectErrorUtilities.ThrowInvalidProject(String errorSubCategoryResourceName, IElementLocation elementLocation, String resourceName, Object[] args) in E:\A\_work\82\s\src\Shared\ProjectErrorUtilities.cs:line 440
   at Microsoft.Build.Evaluation.Evaluator`4.ExpandAndLoadImportsFromUnescapedImportExpressionConditioned(String directoryOfImportingFile, ProjectImportElement importElement, List`1& projects, Boolean throwOnFileNotExistsError) in E:\A\_work\82\s\src\Build\Evaluation\Evaluator.cs:line 2532
   at Microsoft.Build.Evaluation.Evaluator`4.ExpandAndLoadImports(String directoryOfImportingFile, ProjectImportElement importElement) in E:\A\_work\82\s\src\Build\Evaluation\Evaluator.cs:line 2303
   at Microsoft.Build.Evaluation.Evaluator`4.EvaluateImportElement(String directoryOfImportingFile, ProjectImportElement importElement) in E:\A\_work\82\s\src\Build\Evaluation\Evaluator.cs:line 2148
   at Microsoft.Build.Evaluation.Evaluator`4.PerformDepthFirstPass(ProjectRootElement currentProjectOrImport) in E:\A\_work\82\s\src\Build\Evaluation\Evaluator.cs:line 1066
   at Microsoft.Build.Evaluation.Evaluator`4.Evaluate(ILoggingService loggingService, BuildEventContext buildEventContext) in E:\A\_work\82\s\src\Build\Evaluation\Evaluator.cs:line 819
   at Microsoft.Build.Evaluation.Project.Reevaluate(ILoggingService loggingServiceForEvaluation, ProjectLoadSettings loadSettings) in E:\A\_work\82\s\src\Build\Definition\Project.cs:line 2644
   at Microsoft.Build.Evaluation.Project.ReevaluateIfNecessary(ILoggingService loggingServiceForEvaluation, ProjectLoadSettings loadSettings) in E:\A\_work\82\s\src\Build\Definition\Project.cs:line 2635
   at Microsoft.Build.Evaluation.Project.Initialize(IDictionary`2 globalProperties, String toolsVersion, String subToolsetVersion, ProjectLoadSettings loadSettings) in E:\A\_work\82\s\src\Build\Definition\Project.cs:line 2714
   at Microsoft.Build.Evaluation.Project..ctor(String projectFile, IDictionary`2 globalProperties, String toolsVersion, String subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings) in E:\A\_work\82\s\src\Build\Definition\Project.cs:line 513
   at Microsoft.Build.Evaluation.ProjectCollection.LoadProject(String fileName, IDictionary`2 globalProperties, String toolsVersion) in E:\A\_work\82\s\src\Build\Definition\ProjectCollection.cs:line 1118
   at ProjectAnalyzer.Program.processProjectWithMsBuildApi(String projectFilename) in C:\src\ShiftLeftSecurity\sl-microagent-dotnet\ProjectAnalysis\ProjectAnalyzer\Program.cs:line 44
   at ProjectAnalyzer.Program.processDirectories(String path) in C:\src\ShiftLeftSecurity\sl-microagent-dotnet\ProjectAnalysis\ProjectAnalyzer\Program.cs:line 29
   at ProjectAnalyzer.Program.Main(String[] args) in C:\src\ShiftLeftSecurity\sl-microagent-dotnet\ProjectAnalysis\ProjectAnalyzer\Program.cs:line 18

Here is my program that uses the MSBuild API: Note that I pass the path to where the new console app was created as an argument:
using System;
using System.Collections.Generic;
using System.IO;
using Microsoft.Build.Evaluation;

namespace ProjectAnalyzer
{
    class Program
    {
        static void Main(string[] args)
        {
            //Find project(s) from the command line argument
            foreach (var path in args)
            {
                processDirectories(path);
            }
        }

        private static void processDirectories(string path)
        {
            string[] files = Directory.GetFiles(path);
            foreach (var filename in files)
            {
                if (filename.EndsWith(".csproj"))
                    processProjectWithMsBuildApi(filename);
            }

            string[] directories = Directory.GetDirectories(path);
            foreach (var dir in directories)
                processDirectories(dir);
        }

        private static void processProjectWithMsBuildApi(string projectFilename)
        {
            ProjectCollection projects = new ProjectCollection();
            Project project = projects.LoadProject(projectFilename);
            if (project == null)
            {
                Console.WriteLine("No project loaded.");
                return;
            }

            Console.WriteLine("PROJECT: {0}", project.ToString());
        }
    }
}

Expected  behavior
The project is loaded by the LoadProject API and the project object is then printed to the console output.
Actual behavior
InvalidProjectFileException occurs. See above.
Environment data
msbuild /version output:
<IP_ADDRESS>579
OS info:
Windows 10 Pro
Version: 10.0.16299
dotnet --list-sdks returns:
2.1.100 [C:\Program Files\dotnet\sdk]
2.1.101 [C:\Program Files\dotnet\sdk]
2.1.2 [C:\Program Files\dotnet\sdk]
2.1.200-preview-007474 [C:\Program Files\dotnet\sdk]
2.1.300-preview1-008174 [C:\Program Files\dotnet\sdk]
2.1.4 [C:\Program Files\dotnet\sdk]

I have the same issue. Interestingly, the same code works fine when ran as a .NET Framework 4.7.2, yet fails as .netcore
I've tried variety of things suggested elsewhere, but nothing seems to help. On both machines I've tried it I have both VS17 Enterprise and MSBuild17 installed with .NET Framework and .NET Core workloads, newest SDKs for both .NET (4.7.2) and Core (up to 2.1.300-preview1)

It's not the only issue. After fixing this by following comments here https://github.com/Microsoft/msbuild/issues/2532 you'll get StackOverflowException... I spent all day trying to get it to work. I think MSBuild API on .NET Core is just broken...


Atari 7800 and Channel F retroachievements support (trophie icons not showed)

Hi, a new little issue here
Atari 7800 and Channel F systems have retroachievements support and when we enter a game, retroarch recognizes if it has trophies, but the icons are not displayed on the frotend and the system variable "system.cheevos" returns false.
Thanks for your work!

Thanks @fabricecaruso, fixed in https://github.com/batocera-linux/batocera.linux/pull/7462

Thanks. Then this issue can be closed.


Py4JJavaError: An error occurred while calling o1446.filter.

Hi,
I have a proc_cnt which koalas df with column count, (coding in databricks cluster)
thres = 50
drop_list = list(set(proc_cnt.query('count >= @thres').index))
ks_df_drop = ks_df[ks_df.product_id.isin(drop_list)]

My query function throws ParseException
org.apache.spark.sql.catalyst.parser.ParseException:
Py4JJavaError                             Traceback (most recent call last)
/databricks/spark/python/pyspark/sql/utils.py in deco(*a, **kw)
     62         try:
---> 63             return f(*a, **kw)
     64         except py4j.protocol.Py4JJavaError as e:

/databricks/spark/python/lib/py4j-0.10.7-src.zip/py4j/protocol.py in get_return_value(answer, gateway_client, target_id, name)
    327                     "An error occurred while calling {0}{1}{2}.\n".
--> 328                     format(target_id, ".", name), value)
    329             else:

Py4JJavaError: An error occurred while calling o1446.filter.
: org.apache.spark.sql.catalyst.parser.ParseException:
extraneous input '@' expecting {'(', 'SELECT', 'FROM...………...

May I know the issue
Thanks

Can you check the documentation of https://koalas.readthedocs.io/en/latest/reference/api/databricks.koalas.DataFrame.query.html? We don't currently support @ properly. There is a workaround documented there as well.

Thanks for that, removed @ and used as it is. worked.
and
Couldn't find set() in koalas, how to create set?

Can you point out the pandas API link? I would like to check.

Thanks, just the python data structure set()
drop_list = list(set(proc_cnt.query('count >= 50').index))

The set() will create the iterable values from the index values.

Oh, you mean the Python built-in function set, right? It wouldn't work out of the box. You might want to check https://github.com/databricks/koalas/pull/1420


Update to clarify Coefficient setttings

Now displays as Current Formula: gravity = B(0.0)x^2 + C(1.0)x + D(0.0)  to more  clearly show the relationship of the form variables in the formula

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Withdrawn. Considering a better option


YoutubeAudioSourceManager: IllegalStateException: Get only works on a map

Hi!
I am hosting a music bot using JDA and lavaplayer and since updating to the latest version I'm getting a lot of those errors (well 13 back to back with a 2-hour distance between first and last) I don't think I've seen in previous versions. What's weird is that all of those YouTube videos that caused these errors seem to be unavailable now, so, unfortunately, I couldn't reproduce the issue. The line that throws this exception has apparently changed in the last update so I figured that maybe something broke with certain videos. The YouTube videos are all loaded via the YouTube API before passing the URL to lavaplayer, so it's unlikely that the videos were already unavailable when these errors were thrown. Going through the command history I noticed that it might have something do to with YouTube playlists being played that contain private videos, though I think in past lavaplayer version I used (1.3.17) the error for private videos was different and more coherent.
[ERROR] 2019-07-31 15:22:58.384 [lava-daemon-pool-info-loader-2-thread-1] UrlAudioLoader - lavaplayer threw an exception while loading track https://www.youtube.com/watch?v=_FrD_9mHuP0
com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Loading information for a YouTube track failed.
	at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.wrapUnfriendlyExceptions(ExceptionTools.java:43) ~[lavaplayer-1.3.19.jar:?]
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadTrackWithVideoId(YoutubeAudioSourceManager.java:226) ~[lavaplayer-1.3.19.jar:?]
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadFromUrlWithVideoId(YoutubeAudioSourceManager.java:316) ~[lavaplayer-1.3.19.jar:?]
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadFromMainDomain(YoutubeAudioSourceManager.java:253) ~[lavaplayer-1.3.19.jar:?]
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadNonSearch(YoutubeAudioSourceManager.java:323) ~[lavaplayer-1.3.19.jar:?]
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadItemOnce(YoutubeAudioSourceManager.java:189) ~[lavaplayer-1.3.19.jar:?]
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadItem(YoutubeAudioSourceManager.java:128) ~[lavaplayer-1.3.19.jar:?]
	at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.checkSourcesForItemOnce(DefaultAudioPlayerManager.java:437) ~[lavaplayer-1.3.19.jar:?]
	at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.checkSourcesForItem(DefaultAudioPlayerManager.java:419) ~[lavaplayer-1.3.19.jar:?]
	at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$createItemLoader$0(DefaultAudioPlayerManager.java:218) ~[lavaplayer-1.3.19.jar:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
	at java.lang.Thread.run(Thread.java:834) [?:?]
Caused by: java.lang.IllegalStateException: Get only works on a map
	at com.sedmelluq.discord.lavaplayer.tools.JsonBrowser.get(JsonBrowser.java:62) ~[lavaplayer-1.3.19.jar:?]
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadTrackWithVideoId(YoutubeAudioSourceManager.java:221) ~[lavaplayer-1.3.19.jar:?]
	... 12 more

I tested a playlist that contains private videos which apparently does seem to be the cause of this issue.

Got the same issue on 1.3.19
https://sentry.io/share/issue/a27b97ab85b747f1bda2a573ff6a2ddf/

Disclaimer: I am a Lavalink user, although I am using Lavaplayer 1.3.19. My node is hosted in the US-East region.
https://www.youtube.com/watch?v=V-MixcXotj8
https://www.youtube.com/watch?v=ic2d-1xVkkI
Video unavailable - generic error
https://www.youtube.com/watch?v=cU8HrO7XuiE
Video unavailable - copyright claim
Should return FriendlyException instead: This video is no longer available due to a copyright claim by SME.
https://www.youtube.com/watch?v=AQBh9soLSkI
Video unavailable - copyright claim
Should return FriendlyException instead: This video is no longer available due to a copyright claim by Studio Chizu.
https://www.youtube.com/watch?v=_hI0qMtdfng
No Video unavailable header, just what should be returned in the FriendlyException: This video has been removed for violating YouTube’s policy on hate speech. Learn more about combating hate speech in your country.
com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Loading information for a YouTube track failed.
	at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.wrapUnfriendlyExceptions(ExceptionTools.java:43) ~[lavaplayer-1.3.19.jar!/:na]
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadTrackWithVideoId(YoutubeAudioSourceManager.java:226) ~[lavaplayer-1.3.19.jar!/:na]
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadFromUrlWithVideoId(YoutubeAudioSourceManager.java:316) ~[lavaplayer-1.3.19.jar!/:na]
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadFromMainDomain(YoutubeAudioSourceManager.java:253) ~[lavaplayer-1.3.19.jar!/:na]
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadNonSearch(YoutubeAudioSourceManager.java:323) ~[lavaplayer-1.3.19.jar!/:na]
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadItemOnce(YoutubeAudioSourceManager.java:189) ~[lavaplayer-1.3.19.jar!/:na]
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadItem(YoutubeAudioSourceManager.java:128) ~[lavaplayer-1.3.19.jar!/:na]
	at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.checkSourcesForItemOnce(DefaultAudioPlayerManager.java:437) ~[lavaplayer-1.3.19.jar!/:na]
	at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.checkSourcesForItem(DefaultAudioPlayerManager.java:419) ~[lavaplayer-1.3.19.jar!/:na]
	at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$createItemLoader$0(DefaultAudioPlayerManager.java:218) ~[lavaplayer-1.3.19.jar!/:na]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_212]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_212]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_212]
	at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_212]
Caused by: java.lang.IllegalStateException: Get only works on a map
	at com.sedmelluq.discord.lavaplayer.tools.JsonBrowser.get(JsonBrowser.java:62) ~[lavaplayer-1.3.19.jar!/:na]
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadTrackWithVideoId(YoutubeAudioSourceManager.java:221) ~[lavaplayer-1.3.19.jar!/:na]
	... 12 common frames omitted

This is caused by unavailable videos. Lavaplayer should actually return before it reaches the part that calls .get, but isn't because YouTube moved some properties around. This issue should be fixed by #205


Update IntercomPlugin.java

In recent version of capacitor (2.2.0) they've changed how config works. Now it's instance based rather than Singleton.
https://github.com/ionic-team/capacitor/pull/3055/files

thanks for the PR @rnikitin
it's published in 2.1.1


Custom keywords in filter

Hey, thanks for a great library, it is such a time saver for us.
We'd like to filter also by synonyms (and additional keywords), not just by a value. One way to solve this would be to completely take over the filtering and write our own filter function, but I imagine that this could be something useful also to others (e.g. showing "Remove" item when "delete" or "trash" words are searched.
I'd imagine some additional property keywords: string[] on Command.Item and the search would take those into consideration too.
<Command.Item keywords={"delete", "trash"}>Remove item</Command.Item>
<Command.Item keywords={"add", "new"}>Create item</Command.Item>

Thanks for consideration and all your great work on cmdk library.

You can already do this
<Command.Item value="delete trash">Remove item</Command.Item>
<Command.Item value="add new">Create item</Command.Item>

@joaom00 While it seems to work, it feels wrong to assign this to value, especially because value is used also for assigning aria-selected/data-selected attribute for keyboard navigation. So we need to have it unique so matching works flawlessly.
So in our case, we'd like to use a different prop for filtering if possible (hence the keywords or filterKeywords prop).
I proposed it here since it feels like it could be a common use case (I might be wrong though).

I also think the keywords prop approach should be implemented. In my example I am using a list of categories and I am only selecting their values by their id. I am also using i18n for translation and I only want the translation value to be searchable.
const categories = [1,2,3];
...

const { t } = useTranslation();
const searchValues = getTranslationById(t, props.value);

<MultiSelectItemWrapper
      {...props}
      value={`${props.value} ${searchValue}`}
      onSelect={() => toggleValue(props.value)}
    >

I'm in favor of adding the keywords prop that is not returned from onSelect but influences the sorting and filtering logic.

I think it will be confusing to have two props that do almost the same thing. Or would it be worth making the value behave like an id and addressing https://github.com/pacocoursey/cmdk/issues/150?

@pacocoursey @honzatmn I opened a PR adding this prop #158


forward_canvas_gui_input not recognize tablet pressure

Godot version
3.4.4 stable
System information
windows10
Issue description
forward_canvas_gui_input() return  mouseMotion event 's pressure 1 or 0, no pressure even I use a graphic tablet. Pressure works good on normal control2D scene.
Steps to reproduce
Make a Addon, then paste these codes in plugin.gd:
func forward_canvas_gui_input(event:InputEvent):
	if event is InputEventMouseMotion:
		print(event.pressure)
	return true

Minimal reproduction project
No response

Closing due to lack of response, if you provide the requested information this can be reopened


Correction for raw affiliation Division of Vascular Surgery, Department of Surgery, Western University, London, ON

Correction needed for raw affiliation Division of Vascular Surgery, Department of Surgery, Western University, London, ON
raw_affiliation_name: Division of Vascular Surgery, Department of Surgery, Western University, London, ON
new_rors: 02grkyz14
previous_rors: 02agqkc58
works_examples: W4386892179;W4386892103
contact: 9949ff70f8d12c97e07bd77b03d890cd:30799b5d98819222 @ uwo.ca

This issue was accepted and ingested by the OpenAlex team on 2024-12-19. The new affiliations should be visible within the next 7 days.


FastCorrect2：train_pretrain.sh:脚本报错：overflow detected, setting loss scale to xxx

我使用wiki dataset构造了25500000个错误句子对（每个句子对有4个错误句子），执行 train_pretrain.sh 脚本到epoch 010 时报下面错误，应该怎么解决啊？
2022-07-12 12:16:36 | INFO | train_inner | epoch 010:   1801 / 10548 loss=8.169, nll_loss=0.65, wer_dur_loss=0.011, word_ins=2.032, word_ins1=2.032, word_ins2=2.032, word_ins3=2.032, to_be_edited_loss=0.036, closest_loss=0.033, ppl=287.87, wps=12655.6, ups=0.32, wpb=39554.3, bsz=2362.3, num_updates=1800, lr=0.000225, gnorm=1.888, loss_scale=64, train_wall=312, wall=0
2022-07-12 12:21:48 | INFO | train_inner | epoch 010:   1901 / 10548 loss=8.249, nll_loss=1.071, wer_dur_loss=0.013, word_ins=2.053, word_ins1=2.053, word_ins2=2.054, word_ins3=2.054, to_be_edited_loss=0.039, closest_loss=0.019, ppl=304.25, wps=12681.9, ups=0.32, wpb=39470.2, bsz=2485.7, num_updates=1900, lr=0.0002375, gnorm=1.525, loss_scale=64, train_wall=311, wall=0
2022-07-12 12:23:50 | INFO | fairseq.trainer | NOTE: overflow detected, setting loss scale to: 32.0
2022-07-12 12:26:57 | INFO | train_inner | epoch 010:   2002 / 10548 loss=10.537, nll_loss=0.916, wer_dur_loss=0.019, word_ins=2.547, word_ins1=2.547, word_ins2=2.548, word_ins3=2.549, to_be_edited_loss=0.078, closest_loss=0.596, ppl=1486.15, wps=12743.2, ups=0.32, wpb=39484, bsz=2445.9, num_updates=2000, lr=0.00025, gnorm=6.127, loss_scale=32, train_wall=309, wall=0
2022-07-12 12:32:08 | INFO | train_inner | epoch 010:   2102 / 10548 loss=11.682, nll_loss=0.126, wer_dur_loss=0.012, word_ins=2.912, word_ins1=2.911, word_ins2=2.912, word_ins3=2.912, to_be_edited_loss=0.039, closest_loss=0.018, ppl=3286.11, wps=12729.3, ups=0.32, wpb=39531, bsz=2508.8, num_updates=2100, lr=0.0002625, gnorm=0.378, loss_scale=32, train_wall=310, wall=0
2022-07-12 12:35:43 | INFO | fairseq.trainer | NOTE: overflow detected, setting loss scale to: 16.0
2022-07-12 12:35:49 | INFO | fairseq.trainer | NOTE: overflow detected, setting loss scale to: 8.0
2022-07-12 12:35:52 | INFO | fairseq.trainer | NOTE: overflow detected, setting loss scale to: 4.0
2022-07-12 12:36:01 | INFO | fairseq.trainer | NOTE: overflow detected, setting loss scale to: 2.0
2022-07-12 12:36:10 | INFO | fairseq.trainer | NOTE: overflow detected, setting loss scale to: 1.0
2022-07-12 12:36:17 | INFO | fairseq.trainer | NOTE: overflow detected, setting loss scale to: 0.5
2022-07-12 12:36:27 | INFO | fairseq.trainer | NOTE: overflow detected, setting loss scale to: 0.25
2022-07-12 12:36:35 | INFO | fairseq.trainer | NOTE: overflow detected, setting loss scale to: 0.125
2022-07-12 12:36:39 | INFO | fairseq.trainer | NOTE: overflow detected, setting loss scale to: 0.0625
2022-07-12 12:36:42 | INFO | fairseq.trainer | NOTE: overflow detected, setting loss scale to: 0.03125
2022-07-12 12:36:45 | INFO | fairseq.trainer | NOTE: overflow detected, setting loss scale to: 0.015625
2022-07-12 12:36:54 | INFO | fairseq.trainer | NOTE: overflow detected, setting loss scale to: 0.0078125
2022-07-12 12:37:06 | INFO | fairseq.trainer | NOTE: overflow detected, setting loss scale to: 0.00390625
2022-07-12 12:37:10 | INFO | fairseq.trainer | NOTE: overflow detected, setting loss scale to: 0.001953125
2022-07-12 12:37:15 | INFO | fairseq.trainer | NOTE: overflow detected, setting loss scale to: 0.0009765625
2022-07-12 12:37:22 | INFO | fairseq.trainer | NOTE: overflow detected, setting loss scale to: 0.00048828125
2022-07-12 12:37:31 | INFO | fairseq.trainer | NOTE: overflow detected, setting loss scale to: 0.000244140625
2022-07-12 12:37:34 | INFO | fairseq.trainer | NOTE: overflow detected, setting loss scale to: 0.0001220703125
2022-07-12 12:37:38 | INFO | fairseq.nan_detector | Detected nan/inf grad norm, dumping norms...

okay, I will try, thank you very much!


Real-time monitoring capabilities for the utilization

Can be a file output that can be viewed with a tail -f.

Suvpar module is on track for this. But real-time monitoring is closed as "won't fix" for now.


consistent ordering of components

As you navigate the two different views for a component (VIEW / EDIT / CREATE) all of these pages should have the components ordered in the same way.
Example:

title
description
update date
basin / alert levels
etc...

Each component should have the same order!

Closing this, have verified that all the following views:

View - https://nr-rfc-alertauthoring-test-frontend.apps.silver.devops.gov.bc.ca/alert/12
Edit - https://nr-rfc-alertauthoring-test-frontend.apps.silver.devops.gov.bc.ca/alert/12/edit
Create - https://nr-rfc-alertauthoring-test-frontend.apps.silver.devops.gov.bc.ca/alert/create

order the components in the expected order


unable to open database file for new project

i'm getting set up to analyse the data from MV1405, and have run into the following error:
> set.project.location("~/Documents/MV1405/seaflow")
Error: unable to open database "/Users/sclayton/Documents/MV1405/seaflow/sqlite/popcycle.db": unable to open database file

any thoughts on why this might be coming up? the MV1405/seaflow folder already exists, and I have read/write permissions for it...

ok, fixed it. maybe make it clearer in docs that if the project folder exists, but doesn't contain a database, then it'll produce an error.


Add a Gitter chat badge to README.md

github/linguist now has a Chat Room on Gitter
@bkeepers has just created a chat room. You can visit it here: https://gitter.im/github/linguist.
This pull-request adds this badge to your README.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

Experimenting with gitter.im. Feel free to join https://gitter.im/github/linguist. No promises that it will stick around.


add sass loader for support @import

Using @import 'node_modules/blahblah.scss' in my scss file, I got a errorcannot resolve module 'sass'`.
So I added sass-loader and node-sass and edited webpack config.
I hope this will help.
Thanks.

There's need other way to implement support for SASS. I've implement this support in commit aeb80c15327eff39541583cacb5255c3144ad9f3 Please check it


_examples/gettingstarted compile error

gettingstarted.go  compile error:
 undefined: workflow.Run (compile)go-staticcheck

func Workflow(d Deps) *workflow.Workflow[GettingStarted, Status] {
	b := workflow.NewBuilder[GettingStarted, Status]("getting started")

	b.AddStep(StatusStarted, func(ctx context.Context, r *workflow.Run[GettingStarted, Status]) (Status, error) {
		r.Object.ReadTheDocs = "✅"
		return StatusReadTheDocs, nil
	}, StatusReadTheDocs)

correct it by change 'workflow.Run'  to 'workflow.Record'

Hi @Meppo , I see the issue is that the _example repo was given the wrong version of workflow. Will push a fix. Thanks for raising!

@Meppo please pull the latest and it all should be working now 😄 If you pull github.com/luno/workflow then it would have worked due to the replace in the go.mod. Apologies for the inconvenience. Hope you enjoy using Workflow!


Mark microbenchmarks_ios flaky

https://github.com/flutter/flutter/issues/126164

I really don't like marking individual tests as flaky when it's an infrastructure issue manifested in multiple tests, we're just hiding infrastructure issues. This is https://github.com/flutter/flutter/issues/120808

I really don't like marking individual tests as flaky when it's an infrastructure issue manifested in multiple tests, we're just hiding infrastructure issues. This is #120808

Caught this one due to its high flaky rate, which caused tree switching between green and red. The issue #120808 caused timeout across multiple tests, but this one seems affected very bad. (Other tests flaked around 2%)


Define mqtt topic prefix

Is there a way to define the MQTT topic prefix? right now it defaults to the name of the computer, which I don't always want.

That is not editable and I have no plans to change that.


Building .NET Master (.NET Native) flavor to HL2 Breaks Hands

Overview
When you build Release version of .NET, everything works on latest MRTK as of today. However, the Master version (.NET Native) compiler breaks the hands.
Expected Behavior
Hands to work.
Actual Behavior
Hands don't work.
Steps to reproduce

Take latest MRTK
Switch to .NET Scripting Runtime
Build UWP
Build and deploy to device the Master flavor (.NET Native enabled)

Unity Editor Version
2018.3.11f1
Mixed Reality Toolkit Release Version
2.0.0-RC1Refresh
Sample of the log:
ArgumentException: Arg_ArgumentException
at SharedLibrary!+0x3f5e3b
at HelloAR U3D!+0x141fdbb
at HelloAR U3D!+0x141fc3b
at Microsoft.MixedReality.Toolkit.WindowsMixedReality.Input.WindowsMixedRealityArticulatedHand.UpdateControllerData(XR.WSA.Input.InteractionSourceState interactionSourceState)
at Microsoft.MixedReality.Toolkit.WindowsMixedReality.Input.WindowsMixedRealityArticulatedHand.UpdateController(XR.WSA.Input.InteractionSourceState interactionSourceState)
at Microsoft.MixedReality.Toolkit.WindowsMixedReality.Input.WindowsMixedRealityDeviceManager.InteractionManager_InteractionSourceDetected(XR.WSA.Input.InteractionSourceDetectedEventArgs args)
at HelloAR U3D!+0x2154629
at UnityEngine.XR.WSA.Input.InteractionManager.SourceEventHandler.Invoke(XR.WSA.Input.InteractionSourceState state)
at UnityEngine.XR.WSA.Input.InteractionManager.OnSourceEvent(XR.WSA.Input.InteractionManager.EventType eventType, IntPtr statePtr, XR.WSA.Input.InteractionSourcePressType pressType)
at UnityEngine.XR.WSA.Input.InteractionManager.$Invoke19(Int64 instance, Int64* args)
at UnityEngine.Internal.$MethodUtility.InvokeMethod(Int64 instance, Int64* args, IntPtr method)
(Filename:  Line: 0)
https://app.zenhub.com/files/50605426/14159183-ea77-431f-9d39-c38c19fa9d64/download

This is similar to #4265, in that without this fix or that issue fixed, you can't have NuGet + articulated hands.
Just a note that these two are related, and that we need to get at least one of them working soon.

Well, I think we will need both of them working. As some apps rely on .NET others in IL2CPP.

Spent time looking at this one today, though what I learned wasn't really what I had hoped.
It turns out that on master + .NET + ARM, this Unity API returns null (all the time):
https://docs.unity3d.com/ScriptReference/XR.WSA.WorldManager.GetNativeISpatialCoordinateSystemPtr.html
This is problematic because getting the hand joints at this location:
https://github.com/microsoft/MixedRealityToolkit-Unity/blob/mrtk_release/Assets/MixedRealityToolkit.Providers/WindowsMixedReality/WindowsMixedRealityArticulatedHand.cs#L323
Depends on the spatial coordinate system that Unity exposes in order to translate the hand joint information. I'll file a Unity bug for this, though since the .NET backend has already been deprecated in 2018 (and fully removed in 2019) I'm not sure how this is going to work out for 2018...

@keveleigh in case he has any other thoughts on how we could avoid using that WorldManager API (AFAIK it's required to get hands to work)

Correcting myself, it looks like GetNativeISpatialCoordinateSystemPtr() returns a valid value, it's just the act of casting it to a SpatialCoordinateSystem doesn't work on .NET native.

Looks like there was a Unity bug filed for this a long time ago:
https://issuetracker.unity3d.com/issues/uwp-compile-net-native-for-hololens-causes-spatialcoordinatesystem-marshal-dot-getobjectforiunknown-exception

I'm reaching out to the .NET Native owners to see if they have any guidance - it doesn't seem to be a ARM specific issue either (x86 w/ hololens emulator hits the same issue)


Q: Dataset versions

Have we gotten any useful information from embedding dataset versions in our tarballs? As far as I can tell it has just led to a bunch of warnings when doing imports (see e.g. Mainak's recent notebook examples). I propose we get rid of them for now, and replace them with a new system in the future if need be. But for now I think it's beyond YAGNI and into the adding-annoyance category...

I agree it's nice but I personally hack it manually...
fine with removing the check/warning but we should keep it accessible
sample.version ?

Yeah that makes sense, I'll keep it there but remove warning


added Tilda dropdown terminal

i've added my favorite terminal :sunglasses:

Hi there @slackerzz. Thank you for your contribution. Please resolve all conflicts with the master branch. Thanks!

Hi @k4m4, here you go!


python312Packages.pyatmo: 8.0.3 -> 8.1.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python312Packages.pyatmo is: Simple API to access Netatmo weather station data
meta.homepage for python312Packages.pyatmo is: https://github.com/jabesq/pyatmo
meta.changelog for python312Packages.pyatmo is: https://github.com/jabesq/pyatmo/blob/v8.1.0/CHANGELOG.md
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 8.1.0 with grep in /nix/store/k746789mjg8lymgsl1ziv7wmclg4q05s-python3.12-pyatmo-8.1.0
found 8.1.0 in filename of file in /nix/store/k746789mjg8lymgsl1ziv7wmclg4q05s-python3.12-pyatmo-8.1.0

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

4 package rebuild(s)

First fifty rebuilds by attrpath

home-assistant-component-tests.netatmo
python311Packages.pyatmo
python312Packages.pyatmo

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/k746789mjg8lymgsl1ziv7wmclg4q05s-python3.12-pyatmo-8.1.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python312Packages.pyatmo https://github.com/r-ryantm/nixpkgs/archive/2359ce0ba3ce129ebfb16755fabefc83526f7d32.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/2359ce0ba3ce129ebfb16755fabefc83526f7d32#python312Packages.pyatmo

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/k746789mjg8lymgsl1ziv7wmclg4q05s-python3.12-pyatmo-8.1.0
ls -la /nix/store/k746789mjg8lymgsl1ziv7wmclg4q05s-python3.12-pyatmo-8.1.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package failed to build:

home-assistant-component-tests.netatmo

4 packages built:

python311Packages.pyatmo
python311Packages.pyatmo.dist
python312Packages.pyatmo
python312Packages.pyatmo.dist

Maintainer pings

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

closing in favor of https://github.com/NixOS/nixpkgs/pull/336492


IsDir Check to Prevent Creation of Empty Files on Object Uploads

IsDir Check to Prevent Creation of Empty Files on Object Uploads
Currently, when trying to upload an object without the recursive option and a directory path is provided, Pelican does not handle this gracefully. It outputs an error because it attempts to read a directory, and it also creates an empty file at the destination in the process.
This issue affects both pelican object put and pelican plugin commands since the same underlying function manages object uploads.
Related Issue #1645
When Condor attempts to transfer a directory, it iterates through it and places both directory paths and file paths in the infile. Attempting to transfer a directory without the recursive option causes Pelican to create an empty file at the destination, which breaks the code.
This PR adds an IsDir check before initiating an object transfer. This update resolves both issues:

Passing a directory in the infile provided by Condor will no longer have any effect.
Using pelican object put with a directory without the recursive option will not create an empty file at the destination and will only output an error.

A similar problem occurs while downloading an object as well. This is more complex since the object to be transferred is on a remote machine, and the behavior differs when downloading from a cache or directly from the origin using the ?directread query. A separate Issue #1706 has been created for tracking this.

The problem with Condor, as I understand, is that when it tries to upload a directory, it iterates through it and includes both the inner file paths and the directory path in the infile. This approach is incorrect it should only list the files (objects) in the infile and they are working on fixing this issue. The problem with Pelican is that when a directory path is passed for upload without the recursive option set, it creates an empty file at the destination with the same name as the directory. This Pelican behavior, combined with Condor’s listing of directory paths in the infile, causes problems. This PR adds a directory check so that when a directory path is passed (without the recursive option), no empty file with the directory name is created. I have added an end-to-end test to precisely mimic this scenario.
https://github.com/PelicanPlatform/pelican/pull/1707/files#diff-7047045de9e6b2f5fc15f5af465c47b95cde0a18745cd7e34ee61faba13267cbR316-R488
This is an end-to-end test that attempts to upload a directory containing files. In the infile, the test lists the paths of both the inner files and the directory (without any recursive option). The plugin is then initiated, and the test verifies the expected behavior: the two files should be successfully uploaded, while the directory itself should not be uploaded, and no empty file should be created with the directory name at the destination. An appropriate error should be returned in the directory upload's corresponding result-ad in the outfile.
An error was previously returned as well, but it was not the error we initiated. Instead, it was an error generated when attempting to read the directory. This PR gracefully handles the described scenario, returning an appropriate error message and preventing an empty file at the destination.


pass through extra args

buddy @biyeun

Oh wait never mind, this is a different thing. I fixed my confusion yesterday by putting quotes around my multi-word command. This is about passing in other --flags. Anyway, still approve.


Is WarnGen being disabled in 16.1.4?

Hello Michael,
I have been enjoying the AWIPS II CAVE client immensely. I have configured WarnGen more fully for my CWA, I noticed that on the new 16.1.4 plugin.xml on WarnGen it says that you have removed the icon. Does that mean that WarnGen will be disabled now? Thanks
--Carl
plugin.xml  Warngen remove icon   5 days ago

Hi Carl,
The commit that you mention has no consequence for WarnGen other than the icon is removed replaced by a text label.  WarnGen will continue to be available in CAVE.


coprocessor/dag/expr: add un-pushed builtin UDFs(Asin and Acos)

What have you changed? (mandatory)
This PR implements the scalar function Asin and Acos.
What are the type of the changes? (mandatory)
The currently defined types are listed below, please pick one of the types for this PR by removing the others:

New feature (non-breaking change which adds functionality)

How has this PR been tested? (mandatory)
unit test
Does this PR affect documentation (docs/docs-cn) update? (mandatory)
no
Does this PR affect tidb-ansible update? (mandatory)
no
Refer to a related PR or issue link (optional)
#3275
Benchmark result if necessary (optional)
Add a few positive/negative examples (optional)

LGTM.

@hicqu, I put another commit which implemented Acos in this pr, PTAL.

Please resolve conflict, thanks! @malc0lm

/run-unit-test

/run-unit-test


ccv3.Client : replace usages of newHTTPRequet when possible

Description of the Change
This PR replaces usages of ccv3.Client newHTTPRequest method in favor of ccv3.Client MakeRequest, MakeListRequest and MakeRequestUploadAsync methods for the following ccv3.Client methods :

CreateBuildpack
DeleteBuildpack
GetBuildpacks
UpdateBuildpack
UploadBuildpack
uploadBuildpackAsynchronously
GetApplicationEnvironment
GetFeatureFlag
GetFeatureFlags
UpdateFeatureFlag
GetApplicationManifest
EntitleIsolationSegmentToOrganizations
ShareServiceInstanceToSpaces
ResourceMatch
CreateApplicationTask
GetApplicationTasks
UpdateTaskCancel

Why Is This PR Valuable?
This PR standardize interactions with the ccv3.Client, using MakeRequest, MakeListRequest and MakeRequestUploadAsync for the methods mentionned above as they are already used in others ccv3.Client methods.
How Urgent Is The Change?
Those changes are not urgent but will help to get rid of a failure encountered during the entitlement of an IsolationSegment to an Organization using the cloudfoundry terraform provider (cloudfoundry-community/terraform-provider-cloudfoundry#449).

Hello, the PR looks ok to me. However I have a slight doubt since this means that we are diverging further from the client implementation at the upstream (cloudfoundry/cli). I think simply copying the implementations from the v7 or v8 branch would be a better solution. What do you think?

@Thanhphan1147 I have updated the branch. I have copied implementations from the upstream, and extracted ressources as well.
Is this what you were thinking off ?

Hello, looks good to me. Thanks

@sleungcy, can you take a look at this PR again (i modified it to include @Thanhphan1147's recommandations) ?

@sleungcy, can you take a look at this PR again (i modified it to include @Thanhphan1147's recommandations) ?

I've also removed unnecessary definitions for ccv3.APILink, ccv3.APILinks and ccv3.Metadata.
I've updated ccv3 tests accordingly to modifications in ccv3.client.
I don't if updating the v7action ccclient was necessary, so i isolated it in a single commit (in case it's not).

@loafoe can you help have a look?

@loafoe can you take a look at this PR ?
We need those changes so we can upgrade the cloudfoundry terraform provider we use to deploy.
Currently, we are locked to v0.15.4.

@gmllt if @sleungcy and @Thanhphan1147 are OK I'm fine merging this one.


⚠ Bofrost.lu has degraded performance

In 9cc90a5, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1710 ms

Resolved: Bofrost.lu performance has improved in 1d3a040 after 9 minutes.


Update internal library "visibility_detector": to latest version 🐛

Description
Latest update to version 0.4.0+2 is almost a year old and includes a bug fix for "Fix a bug for updates to render objects that have not been laid out yet". Please update to the latest version.
100ms Flutter Version
1.9.9
Steps to reproduce
Add the following to pubspec:
visibility_detector: ^0.4.0+2
#100 ms live
hms_room_kit: ^1.0.12
hmssdk_flutter: ^1.9.9
Expected results
App should be able to compile.
Code example, screenshot, or link to a repository
.
Logs
No response
Flutter Doctor output
[✓] Flutter (Channel stable, 3.16.9, on macOS 14.2.1 23C71 darwin-arm64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.1)
[✓] VS Code (version 1.85.1)
[✓] Connected device (4 available)
[✓] Network resources
• No issues found!

No logs or detailed subscription required just open a new flutter project and include above dependencies and the project won't compile.

@Gnpiwano @mobile-development-group-com We tested this by creating a new Flutter project. The Flutter version used was 3.16.9. We were able to compile the project successfully.
Can you share a minimal project where this issue is reproducible?

Hmm if i create a new flutter project (flutter version: Flutter 3.16.9 • channel stable,  Dart 3.2.6 • DevTools 2.28.5) and add the following lines in my pubspec:
hms_room_kit: ^1.0.12
hmssdk_flutter: ^1.9.9
visibility_detector: ^0.4.0+2
I get the following error:
Because every version of hms_room_kit depends on focus_detector ^2.0.1 which depends on visibility_detector ^0.2.2, every version of hms_room_kit requires visibility_detector ^0.2.2.
So, because test_100ms depends on both hms_room_kit ^1.0.12 and visibility_detector ^0.4.0+2, version solving failed.
You can try the following suggestion to make the pubspec resolve:

Consider downgrading your constraint on visibility_detector: flutter pub add visibility_detector:^0.2.2

hey @mobile-development-group-com
We have updated the focus_detector package which uses the latest visibility_detector version.
For now, it's kept on a branch, you can refer to this branch & update the hmssdk_flutter package.
To test it, in your pubspec.yaml file make the following change -
hmssdk_flutter:
    git:
      url: https://github.com/100mslive/100ms-flutter.git
      ref: FLUT-277 # branch name

hey @mobile-development-group-com @Gnpiwano
Were you able to try out the solution I have mentioned above?


Version 2.2.0 is not published to NPM

The version on NPM is still on 2.1.0 : https://www.npmjs.com/package/fitbit-node

Thanks, I've published the latest version.


PR environment fails to destroy with missing state

https://github.com/UCLH-Foundry/FlowEHR/actions/runs/4470589453/jobs/7855095132#step:6:1068

this is reproducable and annoying because it leaves the rg orphaned


Partial make only some properties optional

Search Terms

Suggestion

Use Cases

current Partial<T> will make all properties of T optional
I want to specify only some properties of T optional
Examples

interface Message {
    mid: number;
    content: string;
}

interface MessageOptional {
   mid?: number;
   content: string;
}

const message: Message = assembleMessage({ content: 'hello' })

function assembleMessage(message: MessageOptional) : Message{
    const mid =  ... // generate mid somehow
    message.mid = mid
    return message
}

it's very often sometimes we want to omit some properties of an object and later supplement it.
currently typescript has concepts like Intersection、Union， how about Complement?
Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript / JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. new expression-level syntax)

You can use existing Partial and Exclude to implement an approach like this:
type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
type WithOptional<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;

interface Foo {
    foo: string;
    bar: number;
    baz: boolean;
}
// { foo?: string; bar: number; baz?: boolean; }
type OptionalFoo = WithOptional<Foo, 'foo' | 'baz'>;

const createFoo = (base: OptionalFoo): Foo => {
  return { foo: 'foo', baz: true, ...base };
};
const optionalFoo: OptionalFoo = { foo: '???', bar: 2 };
const fullFoo = createFoo(optionalFoo); // { foo: '???', bar: 2, baz: true }

@0x414c
thanks anyway, I hope Omit and WithOptional can be added to lib.d.ts in the future cause it's really a very common need.
yet there's another problem with keyof a Union type
interface MessageA {
   mid: number;
   type: number;
   text: string;
}

interface MessageB {
   mid: number;
   type: number;
   url: string;
}
type Message = MessageA | MessageB

type Keys = keyof Message    //    'mid' | 'type'

/**
*  {
*       mid?: number;
*       type: number;
*  }
*/
type OptionalMessage = WithOptional<Message, 'uid'>

// what I really what :
type OptionalMessageNeed = WithOptional<MessageA, 'uid'> | WithOptional<MessageB, 'uid'>

I just got a solution.
type AllKeyOf<T> = T extends never ? never : keyof T

type Omit<T, K> = { [P in Exclude<keyof T, K>]: T[P] }

type Optional<T, K> = { [P in Extract<keyof T, K>]?: T[P] }

type WithOptional<T, K extends AllKeyOf<T>> = T extends never ? never : Omit<T, K> & Optional<T, K>

/**
  {
       mid?: number;
       type: number;
       text?: string;
  }
| {
       mid?: number;
       type: number;
       url: string;
  }
*/
type a = WithOptional<Message, 'mid' | 'text'>

Guys those solutions are unredable. I think it's better to create separate interface.

This works for me
type Optional<T, K extends keyof T> = T extends never
  ? never
  : Omit<T, K> & Partial<T>;

Playground link

This works for me
type Optional<T, K extends keyof T> = Omit<T, K> & Partial<T>;

Playground link

This is really good. However, is there a way to keep the keys ordered as the original type?

type-fest has SetOptional

In case you need to ensurethat All prop are optional but some of those are required this worked for me (Thanks to @gr2m for the starting point.)
// All props are required but some are optional
type Optional<T, K extends keyof T> = Omit<T, K> & Partial<T>;

type Test = {
  foo: string;
  bar: string;
  baz: string;
  daz?: string;
};
type Test1 = Optional<Test, "foo">;
const test1: Test1 = {
  bar: '',
  baz: ''
}
type Test2 = Optional<Test, "bar" | "baz">;
const test2: Test2 = {
  foo: ''
}

// All prop are optional but some of those are required
type PartialWithRequired<T, K extends keyof T> = Pick<T, K> & Partial<T>;

type Test3 = PartialWithRequired<Test, 'bar' | 'foo'>;
const test3:Test3 = {
  bar: '',
  foo: ''
}

Playground

@tresorama it seems that since type Test already requires all properties but one (daz?), the code provided works.
But if starting out with optional properties and we want to actually make them required, we can also use the Required<> utility. Here's this:

type Test = {
  foo?: string;
  bar?: string;
  baz: string;
};

// All prop are optional but some of those are required -- NOTE! doesn't work, see Test1.
type PartialWithRequired<T, K extends keyof T> = Pick<T, K> & Partial<T>;

type Test1 = PartialWithRequired<Test, 'foo'|'bar'>;
// @ts-expect-error since `Pick` from `PartialWithRequired` does NOT mark an optional parameter like 'foo' or 'bar' as required
const test1:Test1 = {}

// Actually works:
type PartialExceptTheseRequired<T, K extends keyof T> = Pick<Required<T>, K> & Partial<T>

type Test2 = PartialExceptTheseRequired<Test, 'foo'|'bar'>
const test2:Test2 = {}
// ^ it errors, which we want, since we are now requiring foo and bar but haven't set them.

Playground

@techieshark Fantastic!
I didn't know Required


Default emojis should not be in the main module. They should, at least, be optional.

By removing the default emojis from the main module we can now create independent packages of emojis and anyone can use this package on their project without the pain of escaping every default emoji they don't want.
To use get the default emojis just include default.min.js in your html.

Could you update the README as well? Do you think your code changed something important to update the README?


Changing url when clicking on a tab

Hi,
I need that the url is changed, when clicking a tab.
So when there are three tabs:

...

...

...

...

and you are clicking on "profile" the url should change from site.com to site.com/#profile
Is that already possible and I did not see that in documentation?
Thank you
Zoker

Approximate duplicate of #2415. Use JS event handlers.

Little bit late but...
`if(window.location.hash) {
var tabName = window.location.hash;
var $tabTrigger = $('[href="' + tabName + '"]');
    if($tabTrigger.length){
        $tabTrigger.click();
    }
}

$(".tab-link-btn").on("click", function(){
    history.pushState({}, "", $(this).attr("href"));
});`

Edit it to your needs.

I hate people just randomly closing issues and saying it's duplicate of random thread


Remaining commits for OpenOOD v1.5

@Jingkang50 Here are all of the remaining commits from my side. The detailed change log can be found in the wiki. Notable outcomes include:

More comprehensive results on CIFAR-10, CIFAR-100, ImageNet-200 (OOD and FS-OOD), and ImageNet-1K (OOD and FS-OOD). For ImageNet-1K we have results on ResNet50, Swin-T, and ViT-B-16.
An easy-to-use evaluator where people only need to provide a pre-trained classifier, specify the corresponding ID dataset, and specify a postprocessor. There is a notebook tutorial example_imagenet_eval.ipynb on this, allowing people who are unfamiliar with OOD detection to test their models with minimum effort.
OpenOOD can now be installed by pip install git+https://github.com/Jingkang50/OpenOOD.git

I expect some updates will be needed for the Readme later.

Hi Jingyang, looks quite awesome to me 👍
Thank you for your GREAT contribution! Feel free to merge!


Disable Copy on Select

Description of the problem or steps to reproduce
Copy some text from somewhere, then select some text in micro that you intend to replace by pasting.
Specifications

Commit hash: 225927b9
OS: arch
Terminal: foot
Running on wayland with wl-clipboard and wl-clipboard-x11
This wasn't a problem in the past and I believe related to the new clipboard library being used.

Try disabling the useprimary option. In any case, when you select it should only copy into your primary clipboard, rather than your actual clipboard, but perhaps some systems use the same underlying clipboard for both.


Fix issue with progress bar not showing in gap junction simulations

Related to this - https://github.com/BlueBrain/CoreNeuron/pull/134


Control port file not created

I/OnionProxyManager: Starting Tor
I/OnionProxyManager: Starting process
I/OnionProxyManager: Waiting for control port
W/OnionProxyManager: Control port file not created
I/FileUtilities: /data/user/0/ch.blinkenlights.android.vanilla/files/tor_exec/lib/tor/control.txt

I use tor for android project. Control port has been creating each time just as empty file. Any thoughts how can I fix it or find the reason?
I`ve also tried on the android instrumentation test in the repository, and result is still the same.

Sometimes the Tor process will output errors to its normal inputStream.
To get more info, try going OnionProxyManager.spawnTorProcess and changing the following line
eatStream(torProcess.getErrorStream());
to
eatStream(torProcess.getInputStream());
I opened issue #129 to track adding the inputstream to console for debugging.

Thanks a lot for quick reply. While I am trying to research the solution, I will put logs here...
E/OnionProxyManager: Jul 08 23:04:53.471 [notice] Tor <IP_ADDRESS> (git-5030edfb534245ed) running on Linux with Libevent 2.1.7-beta, OpenSSL 1.0.2p, Zlib 1.2.11, Liblzma 5.2.3, and Libzstd 1.3.2.
E/OnionProxyManager: Jul 08 23:04:53.471 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
E/OnionProxyManager: Jul 08 23:04:53.472 [notice] Read configuration file "/data/user/0/ch.blinkenlights.android.vanilla/files/tor_exec/torrc".
E/OnionProxyManager: Jul 08 23:04:53.482 [notice] Opening Control listener on <IP_ADDRESS>:0
E/OnionProxyManager: Jul 08 23:04:53.483 [notice] Control listener listening on port 45210.
E/OnionProxyManager: Jul 08 23:04:53.483 [notice] Opened Control listener on <IP_ADDRESS>:0
E/OnionProxyManager: Jul 08 23:04:53.483 [notice] DisableNetwork is set. Tor will not make or accept non-control network connections. Shutting down all existing connections.

Seems that the issue is related to the torrc file, I will share the initialization code
val installDir = File(context.filesDir, "tor_exec")
val torConfig = AndroidTorConfig.createConfig(installDir, installDir, context)

val onionProxyManager = AndroidOnionProxyManager(
    context,
    torConfig,
    SisTorInstaller(context, installDir),
    null,
    null,
    null
)

onionProxyManager.setup()
onionProxyManager.startWithRepeat(4 * 60, 5, true)

public class SisTorInstaller extends AndroidTorInstaller {

    public SisTorInstaller(Context context, File configDir) {
        super(context, configDir);
    }

    @Override
    public InputStream openBridgesStream() throws IOException {
        return context.getResources().openRawResource(R.raw.bridges);
    }
}

The app package contains "app_torfiles" folder with tor files. I havn`t found the place in the source code yet who put it there. But seems that correct 'torrc' file is there
ControlPort auto
CookieAuthentication 1
DisableNetwork 0

RunAsDaemon 1
SafeSocks 1
SOCKSPort auto
CookieAuthFile /data/user/0/ch.blinkenlights.android.vanilla/app_torfiles/.tor/control_auth_cookie
DataDirectory /data/user/0/ch.blinkenlights.android.vanilla/app_torfiles
GeoIPFile /data/user/0/ch.blinkenlights.android.vanilla/app_torfiles/geoip
GeoIPv6File /data/user/0/ch.blinkenlights.android.vanilla/app_torfiles/geoip6
PidFile /data/user/0/ch.blinkenlights.android.vanilla/app_torfiles/pid

And here is 'torrc' file from the folder which I pass as the 'installDir' param during the initialization- folder name 'tor_exec':
RunAsDaemon 1
AvoidDiskWrites 0
ControlPort auto
SOCKSPort 0
DNSPort 0
TransPort 0
CookieAuthentication 1
DisableNetwork 1

@sisbell can you help orient me, please, with place where I should check the behavior? Maybe you have some ideas, as I see you have a lot of experience with tor

@torwarrior There are two common causes of startup failure. First would be if the torrc file is specifying some port that another app (or instance of tor) is also using. You can check if other tor processes are running on your system which may be using the ports.
The second possibility is if the torrc file is not configured properly or has some invalid value. You can test this by taking the torrc file and running it directly with tor from the command line:
tor -f torrc
If that is bad, it will throw up some errors in the console

Hello, sorry to ressurect an old thread, but I am having the same issue, basically it seems the torrc file is the one that comes straight from the tor-binary package, and it seems to be missing the directive "ControlPortWriteToFile" so the control.txt file is initialized as an empty file by the TorInstaller, but never actually written by TOR.

you might be interested in my work to make a more native TorService,
which no longer needs the control port file
https://github.com/eighthave/tor-android

is <IP_ADDRESS> still the version we should be using with this lib?

OK So I'm having the same issue at this point. I haven't been able to successfully get the tor bin to start up. Ive tried in many different configurations. It also happens even when I try to run the smoke test in this repo. Any ideas?

i have a same problem

Hello, sorry to ressurect an old thread, but I am having the same issue, basically it seems the torrc file is the one that comes straight from the tor-binary package, and it seems to be missing the directive "ControlPortWriteToFile" so the control.txt file is initialized as an empty file by the TorInstaller, but never actually written by TOR.

same issue for me

you might be interested in my work to make a more native TorService, which no longer needs the control port file https://github.com/eighthave/tor-android

are you going to merge the fork into the main repository? I think many people are having problems with the control port file.

Bumping into the same thing....

Finding that you've gotta call updateTorConfig from TorSettingsBuilder before calling start such that all the settings you've entered via your TorSettings class are appropriately reflected in your torrc file.
TorConfig will have the file pathway for your cookieAuthFile that is needed for your torrc file's `ControlPortWriteToFile'
Also, in the tor-android-service project the torrc file asset shouldn't needed when you use the TorSettingsBuilder.updateTorConfig.

Also finding that the WriteObserver is throwing an IllegalArgumentException because it's being sent a null File due to it being deleted, then recreated and the reference for torConfig.cookieAuthFile is not being reset. Same with the controlPortFile.

These kinds of issues is why I put a bunch of work into eliminating the ControlPort file and the hunt for the connection.  The TorService I implemented uses a UNIX domain socket: https://gitlab.com/eighthave/tor-android/-/blob/927a2a25/tor-android-binary/src/main/java/org/torproject/jni/TorService.java#L299
Ultimately, I think TorService should communicate with Tor using stdin/stdout.  Here's more on that:

https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/32780
https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/32476


Type annotations

Adding in PEP 484 style type annotations and a mypy test step.
Ticket: #712
/cc @hackebrot @audreyr @pydanny

[Current coverage][cc-pull] is 99.66%

Merging [#713][cc-pull] into [master][cc-base-branch] will decrease coverage by 0.32%

File ...ookiecutter/utils.py (not in diff) was modified. more

Misses +2
Partials 0
Hits -2

@@           master       #713   diff @@
========================================
  Files          13         13
  Lines         583        584     +1
  Methods         0          0
  Messages        0          0
  Branches        0          0
========================================
- Hits          583        582     -1
- Misses          0          2     +2
  Partials        0          0

[][cc-pull]

Powered by Codecov. Last updated by [cfeece5...4666b0b][cc-compare]
[cc-base-branch]: https://codecov.io/gh/audreyr/cookiecutter/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/audreyr/cookiecutter/compare/cfeece5dfb8b95556ffde603dd454954bbe96910...4666b0bd2f140a61c79fe1c8afe42a48de7246bf
[cc-pull]: https://codecov.io/gh/audreyr/cookiecutter/pull/713?src=pr

Calling it a night for the time being. Running in to some issues with mypy, but I'll check in with their team tomorrow.

I should point out that a lot of these annotations break the line-length limits. This is a known issue with the mypy annotation parser, but it looks like it'll be fixed in mypy 0.4.2. Currently, this runs on mypy 0.4.1.

Awesome work so far @TylerLubeck.
For long lines, I'd suggest:

Add a comment so the linter ignores the line (which will be temporary)
When mypy 0.4.2 comes out, send us a PR to break up only the too-long lines, as in your example

@TylerLubeck if you get busy and want us to continue where you left off, let us know. Otherwise, we look forward to the last part of your PR 😄

Hey @audreyr, my apologies. I'll get to this tonight!

All set @audreyr. If this is something you want to merge, do you want me to squash or rebase? I'm used to doing both, but I know it's a hot topic.

@TylerLubeck Nice work!

Hi all, just checking in. Anything else I can do here?

Looks 🍰  to me, nice job @TylerLubeck .
🔔 @audreyr

I'm sorry that this hasn't been merged yet. There are a number of conflicts now 😢
Any volunteers for getting these resolved?

@hackebrot I may look at this as I'm working on tickets this week

Anyone still looking at this?

@TylerLubeck thank you for your efforts. Unfortunately this was not merged in time, currently, we do project cleanup and cannot merge it in the current state.
Do you have interest to adapt it to current cookiecutter version?


feat: add type handler for SimpleUri

Contains
New type handlers to support de-/serializing to/from SimpleUri and BlockUri.
How to test
Can be tested in combination with https://github.com/Terasology/ChangingBlocks/pull/15.

maybe we could add an integration test one level higher up that demonstrates we can use SimpleUri with the default TypeHandlerLibrary? Would that be useful?

Could be but I'd argue that that would be a suitable consideration for the upcoming type handler improvements when we look at the contracts of the type handlers.

As discussed in the contributor meeting, I added a type handler for BlockUri.

one small correction; feel free to merge after adding that if it works with your ChangingBlocks use case.

correction added and tested, works fine for the ChangingBlocks use case using ChangingBlocks#15 and PlantPack#20 :+1:


[Bitnine Tech] label names in AGE are case sensitive.

Hello,
Currently, the names are stored case-sensitively for the label name in AGE as follows:

Postgresql automatically stores objects in lower case in pg_catalog when they are created. If names are stored in case-sensitive cases like AGE label now, it seems that there will be many restrictions on the user's use of cypher.
I would appreciate it if you could check and respond to this issue.
Thank you.

Can you please elaborate why you think this will induce restrictions? Please provide an example showing this?
I should point out, the tables that AGE uses are for internal use only. They are not for users to manually manipulate. In other words, you do so at your own risk.

You can take a look at this issue. https://github.com/apache/age/issues/56
According to neo4j labels are case-sensitive. Names are case-sensitive and thus, :PERSON, :Person and :person are three different labels, and n and N are two different variables. https://neo4j.com/docs/cypher-manual/current/syntax/naming/
See Open Cypher Specification https://opencypher.org/resources/

If this has answered your question adequately, please close the ticket.

There was confusion for a while because our other products were not case sensitive. Thanks for the detailed explanation, I'll close the question.


variant=“filled” does not work on  (Tag)

I don't know why the style is not applied. Can anyone solve this problem?
https://codesandbox.io/s/select-multiple-tags-variant-filled-hc9y7
Who can help I thank!

I also have that problem I solved it by removing input prop although I don't know what side effects it has
<Select
    variant="filled"
     fullWidth
     labelId="select-label"
     multiple
      value={value}
      onChange={event => setValue(event.target.value)}
      renderValue={() => value.join(", ")}
        >

I also have that problem I solved it by removing input prop although I don't know what side effects it has
<Select
    variant="filled"
     fullWidth
     labelId="select-label"
     multiple
      value={value}
      onChange={event => setValue(event.target.value)}
      renderValue={() => value.join(", ")}
        >

SOLVED!


When I have 2 clusters with the same name, the nodes page on my node pool cluster shows up all nodes from both clusters

master 3/1

Create a GKE cluster with name "test"
Create a DO cluster with name "test"
Go to GKE cluster -> Node pages, and I only see my GKE nodes.
Go to DO cluster -> Nodes page, and I end up seeing all nodes from DO cluster as well as GKE cluster.

Expected Result:
To only see my DO node in my DO cluster even though the cluster name is the same.

I can't seem to reproduce this now on master...

@loganhz I havne't been able to reproduce this consistenyl, but I need to test some more around it.

I haven't been able to reproduce this recently. Will close for now.


Change datetime field and get the changed value

I have an input field with datetime picker, bad when I pick the datetime everything is ok, but when I change this vaue in input field(not in template) the data doesn't change.

set the value with "new Date()" not a String

I have tried mortenholmgaard's method, but on the ngModel, only the view value is changed, the modelValue is still not changed :(

flyawaychen send a plunker with example code please.

@yelnar +1

@rjurado01
i changed this: parseDate(e.srcElement.value, e.srcElement.attributes["format"].value);
to this: parseDate(e.originalEvent.srcElement.value, e.originalEvent.srcElement.attributes["format"].value);

This is very annoying , when editing the fields. @mortenholmgaard thanks for fix.


gem rouge warning Lexers::SHELL

We are on Windows 8.1
Ruby 2.1 x64.
We followed the installation procedure but whenever we run hologram we get these gem warnings, what are those can we ignore them?
C:/DevZone/Ruby21-x64/lib/ruby/gems/2.1.0/gems/rouge-1.9.1/lib/rouge/lexers/shell.rb:20: warning: already initialized constant Rouge::Lexers::Shell::KEYWORDS
C:/DevZone/Ruby21-x64/lib/ruby/gems/2.1.0/gems/rouge-1.9.1/lib/rouge/lexers/shell.rb:20: warning: previous definition of KEYWORDS was here
C:/DevZone/Ruby21-x64/lib/ruby/gems/2.1.0/gems/rouge-1.9.1/lib/rouge/lexers/shell.rb:25: warning: already initialized constant Rouge::Lexers::Shell::BUILTINS
C:/DevZone/Ruby21-x64/lib/ruby/gems/2.1.0/gems/rouge-1.9.1/lib/rouge/lexers/shell.rb:25: warning: previous definition of BUILTINS was here
Created the following files and directories:
  hologram_config.yml
  doc_assets/
  doc_assets/_header.html
  doc_assets/_footer.html
  code_example_templates/
  code_example_templates/markdown_example_template.html.erb
  code_example_templates/markdown_table_template.html.erb
  code_example_templates/js_example_template.html.erb
  code_example_templates/jsx_example_template.html.erb

Not really a solution, but downgrading to 1.9.0 seems to help on my end.

I have the same issue on linux with ruby 2.1.5. It shows up with rouge 1.9.0, but not with rouge 1.8.0. I could not find any relevant changes in the upstream changelog. So do you think this is an upstream bug or is it in hologram?

I'll have to test this on windows and see. On linux and osx I'm not getting this warnings with Rouge 1.9.1

Having the issue here on OS X.
/Library/Ruby/Gems/2.0.0/gems/rouge-1.9.1/lib/rouge/lexers/shell.rb:20: warning: already initialized constant Rouge::Lexers::Shell::KEYWORDS
/Library/Ruby/Gems/2.0.0/gems/rouge-1.9.1/lib/rouge/lexers/shell.rb:20: warning: previous definition of KEYWORDS was here
/Library/Ruby/Gems/2.0.0/gems/rouge-1.9.1/lib/rouge/lexers/shell.rb:25: warning: already initialized constant Rouge::Lexers::Shell::BUILTINS
/Library/Ruby/Gems/2.0.0/gems/rouge-1.9.1/lib/rouge/lexers/shell.rb:25: warning: previous definition of BUILTINS was here

@tonifisler These are the exact same warnings that I have also

On linux and osx I'm not getting this warnings with Rouge 1.9.1

I still get the warnings with Rouge 1.9.1 on linux. I would be happy to supply additional information if you tell me what you need.

Can confirm that downgrading to 1.9.0 fixes the issue.

See https://github.com/jneen/rouge/issues/296 and https://github.com/JoshCheek/what-we-ve-got-here-is-an-error-to-communicate/blob/3886aa779a0e6c2d3004a8603fa5daf82a63e018/what_weve_got_here_is_an_error_to_communicate.gemspec#L13

Upstream issue is tracked in https://github.com/jneen/rouge/issues/296

I can also confirm that downgrading to rouge 1.9.0 fixes the issue


Pwm driver implementation

I have made changes to the SetDutyCycle method. Can you check to see if the changes are valid? It builds and executes properly.
I am also unsure of how to create the constructor for a PinConfigure object properly. I am currently following the example constructor for a PinConfigureInterface & object but am unsure what to initialize my PinConfigure pwm_pin_ to be.
I still have to remove the magic numbers for the PWM register configurations.
@kammce

Pwm(const PinConfigureInterface & gpio_):
    pwm_(gpio_),
    pwm_pin_(),
    port_(pwm_pin_.GetPort()),
    channel_(pwm_pin_.GetPin()),
    duty_cycle(0)``

I'm not sure how to initialize pwm_pin_ to the same port and pin number of the PinConfigure object that will be passed in as the argument.

Codecov Report

Merging #137 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #137   +/-   ##
=======================================
  Coverage   73.23%   73.23%
=======================================
  Files          18       18
  Lines         710      710
=======================================
  Hits          520      520
  Misses        190      190

Continue to review full report at Codecov.

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


Aggregate APIs should not have name Generic API Server

Can we choose more appropriate names? Perhaps Pinniped Concierge and Pinniped Supervisor? Is there other metadata that we can add in?

This would be a nice UX fix before we release again.


Update dependency: deps/k_release

@Baltoli, I think an adjustment related to rv-utils.lib.mkPykAppSrc is necessary to make things work with the published pyk version.


Re-enable jdk 11 tests

Re-enabled tests excluded by issue 248. Related to Issue #3214
This patch re-enables JDK 11 test excluded by issue 248.
Refer to Grinder Test Results

ok wait hold on theres a problem with my build
https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/3155/

run aqa -help

run aqa --help

run aqa --sdk_resource nightly --build_list openjdk --target jdk_lang --jdk_version 11 --jdk_impl hotspot --platform x86-64_linux

run aqa --help


Add additional options (textSanitizer)

It appears that the only options available are the logrocket id and development mode.  However, it could really benefit from being able to use textSanitizer:
https://docs.logrocket.com/reference#dom
I am hoping you will tell me I am wrong and I am just missing something obviously.

Seeing as this doesn't expose the init options originally available by the init method: https://docs.logrocket.com/reference#init
Kind of makes the module very limiting.
Would make more sense if the entire init options was exposed in nuxt.config.js module options
As things stand currently, kind of makes more sense to just grab the native logrocket package and register it in a normal nuxt plugin. Unless I'm missing something.

Thanks for pointing this out @jrah and @malkhuzayyim and sorry for the late response.
All of the configuration options have been added to this module and can be tested as of v1.5.0.
You can find the docs here: https://github.com/nuxt-community/nuxt-logrocket#options


monit: add quotes and timeout to custom program path

Add quotation marks to custom program path and the timeout parameter.
See #2811 and Monit Service Checks

Discussed with @fbrendel -- merged, thanks!


Please consider to keep a changelog

This is a great start: https://keepachangelog.com/en/1.1.0/
GitHub Releases like https://github.com/LeoniePhiline/axum-csrf-sync-pattern/releases also would help dependents know what changed per each release!
Thanks for your consideration.

Thanks for raising this. I think it would be nice to start using tools like cargo release in conjunction with this.

Once you did, I'll copy yours ;)

Should be addressed by: https://github.com/maxcountryman/axum-sessions/commit/d7b96f93ca1dca62f96d5e972fc3260d82d7da15

Thank you! 💛


Cppcheck other finds

As noted by a couple people, the && should be || in the second commit.

sanitizing the code, even if just a little, awesome!


No address associated with hostname" when using a proxy?

Is anyone else seeing this error behind a proxy servers
command run - "chef-client -z test2.rb
================================================================================
Error executing action converge on resource 'machine[test2]'
================================================================================
SocketError
-----------
getaddrinfo: No address associated with hostname

Resource Declaration:
---------------------
# In /apps/test.rb

I know we have confirmation that convergence is working behind proxies.  Can you try again with the latest version of chef-provisioning and chef-provisioning-aws (released last night)?  And if that's not working, can you provide some information about how you are configuring your proxy and what your recipe looks like?

confirmed the updated version resolved my issues.


Convert the whole Wrapper thing to HTML5

I think using JavaScript emulators like swf2js, we could convert it to HTML5 instead of using insecure Flash Technology...

no


Prepare 0.12.2

This prepares the 0.12.2 release, which only differs to 0.12.1 by including the fix for linux aarch64 builds (#427).
I've validated that change in https://github.com/pantsbuild/scie-pants/releases/tag/v0.12.2-beta.0 (built in https://github.com/pantsbuild/scie-pants/actions/runs/12169046712), which includes the linux aarch64 binaries, and those binaries work in a linux aarch64 docker container locally for me.

Oops, forgot to bump cargo.toml


Resource Config refers to Load Balancer in vSphere

installing-pks-vsphere.html.md.erb refers to
To modify the resource usage of PKS, click Resource Config and edit the PKS on-demand broker job. If you created a PKS API load balancer, enter a name that begins with tcp: in the Load Balancers column. For example, tcp:pks-api.
but I see no column Load Balancers in Ops Manager 2.0 with Pivotal Container Service with vSphere.

Hi @ntdt , thanks for your PR on the PKS docs! I'm working on this right now, and we'll have it resolved soon.
Best,
Sarah


Any timeline for a cordova-browser release 6.0.1 with security fixes?

Sorry, for still asking here but on StackOverflow I did not get an answer, yet :(. Also the Slack Community Chat Sign-up at https://slack.cordova.io/ is dead.
My simple question is:
The current version of cordova-browser is 6.0.0 at npmjs.com.
The master branch contains already some security fixes (e.g. use shelljs v0.8.5 instead of v0.5.3) which would be nice to get as a new version 6.0.1 or so.
Are there any plans for at least a security release?

Apache Cordova uses GitHub Issues as a feature request and bug tracker only.
For usage and support questions, please check out the resources below. Thanks!

You can get answers to your usage and support questions about Apache Cordova on:

Slack Community Chat: https://cordova.slack.com (you can sign-up at http://slack.cordova.io/)
StackOverflow: https://stackoverflow.com/questions/tagged/cordova using the tag cordova

The master branch contains already some security fixes (e.g. use shelljs v0.8.5 instead of v0.5.3) which would be nice to get as a new version 6.0.1 or so.

This particular fix was just a minor version bump. I don't think the other code change is relevant (otherwise it should have been a major change on shelljs part). So you should be able to use npm upgrade to update all of your subdependencies, which should include shelljs from cordova-browser.

Maybe I don't get it but this is my problem:
cordova-browser v6.0.0 defines in its package.json the following:
"shelljs": "^0.5.3"
In my knowledge this means that it is allowed any version up to 0.5.X. Any version like 0.6.x or 0.8.x is not allowed. You can test this here: https://semver.npmjs.com/
Our open source security tool 'Mend' tells us there is a security vulnerability with the CVE-2022-0144 on shelljs v0.5.3 which is closed in v0.8.5.
So we would like to update to shelljs to v0.8.5 which is not possible because cordova-browser v6.0.0 restrict it to v0.5.x. So npm upgrade will not work here.
But since the shelljs dependency is updated to v0.8.5 on the cordova-browser master branch, we could fix the security issue if there would be a new version of cordova-browser.
We could include on our side a dependency to the master branch but this is a ugly solution.
Would it be possible to release a security update for cordova-browser? Or are there any plans for a new release anyway?

Looks like I have stand corrected. I didn't realise the ^ caret operated differently if the major version is 0. Normally ^ allows any greater minor or patch version, however if ^0.x.y it will only accept the next minor version.
I'll try to allocate time after my work day to start preparing a release. If you like, you can watch for the discussion/vote thread via our Dev Mailing List

Also the Slack Community Chat Sign-up at https://slack.cordova.io/ is dead.

FYI We have shifted to Github Discussions. I know we still have some links lingering in some places.

An alternate workaround for the time being is to use the overrides feature available in NPM 8 and later.
It can be used inside your package.json like so:
{
  ...
  "overrides": {
    "cordova-browser": {
      "shelljs": "^0.8.5"
    }
  }
}

See the NPM Docs for more info on using the overrides.

Just for information:
Using the above NPM override will not work because "shelljs": "0.8.5" seems to have a breaking change which prevents our build.
See additional changes in commit: https://github.com/apache/cordova-browser/commit/4fe7e97e6b381120bb30990d7692cd7852ae39ec

I'm working on preparing a release, I just want https://github.com/apache/cordova-browser/pull/119 merged in and confirm that all the tests runs properly with the upcoming new Node LTS. If all is good, then I'll start a release process.
I'm doing this on my own free time and I don't personally use this platform so I don't know the ins-and-outs of it. So it would be helpful for me if you could give current master a test.
cordova platform remove browser
cordova platform add https://github.com/apache/cordova-browser.git

It's a major version bump, but the only user-facing breaking changes I believe are just supported Node version drops.


add atoz redirect

What
add atoz redirect
Who can review
!me

Should there be a blank space at the start of the line?

Good spot. There shouldn't be. Fixed.


Update README.md

@saldisobi are you interested in back linking your blog in the Readme? 🤔 Feel free to merge this. Otherwise please let me know and I will close this PR.