Deno "hello world" example gives a error

Hi there,
I'am trying the deno Hello world example. But I get this typing error:
Check file:///Users/thomasvanderwesten/server/thermos-api-deno/hello.ts
error: TS2345 [ERROR]: Argument of type '{ prefix: string; }' is not assignable to parameter of type 'Partial<Pick<Hono<Environment, string, unknown>, "router" | "strict">>'.
  Object literal may only specify known properties, and 'prefix' does not exist in type 'Partial<Pick<Hono<Environment, string, unknown>, "router" | "strict">>'.
const app = new Hono({ prefix: "/api/v1" });
                       ~~~~~~~~~~~~~~~~~
    at file:///Users/thomasvanderwesten/server/thermos-api-deno/hello.ts:4:24

TS2345 [ERROR]: Argument of type '(request: Request, Environment?: Bindings | undefined, executionCtx?: ExecutionContext | undefined) => Response | Promise<Response>' is not assignable to parameter of type 'string | HTTPOptions'.
serve(app.fetch);
      ~~~~~~~~~
    at file:///Users/thomasvanderwesten/server/thermos-api-deno/hello.ts:8:7

Found 2 errors.

When running this example:
import { serve } from 'https://deno.land/std/http/server.ts'
import { Hono } from 'https://deno.land/x/hono/mod.ts'

const app = new Hono()

app.get('/', (c) => c.text('Hello! Hono!'))

serve(app.fetch)

Deno Version;
deno --version
deno 1.22.0 (release, x86_64-apple-darwin)
v8 <IP_ADDRESS>
typescript 4.6.2

I'am missing something.. but what?

