Reload4j doesnot have this package org.apache.log4j.lf5.viewer.categoryexplorer

Hi,
Currently I have updated my project from log4j 1.7 to reload4j1.9
everything works fine but one functionality breaks
Exception in thread "AWT-EventQueue-2" java.lang.NoClassDefFoundError: org/apache/log4j/lf5/viewer/categoryexplorer/TreeModelAdapter
I have checked and found that reload doesn't contain this package
Any help will be appreciated

LF5 package was voluntarly removed in <IP_ADDRESS>
See full release note here : https://reload4j.qos.ch/news.html

2022-01-21 - Release of reload4j <IP_ADDRESS>
[...]
• The LF5 package was removed with no replacement.

corresponding commit :
https://github.com/qos-ch/reload4j/commit/a78daf22ae0f3e986c4020c094e38d4d0f4f7fbc
More LF5 resources that were left in the dist were removed in 1.2.20
see commit https://github.com/qos-ch/reload4j/commit/f8f3382db330b59cb49ab545f000707633971f54
If you were relying on those classes in your dev/confiugration

your best move is to get rid of them in your dev/configuration
otherwise you need to reintroduce them by yourself for your need... Beware of potential security implication

If you were not using those classes, test the 1.2.20 in case the exception occured due ton automatic configuration from resources that were left.


Ideal size of gin_channels for multiple speaker embeddings?

Hi Jaehyeon, I modified your code to train multiple speakers and it seems to be training and inferring pretty well. Thanks for leaving the code in a state that makes this relatively easy!
Here are my hparams:
    "n_speakers": 10,
    "gin_channels": 16

I have nine speakers, but mistakenly didn't zero index them.
Is gin_channels too small? Should this be appreciably larger to capture the voice characteristics? 32? 64? ...?
Two of the speakers have four hours of data. Other speakers have far less. Oddly, the speaker with the smallest amount of data seems to have one of the clearest voices. Other speakers don't sound like their source at all.
I'm only epoch 1400 in so far and I had to train from zero, so this has got a long way to go. Should I abandon this and increase gin_channels, or does it seem fair to proceed?

@echelon  Hi echelon.
As I haven't tested on such small datasets, I couldn't give you a solution. Sorry for that.
In my case, I didn't care much for the dimension, so I set gin_channels to be big enough. Therfore, I trained my model on LibriTTS with 256 dimensional gin_channels.
I think big gin_channels does not harm in your case, either.
I hope it would be helpful for your case :)

Thanks so much for the feedback! 256 dimensions performs much better as far as I can tell.
It's perhaps a little premature to report my findings, but I've performed the following:

