[Question] Setting Font Size

Hello, is there an option to set Font Size? I couldn't find it. It would be great if there's an option to set Font Size. I want to use it as printer server that could be used to print to many printer. It's only need to set fontsize base on which printer is used.
Thank you for your great code.

is there an option to set Font Size?

No, there is no option to Font Size in this package.
This package does not parse or understand data that you send to the printer. It just passes it to the printer as is.
Personally, I used this package to print text. And all printers I come across understand text. So this is good enough for me.
Sorry, but I cannot even provide any pointers to guide you along.
Alex


error variances are computed differently in TRME and TRME_RR

Sigma in TRME_RR is the sum of squares of the residuals, but in TRME it is the difference in the sums of squares.  These are not equal.  I don’t think that both can be valid estimates for the same quantity.
sigma = real(sum(obj.Y.*conj(obj.Y),1)-sum(QTY.conj(QTY),1))/nData;     #TRME
sigma = cfacsum(res.*conj(res),1)/nData;                                                   #TRME_RR
Consider a single output channel, with one observation, [y]  and a corresponding estimate [e]
TRME: y^2 - e^2
TRME_RR: (y-e)^2  = y^2 -2ye + e^2
Say e = y+delta
then the cross term becomes 2ye = 2y(y+delta) = 2y^2 + 2yd
(y-e)^2  =
y^2 -2ye + e^2 =  (sub in cross terms)
y^2 -2y^2 -2yd + e^2 =
-y^2  -2yd + e^2 =
-(y^2-e^2) -2yd =
-TRME - 2yd.
The estimates differ by 2yd, and they are of opposite sign.  This may relate to issue #55
When you have more cross terms this error term will build as 2yd

In ordinary least squares the norm of the data should be equal or greater than the norm of the projected/predicted data.  However, in the case of only one or two windows exists, you might get numeric noise which is why I encountered a -1e-11 in the error variances.  This can be handled with check on the amplitude.
In any case, the residuals formulation (from TRME_RR) can also be used in TRME.

This is actually duplicates issue #28

relates to issue #108 and we should support an option for the QHY computation of errors, but in general should stick with direct, and total calculation of residuals as predicted subtracted from Y (or Y_cleaned)

Working on this:
In TRME.m there are exactly three calls to compute sigma

In the initial estimate:

sigma = real(sum(obj.Y.*conj(obj.Y),1)-sum(QTY.*conj(QTY),1))/nData

In the "while not converged" loop

sigma = cfac*(sum(obj.Yc.*conj(obj.Yc),1)-sum(QTY.*conj(QTY),1))/nData;

In the redescending loop:

sigma = (sum(obj.Yc.*conj(obj.Yc),1)-sum(QTY.*conj(QTY),1))/nData;

In case 1 we have no cleaned data, so QTY is the correct symbol.
In case 2 QTY has actually been overwritten by QTYc, so we are using pure Yc in that sigma estimate, and Y is not used in either term
Case 3 is the same as case 2, QTY is actually QTYc
I am going to name this method of computing sigma residual_variance_method2().  It will likely be deprecated in the future but will be used in TRME.py for now

There is now a
residual_variance_method2()
and a
residual_variance_method1()
These replicate how the matlab codes worked.   We can leave things how they are, or experiement with switching them.


Video clips getters

Added 2 methods for getting the video name and video path.
I often use this information for retrieving the annotations for the clips and I find it very useful.

How is this different than  #1522?

It isn't, sorry for the duplicate :)


Scriptability of Oni

How scriptable is Oni right now? I know that we have an existing plugin infrastructure, but if I miss the whole "Just add it to your .vimrc" mentality for small things

Great question. This is something I've been thinking about.
One thing I'd like to do is treat the Config.js as a mini-plugin, and have an activate method for it - so you can script against the Oni object.
You can also open the developer tools and make calls against the Oni object (which is the same thing the plugins get), but it's not super interesting - it'll be moreso once there are things like keybindings hooked up...
Is there a particular sort of customization you were thinking about, that wasn't easy to do without rebuilding Oni?

Maybe a dumb example, but hypothetically I might want to change the
background color of the whole status bar based on mode. I don't actually,
but it seems like something I should be able to do. I don't know that
it's going to be feasible in JS and electron, but basically any state that
isn't critical to the editor's correct functionality should be available to
the user
On Sat, Aug 12, 2017, 6:16 PM extr0py<EMAIL_ADDRESS>wrote:

Great question. This is something I've been thinking about.
One thing I'd like to do is treat the Config.js as a mini-plugin, and
have an activate method for it - so you can script against the Oni object.
You can also open the developer tools and make calls against the Oni
object (which is the same thing the plugins get), but it's not super
interesting - it'll be moreso once there are things like keybindings hooked
up...
Is there a particular sort of customization you were thinking about, that
wasn't easy to do without rebuilding Oni?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/extr0py/oni/issues/610#issuecomment-322009278, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AICBCQFpUkU0MJsxbn5f545Q-tWx7TX-ks5sXiQqgaJpZM4O1gME
.

Not a dumb example at all, this is great, and is exactly what I'd like to support.
The way I'm thinking about this would be, in Config.js, we'd expose an activate method:
const activate = (Oni) => {

     Oni.on("mode-changed", (newMode) => {
          const newColor = newMode === "insert" ? "black" : "white"
           Oni.configuration.setValue("oni.colors", {
                 "statusbar.background": newColor
           })
     })
}

