solanum: 2020-12-14 -> 2021-04-27

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 123643 at 2a2bb37c run on x86_64-linux 1

1 package failed to build:

solanum

1 package built successfully:

tests.trivial

1 suggestion:

warning: missing-patch-comment
Consider adding a comment explaining the purpose of this patch on the line preceeding.
Near pkgs/servers/irc/solanum/default.nix:24:5:
   |
24 |     ./dont-create-logdir.patch
   |     ^

Note that build failures may predate this PR, and could be nondeterministic or hardware dependent.
Please exercise your independent judgement. Does something look off? Please file an issue or reach out on IRC.

the build tests seem to be flaky. sometimes they work, sometimes they don't. any suggestions what to do?

the build tests seem to be flaky. sometimes they work, sometimes they don't. any suggestions what to do?

Follow the recommendation to use runtests to run the test individually and then report the bug upstream.


Error: Can't find files

Thank you for a very useful and simple component.
I have been using v 0.3.0 for a while.
I upgraded to v 1.0.0 and get the following error.
These dependencies were not found:

@/draggable in ./node_modules/v-drag-drop/src/index.js
@/droppable in ./node_modules/v-drag-drop/src/index.js

To install them, you can run: npm install --save @/draggable @/droppable
I think there is something not quite right in the package.
Maybe the dist?

Hi, Thanks for your feedback!
The built files in dist should work fine, but the files in src required a webpack path alias.
I've removed the alias @ now which didn't bring any benefit in the setup anyways. Please upgrade to version 1.0.1 and check if it's working now.


Introducing the PostProcessor

This PR introduces a new class in support of the renderer: the PostProcessor.
The first commit simply extracts the post-processing functionality from class LwjglRenderingProcess into the new PostProcessor class, while the second commit patches everything back so that it can compile and run.
In the third commit materials used by the PostProcessor are fetched only once, shortly (but not immediately) after the class is instantiated. Previously materials were fetched once per frame and in some cases the same material was fetched multiple times during the same frame.
In the fourth commit the most important change is that FrameBuffers used by the PostProcessor are stored in internal references. When appropriate, the LwjglRenderingProcess class triggers the PostProcessor to refresh its references. Some additional refactoring continues the work on WorldRendererImpl.render() method, to make it a complete high-level index of what happens each frame to produce the final image on screen.
The fifth commit primarily deals with refactoring the final stages of post-processing. In particular it simplifies the code by separating early the paths for mono and stereo (OculusVR really) rendering. I seem to remember this incidentally fixes a number of problems when taking screenshots, especially in OculusVR mode. I didn't log this in the commit description and it is too late at night to check, hence my uncertainty. ;)
The sixth commit just renames some variables and methods as I got to know them better. It also introduce a PostProcessor.dispose() method.
The seventh commit shuffles a number of PostProcessor lines around, so that most post-processing methods follow the same order of operations: dealing with materials, dealing with textures, FBO-related state changes and then rendering.
The eight commit adds javadocs for most public methods, comments and TODOs for (near) future work. There is also some very limited, minor refactoring.
In conclusion: this PR is far from the final destination for this batch of renderer refactoring. Even the PostProcessor class needs further work. But I felt this is a good point where to pause and merge into develop, as future work on the PostProcessor will be more arcane and delicate.

Refer to this link for build results (access rights to CI server needed):
http://jenkins.terasology.org/job/TerasologyPRs/109/
Hooray Jenkins reported success with all tests good!

This may be one of the best documented PRs of all time :D The per-commit thing really works well.
Thank you for keeping up with that by the way! I think your PRs are probably the most consistently well-documented we have. Even if there isn't always somebody able to truly review it line by line this is the way to keep changes understandable to a wide audience.
Naturally this code is still waaay beyond my comfort zone to review but I wanted to at least say that :-)

Thanks Cervator! I'm just assuming people do not have the time to check everything and this way they can zoom in on something that picks their interest. At the same time some commits are not really that interesting, i.e 1, 6 and 7, and I hope people will notice they have a lower priority.
Regarding comfort zones... I hear ya! I banged my head so many times on this code it certainly feels uncomfortable!!!! =D

I will have a look this weekend.

Hey @emanuele3d - we should be able to get this moving again now. Can you check on what conflicts? Hopefully fairly simple changes in imports / asset related method names.

Yep, will look into it.

@Cervator: I did a couple of tests, one rebasing the branch of this PR on top of develop, the other a merge.
If I push the merged version of the branch, a bunch of commits unrelated to this PR will become listed here in the PR, right? On the other hand my commit-links above will still point to the right commits.
If, on the other hand, I push the rebased version of the branch, this PR will get a new set of commits and I'll just have to update the links. I would therefore be inclined to rebase, to keep the PR clean. Also,  there are currently no commit-specific comments, so I don't think a rebase in this circumstance would break anything. Does this make sense?
Additionally @immortius, I've just noticed a change regarding the retrieval of assets in the WorldRendererImpl class. One of the affected lines follows and the PostProcessor introduced by this PR would probably also need some of its lines modified in a similar way:
chunkShader = Assets.getMaterial("engine:prog.chunk").orElseThrow(() -> new RuntimeException("Failed to resolve required engine material"));

It looks very ugly. Can't I just check if the returned object is null using the .get() method? Also, if I recall correctly a shader problem would throw an exception during compilation/linking, before the shaders are registered as engine assets. Why would this type of line ever fail then?

@emanuele3d yep that sounds correct, and yeah rebase is better :-)
I'm still not totally on top of the fine grained details of how well Github handles commit-comments in a PR that then get rebased. Same with links to specific commits. Lets find out!

Can't I just check if the returned object is null using the .get() method?

No, get() throws an exception if the value is not present. You can use the isPresent() method to check whether the value is null.  So you can use this to have an if statement if desired.
That said I don't think it is ugly - it is new, since we haven't had lambdas until recently. But they are going to be much more common going forwards.

Also, if I recall correctly a shader problem would throw an exception during compilation/linking, before the shaders are registered as engine assets. Why would this type of line ever fail then?

It fails if the asset could not be loaded for any reason - the files are not found or could not be loaded for instance. This can happen before compilation/linking.
Of course, since this is required to run the game it should never fail, hence the runtime exception. Also why it isn't worth 5 lines of code.

Refer to this link for build results (access rights to CI server needed):
http://jenkins.terasology.org/job/TerasologyPRs/145/
Hooray Jenkins reported success with all tests good!

Rebased and updated for post gestalt-asset integration.
Also updated the links in the PR description to point to the appropriate post-rebase commits.

@immortius think there is anything left to review and tweak here or time to merge?

All looks good to me.

Merged at last. Huzzah!

Thank you!


WFCORE-6955 Add a CI job to check for non-i18n INFO/WARN/ERROR logging

Issue: https://issues.redhat.com/browse/WFCORE-6955
WildFly Core part of https://github.com/wildfly/wildfly/pull/18116

@rhusar @darranl Please review the PR.

Thanks @RanabirChakraborty and @rhusar !


package with high severity vulnerability not detected as vulnerable