Train 64 n_speaker model with 256 gin_channels. All channels are trained and validated on LJS sample data distributed evenly across the speaker tokens [0,64).
After training all 64 channels on LJS, substitute an arbitrary number of low-number speakers with novel data sets. (I'm currently training 10 voices.) The remaining speaker channels must continue to be trained on LJS or the model loses fit.

I'll report back when I've had longer to let this run on my two 1080 Ti cards, but the early results already seem promising.

Thanks so much for the feedback! 256 dimensions performs much better as far as I can tell.
It's perhaps a little premature to report my findings, but I've performed the following:

Train 64 n_speaker model with 256 gin_channels. All channels are trained and validated on LJS sample data distributed evenly across the speaker tokens [0,64), with 10% withheld for validation evenly across the same channels.
After training all 64 channels on LJS, substitute an arbitrary number of low-number speakers with novel data sets. (I'm currently training 10 voices.) The remaining speaker channels must continue to be trained on LJS or the model loses fit.

I'll report back when I've had longer to let this run on my two 1080 Ti cards, but the early results already seem promising.

Could you please make a small google colab file demonstrating how to add 2 more speakers? One as source speaker and one as a target speaker, to be able to convert the voice of the 1st speaker to the voice of the 2nd speaker. Thanks!

Hi @echelon ,
Can you please share the link of github repo if you have published the multi speaker version of code for glow-tts ?


Fixed an issue that caused following bug

Warning: Each child in an array or iterator should have a unique "key" prop. Check the render method of BlogIndex. See https://fb.me/react-warning-keys for more information.

@KyleAMathews Please review the changes and let me know if its the right fix.

ah, nice catch! Thanks!


Injected software isn't working properly

I can get GW2Hook to load, but ArcDPS isn't loading at all.
Not sure what I'm doing wrong.

Doing everything I can to try to get it to work.. even just running d3d9.dll in the injector section.. it's not loading at all.

So clearing 200 cache folders helped a little, but build templates nor extras for arcdps load no matter what I do.  I can load the game normally with them in bin64, but they refuse to load with 1.8.9

I'm not at all familiar with the inner workings of ArcDPS, so this may be a question better suited to that particular dev, however if I were to take a guess... Remove either d3d9_chainload.dll (less likely to work) or follow normal ArcDPS chainload configuration and only load d3d9_chainload.dll.
What I assume is happening is one of two things:

chainload is looking for arcdps but not finding it because it is not named as expected.
chainload is loading arcdps and/or plugins, but so is LB causing a conflict and both instances to cancel themselves.


App build failed: Cannot find module '.output/public/i18n/prerender/3c199285.js'

Environment
------------------------------
- Operating System: Darwin
- Node Version:     v18.16.0
- Nuxt Version:     3.4.3
- Nitro Version:    2.4.0
- Package Manager<EMAIL_ADDRESS>- Builder:          vite
- User Config:      modules, i18n
- Runtime Modules<EMAIL_ADDRESS>- Build Modules:    -
------------------------------

Reproduction
https://github.com/lukaszflorczak/nuxt-i18n-playground

pnpm install
pnpm build
node .output/server/index.mjs

Describe the bug
If I use a configuration file for vueI18n, there is an error during app building:

And also during preview:

It doesn't matter if I use the default file name i18n.config.ts or set a custom path with i18n.vueI18n in nuxt.config.ts.
Additional context
No response
Logs
No response

Same problem:
Version: 8.0.0-beta.12
Problem only appear on linux. Windows works well.

i revert to 8.0.0-beta.11 but im suffer an old error (only windows): https://github.com/nuxt-modules/i18n/issues/2039

Also having this issue.

It's not super clear from the changelog, but since 8.0.0-beta.12 this was added to the docs under getting started/setup:

After changing this it worked again for me.

Sorry, poor our changelog.
from v8.0.0-beta.12, we need to setup "type": "module" to package.json.

Anyone having this issue when testing your error pages?
So I have added "type": "module" to package.json which fixes the error, however, when I purposely go to a missing page to test my 404 page, the issue appears again. Below is a log from vercel:
@nuxtjs/i18n Cannot find module '/var/public/__i18n__/prerender/cfcb45fa.js' imported from /var/task/chunks/app/_nuxt/i18n.options-1476e7cb.mjs Unhandled Promise Rejection 	{"errorType":"Runtime.UnhandledPromiseRejection","errorMessage":"Error: Page not found: /bhh","reason":{"message":"Page not found: /bhh","statusCode":404,"statusMessage":"Page not found: /bhh"},"promise":{},"stack":["Runtime.UnhandledPromiseRejection: Error: Page not found: /bhh","    at process.<anonymous> (file:///var/runtime/index.mjs:1189:17)","    at process.emit (node:events:525:35)","    at emit (node:internal/process/promises:149:20)","    at processPromiseRejections (node:internal/process/promises:283:27)","    at process.processTicksAndRejections (node:internal/process/task_queues:96:32)"]} Unknown application error occurred Runtime.Unknown

@monkemedia not here

I have the same problem
i18n.options.025c93dd.js:1 @nuxtjs/i18n Failed to fetch dynamically imported module: https://example.com/__i18n__/prerender/de34d178.js
Version: v8.0.0-beta.12
Environment: Docker version 23.0.1, build a5ee5b1
S.O: Rocky Linux 8.6
my i18n config:
import es from './langs/es.json'
import en from './langs/en.json'
import it from './langs/it.json'

export default defineI18nConfig(() => ({
    legacy: false,
    locale: 'es',
    messages: {
        es,
        en,
        it
    }
}))

I put "type": "module" on my package.json but problem persist.
The error is intermittent and does not happen every time. I have also tried in incognito mode.
I develop locally with windows and the problem does not appear

i have same issue. Are you resolve it?

i have same issue. Are you resolve it? @50l3r

nope :(

issue fixed with update<EMAIL_ADDRESS>to<EMAIL_ADDRESS>you try

issue fixed with update<EMAIL_ADDRESS>you try @50l3r

Much thanks @glorfindel9. beta.13 works fine


Controls <IP_ADDRESS> and <IP_ADDRESS> use hardcoded values instead of variables

https://github.com/ansible-lockdown/Windows-2016-CIS/blob/devel/tasks/section02.yml#L704
https://github.com/ansible-lockdown/Windows-2016-CIS/blob/devel/tasks/section02.yml#L718

Addressed with PR#24 and release 1.2.1


Registering custom matchers

Hi, I wrote a custom matcher for spec2. I tried to use the register_matcher macro, but, unfortunately, my matcher is not suited to that. Probably, that's because my matcher's initializer has named arguments and a block argument as:
def initialize(foo, bar = "default", baz = true, &block)
  # ...
end

So, I directly define my matcher into the Spec2::Matchers namespace for now.
Here is my proposal for the additional protocol to register custom matchers.
module Spec2::Matcher
  macro register(matcher)
    ::Spec2::Matchers << ::{{matcher.id}}
    module ::Spec2::Matchers
      include ::{{matcher.id}}
    end
  end
end

module DslNameMatcher
  def self.matcher_name
    "dsl_name"
  end

  def dsl_name(foo, bar = "bar", baz = true, &block)
    Matcher.new(foo, bar, baz, block)
  end

  class Matcher
    include Spec2::Matcher

    def initialize(foo, bar, baz, block)
      # ...
    end
  end
end

Spec2::Matcher.register DslNameMatcher

It's simple and accepts all argument patterns.

let me close this issue because there is no reply. thanks.


Make OTP input field  hint generic

The OTP widget  is currently being used not only for an actual OTP input but for any other non-pin numeric authentication input.
And the hint text currently says "OTP". This is misleading to users when the input requires anything other than an actual OTP,  e.g a phone number.
See screenshot:

What do you think should be there... I'm thinking about fixing this along with #48  since they are both on the same widget.

I honestly don't know what should be there yet. Do you have any idea?


A PATCH is neither safe nor idempotent as defined by [RFC2616]

In the section PATCH a PATCH request is described as idempotent but according to the RFC2616 it isn't.

What is correct?

I believe this was a copy-paste error.


UL default style

An unsorted list (without any framework classes) hides the bullet points, It'd be nice to have a class that returns it to default state or have it so class-less ULs show the bullet points by default.

Added in 51dead92e41ce995d3eb2a9775383c7b30aff2b8
Use the class .browser-default

This is still messed up!
If I add .browser-default to a UL, I would expect the padding and list items to have their default appearance - see demo
This css is needed to make the browser-default class actually behave as expected:
ul.browser-default {
  padding-left: 40px;
}
ul.browser-default li {
  list-style-type: inherit;
}

Please consider changing the definition in the _global.scss file as follows:
ul {
  &:not(.browser-default) {
    padding: 0;
    list-style-type: none;

    li {
      list-style-type: none;
    }
  }
}


CSPLayout is being deprecated in favor of VF2Layout

In https://github.com/Qiskit/qiskit-terra/issues/4443 we replaced CSPLayout with VF2Layout. Since the are functionally equivalent, I suggest to remove CSPLayout.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 84.377%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
54499

Relevant Lines:
64590

💛  - Coveralls


Automate Deployment of Docker-compose with Keycloak for Demos

After completion of issue #409 (OIDC Support for Admin UI), we will need a way to automate configuration of Keycloak or at minimum provide a series of steps to make setting up a demo easy to use.
Possible options:

Shell script using Keycloak admin tools
OAuth2 Dynamic Registration

Default demo Keycloak configuration can be found in the deployments/keycloak directory.


Add TPM support

Working branch for https://github.com/helium/gateway-mfr-rs/pull/17

@madninja we need to test if tag-based releases still work. What do you advise?

@madninja we need to test if tag-based releases still work. What do you advise?

We can cargo release an alpha release ?

Replaced by #24


Add new seqfilter mechanism

See #52.

Current coverage is 100.00%

Merging #53 into master will not affect coverage as of f4f5289

@@            master     #53   diff @@
======================================
  Files           17      17
  Stmts         1902    1917    +15
  Branches       189     192     +3
  Methods          0       0
======================================
+ Hit           1902    1917    +15
  Partial          0       0
  Missed           0       0

Review entire Coverage Diff as of f4f5289

Powered by Codecov. Updated on successful CI builds.


Adapt to Scala 2.12.0-M4: a Function node can have any SAM type, not just FunctionN

The community build has revealed a problematic interaction between https://github.com/scala/scala/pull/4971 and scala-js:
[scala-js] Running "test" in: jasmineTestFramework
[scala-js] java.lang.RuntimeException: First argument to init must be a function
[scala-js] 	at scala.sys.package$.error(package.scala:27)
[scala-js] 	at org.scalajs.jsenv.rhino.RhinoJSEnv$$anonfun$org$scalajs$jsenv$rhino$RhinoJSEnv$$setupCom$2.apply(RhinoJSEnv.scala:344)
[scala-js] 	at org.scalajs.jsenv.rhino.RhinoJSEnv$$anonfun$org$scalajs$jsenv$rhino$RhinoJSEnv$$setupCom$2.apply(RhinoJSEnv.scala:338)
[scala-js] 	at org.scalajs.jsenv.rhino.package$ScriptableObjectOps$$anon$1.call(package.scala:32)
[scala-js] 	at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1473)

@retronym suggests this may be because Function nodes are now allowed to have any SAM type. During uncurry, we expand those that LambdaMetaFactory can't handle into an anonymous subclass as before. The others will reach the scala-js plugin.
The most recent commit in the PR is available from "pr-scala snapshots" at "https://scala-ci.typesafe.com/artifactory/scala-pr-validation-snapshots/" as 2.12.0-3ae3903-SNAPSHOT.
We're hoping to release M4 very soon (in the next day or two) -- please let us know if you consider this a showstopper!

@retronym suggests this may be because Function nodes are now allowed to have any SAM type.

Yes, that is probably the reason. I'll work on this today.

Thanks!

After some fixes in how scalac deals with SAMs, our test suite passes out-of-the-box.
However, we still have the problem that we do not support the trees generated for LambdaMetaFactory-capable SAMs. So this ticket is still valid, but not a blocker for scalac M4 anymore.

WiP for supporting all SAMs at https://github.com/scala-js/scala-js/compare/master...sjrd:new-sams
It "should work", but I have not had time to write tests yet. I will continue after my vacations.


Comparison level builders initial work

Implements ComparisonLevelBuilder base class, as well as subclasses for:

NullLevel
ElseLevel
ExactMatchLevel
LevenshteinLevel

Starting work on #1679, and particularly based on the mini-implementation in this comment.
WIP - a few things not done but thought it would be good to get some early eyes before doing too much polishing.
In particular to do:

[x] docstrings fleshed out
[x] possibly revise implementation of create_level_dict / configure
[x] possible further hiding of dialect from subclasses (see comment 👇 )

Haven't currently paid close attention to things like sensible naming and the like, but just to have something fully working to look at initially

This looks great to me!

Okay I think this is probably done as far as this particular strand goes (unless there's anything I've missed!)
One important thing I haven't been too careful about is sorting out which properties/methods are private, which would probably be useful to do here, as these are specifically user-facing classes. But I thought that this would probably become clearer after a few iterations of implementing additional levels

Yeah, happy with this, really good!
Agree - can decide on what's private after adding a few more levels


CI: Add Chromatic

In order to defend against visual regressions we should use Chromatic to help us review any visual changes introduced by pull requests.
Addresses: #22

You'd think that "UI Review" would pass automatically when there are no visual changes.
In this case I think it is failing because there is currently no build for the master branch and so nothing to compare to.


show_worst_drawdown_periods to pandas/csv

Hello, I apologize for my question rather than the issue.
Can you help me please convert the drawdown table to pandas DataFrame or CSV file?
In:
pyfolio.show_worst_drawdown_periods(strategy)

I get NoneType table. But I don't know how to convert, save etc.
Thank you very much for your cooperation and I apologize once again.

def get_max_drawdown_underwater(underwater):
.
.
.
	return peak, valley, recovery
def get_top_drawdowns(returns, top=10):
.
.
.
	return drawdowns
def gen_drawdown_table(returns, top=10):
.
.
.
	return df_drawdowns
def show_worst_drawdown_periods(returns, top=5):
.
.
.
import empyrical as ep
dd = gen_drawdown_table(strategy,5)

Done. Closed issue.


SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0. (in target 'XCGLogger')

What to do?
EDIT: Disregard. No longer of interest

https://github.com/DaveWoodCom/XCGLogger#backwards-compatibility


code coverage

Description
Adds code coverage
Addresses #28
Type of change

[x] New feature (non-breaking change which adds functionality)

How Has This Been Tested?
should setup code cov report
Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have updated the CHANGELOG and bumped the version
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@b39541e). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #31   +/-   ##
=======================================
  Coverage        ?   87.50%
  Complexity      ?       97
=======================================
  Files           ?       26
  Lines           ?      232
  Branches        ?        7
=======================================
  Hits            ?      203
  Misses          ?       23
  Partials        ?        6

Continue to review full report at Codecov.

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


Clean up copy disabling in compress plugin.

[approve ci]

Having problems with whitespace being consistent between my env and the CI env in the 'compress' Au test output.  Included some small random changes to try to make it consistent.


System did't booting

After "sudo ./uart_control default" and reboot RPI 3 cant boot.
In HDMI printing "fixing recursive fault but reboot is needed".
Reboots don't help

What version of Raspbian is this?

Finally on this time.
But not Raspbian. Openhabian

I insert SSD in another RPI, mounting first partition, edit config.txt and deleted line "enable_uart=1".
And RPI booting normaly.


The wuauclt.exe seems have been removed in Windows 10?

Hi Teams,
If I understand the change correctly, wuauclt.exe has been removed since Windows 10/Windows Server 2016: https://docs.microsoft.com/en-us/archive/blogs/yongrhee/wuauclt-detectnow-in-windows-10-and-windows-server-2016.
But the "To initiate WSUS detection" section in this page seems still use "wuauclt.exe /detectnow" to trigger the update checking in WSUS clients. I think this may be replaced by "UsoClient.exe startscan".
Please kindly check it. If I misunderstand anything, please let me know.
Best Regards，
Ben

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

ID: 85eb6a21-2659-019a-71ab-66f2e3a7f474
Version Independent ID: ee2ab576-3c19-15a5-8c41-29a00275614b
Content: Step 2 - Configure WSUS
Content Source: WindowsServerDocs/administration/windows-server-update-services/deploy/2-configure-wsus.md
Product: windows-server
Technology: wsus
GitHub Login: @eross-msft
Microsoft Alias: lizross

Sure, it looks like wuauclt.exe has been removed or at least deprecated for both Windows Server 2016 and Windows 10 (even though some installations might retain the application from earlier).
There are a couple of alternatives to using wuauclt.exe to check for updates:

https://docs.microsoft.com/en-us/windows-server/get-started/deprecated-features#windows-update
https://social.technet.microsoft.com/Forums/en-US/7289c393-5ca0-44dd-8ac9-02f1144503d3/wuaucltexe-vs-check-for-updates

What remains now is to determine which solutions can be approved for use in the documentation instead of using wuauclt.exe .

Hi @illfated
Thank you for your reply and look forward to the update.
Best Regards,

On Sep 28, 2020, 11:42 AM GMT+2, @BLTTEST wrote:
But the "To initiate WSUS detection" section in this page seems still use "wuauclt.exe /detectnow" to trigger the update checking in WSUS clients. I think this may be replaced by "UsoClient.exe startscan".

This solution remains to be verified and applied in the document.

#assign:IngridAtMicrosoft

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


[WFLY-9613] Reduce lambda usage (spec-api)

Ha! Well, I guess that there are downsides to automated code changes :)