Ok, after updating Deno to version 1.29.1 the error changed to;
error: Uncaught TypeError: Error parsing args at position 0: missing field `port`
  const listener = Deno.listen(addr);
                        ^
    at Object.listen (deno:ext/net/01_net.js:302:33)
    at serve (https://deno.land/std@0.83.0/http/server.ts:306:25)
    at file:///Users/thomasvanderwesten/server/thermos-api-deno/hello.ts:8:1

And in VSCODE the there is still a type error;
Argument of type '(request: Request, Environment?: Bindings | undefined, executionCtx?: ExecutionContext | undefined) => Response | Promise<Response>' is not assignable to parameter of type 'string | HTTPOptions'.deno-ts(2345)

Hi @tdwesten
It is not reproduced in my environment. How about specifying the version of modules?
import { serve } from<EMAIL_ADDRESS>import { Hono } from<EMAIL_ADDRESS>
const app = new Hono()

app.get('/', (c) => c.text('Hello! Hono!'))

serve(app.fetch)

Oke thanks, the problem is the "http/server.ts" package, very version from 0.167.0 up give this error. Is see there were breaking changes maybe is het breaking the demo; https://github.com/denoland/deno_std/releases/tag/0.168.0

No. With recent versions such 0.168.0 or 0.1700.0 it does not throw errors.

at serve (https://deno.land/std@0.83.0/http/server.ts:306:25)

In this case, you are using the old version 0.83.0 so, it threw errors.

Yes now it works! Thanks!


Add ability to define custom environment variables

Closes #76

Thanks @gdsmith

@ryanemerson thanks for merging, what is the release process?

@gdsmith The PR has been merged, so 0.3.1 should be available now. Apologies for the delay.


Gradient Circle

@skywinder It looks like it's complaining about these two lines
super.init(coder: aDecoder) and gaugeLayer = getGauge(rotateAngle: rotate / 10 * M_PI)
which I changed to
super.init(coder: aDecoder)! and gaugeLayer = getGauge(rotate / 10 * M_PI)
Current project won't compile without the changes I made to run locally, thoughts?

@sinanulkuatam please wait for merge of #32,  I hope it will not make merge conflicts. It should remove some problems and will update syntax a bit

@skywinder yes you're right about adding it as an internal framework, I'll make that change today

@skywinder a couple changes, I removed the Pods and all dependencies around the build for it.  I had a couple issues embedding it directly as it pointed to my own derived data, so instead of running Example.xcodeproj you can run GaugeKit.xcworkspace and change your scheme to run the example.  I will update the readme to take this into account.

@skywinder let me know if there are any issues with the branch/PR

There is also broken test in this build: https://travis-ci.org/skywinder/GaugeKit/builds/131408468#L310

Thank you for PR.
And sorry for late reply.
The project is moved to Swift 3. I would like to review your changes if you will able to synchronize it with current version.

I will have time later this week to work on it, thanks for the update!

I'd be more than happy to merge a PR adding this feature, it seems like it would be useful for sure 👍
Please let me know, you going to update it to up-to date version and fix minor things!

@skywinder I'll be able to take a look in a few weeks, wrapping up grad school at the moment!

CLosed in favor of #68


fix: make SLOTS_TO_SUBSCRIBE_IN_ADVANCE as hidden cli param

Motivation
See https://github.com/ChainSafe/lodestar/pull/5810#discussion_r1277675784
Description

Introduce hidden cli flag slotsToSubscribeBeforeAggregatorDuty, default to 2, and use it in subnet services

:tada: This PR is included in v1.10.0 :tada:


Bump min backup file size to 50K

10K isn't enough to efficiently backup huge tables that have small
items. For example, the formula table currently requires > 10,000 files to be backed up.

Can one of the admins verify this patch?

Can one of the admins verify this patch?


Why is the RString API using Rust's String/str instead of Vec<u8>/[u8]?

My understanding is that Ruby's strings are sequences of arbitrary bytes, even if the associated encoding is UTF-8. So the natural mapping to Rust would be as [u8] and Vec<u8> instead of str and String for most purposes. A couple of helpers using str should be fine (e.g. the from_utf8 function).
Functions which convert a ruby string to &str or String without verifying UTF-8 validity must be marked unsafe, otherwise they're unsound.

Thanks for opening this issue.  I'm going to be investigating encoding support through ruru this month so this info may come in to play.  I'll be sure to provide any useful information I find on this then here.
I've been waiting for @d-unseductable to reappear on the scene of his project here and hoping to get this project moving forward.  I don't know how long I'm willing to wait but I'm pretty close to making an official fork of this project and re-implement a few key components to be safer such as you've suggested.  One such change is that new class instantiation should return a Result<AnyObject, AnyException> rather than AnyObject as Ruby is fully capable of raising exceptions in class instantiation.  I've opened an issue for discussion on that specific point here: https://github.com/d-unseductable/ruru/issues/91
But my hope is really to see this project thrive and do well so I'm still holding out hoping Dmitry shows up to revive this project.


problem with collision (simulating gravity)

I have a simple code where the ball bounces off the paddle and what i would like to achieve is make ball grounded after the bouncing of the ball ends. So i would like to simulate gravity. Problem is that collide_widget does not detect collision properly. I expect collide_widget will detect collision when ball.y == paddle.top but it detect collision when ball.y < paddle.top and it is always different depending on starting position of ball.
gravity.py

import kivy
kivy.require('1.11.1')

from kivy.app import App
from kivy.uix.widget import Widget
from kivy.properties import NumericProperty, ReferenceListProperty
from kivy.vector import Vector
from kivy.clock import Clock

DELTA_TIME = 1.0 / 60.0

class Ball(Widget):
    velocity_x = NumericProperty(0)
    velocity_y = NumericProperty(0)
    velocity = ReferenceListProperty(velocity_x, velocity_y)

    def move(self, dt):
        self.pos = Vector(*self.velocity) *dt + self.pos

class Paddle(Widget):
    velocity_x = NumericProperty(0)
    velocity_y = NumericProperty(0)
    velocity = ReferenceListProperty(velocity_x, velocity_y)

    def move(self, dt):
        self.pos = Vector(*self.velocity) *dt  + self.pos

class GravityBall(Ball):
    def update(self, dt, idle):
        if idle == 0:
            self.velocity_y -= 20
            self.move(dt)
        else:
            self.velocity_y = 0
            self.move(dt)

class GravityGame(Widget):
    def __init__(self, **kwargs):
        super().__init__(**kwargs)
        self.idle = 0
        self.ball = GravityBall()
        self.ball.center = (200,300)
        self.add_widget(self.ball)

        self.paddle = Paddle()
        self.paddle.center = (200,100)
        self.add_widget(self.paddle)

        Clock.schedule_interval(self.update, DELTA_TIME)

    def update(self, dt):

        self.ball.update(dt, self.idle)
        self.paddle.move(dt)

        if self.ball.collide_widget(self.paddle) and self.ball.y+5 >= self.paddle.top:
            self.ball.velocity_y *= -1
            self.idle = 0
        elif self.ball.collide_widget(self.paddle) and self.ball.y+5 < self.paddle.top:
            self.idle = 1

class GravityApp(App):
    def build(self):
        return GravityGame()

if __name__ == '__main__':
    GravityApp().run()

gravity.kv

#:kivy 1.11.1

<GravityBall>:
    size: 30, 30
    canvas:
        Ellipse:
            pos: self.pos
            size: self.size

<Paddle>:
    size: 100, 30
    canvas:
        Color:
            rgb: 1, 0, 1
        Rectangle:
            pos: self.pos
            size: self.size

Hey, just an observation; not any kind of technical support so please don't ask me to follow up.
The GravityBall Widget is a square, with a circle drawn on it. And collide_widget tests Widget areas not what is drawn on them. Regardless if collide_widget is functional, it is not going to do what you want.


Read data from an Excel

Great developments!
Is it also possible to read data from an Excel somehow with this Grasshopper plugin or is that on the road map?

Hi Joost,
Yes, you should be able to use the Open Workbook component, featured in the
sample file:
ExcelPlus_01-Save_Open.gh
If you are looking to connect to an open Excel file, take a look at
Bumblebee
https://www.food4rhino.com/en/app/bumblebee
On Fri, Jun 23, 2023 at 7:07 AM Joost Gevaert @.***>
wrote:

Great developments!
Is it also possible to read data from an Excel somehow with this
Grasshopper plugin or is that on the road map?
—
Reply to this email directly, view it on GitHub
https://github.com/interopxyz/ExcelPlus/issues/6, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGE2HXAMIU4FP6BE3NHW253XMV2F3ANCNFSM6AAAAAAZRNM5RE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thanks for the reply!
I tried the basic open part of the ExcelPlus_01-Save_Open.gh script.
I understand that I can retrieve WorkBooks, WorkSheets, Ranges and Cells, but what I don't understand is how to read the values that are in the cells into Grasshopper:

Hi Joost,
You can use the Construct Cell component.
This is a pass-through component that both modifies and returns the value
of a cell.
See attached
On Mon, Jun 26, 2023 at 4:34 AM Joost Gevaert @.***>
wrote:

Thanks for the reply!
I tried the basic open part of the ExcelPlus_01-Save_Open.gh script.
I understand that I can retrieve WorkBooks, WorkSheets, Ranges and Cells,
but what I don't understand is how to read the values that are in the cells
into Grasshopper:
[image: image]
https://user-images.githubusercontent.com/75024225/248732003-e20a7058-f664-46f6-ad8f-a563454411cc.png
—
Reply to this email directly, view it on GitHub
https://github.com/interopxyz/ExcelPlus/issues/6#issuecomment-1606972505,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGE2HXHREZJHKTXZK6HXR6LXNFCQTANCNFSM6AAAAAAZRNM5RE
.
You are receiving this because you commented.Message ID:
@.***>

Ah, yes, got it! Amazing! Thanks!

Great,
I'm still not happy with the name of that component.
Its confusing and may change in a future release.
On Mon, Jun 26, 2023 at 4:25 PM Joost Gevaert @.***>
wrote:

Ah, yes, got it! Amazing! Thanks!
—
Reply to this email directly, view it on GitHub
https://github.com/interopxyz/ExcelPlus/issues/6#issuecomment-1608194760,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGE2HXA7CQV5FUL36BGVIPTXNHV4NANCNFSM6AAAAAAZRNM5RE
.
You are receiving this because you commented.Message ID:
@.***>


Improve documentation in README

The README should contain more detailed descriptions and examples for the available commands.

This should be done before we update the ponyc README to direct Linux users to use ponyup to install ponyc.


TLS: oversized record received

Hello,
I have configured and have running hcashd service (with flag notls=1) without problems - its already syncing. I have created a wallet also, but when I try to start hcashwallet servic I get following errors:
2017-11-16 18:46:39.505 [INF] HCASHW: Version 0.8.6+TestBeforeV1 (Go version go1.9.2)
2017-11-16 18:46:40.656 [INF] WLLT: Opened wallet
2017-11-16 18:46:41.808 [INF] WLLT: The wallet has been unlocked without a time limit
2017-11-16 18:46:41.841 [INF] RPCS: Listening on <IP_ADDRESS>:12052
2017-11-16 18:46:41.841 [INF] HCASHW: Attempting RPC client connection to localhost:12051
2017-11-16 18:46:41.842 [ERR] CHNS: Connection attempt failed: tls: oversized record received with length 20527
2017-11-16 18:46:46.844 [ERR] CHNS: Connection attempt failed: tls: oversized record received with length 20527
2017-11-16 18:46:56.845 [ERR] CHNS: Connection attempt failed: tls: oversized record received with length 20527

What can be the cause of that?

Ok, I foud out that If I enable TLS on all hcashd, hcashwallet and hcashctl it works. But I dont's see an option to disable TLS on hcashwallet itself which forces me to use TLS.

for hcashwallet, the flag is noclienttls
for hcashctl, the flag is notls


Non-informative documentation

I was able to follow the jsfiddle link to see some usage but it still doesn't have all the examples from the demo. I think it'll be nice to have a table with the list of options in the README. I could help with that or if you'd rather do it yourself, I think it'd really help this project.

Hi @josephrexme!
Thanks for your interest in vue-simple-progress! I'd like to take you up on your offer. If you can get update the README with a basic table for the props, I'll merge your pull request and if I see anything that's amiss I can update it from there. For reference, here are the props that can be passed to the component to configure its look-and-feel:
    props: {
      'val': {
        default: 0
      },
      'max': {
        default: 100
      },
      'size': {
        // either a number (pixel width/height) or 'tiny', 'small',
        // 'medium', 'large', 'huge', 'massive' for common sizes
        default: 3
      },
      'bg-color': {
        type: String,
        default: '#eee'
      },
      'bar-color': {
        type: String,
        default: '#2196f3' // match .blue color to Material Design's 'Blue 500' color
      },
      'bar-transition': {
        type: String,
        default: 'all 0.5s ease'
      },
      'spacing': {
        type: Number,
        default: 4
      },
      'text': {
        type: String,
        default: ''
      },
      'text-position': {
        type: String,
        default: 'bottom', // 'bottom', 'top', 'middle', 'inside'
      },
      'font-size': {
        type: Number,
        default: 13
      },
      'text-fg-color': {
        type: String,
        default: '#222'
      }
    },

Thanks again!

@dzwillia just notifying again that the PR's been made since I still haven't heard back after a while

@josephrexme My wife and I just had twins and I'm a bit tied up at the moment ;-) I'll take a look sometime next week. Thanks again!

Great! Congrats!

I just merged your pull request. I love the work you did on the props list. I may opt to re-order a few items that you rejiggered in your pull request. Thanks!


Please update this

It works great so far but it's gonna break soon.
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Thanks!


Add support for custom suggested client generator definition

Problem

Run prisma generate on the following schema:
datasource db {
  provider = "sqlite"
  url      = "file:dev.db"
}

model User {
  id   Int    @id @default(autoincrement())
  name String
}

$ prisma generate
Prisma schema loaded from schema.prisma

info You don't have any generators defined in your schema.prisma, so nothing will be generated.
You can define them like this:

generator client {
  provider = "prisma-client-js"
}

It would be more relevant for users of https://github.com/RobertCraigie/prisma-client-py if the suggested client definition was the prisma-client-py generator, e.g.
generator client {
  provider = "prisma-client-py"
}

Suggested solution

Add a new environment variable that will be used to output the suggested generator definition, e.g. PRISMA_DEFAULT_GENERATOR_DEFINITION.
Additional context
Actually a more nuanced solution might be required, for example, consider the following situation:
$ PRISMA_CLIENT_ENGINE_TYPE=dataproxy prisma generate

Environment variables loaded from .env
Prisma schema loaded from tests/data/schema.prisma
Error:
In order to use the dataproxy engine,
you need to set the dataProxy feature flag.
You can define the feature flag like this:

generator client {
    provider = "prisma-client-js"
    previewFeatures = ["dataProxy"]
}

Maybe use PRISMA_DEFAULT_GENERATOR_PROVIDER instead?

Can you explain the "Additional context" situation a bit to me? Not sure I get what the complications of that are.

There aren't any additional complications per-se, it's more to do with a "complete" solution, i.e. All messages that contain an example generator definition should be configurable.
So the "Additional context" situation should instead output:
$ PRISMA_CLIENT_ENGINE_TYPE=dataproxy prisma generate

Environment variables loaded from .env
Prisma schema loaded from tests/data/schema.prisma
Error:
In order to use the dataproxy engine,
you need to set the dataProxy feature flag.
You can define the feature flag like this:

generator client {
    provider = "prisma-client-py"
    previewFeatures = ["dataProxy"]
}

Difference:
-    provider = "prisma-client-js"
+    provider = "prisma-client-py"

Ah ok, I understand now what you meant.
The messages are generally only meant as any example for a generator definition, but of course we use our main and default generator.
This could indeed be useful to be configurable by other generators. I assume you would be able to configure it via the CLI you deliver to your users?

This could indeed be useful to be configurable by other generators. I assume you would be able to configure it via the CLI you deliver to your users?

Yes that is the solution I had in mind.
In my opinion it wouldn't be worth supporting this for generators that don't bundle their own CLI as that would introduce too much complexity for what it's worth.


Create devcontainer.json

If we create a devcontainer file for specifications, it will be more tuned than the default. You can always create a codespace from the Github interface without a devcontainer file.


[DateTimePicker] 'Relative to' dropdown arrow doesn't work when hasTimeInput is false

What package is this for?

[x] React
[ ] Angular

Describe the bug
When the hasTimeInput property is set to false, then the 'Relative to' dropdown arrow doesn't work (under Custom range > Relative).
To Reproduce
Steps to reproduce the behavior:

Go to 'https://carbon-addons-iot-react.com/?path=/story/watson-iot-datetime-picker--default'.
Click on calendar icon.
Click on 'Custom Range'
Click on the down arrow button next to the 'Relative to' drop down. Nothing happens.
Clicking on the drop down box does work.

Expected behavior
The down arrow should open the 'Relative to' drop down.
Environment/versions:

OS: Any
Browser: Multiple
carbon-addons-iot-react version: latest

Additional context

Specific timeline issues / requests
https://github.ibm.com/maximo/Asset-Health-Insight/issues/6858
Needed for MAS 8.6 / Health & Predict 8.4 (GM - Oct)

@JordanWSmith15 Any idea when this may be addressed?

@navjeets This is in the September sprint which starts next week. I will speak with @davidicus to see if we can bump it up

closed with https://github.com/carbon-design-system/carbon-addons-iot-react/pull/2778


Added LogisticRegression_RobustScaler file

Reduce details about RobustScaler. Since you have provided API reference. keep it atmost 2-3 lime max

Instead of Robust Scaling has title for markdown use Data Rescaling

From Tuning Parameter Section for logistic Regression remove :

random_state
n_jobs
verbose
Since they are not actual fine tuning parameter for the algorithm.


☂ Iteration plan for Q3 (July - Sept)

What subject does this issue tracking?
See https://github.com/web-infra-dev/rspack/issues/2048 for Q2 iteration plan.
This issue serves as an Epic to provide transparency for our community and collaborators, internal and external, informed about our current goals and timelines.
We will be actively working on the tasks listed below, which have been aligned with our goals for Q3 (July - Sept 2023).
If you see something that is not on this list but is strongly needed. Please write a detailed requirement on this issue if you feel the need for feature prioritization. Also, remember this is not a complete list, so please search for relevant issues beforehand.
For broader collaboration, you can also find us on Discord if you need a quick chat.

The theme for Q3 is to make Rspack a super reliable compiler so all projects can be switched to Rspack with extreme confidence.
The reason for focusing on reliability is that we are now dogfooding Rspack over 100 active projects at ByteDance. The goal is to ensure Rspack compilation artifacts will never ever break production builds. Our top priority is to pass most of the conformance tests from webpack and Modern.js:

https://github.com/web-infra-dev/rspack/issues/3243

The situation is similar to how React needs to dogfood itself in its early days.
For API compatibility with the ecosystem, we are going to provide a progress chart for our loader and plugin API development. Once the progress documentation is completed, we aim to provide full compatibility with Modern.js Rspack mode and pass all its E2E tests. We are confident that this approach will enable most of the ecosystem compatibility with a clear short-term goal.
To focus on the above key results for Q3, we formed two working groups: @web-infra-dev/rspack-ux and @web-infra-dev/rspack-dx.
The ux team is responsible for all end-user-related tasks and build artifacts. For example, tree shaking, bundle splitting, and runtime.
The dx team is responsible for all developer-facing related tasks, such as API, loaders, plugins, and build performance monitoring.

July (Preparation)

Pass over 50% of webpack tests
Provide API development visibility
Improve feature completeness and code quality of all core functionalities such as cjs/esm * interop, tree-shaking, custom runtime, and CSS-related issues
Clean up and refactor outstanding issues related to APIs, hooks, loaders, and plugins

August (Development)

Complete APIs for Modern.js Rspack mode
Finish artifact alignment between Modern.js Rspack mode and its original webpack mode.
Develop tools for triaging build artifact problems targeted toward huge projects (20k+ modules internal projects)

September (Engagement)

Actively engage with internal and community projects and make sure requirements are satisfied
Fix outstanding and time-consuming tasks

Champions
There are also a few large sub-projects that are assigned to a specific person, their progress will be hard to track other wise.

incremental build @hardfist
https://github.com/web-infra-dev/rspack/issues/3158 - @zackarychapple
https://github.com/web-infra-dev/rspack/issues/1930 - @ScriptedAlchemy

@Boshen should we add #1930 as the tracking issue for MF?

Iteration plan for Q4 is to be announced.


Suggestion: darken color of symbol body fills

Just as a friendly suggestion, there may be a benefit to some more contrast between the "symbol body fill" color and the "pin name" color - especially for big symbols with filled bodies, the pin names can be a little hard to read:

For example, here is the same schematic after darkening "symbol body fills" to #584F46FF:

Hi! I will make a new version soon. I've tweaked a few things and the body color is one of them. I will close this when the next version is up!

https://gitlab.com/kicad/addons/metadata/-/merge_requests/44

EESCHEMA
PCBNEW


Quickstart link "Selenium Web Server is running" is broken

On this page: http://codecept.io/quickstart/
The link to "Selenium Web Server is running" is broken. In the markdown it's supposed to go to ./helpers/WebDriverIO.md/#selenium-installation but that file doesn't exist.
Further more, the helpers section for WebDriverIO (http://codecept.io/helpers/#webdriverio-example) has no info on starting Selenium.
If I had no former knowledge of Selenium I'd basically be stuck unable to do the quickstart. As it is I'll fumble around and probably get it running, but this lack of working docs will likely frustrate a lot of new users.

The link to "Selenium Web Server is running" is broken. In the markdown it's supposed to go to ./helpers/WebDriverIO.md/#selenium-installation but that file doesn't exist.

Almost. In the very beginning of a file there are instructions on starting Selenium:

Download Selenium Server
Launch the daemon: java -jar selenium-server-standalone-2.xx.xxx.jar

http://codecept.io/helpers/WebDriverIO/#selenium-installation
There are more ways on starting Selenium but I'm not sure which one to prefer most...
But yeah, link in Quickstart should be fixed


Use wildcard parameterized types for Group lists passed to the API

Allows library consumers to maintain lists of objects that implement Group. i.e. List<MyCustomGroup> instead of List<Group>. Backward compatible with all existing code. Eventually all of the APIs that take List<Group> will take Collections instead (see #39).
@lisawray Do you think these changes need tests? I'm not even sure what that would look like. You could write tests that use reflection to verify method signatures but that seems like overkill. The best solution would probably be to change existing tests (or even the demo) so that they don't always pass List<Group> but instead pass say List<Item> or List<Section>. That way the build would fail if for some reason an API stopped using wildcard lists.

I think changing the existing tests or adding a test that takes List is probably the simplest way.  I'll try to get to it this weekend, if you don't first!

I ended up just modifying some of the tests. I also applied default Android Studio code formatting to SectionTest.java so it looks like more changes than it really is. If there is another code format you would like to follow let me know.

@kjpublic01 default is good!  I had some strange formatting when I started this project, but no need to keep it.


resume method error?

what happen??
undefined is not a function(evaluating 'sound.resume()') ???

Not yet has method resume().
But you can use
this.sound.play()
It will auto resume for you

Check this.
https://github.com/zmxv/react-native-sound/issues/609#issuecomment-634124169


chore(CHANGELOG): add cache operator removal as breaking change

this was missed in the commit message so it wasn't listed as breaking.
Cc/ @blesh

Coverage remained the same at 97.039% when pulling 0a27fd318efd34ec7ef9f7a0805441eb693e3675 on jayphelps-patch-2 into 0b14db089ab6d814dcd8627401dfcd6890f4aed2 on master.


Remove support for running on JDK / Java 8

Error Prone dropped support for Java 8 several months ago:
https://github.com/google/error-prone/releases/tag/v2.11.0
Dropping Java 8 support will allow us to clean up several ugly hacks in the NullAway code and build configuration.  We'll aim to cut one final release supporting Java 8 before doing this.

We're now at the end of 2023, and I think we should aim to drop support for running NullAway on JDK 8 in the near future.  Specifically, I propose:

In the next release, document that we plan for that release to be the last that supports running on JDK 8.
Assuming we do not learn of any major issues, drop support in the following release, potentially doing a larger version number bump to indicate a significant change.

@lazaroclapp @yuxincs thoughts?

This was done a while back


Messages from blocked devices must be displayed with a forbidden sign

The "must" is not so sure.
Waiting for design conclusion.


Unable to locate /data/input/datasets/VL-CMU-CD/instance.txt

During the training, the transforms is looking for this hardcoded file. Kindly help with this.

I have the same question. Thanks.


misuse of hashmap api cause warn log missing

bug description
thx @yangli for pointing out these problems:

this bug is a mis-use of api, we should check key not value existed and then print warn log to notify user.
impact analysis
actually this bug have no bad impact except some warning log missing

建议标题明确下到底是什么 Bug，一个 Issue 建议描述一个 Bug。

@khotyn ok, 已经修改


added 'ShowCalenderWeek' Property to DatePicke

adds a new column that shows the CalenderWeek in the popup

added the issue: #1276 some days aggo.
would be very nice if this PR can be merged

Hi @StixLukas,
Thanks for the pull request! Can you try to restore the original formatting of the changed files and just add the additional code? At the moment the whole code is marked as new since the whole formatting was changed.


Update 26-data-reuse.md

-added data resources for re-use table

This is how the end of the table looks:

@nacnoriko Is this intentional but needs to be fixed, or should we remove it?

you can remove it. i commented it out somewhere but i guess not in this pull request.

This is how the end of the table looks:

@nacnoriko Is this intentional but needs to be fixed, or should we remove it?

@nacnoriko FYI, I was mistaken. The {: table...} part is indeed correct. Added it back in.


WIP [minor] insert event on employee_request status update

https://github.com/edenlabllc/ehealth.api/issues/1525

Changes Unknown when pulling de0d48713449e26b251e00b651d53af7db85d5ca on event_manager#1525 into ** on master**.

Changes Unknown when pulling 73fcf672c69548f0d4a3579304755d7d91722d6b on event_manager#1525 into ** on master**.

Changes Unknown when pulling 96cb407d86a3673c87ceee9d3ae76a1280748d8f on event_manager#1525 into ** on master**.


PP-6302 Add language to PAYMENT_NOTIFICATION_CREATED event details

WHAT YOU DID

Payment notification end point doesn't receive language in the request body, but connector
DB column defaults to 'en' and parity check fails as language is not included in details sent to Ledger.
Added language to payment notification event details.

Thanks @alexbishop1, overlooked those details. Updated!


Observations on RAGatouille Performance with Numerical Data

Hi,
I was exploring RAGatouille for various use cases and observed that it isn't working well when there are numbers. The following is the example I considered:
query = "Verizon added 416,000 broadband subscribers."
raw_results = [
"The broadband subscriber base of Verizon grew by 416,000",
"The broadband subscriber base of Verizon grew by 437,000",
"The broadband subscriber base of Verizon grew by 4,200",
]
Output of jinaai/jina-colbert-v1-en:
[{'content': 'The broadband subscriber base of Verizon grew by 416,000',
'score': 26.900049209594727,
'rank': 0,
'result_index': 0},
{'content': 'The broadband subscriber base of Verizon grew by 437,000',
'score': 26.850547790527344,
'rank': 1,
'result_index': 1},
{'content': 'The broadband subscriber base of Verizon grew by 4,200',
'score': 26.354623794555664,
'rank': 2,
'result_index': 2}]
Output of colbert-ir/colbertv2.0:
[{'content': 'The broadband subscriber base of Verizon grew by 416,000',
'score': 26.490386962890625,
'rank': 0,
'result_index': 0},
{'content': 'The broadband subscriber base of Verizon grew by 437,000',
'score': 25.593244552612305,
'rank': 1,
'result_index': 1},
{'content': 'The broadband subscriber base of Verizon grew by 4,200',
'score': 24.46894073486328,
'rank': 2,
'result_index': 2}]
Output of mixedbread-ai/mxbai-colbert-v1:
[{'content': 'The broadband subscriber base of Verizon grew by 437,000',
'score': 29.360464096069336,
'rank': 0,
'result_index': 1},
{'content': 'The broadband subscriber base of Verizon grew by 416,000',
'score': 29.355073928833008,
'rank': 1,
'result_index': 0},
{'content': 'The broadband subscriber base of Verizon grew by 4,200',
'score': 29.151668548583984,
'rank': 2,
'result_index': 2}]
In the above example, you can observe that even though the numbers are different, there isn't much difference in the scores.
Could someone please explain how to handle numbers.

I think the problem is that Bert is not really good at making sense of numbers in general. We have quite a similar use case and use the search just for semantically relevant parts and get rid of the numeric outliers via filters (We extracted the numbers from the texts so we have them in table form). That said, it really only works on narrow domains where extracting the numbers makes sense. For broad domains this will become hard.

Hey! Apologies for the late reply.

I think the problem is that Bert is not really good at making sense of numbers in general.

This is pretty much it. Tokenization is the bane of numbers, as you might've seen with LLMs thinking that 9.9 is larger than 9.11 (this is entirely a tokenization issue).
My advice would be to leverage ColBERT for the semantic aspect along with something like bm25, or another form of keyword/exact matching, which would account for numbers much better.


Ability to use Hotkey to Enable/Disable the plugin [Feature Request]

I love this plugin, however I don't want it on all the time. Currently, you have to manually disable the plugin through settings each time you don't want to use it. I think it would be very beneficial (and I assume pretty simple) to implement a hotkey ability to enable/disable the plugin like what is found in most other community plugins. Thanks for creating a great plugin!

+1 for this feature. I would also love a hotkey option as I am constantly turning it off and on.  Thank you!

+1
First, congrats for developing this plugin. It is amazing but the option to turning it off/on quickly will be a game a change

+1


[Bug] Encampment Ranged Strikes

Describe the bug
If a city has an encampment with walls and an enemy unit comes within range of both the city and the encampment, clicking the red target above the encampment doesn't allow you to target the enemy within range, without first clicking the red target above the city.
Clarification
If there's an enemy unit within range of the encampment, but none within range of the city, clicking the red target above the encampment works as expected.
If there's an enemy unit within range of both the city and the encampment, the red target above the encampment will not work at first. Once you click the red target above the city or click the ranged strike notification in the side bar (no need to fire), you can then click the red target above the encampment, and it will work.
To Reproduce
Build a city with walls and an encampment, and wait to be attacked. Building near a barb camp does the trick. Declaring war should work just as well.
Expected behavior
Clicking the red target above an encampment should work right away, from the very start of your turn. There should be no need to switch to the city and back. Vanilla works as expected, tested the same saved games with and without CQUI (every test done with no other active mods).
General informations

OS: Windows 10
Version: <IP_ADDRESS>7
Expansions: All expansions and DLC, including Rise & Fall, and Gathering Storm
Other mods: none

Save game and logs
Attached 2 saved game files. Renamed auto-saves, so both are very start of respective turns. Issue only happens when enemy unit is out of city range, but within range of the encampment. I turned off the setting for affects saved games, so I could test with and without CQUI.
In City Range.zip
Out of City Range.zip
Additional context
This bug was first reported by bgeesy, then confirmed by Stylianos in the Steam Workshop comments section. The above saved game files are from my confirming this same bug.

This looks just like a visual bug, in both saves I CAN select the district range attack, but if I hover a unit or a city banner it reset the Lens and we can't see the "range attack UI" anymore although I can still click an ennemi unit and it fires.
I'll fix this bug as soon as possible.

Should be fixed in 10d87bc17ec4e1bb2094bad6ece330a2cdb36258

Looks like that fixed it. I just reloaded my save with the updated CQUI. Works as expected now.


Skippable errors media

In addition to using the retrying executor, you also have to update the retry strategy to indicate which errors to skip: https://github.com/google/data-transfer-project/blob/237fcc60e528a8b5d9d06f082faf5b76cd73d642/distributions/demo-server/src/main/resources/config/retry/default.yaml


DB: Update generator to use api.StatusErrorf(http.StatusNotFound)

Related to https://github.com/lxc/lxd/issues/5548

@masnax in your travels around the DB generator did you know of a function/approach to get a 'friendly' name for an entity, i.e "Instance Snapshot" rather than "instance_snapshot" for example.

There's nothing in place at the moment that will get us spaces, but there's lex.Camel(m.entity) which will get you to InstanceSnapshot. Most of the time this will be the name of the struct. If you want a guarantee that it's the name of the struct, the Name field from mapping.Mapping (returned by the Parse() method) is what you're looking for.

lex.Camel(m.entity)

Thanks that is better certainly so will use that.


tf.train.Example?

In the file
https://github.com/tensorflow/tensorflow/blob/r0.9/tensorflow/examples/how_tos/reading_data/convert_to_records.py#L64
What does  tf.train.Example()  do?  I couldn't find it anywhere in the documentation.

It's a protocol buffer that is commonly used as the data format for training and evaluation examples in TensorFlow. The format is defined here:
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/example/example.proto
The tf.train.Example() call instantiates a new protocol buffer, and fills in some of its fields.