module.exports = {
   activate,

  //add custom config here, such as
  //"oni.useDefaultConfig": true,
  "editor.fontSize": "12px",
  "editor.fontFamily": "Fira Code",
  "oni.bookmarks": ["C:/Toronto2"],
  "oni.loadInitVim": true,
  "statusbar.enabled": true,
  "editor.scrollBar.visible": true,
  "editor.cursorLine": true,
  "editor.cursorLineOpacity": 0.1,
...

Something like that... It's a bit awkward having the function in the same space as the configuration, but I'd like to use 'activate' and 'deactivate' as reserved capabilities here.
The setting of color properties ties into some of the thoughts @cyansprite had in #604
Ideally, it should be really lightweight... in that I can save and see changes immediately, as well as be very straightforward - it should have premier autocompletion / quickinfo / etc.

Here's another scriptability example I was thinking of the other day - I'd like to make an easy way to take screenshots of the window (or, later, even record/pause/stop gifs/videos):
Oni.input.bind("<C-Space>", () => Oni.workspace.takeScreenshot())

FYI, the screenshot example works now in 0.2.12.
I've started documenting the API surface here:
https://github.com/bryphe/oni/wiki/API
And some examples of how to use it in the config:
https://github.com/bryphe/oni/wiki/Configuration#examples

@bryphe AFAIK, this was implemented.
Am I correct? (if so, let's close this issue :D)

@TalAmuyal I agree, seems like basic scriptability is available, only thing missing is documentation on the API functions available.


[BACKLOG-7935] - Add Metadata Injection (MDI) support to the Cassandra Output Step - fix UI message

@bmorrise please review.

Build Completed
:white_check_mark: This pull request has passed all validations.
Build Commands
ant -Dtestreports.dir=bin/reports/unit-test -f build.xml clean-all resolve jacoco && ant -Dtestreports.dir=bin/reports/integration-test -f build.xml jacoco-integration checkstyle publish-local

Cleanup Commands
rm -r ~/.ivy2/local || echo no publish local to remove

Changed files
  src/org/pentaho/di/trans/steps/cassandraoutput/messages/messages_en_US.properties


Color produced by eval doesn't match demo

Hi ! Thanks for sharing the code. I've ran the eval program using the defaults provided and I noticed the color tends to be much dimmer than what is shown on the homepage here. Is there something that I am missing? The command I used was
python main.py --style-image ./images/21styles/udnie.jpg --content-image ./images/content/venice-boat.jpg

It may be because of different behavior of the PyTorch versions. (this code was written long time ago)
For constant results, please try our Torch implementation: https://github.com/zhanghang1989/MSG-Net/


chore: add idep chain

Thanks @keupsonite , please see my PR to modify the display unit, and then we should be good
https://github.com/EZStaking/cosmos_chain-registry/pull/1

Done @JeremyParish69, thanks you 🙏


Additional Metrics & Bounding Box Algorithms

Need to include:

IOU for tuples of 4 int/float and for numpy array based representations
NMS for the same subset of bounding boxes
Mean average precision computations should also be included

All computations can ideally be accelerated via JIT when user passes enable_jit

Merged to main.


Weird tensor behavior

Hello! I have been enjoying implementing a couple of different models using storch, however after getting into more complicated stuff I stumbled upon a weird behavior where it seems Tensors ended up having corrupted data. Apparently it happens more often when I am creating a large amount of Tensors from Scala values, but I am still not sure why/how it is happening. While I investigate, I wanted to share a simple scenario to replicate the bug:
package torch

case object WeirdTest {
  val tensors = 1.to(100).map { _ =>
    Tensor(1L.to(10000L).toArray)
  }
  def main(args: Array[String]): Unit = {
    println(tensors)
  }
}

sbt 'runMain torch.WeirdTest'

[info] Vector(tensor dtype=int64, shape=[10000], device=CPU
[info] [1, 2, 3, ..., 9998, 9999, 10000], tensor dtype=int64, shape=[10000], device=CPU
[info] [154000347366236, 140,<PHONE_NUMBER>8, ..., 1753600,<PHONE_NUMBER>935663616, 0], tensor dtype=int64, shape=[10000], device=CPU
[info] [140432769199616, 32768, 0, ..., 0, 0, 0], tensor dtype=int64, shape=[10000], device=CPU
[info] [0, 0, 0, ...,<PHONE_NUMBER>77264,<PHONE_NUMBER>77368,<PHONE_NUMBER>77472], tensor dtype=int64, shape=[10000], device=CPU
[info] [0, 0, 0, ...,<PHONE_NUMBER>94640,<PHONE_NUMBER>,<PHONE_NUMBER>94672], tensor dtype=int64, shape=[10000], device=CPU
[info] [0, 0, 0, ...,<PHONE_NUMBER>89736,<PHONE_NUMBER>88520,<PHONE_NUMBER>91272], tensor dtype=int64, shape=[10000], device=CPU
[info] [140432295821312, 67568,<PHONE_NUMBER>11688, ..., 9998, 9999, 10000], tensor dtype=int64, shape=[10000], device=CPU
[info] [140432790755296,<PHONE_NUMBER>55296,<PHONE_NUMBER>55296, ..., 9998, 9999, 10000], tensor dtype=int64, shape=[10000], device=CPU
[info] [140432767168000, 35536,<PHONE_NUMBER>68416, ...,<PHONE_NUMBER>74032,<PHONE_NUMBER>74232,<PHONE_NUMBER>74432], tensor dtype=int64, shape=[10000], device=CPU

NOTE: All tensors should have numbers from 1 to 10000 as int64, but there are some with some really large values.
If I reduce the amount to 1000, it generates the Tensors properly:
[info] Vector(tensor dtype=int64, shape=[1000], device=CPU
[info] [1, 2, 3, ..., 998, 999, 1000], tensor dtype=int64, shape=[1000], device=CPU
[info] [1, 2, 3, ..., 998, 999, 1000], tensor dtype=int64, shape=[1000], device=CPU
[info] [1, 2, 3, ..., 998, 999, 1000], tensor dtype=int64, shape=[1000], device=CPU
[info] [1, 2, 3, ..., 998, 999, 1000], tensor dtype=int64, shape=[1000], device=CPU
[info] [1, 2, 3, ..., 998, 999, 1000], tensor dtype=int64, shape=[1000], device=CPU
[info] [1, 2, 3, ..., 998, 999, 1000], tensor dtype=int64, shape=[1000], device=CPU
[info] [1, 2, 3, ..., 998, 999, 1000], tensor dtype=int64, shape=[1000], device=CPU
[info] [1, 2, 3, ..., 998, 999, 1000], tensor dtype=int64, shape=[1000], device=CPU
[info] [1, 2, 3, ..., 998, 999, 1000], tensor dtype=int64, shape=[1000], device=CPU
[info] [1, 2, 3, ..., 998, 999, 1000], tensor dtype=int64, shape=[1000], device=CPU

Extra information:
sbt -v
◼
[sbt_options] declare -a sbt_options=()
[process_args] java_version = '19'
[copyRt] java9_rt = '/Users/david/.sbt/1.0/java9-rt-ext-azul_systems__inc__19_0_1/rt.jar'
# Executing command line:
/nix/store/29jh3mjhc8r3rx5hq1cn8nhl77p9z4qc-zulu19.30.11-ca-jdk-19.0.1/bin/java
-Dfile.encoding=UTF-8
-Xms1024m
-Xmx1024m
-Xss4M
-XX:ReservedCodeCacheSize=128m
-Dsbt.script=/nix/store/1j4jqczlm8w31rnq52kpjynf9kb7f4y0-devenv-profile/bin/sbt
-Dscala.ext.dirs=/Users/david/.sbt/1.0/java9-rt-ext-azul_systems__inc__19_0_1
-jar
/nix/store/in00n8p773wp36r52j7a9kk7gx1pnjvm-sbt-1.8.2/share/sbt/bin/sbt-launch.jar

sbt:root> eval System.out.println("OS architecture: " + System.getProperty("os.arch"));
OS architecture: x86_64

That's obviously quite bad. Thanks for looking into it @davoclavo, I'll try to investigate as well.
I've seen garbarge a few times as well when playing with the API interactively in the REPL, but like @darrenjw I haven't been able to reliably reproduce it either.
I think this is also a good reason to improve the test coverage.

Ok I think I have a hunch. It could be that when calling from_blob, it does not copy the buffer, and then when the array/buffer is freed, we end up with garbage. If we clone the native tensor, it seems to be working, at least in my little test:
https://github.com/sbrunk/storch/blob/3fb3c5d5b58ca51bdee2e64f15cb4c0299cbbd0a/core/src/main/scala/torch/Tensor.scala#L793-L799
        Tensor(
          torchNative
            .from_blob(
              pointer,
              Array(data.length.toLong),
              NativeConverters.tensorOptions(inputDType, layout, CPU, requiresGrad)
-            )
+            ).clone()

case object WeirdTest {
  val range = 1L.to(10_000L).toSeq
  val tensors = 1.to(100).map { _ =>
    Tensor(range)
  }
  def main(args: Array[String]): Unit = {
    println(tensors)
    tensors.zipWithIndex.foreach { (tensor, index) =>
      println(s"$index: $tensor")
      assert(tensor.toSeq == range)
    }
  }
}


Bug : v5.2.47 : Cannot open packages anymore. App crashes

It worked with previous version
Windows 10 1803
Installed from Windows Store. Updated today, packages don't open and app crashes and closes itself

It is also crashing on my machine. Here is the event log (in german):
Application: NuGetPackageExplorer.exe
CoreCLR Version: 4.700.19.30373
.NET Core Version:
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ComponentModel.Composition.CompositionException: The composition produced a single composition error. The root cause is provided below. Review the CompositionException.Errors property for more detailed information.

1) Unbekannte ModifierKeys "STRG".

Resulting in: Beim Festlegen der Eigenschaft "System.Windows.Controls.Primitives.ButtonBase.Command" wurde eine Ausnahme ausgelöst.

Resulting in: An exception occurred while trying to create an instance of type 'PackageExplorer.MainWindow'.

Resulting in: Cannot activate part 'PackageExplorer.MainWindow'.
Element: PackageExplorer.MainWindow -->  PackageExplorer.MainWindow -->  AssemblyCatalog (Assembly="NuGetPackageExplorer, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null")

Resulting in: Cannot get export 'PackageExplorer.MainWindow (ContractName="PackageExplorer.MainWindow")' from part 'PackageExplorer.MainWindow'.
Element: PackageExplorer.MainWindow (ContractName="PackageExplorer.MainWindow") -->  PackageExplorer.MainWindow -->  AssemblyCatalog (Assembly="NuGetPackageExplorer, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null")

   at System.ComponentModel.Composition.Hosting.CompositionServices.GetExportedValueFromComposedPart(ImportEngine engine, ComposablePart part, ExportDefinition definition)
   at System.ComponentModel.Composition.Hosting.CatalogExportProvider.GetExportedValue(CatalogPart part, ExportDefinition export, Boolean isSharedPart)
   at System.ComponentModel.Composition.Hosting.CatalogExportProvider.CatalogExport.GetExportedValueCore()
   at System.ComponentModel.Composition.Primitives.Export.get_Value()
   at System.ComponentModel.Composition.ExportServices.GetCastedExportedValue[T](Export export)
   at System.ComponentModel.Composition.Hosting.ExportProvider.GetExportedValueCore[T](String contractName, ImportCardinality cardinality)
   at System.ComponentModel.Composition.Hosting.ExportProvider.GetExportedValue[T](String contractName)
   at System.ComponentModel.Composition.Hosting.ExportProvider.GetExportedValue[T]()
   at PackageExplorer.App.Application_Startup(Object sender, StartupEventArgs e) in d:\a\1\s\PackageExplorer\App.xaml.cs:line 69
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__139_0(Object state)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
   at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.Run()
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at System.Windows.Application.Run()
   at PackageExplorer.App.Main()

#717 might be a duplicate

@MscrmTools do you get the same error in the event viewer?
@onovotny compiling and running the master (and tagged commit) as store and nightly versions does work on my machine without any problems.

@campersau I'm seeing a lot of these errors in telemetry as well. The interesting part is that none of them are from English cultures.
Any chance you can dig a little since it's happening for you?

Possibly related https://github.com/dotnet/wpf/issues/684

@onovotny the tests I have made in my last comment were made using the package project as startup project and they worked fine.
I am using dotnet 3.0.100-preview5-011568

@campersau I suspect a regression in preview 6, are you able to try that? https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/3.0.1xx/dotnet-sdk-latest-win-x64.exe

I installed dotnet 3.0.100-preview6-012264 and can see the error during debugging.

System.Windows.Markup.XamlParseException
  HResult=0x80131501
  Nachricht = Zeilennummer "69" und Zeilenposition "18" von "Beim Festlegen der Eigenschaft "System.Windows.Controls.Primitives.ButtonBase.Command" wurde eine Ausnahme ausgelöst.".
  Quelle = PresentationFramework
  Stapelüberwachung:
   bei System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
   bei System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   bei System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
   bei System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   bei System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
   bei PackageExplorer.MainWindow.InitializeComponent() in C:\dev_projects\NuGetPackageExplorer\PackageExplorer\MainWindow.xaml: Zeile1

Innere Ausnahme 1:
NotSupportedException: Unbekannte ModifierKeys "STRG".

Thanks for confirming. I'll try to escalate. In the interim, I've reverted to preview 5 in the build and that's deploying through the store.

The error I got is in French OS.
It happens also when creating a brand new package

The issue is fixed for me with the new NuGet Package Explorer 5.2.49 version. @MscrmTools can you please try the update too?

@onovotny let me know when I can do a test with another dotnet version :)

Yes, fixed too with this version

Great to hear. I'll keep this issue to track the underlying external WPF issue and will close once there's a fix in WPF.

@campersau Can you install the latest Preview 7 and see if it has the fix in it?
https://dotnetcli.blob.core.windows.net/dotnet/Sdk/master/dotnet-sdk-latest-win-x64.exe

@onovotny This bug is fixed but I got some compilation errors:

System.Windows.Forms can not be referenced.
https://github.com/NuGetPackageExplorer/NuGetPackageExplorer/blob/6e9fcf092fdbb7189159e57731cd4bb10a5c7011/PackageExplorer/MefServices/UIServices.cs#L259

System.Drawing.Icon is missing.
https://github.com/NuGetPackageExplorer/NuGetPackageExplorer/blob/6e9fcf092fdbb7189159e57731cd4bb10a5c7011/PackageViewModel/Utilities/FileHelper.cs#L326


Ideas to more explicit with the next-auth providers dependencies

Describe the feature
I noticed that the current recommended pattern for providers is to import from the next-auth package.
As this package is a dependency of @sidebase/nuxt-auth, and not necessarily a dependency of the nuxt application using @sidebase/nuxt-auth, it means either relying on the implicit hoisting of dependencies by a subset of package managers, or explicitly adding next-auth as a dependency in the nuxt application.
I chose to do the latter for better explicit dependency tracking and to avoid potential conflicts with pnpm.
Today, I encountered an issue due to a minor version bump of  next-auth during a routine package upgrade, and noticed that in @sidebase/nuxt-auth a specific version of next-auth is pinned.
I pinned to the specific version in my project's package.json, but it got me wondering if there was a better way.
A couple options I see:

explicitly re-export the providers from next-auth in @sidebase/nuxt-auth, so the exact versions from next-auth that work with @sidebase/nuxt-auth can be used
add next-auth  to peerDependencies  in addition to dependencies in @sidebase/nuxt-auth, so package managers will present a warning if there's no explicit next-auth dependency in the nuxt project, or if the explicit dependency falls outside  @sidebase/nuxt-auth's pinned version of next-auth

Additional information
No response

Hey there @profblackjack! 👋
Thanks for the well though-out, long form proposal ❤
You are right that drift of the underlying next-auth dependency can pose a risk. Most recently we encountered this in #89 (which is probably the same issue that you encountered).
Only today when we fixed #89 + released 0.3.0 we fixed the next-auth dependency (instead of allowing small fluctuation via the ^). Bascially, this should already fix the problem you describe above: When you install<EMAIL_ADDRESS>it should now automatically install<EMAIL_ADDRESS>no matter what.
Of course you could still manually override this with a "bad" version or accidentally have a second next-auth version installed due to some dependency. This seems very unlikely to me however, because as you're saying yourself: We're in a nuxt world!
So, do you think that the fix of #89 is enough to address this proposal? Btw, see https://github.com/sidebase/nuxt-auth/pull/94 for the fix itself where we pinned the next-auth version.

Hi @BracketJohn,
I think it's specifically because of the pinning inside nuxt auth that I made this issue.
For hoisting package managers (npm, yarn), I can ignore explicitly adding next-auth as a dependency, but can still access providers via import x from 'next-auth/providers/x, because the next-auth dependency is hoisted to the top level of node_modules and can be referenced by the nuxt project even though it's not a dependency of the project.
However, package managers like pnpm do not perform hoisting, and you don't get this side effect where you can access modules outside of your explicit dependencies.
In this case, I currently need to add next-auth as a (dev)dependency so I can grab providers from it, and there's no indication that I might be adding a version incompatible with next-auth.

Hey @profblackjack 👋
you are right - we'll switch the internal core to the auth.js soon (the framework independent successor of NextAuth). As part of this, we'll address this issue (:

Moved this into #117 and will close this issue to keep the repo clean. Thanks again @profblackjack and do know that this will be resolved - just as part of #117.

Just as a quick fyi for everyone following this issue: This has already happened, in 0.4.0 next-auth is a peer dependency (:
At the moment we're still on alpha-releases, but it's looking quite stable already, so if this is a pressing issue to you, you can upgrade to get the benefits.


Version 25.3.1

Can you please update your library to <IP_ADDRESS> ?
Thank you

It's on the way.

Hi @DenisMondon
I published 25.3.1. Please check. I also heard that Support Library 26.0.0 will include the fix for original AppBarLayout.


Add auto-sni support

Signed-off-by: Faseela K<EMAIL_ADDRESS>Please provide a description of this PR:
RFC auto-sni support
To help us figure out who should review this PR, please put an X in all the areas that this PR affects.

[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[X ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

/ok-to-test

@kfaseela: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio
6fa16920d3d3f4d7dec5a726b09f389462c8ff0b
link
true
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@kfaseela: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-distroless_istio
5e56e23fb007bc2e9900aae0f5d409677f41a53f
link
true
/test integ-distroless_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

LGTM


Client Crashes When Opening Satellite Terminal UI

Version of Advanced Rocketry
1.7.10-1.4.0-18 (1.4.0-18)
Have you verified this is an issue in the latest unstable build
N
Version of LibVulpes
1.7.10-0.2.8-34 (0.2.8.-34)
Version of Minecraft
1.7.10
Crash report or log (if applicable)
https://pastebin.com/pwjnHaG1
Description of the problem
Whenever I try to open the Satellite Terminal's UI, my client crashes. I noticed the first time I tried this, it crashed. It was late at night, so I just went to bed. The next day (today) I go to open it, and it worked. I noticed an issue with the satellite not sending data, so I continued to open the Terminal several times I worked out the issue (it ended up being an issue with Data Cables), but now all of a sudden, every time I try to open it, my client crashes. I have not tested this on a newer version, as the mod is part of our server's pack, and my system can not handle playing Minecraft on Single Player, so I am unable to go load up a new instance with a newer version of the mod.
The above pastebin log is the resulting crash log. If a full game log is needed, please let me know where I can find such file.

Is this still a issue? Please comment if it is and i will reopen if if you are unable? We are closing old issues to see what is still relevant and needs to be fixed.


Fresh venv install following the Quickstart example fails due to ModuleNotFoundError: No module named 'fsspec'

Describe the bug
I created a new venv environment to test out the Quickstart example. With a new notebook and after a pip install uptrain, when importing in the EvalLLM and Evals I get the error ModuleNotFoundError: No module named 'fsspec'
To Reproduce
Steps to reproduce the behavior:

Fresh install of python
python -m venv venv
source venv/bin/activate
Create a new .ipynb
pip install uptrain
Successful pip install
Create a new cell with only
from uptrain import EvalLLM, Evals  import json
The cell will fail for ModuleNotFoundError: No module named 'fsspec'

pip install fsspec fixes the problem but should either be included in the package or called out in documentation
Expected behavior
When following the example from the Quickstart all dependencies should be installed (either through the package or by calling it out explicitly in the documentation.
Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
To get around this I just needed to do a pip install fsspec
If this is a requirement it should be included in the package or called out as a dependency in documentation
System Environment
Sonoma 14.3.1
Python 3.11.7
VSCode 1.86.2 (Universal)
Jupyter Extension - v2024.1.1
Thanks for submitting your bug – we love squashing them!

Thanks for bringing this to our attention, @cfrenchi! Fixed this in #603


Trigger waypoints with css-transform?

Hej!
Is there a way to trigger waypoints when an Element enters the viewport with css-transform?
I can't find a solution in the Guides or the API, but it would be awesome, because I want to combine waypoints with a modern Slideshow.
Thanks & Kind Regards,
Lucas

@lucasdidthis I don't have a great answer for you. "Probably not" is the best I can do for now. Waypoints is very tied to the scroll and resize events right now. It may be interesting to play with abstracting out the generator of trigger checks but I'm not likely to explore that any time soon.


MarketplaceService:getProductInfo() failed because

MarketplaceService:getProductInfo() failed because https://api.roblox.com/marketplace/productinfo?assetId=117931593: HttpSendRequest, err=0x2EE7

I know this is an old issue, but did this occur in the old purchase script? (LoadingScript was not enabled at this time)
The error is the result of the API call making a web call that failed. All current CoreScripts that call this pcall the call, so scripts should not be crashing.
Will leave open for a bit but if this doesn't come up anymore I will close the issue. Thanks!

I am still seeing similar errors, though the error varies. Each of these errors was seen within the past week:
MarketplaceService:getProductInfo() failed because https://api.roblox.com/marketplace/productinfo?assetId=<PlaceId>: HttpSendRequest, err=0x2EE2
MarketplaceService:getProductInfo() failed because HTTP -1001
MarketplaceService:getProductInfo() failed because rawProductInfo was empty
MarketplaceService:getProductInfo() failed because https://api.roblox.com/marketplace/productinfo?assetId=<AudioTrackId>: WinHttpReceiveResponse, err=0x2EFE

This will be handled better from this 54a62974dd84c56eb5ed5cc9ac842e1b6582a1a5
Those errors are engine level errors. The web call is failing or it's getting back empty JSON.

Last seen on 11/21/2015. Closing.


Release 2.18 Feature/optimizer add support for scheduled items #1272

Review Issue in Dev Repo
Review Documentation to find any current references to this feature or screenshots that need to be updated. List in a comment on this Issue
Determine if issue needs a larger write up or explanation. If so, add detailed documentation to this google doc - ask in the Slack group if you are unsure.
Move to In Review when you are done and at mention sharicarlson13 in a comment

Duplicate issue - #50


Refreshing webpage when using wsl and vite - additional config

Hello! So, while taking the course on FrontEnd Masters, I realized that my webpage (while using Vite) was not refreshing when I made changes to my files. For example going from useState("Seattle, WA") to useState(""). On searching around a little, I noticed that with wsl (as we are using npm, which runs with wsl), changing the config file to this allows for page refresh:
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";

export default defineConfig({
  plugins: [react()],
  root: "src",
  server: {
    watch: {
        usePolling: true
    }
  }
});

I am not sure if this is the case with other PCs, but I found this useful.
Happy learning!

Thank you ! That's exactly what I was looking for.


Convert from govendor to glide

Cc: @iderdik. @f4tq

👍

I don't have the ability to merge on this repo

@f4tq, as maintainer, can you do the honors please?

Closing because I talked to @f4tq and he said govendor is pretty integral to the build process.
I asked him to simply change the govendor deps to loosely pin for negroni, ginkgo, and gomega.
That should fix these warnings I believe:
[WARN]	Conflict: github.com/codegangsta/negroni version is ~0.2.0, but also asked for 8d75e11374a1928608c906fe745b538483e7aeb2
[WARN]	Conflict: github.com/onsi/ginkgo version is ~1.3.1, but also asked for 38caab951a9ff39f0e61294a1dbaaa074a39228b
[WARN]	Conflict: github.com/onsi/gomega version is ~1.1.0, but also asked for 8adf9e1730c55cdc590de7d49766cb2acc88d8f2


py3 virtualenv install not working on RedHat

problems with SSL connection, even when cloning the GH repository

Wonder if this could be related to #84

Will consider this resolved when #110 is fixed.


ledcAttachPin shoud support output_invert param (IDFGH-8781)

Is your feature request related to a problem?
We can imagine that device controlled by ledc driver is connected by NPN or PNP transistor.
It would be perfect to have output inversion, which already is supported by ledc_channel_config called from ledcAttachPin
Describe the solution you'd like.
Extend ledcAttachPin interface to support output_invert
  void ledcAttachPin(uint8_t pin, uint8_t chan, uint8_t output_invert)

Describe alternatives you've considered.
No response
Additional context.
No response

IDF already has output_invert member in ledc_channel_config_t (docs).
It looks like you are referring to ledcAttachPin function defined in the arduino-esp32 project here, so I'll move this feature request over to arduino-esp32.


Hello World example is not working on any device

I'm submitting a ...  (check one with "x")

[ ] question
[x] any problem or bug report

OS:  (check one with "x")

[x] Android
[x] iOS
[ ] Browser

cordova information:  (run $> cordova plugin list)
com.googlemaps.ios 3.8.0 "Google Maps SDK for iOS"
cordova-plugin-googlemaps 2.7.1 "cordova-plugin-googlemaps"
cordova-plugin-whitelist 1.3.4 "Whitelist"

Current behavior:

Map never show up, seeing an grey area.
Expected behavior:

Map to show up
Screen capture or video record:

http://prntscr.com/sq05ih
Related code, data or error log (please format your code or data):
Please share your project files on Github or others(Bitbucket, Gitlabs...etc).
If you don't want to share your project files, please create a demo project, then share it.

Screen captures, and/or native logs(such as Logcat, xcode logs) are appreciate.

Giving much information, you are waiting time is less.
Thank you for your cooperation.

Followed all steps carefully, replaced step 3 with my keys, no code has changed. Tested on cordova 9.0.0, but also on 8.1.2
Support this plugin activity
I appreicate if you give me a beer :beer: from here

Gray map means your API key is wrong.
https://github.com/mapsplugin/cordova-plugin-googlemaps-doc/blob/master/troubleshootings/graymap/README.md


fix(nebula): adapt velodyne decoders azimuth and timestamp to AWF definition.

PR Type

Bug Fix

Related Links
https://tier4.atlassian.net/browse/RT1-2669
Description
Adapt Velodyne point cloud's azimuth and timestamp to the new AWF-defined point cloud definition.

Codecov Report
Patch coverage: 48.07% and project coverage change: +8.20 :tada:

Comparison is base (a3d2788) 13.44% compared to head (f069959) 21.64%.

: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.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #36      +/-   ##
==========================================
+ Coverage   13.44%   21.64%   +8.20%
==========================================
  Files         111       48      -63
  Lines       10852     6301    -4551
  Branches     1703     1663      -40
==========================================
- Hits         1459     1364      -95
+ Misses       8224     3782    -4442
+ Partials     1169     1155      -14

Flag
Coverage Δ

differential
21.64% <48.07%> (?)

total
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...coders_velodyne/decoders/velodyne_scan_decoder.hpp
50.00% <ø> (ø)

...ebula_decoders_velodyne/decoders/vlp32_decoder.cpp
0.00% <0.00%> (ø)

...ebula_ros/hesai/hesai_hw_interface_ros_wrapper.hpp
0.00% <ø> (ø)

..._ros/src/velodyne/velodyne_decoder_ros_wrapper.cpp
0.00% <0.00%> (ø)

...bula_decoders_velodyne/decoders/vls128_decoder.cpp
62.66% <66.66%> (-3.28%)
:arrow_down:

...ebula_decoders_velodyne/decoders/vlp16_decoder.cpp
77.24% <75.67%> (-1.99%)
:arrow_down:

... and 63 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


GitHub

GitHub
User Story
AS A manager
I WANT to generate a webpage that displays my team's basic info
SO THAT I have quick access to their emails and GitHub profiles
Acceptance Criteria
GIVEN a command-line application that accepts user input
WHEN I click on the GitHub username
THEN that GitHub profile opens in a new tab

This has been completed


2018 calculation

Add the calculation for 2018. Should be available in October or November 2017.

2018 api/xml is out now.


[Modify] Top Scroll button

I want to add favorable background color to the TOP SCROLL BUTTON as it will look better⚡.

I want to contribute this for you ❤.

i can solve this issue please assign me

I can solve this issue, please assign me this issue.

i can solve this issue please assign me

make your own #issue and then work on it , you can work on easy issues .

I am really great that you assigned me this issue, I would soon sharing you a PR with the following.


Add ability to configure ConcurrentQueue.unbound() per operation

Could we consider for Monix 3.0 add ability to configure underlying unbound queues buffer not only globally but also per operation?
The problem which I'm trying to solve with that is excessive memory consumption by WS streams in our application, due to a few merge operations with back pressure strategy, each merge stage creates queue with 1024 elements buffer under the hood which consumes ~4kb (~8kb in total for two operations) being at that moment just empty. While it could be seen negligible, however when application has 30K WS it already consumes ~240mb (in total for two operations).
Due to lack of ability to configure buffer per operation we have to set size globally, and this puts restriction on whole application. For me it seems inefficient because there could be other parts of application which may require bigger size of the buffer.

Changing it per operation would probably mean having an extra (implicit) parameter added to each method. If so, it wouldn't play nicely with cold observables, and so is unlikely to be done.

I think we can achieve this for AbstractBackPressuredBufferedSubscriber without additional parameters if use math.min(bufferSize, Platform.recommendedBatchSize) for underlying ConcurrentQueue.unbounded() instance. And for me it seems quite logically, why do we need queue with chunks larger than outer buffer?

I don't understand the request.
What do you mean "per operation"? In the case of ConcurrentQueue, this exposes the buffer — the buffer is the queue, the queue is the buffer so to speak. In case you've got multiple operations with different requirements, you can configure multiple queues.
In the case of unbounded, indeed the underlying implementation uses a "chunked array queue", so it grows in chunks. Is the problem that the chunks are too big? You can configure it to use smaller chunks.

If the problem is that you need to publish the same events to multiple consumers, then we are talking about a way to manage multiple queues (meant for different purposes) but that get the same signals (e.g. a broadcast setup).
I am working on a ConcurrentChannel that addresses this use-case. The interface is like this:
class ConcurrentChannel[F[_], E, A](implicit F: Async[F], timer: Timer[F]) {

  def push(a: A): F[Boolean]

  def pushMany(seq: Iterable[A]): F[Boolean]

  def pushMany(seq: Iterable[A]): F[Boolean]

  def consume(
    capacity: BufferCapacity,
    channelType: ChannelType): Resource[F, ConsumerF[F, E, A]]

}

Where ConsumerF is this:
trait ConsumerF[F[_], E, A] {

  def pull: F[Either[E, A]]

  def pullMany(maxLength: Int): F[Either[E, Seq[A]]]
}

So whenever you use consume, you create a new internal queue that gets added to the set of queues that incoming messages need to be published on — thus you can have unicast, broadcast, or multicast setups.  ConcurrentChannel is a way to push the same messages to multiple consumers, working essentially like a PublishSubject and where each subscriber gets its own buffer.
This however will get published post 3.0.0, because I can't delay the release and I need to get it right.

Sorry that my previous statement became so ambiguous, I just wanted to describe following situation:
Let's pretend that we have two or more sources of events per client and we want to send all of them all into one web socket channel, all sources are back pressured, so my implementation is something like this:

trait ClientEvents {
  type ClientId

  trait Event

  def sourceOfEvents1(clientId: ClientId): Observable[Event]

  def sourceOfEvents2(clientId: ClientId): Observable[Event]

  def allEvents(clientId: ClientId): Observable[Event] =
    Observable(sourceOfEvents1(clientId), sourceOfEvents2(clientId)).merge()
}

And merge operation is source of the issue which i'm trying to describe, because MergeMapObservable (monix.reactive.Observable#mergeMap (monix/reactive/Observable.scala:2222))
creates instance of BufferedSubscriber inside (monix/reactive/internal/operators/MergeMapObservable.scala:43)
And as default strategy was selected, the BackPressure OverflowStrategy will be used (monix/reactive/observers/buffers/BuildersImpl.scala:32)
That all means that BackPressuredBufferedSubscriber will be used, and if we go inside of implementation we will see there ConcurrentQueue.unbounded() instance (monix/reactive/observers/buffers/AbstractBackPressuredBufferedSubscriber.scala:45)
Which as you can see has buffer size defined as platform wide and it's not possible to configure it per operation, which means each merge operation will cost at least ~4kb (size of single empty chunk) and the only possible way to decrease memory consumption is changing global configuration.
For regular application it's ok but when you have several dozen thousands of active websockets it became an issue with severe memory consumption on one side and sub-optimal global configuration for buffer on other.
Your suggestion with ConcurrentChannel is a possible way to solve that issue, but I think it creates complexity where it's not necessary and simpler solution would be to provide way to pass size of buffer from declaration of merge operation. My previous suggestion was to use parameter bufferSize of BackPressure strategy as parameter for unbound queue there.
Anyway thank you for spending your time into that issue.

@YulawOne so what I understand is that the buffer created for OverflowStrategy.BackPressure is an unbounded queue that has a chunk size of Platform.recommendedBatchSize and this is a problem because it uses too much memory per merge operation. Is that correct?
I'm not sure how to solve this, because that chunk size is an implementation detail of the underlying queue being used. I mean in other situations the whole buffer size is being allocated, not just in chunks.
I guess we can add a chunkSizeHint to OverflowStrategy. And/or reconfigure that default to be lower.
What do you think a good solution would be?
We need to hurry with this though, because I wanted to release 3.0.0 and this smells like a breaking change.

You do seem to have a serious use of merge in your app that I want to support 🙂

@YulawOne so what I understand is that the buffer created for OverflowStrategy.BackPressure is an unbounded queue that has a chunk size of Platform.recommendedBatchSize and this is a problem because it uses too much memory per merge operation. Is that correct?

Correct

I'm not sure how to solve this, because that chunk size is an implementation detail of the underlying queue being used. I mean in other situations the whole buffer size is being allocated, not just in chunks.
I guess we can add a chunkSizeHint to OverflowStrategy. And/or reconfigure that default to be lower.
What do you think a good solution would be?

My suggestion was to use outer buffer size as chunk size, so you'd be able to configure underlying queue with BackPressure  Strategy buffer size:
def unbounded[A](size: Int = Platform.recommendedBatchSize): ConcurrentQueue[A] = {
  if (UnsafeAccess.IS_OPENJDK_COMPATIBLE) {
    new FromMessagePassingQueue[A](new MpscUnboundedArrayQueue[A](size))
  }
  else {
    val ref = new MpscLinkedAtomicQueue[A]()
    new FromAbstractQueue[A](ref)
  }
}

And inside AbstractBackPressuredBufferedSubscriber set queue size equal to bufferSize
  protected final val queue: ConcurrentQueue[A] =
    ConcurrentQueue.unbounded(_bufferSize)

There is pros and cons for such change
pros:

this change won't make any changes to existing api and could altered in future
for me it seems logical to have same size buffer and chunk, but to be sure there should be some benchmark which show relations between outer buffer and queue

cons:

we introducing relation between things that are not relative
from performance perspective is uncertain change

You do seem to have a serious use of merge in your app that I want to support

Let me make slight insight into my domain and what use case of monix I have - I'm developing customer support system with embedded chat in to it. Both support agents and customers receive updates via WS, currently it's about 10k-15k average and up-to 30k simultaneous WS connections during spikes. Nodes on backend scales with Akka Cluster with extensive usage of Akka Cluster PubSub. Most of things that are done with monix is merging and routing various event source for customer/support agent. In average we have 3 merge stages per connection and with default Platform.recommendedBatchSize we start getting OOM due severe memory consumption

@YulawOne you are right that at the very least the chunk size shouldn't be greater than the declared buffer size.
Let me sleep on it, but will deliver a solution for the next release.

@YulawOne as an update, I'm working on this, see: https://github.com/monix/monix/pull/801


⚠ Bofrost.at has degraded performance

In 8039fd3, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 996 ms

Resolved: Bofrost.at performance has improved in c446404 after 6 minutes.


Add missing phpdoc type

@vitkutny Thanks for contribution. Could you rebase your changes against next branch, please?

@vitkutny Thanks for contribution!


support Paseo

add paseo and its asset hub
Governance is disabled for Paseo atm intentionally
closes #1398

Summary by CodeRabbit

New Features

Introduced support for the Paseo network, including Paseo Asset Hub.

Enhancements

Improved handling of staking amounts and pool IDs.
Enhanced validator suggestion filtering and sorting.
Updated various constants for better network support.

Bug Fixes

Fixed potential null/undefined errors with optional chaining in multiple components.

Chores

Updated @polkagate/apps-config package to the latest version.

Refactor

Simplified state handling and logging within staking components.

Proxy type list issue found


what time 0.9.0-beta.13 upgrade 1.0.0 ?

what time 0.9.0-beta.13 upgrade 1.0.0 ?

This week we are going to release 0.9-beta.14 https://github.com/kubernetes/ingress/projects/8
We don't have a date for 1.0

Hi @aledbf, do you have a plan or anything for 1.0? What should be done for this release, etc…? If that is outlined and planned, maybe people can help to get the 1.0 done. Few guys already asked here when a "not-beta" version will be released.

@stibi you can check in the projects page https://github.com/kubernetes/ingress/projects?query=is%3Aclosed the content of each release. About a plan for "1.0", there is no such plan. Maybe we need a list of what is missing/expected?

Few guys already asked here when a "not-beta" version will be released.

I think beta.14 could be the latest beta. That said I've been trying to release 0.9 for a while but I always get new feature request or changes. Maybe is time so say no and just release 0.9.


Carriage returns disappear from translations

Hi,
I'm having a problem managing \r and \n CARRIAGE RETURN characters.
I want to translate sentences containing CARRIAGE RETURN characters that can be located right in the middle of sentences.
I use the following parameters to ask DeepL not to take CARRIAGE RETURN characters into account:
import deepl
translator = deepl.Translator('my_auth_key')

text = "Отпустите рюкзак\r\nи он автоматически\r\nвернется на место"
translation = translator.translate_text(
        text,
        source_lang=deepl.Language.RUSSIAN,
        target_lang=deepl.Language.ENGLISH_AMERICAN,
        formality=deepl.Formality.PREFER_LESS,
        split_sentences=deepl.SplitSentences.NO_NEWLINES,
        # preserve_formatting=True  # Doesn't work, even when uncommented
    ).text

The meaning of the translations via the API with the DeepL python library are correct but I lose the CARRIAGE RETURN characters in the results (I have also tried with preserve_formatting=True but no better)
I tried with \n instead of \r\n but same results too.
text          : 'Отпустите рюкзак\r\nи он автоматически\r\nвернется на место'
translation   : 'Let go of the backpack and it will automatically return to its place'

text          : 'Отпустите рюкзак\nи он автоматически\nвернется на место'
translation   : 'Let go of the backpack and it will automatically return to its place'

Here's what I expect to happen:
text          : 'Отпустите рюкзак r\nи он автоматически\r\nвернется на место'
translation   : 'Let go of the backpack\r\nand it will automatically\r\nreturn to its place'

text          : 'Отпустите рюкзак\nи он автоматически\nвернется на место'
translation   : 'Let go of the backpack\nand it will automatically\nreturn to its place'

Am I doing something wrong?
Thanks in advance

The workaround I've found to deal with this is to use an xml tag and ignore it with the ignore_tags parameter to get LF placeholders that I can then replace with CARRIAGE RETURN characters::
translation = translator.translate_text(
text,
source_lang=deepl.Language.RUSSIAN,
target_lang=deepl.Language.ENGLISH_AMERICAN,
formality=deepl.Formality.PREFER_LESS,
split_sentences=deepl.SplitSentences.NO_NEWLINES,
tag_handling='xml',  # Enable xml tags
ignore_tags=['x'],  # Ignore  xml tag
).text
text          : 'Отпустите рюкзакLFи он автоматическиLFвернется на место'
translation   : 'Let go of the backpackLFand it will automaticallyLFback in place'
Then replace all these LF placeholders with \n to finally get the result I was expecting:
translation   : 'Let go of the backpack\nand it will automatically\nback in place'
But I'd like to avoid using xml tags and let DeepL take care of keeping the \r and \n CARRIAGE RETURN characters.
Is this possible, or am I doing something wrong?


Use batch inserts for metric data

There are two methods in MetricsServiceCassandra for inserting metric data,
ListenableFuture<Void> addNumericData(List<NumericMetric> metrics)

ListenableFuture<Void> addAvailabilityData(List<AvailabilityMetric> metrics)

Each method takes a list of metrics, and each metric can include one or more data points. We perform a batch insert for each metric. So if the metrics argument is of size N, then N batch inserts are performed. We want to batch writes of data points belonging to the same metric makes whenever possible. Since those writes go to the same partition, Cassandra will perform those mutations efficiently and atomically.
Batching writes from multiple metrics can improve write performance, substantially in some cases. These methods should be refactored as necessary to batch writes across multiple metrics. There is the question  of optimal batch size, but I do not think we need to try and answer that question with this ticket.

This issue has been moved - https://issues.jboss.org/browse/HWKMETRICS-7


Install work webhook on hub

a question about names.  lgtm otherwise.

/pmorie
/deads2k

/retest

/retest

/retest

/retest

/retest

/lgtm


How I can add request hostname to global tags?

My application running with multi domains so I want to filter metric data by domain. How I can add request hostname to global tags?
Please guide, thanks.

https://www.app-metrics.io/getting-started/fundamentals/tagging-organizing/


Could Dubbo REST use same port with SpringBoot Server port or how do?

Yes, you can do it, but you have to change a little bit.
First, you should remove the configuration of Dubbo's REST, which means the Dubbo service with REST protocol should not be exported.
Second, your Dubbo @Service Classes annotate the @Component.
Finally, you read this article instructing the remaining work.

Thanks,it's worked.Surprise mercyblitz answer me self.


Make build script more readable

Hello
As mentioned in this comment : https://github.com/rspec/rspec-rails/pull/2231#issuecomment-567930499

I would love to be able to more easily run the build locally, and run each step without looking at shell functions or Rakefile. Like simply copy paste one line from travis logs.

I have often problems to replay a failing step especially on rspec-rails. Most of the time I open the Travis build's log, try to rerun the step, if I am not able to reproduce the error, I rerun previous or parent task, then if I'm still not able to reproduce the error, I try to be as close as possible to the CI environment.

Does CI build steps are clear enough?

I think we should improve the command that are executed. Maybe with some visual space, ascii separator. We should be able to easily see all commands that are executed by the CI with the relative path. I am thinking about tasks in "example app" in rspec-rails that does not mention the path where they are executed.

How to more easily reproduce the step?

Should we provide when the command fail, the full command to rerun locally the step? For example:
🚧 Build failed at step "bundle exec rake smoke:app". To rerun the step:

rvm use 2.6 && rm -f Gemfile.lock && export RAILS_VERSION='~>6.0' && bundle --binstubs && bundle exec rake smoke:app

Maybe a bash script that would choose ruby via rvm setup, check binstubs then run a specific commands like above. Something like:
🚧 Build failed at step "bundle exec rake smoke:app". To rerun the step:

script/local_retry --ruby_version='2.6' --command='bundle exec rake smoke:app'`

I looked at Github actions, to see if it was more readable. It is a little bit better to display step, but not executed commands. https://github.com/dry-rb/dry-effects/runs/358219156

So the problem is not our CI host, the problem is our build consists of various chunks which are a combination of bash scripts and rake tasks which generate apps and run tasks that are not easily replicated. I think focusing on making those more replicatable will help.

I think the way rspec-rails 4 goes is the way that will help us for other rspec gems. Having a smaller build matrix is a game changer.
I don't see at the moment the gain of using Github action instead of Travis CI.


Render an Array of Pre-Defined Strings as a List of Checkboxes in Settings Editor UI

It would be great to allow for a setting that is specified as an array of pre-defined strings to be rendered as a collection of tickboxes via the Settings Editor UI.
Right now, it seems that the only mechanism available is:

But this makes it difficult to edit as the user needs to know the exact string they want to add/modify and there is no error validation (to tell them if their string is invalid or if their string has already been used).
Example:
There is a setting called "someSetting" whose only permissible values are "hey", "there" and "vscode". Below a user has chosen to only include "hey" and "there".
{
"someSetting": ["hey", "there"]
}

This would render as something like this (with a header like "someSetting") where only the tickboxes for "hey" and "there" would be selected out of  "hey", "there", and "vscode".

It's true that we don't get intellisense for the array control in the nice way that we do for the json editor. One possible issue with this approach is that you wouldn't control the order, is that a problem?
So then a generic control for a type like
"someSetting": {
  "hey": true,
  "there": false
}

might be better

@roblourens That's a good question and a good catch. In my particular case, having the ability to keep the settings in a consistent order would be nice.

@roblourens The requirements for this have changed. As such, I've updated this ticket.

Tracking everything related to the new renderer in #99635

Closed with https://github.com/microsoft/vscode/issues/99635


Converge on one concept and set of APIs for "stuff packed with dlls"

Issue moved from microsoft/dotnet#1278

Please respond to @atrauzzi.

From @atrauzzi on Friday, December 11, 2020 3:01:31 AM
In the spirit of https://themesof.net/ it would be nice if the resource story in .net converged on one idea.

I'm always unsure as to which is the right one to pick and official docs don't clearly spell out which to use.
I'm not sure which APIs for accessing the embedded resources are the right to use or what kind of lifecycle and caveats I must observe

An internet search will result in this question popping up over the years.  Here's one and you can see that the answers have a difficult time being direct.  Just references to MS docs which don't really offer clear direction.

I'm not talking about UI, or localization necessarily.  I'm also not asking about documentation.
I'm specifying that the presence of multiple options in the framework for including resources inside of DLLs is very confusing and could afford to improve by amalgamating them into a single concept.

I'm specifying that the presence of multiple options in the framework for including resources inside of DLLs is very confusing and could afford to improve by amalgamating them into a single concept.

What options you are talking about here?

@tarekgh... Are you sure you read my description?  I'm worried that you're just skimming what I'm saying, looking for key words to apply a canned response. I've even provided an example of someone else expressing similar confusion.  I invite you to do some very simple google searching, there are several examples out there of people other than myself being confused by "resources" as a concept in .net: Here's another one. But please be sure to check out the first one I linked originally.
This is not a documentation issue.
"Resources" as a concept in .net can seem very confusing and ambiguous.  Both at a project level, by the APIs that are available as well as the terminology used.
The framework would do well to try and reel both the existing concepts into a single one and then present that as the way to embed resources in DLLs.

@atrauzzi I read the descriptions and I was just asking for clarification. The link link https://stackoverflow.com/questions/1934826/whats-the-difference-between-a-resource-and-an-embedded-resource-in-a-c-sharp-a is more about WPF resources.
In .NET we have just one way to use resources which is managed resources accessed through ResourceManager using the Embedded resources (and satellite assemblies). When it comes to the UI platforms (e.g. WPF. WinForms...etc.), such platforms can choose to support more ways for including resources. These are not part of the core of the .NET. Also, for Windows runtime apps written in .NET, we allow accessing the Windows app resources through the Windows Runtime APIs.
So in general, what is your app model and which UI framework you are using to know exactly how to create and access the resources. And the .NET core has just one way to create a resources.
I am rephrasing my question here to more questions to be more clearer.

Are you talking about unifying the resources between the .NET framework (as a core platform) and WPF (as a UI platform)? or are you talking about other things here?
What is you suggestion here or what you think can be done? Are you suggesting exposing new APIs and/or a new Resource model and deprecate the old models? or are you suggesting to build a new resource layer to unify the resource models? or are you suggesting to deprecate the WPF resource support?

When the ask is clear I can move this issue back to the proper repro.

I think both your points merit investigation.  The first one for sure, with the 2nd idea of introducing a single API & resource concept for all platforms in the .net ecosystem being definitely a good way to go.
Whatever WPF is using and whatever were known as embedded resources prior to it, they've become ambiguous and with the idea that .net 5 is supposed to be a harmonization of all platforms, it only follows that including content with executables or dlls should be offered by a single abstraction. Not two that overlap and are difficult to research best practices for.

I am not sure I agree with your analysis here. It is not a bad thing to offer more fixability by providing more ways to include resources in platforms like WPF. I think it is matter of having a clear guidelines and documentation when to use which type of resources at which time. that is why I moved the issue to the documentation in the first place.
The .NET core resource model is built over the embedded resources which is used by majority of the apps/libraries in general across all different type of apps and app models. so this is not going to be deprecated as I am not seeing anyway we can do that. Even in WPF, you can still use the embedded resources if you want to. The question now is, do you think it is worth it to try to have WPF deprecate all different kinds of resources and only allow the embedded resources? my take here is no as this will put unneeded restriction. Documentations, samples and blogs can help here more than just trying to deprecate any resource models. Even exposing a new APIs will make the situation worse as will add complexity more than simplicity.
anyway, I'll move this issue to WPF repo so the owners can decide what to do with the resource models supported there. For .NET core resource model (using embedded resources) is good enough and adapted for decades and we are not willing to change or deprecate that.


Update charts to work with ONOS >=2.2.

Moved the ONOS deployment to use a statefulset so that ONOS nodes
have a persistent identity for Atomix and OpenFlow connections.

Looks good! I assume we need to add license headers to these files, but none of them have them so we can do that separately.

Yes I can do that in a separate step. If this is to become the officially-supported ONOS helm chart, it would probably make sense to move this to the ONOS gerrit, then we can set up the licence-check jobs that we have for other repos.
We should also publish this helm chart and we have jenkins jobs that do that for other repos in CORD. And also we should publish the atomix helm chart that this depends on so it's not using a file-path dependency.

Hi,
Any chance to get this patch merged?
Is there an up-to-date repo which we could use to get started with a recent version of ONOS + k8s?
I also checked sonaproject/k8s-sona-ansible, but it also looks deprecated and it does not work on Ubuntu 18.04.
Thanks,
Georgios

Hi,
Any chance to get this patch merged?
Is there an up-to-date repo which we could use to get started with a recent version of ONOS + k8s?
I also checked sonaproject/k8s-sona-ansible, but it also looks deprecated and it does not work on Ubuntu 18.04.
Thanks,
Georgios


enhance handling inconsistent tabularInput keys + test

Enhanced by create a new file when meet new field names (record() is called), and merge them when dump() is called.
The idea is try to simplify the record() step, which might be frequently called. It benefits the situation when dump() is called every training epoch/branch, while record() is called for every training entry.
"File sections" is a "redundant" design that can support more customized situations in manual logging. It provides some forward compatibility (file might be splited in different sections for other reasons and needs merge afterwards), while not reduce the efficiency.
https://github.com/rlworkgroup/dowel/issues/45
@avnishn
@zequnyu

@krzentner
current PR is updated, please have a look


Quick question about crnn_demo_model.t7

Hi @bgshih
Thank you for including working code for CRNN. It makes trying out your software a lot easier.
I was wondering if you could clarify:
Would crnn_demo_model.t7 produce about the same result for lexicon-free word recognition on the SVT dataset as the model you used in your paper http://arxiv.org/abs/1507.05717? (80.8% on the SVT dataset)?
Based on https://github.com/bgshih/crnn/issues/33, I expect it would but I wanted to make sure.
Thank you,
Michael

@michael-chiang-mc5 As the code has been modified a bit since the publication of the paper, it should be able to reproduce a close result, if not the same.

Alright, thank you for your quick reply!


Adding VTMGo Belgium streaming service

Adding another Belgian streaming service

Solved the conflicts myself for this one because GitHub offers an easy way to do it.


upgrade into laravel 6.4 using new laravel helper str::class

change helper method using
camel_case() -> str::camel()
snake_case() -> str::snake()
str_plural() -> str::plural()

Codecov Report

Merging #1 into master will not change coverage.
The diff coverage is 0%.

@@          Coverage Diff           @@
##             master    #1   +/-   ##
======================================
  Coverage         0%    0%
  Complexity       82    82
======================================
  Files             2     2
  Lines           415   415
======================================
  Misses          415   415

Impacted Files
Coverage Δ
Complexity Δ

src/Console/Commands/EntityMake.php
0% <0%> (ø)
79 <0> (ø)
:arrow_down:

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 b409cd1...c9bbf02. Read the comment docs.


How to do "TypeWriter Effect" Animation with ft.Text() in Flet?

How to do TypeWriter Effect Animation with ft.Text() in Flet?
Hello Flet Team,
Is there any way, can we produce TypeWriter Effect Animation with ft.Text() control in Flet?
Regards,
Anurag

You could do this in multiple ways.
 It was REALLY COOL!!!\n' \
                            'This is my REALLY AWESOME typewriter effect going on here!!!\n\n' \
                            'It\'s so COOL that I just created a whole new paragraph, huh?\n\n' \
                            'Do you like this cool ChatGPT typewriter effect???\n\n'

        for i in range(len(some_text_to_type)):
            my_type_writter_text.value += some_text_to_type[i]
            my_type_writter_text.update()
            time.sleep(0.01)

    my_type_writter_text = Text('My Typewriter Effect Will Happen Here!\n', no_wrap=False)

    start_btn = FilledButton(text='START TYPEWRITER!', on_click=start_typewriter_effect)

    page.add(my_type_writter_text, start_btn)

flet.app(target=main, assets_dir='assets')

Having this issue opened, it will be great to have this stuff -> https://pub.dev/packages/animated_text_kit in flet. 🙂

Hello @AaronCatolico ,
The effect is working really nice, thanks for the help!
Hello @ndonkoHenri ,
I just want to understand more on how Flet packages/modules are connected with Flutter packages. Please help in understanding that.
.......................................................................
Thanks & Regards,
Kumar Anurag

From: TheEthicalBoy @.>
Sent: 28 January 2023 07:37 AM
To: flet-dev/flet @.>
Cc: Kumar Anurag @.>; Author @.>
Subject: Re: [flet-dev/flet] How to do "TypeWriter Effect" Animation with ft.Text() in Flet? (Issue #921)
Having this issue opened, it will be great to have this stuff -> https://pub.dev/packages/animated_text_kit in flet. 🙂
—
Reply to this email directly, view it on GitHubhttps://github.com/flet-dev/flet/issues/921#issuecomment-1407255977, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHNV3CBY5ILI2PBKLCIJUALWUR5PJANCNFSM6AAAAAAUDPFUOI.
You are receiving this because you authored the thread.Message ID: @.***>

Hello @AaronCatolico ,
The effect is working really nice, thanks for the help!
Hello @ndonkoHenri ,
I just want to understand more on how Flet packages/modules are connected with Flutter packages. Please help in understanding that.
.......................................................................
Thanks & Regards,
Kumar Anurag

From: TheEthicalBoy @.>
Sent: 28 January 2023 07:37 AM
To: flet-dev/flet @.>
Cc: Kumar Anurag @.>; Author @.>
Subject: Re: [flet-dev/flet] How to do "TypeWriter Effect" Animation with ft.Text() in Flet? (Issue #921)
Having this issue opened, it will be great to have this stuff -> https://pub.dev/packages/animated_text_kit in flet. 🙂
—
Reply to this email directly, view it on GitHubhttps://github.com/flet-dev/flet/issues/921#issuecomment-1407255977, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHNV3CBY5ILI2PBKLCIJUALWUR5PJANCNFSM6AAAAAAUDPFUOI.
You are receiving this because you authored the thread.Message ID: @.***>

No problem.  Glad I could help.
*If I helped solve your question, please be sure to mark it as answered.

Hello @FeodorFitsner,
Could you please help me in understanding how the Flet packages are connected with Flutter packages.

Check is there's no discussion on that already. If there isn't, I suggest you open one.
It's another topic...not related to this issue.


Merge main into v4

Hi @usualoma !
Could you merge main into v4? I can probably do it, but there will be a conflict at JSX things and maybe I will have an accident.

@yusukebe
OK, I think there is a lot of conflict in "jsx", so I think it is better for me to do it!
If we were to merge https://github.com/honojs/hono/pull/2132 into v4, then after that, I would like to merge the main into v4. What do you think?

Yeah. That's OK. Now, I'm checking #2132.

Fixed by #2145


Basic Forms

Feature Request
We need basic forms, need to leverage Adobe Core form components but override HTML to make it cleaner.
Need to review the form offering ensure its solid:
https://github.com/adobe/aem-core-wcm-components/tree/master/content/src/content/jcr_root/apps/core/wcm/components/form
Need to verify HTML make sure it checkout:
https://docs.adobe.com/content/help/en/experience-manager-core-components/using/components/forms/form-options.html

Feature/form components #12

Done


Code for automation testing of a website?

Hi all,
I am new to puppeteer,can anyone provide a sample code of automating headless to open a webRTC website created by me.Upon entering something as a username one can login into that webRTC enabled site. I need some sample code so that i could edit it and use for testing of my website. Please help !!

Please ask "how to" questions like this on stack overflow.


bgpalerter: init at 1.28.1

Motivation for this change
BGPAlerter is a self-configuring BGP monitoring tool.
Things done

[x] 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"
[x] 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
[x] Fits CONTRIBUTING.md.

@zhaofengli please resolve the merge conflicts.

I rebased the bgpalerter here: https://github.com/Mic92/nixpkgs/tree/bgpalerter-rebased
I only solved some merge conflicts and regenerated node-packages

Hi, sorry, been using bgpalerter in an overlay with yarn2nix and haven't kept this PR up to date. Let me test and push the rebased version from @Mic92 in a bit.

Well, 1.27.1 with the latest nodePackages fails with the use of a deprecated function:
WARNING: the generated configuration is a snapshot of what is currently announced. Some of the prefixes d
on't have ROA objects associated or are RPKI invalid. Please, verify the config file by hand!
Done!
Error: The file prefixes.yml is not valid yml: Function yaml.safeLoad is removed in js-yaml 4. Use yaml.l
oad instead, which is now safe by default.
    at _loop (/nix/store/iq2y43lb2k3wyiajp8sgx0q266k61yqx-bgpalerter/share/bgpalerter/src/inputs/inputYml
.js:131:24)
    at /nix/store/iq2y43lb2k3wyiajp8sgx0q266k61yqx-bgpalerter/share/bgpalerter/src/inputs/inputYml.js:191
:24
    at new Promise (<anonymous>)
    at InputYml._loadPrefixes (/nix/store/iq2y43lb2k3wyiajp8sgx0q266k61yqx-bgpalerter/share/bgpalerter/sr
c/inputs/inputYml.js:109:14)
    at /nix/store/iq2y43lb2k3wyiajp8sgx0q266k61yqx-bgpalerter/share/bgpalerter/src/inputs/inputYml.js:75:
24
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)

This is where I want to bring this HN comment up. To quote the author:

For example, when I was working on Nix, the canonical mechanism for updating a single Node package in the Nix repository was to run a script that updated all (yes, all) Node packages in the repo. When I pointed out all the ways that this was an impractical approach, the response was that it's actually a good thing because that way the Node packages in the repo don't get get stale (!) This was one of a few examples I encountered where the devs didn't seem to be aware of how unusable Nix was in real world cases.

I have to agree with their point here. We want to deliver upstream's original intent, and when the upstream clearly specifies which exact versions of dependencies they want to use in their lock file, we should respect that and use those exact versions. Yes, it's deprecated. And yes, we should bump up to 1.28.1 and things will be alright. But this whole thing is impossible to maintain without silently breaking things everywhere (here the program starts but does not work). BGPAlerter is part of my monitoring system, and I expect it to work and keep working.
Not a dig at the JavaScript folks, but npm is not a very disciplined ecosystem of packages. Many packages there are goofy and don't care about semver. And here we are, ignoring semver completely (this is even worse than pythonPackages where we at least do things semi-manually).
The developer experience is abysmal as well, to say the least. This PR and https://github.com/NixOS/nixpkgs/pull/126664 are just two examples of endless merge conflicts resulting from frequent completely unchecked change-the-world updates to a single file. To add to this madness, generate.sh took 24m 31.9s to run while I'm typing this whole thing out. I'm not using some awful commercial ISP - This is the internet at my university where I'm actually able to saturate the gigabit line rate for a lot of things, and npm is hosted on a CDN.
Now for the actionable part. "6000 lines is a too much code for a single package." is a valid concern, but we have had alternative approaches where we use fixed-output derivations and don't interfere with language-specific package managers. In the spirit of cargoSha256 for buildRustPackage, can we have npmSha256 for JS packages that use the npm ecosystem? For npm packages, package-lock.json includes not only the versions but also the content hashes for all dependencies. By default, npm install will automatically update the lock file if it does not match the developer-managed package.json, but there is npm ci which will simply fail the installation. Combined with --ignore-scripts it should produce deterministic outputs usable for our purposes. I have created a simple proof-of-concept.
Okay, thank you for listening to my TED talk. Updated the PR to bump the package to 1.28.1 and re-generate the packages with generate.sh. I may have silently broke an indeterminable amount of packages, but this is what we do, right? :man_shrugging:

Just created a draft PR at #128749 for the proposed fetcher.

Don't get me wrong. node2nix sucks for many reasons but non of the alternatives where suitable for nixpkgs so far.

Maybe just skip node-packages.nix for now and only update the json...

Don't get me wrong. node2nix sucks for many reasons (like the scalability you mentioned) but non of the alternatives where suitable for nixpkgs so far. Here is a issue regarding caching/parallel downloads: svanderburg/node2nix#181

As I mentioned in #128749, the alternative that I proposed does not attempt to Nixify the dependencies or reimplement the fetching. It simply uses the regular language-specific package manager which happens to provide the reproducibility we need.

Maybe just skip node-packages.nix for now and only update the json...

Sure, I'll let the merge do the generation for now.

Also pinging @adisbladis out of courtesy since they seem to be the person referred to in the HN comment who suggested the approach. Please read my comment as well as #128749.

Will be folded into #128749.


@ashkan18: Fix nginx config for canary deployment

This just applies correct syntax.
Will follow up with a PR removing the deployment just so master matches prod.

🙌


About Backup and Restore

1.By admin-cli,after using the backup command, it shows that the backup is successful, and the backup directory has also been generated, but the .sst data file is not found in the directory. Why?

The following is the backup directory generated by the pegasus-shell command

2.By pegasus-shell,after using the add_backup_policy command, it shows that the backup is successful, and the backup directory has also been generated, and each partition has a directory containing the .sst data file, but the restore_app command is displayed as follows, why is this?

Can this operation be reproduced under the onebox environment?


Various code enhancements

[ ] Allow magic numbers to be set via attributes
[x] Do better error handling / typecasting

Splitting off magic numbers into a separate issue because that's more of an engine bug. Better typecasting has been added and Error messages have been removed (excepting JelliScript). When/if data-logging support rolls around, some previous error messages might be recreated as logs, but that is Another Issue.


basic functionality implemented for #66

Please rebase to retrigger build. CI build should be working again.


constantLabels option for Metric not working

Please answer these questions before submitting a bug report.
OpenTelemetry JS 0.18.0
Nodejs 15.5.0
SDK setup:
const serviceName = config.telemetry.tracing.tracerName || packageJSON.name;
const expOpts = (config.telemetry.tracing.otel && config.telemetry.tracing.otel.exporter) || {};
const metricsURL = expOpts.metricsURL || 'http://localhost:55681/v1/metrics';
const traceURL = expOpts.traceURL || 'http://localhost:55681/v1/trace';

const baseExpOpts = { serviceName, keepAlive: true };
const traceExporter = new CollectorTraceExporter({
  ...baseExpOpts,
  url: traceURL,
});
const metricExporter = new CollectorMetricExporter({
  ...baseExpOpts,
  url: metricsURL,
});

const sdk = new opentelemetry.NodeSDK({
  traceExporter,
  metricExporter,
  textMapPropagator: new HttpTraceContext(),
  sampler: new ParentBasedSampler({ root: new AlwaysOnSampler() }),
  metricInterval: 5000,
  // explicitly disable all instrumentations because they are incompatible with
  // OpenTracing shim (see open-telemetry/opentelemetry-js#2016)
  plugins: [],
  instrumentations: [],
});

sdk.start();

I'm creating metric as following:
const meter = metrics.getMeter(packageJSON.name, packageJSON.version);
this.latency = meter.createValueRecorder('http.server.duration', {
  component: packageJSON.name,
  constantLabels: new Map([['framework.name', 'fastify'], ['operation.type', 'in']]),
  description: 'The duration of the inbound HTTP request',
  boundaries: (options?.latency?.boundaries ?? DEFAULT_BOUNDARIES) as number[],
});

Then I'm using created metric:
latency.record(Date.now() - this.startTime, { 'additional.label': '123' });

I'm expecting to see http_server_duration metric with the following labels: framework_name, operation_type and additional_label. But actually there is only additional_label and no framework_name and operation_type.
It seems that constantLabels only defined  in the Metric options type, but not actually used in the Metric implementation

Does anyone know if this has been fixed?

Sorry for the late response. The spec didn't define an option constLabels, and the option has been removed since v0.27.0 of the metric api/sdk release.

Okay, thx 😞

@morigs if this is an important option for you it may be reimplemented in the new SDK. The reason it is removed is mostly because during the rewrite we're focusing on only features mandated by the spec in order to get the release out in a timely way.

Thanks for asking. Currently, it's not critical. I fully understand the reasons for removing it.
However, it looks quite handy. I don't suggest reimplementing it, however I suggest considering this (maybe creating some discussion with a poll or something)


set_draw_target causes insert order (on MultiProgress) to not be respected.

I want to use it to set the refresh rate to something a little slower, but doing so causes the insert order to be changed which is unfortunate because I have "total progress" bar that I always want on the bottom

What version are you using? Please try the latest rc, a lot of this stuff changed.

Sorry, I should have mentioned!
indicatif = { git="https://github.com/console-rs/indicatif.git", rev = "588ba660b4fe7f2357e7dc3e7974a260cf494a14" }

Which is currently the last commit.
As an update, I can set_draw_target on the MultiProgress, which does the trick for me, but I guess if anyone wants individual refresh rates on bars, that could be problem.

Unless you have benchmarked on this RC that you need to change the refresh rate, I'd try without changing the refresh rate. Also I don't know exactly what your code looks like (a code sample might be useful), but a MultiProgress acts like a kind of draw target so setting the refresh rate on ProgressBars before adding them to a MultiProgress doesn't actually have the intended effect. If you want to set the draw target's refresh rate, you should do that for the MultiProgress itself only.


How to do Coroutine in c++

As the title indicates, is it possible to enable coroutine in c++.

Yes, but with caveats. You can certainly expose MonoBehaviour.StartCoroutine, call it with an IEnumerator, and use its returned Coroutine. You can even create your own base class implementing IEnumerator in the same way you create a MonoBehaviour derivative. That class' Current and MoveNext can be written in C++ just like how you'd write MonoBehaviour message handlers like Start or OnDestroy in C++. However, that's not as natural a way to write a coroutine as you'd usually do in C#. That's because there's currently no support for iterator functions (i.e. those that yield) in the bindings or in C++ itself. This may change if coroutines make it into C++20.


Reset password

Motivation and Context
Allows internal users to self-serve password reset changes
What has changed
Added a number of new pages and controllers
Added the functionality from ras-party to generate tokens for password reset emails
Added a number of new environment variables
How to test?
Difficult to test in dev due to the tie-in to GovNotify

You can get the notifyController's request_to_notify function in a verity of ways:

invalid template_id
successful sent (test_case_controller shows a good use of the responses library to mock the request)
None 201 response, you can test the exception happens and maybe the messages that you get back?

You can also:

test the /reset-password/<token> GET and POST functions with a dud token.
the /forgot-password/check-email without an email parameter


Add interface VectorValues to be implemented by [Float/Byte]VectorValues

Description
The classes ByteVectorValues and FloatVectorValues share the common functionalities/methods listed below. This PR moves those methods to a new interface VectorValues. This tries to address the problem of code duplication (like example - one, two etc.).

int dimension()
int size()
byte[]/float[] vectorValue()

Since the name is clashing, created two new names vectorByteValue and vectorFloatValue. Also retained the vectorValue method whose returned value needs to be casted appropriately.
There could be some other ideas as well(maybe better) to address the code duplication here:

Making DISI implementing an interface which VectorValues(interface in this PR) would extend making further room to remove duplication (or)
Making a wrapper over ByteVectorValues and FloatVectorValues etc?.

Looking for suggestions or more ideas on how to better handle this and avoid this current duplication.
Addresses #12635

It was sort of this way before but we decided to switch it as a common interface required either:

having to use generics
an API where things weren't fully implemented or required casting.

If we are worried about internal duplication there may be better options around using a better abstraction for scoring (see RandomVectorScorer) and writing to a flat file (on flush and merges). Those are the only two places we care about reading vectors during indexing and search.

@benwtrent Makes sense to me....I'll see if I could address those part of code in this PR without a new abstraction.


Fails when there are no rendered manifests in the chart

My default values for my chart do not produce any manifests.  I have templates in there but they are all guarded by if statements.
helm chartsnap -c charts/project -u
 RUNS  Snapshot testing chart=charts/project values=
 FAIL  chart=charts/ace-project values= err=failed to encode manifests: failed to close encoder: yaml: expected STREAM-START
time=2024-04-09T14:12:24.545-04:00 level=ERROR msg="failed to get snapshot chart=charts/project values=: failed to encode manifests: failed to close encoder: yaml: expected STREAM-START"
Error: plugin "chartsnap" exited with error

This is using chartsnap chartsnap version version=0.3.1 commit=2c270385287801f32dd088439e348c22e7e7a874 date=2024-04-09T14:45:53Z with helm version version.BuildInfo{Version:"v3.14.3", GitCommit:"f03cc04caaa8f6d7c3e67cf918929150cf6f3f12", GitTreeState:"clean", GoVersion:"go1.22.1"}.

@ktarplee Thank you for reporting!

My default values for my chart do not produce any manifests. I have templates in there but they are all guarded by if statements.

It's interesting usecase I didn't come up with😳
A behavior you expected is to take an empty snapshot successfully?

The chart I have has lots of files in the templates folder.  It is just that when a particular set of values it happens to produce nothing when calling helm template.  So the snapshot would be empty.
I think this tool just needs to handle this corner case by allowing an empty list of manifests.


DOC: improve explanation of web creation and include templates

When the tests pass I'll merge because we have a collaborator who wanted to try and make the web index pages and will need the templates.


Inability to find all UPnP devices over the network

Due some reason, a lot of UPD packets get lost. UPnP devices do send UDP messages about their status, but only small part of them reaches the control point. So, the control point cannot precisely determine current situation in the network. It looks like these packets are somehow blocked in winrt. I don't know, maybe it is some security limitation, bug in winrt's DatagramSocket or something else.

Since I've converted the library to WP 8.1, I've got the same problem in WP. It looks like they broke the multicast broadcast. Looking into it. Probably will have to back to 8.0.

Since I've converted the library to WP 8.1, I've got the same problem in WP. It looks like they broke the multicast broadcast. Looking into it. Probably will have to back to 8.0.

Well, it was a problem in WP emulator. Once I restarted my computer, everything has back to normal. No problems with broadcasting multicast messages to 1900 port in WP.

Well, it was a problem in WP emulator. Once I restarted my computer, everything has back to normal. No problems with broadcasting multicast messages to 1900 port in WP.


chore: rename file to not conflict with licensee

Similar: googleapis/google-cloud-go#3692

Failure is unrelated to this PR. I filed #2162 to track its fix. Force merging.


EAS Update

Description of the feature
Use eas update instead of expo publish
Motivation
Now that EAS Update is in preview, it would be cool to be able to use expo-preview-action with EAS Update

I managed to easily replicate this action manually so I don't think it's high priority but it would be a nice to have once EAS Update is in general availability.

@axeldelafosse could you please share your action?

@axeldelafosse Would really appreciate you sharing your action!

Hey guys! Sorry for the delay. Yes indeed :)

This repo should probably direct people here: https://github.com/expo/expo-github-action/tree/main/preview


package-lock.json isuue

when i was created a react app using command  " create-react-app my-app  "  it's can't generate package-lock.json file , i am using ubuntu 20.04 .

 npx create-react-app my-app
cd my-app/
npm i

i have done this process many times but it can't resolve it , after then i reinstall my Ubuntu 20.04 system and then it's working fine

Please close this, it is resolved after installing Ubuntu 20.04 from the thread creator.


Make dependency management easier while using catkin

For C++, there's no good management for dependencies. catkin-less CMake+package.xml do solve the issue to a large extent.
However, virtual environments are common for managing dependencies for ROS and Python users.
While working with several projects, it's common to have separate workspaces as well as virtual environments. This workflow is very common (and dare I say: required) to manage conflicting dependencies in Python. Would it be possible for catkin init to detect if it's in a virtual environment?

If yes:
An invocation similar to catkin init --with-venv or a prompt after detection of virtual env can be used such that . CATKIN_ROOT/install/setup.* and . CATKIN_ROOT/devel/setup.* both also activate the relevant virtual env?
Detection of venv is not complicated (but has edge cases): https://stackoverflow.com/a/58026969/

I think you are talking about the command line catkin which is hosted here: https://github.com/catkin/catkin_tools
There are several projects that try to improve working with virtualenvs and python. I've not worked with them but you could take a look:
https://github.com/locusrobotics/catkin_virtualenv
https://catkin-pip.readthedocs.io/en/latest/


Add Crazy x Fenda da Sunga by Mc VV

Song Name
Crazy x Fenda da Sunga
Artist Name
Mc VV
Source
Direct file download
Youtube Link
No response
Direct File Link
https://drive.google.com/file/d/1c_Rz9LcIO3pAwR8kPHnzqyp96zT-hr8m/view
Song ID
905108
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 86018142

reject
Must be a link to a proper CDN, Not Google Drive, Dropbox or MediaFile. Or a YT video


Add support for Carthage

https://github.com/Carthage/Carthage

Fair request, added it to-do list!

Carthage support added!

Ok, great!
Unfortunately it does not work. #7


Make AMI KMS key usable by accounts of the same type (Production, Staging)

🗣 Description
This PR modifies the policy for the AMI KMS key so that it allows the key to be used by accounts of the same type as the calling account, such that a:

Key created in Images Production account is allowed to be used by:

env.* (Production)
Playground Legacy (Production)
Shared Services (Production)

Key created in Images Staging account is allowed to be used by:

env.* (Staging)
Playground Legacy (Staging)
Shared Services (Staging)

Resolves #41.

💭 Motivation and Context
When this code was first written, there was only one type of environment. Now that we have multiple environment types (Production, Staging), we need to update this code accordingly.

🧪 Testing
The updated Terraform was successfully applied in both the staging and production workspaces.  Before applying in each workspace, I confirmed that the correct accounts (Staging vs. Production) were going to be included in the updated key policy.

📷 Screenshots (if appropriate)
🚥 Types of Changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (causes existing functionality to change)

✅ Checklist

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Can you update the description so that

Key created in Images Production ...

is Images (Production).  Same for staging.


ci: 🐝 update workflows

Description
Update GitHub Workflows
Type of change

[X] CI

Checklist:

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

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (cf457a8) 24.34% compared to head (bd43687) 24.34%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files

@@           Coverage Diff           @@
##             main      #48   +/-   ##
=======================================
  Coverage   24.34%   24.34%
=======================================
  Files           5        5
  Lines         152      152
  Branches       57       57
=======================================
  Hits           37       37
  Misses        104      104
  Partials       11       11


Extend enrichment with custom background gene sets

This PR allows calling various enrichment functions with custom background gene sets. It also fixes an issue with handling the default background gene sets (all HGNC IDs) where obsolete IDs were also counted turning out to cause a non-negligible increase in gene counts.
Since the enrichment functions and corresponding utility functions are quite complex at this point, it would be great if we could find a way to unit test these. A blunt option would be to just test them as is, which would run some relatively large queries on the service but would otherwise work. Another option is to pre-produce some cached files and pull them for testing (the disadvantage being that only part of the code will be invoked if caching is used). Yet another option would be to mock the neo4j client, and have functions like get_go return some minimal test data structure in the context of each test (here the only disadvantage is that we aren't testing the content of the graph directly). @cthoyt what do you think?

I think mocking the client to test indra_cogex.client.enrichment.collect_gene_sets() would be a good first step since the code for getting the GO, WikiPathways, Reactome, and HPO all wraps this function just with different cypher queries. Same would go for indra_cogex.client.enrichment.collect_genes_with_confidence() which supports the get_entity_to_regulators() and get_entity_to_targets() functions. The way I would do this is create a subclass of the base neo4j client that overrides query_tx() to do results lookup based on the cypher query into a pre-defined dictionary.
We could then add testing for _do_ora() that requires no access to neo4j at all and instead uses some pre-defined test gene sets, since this function is generic towards the nested dictionary data structure returned by all of these functions.
One question is do you want testing that checks that all of the caching functionality works properly?

Next steps: mock some of those functions