Replace deprecated dependency gulp-util

Replace deprecated dependency gulp-util
gulp-util has been deprecated recently. Continuing to use this dependency may prevent the use of your library with the latest release of Gulp 4 so it is important to replace gulp-util.
The README.md lists alternatives for all the components so a simple replacement should be enough.
Your package is popular but still relying on gulp-util, it would be good to publish a fixed version to npm as soon as possible.
See:

https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
https://github.com/gulpjs/gulp-util/issues/143

Fixed and released as v7.0.0.


Question: Limitations of argument type inferral from target method signature

This is just a question: In #390 you created the mechanism for inferring the argument type from the target method signature. You introduced the following limitation:

Methods with a single unannotated parameter or one with a @Payload annotation
are considered for this feature.

What is the reasoning for limiting the feature for "single unannotated parameter" methods as opposed to simply "single parameter" methods?
I constantly run into the problem of breaking my listeners when I add a @Valid annotation to the input parameter. Then I have to analyze for hours what the problem is until I find the solution of also having to add a @Payload annotation to make it work again.
This is why I came to this question. Is this limitation really necessary? If so, why?

Would you mind to show the code produces the problem for you?
I'm not sure what drove you to use @Valid since @RabbitListener doesn't do any validation...
The reason for the limitation is really about a multi-parameter methods when we can't decide which one is intended for payload injection.

Env: Spring Boot 2.3.4.RELEASE with spring-boot-starter-amqp
Before (working):
  @RabbitListener(queues = "some-queue")
  public void listen(@Valid @Payload SomeDto someDto) {
    [...]
  }

Then (broken):
  @RabbitListener(queues = "some-queue")
  public void listen(@Valid SomeDto someDto) {
    [...]
  }

Finally (working again):
  @RabbitListener(queues = "some-queue")
  public void listen(@Valid @Payload SomeDto someDto) {
    [...]
  }

The @Valid annotation triggers Dto validation. I believe this is outside of @RabbitListener and has nothing to do with this question besides being an annotation that breakes the documented limitation "with a single unannotated parameter".
Exactly, if the reason is about multi-parameter methods, then why are you introducing the requirement for "no annotation" for single parameter methods? This is exactly my question.

Well, we probably didn't think about any other possible annotation on the single parameter.
That's why my question to you: why do you use that @Valid annotation since it doesn't trigger anything when this method is called by the Listener Container? How that DTO validation is triggered? Are you sure that you can confirm the validation is working for you at this point?
We indeed going to look into the solution and take away that limitation, so you still can use @Valid without @Payload.

That would be great.
I am pretty sure this annotation works, but I can only guess how exactly. Probably some AOP magic that uses the annotation to wrap the class.
There are even tutorials out there that are suggesting the double annotation. They probably all have gone through the same route:

https://blog.trifork.com/2016/02/29/spring-amqp-payload-validation/
https://stackoverflow.com/a/47797222/598117

The second link suggests that there is validation within the Spring Messaging framework: See DefaultMessageHandlerMethodFactory#setValidator()

Ah, right! I forgot that @RabbitListener logic is based on the DefaultMessageHandlerMethodFactory.
Thanks for nailing this concern!
Yes, I think we will revise the logic for skipping a @Payload annotation requirement when the param is single.
If you have an idea what and where to do already, feel free to contribute the fix!

@artembilan  Please have a look at my proposal #1270. I did not have time to change/extend tests though. Sorry.

FYI, we have test cases at the message handler level, but not for the type inference:
https://github.com/spring-projects/spring-amqp/blob/60b7a58dce451583ff746c9f85d5d7920d07c8d3/spring-rabbit/src/test/java/org/springframework/amqp/rabbit/listener/MethodRabbitListenerEndpointTests.java#L564-L566
https://github.com/spring-projects/spring-amqp/blob/60b7a58dce451583ff746c9f85d5d7920d07c8d3/spring-rabbit/src/test/java/org/springframework/amqp/rabbit/listener/MethodRabbitListenerEndpointTests.java#L336-L363

I found a regression caused by this https://github.com/spring-projects/spring-amqp/issues/1215 while testing this; so I will take this over.

Regression was a false alarm. New PR issued.


[BUG] SQL compilation error when flattening source table

Describe the bug
Database Error  000904 (42000): SQL compilation error: error line 1 at position 19  invalid identifier 'ISSUE'
To Reproduce
Error on flattening github_pull_requests__links.

@SantiMenendez19 we'd need to try and reproduce this issue.


error TS5024: Compiler option 'outDir' requires a value of type string.

This is weird. Getting error TS5024: Compiler option 'outDir' requires a value of type string. Looks like a string to me, and therefore _test.ts files aren't being compiled:
  {
    "compilerOptions": {
      "removeComments": true,
      "module": "amd",
      "target": "ES5",
      "experimentalDecorators": true,
      "sourceMap": false,
      "outDir" : "./public/js/"
    },
    "files": [
      "./assets/typescript/services/stockmarket-service.ts",
      "./assets/typescript/components/stockmarket-barchart/index.ts",
      "./assets/typescript/components/stockmarket-table/index.ts",
      "./assets/typescript/boot.ts"
    ]
  }`

module.exports = function (config) {
    config.set({
        frameworks: ['jasmine', 'requirejs'],
        files: [
            './assets/typescript/**/*.ts'
        ],
        preprocessors: {
            './assets/typescript/**/*.ts': ['typescript', 'sourcemap']
        },
        // plugins : [
        //     'karma-requirejs',
        //     'karma-jasmine',
        //     'karma-chrome-launcher',
        //     'karma-requirejs'
        // ],
        files: [
            {pattern<EMAIL_ADDRESS>included: false},
            {pattern<EMAIL_ADDRESS>included: false},
            {pattern: './public/jspm_packages/system.src.js', included: true},
            {pattern: './public/config.js', included: true},
            {pattern: './test-main.js', included: true},
            {pattern: './assets/**/!(*_test).ts', included: false},
            {pattern: './assets/**/*_test.ts', included: false},

        ],
        typescriptPreprocessor: {
            tsconfigPath: './tsconfig.json',
            compilerOptions: { // *optional
                removeComments: false
            },
            sourcemapOptions: {includeContent: true, sourceRoot: '/public'},
            ignorePath: function(path){
                return /\.d\.ts$/.test(path);
            },
            transformPath: [function (path) { // *optional
                return path.replace(/\.ts$/, '.js');
            }]
        },
        port: 9876,
        logLevel: config.LOG_INFO,
        colors: true,
        autoWatch: true,
        usePolling: true,
        singleRun: false,
        browsers: ['Chrome']
    });
};
```

In `stockmarket-service_test.js` contains: `/* preprocessor:typescript --> This file was not compiled */`

What am I doing wrong?

Please update to version 1.2.1.

I currently have "karma-typescript-preprocessor2": "^1.2.1", now really I just want them inlined directly into the karma generated HTML but since it is requiring a outDir I added the following...
"outDir" : "target"

But when I run I still see...
> karma start karma.conf.js
DEPRECATED: use your own version of lodash, this will go away in<EMAIL_ADDRESS>error TS5024: Compiler option 'outDir' requires a value of type string.


Align command-line interfaces around endpoint URIs (outbound) and socket addresses (inbound)

Is your feature request related to a problem? Please describe.
Currently, the command-line interfaces for pd, pclientd, and pcli have a disjointed mix of addresses and ports. This is a problem, both because all the tools have a slightly different interface, but also and more importantly because it means it's not easy to handle different protocols (http vs https).
Describe the solution you'd like
We should go through the command-line arguments for

[ ] pd
[ ] pclientd
[ ] pcli
and modify them so that
all inbound addresses (eg a service hosted by that program) are specified as SocketAddr, which includes both the address and port in one item
all outbound addresses are specified as a Uri, allowing specification of the protocol, address, and port all in one item

Then, we'll need to propagate those changes through the smoke test script until it passes CI.

This will be very helpful for us in interchaintest as we have separate hostnames for pd, tendermint, and pclientd binaries with containerization. This will also be helpful when we reach the production deployment stage since we run with kube.
The current blocker for us is due to this behavior in pclientd.

I'd put this as good-first-issue but now that we know this is blocking, I think it'd be good to prioritize it.

I'll pick this one up this week, after next round of testing of the relayer PR (https://github.com/cosmos/relayer/pull/1124).

We have a deploy error in https://github.com/penumbra-zone/penumbra/actions/runs/4529140413/jobs/7976706608 , related to testnet generate logic. First we need to resolve #2218, though.

Resolved via https://github.com/penumbra-zone/penumbra/commit/3a30b4df5747b3986724b16186129dfde1aad703

@erwanor I drafted some language for the release notes:

We've changed how URLs and addresses are declared when configuring a Penumbra node. If you use custom scripts to set up your node, you will likely need to update them. Remote end points must now be specified with a full URL, and local bind addresses should be specified as a socket (e.g. <IP_ADDRESS>:8080). We've updated the documentation to match the new args. See the --help option on the various commands for a full list of examples, including associated environment variables.


Pass on the GPU acceleration section of Chapter 13

This PR just cuts or moves to footnote any text it can. I also rearrange the code a bit to avoid redundancy about not needing to do a Skia -> SDL copy.

This branch is marked to merge into ch13-pass which is PR #505. That's just for ease of reviewing. If this is approved I'll just keep it around until everything is merged.