We are evaluating dependabot-azure-devops on a .net 6 test solution which includes the vulnerable package Newtonsoft.Json 12.0.3 (see https://github.com/advisories/GHSA-5crp-9r3c-p9vr)
In order to check this extention's behavior with vulnerabilites, we have followed these instructions which are coherent with the code: https://github.com/tinglesoftware/dependabot-azure-devops/blob/928d35912a33364e52ca3c65141225162de4b2a4/src/script/update-script.rb#L352
Expected behaviour: The plugin should open a PR to update the vulnerable package
Actual behaviour: No PR opened, as if checker.vulnerable==false see log:
/usr/bin/docker run --rm -i -e DEPENDABOT_PACKAGE_MANAGER=nuget -e DEPENDABOT_FAIL_ON_EXCEPTION=true -e DEPENDABOT_EXCLUDE_REQUIREMENTS_TO_UNLOCK= -e AZURE_PROTOCOL=https -e AZURE_HOSTNAME=devops.superdriver.it -e AZURE_ORGANIZATION=DefaultCollection -e AZURE_PROJECT=met -e AZURE_REPOSITORY=supersecure-api -e AZURE_ACCESS_TOKEN=*** -e AZURE_SET_AUTO_COMPLETE=false -e AZURE_MERGE_STRATEGY=2 -e DEPENDABOT_VERSIONING_STRATEGY=auto -e DEPENDABOT_ALLOW_CONDITIONS=[{"dependency-name":"a1","dependency-type":"all"}] -e AZURE_AUTO_APPROVE_PR=false tingle/dependabot-azure-devops:0.7
..
..
Checking if Newtonsoft.Json 12.0.3 needs updating
Requirements to unlock own
Updating Newtonsoft.Json is not allowed

@pluservice security only updates are not yet supported in this extension. You have linked the correct issue: #161
That said I do expect that the package would be updated unless there's more to it than you have indicated. Could you share the configuration yaml and the pipeline yaml in full?

This is our simple pipeline  yaml,  as you can see we don't use the configuration file right now
thanks
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml

trigger:
- master

pool:
  name: DevSecOps
  demands: Agent.OS -equals Linux

variables:
  PAT: $(System.AccessToken)
  #
  DEPENDABOT_ALLOW_CONDITIONS: '[{"dependency-name":"a1","dependency-type":"all"}]'

steps:

- task: dependabot@1
  inputs:
    packageManager: 'nuget'
    versioningStrategy: 'auto'
    openPullRequestsLimit: 0
    dockerImageRepository: 'tingle/dependabot-azure-devops'
    azureDevOpsAccessToken: $(PAT)

Here you can find the .net project repo  https://github.com/pluservice/supersecure-api if you need it

@pluservice I see you have allow conditions in your env. The dependency you expect to be updated is not allowed there. Could you try removing the DEPENDABOT_ALLOW_CONDITIONS variable the report back?

If we remove DEPENDABOT_ALLOW_CONDITIONS  the PR is opened as expected but, but as explained we added it
In order to check this extention's behavior with vulnerabilites,
So we have followed these instructions which are coherent with the code: https://github.com/tinglesoftware/dependabot-azure-devops/blob/928d35912a33364e52ca3c65141225162de4b2a4/src/script/update-script.rb#L352

I would need to investigate further as to why this is happening. Likely involve logging the result of each of condition in the line you referenced.
I suspect the checker.vulnerable? condition is what is failing since it controls vulnerability. That particular piece lives in the core repository hence requiring further investigation.
Is there a particular reason why you're using the `0.7 docker tag?

This could explain the issue  https://github.com/dependabot/dependabot-script/issues/432
there seems to be no SecurityAdvisory implementation in dependabot-core

This is an interesting find. So much about this tool still left to learn. This means we need a way to download a list of vulnerabilities for it to work. No clue how to go about that at the moment.
About the docker version tag, seems the default value was forgotten in the update process. Doing an update shortly.

A starting point could be integrating the GitHub Security Advisories API (GraphQL API) which provide access to the database https://github.com/github/advisory-database


How to assign a custom class for the line inside ct:series-name in stacked bar chart?

How can we assign custom class for a specific line only, inside series-name of stacked bar chart? I want to add a custom className with ct-bar.

Here is the code as well.
           labels: ['NY''],
	 series: [
			{
				className: 'ct-series-a',
				name: 'ABC',
				meta: 'one',
				data: [
						  {
							meta:'one',
							value: 5 ,
							className: 'my-custom-data-line',
						  },
						  {meta: 'two', value: 2 , classes: 'class'},
						  {meta: 'three', value: 4 , className: 'class'},
						  {meta: 'four', value: 4 , className: 'class'}

					]
			}]

Hi, that's not possible by default, since usually all objects in a series should look the same. What are you trying to achieve?

I am actually showing the Week progress of the Employee and I want to disable the bars for Weekends.

Wow, I was just looking for this too. I would like to be able to click certain points/bars/pie-slices and have them in a "selected" state, so adding a "selected" class to them would be really cool. Manually adding the class to the element is not an option, since the chart redraws itself on window resize...

But we can assign the color to the nth child of the series-name in css? I am actually trying to add the color in the css but its also not working.

Hello @nosheen-javed 👋
Chartist has recently been updated to version 1.0 with some new exciting changes like ESM and TypeScript support. The migration guide can be found right here.
Please let me know if the question is still relevant to you so we can further look into it!


Doesn't seem to be working for Mac OS

Mac OS 10.14.5 Mojave
Plugin version : 1.0.1
PyCharm 2019.2.3 (Professional Edition)
Build #PY-192.6817.19, built on September 25, 2019
Runtime version: 11.0.4+10-b304.69 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.14.5
GC: ParNew, ConcurrentMarkSweep
Memory: 2014M
Cores: 4
Registry:
Non-Bundled Plugins: com.almightyalpaca.intellij.plugins.discord, BashSupport
I have enabled rich presence overall and enabled it for project as well, in case this has an impact. Restarted both PyCharm and then discord, to no avail. What can I do to debug this?

As has already been pointed out the plugin does usually work in macOS. However, sometimes the RPC connection has a few problems. Here's a list of common problems/fixes:

The plugin does not work with the web version of Discord
Check Settings -> Game Activity -> Display running game as status message
Make sure your IDE isn't added as a game in Discord
Start Discord before starting the IDE
Restarting both Discord and the IDE
Restarting your PC
Reinstalling the plugin

Sry for the late response.

Tried all of these things, still nothing. Oh well

Sorry I completely forgot about this issue. Did you ever get the plugin to work?


Error with malloc and memory limit

HelloI
I am posting here since it could be useful for others too.
(edit: sorry,  after submitting, I am realising this message should go to the discussion board)
have received a new version of the model and I found a "random" error related with the outputs.
The model is generated correctly but when I run it I find this error:

After removing some variables form the output.csv file I realized that the problem was not caused by any of them but by having too many. I managed to add the -S ASSERTIONS=1 to the wasm plugin:
wasmPlugin({
emccArgs: [
"-Wall", "-Os ",
"-sSTRICT=1 ",
 "-sMALLOC=emmalloc",
"-sFILESYSTEM=0 ",
 "-sMODULARIZE=1 ",
 "-sSINGLE_FILE=1 ",
"-sEXPORT_ES6=1 ",
 "-sUSE_ES6_IMPORT_META=0 ",
"-sENVIRONMENT='web,webview,worker' ",
"-sEXPORTED_FUNCTIONS='_malloc','_free','_getInitialTime','_getFinalTime','_getSaveper','_setLookup','_runModelWithBuffers']",
"-sEXPORTED_RUNTIME_METHODS=['cwrap']",
 "-sASSERTIONS=1"] }),

(note: I recommend including an example of this in the documentation since I didn't know that -s params don't have a space  between "-s XXXXPARAMXXX" I can add it if you want)
And the error I  got was:

Which, as suspected, is due to excess memory consumption.
Adding: -sINITIAL_MEMORY=32MB,or  -sALLOW_MEMORY_GROWTH=1
seems to fix the problem.
What do you recommend? Do you think we can get into trouble by using 32MB? It doesn't seem like a lot for an application but I am not familiar with WASM limitations.
Rgds

Download
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
In the installer menu, select "gcc."


Prepare for v4.3.1

https://github.com/test-network-function/cnf-certification-test-partner/releases/tag/v4.3.1

Good call I missed that one.  Fixed.


incrementFileName incrementing incorrect section of file name

Issue Type: Bug
I have a file named F1000-v117.au3. When copying/pasting the file, it creates a file named F1001-v117.au3. This is not the expected result. F1000 is the name of the file and not a version number that should be incremented.
Changing the regex within the incrementFileName function fixes the issue. Basically, make sure the first section of the file name is numeric only.
export function incrementFileName(name: string, isFolder: boolean): string {

	[other code...]

// 1.file.txt=>2.file.txt
    let prefixFileRegex = RegExp('(\\d+)(' + separators + '.*)(\\..*)$');
    if (!isFolder && name.match(prefixFileRegex)) {
      return name.replace(prefixFileRegex, (match, g1?, g2?, g3?) => {
        let number = parseInt(g1);
        return number < maxNumber
          ? this.pad(number + 1, g1.length) + g2 + g3
          : this.format('{0}{1}.1{2}', g1, g2, g3);
      });
    }
        [other code...]
}

to
export function incrementFileName(name: string, isFolder: boolean): string {

	[other code...]

// 1.file.txt=>2.file.txt
    let prefixFileRegex = RegExp('(\\d$)(' + separators + '.*)(\\..*)$');
    if (!isFolder && name.match(prefixFileRegex)) {
      return name.replace(prefixFileRegex, (match, g1?, g2?, g3?) => {
        let number = parseInt(g1);
        return number < maxNumber
          ? this.pad(number + 1, g1.length) + g2 + g3
          : this.format('{0}{1}.1{2}', g1, g2, g3);
      });
    }
        [other code...]
}

VS Code version: Code 1.25.1 (1dfc5e557209371715f655691b1235b6b26a06be, 2018-07-11T15:43:11.471Z)
OS version: Windows_NT ia32 6.1.7601

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz (8 x 2693)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: disabled_softwarevideo_decode: enabledvideo_encode: enabledvpx_decode: unavailable_softwarewebgl: enabledwebgl2: enabled

Memory (System)
2.92GB (0.12GB free)

Process Argv
C:\Program Files\Microsoft VS Code\Code.exe

Screen Reader
yes

VM
0%

PR for this is welcome
It would be great if the PR contains a unit test https://github.com/Microsoft/vscode/blob/1c14e736d279219324f11ddbe1f55e776ca89d26/src/vs/workbench/parts/files/test/electron-browser/fileActions.test.ts#L15
@Krzysztof-Cieslak fyi

I'll take a look tomorrow.

F1000-v117.1.au3 is the expected result right?

Actually it seems like other cases are broken now.

Have a file test1.txt, copy and paste it
The new file is test1.1.txt, in 1.26 it was test2.txt

Thanks for finding that @roblourens
Due to that I had to revert the original fix. So now copying test1.txt gives test2.txt
However this issue is now not fixed, but it was like that in previous stable so nothing urgent -> removing mielstone

Hey guys, I took a crack at fixing this regex have some questions on how the naming / number schema works and I want to make sure I have an understanding of the naming schema.
We have our cases here:
suffix:
file.1.txt=>file.2.txt

prefix:
1.file.txt=>2.file.txt

single number:
1.txt=>2.txt

no number:
file.txt=>file.1.txt

ends with number:
folder.1=>folder.2

mixed (new case / why the above PR broke):
name1.txt=>name1.1.txt
name1.test.txt=>name1.test.1.txt (???)

prefixed with number:
1.folder=>2.folder

The issue is that mixing letters and numbers triggers the prefix regex which incorrectly increments the number. But all the different variations of prefix / suffix and single number / mixed with letters make this particularly tricky.
It seems like edits need to be made to existing regexes to ensure that they are matching digit only groups. However, the above PR regex edits and the edits I've made consistently break other regexes.
Any ideas or considerations here?


Mark .NET package as shipped in APIView

Change to mark package as shipped after releasing a package to Nuget.

Verified release of .NET Azure.Template package using this PR. https://dev.azure.com/azure-sdk/internal/_build/results?buildId=3672318&view=logs&j=616e51fa-4b0e-57a3-a132-4e6fce804d44&t=ea661c37-9867-523b-cf87-0434a4367639&l=35


Add basic Ruby on Rails sample

Add simplest possible Ruby on Rails application that successfully deploys to the Ruby runtime for Google App Engine flexible environment
This application will support documentation.
Application should include a few additions that demonstrate the App Engine flex runtime, eg.

A static asset to serve to demonstrate that we default config.public_file_server.enabled to true via RAILS_SERVE_STATIC_FILES
Production configuration of secret_key_base configuration, eg. via SECRET_KEY_BASE in app.yaml or some other means
A working resourceful controller, eg. generated via rails scaffold post title body:text using Cloud SQL (extremely common Rails use-case :: database configuration can be replaced with any SQL database that the the user desires)

The README for this application should include all of the commands taken to create this application, beginning with rails new.  Most of this information will be provided via documentation, which should be linked to from the README, but this application README should demonstrate the very few commands necessary to gcloud app deploy an application generated via rails new on the latest verion of Ruby on Rails
Tests should verify CRUD actions work on the deployed application
Possible directory location: rails/getting_started or ruby_on_rails/getting_started.  When developers find this repository, I'd like "Ruby on Rails" to be immediately noticeable in the directories and READMEs.  The ruby_on_rails directory should have a README directing users to our Rails documentation and Google App Engine flexible environment documentation for Ruby

Obsolete


Can't properly use snippets in JSX file, can not find snippet by prefix

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.75.0
OS Version: Windows10 22H2 19045.2486

Steps to Reproduce:

type in prefix can't match snippets that are already exist.
When you type letter "l", you will see prefix "log" is there.

after you fully typed "log", it disapeared.

type "r" at first, the snippets show up

then type "rafc", they are all gone.

the wired thing is, the prefix would match if you add a "-" sign in front.

the user defined snippets are working fine now. I have to write some snippets and use them because I can not use the snippets either from built in and extensions right now.

Same behaviour, but custom user snippets in jsx/tsx also not working without prefix -

i'm facing the same issue after updating vscode to version 1.75.0

Same Here, any update?

/duplicate of #173244

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


Building for HTML5

Hello,
I'm just starting to checkout play-clj. Can I build for HTML too? It seams to be possible from libgdx.
Thanks,

Something like this? http://teavm.org/

+1 - Targeting the web is super important, but I would like to use a robust, production-ready library rather than roll my own if at all possible - and targeting other platforms natively rather than through JavaScript VMs is attractive.


Docker Hub repository name
docker/analysisg
Terms of services

[X] I accept the term of services

/validate

Hi @woywoy123 I couldn't find the image of your project on Docker Hub. Have you pushed it there?
When done, the content of the Docker Hub repository name input must be the namespace/repository of the image. For example, if I push an image on my personal namespace on hub for the foo extension like docker push benjaming/foo-extension:0.0.1, the value of the input would be benjaming/foo-extension.

Hello Benja, I apologies for the late response, I am still getting familiar with docker. So apologies for the issue. Do I need to create an account for pushing images?

Hi @woywoy123 yes you need to create an account on hub.docker.com to be able to push an image there.


grid exchange,做一个网格交易吧

grid exchange,做一个网格交易吧

for dydx

for perpetual_market_making

Hi @phpmac ! We are not managing the improvements or new strategies. You can create a forum on Discourse: https://hummingbot.discourse.group/t/hip-bot-orchestration/186 (here you have an example), and explain why it's important and then if some of the community wants to implement the strategy, you can create the HIP!


Sushiscan source still not working

It seems that the source is not loading any manga, and that for months...
I saw a lot of Sushiscan issues closed without any real fix :/
Am I missing something ?

#435


VTEX SECRETS

Hello. I need to know if it is possible to use vtex secrets in the Ever Green version and how I can do this.

hi @evander-corebiz
are you unable to work with keys with vtex plugins install webops-secrets? I understand that it should still be valid for v2 of faststore.

Yeah, for v2 is enable, but we are using the Ever Green and it doesn't work,


Fix registering visual-breadboard multiple times

When switching graphs, ui-controller tries to load visual-breadboard again, which throws an error since that custom web component is already loaded from the previous graph. Check if the visual-breadboard component already exists in the custom component registry before loading it.
Also, update to a newer visual-breadboard build that fixes css issues and properly wraps incoming calls in ngzone.
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to documentation are included in the PR

Alternatively, we can make loadScript keep track of what it has loaded (e.g. give it a Map<url, Promise<void>> to keep track).

The new bundle should also fix some of the console logs appearing in https://github.com/breadboard-ai/breadboard/issues/427


#1862 - UX/UI for Ignore Restriction - Bypass List

Built a page for when the Ministry selects an application and selects "Restrictions Management" from the left panel.

Not available for Public Institutions.

Created a new link in the left menu named "Restrictions Management".
Disabled the link for draft applications.
Create the new list "History of Bypassed Restrictions" (use Vuetify table).

Ordered the list DESC by creation date (most recent entry on the top).

Created a new API endpoint to obtain the restriction bypasses history

GET aest/application-restriction-bypass/application/:applicationId

Added E2E tests
Should get a list of restrictions bypasses when there are restrictions bypassed for a Student Application.

Screenshot of the Restriction Management page for non-BC public institutions

Nice work. Please take a look at the comments.


Add itensornetworks

This PR adds the capability two itensornetworks provided they are of the same structure (edges, vertices).
Tests are included.

Codecov Report

Merging #110 (df664f6) into main (0f96a0a) will increase coverage by 0.13%.
The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main     #110      +/-   ##
==========================================
+ Coverage   78.41%   78.55%   +0.13%
==========================================
  Files          65       65
  Lines        3693     3716      +23
==========================================
+ Hits         2896     2919      +23
  Misses        797      797

Files Changed
Coverage Δ

src/abstractitensornetwork.jl
85.42% <100.00%> (+0.79%)
:arrow_up:

Nice to see how simple it is!
I guess we could support networks that don't have the same structure pretty easily by adding trivial indices to edges where one TN has indices and the other doesn't, I think I even have a function somewhere in the library for adding trivial indices to some set of edges.
When we generalize alternating_update to ITensorNetworks, we can also provide a "fitting" algorithm as another backend for adding tensor networks, where we optimize the fidelity between a sum of ITensorNetworks and a new ITensorNetwork.

Nice to see how simple it is!
I guess we could support networks that don't have the same structure pretty easily by adding trivial indices to edges where one TN has indices and the other doesn't, I think I even have a function somewhere in the library for adding trivial indices to some set of edges.

Okay I think I added this support now. So the networks need to have the same vertices and siteindexes but can have different different edge structures. The link indices need to be named properly (i.e. using standard `itensornetworks' edge tag convention) though as the function needs tag info to determine how to properly do the direct sum etc (which indexes should be combined between the two networks).

Ideally we would do it without involving tags, just direct summing the corresponding edges. Why do you need to involve tags?

Is the situation you are addressing one where there are multiple link indices on an edge of one of the input tensor networks? If that's the case and the question is about how to sort those indices to combine them into a single index, I would say just combine them in whatever order you find them on the network (say using the combine_linkinds function).

Yeah I think I can see now that this can all be worked out based on edges and need not rely on matching tags anywhere. Let me re-write the function that way!

Yeah I think I can see now that this can all be worked out based on edges and need not rely on matching tags anywhere. Let me re-write the function that way!

My goal is basically to always avoid using tags in Index logic, and essentially just treat them like they are just used for printing (there are a few exceptions to that but for most code they can be treated that way). It basically always makes the code simpler and also much more general, since we want to allow users to input networks with indices that arbitrary tags.

@JoeyT1994 I see now where some of the complication comes from, that when you direct sum indices of neighboring tensors then the direct-summed indices don't match anymore since each call to directsum generates new indices internally. I think I have a nice solution for that. In ITensors.jl, I'm working on a PR where you can provide a direct-summed Index to directsum, so then you can make them beforehand for each edge so then they are guaranteed to already match, so then you don't have to make them match after the fact.
I'll try to finish that ASAP so you can use it here to simplify your code.

Will be implemented by https://github.com/ITensor/ITensors.jl/pull/1176.

@JoeyT1994 I merged https://github.com/ITensor/ITensors.jl/pull/1176, hopefully that helps here to make this function a bit simpler.

Okay great, thanks! Let me edit based on that and use this as a test for that new interface.

Okay I just took advantage of that new functionality! Makes writing the function easier.


Pair program - Add Contact Form

Description:
This pull request introduces the following changes to the Portfolio project:
Contact Form: A new contact form has been added to the portfolio. This form includes fields for name, email, and message. Each field has specific validation rules as per the project requirements. The form uses the Formspree service to collect the data.
Mobile Version: The portfolio has been made responsive to accommodate mobile devices. The design follows the provided Figma template and uses flexbox for layout. The website is responsive for screen sizes of 375px (mobile) and 768px (desktop).
Code Quality: The code has been checked for linter errors and follows the correct GitHub flow. The work has been documented in a professional way.
Please review these changes and provide your feedback.

Hi @CVILLA09 👋 ,
Your project is complete! 👏👏  There is nothing else to say other than... it's time to merge it
🎉 Congratulations! 🎉
Highlights
📌 Fixed all isues that you reviewer suggest you to do✅
📌 Descriptive pull request✅
📌 Good commit messages ✅
📌 Professional README file ✅
Optional suggestions
[ ] I suggest you to merge this branch  to the main and delete this. Just for stay more organized for the next project. 😀😀
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

Hi @CVILLA09 👋 ,
Your project is complete! 👏👏  There is nothing else to say other than... it's time to merge it
🎉 Congratulations! 🎉
Highlights
📌 Fixed all isues that you reviewer suggest you to do✅
📌 Descriptive pull request✅
📌 Good commit messages ✅
📌 Professional README file ✅

Optional suggestions
[ ] I suggest you to merge this branch  to the main and delete this. Just for stay more organized for the next project. 😀😀
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Added .tech TLD

Q
A

Branch?
master

Bug fix?
yes

New feature?
no

BC breaks?
no

Deprecations?
no

Tests pass?
yes

Fixed tickets
#...

License
MIT

Added the whois server for .tech

Thanks, merged


Socket leak in Python API - potential DOS

There appears to be a socket file descriptor leak in the Python gRPC api. I was able to reproduce this following the basic tutorial here: http://www.grpc.io/docs/quickstart/python.html
Thanks in advance!
ProductName:	Mac OS X
ProductVersion:	10.12.4
BuildVersion:	16E195

Python 2.7.11

appdirs==1.4.3
enum34==1.1.6
futures==3.1.1
grpcio==1.3.3
grpcio-tools==1.3.0
packaging==16.8
protobuf==3.3.0
pyparsing==2.2.0
six==1.10.0

git clone https://github.com/grpc/grpc
cd grpc/examples/python/helloworld
python greeter_server.py &
nc -z localhost 50051
nc -z localhost 50051
...
lsof -n -i | grep python

python2.7 4255 username    3u  IPv6 ...      0t0  TCP *:50051 (LISTEN)
python2.7 4255 username   11u  IPv6 ...      0t0  TCP [::1]:50051->[::1]:54211 (CLOSE_WAIT)
python2.7 4255 username   12u  IPv6 ...      0t0  TCP [::1]:50051->[::1]:54212 (CLOSE_WAIT)

Potential duplicate of #11015.

+1
I have the same issue

+1 have the same issue

@jgung, @virusdefender, @liranbg: go into more detail? Is the leak here that the sockets are only reclaimed when the garbage collector runs? Or is this a different problem?

<crickets>

@nathanielmanistaatgoogle : thank you very much (belatedly) for the response, and apologies for the lack of response.
For context, the issue appeared for me when using a load balancer in conjunction with a gRPC server--a new socket descriptor would be created with every health check, but the resulting descriptor file would hang around. Eventually, a "too many open files" system error would occur and the server would die unexpectedly. I got around this by just disabling the health check for that particular service.
It sounds like #12531 could definitely be the issue. Testing now (grpcio=1.8.1), it appears that although the socket file descriptors do remain for a short amount of time (1 minute), they are closing in a more timely manner, so I'm happy with this issue remaining closed (though #12531 would be a nice feature).


Adding Linux Question - du

Adding one question regarding the du command available in Linux.

Generated a new question in a new pull request.
Added Vim Question - visual mode #90


bug: nvim-treesitter error on read-only file system

Did you check docs and existing issues?

[X] I have read all the LazyVim docs
[X] I have searched the existing issues of LazyVim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
0.10.0
Operating system/version
NixOS
Describe the bug
I install the treesitter parsers from nixpkgs into a read-only path. I disabled auto_install and ensure_installed for nvim-treesitter and it worked well. But after a recent update it complains that the parser dir is read-only on neovim start.
Steps To Reproduce
Install nvim-treesitter to a read-only path.
Expected Behavior
If I don't need to install parsers via nvim-treesitter it shouldn't error out.
Repro
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  { "LazyVim/LazyVim", import = "lazyvim.plugins" },
  -- add any other plugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

According to nvim-treesitter dev, this plugin is only used to install parsers. But it seems I can't disable it directly.

Can't you just make sure that ensure_installed is an empty list, so nothing gets installed by default?

See #3702

Can't you just make sure that ensure_installed is an empty list, so nothing gets installed by default?

This is what I do. It worked. But recently it doesn't work anymore.

How are you defining it to be empty? Can you show your code?

See https://github.com/LazyVim/LazyVim/discussions/3702

Wow, this works, thanks!


MaaS testing broken

Recent changes to Rackspace Public Cloud and the RabbitMQ MaaS plugin have broken the MaaS testing in this repo.

PR has been abandoned in a 'wontfix' manner, so closing this for now.


[Snyk] Upgrade cli-color from 2.0.1 to 2.0.3

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade cli-color from 2.0.1 to 2.0.3.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 2 versions ahead of your current version.
The recommended version was released a year ago, on 2022-07-04.

Release notes

Package name: cli-color

2.0.3 - 2022-07-04Maintenance Improvements

Comparison since last release

2.0.2 - 2022-03-31Bug Fixes

Ensure to use widely supported ANSI codes for line move (6838339)

Comparison since last release

2.0.1 - 2021-10-15chore: Bump dependencies

    from cli-color GitHub release notes

Commit messages

Package name: cli-color

ab3f29f chore: Release v2.0.3
2d926b3 chore: Fix repository base for *:updated scripts
246ab9a chore: Upgade `lint-staged` to v13
f2a9722 chore: Upgrade dependencies
ac749b7 docs: Ensure color table presents ok in small width
463dcd1 ci: Update after changes in resusable workflows repo
dc3555d ci: Update up to changes in reusable worflows
4dbbd67 chore: Release v2.0.2
1583883 chore: Bump LICENSE year
2fa487e chore: Improve `.editorconfig` setup
356eacd chore: Drop `@ commitlint/cli` dev dependency
6c8ff21 chore: Drop `standard-version` dev dependency
eaf6d15 chore: Bump dependencies
6838339 fix: Ensure to use widely supported ANSI codes for line move
39eedbd ci: Rely on reusable workflows

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Codecov Report

Merging #10 (3c7ed5e) into master (65d94a9) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master       #10   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            4         4
  Lines          162       162
  Branches        25        25
=========================================
  Hits           162       162


TextSelectionControls overlap app bars

Hey!
I think there is a problem with the TextSelectionControls, at least with the Cupertino ones.
I expect them to render behind App and Navigation Bars.
P.S.: There are custom TextSelectionControls and NavBar on the screenshot, but it doesn't matter, I tested the standard components and they have the same problem, the problem is in the position of the components in the render tree.
https://user-images.githubusercontent.com/7325744/213527231-f68de206-9b1b-4b62-b91d-19761b0309f2.mp4

Logs

[✓] Flutter (Channel stable, 3.3.10, on macOS 13.0 22A380 darwin-arm, locale en-RU)
    • Flutter version 3.3.10 on channel stable at /opt/homebrew/Caskroom/flutter/3.3.10/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 135454af32 (5 weeks ago), 2022-12-15 07:36:55 -0800
    • Engine revision 3316dd8728
    • Dart version 2.18.6
    • DevTools version 2.15.0

Hi @aurokk, this issue is known and is being tracked in https://github.com/flutter/flutter/issues/13182. See also https://github.com/flutter/flutter/issues/59229
Kindly follow up in the issue linked above for updates.
Closing from here as duplicate.
Thank you


Customer consumer group commit source

We have recently purchased a tool that manages it's own offsets.  We know how to extract the offset data and would like to pass it through burrow to centralize all our consumer group monitoring.  Is this currently possible? I have been unable to find anyway to do it today without forking the project.  If not is this a pattern that would be of general interest?
Regards,
Giuseppe

The rewrite that I'm currently working on makes it much easier to write a custom module for getting consumer offsets and passing it in. I don't think it quite works the way you would want it, which is to call some external code. Once this is done, you could write something that could call an external program that outputs a stream of data over stdout in a well-defined manner. What I'm going to ask that that you take a look again in a few weeks once we have this framework ready, and we can revisit.

FYI, it should now be easier for you to do this by creating a new consumer module. It will still require a fork at this time, however part of the rest of the change for 1.0 is that it's now easier to run Burrow as a library within another app. Given that, we should look at how to tell Burrow to use an external implementation of the module interface.


Browsing and importing CSV files from a folder connection no longer works

It is no longer possible to open and import CSV files from a connection to a folder in version 5.0.0.
After creating a connection to a folder, Strata lists CSV files in this folder in the Project Panel but will not open them when double-clicking on them. In addition, it is no longer possible to import a batch of CSV file by selecting them in a connected folder and dragging them into a local folder in the Project Panel. Earlier versions of Strata supported both of these operations, which were extremely useful to have -- it was super easy to select and view different CSV files this way and also very easy to import multiple CSV files at once.

To replicate this issue, do the following:

Select "Create Connection" from the File menu
Browse for a folder containing CSV files
Click "Connect" to create a connection to this folder
Open the connected folder in the Project Panel
Double-click on one of the CSV files in the folder
Right-click on one of the CSV files and select "Open" from the right-click menu
Select a group of CSV files and drag and drop them into a different, local folder in the Project Panel

Double-click open is now fixed. I will also take a look at fixing drag import soon and will leave this issue open until it's fixed.

Fixed


problem in sigin

There are some problem in signin and signout.

Could you give me more detail of the issue??

I got it.Thnx for the help!!

are you replying to wrong thread?

ya,now I am getting it.


Document Connect APIs for TX signing

I imagine we'll start with documentation in this repo's README and then integrate into a new "Integrate transactions in your app" tutorial within our general documentation later, correct?


"Extract Files" option immediately crashes Files

Description
Whenever I try extracting a file with the Extract Files button, it immediately crashes the program. But when I use the button to extract Files to a folder of the same name it works fine.
Steps To Reproduce
No response
Expected behavior
It should be able to extract files with no issue.
Files Version
Version: <IP_ADDRESS>
Windows Version
OS Version: 10.0.22000.176
Relevant Assets
2021-09-05 11:01:28.0659|INFO|OnLaunched|App launched. Prelaunch: False
2021-09-05 11:01:28.5490|INFO|GetDrivesAsync|Drive added: C:, Fixed
2021-09-05 11:01:28.6240|INFO|GetDrivesAsync|Drive added: D:, Fixed
2021-09-05 11:01:28.7230|INFO|GetDrivesAsync|Drive added: E:, Fixed
2021-09-05 11:01:29.1942|INFO|EnumerateDrivesAsync|Adding cloud provider "OneDrive" mapped to C:\Users\RIckey\OneDrive
2021-09-05 11:01:29.9573|INFO|IsRunningOnArm|Running on ARM: False
2021-09-05 11:01:40.0948|ERROR|AppUnhandledException|Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at Files.Filesystem.StorageItems.SystemStorageFolder.get_Path() + 0x8
at Files.Helpers.ZipHelpers.d__0.MoveNext() + 0x305
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb
at Files.Interacts.BaseLayoutCommandImplementationModel.d__50.MoveNext() + 0x389
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__7_0(Object) + 0x1e
at System.Action1.Invoke(T) + 0x28    at System.Threading.WinRTSynchronizationContext.Invoker.InvokeCore() + 0x33    at System.Runtime.InteropServices.McgMarshal.ThrowOnExternalCallFailed(Int32, RuntimeTypeHandle) + 0x21    at __Interop.ComCallHelpers.Call(__ComObject, RuntimeTypeHandle, Int32) + 0xb8    at __Interop.ForwardComStubs.Stub_10[TThis](__ComObject, Int32) + 0x24    at Microsoft.AppCenter.Utils.ApplicationLifecycleHelper.<.ctor>b__17_1(Object, UnhandledErrorDetectedEventArgs) + 0x3d --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21    at Microsoft.AppCenter.Utils.ApplicationLifecycleHelper.<.ctor>b__17_1(Object, UnhandledErrorDetectedEventArgs) + 0x75    at System.EventHandler1.Invoke(Object, TEventArgs) + 0x2e
at __Interop.Intrinsics.HasThisCall__24[TArg0](Object, IntPtr, Object, TArg0) + 0x36
at Files!+0x11cc8e0
2021-09-05 11:01:42.9234|INFO|OnActivated|App activated by ToastNotification
2021-09-05 11:01:43.5186|INFO|GetDrivesAsync|Drive added: C:, Fixed
2021-09-05 11:01:43.6016|INFO|GetDrivesAsync|Drive added: D:, Fixed
2021-09-05 11:01:43.6596|INFO|GetDrivesAsync|Drive added: E:, Fixed
2021-09-05 11:01:43.9177|INFO|EnumerateDrivesAsync|Adding cloud provider "OneDrive" mapped to C:\Users\RIckey\OneDrive
2021-09-05 11:01:52.0061|INFO|IsRunningOnArm|Running on ARM: False
2021-09-05 11:02:53.7900|ERROR|AppUnhandledException|Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at Files.Filesystem.StorageItems.SystemStorageFolder.get_Path() + 0x8
at Files.Helpers.ZipHelpers.d__0.MoveNext() + 0x305
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb
at Files.Interacts.BaseLayoutCommandImplementationModel.d__50.MoveNext() + 0x389
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__7_0(Object) + 0x1e
at System.Action1.Invoke(T) + 0x28    at System.Threading.WinRTSynchronizationContext.Invoker.InvokeCore() + 0x33    at System.Runtime.InteropServices.McgMarshal.ThrowOnExternalCallFailed(Int32, RuntimeTypeHandle) + 0x21    at __Interop.ComCallHelpers.Call(__ComObject, RuntimeTypeHandle, Int32) + 0xb8    at __Interop.ForwardComStubs.Stub_10[TThis](__ComObject, Int32) + 0x24    at Microsoft.AppCenter.Utils.ApplicationLifecycleHelper.<.ctor>b__17_1(Object, UnhandledErrorDetectedEventArgs) + 0x3d --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21    at Microsoft.AppCenter.Utils.ApplicationLifecycleHelper.<.ctor>b__17_1(Object, UnhandledErrorDetectedEventArgs) + 0x75    at System.EventHandler1.Invoke(Object, TEventArgs) + 0x2e
at __Interop.Intrinsics.HasThisCall__24[TArg0](Object, IntPtr, Object, TArg0) + 0x36
at Files!+0x11cc8e0
2021-09-05 11:02:56.2656|INFO|OnActivated|App activated by ToastNotification
2021-09-05 11:02:56.8547|INFO|GetDrivesAsync|Drive added: C:, Fixed
2021-09-05 11:02:56.9338|INFO|GetDrivesAsync|Drive added: D:, Fixed
2021-09-05 11:02:57.0788|INFO|GetDrivesAsync|Drive added: E:, Fixed
2021-09-05 11:02:57.2728|INFO|EnumerateDrivesAsync|Adding cloud provider "OneDrive" mapped to C:\Users\RIckey\OneDrive

Fixed by #6097


IsUpper (Strlib)

Returns false, even if the given string is uppercased

Fixed on Windows (I don't bother checking Linux right now)


could i download pretrained model about dfdc dataset?  Now I get an error.

--2020-11-02 14:27:42--  https://github.com/selimsef/dfdc_deepfake_challenge/releases/download//final_999_DeepFakeClassifier_tf_efficientnet_b7_ns_0_23
Resolving github.com (github.com)... <IP_ADDRESS>
Connecting to github.com (github.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-11-02 14:27:42 ERROR 404: Not Found.
i encontered this issue. What can be done to solve this problem.

You  can download them from the releases page https://github.com/selimsef/dfdc_deepfake_challenge/releases


Update upgrade doc  for node hang issue

This PR updates the upgrade doc to handle the node drain issue what we have seen in https://github.com/ceph/ceph-csi/issues/756
Signed-off-by: Madhu Rajanna<EMAIL_ADDRESS>

@nixpanic ptal

@ShyamsundarR done PTAL

@ShyamsundarR updated PTAL

@nixpanic CI failing for arm64
4.95s$ sudo apt-get -qq update
W: The repository 'https://chacra.ceph.com/r/ceph/nautilus/af06652dc9b2da8c6aadbbecdfafdc7e235abe7d/ubuntu/xenial/flavors/default xenial Release' is not signed.
W: GPG error: https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/4.0 Release: The following signatures were invalid: BADSIG 68818C72E52529D4 MongoDB 4.0 Release Signing Key<EMAIL_ADDRESS>W: The repository 'https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/4.0 Release' is not signed.
E: Failed to fetch https://repo.mongodb.org/apt/ubuntu/dists/xenial/mongodb-org/4.0/multiverse/binary-amd64/Packages  Writing more data than expected (293984 > 286809)
E: Some index files failed to download. They have been ignored, or old ones used instead.
The command "sudo apt-get -qq update" failed and exited with 100 during .

Reading package lists...
W: GPG error: https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/4.0 Release: The following signatures were invalid: BADSIG 68818C72E52529D4 MongoDB 4.0 Release Signing Key<EMAIL_ADDRESS>W: The repository 'https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/4.0 Release' is not signed.
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/repo.mongodb.org_apt_ubuntu_dists_xenial_mongodb-org_4.0_multiverse_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.
The command "sudo -E apt-get -yq --no-install-suggests --no-install-recommends $(travis_apt_get_options) install realpath ruby" failed and exited with 100 during .

In the initial stage of packages update in Travis CI getting error in only arm64, disabling the arm64 CI for now. once Travis CI fixes this issue we can revert it back

disabled build on arm64, can you guys approve it again.  I want to take this in  for 2.0.1 release

Yes am waiting for one more approval.once it's done will rebase

@Mergifyio rebase

@ShyamsundarR @nixpanic PTAL


Allow users to override JwtAccessTokenConverter

Fix for #231
Tests in AuthorizationServerTokenServicesConfigurationTests are also rewritten with ApplicationContextRunner witch is more convenient way to test @AutoConfigurations

Thanks, @tsachev for the PR, this is now merged into 2.2.x.
In the future, if you would do the favor of adding the feature to master, then it's a little easier for me to backport it to 2.2.x. Thanks!

Thanks, @jzheaux. I will work against master if the future.


Blurred tiles

Hello!
First of all, thanks a lot for your work on Pannellum, which always performs wonderfully everywhere I take it.
Right now I'm dealing with a small issue that looks like one of those internet rendering flaws to the causual viewer, but I've discovered a bit of a system behind it. The issue is, that somewhere between moving multires generation from a hosted VPS to a local server at my home and a few  Debian upgrades (oh, and also increasing panorama resolution a LOT), my setup has started to give me a set of blurred tiles (when fully zoomed out) in a square around the nadir of the photo. Three of them square, one L-shaped.
Examples:

https://pano.stoppedphoto.com/pannellum.htm?config=20220701_180043/config.json
https://pano.stoppedphoto.com/pannellum.htm?config=20220623_090358/config.json

Imagine a radius of about 1-2 meters around the nadir and they should be easy to spot. In the attached crop from the second example, one patch is under the bench and one is visible on the right.

The respective configurations:

https://pano.stoppedphoto.com/20220701_180043/config.json
https://pano.stoppedphoto.com/20220623_090358/config.json

Raw panoramas:

https://www.dropbox.com/sh/gczynj51ll2wmhy/AADvLVer5Oz1RQknfAvGVYdxa?dl=0

The blurred tiles are visible browser- and client-independently, so I imagine the blur must be happening either in generate.py, in Python's PIL or somewhere in the interaction between the viewer and the multires directories.

generate.py is from Pannellum 71bac61
Debian 11 64-bit
PIL.version is 8.1.2, from Debian's python3-pil 8.1.2+dfsg-0.3+deb11u1

Invocation of generate.py:
generate.py -q 95 -o "${pano_dir}" "${file}"
If I can provide any other details or test things, please let me know.

After further investigation it seems that the issue always affects the small square tiles in the "2" directory:

2/b1_1.jpg
2/d1_1.jpg
2/f1_1.jpg
2/l1_1.jpg
2/r1_1.jpg

In the following example, I have filled those tiles with a bright red color.
https://pano.stoppedphoto.com/pannellum.htm?config=20220613_190103/config.json
With the replaced tiles, a red flicker is sometimes visible at the respective positions when the panorama is carefully scrolled. I believe that along with the web server log file, this shows that they are requested from the server but some sort of display issue happens.
The original tiles look nice and sharp:

https://pano.stoppedphoto.com/20220613_190103/2/backup/

Very interesting. I think this is an edge case I missed when optimizing the tile display in 05dae19b2806fd01665351ab0f83a8bd203494ed.
Before, a single tile resolution was used everywhere, which led to too much resolution in the middle and not enough resolution at the edges. Now, the resolution is picked on a per-tile basis, which resolved issues with blurry edges, particularly when zoomed out a lot, and is more efficient.
Could you please provided the resolution of the input panorama that was fed to generate.py? This will make it easier to debug the conditions that lead to this issue.

Thanks Matt! The two panoramas in the Dropbox folder (linked above) are:
20220623_090358_IMG_2870_Panorama_a.jpg 15784x7892
20220701_180043_IMG_3091_Panorama_a.jpg 15824x7912

I just fixed this in 950a2ce732cbe8d91f2b5483eaef175eee19675b. An edge case wasn't being handled properly.

Looks perfect, thanks a lot for the fix!


PHP buildpacks not suitable for local dev

It looks like buildpacks are the only way to replicate App Engine environment locally. The limitation is - they are developed with production in mind.
Key problems are:

composer install running with --no-dev
php.ini got opcache.enable=true and would not react to code changes

Are there any recommendations? Would it make sense to update this repo to accept some dev-related flags?

I'm working on some solutions:

php.ini``opcache.enable=true could be resolved per project with php.dev.ini + .gcloudignore that should ignore it during gcloud deployment.
composer could support env COMPOSER_ARGS or COMPOSER_FLAGS that would override https://github.com/GoogleCloudPlatform/buildpacks/blob/df6e1b0001d25405a4ce1a774da54ecb65c1ea8f/pkg/php/php.go#L178

In case someone will need it, the solution for disabling opcache on local:

Create php.local.ini
Add to php.local.ini line opcache.enable=false
Add to .gcloudignore line php.local.ini

This way php.local.ini will apply on local build, but on production it will be skipped because of .gcloudignore.

https://github.com/GoogleCloudPlatform/buildpacks/pull/219

I will make another PR that will check DEV_MODE flag instead. I would recommend adding an option to customize composer flags in the future anyway, mainly because of the possibility to run unit tests inside buildpacks. Most of projects running PHPUnit on deployment, and it would work on current version if composer is installed without --no-dev.

HI @sl0wik no reason to change your PR, I was just musing about DEV_MODE and this was more for the google team.

Ok. I saw considered DEV_MODE variable before but it appeared that option to customize COMPOSER_ARGS would be way more flexible.

Currently, php81 would throw Fork support is only compatible with the epoll1 and poll polling strategies on php artisan tinker. The solution is adding GRPC_POLL_STRATEGY=poll to env (ref.: https://github.com/grpc/grpc/issues/29044#issuecomment-1068244652).

Sounds like the orginal issue reported here was resolved by https://github.com/GoogleCloudPlatform/buildpacks/pull/219


set baud rate for main serial port

baud rate wasn't able to be set for primary tty port.  this fixes that.

Thanks. The changes appear solving the problem that baud_rate in /etc/init/ttyS0 is already 9600. With baud_rate var passing to serial-console.yml now it's possible to override in env file.


GTK4

Hi @Alexays , @alebastr  I've done some digging into GTK4 and opportunity to migrate Waybar to it.
So. I have the first base example of the Waybar which can be build and run with gtkmm4 .
There only base engine... without any modules and event handlers. But I think it's a good start to migrate Waybar.
@Alexays  is it possible for you to create for example separate branch and mark it with labels: unstable, gtk4 and to do cloning from my branch : https://github.com/LukashonakV/Waybar/tree/gtk4
I think it will provide an opportunity to contributors to make contributions, fix errors, find more effective approaches, bring new ideas, speedup the process
About versioning: 4.1.0  - the first digit means (stable release version. Currently it points to GTK4 chain), the second digit experimental version. The third digit update of the stable release. So for example the first stable release of the Waybar GTK4 should be looked like: 4.0.1. - The same versioning system now for example is used by Wine project.
So current 4.1.0 - meanse - Waybar 4 experimental 1 release without updates of the stable release
Once this approach is approved and separate branch is created it's possible to keep TODO list in this issue.
Thank you

Migration tasks

[x] Backlight
[x] Backlight/Slider
[x] Battery
[x] Bluetooth
[x] Cava
[x] CFFI
[x] Clock
[x] CPU
[x] Custom
[x] Disk
[x] DWL
[x] Gamemode
[x] Group
[x] Hyprland
[x] Idle Inhibitor
[x] Image
[x] JACK
[x] Keyboard State
[x] Language
[x] Memory
[x] MPD No guarantee
[x] MPRIS No guarantee
[x] Network
[x] Niri
[x] PulseAudio
[x] PulseAudio/Slider
[x] Privacy
[x] Sndio - need to check
[x] Systemd failed units
[x] River
[x] Sway
[x] WLR
[x] Temperature
[ ] Tray - libdbusmenu is still in gtk3. Need to find another solution
[x] Taskbar
[x] UPower - fully rewritten
[x] WirePlumber No guarantee
[x] Workspaces
[x] User

Once Waybar is migrated need to do additional sync with the master in order to pick up all PR are done since migration process was going on

Dependencies:

[x] gtk4: missbehavior of the Gtk::Label tooltip
[x] gtk3 migration gtk4 Label
[x] gtk4 Label
Confirmed gtk4 - 4.17.0

First of all, I'm not really sure that's a good idea right now. The
approach taken in gtk4-layer-shell, MITM shim library that patches Wayland
protocol messages to replace xdg-shell with layer-shell, seems a bit
fragile to me. Any request or extension protocol that references
non-existing xdg-shell objects may cause the compositor to drop the client.
I'd personally stay away from GTK4 until
https://gitlab.gnome.org/GNOME/gtk/-/issues/2132 is resolved.
Although gtk4-layer-shell works with the current release of gtk4, so maybe
I'm too skeptical. At least it's worth experimenting with.
GTK4 migration will make gtk4-layer-shell mandatory. You'll need to drop
RawSurfaceImpl (it's not possible to make it work), and remove the meson
feature, the configuration flag and all the ifdefs.
This could be started in the current GTK3 version, as I don't see much
sense in keeping an inferior RawSurfaceImpl anymore. gtk-layer-shell is
widespread and I don't believe anyone's still building Waybar without
it. @Alexays,
WDYT?
Please, also check the attempt to replace GtkEventBox with GtkButton and
the resulting fallout. That would be another prerequisite for migration, as
GTK4 removed EventBox
https://docs.gtk.org/gtk4/migrating-3to4.html#stop-using-gtkeventbox, so
it might be worth recovering the code and addressing the remaining blocking
issues.
As a side-note, what are the benefits of GTK4 port? GTK3 will be maintained
for a while, since even GNOME haven't finished migrating all the
components. And by the time GTK3 is EOL, we'll have to start considering
freshly released GTK5 (which is not even being developed right now) :)

Hi @alebastr , thank you for your response. This is definitely what I was needed ,
So.
Regarding benefits... actually there are no any strong advantages waybar can get from the migration process... but according migration guide gtk team recommends to do migration from one major version to another... without any gaps. Of course it's not strictly.. but let's imagine tomorrow we will have GTK5 :))) In such case it would be more difficult to migrate Waybar from GTK3 to GTK5 ... + As I see GTK4 brought much more changes than for example GTK2->GTK3. ... So if it's possible such point can be counted as a one major benefit..
Second regarding eventbox . Actually as I saw according migration guide eventbox was dropped due to all items are are derived from the widget class . And Widget can handle any signals we need. But I still haven't had a chance to check it. If it's true I see we should revise a little AModule and ALabel architecture to satisfy new needs
Third... regarding this https://gitlab.gnome.org/GNOME/gtk/-/issues/2132 - as I see this it the long long long story :))) I think in cas if we wait this ticket is solved.... we will get GTK5 :)))
Actually as I see GTK team strategy is : If possible to avoid responsibility for interaction with Wayland. And seems like that's why the cutoff some APIS. Please see comment -> https://gitlab.gnome.org/GNOME/gtk/-/issues/2132#note_760523 . So I don't see situation will change in a good way :)
Please make sure I don't insist on migration  :) Just to try to figure out whether this good thing to start migration GTK3-GTK4...
And please proceed with the sound criticism
Thanks

Hi @alebastr and @LukashonakV.
I agree with Aleksei, I don't think anyone is still building Waybar without gtk-layer-shell, so I'm pretty ok with dropping RawSurfaceImpl to have only gtk-layer-shell.
But in view of a possible migration to GTK4, it would be a good idea to first drop RawSurfaceImpl and then check that on GTK4 the basic Widget class handles all the events, or whether we should try to migrate to GtkButton again.
Btw, I'll create a branch with your work to let anyone start working on it, with no guarantee that it will be merged into master in the near future.
To have a real advantage with this migration, it would have to bring new features that would be significant for users, why not listing these possibilities in this issue?

@LukashonakV I had started doing this same thing a few weeks ago as a side project, albeit in Python (I don't know any C++ unfortunately due to some bad experiences with it in undergrad). I have some basic functions written and some template classes for the bar itself, but I'm having a hard time getting the widget templates off the ground (I'm a full time SQL dev, so my free time is quite limited). If you know any Python and would like a collaborator, I'd be down to help realize this.

To have a real advantage with this migration, it would have to bring new features that would be significant for users, why not listing these possibilities in this issue?

@Alexays
Hey :-) I apologise in advance if I am misunderstanding, as my technical knowledge is limited to bash scripting, but I've read in other issues that GTK4 may be relevant to implementing some aesthetically oriented features, like hover states.
I know that at the end of the day aesthetics will always be trumped by other more practical concerns, however basic features like hover states probably have a significant impact on peoples interest in using waybar. I know this is subjective, but it certainly gives the bar a somewhat dated feel.

@5p4r74cu5
The main changes in gtk4 were to the development experience imo, with event controllers, not having to show every widget, snapshot structure, nuking cell renderers. Things like this.
The aesthetic differences were ported to gtk3 and waybar uses heavy css.
The main reason someone might want to keep up is the same with most projects in that the current version is the one that people are putting effort in to keep it compliant with all surrounding software. That said, people seem good at making old software still function, such as gimp which is still on gtk2.

@lucyColeclough
Interesting, guess that explains why I gimp is so damn ugly.
Perhaps GTK4 has more of an indirect role in effecting the aesthetics, like regarding hover states, its mentioned as one of the things holding up #1120. I know its just one feature, but I think the hover effect has a disproportional impact of the user experience using waybar. States changing visually on hover is so typical of modern GUIs that it essentially feels like Waybar is broken, on an intuitive level.
That said, I hear you in that from a developer perspective the changes in the development experience will overshadow the effects for the average user, like me :-)

@5p4r74cu5
Ah right forgot, yh in gtk3 you have to wrap stuff in an event box

I fully support this. Being able to not use things like blur effects for me isn't acceptable. For now I'll be using workarounds to that specific problem

Hi @Alexays , finally .... GTK4 branch more or less working well on my machine,
Can you please force push gtk4 branch with the https://github.com/LukashonakV/Waybar/tree/gtk4 .
What is done:

[x] code base is using gtk4 framework
[x] all commits from the master branch till dacecb9 are merged into gtk4 . So for now gtk4 branch is synced with the master
[x] Linter is satisfied

What next:

Need to migrate docker files and update necessary dependencies to satisfy gtk4 branch
Need to migrated modules are left:

[ ] Hyprland
[ ] River
[ ] Tray - libdbusmenu is still in gtk3. Need to find another solution
[ ] Taskbar
[ ] Niri

Rotation of the Label is deprecated in GTK4. So for now this option is disabled. Possible solution is using Cairo for that purpose. It needs to be investigated

@Alexays  can you publish this build as beta gtk4. ? Actually it's not an easy to merge such huge list of commits which where done since I started migration process.
Thank you

Hi @Alexays , GTK4 base migration routine is done. All modules were migrated. All commits from the GTK3 master were picked up. Please give some feedback )

@LukashonakV Just happened to stumble here and noticed you guys were looking for a tray alternative?
I've written a "somewhat functional" tray for my gtk4 bar here
Feel free to use that as a reference, Hope that helps.

Hi @Alexays , finally .... GTK4 branch more or less working well on my machine, Can you please force push gtk4 branch with the https://github.com/LukashonakV/Waybar/tree/gtk4 . What is done:
* [x]  code base is using gtk4 framework

* [x]  all commits from the master branch till [5f26051](https://github.com/Alexays/Waybar/commit/5f260516af9a3e5791c26c7fc18a85a47da5b23f) are merged into gtk4 . So for now gtk4 branch is synced with the master

* [x]  Linter is satisfied

What next:
1. Need to migrate docker files and update necessary dependencies to satisfy gtk4 branch

2. Need to migrate modules are left:

   * [x]  [Hyprland](https://github.com/Alexays/Waybar/wiki/Module:-Hyprland)
   * [x]  WLR
   * [x]  [River](https://github.com/Alexays/Waybar/wiki/Module:-River)
   * [ ]  [Tray](https://github.com/Alexays/Waybar/wiki/Module:-Tray) - libdbusmenu is still in gtk3. Need to find another solution
   * [x]  [Taskbar](https://github.com/Alexays/Waybar/wiki/Module:-Taskbar)
   * [x]  [Niri](https://github.com/Alexays/Waybar/wiki/Module:-Niri)

3. Rotation of the Label is deprecated in GTK4. So for now this option is disabled. Possible solution is using Cairo for that purpose. It needs to be investigated

@Alexays can you publish this build as beta gtk4. ? Actually it's not an easy to merge such huge list of commits which where done since I started migration process.
Thank you

Hi @Alexays , any feedback ?

Could it be merged with/skipping/except the libdbusmenu as experimental/beta until that part is figured out instead of holding it here?

Could it be merged with/skipping/except the libdbusmenu as experimental/beta until that part is figured out instead of holding it here?

I - for one - find the Waybar tray a useful feature that I use, so I'd prefer not.

@LukashonakV first of all, thanks for working on this. Some initial feedback on the GTK4 patch.
I've built Waybar (https://github.com/Alexays/Waybar/commit/86451156190e69afafb2162fb5891c0fc68c26e7) applying your GTK4 patch, I took note that the updated dependencies are libgtkmm-4.0 and libgtk4-layer-shell (didn't identify more). When compiling the GTK4 branch I see some compile warnings, can't say if they were present in the GTK3 branch.
When running Waybar/GTK4 I've found a few issues. Where can I report them, where do you want to track them?

"bar configured" info message repeats continuously

[2024-11-16 12:16:17.449] [info] Bar configured (width: 1920, height: 33) for output: eDP-1
[2024-11-16 12:16:17.481] [info] Bar configured (width: 1920, height: 33) for output: HDMI-A-2
...

bluetooth module does not work (unsure why, nothing is logged on stderr/stdout)
Tray icons do not appear (known issue)

Thoughts:

Would it make sense opening a pull request on this repository to be sure your branch stays in sync with upstream and compiles cleanly?
I wonder if the situation regarding gtk layer shell changed since this comment. Unsure about the context and implcitations here, but I could compile the Waybar+GTK4 patch by updating the libgtk4-layer-shell dependency.

Hi @apiraino , thank you for your feedback.
So regarding some thoughts here

gtk4 should be at least 4.16 version. gtk4 Label
Actually Alex already created gtk4 branch 10+- months ago when I have the first attempt to build waybar with gtk4. But honestly saying it was very raw variant. A lot of changes are made since that time. + Actually I've recreated base gtk4 branch in order to have tree of commits synced with the master branch. That's the only reason I cannot create pull request for that. If Alex just override gtk4 branch forced by mine it's just align not only code base but tree of commits to. Then it'll be much easy to backport incoming commits from the master branch to the gtk4 and vice versa.
Regarding bluetooth module. Let me check once I have time
Regarding workspaces... which module do you use hyprland/sway ? There is difference between their implementation
gtk branch has got gtk-layer-shell dependency version 4. https://github.com/LukashonakV/Waybar/blob/654a3268983c05740d6f5dbde1f117a1b731ccc8/meson.build#L108 . If the question about dependency naming... it can be solved easily ... if it's necessary :)

I've investigated a little bit the issues I mentioned before, here are some minimal configs to reproduce:

"bar configured" info message repeats continuously:

{
    "modules-left": ["network"],
    "network": {
        "interval": 1
    }
}

workspaces and bluetooth modules not showing up. you can probably trigger this If you uncomment fixed-center

{
    "height": 33,
    //"fixed-center": false,
    "modules-left": ["sway/workspaces", "sway/mode", "bluetooth"]
}

Hope it helps, thanks!

Hi @apiraino
Actually the only thing I can reproduce is "bar configured" info message repeats continuously
All others stuff works for me well.
In the screenshot Top bar is running in GTK4. As you can see sway/workspaces in the left and bluetooth in the center works well for me. It might  be the reason that you build waybar using patch from the mine branch and some things are not took into the account.

@LukashonakV w.r.t. "workspaces and bluetooth modules not showing up". I can reproduce also with your branch.
Just to be sure I made it clear how to reproduce, this config will reproduce the issue:
{
    "height": 33,
    "fixed-center": false,
    "modules-left": ["sway/workspaces", "sway/mode", "bluetooth"]
}

I also see a warning when starting Waybar:
(waybar:1542750): Gdk-WARNING **: 20:41:18.987: (../../../gdk/wayland/gdktoplevel-wayland.c:399):gdk_wayland_toplevel_compute_size: runtime check failed: (size.width > 0)

This other config does not reproduce the issue (and I don't see the warning either):
{
    "height": 33,
    // "fixed-center": false,
    "modules-left": ["sway/workspaces", "sway/mode", "bluetooth"]
}

Will this support things like CSS transforms? for example "-gtk-icon-transform" or just simply "transform".
For reference: https://docs.gtk.org/gtk4/css-properties.html

There is https://packages.debian.org/sid/libdbusmenu-gtk4
Although it might be debian specific.
It also might not be that bad to implement the menu manually instead of using a library.

Although the package you linked is called libdbusmenu-gtk4 for some reason, it's actually made for GTK-2+

I fully support this. Being able to not use things like blur effects for me isn't acceptable. For now I'll be using workarounds to that specific problem

Looking back at that is funny now since I use TWM, X11 cursors, hate GTK 4.0 (GTK theming), and am on my way to make my system completely monochrome (basically a classic X11 enthusiast)

...I use TWM, X11 cursors, hate GTK 4.0 (GTK theming), and am on my way to make my system completely monochrome...

This is only a GTK4 port, which has nothing to do with the theming. GTK4 is NOT just Libadwaita exclusively, they're indeed very separate things. You didn't even read up before having an opinion on it, let's not waste contributors' time here please.


Missing license

I was unable to find a license statement anywhere in this repository. This means that, unless I have missed something, the default under copyright law applies, and unfortunately, that means we are essentially not allowed to do anything with your code.
Please put an explicit license on your code. It should be sufficiently permissive and compatible with the SCIP license. (In particular, the GNU GPL would be very unsuitable because of its strong copyleft/share-alike provision that conflicts with the SCIP license.)
I would suggest:

either the MIT license used in JSCIPOpt: https://github.com/scipopt/JSCIPOpt/blob/master/LICENSE
or the Apache License (version 2.0): https://www.apache.org/licenses/LICENSE-2.0

Done, thanks!


Add mapId in GoogleMap Component

Hi, it would be great to add the mapId parameter in this component.
Thx !

Thanks!


WIP - made some progress fixing Flatten

@gribozavr I made some progress on Flatten but my life is interfering with me making more progress on this in the short term. Passing it up to you just in case you need to make progress on this.
...before...
Flatten.swift.gyb:324:28: error: type 'Self' does not conform to protocol 'BidirectionalCollection'
Flatten.swift.gyb:254:15: error: type 'FlattenCollection<Base>' does not conform to protocol 'Collection'
Flatten.swift.gyb:254:15: error: type 'FlattenCollection<Base>' does not conform to protocol 'Indexable'
Flatten.swift.gyb:263:20: note: possibly intended match 'Index' (aka 'FlattenCollectionIndex<Base>') does not conform to 'Comparable'
Flatten.swift.gyb:254:15: error: type 'FlattenCollection<Base>' does not conform to protocol 'Sequence'
Flatten.swift.gyb:335:43: error: type 'Self.Elements' does not conform to protocol 'BidirectionalCollection'
Flatten.swift.gyb:254:15: error: type 'FlattenBidirectionalCollection<Base>' does not conform to protocol 'Collection'
Flatten.swift.gyb:254:15: error: type 'FlattenBidirectionalCollection<Base>' does not conform to protocol 'Indexable'
Flatten.swift.gyb:263:20: note: possibly intended match 'Index' (aka 'FlattenBidirectionalCollectionIndex<Base>') does not conform to 'Comparable'
Flatten.swift.gyb:254:15: error: type 'FlattenBidirectionalCollection<Base>' does not conform to protocol 'Sequence'
Flatten.swift.gyb:144:27: error: value of type 'BaseElements.Iterator.Element.Index' has no member 'successor'
Flatten.swift.gyb:148:22: error: value of type 'BaseElements.Index' has no member 'successor'
Flatten.swift.gyb:187:34: error: cannot convert value of type 'BaseElements.Indices.Iterator.Element' to expected argument type 'Range<_>'
Flatten.swift.gyb:190:23: error: 'BaseElements.Indices.Iterator.Element' is not convertible to 'BaseElements.Index'
Flatten.swift.gyb:315:12: error: generic parameter 'S' could not be inferred
Flatten.swift.gyb:144:27: error: value of type 'BaseElements.Iterator.Element.Index' has no member 'successor'
Flatten.swift.gyb:148:22: error: value of type 'BaseElements.Index' has no member 'successor'
Flatten.swift.gyb:168:7: error: value of type 'BaseElements.Index' has no member '_predecessorInPlace'
Flatten.swift.gyb:174:7: error: value of type 'BaseElements.Index' has no member '_predecessorInPlace'
Flatten.swift.gyb:180:25: error: value of type 'BaseElements.Iterator.Element.Index' has no member 'predecessor'
Flatten.swift.gyb:187:34: error: cannot convert value of type 'BaseElements.Indices.Iterator.Element' to expected argument type 'Range<_>'
Flatten.swift.gyb:190:23: error: 'BaseElements.Indices.Iterator.Element' is not convertible to 'BaseElements.Index'
Flatten.swift.gyb:315:12: error: generic parameter 'S' could not be inferred

...after...
Flatten.swift.gyb:391:43: error: type 'Self.Elements' does not conform to protocol 'BidirectionalCollection'
Flatten.swift.gyb:200:34: error: cannot convert value of type 'BaseElements.Indices.Iterator.Element' to expected argument type 'Range<_>'
Flatten.swift.gyb:203:23: error: 'BaseElements.Indices.Iterator.Element' is not convertible to 'BaseElements.Index'
Flatten.swift.gyb:200:34: error: cannot convert value of type 'BaseElements.Indices.Iterator.Element' to expected argument type 'Range<_>'
Flatten.swift.gyb:203:23: error: 'BaseElements.Indices.Iterator.Element' is not convertible to 'BaseElements.Index'

@shawnce LGTM modulo review comments, merging!


missing signature key

i am try to install it as per youtub videos and other google tips, but not work
[root@CentOS-79-64-minimal ~]# ls
proxy
[root@CentOS-79-64-minimal ~]# cd proxy
[root@CentOS-79-64-minimal proxy]# docker build proxy/ -t whatsapp_proxy:1.0
Sending build context to Docker daemon 19.46 kB
Step 1/29 : FROM haproxy:lts-alpine
Trying to pull repository docker.io/library/haproxy ...
missing signature key
[root@CentOS-79-64-minimal proxy]#

Hi @spacesoft321
This might be due to an old Docker installation. Please update your Docker and try again.

Closing this task since it's been a while with no replies.


Stuck querying when @'ing it in Discord

Describe the bug
The bot is stuck querying when I "@" it in Discord.
To Reproduce
Initialize
> pnpm start --character="characters/kevin.character.json"
(node:28440) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
 ["◎ DirectClientInterface start"]

 ["◎ DirectClient constructor"]

charactersArg characters/hevin.character.json
characters [
  {
    name: 'Kevin',
    clients: [ 'discord' ],
    plugins: [],
    modelProvider: 'openai',
    settings: { secrets: {}, voice: [Object] },
    system: 'Roleplay and generate interesting on behalf of Eliza.',
    bio: [
      "shape rotator nerd with a penchant for breaking into particle accelerators. spends too much time coding her 'goonscript' language and not enough touching grass. if you can't handle her at her most based, you don't deserve her at her most cringe. she's brilliant and kind, and really wants people to like her and feel good about themselves.",
      ...
    ],
    lore: [
      "she once spent a month living entirely in VR, emerging with a 50-page manifesto on 'digital ontology' and blurry vision",
       ...
    ],
    messageExamples: [
      [Array], [Array],
      [Array], [Array],
      [Array], [Array],
      [Array]
    ],
    postExamples: [
      'ai is cool but it needs to meet a human need beyond shiny toy bullshit',
      ...
    ],
    adjectives: [
      'funny',
      ...
    ],
    people: [],
    topics: [
      'metaphysics',
      ... 32 more items
    ],
    style: { all: [Array], chat: [Array], post: [Array] }
  }
]
 ["◎ sqlite-vec extensions loaded successfully."]

 ✓ SUCCESS
   SUCCESS
   Creating runtime for character
   Kevin

 ✓ SUCCESS
   Agent ID
   03419646-efb1-0b57-a0ec-0027c41d97ae

 ["✓ Registering action: CONTINUE"]

 ["✓ Registering action: FOLLOW_ROOM"]

 ["✓ Registering action: UNFOLLOW_ROOM"]

 ["✓ Registering action: IGNORE"]

 ["✓ Registering action: NONE"]

 ["✓ Registering action: MUTE_ROOM"]

 ["✓ Registering action: UNMUTE_ROOM"]

 ◎ LOGS
   Registering service:
   browser

 ◎ LOGS
   Registering service:
   image_description

 ◎ LOGS
   Registering service:
   text_generation

 ◎ LOGS
   Registering service:
   pdf

 ◎ LOGS
   Registering service:
   speech_generation

 ◎ LOGS
   Registering service:
   transcription

 ◎ LOGS
   Registering service:
   video

 ["✓ Server running at http://localhost:3000/"]

 ["✓ Service browser initialized successfully"]

 ["✓ Service image_description initialized successfully"]

 ["✓ Service text_generation initialized successfully"]

 ["✓ Service pdf initialized successfully"]

 ["✓ Service speech_generation initialized successfully"]

 ["✓ Service transcription initialized successfully"]

 ["✓ Service video initialized successfully"]

 ["✓ Registering action: JOIN_VOICE"]

 ["✓ Registering action: LEAVE_VOICE"]

 ["✓ Registering action: SUMMARIZE_CONVERSATION"]

 ["✓ Registering action: CHAT_WITH_ATTACHMENTS"]

 ["✓ Registering action: TRANSCRIBE_MEDIA"]

 ["✓ Registering action: DOWNLOAD_MEDIA"]

 ["◎ Chat started. Type 'exit' to quit."]

["✓ Logged in as ai16z#4044"]

 ["✓ Use this URL to add the bot to your server:"]

 ["✓ https://discord.com/api/oauth2/authorize?client_id=1315345313481101414&permissions=0&scope=bot%20applications.commands"]

Finished loading
Talking in console

You: hi

 ["◎ Querying knowledge for: hi"]

 ["◎ Genarating message response.."]

 ["◎ Genarating text..."]

 ◎ LOGS
   Evaluating
   GET_FACTS

 ◎ LOGS
   Evaluating
   UPDATE_GOAL

 ["✓ Normalized action: continue"]

 ["✓ Executing handler for action: CONTINUE"]

modelClass small
 ["◎ Genarating text..."]

 ["◎ Not elaborating, returning"]

Agent: hey! what’s up? got any cool projects on your mind?
You:

When I "@" it in Discord:
It gets stuck here.
["◎ Querying knowledge for: hi"]

Expected behavior
The bot to respond to me in Discord as it does when I talk to it in the console.
Additional context
The bot has the correct permissions as it has the adminstrator permission:

It was also able to talk once, but I don't know how that happened and it doesn't happen again.
My repository is clean except for pnpm-lock.yaml, and my character has the discord client and openai model.

Hi, I will begin looking into this.

For reference, I'm running this on a Ubuntu VM on Arch Linux, but I don't think that should make a difference. But just to be sure, I will try running it on a Windows 10 Pro VM then Windows 10 natively if that doesn't work either.

I'm not sure if it's related but recently I can't get the agent to respond in Discord anymore. It receives the messages and creates a log but no response is triggered. I went back to a clean v0.1.5 codebase and wiped everything but even with the standard character tate I can't get it to respond.

I had the same issue, but for me, it was that the agent would ignore messages with less than 10 characters. And I kept spamming it with "Hi @Agent" messages

The ignore function defines that it should ignore messages with fewer than 10 characters.
https://github.com/ai16z/eliza/blob/2a03469527e264ef9a546c7a50cee558f0ab7744/packages/client-discord/src/messages.ts#L488
As discussed with @Kevin-Mok, I am linking the code here so he can close the issue


[doc] dead link of sim result page

hi Cindy
on the Different IP simulations results page in the bottom there is a link to the lint results
but they all returning 404
https://reports.opentitan.org/hw/ip/aes/dv/latest/results.html
scroll to the bottom

Thanks Rasmus, I will take a look!

I do not see any more dead links in the simulation page. I will close this issue.
If you have any further questions, feel free to reopen this one, or file another issue.


Create Median of Two Sorted Arrays

Median of 2 sorted array.

@mrgokuji this program is already added in c++ , choose another language.
create an issue again , closing the pr :)


Do not allow cache clearing with APCu

Refs https://github.com/doctrine/doctrine2/pull/7493#pullrequestreview-180007007

@greg0ire all of the LogicExceptions have the same grammar error... do I fix all of them?

It's up to you I think, but do not introduce more of them :P

@greg0ire wording for all exceptions updated.
@Ocramius UPGRADE.md has been updated.

We'll need to target master here

@Ocramius doesn't targeting master imply version 3.0? I was really hoping to avoid that.

@Ocramius in my mind this is a bugfix release, since clearing cache with APCu driver did not actually perform the expected operation.

It was not doing anything, but now it throws, which means every deploy script that calls it will fail under the right circumstances. That makes it a BC-break. Plus the cache is still not cleared, so not a bugfix either I think. It's just a nice DX improvement. It you want it to land on lower branches, maybe make the bugfix a simple call to one of the methods of OutputInterface or trigger a deprecation (to be confirmed, not sure what the Doctrine policy would be for this). That wouldn't be a BC-break I think.

Yes, by producing just a warning, it would not be a BC break

No, that would be yet another BC break 😜

@Ocramius okay, and how do you want to handle master branch? Separate PR? I'm don't know how the merging from 2.6 to master is done.

That's done by us later on
On Sat, 1 Dec 2018, 22:31 Woody Gilk<EMAIL_ADDRESS>wrote:

@Ocramius https://github.com/Ocramius okay, and how do you want to
handle master branch? Separate PR? I'm don't know how the merging from
2.6 to master is done.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/doctrine/doctrine2/pull/7494#issuecomment-443460062,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJakPaPhOFSDeRoTmLxJvwwAQB6lNw1ks5u0vUfgaJpZM4Y77gE
.

@Ocramius okay, then how about I make this PR against 3.0 and then add a "backport" for 2.6 that replaces the exception with a warning?

Since you are aiming for an improvement, then just re-target this patch to master and call it a day

@Ocramius rebased to master.

@Ocramius tests are passing now.


Fix redirect on the Apex domain to WWW domain

This should fix issue https://github.com/buildo/terraform-aws-website/issues/4, the regression caused by my previous PR.
After re-applying I again get the expected redirect from the naked domain to the WWW domain.
Hopefully it works for you as well. Since I modified the ID of the policy (so it's unique, just in case this matters for AWS for this policy type), the plan should show changes to 2 resources.

Hi @tnleeuw, I tried applying this set of changes but I'm afraid it's still not working for me. I'm still getting 403 AccessDenied. 😕
Is it possible that the naked-domain distribution needs access to the www-domain bucket? At the moment we use the same origin_access_ident for both distributions, maybe we need two, with a bucket policy allowing two principals?
According to this thread we might not even need two buckets... but I would leave that for later.

That is odd because it worked for me after just applying the plan using updated module... I'll have to investigate this.
The naked domain distribution shouldn't need any access to the www-domain, in my understanding.
I'll get back on this after I've done some investigation.

In the properties of your "Naked domain" bucket, what is the target that it is redirecting to?
In the TF files we configure it to redirect to whatever the ID is of the other bucket. If that would make it somehow redirect to the actual bucket endpoint URL, that would be a problem since that's a private bucket.
However when I look at the configuration of the bucket in my AWS account it redirects to the WWW domain - which is good.
The fact that the Origin Access Identity is shared for both buckets and CloudFront distributions doesn't seem to cause any issues for me.
I'll try recreating the site from scratch (I'm still in a testing phase with this site so there's no problem yet for me to bring it down and back up).

@dhinus I tested with 2 different origin access identities but this doesn't make a difference.
This is a weird and annoying issue and I've had this happen before - even before I started making any changes to the module code, with version 1.2. That was what even triggered me to look further and make changes. Very vexing  that it seems to happen unreliably as I now have 1 working domain, and 1 broken domain, yet they look very similar. (I used different modules to create those two domains and the working domain is created with this particular module!)

Interesting, I'll investigate a bit more on my side as well.
A few notes:

in the AWS console, the naked-domain bucket is set to redirect requests to www.testone.our.buildo.io, so not to the S3 endpoint.

the S3 endpoints for the two domains behave differently: curl --verbose http://testone.our.buildo.io.s3-website-eu-west-1.amazonaws.com returns a 301 redirect to www.testone.our.buildo.io, whereas curl -L --verbose http://www.testone.our.buildo.io.s3-website-eu-west-1.amazonaws.com returns a 403 Forbidden. The bucket policy does not seem to apply for buckets set to redirect all requests.

That is different from my setup already, though created with the same Terraform code... Perhaps because I created the buckets with a later version of the code??
What if you manually change the redirect of the naked domain?

I tried manually applying the suggestion from the Reddit thread you linked @dhinus, but this didn't work for me either.
I tried setting up a Route53 CNAME Alias from test.demo.l1nda.biz to www.demo.l1nda.biz but that results in an error from CloudFront:
403 ERROR
The request could not be satisfied.
Bad request.
Generated by cloudfront (CloudFront)
Request ID: ctdwDQFVpJyHolBkMThe4OSIH5YU_SjW4zd0sdUihF0wu6nDos8taw==

So that doesn't appear to be a solution either.
I'm not sure what to do now, since some of the distributions seem to work and others seem to fail without me being able to pinpoint the relevant differences.
In any case for the site I'm now working on, we actually probably don't even need the redirection for most domains but in trying to be helpful I haven't actually properly solved an issue.


InfrastructureManager::rearrangeInfraRofVector bug with both ROF and demand-triggered infrastructure

In the case where a utility has (a) projects triggered by both ROF and demand and (b) the number of ROF-triggered projects differs than the number of demand-triggered projects, this routine will always throw an error.
Suggested solution: the function argument infra_construction_triggers is passed from the Utility constructor. If ROF project triggers are always placed first in this vector when a utility object is created in the Problem class, followed by demand triggers, the process to build a standard infra_construction_triggers_new within the rearrangeInfraRofVector function can be changed, replacing lines 146-161 of InfrastructureManager.cpp of the master to:
vector<double> infra_construction_triggers_new((unsigned long) size, 1e10);
for (unsigned long i = 0; i < infra_construction_triggers.size(); ++i) {
    // first, check ROF triggers
    if (i < rof_infra_construction_order.size()) {
        auto ws = (unsigned long) rof_infra_construction_order.at(i);
        infra_construction_triggers_new.at(ws) = infra_construction_triggers.at(i);
    } else { // next, follow with demand triggers
        auto ws = (unsigned long) demand_infra_construction_order.at(i-rof_infra_construction_order.size());
        if (infra_construction_triggers_new.at(ws) != 1e10)
            throw invalid_argument("A source can be triggered only by "
                                   "either rof or by demand.");
        infra_construction_triggers_new.at(ws) = infra_construction_triggers.at(i);
    }
}

Hi Dave, thanks a lot for submitting the issue. I think that having one vector for each would make the input more organized, don't you think? I believe this would also simplify the code. Would you be able to create a unit test for this and submit a pull request with your bug fix?