The startup page delivers a very different page compared to the one in the web documentation

Issues with Existing Topics
If the issue is a simple typo or similar correction, just submit a PR.
Otherwise, let us know what's wrong or what we should improve. Include a
link to the topic.
I am new to MVC Core and DOT NET.  I downloaded the latest VS 2017 .The MVC tutorial do not look and feel VS 2017.  I created the MVCMovie solution and project. Here is a screenshot
The web documentation shows that after creating the MVC page shall render this
http://prntscr.com/ij6gf0
but instead getting this page
http://prntscr.com/ij4inv
When entering f5 or the start bottom in top , I get this error
http://prntscr.com/ij4j8g

Your first image is the web browser of the created app. Your second is Visual Studio.
I've seen that error before. You need to see

Not start.
Did you install the latest released version? If not, that's what you should be using.
Why are you doing the MVC tutorial and not the Razor tutorial?
Try exit restart VS. If that doesn't work, try creating a new project and running it.

This looks like a VS configuration problem. I'm going to fix the instruction at the top of the tutorial because everywhere we instruct how to use VS we call for .NET Core cross-platform development, which might explain why @jecalderon hit this.


admin docs

I think this is enough to consider #229 resolved. The other two commits are drive-by enhancements.

Thanks for the good catches.
Marcela Morales Q<EMAIL_ADDRESS>writes:

Shouldn't DeviceMode:Direct and DeviceMode:LVM be within quotes?
i.e.: DeviceMode:Direct

Perhaps, but it's not quoted elsewhere either, so let's follow that
usage consistently also here.

+For each Kubernetes version, four different deployment variants are provided:
+

direct or lvm: one uses DeviceMode:Direct, the other DeviceMode:LVM

testing: the variants with testing in the name enable debugging

features and shouldn't be used in production

Missing final dot.

Is another dot then also missing for the first bullet item? I'm not
sure. I've added one dot for now.

+All of these files use PMEM_REGISTRY as placeholder for the actual Docker registry
+that contains the PMEM-CSI image. This needs to be replaced as part of the command which
+deploys the to Kubernetes.
I think deploys the to Kubernetes is missing something.
Is it:

deploys PMEM-CSI to Kubernetes?

"deploys to Kubernetes" is enough, what gets deployed is obvious from
the context.

+The Makefile can be used to build a suitable kustomize:
+
No need to have two new lines here, we can remove one.

Fixed.


animation frozen when enter into immersive AR or VR mode on Quest browser

We use theatre.js on a-frame (based on three.js) 3D web page, it works well on PC and Quest browser flat mode, but when we enter AR or VR mode, the aninmation froze, when we exit the immersive mode to flat mode , the animation can continue play. is this an issue, or the theatre.js did not support AR / VR mode from begining, thanks.

@jerryhou77 For VR/AR, you should use a custom rafDriver since immersive mode doesn't use the main window's requestAnimatinFrame loop.
Feel free to ask on Discord :)


The password window for remote launching from Linux no longer contains the user's login name.

I logged in to a remote system and the password window came up. It didn't show my user name. When I changed it the username now showed up in red as expected.
-----------------------REDMINE MIGRATION-----------------------
This ticket was migrated from Redmine. As such, not all
information was able to be captured in the transition. Below is
a complete record of the original redmine ticket.
Ticket number: 905
Status: Pending
Project: VisIt
Tracker: Bug
Priority: Normal
Subject: The password window for remote launching from Linux no longer contains the user's login name.
Assigned to: -
Category: -
Target version: -
Author: Eric Brugger
Start: 11/28/2011
Due date:
% Done: 0%
Estimated time:
Created: 11/28/2011 06:24 pm
Updated: 11/29/2011 07:21 pm
Likelihood: 3 - Occasional
Severity: 2 - Minor Irritation
Found in version: trunk
Impact:
Expected Use:
OS: All
Support Group: Any
Description:
I logged in to a remote system and the password window came up. It didn't show my user name. When I changed it the username now showed up in red as expected.
Comments:

@brugger1 I believe this is no longer an issue right?

I’m 99% sure this is still an issue. I can’t verify it at home though.

Here's a screenshot of the password window on linux for 3.1.1

and after I change username:

On Windows I see my login name in red without having changed my user name. This seems like a useful feature. If the username isn’t shown, then I might not know its incorrect.
<EMAIL_ADDRESS>


Clean up docs Sass code.

remove unused rules
use Sass nesting in more places
use the core mixins in more places
use the color variables more

This is a nice cleanup. I think there is room for more improvements (eg. more usage of utility classes where needed), but that's something we can look into later.

@MartijnCuppens: feel free to clean the docs Sass more later; I'm pretty sure we have more unused stuff there :)


Microsoft

Co

@RyanSuthrland. no message?

@RAJU2529 : Unless the OP posts a link to a document in need of improvement, I think we can ask for this ticket to be closed. This looks more like a mishap or random test in my view.


Time options on datetime ?

I see datepicker option to configure the datepicker, but there is no timepicker options for datetime widget ?
I just want to display a strict 24h format for the time, but can't manage to do it.

Also, Date picker has a showRightIcon option, but time picker has not.
showRightIcon on time picker could be usefull !

Also, showRightIcon doest not work for datetimepicker


Asynchronous initial connection

Current experimental Nats.connectAsynchronously function is so bad that I don't have enough time to convince you :smile:.
However, the problem arises from NatsImpl.createConnection which won't return until the initial connection is made. And this is because of the library design which distinguishes the initial connection and reconnect attempts anyway (the reconnectOnConnect boolean is not effective).
Short term proposal
...
public class Nats {
    ...
    // Named 'create', because it returns immediately.
    public static Connection create(final Options options) {
        return NatsImpl.createAsyncConnection(options);
    }
    ...
}

...
public class NatsImpl {
    ...
    public static Connection createAsyncConnection(final Options options)  {
        final NatsConnection conn = new NatsConnection(options);
        // Somehow trigger the client to attempt (re)connecting;
        // The following solution works, but it would be more expressive if there was a trigger function which would schedule the connection attempt(s) in its executor. For example, conn.init().
        final Thread t = new Thread(() -> {
            try {
                conn.connect(true);
            } catch (final Exception ex) {
                if (options.getErrorListener() != null) {
                    options.getErrorListener().exceptionOccurred(conn, ex);
                }
            }
        });
        t.start();

        return conn;
    }
    ...
}

Long term proposal
MongoDB reactive Java driver is a good example. It completely acts as a black box and doesn't distinguish between initial connection and reconnect attempts. It also uses reactive streams APIs (project reactor and RXJava) instead of rewriting the wheel.

@agcom although I like the idea (go all async), I think that would essentially be rewrite, don't you think? ...and if such a substantial rewrite was undertaken, would it even have a chance of getting adopted by nats.io as a replacement for the current supported client? FWIW, I have found a few "undocumented" features of NATS such as the lovely 503 "NATS/1.0" status code as part of the HMSG, so at this point undertaking a rewrite sounds pretty overwhelming to me.
@scottf do you have any thoughts on this?
...or perhaps I misunderstand what you are trying to accomplish @agcom? Is your concern more about the current implementation of reconnects? To be honest, I like the fact that initial connects are treated specially so that if the first connect fails I get immediate feedback rather than having bad credentials only to have some background thread print a stack trace each time it tries to auto reconnect.

The core of this issue is

the library design which distinguishes the initial connection and reconnect attempts
and that is likely not going to change.

Maybe we should close this as won't fix then?

@brimworks Yes. What I proposed as "Long term proposal" is essentially a rewrite; going completely non-blocking and integrating with existing APIs (Kotlinx coroutines, RXJava, project reactor). No idea about nats.io but such a rewrite would be adopted by the community for sure.

...I like the fact that initial connects are treated specially so that if the first connect fails I get immediate feedback...

You can do the same using async APIs (if existed); bonus point is that you won't pin an OS thread while doing so.

...only to have some background thread print a stack trace each time it tries to auto reconnect...

That would be a terrible rewrite.

It looks like there are several issues which involve the idea of doing a rewrite using non-blocking IO:
https://github.com/nats-io/nats.java/issues/347
https://github.com/nats-io/nats.java/issues/317
Maybe we can close all these issues into a single issue? The title of https://github.com/nats-io/nats.java/issues/317 seems more appropriate, so I'd propose closing this ticket and https://github.com/nats-io/nats.java/issues/347.
Is that okay?

@brimworks I like that idea of combining them into one. RxJava is on our list of provide some sort of integration.

Tracking this need here: https://github.com/nats-io/nats.java/issues/317
Thanks!


Question about the file parameter

I have the following link：
https://<IP_ADDRESS>:8080/trd/pdf/0/viewer.html?title=myPDFtest&file=download/attach/myPDFtest.pdf&tokenStr=N8iSQrfVqmazjQDlyiSd8sNzna0HQ7YWYQHgdj3oq9vHyrS4/8gZOprY/O61m6+yqn4bkpvuNdxd
The final request will go to this link to get the file：
https://<IP_ADDRESS>:8080/download/attach/myPDFtest.pdf
but it's not what i want.
I want to make the request go to the link below to get the pdf file：
https://<IP_ADDRESS>:8080/download/attach/myPDFtest.pdf&tokenStr=N8iSQrfVqmazjQDlyiSd8sNzna0HQ7YWYQHgdj3oq9vHyrS4/8gZOprY/O61m6+yqn4bkpvuNdxd
Simply, I want
tokenStr=N8iSQrfVqmazjQDlyiSd8sNzna0HQ7YWYQHgdj3oq9vHyrS4/8gZOprY/O61m6+yqn4bkpvuNdxd
as part of file .
What should I do?

Encode the file name, as mentioned in https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions#file


Sorvete em PHP

What a great code :smile: !
Just a little tip, its good to always put a description on your PRs to make more understandable.
Thank you for contributing! :rocket:


Updated selector string for threadContainer

Updated the string selector for the threadContainer to reflect changes to the ChatGPT website.

This change makes the extension work again on my setup and should address #41.
In the future, returning a more detailed error message may be desirable, but this fix will get the extension working again for now.

Thanks!


Prevent Message type ImageMap

During the talk of LINE Meet up #4 (Thailand), I heard that ImageMap is not available in LIFF.
So we have to prevent people to use it by our type!

Fixed in 2.1.2


Cucumber Rails not finding my steps

Hi --
Environment:

Rails 4.2.4
Ruby 2.2.3
Cucumber-Rails 1.4.3

Result:
Feature: List Posts
The current user should be able to view the blog index.
Rules:
- Well, there really are no rules except being able to browse to blog index URL.
Scenario: without a date param # features/list_posts.feature:8
Given: there are 3 posts
When: I visit the posts index without a date param
Then: I should see 3 posts
Scenario: with a date param # features/list_posts.feature:13
Given: there are 3 posts
When: I query for posts published in October 2010
Then: I will see 1 post
2 scenarios (2 passed)
0 steps
0m0.039s
0 steps.  I have my steps.rb within step_definitions within /features.
cucumber.yml =
<% rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : ""
rerun_opts = rerun.to_s.strip.empty? ? "--format #{ENV['CUCUMBER_FORMAT'] || 'progress'} features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}"
std_opts = "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} --strict --tags ~@wip"
%>
default: <%= std_opts %> features
wip: --tags @wip:3 --wip features
rerun: <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags ~@wip

First time Cucumber user with Rails.  What am I missing?

This is most likely a question that would be better asked on the Google Group, since it's more of a support question: https://groups.google.com/forum/#!forum/cukes

thank you @danascheider.
@rhnorment try without the : in the steps:
Scenario: without a date param # features/list_posts.feature:8
Given there are 3 posts
When I visit the posts index without a date param
Then I should see 3 posts

I am so stupid.  I don't know what I was thinking.  Thank you.

No problem @rhnorment
Glad it works now :-)


Can not be used with php artisan route:cache

just that, so is not suitable for production
LogicException  : Unable to prepare route [nova-vendor/cache-card/flush] for serialization. Uses Closure.

@dannyvink Thank you so much for resolving this issue! I can now use it in production! Really appreciated :)


 This should catch users who send messages in multiple channels which are duplicates and/or sent in quick succession. I'm not sure on the implementation. It seems complicated since history can only be retrieved on a per-channel basis, and we have a lot of channels.
Original message:

So for context, we just had an incident where someone was auto spamming a channel.  The bot caught the initial spam, gave them the 10 minute mute, as expected.  However, after they were unmuted, the spam continued, at the same rate and enough that it should have triggered a second mute.  It didn't.  This needs to be investigated.

at the same rate and enough that it should have triggered a second mute

Are you sure this is true? There really isn't enough information here to diagnose what, if anything, needs to be changed here.

I checked and they did not seem to have had activity after their first mute that would trigger an AntiSpam rule normally. Currently, AntiSpam rules look at activity in a single channel, not activity spread out over multiple channels.

And I think that's worth looking into as a tweak, at the very least.

In addition to checking the rules for a relevant chunk of channel history, we could also check the rules against a chunk of user history. Downside is that we'd need another async for history call, but it would catch people spamming messages across channels.

Is something still being investigated?
Can someone clarify what exactly needs to be actioned for this issue? Has the goal been changed to adjust filters to detect spam across channels?

Considering this is closed does that mean it's now supported? If so can someone suggest a bot that has this feature in it?

@VRArt1 The current antispam system collects all messages within a time frame using a custom cache, regardless of the channel. You can see the code for that here:
https://github.com/python-discord/bot/blob/main/bot/exts/filters/antispam.py#L179-L182
That file is generally where most of the overhead of the antispam filtering exists.

I know this is closed, but it’s listed under python, is it a useable open source bot? Because THIS is what I’ve needed for so long. Or is this a sever specific bot?

@NelsonBlvd Yes, this code is open source. See https://github.com/python-discord/bot/blob/main/LICENSE The bot is designed for our community's needs. So in that sense, it is server-specific. However, you're welcome to run your own instance of it.

Oh I would absolutely love to but I have no idea where to even begin
-Dylan Nelson

From: Mark @.>
Sent: Monday, December 27, 2021 10:27:03 PM
To: python-discord/bot @.>
Cc: NelsonBlvd @.>; Mention @.>
Subject: Re: [python-discord/bot] Support Anti-Spam Checks Across Channels (#665)
@NelsonBlvdhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FNelsonBlvd&data=04|01||4183777a7f2e4a13e40108d9c9b1eacc|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637762588246422611|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=bBSCA%2BawaAUIS3oiglh2CHFdZHtXHUQwv%2Bfedb%2FQ5Vw%3D&reserved=0 Yes, this code is open source. See https://github.com/python-discord/bot/blob/main/LICENSEhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fpython-discord%2Fbot%2Fblob%2Fmain%2FLICENSE&data=04|01||4183777a7f2e4a13e40108d9c9b1eacc|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637762588246422611|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=uewN8Rmiu32QC0uzdiPnsunP7zk1u76tFSQPwYQklz8%3D&reserved=0 The bot is designed for our community's needs. So in that sense, it is server-specific. However, you're welcome to run your own instance of it.
—
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fpython-discord%2Fbot%2Fissues%2F665%23issuecomment-1001849665&data=04|01||4183777a7f2e4a13e40108d9c9b1eacc|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637762588246422611|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=f5nAvFJHNltL3UKyu3OimGscSSNTnOglq542yCxEeQY%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAMECCHBYHHATVEJJLCV26HLUTEVAPANCNFSM4JPKE6NQ&data=04|01||4183777a7f2e4a13e40108d9c9b1eacc|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637762588246578836|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=743o2Uxs0JPW5ol63fVOHXpiMU%2Fq69DStVA%2FmX84pdQ%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01||4183777a7f2e4a13e40108d9c9b1eacc|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637762588246578836|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=W0I9qPl8ql92Lv7Rc3j9AyHHENt1G42LzHeL2Yg5oNE%3D&reserved=0 or Androidhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01||4183777a7f2e4a13e40108d9c9b1eacc|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637762588246578836|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=ncc8D7H0%2FDfk88jcD%2BvDESNChZfzon1pq%2FQhlxA6ooc%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.***>

@NelsonBlvd we have a guide on our website, but it requires that you set up other services, and set up your server in a very particular way.
If you don't want to do that, that leaves you with taking the relevant parts of the code that you want to use (linked above), and write a thin wrapper which just calls them.


add basic devise annotation

Type of Change

[ x ] Add RBI for a new gem
[ ] Modify RBI for an existing gem
[ ] Other:

Changes

Gem name: Devise
Gem version: 4.9.3
Gem source: https://github.com/heartcombo/devise
Tapioca version: 0.11.9
Sorbet version: 0.5.11074

This adds some very basic annotations for devise. Prior to tapioca 0.11.8 tapioca would generate rbis for Devise::SessionsController, Devise::RegistrationsController etc. (so that it could define helper related modules on them). As of tapioca 0.11.9 this is no longer the case, so subclasses of devise controllers cause a sorbet error whatever the type checking level requested on those files since the parent class is not known to sorbet.
I also added the actions for each controllers and the core devise controller methods

If it's not possible to require the files that define these you could add a @shim: description tag on top of the constant definitions so that they aren't checked in runtime: https://github.com/Shopify/rbi-central/blob/f20fca307c2289233d9a578504f001591b13b02b/rbi/annotations/globalid.rbi#L4

I haven't tested the signatures themselves because we don't use devise in the repos we own but I assume this was tested in your application.


revert story book to version 6

story book version 7 has many bugs and we have to down grade to version 6.


The time step t is not used?

https://github.com/samb-t/unleashing-transformers/blob/3e5f56456454d8dc22673a471dfadf98ca77f9e0/models/transformer.py?_pjax=%23js-repo-pjax-container#L130
The denoise_fn is Transformer, but in the forward of this model, the time step t is not used?

Hi, yes that's correct. In our early experiments we tested the impact of conditioning the Transformer on time but didn't find it to have much of an effect.
My guess as to why this doesn't matter so much in the discrete absorbing diffusion case is that it's relatively simple for the model to figure out what the time step is based on the number of input tokens that are masks. Whereas in the continuous Gaussian case it's much less obvious how noisy the inputs are.
Hope this helps!

@samb-t  Thanks a lot! This really helps.


Warnings and notes

Adds .warn and .note for issuing warnings and leaving user notes.
.warn @User reason will send the user a message with the reason and write the warning to the database. It will fail if the user can't receive DMs. Reason is optional.
.note @User content will save a private mod note in the database without notifying the user. Note content is required.

Mod interface:

DM format:


nixosTests.blockbook-frontend fails to build

nixosTests.blockbook-frontend fails to build
Discovered in https://github.com/NixOS/nixpkgs/pull/122201#issuecomment-835426167
Refs #122042
Notify maintainers

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute: nixosTests.blockbook-frontend
# a list of nixos modules affected by the problem
module:

Tests are "fine". It's the main package that's causing the issues (failing to build) and it was not working for some time now (as I've discovered also here).
I did some initial debugging and this PR broke the build.
I've notified upstream but I guess there's little I can do about it so it either gets fixed or we should remove the package altogether.

Hm, I suggest we mark blockbook as broken for the time being: https://github.com/NixOS/nixpkgs/pull/123374/files


Docs: Fix Cutting-the-mustard Link

It now contains the commit hash so that the line number stays correct.

:+1: Thanks @killercup!


Missing Postcondition in Process

Resolves the verification error in process and includes the missing postcondition for unsupported packets for process.

PS: let's merge it after the CI is not showing spurious errors anymore


Add verbose logging to pioneer reassignment.

Testing checklist:

[x] Changes are backward-compatible OR version migration code is included
[x] Codebase compiles with current tsconfig configuration
[x] Tested changes on {choose PUBLIC/PRIVATE} server OR changes are trivial (e.g. typos)

The next colony that I did got the following output:
[4:38:22 PM]INFO    9034045 Reassigning: [0089d2d300] to mine: [harvest:b967e7>mine]
[4:38:22 PM]INFO    9034045 Reassigning: [0089d74700] to mine: [harvest:a54692>mine]
[4:38:22 PM]INFO    9034045 Reassigning: [0089d80400] to work: [E3S8>worker]

So, I think it worked correctly? #71


ORC-1220: Set min.hadoop.version to 2.7.3

What changes were proposed in this pull request?
This PR aims to set min.hadoop.version to 2.7.3 for Apache ORC 1.8.0.
Why are the changes needed?
Apache ORC 1.8.0 will be released on September 2022 and will be supported for three years.
Apache Hadoop 2.2 is too old to support for that periods.
How was this patch tested?
Pass the CIs.

Maybe we need more refactoring before we set min.hadoop.version to 2.7.3 in order to ensure this migration is safe.

Thank you, @williamhyun .

Could you review this, @williamhyun ?

Thank you, @williamhyun .
Merged to main/1.8.


Updated Kubernetes pod creation to use sh -c to bypass selinux issues

Background
In EKS clusters utilising AWS Bottlerocket nodes, SELinux was blocking the execution of the bootstrapRunner on NFS. This was shown in the following logs when attempting to run a script pod:
kubelet:
"StartContainer from runtime service failed" err="rpc error: code = Unknown desc = failed to create containerd task: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: \"/octopus/Work/<task-dir>/bootstrapRunner\": permission denied: unknown"

Audit:
AVC avc:  denied  { execute } for  pid=<pid> comm="nfsd" name="bootstrapRunner" dev="<device>" ino=<inode> scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:data_t:s0:cxxx,cyyy tclass=file permissive=0

Results
Fixes https://github.com/OctopusDeploy/Issues/issues/8935
To fix this issue, the shim just needs to execute a binary local to the container, and then invoke the binary on the remote filesystem. In this case, we run sh -c "<command>" which ensures that the executable is being invoked in the context of the container, not kernel.
How to review this PR
Quality :heavy_check_mark:
Pre-requisites

[x] I have read How we use GitHub Issues for help deciding when and where it's appropriate to make an issue.
[x] I have considered informing or consulting the right people, according to the ownership map.
[x] I have considered appropriate testing for my change.

Shortcut story: [sc-88150]


Create archives with volumes

Is it possible to create archive with multi-part volumes?
Something like in 7-zip command 7z a a.7z *.txt -v100M
Quote from 7-zip help

-v (Create Volumes) switch
Specifies volume sizes.

Syntax
-v{Size}[b | k | m | g]

{Size}[b | k | m | g]
Specifies volume size in Bytes, Kilobytes (1 Kilobyte = 1024 bytes), Megabytes (1 Megabyte = 1024 Kilobytes) or Gigabytes (1 >Gigabyte = 1024 Megabytes). if you specify only {Size}, 7-zip will treat it as bytes.
It's possible to specify several -v switches.

NOTE: Please don't use volumes (and don't copy volumes) before finishing archiving. 7-Zip can change any volume (including first volume) at the end of archiving operation.

Examples
7z a a.7z *.txt -v10k -v15k -v2m

creates multivolume a.7z archive. First volume will be 10 KB, second will be 15 KB, and all others will be 2 MB.

Yes, you can
In fact it was the very first change I suggested for zpaq, which was later integrated
The easiest is by multivolume, using how many "?" you want (in this example 4)
zpaqfranz a "z:\a_????.zpaq" c:\data\

You can see some examples with
zpaqfranz -he (name of the command)

In this case
zpaqfranz -he a

a means... add
with
zpaqfranz h h

the commands

The 2nd way is using the backup command.
zpaqfranz backup z:\mygooddata c:\whatever d:\you e:\want

The backup command will create

1 file for each version (z:\mygooddata_00000001.zpaq, z:\mygooddata_00000002.zpaq...)
1 mygooddata_00000000_backup.index
1 mygooddata_00000000_backup.txt
The last 2 files can be used for faster integrity check

Read the wiki or
zpaqfranz -he backup

I want to limit to size of zpaq archive.

You cannot 😄
I could theoretically do this, but it would really require a lot of work

You cannot 😄 I could theoretically do this, but it would really require a lot of work

my first question was about it. We lost in translation.

Is it really that important to divide into pieces of a fixed size?
It would indeed require quite complex development
I'd rather spend more time on new features, like backups over TCP

close for now

You can limit the size of the archive using split. I think it would be nice to have this in the program, but in the meantime it's reasonable to handle it with external utilities.

zpaqfranz does create "chunked" archives of fixed size (now)
from 59.1
https://sourceforge.net/projects/zpaqfranz/files/59.1/
-chunk

After (quite a lot) of digging here the fixed-chunk version, a long overdue improvement Of course there are a lot of complexity to be taken in account (aka: nothing is easy with zpaq)

zpaq does not allow to create archives of a fixed size: this implies that, generally, the first file is gigantic, and subsequent ones much smaller. This prevented splitting on optical media (e.g., Blue Ray), and this is bad (incidentally that's "where" I'm going to use it). The zpaq's operating logic doesn't really provide multiple output files, but now (maybe) it does 😄

Operation, which is still not fully integrated (for example, it is not supported in the backup command), is easy to activate. It is like a normal multipart archive, but with a switch that indicates the maximum size of the pieces Running with encrypted archives has been difficult, and it is still not 101% tested

zpaqfranz a z:\ronko_?? whatever-you-like -chunk 1G
zpaqfranz a z:\ronko_?? who-knows -chunk 500m

The -chunk gets straight number (2000000), K,M,G (100M), KB,MB,GB (500MB) The chunks are not guaranteed to be 100% exact, typically should be multiple of 64KB

59.2 is underway (minor bug fixed, interaction with Windows GUI (PAKKA)

https://github.com/fcorbelli/zpaqfranz/releases/tag/59.1
Basically, the size can be indicated in bytes, in multiples of 1000 (K, M, G) or in multiples of 1024 (KB, MB, GB)
15000000
10M
3GB
100KB
In version 59.1 there are not many controls, so it is good not to indicate size too small (* depends on 100 different factors). With the default settings I would not go below 100KB, just in case
I decided to implement to allow a split for Blue-Ray burning.
Note: the last piece will be LESS than the data set. The next version will NOT alter that file, but will create a new one.
TRANSLATION
if your archive become (first version, just an example)
part_01.zpaq 10000000
part_02.zpaq 10000000
part_03.zpaq 300

Running a second version will make something like
part_01.zpaq 10000000
part_02.zpaq 10000000
part_03.zpaq 300
part_04.zpaq 10000000
part_05.zpaq 10000000
part_06.zpaq 10000000
(...)
part_10.zpaq 55555

It is possible to convert a chunked file to a normal file, with the m (merge) command.
It is NOT possible, as with normal multipart files, to perform operations such as dump (command to see the internal structure) on individual chunks (the explanation is obvious: chunks no longer begin at versions)

Hello again.
I was testing -chuck switch today and ran into an issue.
sudo ./zpaqfranz a "/volume1/backups/NetBackup-??" "/volume1/snapshots/NetBackup/DC1.hbk" -to "/volume1/NetBackup" -chunk 10G -verbose -nosynology
The size of the directory was 4G, but I set the chunk size to 10 GB for testing. zpaqfranz exited with an error.
zpaqfranz v60.4c-JIT-L(2024-07-13)
franz:-to                   <</volume1/NetBackup>>
franz:-chunk                       <IP_ADDRESS>
Filling -not for -nosynology
franz:-nosynology -verbose
Integrity check type: XXHASH64B+CRC-32
Creating /volume1/backups/NetBackup-01.zpaq at offset 0 + 0
Add 2024-07-17 20:21:11       850      4.338.431.557 (   4.04 GB) 4T (28 dirs): -m14
MAX_FRAGMENT 520.192 (507.94 KB)
878 +added, 0 -removed.
free(): double free detected in tcache 2 <--- error
Aborted

Exit code 134
If I set the chunk size below the total directory size, zoaqfranz work fine.

60_5a.zip
Please try the attached pre-release

It works now.
Much appreciated.

Thank you.


Improve documentation

Design has written a bunch of documentation for various components and patterns. We should commit these to the library and write additional documentation for different topics, like

introducing new components,
component APIs, and
developer workflow.

Closed by https://github.com/sumup/circuit-ui/pull/426.


[rancher-istio] cannot be installed behind http proxy

when installing or upgrading istio, istio-install-job tries to download resources from github. this is causing timeout when running behind http proxy. please allow to specify additional environment variables for the install job.
Meanwhile, is there another way to define such a proxy ?
I use Rancher 2.6.3.

Hello, we have this problem aswell! Any fix for this?


added retro art gallery in menu.html

#190 can add retro style art gallery
in menu.html I have added an retro style art gallery section which has 4 types of paintings available.
Related Issues

None

Closes #

Type of PR

[feature request ] (can add retro style art gallery)

Screenshots / videos (if applicable)

Checklist

[X] I have gone through the contributing guide
[X] I have updated my branch and synced it with project main branch before making this PR
[X] I have performed a self-review of my code
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[ ] I have commented my code, particularly in hard-to-understand areas.

Additional context:

@sanika1345 u had removed the transport div u add art gallery , instead u need top add separate one , please don't remove the code which is written
Thank You.

@Anjaliavv51 can u pls tell which transport div ..like from which section ..navbar??
sorry I'm new to open source..

@Anjaliavv51 can u pls check and merge my PR.
Thanks

hii @Anjaliavv51 pls add apt labels also

hii @Anjaliavv51 pls add apt labels also

please resolve the merge conflicts.

@Anjaliavv51 ok I will raise another PR ASAP but can u pls add gssoc and level label.
Thanks

@Anjaliavv51 ok I will raise another PR ASAP but can u pls add gssoc and level label. Thanks

No acrivity closed!


Added unit tests

@przygienda LGTM. I've added you to admins of this repo and crates.io package. Feel free to merge. I and release at your convenience. Thanks!

doesn't seem I can merge the pull request ...

"Awaiting przygienda's response" - you have to accept the invite or something.

no bleeping clue where that's supposed to be. nothing in my mailbox ...

Oh, I can send you the link directly too: https://github.com/slog-rs/kvfilter/invitations


Demo isn't working

Hey the demo here isn't working. Even after using  git submodule update --recursive. Is there some other step?

Demo just isn't ready for this moment


ZeroDivisionError: integer division or modulo by zero

Thank you for sharing.I try to train on my own training set, but every epoc will report an error, I don't know what the problem is, I hope to get your help.

I have the same problem. Have you found a solution or is this problem still unsolved?

Solution.
'ZeroDivisionError' caused by the wrong path shows "Found 0 images belonging to 1 classes. If you do on your own dataset or imagenet dataset, make sure pick out data in the directory.
For example code, check notebooks/Step4/ "#Pick out an example codeline"  with next(train / val / test_generator).

@Parkjh215 is right.
Beacuse your validation generator get 0 images.
Change the code in main.py:
    # Create validation generator
    val_datagen = AugmentingDataGenerator(rescale=1./255)
    val_generator = val_datagen.flow_from_directory(
        args.validation,
        MaskGenerator(512, 512, 3),
        target_size=(512, 512),
        batch_size=args.batch_size,
        #classes=['val'],   # problem is here！
        seed=42
    )

Or you can remain the code unchanged, and change the directory name of your validation images to "val".


[Proposal] API changes

Problems:

isSuccess is polymorphic, but having only one export of it forces us to overload it with increasing complexity. For example, its base type is (x: any) => x is Success<any>, but when used in conjunction with a Failable<T>, it is <T>(x: Failable<T>) => x is Success<T>. Note the addition of the type parameter! This doesn't scale if we continue to only export isSuccess once.
when as a matcher is not one size fits all.
the dispatching mechanism is not evenly applied to all union types.
when doesn't always have a non-logging equivalent.

Analysis
Making a library out of basic ADTs is hard, but so far the basic structure of failable is rather predictable:

each core element (e.g. a success) consists of:

a type (Success)
a creator (success)
a predicate (isSuccess)

each union type of multiple core elements comes with:

a matcher (e.g. when)
a logged matcher (e.g. Failable.when)
possibly a constructor (e.g. Result.from)

Solution
The goal is to make all of these consistent and furthermore modular. The proposed changes are therefore:

each union type must reside in its own submodule and must be "independently usable", i.e.

in src, a union type Foo must live in src/foo
from outside the library, it must be possible to import ... from 'failable/foo'

perhaps add Failable itself as an exemption so we don't have to write import ... from 'failable/failable'

each union type must export all of its elements' types, creators, and predicate

for example, both Failable and Result use Success<T> and Failure
this must be done regardless of how those constituents are defined. as an implementation detail, perhaps isFailure: (x: any) => x is Failure, but if Result exports it, it must become isFailure: (x: Result) => x is Failure.

each union type must export its own matcher

so the matcher exported by Result must expect a Result and not try to do anything fancy
sometimes coincidental compatibility can occur. For example, due to the way a structural type system works, Failable's matcher can take a Result, but not vice versa

a logged matcher and an raw matcher should be named differently, for example, call the raw one match and the logged one when. @squirly also expressed concern that when looks way too much like then and is likely a big source of confusion.
the dispatch mechanic can be extracted into its own class, which can then be individually tested.

Example
We export:

failable/core

type Success<T>

function success<T>(x: T): Success<T>
function isSuccess(x: any): x is Success<any>

type Failure

function failure(x: T): Failure
function isFailure(x: any): x is Failure

failable/result

type Result<T>
re-export Success<T> and pals, except:

function isSuccess<T>(x: Result<T>): x is Success<T>

re-export Failure and pals, except:

function isFailure(x: Result<T>): x is Failure

function match<T, A, B>(x: Result<T>, options: {...}): A | B, unlogged
function when<T, A, B>(x: Result<T>, options: {...}): A | B, logged
perhaps add function isResult<T>(x: any): x is Result<T>, which is a simple disjunction of all constituents (e.g. isSuccess and isFailure), which is also prone to false positives :frowning_face:
namespace Result

alias match
alias when
perhaps alias is to isResult
(insert dispatch crap here)

repeat the same for failable/failable
repeat the same for the upcoming failable/loadable

This makes sense to me.
The only change I could see making sense would be to have the is* methods being explicitly typed with each core type, Pending | Success<T> | Failure | Retrying | Reloading<T>. This would make these methods compatible with all super types. This would require making each of these types core types.
Either solution, the proposed or above, is fine with me.

Right, so look at how isSuccess is defined in failable/core using the broadest possible terms, but then it is re-exported out of failable/result with a much more specific type. This leads me to believe that all constituents should be defined in failable/core so that 1) they don't accidentally become compatible with other ones and 2) failable/core is the authoritative source of unrestrained type guards (guards that take any).


Flags status is incorrect when an already started unleash client is passed to flag provider

Describe the bug
I have a case that I want to pass an already started unleash client to the unleash flag provider. When I do that, flagsReady (returned from useFlagsStatus hook) returns false even though the client is started and ready.
Here is a reproducible example: https://stackblitz.com/edit/vitejs-vite-elpthg?file=src%2FApp.tsx.
As far as I see, this behaviour is this way due to calling the readyCallback only when we get the ready event from the client. In my case, this event is never sent since the client is already ready before the flag provider component is initialized:
https://github.com/Unleash/proxy-client-react/blob/4656873b1ddb699f6268fb0b13c719e451d3a84b/src/FlagProvider.tsx#L77
I wonder if this is intentional and whether the case I mentioned is an intended way of using unleash client or not. Happy to contribute if it is decided to be an actual bug - but I might still need some pointers.
SDK information (language and version)
<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

O, that looks like a legitimate issue for sure.


Redesign Logo for Anna

Looking for minimal, Futuristic logo maybe with some transitions.

I will do this.

You can suggest it at the comment, more than one people can try

ok will do the same....

Aana means  Elephant in malayalam.

It's awesome 😍

@saavran Yeah, great efforts.


Error while run jest test

/Users/macbook/Projects/noddier-mobile/node_modules/react-
native/Libraries/Components/View/View.js:23
import type {ViewProps} from 'ViewPropTypes';
^^^^
SyntaxError: Unexpected identifier
  at ScriptTransformer._transformAndBuildScript (node_modules/jest-runtime/build/script_transformer.js:403:17)
  at Object.<anonymous>.module.exports.moduleName (node_modules/react-native/jest/mockComponent.js:10:33)
  at Object.<anonymous>.jest.mock.mock.mock.mock.mock.mock [as user:/Users/macbook/Projects/noddier-mobile/node_modules/react-native/Libraries/Components/View/View.js:] (node_modules/react-native/jest/setup.js:40:23)
  at Object.get View [as View] (node_modules/react-native/Libraries/react-native/react-native-implementation.js:59:23)

package.json
"jest": {
"preset": "react-native",
"testMatch": [
"/tests//*.js",
"/?(*.)(spec|test).js?(x)"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/node_modules/bugsnag-react-native",
"/node_modules/rn-fetch-blob",
"/node_modules/babel-preset-react-native",
"/node_modules/react-native-keyboard-aware-scroll-view",
"/node_modules/react-native-system-setting"
],
"transformIgnorePatterns": [
"node_modules/(?!react-native).+\.js$",
"node_modules/(?!(jest-)?react-native|rn-fetch-blob|redux-saga|tipsi-stripe|react-native-system-setting|native-base|react-native-keyboard-aware-scroll-view|react-navigation|bugsnag-react-native|static-container|native-base-shoutem-theme|@shoutem/animation|@shoutem/ui|tcomb-form-native|react-native-branch)",
"node_modules/(?!static-container)"
],
"globals": {
"DEV": true
},
"transform": {
"^.+\.js$": "./node_modules/react-native/jest/preprocessor.js",
"^.+\.jsx?$": "babel-jest"
},
"setupFiles": [
"/mocks/branch.mock.js",
"./node_modules/appcenter/test/AppCenterMock.js",
"./node_modules/appcenter-crashes/test/AppCenterCrashesMock.js",
"./node_modules/appcenter-analytics/test/AppCenterAnalyticsMock.js",
"/node_modules/appcenter/test/AppCenterMock.js",
"/node_modules/appcenter-crashes/test/AppCenterCrashesMock.js",
"/node_modules/appcenter-analytics/test/AppCenterAnalyticsMock.js"
]
}
"devDependencies": {
"@babel/core": "^7.0.0-beta.54",
"@babel/plugin-transform-react-jsx": "^7.0.0-beta.54",
"@babel/preset-env": "^7.0.0-beta.54",
"@babel/preset-flow": "^7.0.0-beta.54",
"@babel/preset-react": "^7.0.0-beta.54",
"babel-eslint": "^8.2.6",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-flow-react-proptypes": "^24.0.1",
"babel-plugin-transform-remove-console": "^6.9.4",
"babel-preset-flow": "^6.23.0",
"babel-preset-jest": "^23.2.0",
"babel-preset-react": "^7.0.0-beta.3",
"babel-preset-react-native": "^4.0.0",
"babel-preset-react-native-stage-0": "^1.0.1",
"babel-preset-react-native-syntax": "^1.0.0",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint-plugin-flowtype": "^2.50.0",
"husky": "^0.14.3",
"identity-obj-proxy": "^3.0.0",
"jest": "^23.4.1",
"jest-enzyme": "^6.0.2",
"lint-staged": "^7.2.0",
"prettier": "^1.13.7",
"react-addons-test-utils": "^15.6.2",
"react-dom": "^16.4.1",
"react-native-bundle-visualizer": "^1.3.0",
"react-test-renderer": "^16.4.1",
"snazzy": "^7.1.1",
"standard": "^11.0.1"
}
I think it's related to babel. Need help from everyone

Please conform to the issue template, and check this comment and maybe related issues: https://github.com/facebook/jest/issues/6053#issuecomment-383632515.

I know this is closed but I had the same problem working on a really legacy app.
Adding react-native to the package.json jest section's "transformIgnorePatterns" did the trick for me:
		"transformIgnorePatterns": [
			"/node_modules/(?!react-native).+\\.js$"
		],

it's all a little confusing so any light on this would be nice, but my frame of mine when I solved the problem was "seems like jest doesn't know how to interpret this file, so how do I make it not" lol


Feature request:  remember preferences window size

Remembering the preferences window size during the current dBeaver session would be useful.  Remembering it until changed or reset would be better still.  I tend to edit templates multiple times per day and have to expand the window every time.  Thanks.

thanks for the suggestion

I'm happy to see that this is planned! Excellent suggestion as I find I need to resize the Preferences Window every time I use Templates as the Name column is mostly obscured:

This would be very helpful if fixed. Sql Templates seems to be the only window in Preferences with such problem.


NavMenu Items (NavLink) are not aligning properly.

Bug type
Component
Component name
MudNavMenu
What happened?
After upgrading to the latest version, the NavMenu items started showing at the bottom of the menu. I copied this layout from MudBlazor's GitHub page before (I don't think it's available anymore) and it was working fine.
When I downgrade back to 6.1.7 the layout is back to normal (however, I'm having some issues with other components thus, I have to upgrade to the latest version).
Can you please tell me what I'm missing?
Thanks.
Expected behavior
The NavMenu items show up under the Person Information Card.
Reproduction link
https://try.mudblazor.com/snippet/GYcxuHPOIfSJMyoj
Reproduction steps
1.Open the drawer (NavDrawer)
2.Check NavMenu items (NavLink)s
Relevant log output
N/A

Version (bug)
6.1.9
Version (working)
6.1.7
What browsers are you seeing the problem on?
Safari
On what operating system are you experiencing the issue?
Mac OSX
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hey, any updates on this?

I am just getting started with MB so I looked at your example.
I noticed you are embedding the Drawer inside the AppBar.  Is that what you intended?
My AppBar lives on it's own and the drawers are external to the app bar.  Does that help?

This layout used to be inside the MB documentation here in GH, but it was removed a while ago. After upgrading to any version past 6.1.7 it just messes with CSS and now the items are anchored to the bottom of the page. (See the example reproduction link)

It behaves better if the

on line 50 in your  example is removed.

I can reproduce this behavior. I created within Visual Studio a MudBlazor server project with the AdminDashBoard sample. When I upgrade the NuGet package to a version higher than the mentioned MudBlazor 6.1.7 the left menu will be not top aligned but more bottom aligned.
After some investigation of the HTML source code with the debugger of Chrome (Developer Tools) I noticed that the Divider has a CSS class named mud-divider-fullwidth. After removing this property with the debugger I noticed that the alignment returns to the expected top position. The Divider component has a DividerType attribute (https://mudblazor.com/components/divider) which controls this behavior. It's default is DividerType.FullWidth which generates the mentioned CSS class.
The CSS class has two styles. A width of 100% and a setting named flex-grow with a value of 1. This flex-grow setting is responsible for the unexpected bottom alignment of the menu. If you change the value to 0 (or disable flex-grow) with the browser debugger the alignment changes back to a top alignment.


GPMDM not loading in Mac OS Catalina (10.15)

OS: MacOS Catalina (10.15)
GPMDP Version: 4.6.1
Issue Descriptions: GPMDP is not loading any pages. I've tried opening GPM in Chrome without issues. Within the debug logs, the only error I can see is the following: {"level":"error","message":"################### !! Update server down !! ##################","timestamp":"2019-11-05T21:14:36.410Z"}
Screenshot of the error below (it gets stuck there, without progress)

This suddenly started happening without any prior issues. It was working fine yesterday.
Steps to Reproduce:
1.- Open GPMDP
2.- Screen will show

seeing the same behavior on 10.15.1

I am seeing this in Windows 10 as well.

Duplicate of #3660


Are admission policies applied to objects (value changes in DRAM) even if they are read from the NVM cache?

Hello,
I have a question about admission policies that determine whether objects should be flushed to the NVM cache or not.
Assuming that admission policies do not exist, if objects are read from the NVM cache to DRAM and objects are overwritten in DRAM, they will be flushed to the NVM cache later (i.e., when objects are evicted from DRAM).
However, if one of admission policies is applied to these objects so that they cannot be flushed to the NVM cache, users can finally read old data.
For this not to happen, are admission policies applied to objects that are not read from the NVM cache (i.e., isNVMClean() is false)?
I am not sure if I missed the source code, but currently, I cannot find the source code that prevents this (e.g., the source code that guarantees consistency).

I am not sure what do you mean by users can finally read old data. There is an updated version in the DRAM cache so it will always be returned by DRAM cache. The now dirty data in NVM is marked dirty and will never be used as an appropriate response for the given key. The function invalidateNvm is called which is found here.

@pbhandar2 Thank you for responding to my question.
What I was wondering is "what if the updated version in DRAM is not evicted to the NVM cache because of admission policy?"
To give an example:

Object A was originally in the NVM cache.
The user requests object A, but it does not exist in the DRAM cache. Thus, object A is fetched from the NVM cache.
While object A is alive in the DRAM cache, it is updated.
Object A is not evicted to the NVM cache because of admission policy. Now, updated object A is discarded and the NVM cache still has old object A.
When the user again requests object A, old object A from the NVM cache will be returned.

What you might be missing is that the moment the object that is in DRAM and also NVM updated in DRAM cache (Step 3), the item in NVM is invalidated and that item will no longer be useable. That means when the user requests object A (Step 6), it will be a miss and the item in NVM will not be returned.


add PLS Regression

Closes #97

Alternatively to creating a new class, PLSRegression could be supported by BaseSKlearnRegressionConstr by a conditional there. something like
    def add_regression_constr(self):
        """Add the prediction constraints to Gurobi"""
        if isinstance(self.predictor, PLSRegression):
            x_mean = self.predictor._x_mean
            x_std = self.predictor._x_std
            coefs = self.predictor._coef_.T
            intercept = self.predictor.intercept_
            self.gp_model.addConstr(
                self.output == (self.input - x_mean) / x_std @ coefs + intercept,
                name="plsreg",
            )
        else:
            coefs = self.predictor.coef_.reshape(-1, 1)
            intercept = self.predictor.intercept_
            self.gp_model.addConstr(self.output == self.input @ coefs + intercept, name="linreg")

I think that the way you did is better than adding a conditional in BaseSklearnRegressionConstr. So that's good.
For testing that would be nice.
It's probably the most complicated part.
The most basic test we have is just to run a regression on one very simple data set. Then we build a gurobipy model where we insert the regression and fix the input values to one example of the data set. We then verify that when optimizing the model Gurobi's solution for the output values matches the predictor.
You can look at https://github.com/Gurobi/gurobi-machinelearning/blob/main/tests/test_sklearn/sklearn_cases.py
where the test cases for the various sklearn objects are defined.
If iris or diabetes are appropriate data sets for running the PLS regression it should be very easy. Otherwise it might be slightly more complicated.
If it looks complicated and you tell me an appropriate data set I can easily add it.

There is a folder https://github.com/Gurobi/gurobi-machinelearning/tree/main/tests/predictors with joblib files under version control. When including PLS, the tests in https://github.com/Gurobi/gurobi-machinelearning/blob/main/tests/test_sklearn/test_remove.py fail because the corresponding joblib files are missing. Do these need to be created and checked in manually?

They should be created automatically. I'll try to look at it and fix it.

@DavidWalz The issue should be fixed in the main branch if you merge with it.
(I also tried to make the sklearn_cases.py file a bit better looking).
Then I get another failure when I run the tests but that is in sklearn when trying to fit the PLS_regression.

Ok, so I synced to the main branch. Then by deleting the {diabetes, iris, mnist}_sklearn_version files I could trigger the (re)creation of all joblib files and the test are running through. I did not check in the new .joblib files as the recreated joblib files for the existing regressor show as being different from version control, so they seem to be specific to my env.
Please have a look.

Sorry I had forgotten one line and the file was not written.
That should be fixed with 5bbdb9006ac47bd6bf9c10a513c0aa6649f8ed4f.
Now it should be good.
(scikit-learn warns and is not supposed to support pickling across its versions so I re-generate the files whenever there's a new sklearn)

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

OK thanks a lot @DavidWalz , I think it's good to go.
Cheers!


Formatted "What's new" file to Markdown

Easier to read directly in Github

Thank you for the PR, but after some internal discussions & before publishing it live, we have decided against using markdown for this file already.


Add region filter & ping limit to world quick-hopping

This enhancement will add an option to the World Hopper plugin that will limit the quick-hop feature to worlds of a given region.
In 8f292c63ff50617cb6213f00089db60eab345978 I added a ping limiter that would prevent from hopping to worlds above the given value.

@Adam- Commit history has been tidied so the 2 features are in their own commits, I am now using getStoredPing over ping, and the default value for the ping limiter is now 0 with an added check to disable the feature in that case.

@Adam- I have withdrawn the ping limit changes until I work out the kinks. I will just leave this PR with the region filter and create a new PR at a later date for the ping limit.


replace new msa with msa

Imho there is no need to use new - we have a wrapper function that does this automatically and it's quite common in the JS world ;-)

Ah indeed - that's neater.
LGTM :)


⚠ GitLab Server has degraded performance

In 6cd0b46, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 10465 ms

Resolved: GitLab Server performance has improved in 347c13e.