Implemented getters to retrieve event and error channels

This change will allow to process replication events (or errors) alongside with messages from other channels within the same select {}.

Hi @solisted
Why do you want to do this?
I think using GetEvent is enough, you can use other way to handle your own channel with GetEvent.

Hi @siddontang!
I needed to handle multiple streams/channels within the same main loop - one replication stream and one control stream.
Without this change I have to block main loop for certain amount of time with GetEventTimeout(), then check control channel for incoming events (for example, whether application received SIGTERM signal or not) like this:
for {
    event, err := streamer.GetEventTimeout(timeout)

    // Process replication event

    select {
        case controlMessage := <- controlChannel:
            // Process control message
        default:
    }
}

As you can see, control message could be processed only when timeout occurs, application will not be able to react immediately.
With getters I can implement processing like this:
replicationEventChannel := streamer.GetEventChannel()
replicationErrorChannel := streamer.GetErrorChannel()

for  {
    select {
        case replicationEvent := <- replicationEventChannel:
            // Process replication event
        case replicationError := <- replicationErrorChannel:
            // Handle streamer error
        case controlMessage := <- controlChannel:
            // Process control message (for example, shutdown application gracefully on SIGTERM
            // or reopen logs on SIGUSR1)
    }
}

This allowed me to react to any incoming replication or control message immediately. Maybe there is another solution to my problem? I would be glad to implement it without making changes to the library.

Hi @solisted
You can put replication in another goroutine and use your own channel to notify outer, like
eventCh chan
errCh chan
go func() {
    ev, err := streamer.GetEvent()
    if err != nil {
        errCh <- err
    } else {
        eventCh <- err
   }
}()

for {
    select {
        case <- evetnCh:
        case <- errCh:
        case <- controlCh:
    }
}

@siddontang It works, but does not look clean to me :( You have to make two more channels to dispatch events back from existing one's in BinlogStreamer, instead of using them directly. Seems like unnecessary overhead. But thanks anyways!

:-)
You can use a single channel like chan interface{} or your own struct too. or we can support another function like GoGetEvent() <- chan struct{} , so that you can use whole in one select.


Input.get_accelerometer() does not work when running from the editor

I develop on the Surface Pro (2017), which has an accelerometer.  When I run a project from the Godot editor, Input.get_accelerometer() always returns zero.  However, if I export to UWP and run on the same device, the function returns correct values.
When developing games/apps that require the accelerometer, being forced to export in order to test all code changes slows down the development experience very much.  I expect running my Godot project from the Editor to read the accelerometer if one is present on the device where it is running.
As a workaround I've had to create helper controls to facilitate development.  This improves things, but I still hope it possible to have real readings exposed for the best development experience possible.
Godot version:
v3.0.2.stable.official
OS/device including version:
Windows 10 on Surface Pro (2017).  This device has an accelerometer.
Issue description:
When I read Input.get_acceleometer() if running from the editor, I always get a zero-valued Vector3 (as the accelerometer is not read).
When I then export the project to UWP and run on the same device, values are returned.
Steps to reproduce:
Unzip the attached Godot project and run.  Notice the output is always zero.
Now export to UWP (you'll need to set that up yourself, or just trust me that it works) .  The output shows readings from the Accelerometer are working.
Minimal reproduction project:
AccelerometerTest.zip

Seeing as it's implemented in UWP (which is Windows) but not Windows desktop, does this mean this is a relatively simple to get this working on Windows desktop?  Or is Windows desktop a different beast altogether and the fix requires it's own analysis and solution?

It would be nice if windows could "borrow" accelerometer values from a connected Android device for tests.
Something like this maybe https://github.com/priyankark/PhonePi_SampleServer. IIRC Godot supports web-socket now, so most of the code there could be useful.

That would be amazing I agree!
I think serious work would need to happen for Godot to support this natively.
However a Godot app on a device with an accelerometer, posting UDP packets to a local server that a Godot app running on another device can listen to sounds completely feasible and achievable right now.

can someone either close this OR assign this to milestone 4.0 just like this and this?


SwrInfinite include a refresh of the first page with each pageSize changes

Bug report
Description / Observed Behavior
With swrInfinite, when updating pageSize, the first page is always refreshed as the same time.
Expected Behavior
Only load the targeted page.
Repro Steps / Code Example
With the current example https://github.com/vercel/swr/tree/master/examples/infinite

Additional Context
Latest SWR version as https://github.com/vercel/swr/blob/master/examples/infinite/package.json

Duplicate https://github.com/vercel/swr/issues/1401, sorry


[webportal]change vc in new api

Coverage remained the same at 51.019% when pulling a3f082a81436e7f8b5f86fc45c56b43cb5bb566d on vc-change into e95fa5f278d616beb2c729d2883394fc7de48e40 on yuye/vc-group-add-api.


Changing a column from Int to BigInt creates an invalid migration Postgres

Bug description
When changing a column from Int to BigInt prisma generates an invalid migration.
Example:
ALTER TABLE "my_model" DROP CONSTRAINT "my_model_pkey",
ALTER COLUMN "id" SET DATA TYPE BIGSERIAL,
ADD CONSTRAINT "my_model_pkey" PRIMARY KEY ("id");

Postgres throws the following error:
Database error code: 42704

Database error:
ERROR: type "bigserial" does not exist

DbError { severity: "ERROR", parsed_severity: Some(Error), code: SqlState(E42704), message: "type \"bigserial\" does not exist", detail: None, hint: None, position: None, where_: None, schema: None, table: None, column: None, datatype: None, constraint: None, file: Some("parse_type.c"), line: Some(270), routine: Some("typenameType") }

How to reproduce

Create a schema with a model with id as Int
Migrate and make the DB up to date with the schema
Change the type of the id column from Int to BigInt
Create a migration

Prisma will now generate an invalid migration
Expected behavior
Prisma is able to generate a valid migration
Prisma information
Before
model MyModel {
  id        Int   @id @default(autoincrement())

  @@map("my_model")
}

After:
model MyModel {
  id        BigInt   @id @default(autoincrement())

  @@map("my_model")
}

Environment & setup

OS: macOS
Database: PostgreSQL
Node.js version:  16.19

Prisma Version
prisma                  : 4.11.0
@prisma/client          : 4.11.0

What version of PostgreSQL are you using @marcus13371337?

Im using the postgres:14.1-alpine-docker image, so I guess 14.1!

Why is this tagged unconfirmed? Reproduction is trivial and examples are provided. This also seems to be a known caveat with Postgres (regardless of version) https://stackoverflow.com/questions/31965506/postgresql-column-type-conversion-from-bigint-to-bigserial. I'm also hitting this.

Why is this tagged unconfirmed?

Because no one from our team did run any of those reproductions to confirm they indeed work.

Hi, I found myself running into this. How can this be solved properly? I'm on Neon's PostgreSQL v15.

Bump, I have the same issue

Same for ^4.16.1

This worked for me:
// schema.prisma

model MyModel {
  id BigInt @db.BigInt @id @default(autoincrement())

  @@map("my_model")
}

Prisma Version: 5.2.0
PostgreSQL Version: 14.9
Node.js Version: 20.5.1
NPM Version: 9.8.1
OS Version: macOS 13.5.1

I think this is a Prisma problem, it is the same as:
https://github.com/go-gorm/postgres/issues/65

it's unfortunate (and a bit strange on pg's behalf) that bigserial is not allowed when using ALTER TABLE

If you search around, there are a lot of people who get the error. "ERROR: type "bigserial" does not exist"

I can confirm changing primary key type from Int to BigInt causes following error on PostgreSQL:
Database error:
ERROR: type "bigserial" does not exist

PosgreSQL: 16

Issue is still occurring.
PostgreSQL 16.3
Prisma 5.15

issue still occurring here
PostgreSQL 16.3
Prisma 5.15

modifying the migration alter statement from BIGSERIAL to BIGINT worked for me

Same issue on PostgreSQL 16.3 and Prisma 5.18.0


Fixes #2642

Pass NULL in the host parameter of grpc_channel_create_call

Please ammend the PR description to point to the correct issue :)

Sorry, typo fixed. Fixes #2642.

test this please

Of course, with Jenkins running 1.0 now, tests here fail... The ideal solution is to do in build_tests.sh the same as in travis.yaml: Uninstall Cocoapods and install the specific version we use. That way the tool goes with the source. For the moment, for this PR we can just run the Travis tests.

test this please

test this please

It worked :)

@jcanizales Please don't blindly mark pull requests as "ready to merge" if a huge portion of tests is red and the required statuses (Portability tests and Interop tests are not green).
Without the "Required" statuses being green, the merge button is disabled and I physically cannot merge the PR even if I wanted to - so marking as "ready to merge" basically means that I will be sitting on your pull request, rerunning tests until they are green - and that's not something I'd want to do. I am fully aware that Jenkins can be pretty flaky (and I spent lots and lots of time trying to fix that), but right now we that's the way things are so we have to bite the bullet and accept that. Please note that I have incoming merge requests from 20 other people and if everyone was just marking everything as ready to merge without checking the tests results, I'd spend my entire day just checking test results and rerunning tests. (I already spend much more time than I'd wish doing that). Thanks.

Sorry, forgot about the merge button getting disabled. Next time I'll rerun the flakes before adding the label. Feel free to remove the label and reassign to me if I forget again!

Thanks, I appreciate that.
On Sat, Jun 25, 2016 at 11:36 AM, Jorge Canizales<EMAIL_ADDRESS>wrote:

Sorry, forgot about the merge button getting disabled. Next time I'll
rerun the flakes before adding the label. Feel free to remove the label and
reassign to me if I forget again!
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/grpc/grpc/pull/6906#issuecomment-228564028, or mute
the thread
https://github.com/notifications/unsubscribe/AJeq5H9Ep2AAdGcSpwukpVp9dqNn8cWIks5qPXVEgaJpZM4I13VC
.


Update three-model.js

I moved the update on animationDuration, this way the model animation speed can be changed without the animation reseting to the first keyframe. This will allow pausing an animation and then continue etc...
Sorry for all of these PRs...

No such thing as too many PRs 😄


Wrong syntax highlighting with multiline string

Description
Hello, following VSCode's update to 1.92.0 (on Mac), I've got weird syntax highlighting with some multiline strings.
some_string = <<-YAML
  id: "something"
YAML

def some_func
  "fhf"
end

Is highlighted as:

Thanks

Nope, sorry, forgot to close the issue. It works again as expected. Not sure if it's a VSCode or extension update that fixed it though.
Thanks

Do you have another extension for YAML? Can you try disable that?

Now with VSCode 1.94.2 and ruby lip 0.8.4 it is working fine again... Until the next update ? 🤔


My ProskillApi will not work! I have restarted everything and rienstalled it all I even made a new server and it still wont work. It won't load my skills or class. Pelase help

Is there an existing issue for this?

[X] I have searched the existing issues

Have you tried to reproduce this without OP?

[X] I have tested without OP

Current Behavior
No response
Expected Behavior
No response
Steps To Reproduce
I don't know it just happened
Environment
- Server Software:Spigot 1.19.4
- ProSkillAPI Version:latest
- ProMCCore Version:latest
- Plugins:only proskillapi and promccore

latest.log
[13:30:31] [ServerMain/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[13:30:34] [ServerMain/INFO]: Loaded 7 recipes
[13:30:36] [Server thread/INFO]: Starting minecraft server version 1.19.4
[13:30:36] [Server thread/INFO]: Loading properties
[13:30:36] [Server thread/INFO]: This server is running CraftBukkit version 3763-Spigot-7d7b241-5a5e43e (MC: 1.19.4) (Implementing API version 1.19.4-R0.1-SNAPSHOT)
[13:30:36] [Server thread/INFO]: Debug logging is disabled
[13:30:36] [Server thread/INFO]: Server Ping Player Sample Count: 12
[13:30:36] [Server thread/INFO]: Using 4 threads for Netty based IO
[13:30:36] [Server thread/INFO]: Default game type: SURVIVAL
[13:30:36] [Server thread/INFO]: Generating keypair
[13:30:36] [Server thread/INFO]: Starting Minecraft server on *:25565
[13:30:36] [Server thread/INFO]: Using default channel type
[13:30:37] [Server thread/INFO]: [ProMCCore] Loading 2 libraries... please wait
[13:30:37] [Server thread/INFO]: [ProMCCore] Loaded library D:\Server\libraries\com\mysql\mysql-connector-j\8.2.0\mysql-connector-j-8.2.0.jar
[13:30:37] [Server thread/INFO]: [ProMCCore] Loaded library D:\Server\libraries\com\google\protobuf\protobuf-java\3.21.9\protobuf-java-3.21.9.jar
[13:30:37] [Server thread/INFO]: [ProMCCore] Loaded library D:\Server\libraries\org\apache\commons\commons-lang3\3.12.0\commons-lang3-3.12.0.jar
[13:30:37] [Server thread/INFO]: [ProMCCore] Loading ProMCCore v1.2.0-R0.12-SNAPSHOT
[13:30:37] [Server thread/INFO]: [ProSkillAPI] Loading ProSkillAPI v1.3.0-R0.15-SNAPSHOT
[13:30:38] [Server thread/INFO]: [ProMCCore] Enabling ProMCCore v1.2.0-R0.12-SNAPSHOT
[13:30:38] [Server thread/INFO]: [ProMCCore] You are running MC version V1_19_R3 (RAW: v1_19_R3)
[13:30:38] [Server thread/INFO]: [ProMCCore] Loaded NMS version: V1_19_R3
[13:30:38] [Server thread/INFO]: [ProMCCore] [ItemManager] Successfully registered provider for VANILLA items
[13:30:38] [Server thread/INFO]: [ProMCCore] [ItemManager] Successfully registered provider for ORAXEN items
[13:30:38] [Server thread/INFO]: [ProMCCore] [ItemManager] Successfully registered provider for ITEMSADDER items
[13:30:38] [Server thread/INFO]: [ProMCCore] Found 0 external module(s).
[13:30:38] [Server thread/INFO]: Server version: 11904
[13:30:38] [Server thread/INFO]: [ProMCCore] ProMCCore has been enabled!
[13:30:38] [Server thread/INFO]: [ProMCCore] Plugin loaded in 341 ms!
[13:30:38] [Server thread/WARN]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
[13:30:38] [Server thread/WARN]: The server will make no attempt to authenticate usernames. Beware.
[13:30:38] [Server thread/WARN]: While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
[13:30:38] [Server thread/WARN]: To change this, set "online-mode" to "true" in the server.properties file.
[13:30:38] [Server thread/INFO]: Preparing level "world"
[13:30:38] [Server thread/INFO]: -------- World Settings For [world] --------
[13:30:38] [Server thread/INFO]: Arrow Despawn Rate: 1200 Trident Respawn Rate:1200
[13:30:38] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
[13:30:38] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
[13:30:38] [Server thread/INFO]: View Distance: 10
[13:30:38] [Server thread/INFO]: Simulation Distance: 10
[13:30:38] [Server thread/INFO]: Item Merge Radius: 2.5
[13:30:38] [Server thread/INFO]: Item Despawn Rate: 6000
[13:30:38] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
[13:30:38] [Server thread/INFO]: Mob Spawn Range: 6
[13:30:38] [Server thread/INFO]: Experience Merge Radius: 3.0
[13:30:38] [Server thread/INFO]: Cactus Growth Modifier: 100%
[13:30:38] [Server thread/INFO]: Cane Growth Modifier: 100%
[13:30:38] [Server thread/INFO]: Melon Growth Modifier: 100%
[13:30:38] [Server thread/INFO]: Mushroom Growth Modifier: 100%
[13:30:38] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
[13:30:38] [Server thread/INFO]: Sapling Growth Modifier: 100%
[13:30:38] [Server thread/INFO]: Beetroot Growth Modifier: 100%
[13:30:38] [Server thread/INFO]: Carrot Growth Modifier: 100%
[13:30:38] [Server thread/INFO]: Potato Growth Modifier: 100%
[13:30:38] [Server thread/INFO]: Wheat Growth Modifier: 100%
[13:30:38] [Server thread/INFO]: NetherWart Growth Modifier: 100%
[13:30:38] [Server thread/INFO]: Vine Growth Modifier: 100%
[13:30:38] [Server thread/INFO]: Cocoa Growth Modifier: 100%
[13:30:38] [Server thread/INFO]: Bamboo Growth Modifier: 100%
[13:30:38] [Server thread/INFO]: SweetBerry Growth Modifier: 100%
[13:30:38] [Server thread/INFO]: Kelp Growth Modifier: 100%
[13:30:38] [Server thread/INFO]: TwistingVines Growth Modifier: 100%
[13:30:38] [Server thread/INFO]: WeepingVines Growth Modifier: 100%
[13:30:38] [Server thread/INFO]: CaveVines Growth Modifier: 100%
[13:30:38] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Ra 48 / Mi 16 / Tiv true / Isa false
[13:30:38] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Di 128 / Other 64
[13:30:38] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 1 Hopper Amount: 1 Hopper Can Load Chunks: false
[13:30:38] [Server thread/INFO]: Custom Map Seeds:  Village: 10387312 Desert: 14357617 Igloo: 14357618 Jungle: 14357619 Swamp: 14357620 Monument: 10387313 Ocean: 14357621 Shipwreck: 165745295 End City: 10387313 Slime: 987234911 Nether: 30084232 Mansion: 10387319 Fossil: 14357921 Portal: 34222645
[13:30:38] [Server thread/INFO]: Max TNT Explosions: 100
[13:30:38] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
[13:30:39] [Server thread/INFO]: -------- World Settings For [world_nether] --------
[13:30:39] [Server thread/INFO]: Arrow Despawn Rate: 1200 Trident Respawn Rate:1200
[13:30:39] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
[13:30:39] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
[13:30:39] [Server thread/INFO]: View Distance: 10
[13:30:39] [Server thread/INFO]: Simulation Distance: 10
[13:30:39] [Server thread/INFO]: Item Merge Radius: 2.5
[13:30:39] [Server thread/INFO]: Item Despawn Rate: 6000
[13:30:39] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
[13:30:39] [Server thread/INFO]: Mob Spawn Range: 6
[13:30:39] [Server thread/INFO]: Experience Merge Radius: 3.0
[13:30:39] [Server thread/INFO]: Cactus Growth Modifier: 100%
[13:30:39] [Server thread/INFO]: Cane Growth Modifier: 100%
[13:30:39] [Server thread/INFO]: Melon Growth Modifier: 100%
[13:30:39] [Server thread/INFO]: Mushroom Growth Modifier: 100%
[13:30:39] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
[13:30:39] [Server thread/INFO]: Sapling Growth Modifier: 100%
[13:30:39] [Server thread/INFO]: Beetroot Growth Modifier: 100%
[13:30:39] [Server thread/INFO]: Carrot Growth Modifier: 100%
[13:30:39] [Server thread/INFO]: Potato Growth Modifier: 100%
[13:30:39] [Server thread/INFO]: Wheat Growth Modifier: 100%
[13:30:39] [Server thread/INFO]: NetherWart Growth Modifier: 100%
[13:30:39] [Server thread/INFO]: Vine Growth Modifier: 100%
[13:30:39] [Server thread/INFO]: Cocoa Growth Modifier: 100%
[13:30:39] [Server thread/INFO]: Bamboo Growth Modifier: 100%
[13:30:39] [Server thread/INFO]: SweetBerry Growth Modifier: 100%
[13:30:39] [Server thread/INFO]: Kelp Growth Modifier: 100%
[13:30:39] [Server thread/INFO]: TwistingVines Growth Modifier: 100%
[13:30:39] [Server thread/INFO]: WeepingVines Growth Modifier: 100%
[13:30:39] [Server thread/INFO]: CaveVines Growth Modifier: 100%
[13:30:39] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Ra 48 / Mi 16 / Tiv true / Isa false
[13:30:39] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Di 128 / Other 64
[13:30:39] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 1 Hopper Amount: 1 Hopper Can Load Chunks: false
[13:30:39] [Server thread/INFO]: Custom Map Seeds:  Village: 10387312 Desert: 14357617 Igloo: 14357618 Jungle: 14357619 Swamp: 14357620 Monument: 10387313 Ocean: 14357621 Shipwreck: 165745295 End City: 10387313 Slime: 987234911 Nether: 30084232 Mansion: 10387319 Fossil: 14357921 Portal: 34222645
[13:30:39] [Server thread/INFO]: Max TNT Explosions: 100
[13:30:39] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
[13:30:41] [Server thread/INFO]: -------- World Settings For [world_the_end] --------
[13:30:41] [Server thread/INFO]: Arrow Despawn Rate: 1200 Trident Respawn Rate:1200
[13:30:41] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
[13:30:41] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
[13:30:41] [Server thread/INFO]: View Distance: 10
[13:30:41] [Server thread/INFO]: Simulation Distance: 10
[13:30:41] [Server thread/INFO]: Item Merge Radius: 2.5
[13:30:41] [Server thread/INFO]: Item Despawn Rate: 6000
[13:30:41] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
[13:30:41] [Server thread/INFO]: Mob Spawn Range: 6
[13:30:41] [Server thread/INFO]: Experience Merge Radius: 3.0
[13:30:41] [Server thread/INFO]: Cactus Growth Modifier: 100%
[13:30:41] [Server thread/INFO]: Cane Growth Modifier: 100%
[13:30:41] [Server thread/INFO]: Melon Growth Modifier: 100%
[13:30:41] [Server thread/INFO]: Mushroom Growth Modifier: 100%
[13:30:41] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
[13:30:41] [Server thread/INFO]: Sapling Growth Modifier: 100%
[13:30:41] [Server thread/INFO]: Beetroot Growth Modifier: 100%
[13:30:41] [Server thread/INFO]: Carrot Growth Modifier: 100%
[13:30:41] [Server thread/INFO]: Potato Growth Modifier: 100%
[13:30:41] [Server thread/INFO]: Wheat Growth Modifier: 100%
[13:30:41] [Server thread/INFO]: NetherWart Growth Modifier: 100%
[13:30:41] [Server thread/INFO]: Vine Growth Modifier: 100%
[13:30:41] [Server thread/INFO]: Cocoa Growth Modifier: 100%
[13:30:41] [Server thread/INFO]: Bamboo Growth Modifier: 100%
[13:30:41] [Server thread/INFO]: SweetBerry Growth Modifier: 100%
[13:30:41] [Server thread/INFO]: Kelp Growth Modifier: 100%
[13:30:41] [Server thread/INFO]: TwistingVines Growth Modifier: 100%
[13:30:41] [Server thread/INFO]: WeepingVines Growth Modifier: 100%
[13:30:41] [Server thread/INFO]: CaveVines Growth Modifier: 100%
[13:30:41] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Ra 48 / Mi 16 / Tiv true / Isa false
[13:30:41] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Di 128 / Other 64
[13:30:41] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 1 Hopper Amount: 1 Hopper Can Load Chunks: false
[13:30:41] [Server thread/INFO]: Custom Map Seeds:  Village: 10387312 Desert: 14357617 Igloo: 14357618 Jungle: 14357619 Swamp: 14357620 Monument: 10387313 Ocean: 14357621 Shipwreck: 165745295 End City: 10387313 Slime: 987234911 Nether: 30084232 Mansion: 10387319 Fossil: 14357921 Portal: 34222645
[13:30:41] [Server thread/INFO]: Max TNT Explosions: 100
[13:30:41] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
[13:30:41] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[13:30:46] [Worker-Main-6/INFO]: Preparing spawn area: 0%
[13:30:46] [Worker-Main-6/INFO]: Preparing spawn area: 0%
[13:30:46] [Worker-Main-6/INFO]: Preparing spawn area: 0%
[13:30:46] [Worker-Main-6/INFO]: Preparing spawn area: 0%
[13:30:46] [Worker-Main-1/INFO]: Preparing spawn area: 0%
[13:30:46] [Worker-Main-1/INFO]: Preparing spawn area: 0%
[13:30:46] [Worker-Main-1/INFO]: Preparing spawn area: 0%
[13:30:46] [Worker-Main-1/INFO]: Preparing spawn area: 0%
[13:30:46] [Worker-Main-1/INFO]: Preparing spawn area: 0%
[13:30:46] [Worker-Main-1/INFO]: Preparing spawn area: 0%
[13:30:46] [Worker-Main-6/INFO]: Preparing spawn area: 0%
[13:30:46] [Worker-Main-3/INFO]: Preparing spawn area: 0%
[13:30:47] [Worker-Main-5/INFO]: Preparing spawn area: 29%
[13:30:47] [Worker-Main-5/INFO]: Preparing spawn area: 89%
[13:30:48] [Server thread/INFO]: Time elapsed: 6589 ms
[13:30:48] [Server thread/INFO]: Preparing start region for dimension minecraft:the_nether
[13:30:50] [Worker-Main-3/INFO]: Preparing spawn area: 0%
[13:30:50] [Worker-Main-4/INFO]: Preparing spawn area: 0%
[13:30:50] [Worker-Main-7/INFO]: Preparing spawn area: 0%
[13:30:50] [Worker-Main-4/INFO]: Preparing spawn area: 0%
[13:30:50] [Worker-Main-6/INFO]: Preparing spawn area: 0%
[13:30:50] [Worker-Main-7/INFO]: Preparing spawn area: 0%
[13:30:51] [Worker-Main-2/INFO]: Preparing spawn area: 24%
[13:30:51] [Worker-Main-5/INFO]: Preparing spawn area: 86%
[13:30:51] [Server thread/INFO]: Time elapsed: 3636 ms
[13:30:51] [Server thread/INFO]: Preparing start region for dimension minecraft:the_end
[13:30:54] [Worker-Main-6/INFO]: Preparing spawn area: 0%
[13:30:54] [Worker-Main-1/INFO]: Preparing spawn area: 0%
[13:30:54] [Worker-Main-5/INFO]: Preparing spawn area: 0%
[13:30:54] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[13:30:54] [Worker-Main-3/INFO]: Preparing spawn area: 0%
[13:30:54] [Worker-Main-3/INFO]: Preparing spawn area: 3%
[13:30:54] [Worker-Main-5/INFO]: Preparing spawn area: 89%
[13:30:54] [Server thread/INFO]: Time elapsed: 3052 ms
[13:30:54] [Server thread/INFO]: [ProSkillAPI] Enabling ProSkillAPI v1.3.0-R0.15-SNAPSHOT
[13:30:55] [Server thread/WARN]: java.lang.StringIndexOutOfBoundsException: Range [4, -1) out of bounds for length 79
[13:30:55] [Server thread/WARN]: 	at java.base/jdk.internal.util.Preconditions$1.apply(Preconditions.java:55)
[13:30:55] [Server thread/WARN]: 	at java.base/jdk.internal.util.Preconditions$1.apply(Preconditions.java:52)
[13:30:55] [Server thread/WARN]: 	at java.base/jdk.internal.util.Preconditions$4.apply(Preconditions.java:213)
[13:30:55] [Server thread/WARN]: 	at java.base/jdk.internal.util.Preconditions$4.apply(Preconditions.java:210)
[13:30:55] [Server thread/WARN]: 	at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:98)
[13:30:55] [Server thread/WARN]: 	at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckFromToIndex(Preconditions.java:112)
[13:30:55] [Server thread/WARN]: 	at java.base/jdk.internal.util.Preconditions.checkFromToIndex(Preconditions.java:349)
[13:30:55] [Server thread/WARN]: 	at java.base/java.lang.String.checkBoundsBeginEnd(String.java:4608)
[13:30:55] [Server thread/WARN]: 	at java.base/java.lang.String.substring(String.java:2720)
[13:30:55] [Server thread/WARN]: 	at mc.promcteam.engine.mccore.config.parse.YAMLParser.parse(YAMLParser.java:169)
[13:30:55] [Server thread/WARN]: 	at mc.promcteam.engine.mccore.config.parse.YAMLParser.parse(YAMLParser.java:228)
[13:30:55] [Server thread/WARN]: 	at mc.promcteam.engine.mccore.config.parse.YAMLParser.parse(YAMLParser.java:228)
[13:30:55] [Server thread/WARN]: 	at mc.promcteam.engine.mccore.config.parse.YAMLParser.parseText(YAMLParser.java:133)
[13:30:55] [Server thread/WARN]: 	at mc.promcteam.engine.mccore.config.parse.YAMLParser.parseText(YAMLParser.java:117)
[13:30:55] [Server thread/WARN]: 	at mc.promcteam.engine.mccore.config.parse.YAMLParser.parseFile(YAMLParser.java:100)
[13:30:55] [Server thread/WARN]: 	at mc.promcteam.engine.mccore.config.CommentedConfig.reload(CommentedConfig.java:100)
[13:30:55] [Server thread/WARN]: 	at mc.promcteam.engine.mccore.config.CommentedConfig.getConfig(CommentedConfig.java:108)
[13:30:55] [Server thread/WARN]: 	at com.sucy.skill.manager.RegistrationManager.initialize(RegistrationManager.java:224)
[13:30:55] [Server thread/WARN]: 	at com.sucy.skill.SkillAPI.onEnable(SkillAPI.java:668)
[13:30:55] [Server thread/WARN]: 	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:266)
[13:30:55] [Server thread/WARN]: 	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:342)
[13:30:55] [Server thread/WARN]: 	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:480)
[13:30:55] [Server thread/WARN]: 	at org.bukkit.craftbukkit.v1_19_R3.CraftServer.enablePlugin(CraftServer.java:541)
[13:30:55] [Server thread/WARN]: 	at org.bukkit.craftbukkit.v1_19_R3.CraftServer.enablePlugins(CraftServer.java:455)
[13:30:55] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:589)
[13:30:55] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:414)
[13:30:55] [Server thread/WARN]: 	at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:250)
[13:30:55] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:975)
[13:30:55] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:304)
[13:30:55] [Server thread/WARN]: 	at java.base/java.lang.Thread.run(Thread.java:1623)
[13:30:55] [Server thread/WARN]: java.lang.StringIndexOutOfBoundsException: Range [4, -1) out of bounds for length 79
[13:30:55] [Server thread/WARN]: 	at java.base/jdk.internal.util.Preconditions$1.apply(Preconditions.java:55)
[13:30:55] [Server thread/WARN]: 	at java.base/jdk.internal.util.Preconditions$1.apply(Preconditions.java:52)
[13:30:55] [Server thread/WARN]: 	at java.base/jdk.internal.util.Preconditions$4.apply(Preconditions.java:213)
[13:30:55] [Server thread/WARN]: 	at java.base/jdk.internal.util.Preconditions$4.apply(Preconditions.java:210)
[13:30:55] [Server thread/WARN]: 	at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:98)
[13:30:55] [Server thread/WARN]: 	at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckFromToIndex(Preconditions.java:112)
[13:30:55] [Server thread/WARN]: 	at java.base/jdk.internal.util.Preconditions.checkFromToIndex(Preconditions.java:349)
[13:30:55] [Server thread/WARN]: 	at java.base/java.lang.String.checkBoundsBeginEnd(String.java:4608)
[13:30:55] [Server thread/WARN]: 	at java.base/java.lang.String.substring(String.java:2720)
[13:30:55] [Server thread/WARN]: 	at mc.promcteam.engine.mccore.config.parse.YAMLParser.parse(YAMLParser.java:169)
[13:30:55] [Server thread/WARN]: 	at mc.promcteam.engine.mccore.config.parse.YAMLParser.parse(YAMLParser.java:228)
[13:30:55] [Server thread/WARN]: 	at mc.promcteam.engine.mccore.config.parse.YAMLParser.parse(YAMLParser.java:228)
[13:30:55] [Server thread/WARN]: 	at mc.promcteam.engine.mccore.config.parse.YAMLParser.parseText(YAMLParser.java:133)
[13:30:55] [Server thread/WARN]: 	at mc.promcteam.engine.mccore.config.parse.YAMLParser.parseText(YAMLParser.java:117)
[13:30:55] [Server thread/WARN]: 	at mc.promcteam.engine.mccore.config.parse.YAMLParser.parseFile(YAMLParser.java:100)
[13:30:55] [Server thread/WARN]: 	at mc.promcteam.engine.mccore.config.CommentedConfig.reload(CommentedConfig.java:100)
[13:30:55] [Server thread/WARN]: 	at mc.promcteam.engine.mccore.config.CommentedConfig.getConfig(CommentedConfig.java:108)
[13:30:55] [Server thread/WARN]: 	at com.sucy.skill.manager.RegistrationManager.getBaseSection(RegistrationManager.java:327)
[13:30:55] [Server thread/WARN]: 	at com.sucy.skill.manager.RegistrationManager.lambda$initialize$1(RegistrationManager.java:267)
[13:30:55] [Server thread/WARN]: 	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
[13:30:55] [Server thread/WARN]: 	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
[13:30:55] [Server thread/WARN]: 	at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133)
[13:30:55] [Server thread/WARN]: 	at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1921)
[13:30:55] [Server thread/WARN]: 	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
[13:30:55] [Server thread/WARN]: 	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
[13:30:55] [Server thread/WARN]: 	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
[13:30:55] [Server thread/WARN]: 	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
[13:30:55] [Server thread/WARN]: 	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
[13:30:55] [Server thread/WARN]: 	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
[13:30:55] [Server thread/WARN]: 	at com.sucy.skill.manager.RegistrationManager.initialize(RegistrationManager.java:260)
[13:30:55] [Server thread/WARN]: 	at com.sucy.skill.SkillAPI.onEnable(SkillAPI.java:668)
[13:30:55] [Server thread/WARN]: 	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:266)
[13:30:55] [Server thread/WARN]: 	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:342)
[13:30:55] [Server thread/WARN]: 	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:480)
[13:30:55] [Server thread/WARN]: 	at org.bukkit.craftbukkit.v1_19_R3.CraftServer.enablePlugin(CraftServer.java:541)
[13:30:55] [Server thread/WARN]: 	at org.bukkit.craftbukkit.v1_19_R3.CraftServer.enablePlugins(CraftServer.java:455)
[13:30:55] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:589)
[13:30:55] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:414)
[13:30:55] [Server thread/WARN]: 	at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:250)
[13:30:55] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:975)
[13:30:55] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:304)
[13:30:55] [Server thread/WARN]: 	at java.base/java.lang.Thread.run(Thread.java:1623)
[13:30:55] [Server thread/ERROR]: [ProSkillAPI] Failed to load class file: Spellthief - Spellthief.yml does not appear to contain any class data
[13:30:55] [Server thread/INFO]: [ProSkillAPI] Registration complete
[13:30:55] [Server thread/INFO]: [ProSkillAPI]  - 0 skills
[13:30:55] [Server thread/INFO]: [ProSkillAPI]  - 0 classes
[13:30:55] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
[13:30:55] [Server thread/INFO]: Done (17.080s)! For help, type "help"
[13:40:24] [User Authenticator #1/INFO]: [ProSkillAPI] Created a new folder for config files
[13:40:24] [User Authenticator #1/INFO]: UUID of player Eragon is ad563e73-6157-3c8d-9463-16de2df17c0e
[13:40:24] [Server thread/INFO]: Eragon joined the game
[13:40:24] [Server thread/INFO]: Eragon[/<IP_ADDRESS>:50558] logged in with entity id 61 at ([world]8.5, 64.0, 24.5)
[13:40:41] [Server thread/INFO]: Eragon issued server command: /class profess
[13:40:45] [Server thread/INFO]: Eragon issued server command: /class customize
[13:40:48] [Server thread/INFO]: Eragon lost connection: Disconnected
[13:40:48] [Server thread/INFO]: Eragon left the game
[13:41:48] [Server thread/INFO]: Plugins (2): ProMCCore, ProSkillAPI (SkillAPI)
[13:42:03] [Server thread/INFO]: Unknown command. Type "/help" for help.
[13:42:07] [Server thread/INFO]: This server is running CraftBukkit version 3763-Spigot-7d7b241-5a5e43e (MC: 1.19.4) (Implementing API version 1.19.4-R0.1-SNAPSHOT)
[13:42:07] [Server thread/INFO]: You are 52 version(s) behind
[13:42:30] [Server thread/INFO]: Plugins (2): ProMCCore, ProSkillAPI (SkillAPI)
[13:43:06] [Server thread/INFO]: Stopping the server
[13:43:06] [Server thread/INFO]: Stopping server
[13:43:06] [Server thread/INFO]: [ProSkillAPI] Disabling ProSkillAPI v1.3.0-R0.15-SNAPSHOT
[13:43:06] [Server thread/INFO]: [ProMCCore] Disabling ProMCCore v1.2.0-R0.12-SNAPSHOT
[13:43:06] [Server thread/INFO]: Saving players
[13:43:06] [Server thread/INFO]: Saving worlds
[13:43:09] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld
[13:43:14] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world_nether]'/minecraft:the_nether
[13:43:23] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world_the_end]'/minecraft:the_end
[13:43:23] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
[13:43:23] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[13:43:23] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[13:43:23] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved
Anything else?
No response

Yeah, unfortunately I pushed some stuff to the editor over the weekend that broke yaml a bit for how the plugins parse it. There are new builds on our Discord of Core and PSAPI that should resolve things for you

I can't do discord sorry

Could you send me them another way?

Let me try that.

Ok I think that worked. Also GREAT plugin really easy to use and sooooo well built. You can just start making them immediately with the online editor!

Yep class loaded

PSAPI: https://s01.oss.sonatype.org/content/repositories/snapshots/com/promcteam/proskillapi/1.3.0-R0.20-SNAPSHOT/proskillapi-1.3.0-R0.20-20240227.052819-1.jar
CORE: https://s01.oss.sonatype.org/service/local/repositories/releases/content/com/promcteam/promccore/1.2.0-R2/promccore-1.2.0-R2.jar

Thanks


altitude, mean sea level, please add

Please can you add showing the altitude in msl too?
Thank you for this nice app.

No, as of 0.1.4, it was altitude based on WGS84.
By #45, it will show MSL altitude if it is available by new API added in Android SDK 34 (Android 14). WGS84 altitude will show as reference in this case. In Android <=13 it will stilll show WGS84 altitude.
And for both case, by this pull request, caption will clarify which altitude is shown.

Added release tag and uploaded to Google Play.
It will take a bit more before it is available in Google Play and F-Droid according their policy/method.


Need support for BIDIRECTIONAL_SEQUENCE_LSTM in tensorflow  lite parser

as title

Hi @ek9852
BIDIRECTIONAL_SEQUENCE_LSTM is not currently supported in ComputeLibrary on Neon or GPU. ComputeLibrary is a separate project from Arm NN with a different team.
If you want GPU support for this layer then I think the first step would be to open an issue in their GitHub requesting the layer. The ComputeLibrary team GitHub is at: https://github.com/ARM-software/ComputeLibrary
If they do add plans to support these layers to their roadmap then we can see about adding it to the Arm NN roadmap too. I'll add a tracking issue there.
Best regards,
Mike

Hi @ek9852
BIDIRECTIONAL_SEQUENCE_LSTM is not currently supported in ComputeLibrary on Neon or GPU. ComputeLibrary is a separate project from Arm NN with a different team.
If you want GPU support for this layer then I think the first step would be to open an issue in their GitHub requesting the layer. The ComputeLibrary team GitHub is at: https://github.com/ARM-software/ComputeLibrary
If they do add plans to support these layers to their roadmap then we can see about adding it to the Arm NN roadmap too. I'll add a tracking issue there.
Best regards,
Mike

Is it possible to use two LSTM layers to simulate that ?
from tensorflow doc:
##### BiDirectional LSTM

Bidirectional LSTM can be implemented with two Keras LSTM layers, one for
forward and one for backward, see examples
[here](https://github.com/tensorflow/tensorflow/blob/35a3ab91b42503776f428bda574b74b9a99cd110/tensorflow/python/keras/layers/wrappers.py#L382).

Is it possible to use two LSTM layers to simulate that ?
from tensorflow doc:
##### BiDirectional LSTM

Bidirectional LSTM can be implemented with two Keras LSTM layers, one for
forward and one for backward, see examples
[here](https://github.com/tensorflow/tensorflow/blob/35a3ab91b42503776f428bda574b74b9a99cd110/tensorflow/python/keras/layers/wrappers.py#L382).

Yes, after looking into it a bit more last night I was just coming on to say that we might be able to do just that!
I'll have to confirm that our LSTM implementation will work but it would be great to be able to do this as a composite layer made from pre-existing layers.

Yes, after looking into it a bit more last night I was just coming on to say that we might be able to do just that!
I'll have to confirm that our LSTM implementation will work but it would be great to be able to do this as a composite layer made from pre-existing layers.

Hi @ek9852,
Thank you for reaching out! Based on the updated README.md found here under the "How to get involved" section we will be closing GitHub issues labeled with "Feature Request". Instead, we will be tracking the issue and adding the "Help wanted" label. All the issues with this label can be found here. We would much appreciate your help to add these features. If you would like to add this or any feature to Arm NN feel free to reopen the ticket and let us know you are working on it with a quick comment. We will then track the updates and help you get your additions into our codebase.
Below you will find our contributors guide. If you have any questions feel free to ask here or by creating a new Issue, thank you!
https://www.mlplatform.org/contributing
Kind regards,
Matthew


HarmonyOS <IP_ADDRESS> Serious Bug！！！

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
1、调用bool resull = await LocalAuthentication().authenticate(localizedReason: 'localizedReason')
2、在弹出系统指纹识别弹窗后点击取消；
3、多次重复步骤2，result返回true。
Expected results
1、调用bool resull = await LocalAuthentication().authenticate(localizedReason: 'localizedReason')
2、在弹出系统指纹识别弹窗后点击取消；
3、多次重复步骤2，result返回true。
Actual results
1、调用bool resull = await LocalAuthentication().authenticate(localizedReason: 'localizedReason')
2、在弹出系统指纹识别弹窗后点击取消；
3、多次重复步骤2，result返回true。
Code sample
1、调用bool resull = await LocalAuthentication().authenticate(localizedReason: 'localizedReason')
2、在弹出系统指纹识别弹窗后点击取消；
3、多次重复步骤2，result返回true。
Screenshots or Video
1、调用bool resull = await LocalAuthentication().authenticate(localizedReason: 'localizedReason')
2、在弹出系统指纹识别弹窗后点击取消；
3、多次重复步骤2，result返回true。
Logs
1、调用bool resull = await LocalAuthentication().authenticate(localizedReason: 'localizedReason')
2、在弹出系统指纹识别弹窗后点击取消；
3、多次重复步骤2，result返回true。
Flutter Doctor output
1、调用bool resull = await LocalAuthentication().authenticate(localizedReason: 'localizedReason')
2、在弹出系统指纹识别弹窗后点击取消；
3、多次重复步骤2，result返回true。

Hi @WJHCode
When opening an issue, please try to provide all or some of the information indicated in the template so that we can address this issue properly (See appropriate template here)
And unfortunately, I am not familiar with Chinese. So please try to describe the issue in English so we can identify it properly (using Google translate may not be accurate)

HarmonyOS isn't one of Flutter's supported platforms. If there are issues with its ability to run Android applications well, you'd need to report that to the OS developers.


[FLINK-14175] [flink-connector-kinesis] Update KPL version to 0.13.1

This fixes https://github.com/awslabs/amazon-kinesis-producer/issues/224.

JIRA - https://issues.apache.org/jira/browse/FLINK-14175
mvn clean package succeeds after this change
The version upgrade has already been performed (hence tested) in Flink 1.10.0 as part of FLINK-12847.

What is the purpose of the change
This pull request upgrades the KPL version in flink-kinesis-connector to fix thread leak mentioned in ttps://github.com/awslabs/amazon-kinesis-producer/issues/224.
Brief change log
Update the KPL version from 0.12.9 to 0.13.1
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

@flinkbot approve all


Newer kernels (6.1.53, 6.5.3, probably more) break NFSv4 mounts

Describe the bug
Linux kernel 6.1.53 includes an selinux-related change to how it mounts NFS exports:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=a8d3a6e285f6bc92b37ffd30028869642b1d2682
This change causes mounting an nfs4 mount to fail, with the following appearing in dmesg:
SELinux: Unable to set superblock options before the security server is initialized
This took me quite a while to track down because this is my first NixOS install and I thought I must be configuring something incorrectly, but I found the same issue reported in Gentoo:
https://bugs.gentoo.org/914204
NixOS doesn't seem to support selinux at the OS level, but it must be enabled in the kernel to some extent as adding "selinux=0" to boot.kernelParams "fixed" the problem.  Presumably this would be a problem for anyone running NixOS mounting NFSv4 exports, at least with sec=sys.  I'm not sure if sec=krb5 and other options are affected.
According to the same Gentoo bug report this patch is supposed to fix it:
https://www.spinics.net/lists/linux-fsdevel/msg249428.html
But it doesn't seem to be merged in 6.1.54 and I'm unsure of upstream's plans to backport it.
Is it possible to include this patch in NixOS's kernel package to resolve this issue without requiring selinux=0?
Steps To Reproduce
Steps to reproduce the behavior:

Install NixOS with kernel 6.1.53 or 6.1.54
Try to mount an NFSv4 partition with sec=sys
Note the failure.  Check dmesg for "SELinux: Unable to set superblock options before the security server is initialized"

Expected behavior
I'd expect the NFSv4 system to mount successfully.
Additional context
My currently working (with selinux=0) nfs config.  Without selinux=0 this failed with every set of options I could think to try.
fileSystems."/home/data" =
{ device = "server:/home/data";
fsType = "nfs4";
options = [ "sec=sys" "x-systemd.automount" "x-systemd.idle-timeout=600" "noauto" ];
};
Notify maintainers
I don't see meta.maintainers documented for the kernel (https://github.com/NixOS/nixpkgs/tree/nixos-23.05/pkgs/os-specific/linux/kernel), but this is my first time searching and may be looking in the wrong place.
Metadata
# nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.54, NixOS, 23.05 (Stoat), 23.05.3725.715d72e967ec`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.13.5`
 - channels(root): `"nixos-23.05"`
 - channels(user): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

According to the same Gentoo bug report this patch is supposed to fix it:
https://www.spinics.net/lists/linux-fsdevel/msg249428.html
But it doesn't seem to be merged in 6.1.54 and I'm unsure of upstream's plans to backport it.

That patch is part of linux 6.1.55 (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.55&id=978b86fbdb2acf69a3630931f0c4f07a30734f2f) which is in NixOS 23.05 now.

The supported NixOS versions/channels have updated past the fix, so I'll consider this solved.


Save button appears in the settings right hand modal on some rooms but not others.

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Click on a room chat, click on the top bar, click on settings and see a “Save” button at the bottom.
Click on another room, click on the top bar, click on settings and there is no “Save” button at the bottom
Screenshots in thread.

Expected Result:
There either is or isn’t a save button on both rooms, not a save button on one, but not the other
Actual Result:
There is a save button in one settings pane, and there isn’t in the other
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.2.91-1
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

https://user-images.githubusercontent.com/43996225/228636885-0f899032-7c93-4ec5-aee5-fc016c8f0781.mp4
Expensify/Expensify Issue URL:
Issue reported by: @madmax330
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1680083893664839
View all open jobs on GitHub

Triggered auto assignment to @MitchExpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

Will hold on labeling external until we decide want we want the design to be

@MitchExpensify Whoops! This issue is 2 days overdue. Let's get this updated quick!

Still chatting in https://expensify.slack.com/archives/C049HHMV9SM/p1680083893664839

@MitchExpensify Eep! 4 days overdue now. Issues have feelings too...

@MitchExpensify Eep! 4 days overdue now. Issues have feelings too...

Based on the conversation here, this is expected behavior

For rooms that have names that are not editable, there would be no push-to-page, we’d just show a read-only version of the room name

Then for the notification preference selector, that would be push-to-page and wouldn’t need a save button because we’d save and return back to the original screen as soon as you make a selection


onnx for phi-3 mini

how to use onnx model for Phi-3 mini 128k for faster inference for local machine having cpu only. Can you provide the code to do it.

You can follow the tutorial and example code here for running Phi-3 mini 128K on CPU.

But i want to use the model tk build an LLM application like resume points
generation which is an agentic code. Where I have 4 agents, given a prompt
the LLM generates response and pass the necessary information to the
respective agent. How can i do that.
What about this approach of onnx is it faster in CPU machine for
Inferencing.
On Thu, 30 May, 2024, 6:55 am kunal-vaishnavi, @.***>
wrote:

Closed #530 https://github.com/microsoft/onnxruntime-genai/issues/530
as completed.
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/onnxruntime-genai/issues/530#event-12978813379,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AONNA2CQZAWFT7RBI6JEYSLZEZ52NAVCNFSM6AAAAABINOHWDWVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJSHE3TQOBRGMZTOOI
.
You are receiving this because you authored the thread.Message ID:
@.***>

The example shows how to get the output tokens from the LLM with a specific system prompt. You can change the system prompt for your scenario. Then you can use the decoded output to decide which agent to pass the output to.

In my code I am not using any tokenizer it is directly calling openai model
and generating the output.
This is my code
import streamlit as st
import os
from dotenv import load_dotenv
from langchain_openai import ChatOpenAI
from langgraph.graph import Graph
import langsmith
from langsmith import traceable
Load the stored environment variables
load_dotenv()
Set up OpenAI API key
open_api_key = os.getenv("OPENAI_API_KEY")
os.environ['LANGCHAIN_TRACING_V2'] = 'true'
os.environ['LANGCHAIN_API_KEY'] = os.getenv("LANGCHAIN_API_KEY")
llm = ChatOpenAI(model_name="gpt-4-0125-preview", temperature=0,
openai_api_key=open_api_key)
Streamlit page configuration
st.set_page_config(page_icon="💬", layout="wide", page_title="ATS-Friendly
Resume Points Generator")
def icon(emoji: str):
"""Shows an emoji as a Notion-style page icon."""
st.write(
f'{emoji}',
unsafe_allow_html=True,
)
icon("💼")
st.title("ATS-Friendly Resume Points Generator")
@traceable
def skills_extraction(args):
job_description = args["job_description"]
complete_query = f"""
S: You are an advanced language model designed to extract specific

information from {job_description}.
T: Extract only specific technical skills, specific services, and

specific cloud services from the given job description. Ensure strict
exclusion of:
- Any General cloud platforms
- Any Broad concepts or terms
- Any Methodologies
- Any Processes
- Any Architectural knowledge or designs
- Any Architectural styles
- Any Data intelligence and governance platforms
- Any Collaboration and productivity tools
- Any Project management tools
- Any Soft skills
- Any Automation workflows
- Any Infrastructure as Code
- Any QA processes
- Any Non-technical tools
A: The output should list only specific technical programming

languages, frameworks, libraries, and cloud services relevant to the job
description, with high accuracy. Each item must clearly fall into one of
these categories and must not be related to any excluded categories.
R: Ensure that the extraction focuses solely on the specified

categories and strictly excludes any items related to the mentioned
exclusions. General cloud platforms such as AWS, Azure, etc., should not be
included unless specific services within these platforms are mentioned. The
result should be a concise and accurate list of specific technical skills,
specific services, and specific cloud services, without any general cloud
platforms or broad terms.
"""
response = llm.invoke(complete_query)
extracted_skills = response if isinstance(response, str) else

response.get('content', '') if isinstance(response, dict) else
getattr(response, 'content', '')
print("Extracted technical skills:\n", extracted_skills)
if "no skills extracted" in extracted_skills.lower() or

extracted_skills.strip() == "":
return {"error": "No relevant skills extracted"}
return {"job_description": job_description, "extracted_skills":

extracted_skills}
@traceable
def validate_technical_skills(args):
if "error" in args:
return args
job_description = args["job_description"]
extracted_skills = args["extracted_skills"]

validation_query = f"""
S: You are an expert in validating technical content extracted from

{job_description}.
T: Validate the {extracted_skills} to ensure they meet specific

criteria.
A: Provide a single list categorizing each validated skill, service,

and cloud service (e.g., EC2, SageMaker). Strictly exclude items related to
the below categories:
- General cloud platforms (e.g., AWS, Azure, GCP) except specific cloud
services
- Professional roles (e.g., Developer, Engineer, Manager)
- Programming concepts (e.g., OOP, Multithreading)
- Broad concepts (e.g., Microservices, SOA)
- Broad terms (e.g., Development, Testing)
- Architectural knowledge (e.g., Monolithic, Microservices)
- Technical processes (e.g., CI/CD, Version Control)
- Concept/Architectural styles (e.g., RESTful, Event-Driven)
- Soft skills (e.g., Communication, Leadership)
- Processes (e.g., Agile, Scrum)
- Methodologies (e.g., Waterfall, Kanban)
- DevOps practices (e.g., Continuous Integration, Continuous Deployment)
- Automation workflows (e.g., Jenkins pipelines)
- Software engineering practices (e.g., TDD, BDD)
- Infrastructure as Code (IaC) (e.g., Terraform, CloudFormation)
- QA processes (e.g., Manual Testing, Automated Testing)
- Non-technical tools (e.g., Office Suite, Zoom)
R: Focus strictly on specific programming languages, tools, frameworks,

libraries, and services. Ensure each validated item is clearly categorized
and excludes the listed categories.
Final Validated Skills after proper inspection and excluding the

above-mentioned categories:
Skill Name: [Technical skill or service]
Categories: [Be Specific and Recognize all relevant categories that it

belongs to]
"""
response = llm.invoke(validation_query)
validated_skills = response if isinstance(response, str) else

response.get('content', '') if isinstance(response, dict) else
getattr(response, 'content', '')
print("Validate_technical_skills:\n", validated_skills)
if "no skills extracted" in validated_skills.lower() or

validated_skills.strip() == "":
return {"error": "No relevant skills validated"}
return {"job_description": job_description, "extracted_skills":

extracted_skills, "validated_skills": validated_skills}
@traceable
def resume_point_generation(args):
if "error" in args:
return args["error"]
job_description = args["job_description"]
validated_skills = args["validated_skills"]

prompt = f"""
S: You're a resume writer tasked with generating points for a

candidate's resume, strictly focusing only on {validated_skills}.
T: Generate a high number of high-quality and ATS-friendly resume

points that integrate multiple validated technical skills smartly, without
mentioning numerical improvements or percentages.
A: Strictly follow these instructions:
- Focused Skills: Use only {validated_skills}.
- Integrated Skills: Each point must combine multiple validated skills.
- Skill Repetition: Ensure each skill appears multiple times across the

points.
- Format: Follow the provided example format.
- Comprehensive: Cover all validated skills with ample and varied
points.
- Smart Integration: Combine skills intelligently for highly detailed,
high-quality points.
- Quantity and Quality: Generate a high number of points to ensure
comprehensive coverage of all validated skills.
- Action Verbs: Begin each point with an action verb (e.g., Developed,
Optimized).
- Context: Describe the environment where the skill was applied.
- Purpose: Highlight the outcome or purpose without using numerical
values.
R: Only include key technical skills: {validated_skills}.

# Examples of good quality points:
- Developed a real-time notification system using Socket.io in a

Node.js and Express environment, ensuring efficient and low-latency
communication between the server and clients, which improved user
engagement and responsiveness.
- Optimized database performance and query efficiency by implementing

indexing, partitioning, and query refactoring in PostgreSQL, and utilized
Redis for efficient caching of frequently accessed data, resulting in
significantly faster data retrieval and processing.
resume points:
"""

response = llm.invoke(prompt)
resume_points = response if isinstance(response, str) else

response.get('content', '') if isinstance(response, dict) else
getattr(response, 'content', '')
if "no resume points generated" in resume_points.lower() or

resume_points.strip() == "":
return "I don't have knowledge w.r.t to the context asked."
return {"job_description": job_description, "extracted_skills":

args["extracted_skills"], "validated_skills": validated_skills,
"resume_points": resume_points}
@traceable
def validate_resume_points(args):
if "error" in args:
return args["error"]
resume_points = args["resume_points"]

quality_check_prompt = f"""
S: You are an expert in assessing the quality of resume points.

T: Assess and categorize the following resume points into one of the

four categories: good, better, medium, or low.
For each point, also provide a detailed explanation of why it was
categorized in that specific category.
A: Provide a clear and concise categorization for each resume point.
Ensure that the assessment is based on the following criteria:
- Relevance: How well the point reflects the job requirements.
- Clarity: How clearly the point conveys the candidate's skills and

experience.
- Detail: The level of detail and specificity in the point.
- Integration: How well multiple skills are integrated within each
point.
R: Provide a categorized list of resume points.

# Resume Points to Assess:
{resume_points}
"""

response = llm.invoke(quality_check_prompt)
categorized_points = response if isinstance(response, str) else

response.get('content', '') if isinstance(response, dict) else
getattr(response, 'content', '')
if "no valid categorization" in categorized_points.lower() or

categorized_points.strip() == "":
return "Failed to categorize resume points."
return {"job_description": args["job_description"], "extracted_skills":

args["extracted_skills"], "validated_skills": args["validated_sk
On Tue, 4 Jun 2024, 10:22 am kunal-vaishnavi, @.***>
wrote:

The example shows how to get the output tokens from the LLM with a
specific system prompt
https://github.com/microsoft/onnxruntime-genai/blob/7caab968d66f05a091772129827bac25fcd04082/examples/python/phi3-qa.py#L24.
You can change the system prompt
https://huggingface.co/microsoft/Phi-3-mini-128k-instruct#chat-format
for your scenario. Then you can use the decoded output to decide which
agent to pass the output to.
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/onnxruntime-genai/issues/530#issuecomment-2146607674,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AONNA2DKK5PMZZJQR6NIMPLZFVBZ3AVCNFSM6AAAAABINOHWDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBWGYYDONRXGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

In your code, it appears that the ChatOpenAI class is providing you a high-level view of the generation loop. If you want to use Phi-3 mini in your code example, you can replace
open_api_key = os.getenv("OPENAI_API_KEY")
os.environ['LANGCHAIN_TRACING_V2'] = 'true'
os.environ['LANGCHAIN_API_KEY'] = os.getenv("LANGCHAIN_API_KEY")
llm = ChatOpenAI(model_name="gpt-4-0125-preview", temperature=0, openai_api_key=open_api_key)

prompt = "your prompt here"
response = llm.invoke(prompt)

with the equivalent ONNX Runtime GenAI code
import onnxruntime_genai as og

model = og.Model("/path/to/folder/containing/onnx/model/and/genai/config/json/file")
tokenizer = og.Tokenizer(model)

prompt = "your prompt here"
input_tokens = tokenizer.encode(prompt)

params = og.GeneratorParams(model)
params.input_ids = input_tokens
params.set_search_options(temperature=0)

output_tokens = model.generate(params)
response = tokenizer.decode(output_tokens)

The ONNX Runtime GenAI code gives you much more granular control over the different steps that are happening in a generation loop compared to your ChatOpenAI class, which hides them. If you don't need the granular control, you can use the basic tokenizer.encode, model.generate, and tokenizer.decode methods to get your response from the LLM.
If you want to have granular control, you can change how these methods are used. For example, you can use your own tokenizer to handle converting between text and token ids. This would mean you can avoid using ONNX Runtime GenAI's tokenizer.encode and tokenizer.decode methods. Another example is you can customize the generation loop instead of using the higher-level model.generate method.

Only the part that you gave needs to be changed. And we need to download
the corresponding onnx model of phi-3 right
And also will it run on CPU machine.
Can you provide a basic example of how to use these with Agentic approach.
On Thu, 6 Jun 2024, 3:04 am kunal-vaishnavi, @.***>
wrote:

In your code, it appears that the ChatOpenAI class is providing you a
high-level view of the generation loop. If you want to use Phi-3 mini in
your code example, you can replace
open_api_key = os.getenv("OPENAI_API_KEY")
os.environ['LANGCHAIN_TRACING_V2'] = 'true'
os.environ['LANGCHAIN_API_KEY'] = os.getenv("LANGCHAIN_API_KEY")
llm = ChatOpenAI(model_name="gpt-4-0125-preview", temperature=0, openai_api_key=open_api_key)
prompt = "your prompt here"
response = llm.invoke(prompt)
with the equivalent ONNX Runtime GenAI code
import onnxruntime_genai as og
model = og.Model("/path/to/folder/containing/onnx/model/and/genai/config/json/file")
tokenizer = og.Tokenizer(model)
prompt = "your prompt here"
input_tokens = tokenizer.encode(prompt)
params = og.GeneratorParams(model)
params.input_ids = input_tokens
params.set_search_options(temperature=0)
output_tokens = model.generate(params)
response = tokenizer.decode(output_tokens)
The ONNX Runtime GenAI code gives you much more granular control over the
different steps that are happening in a generation loop compared to your
ChatOpenAI class, which hides them. If you don't need the granular
control, you can use the basic tokenizer.encode, model.generate, and
tokenizer.decode methods to get your response from the LLM.
If you want to have granular control, you can change how these methods are
used. For example, you can use your own tokenizer to handle converting
between text and token ids. This would mean you can avoid using ONNX
Runtime GenAI's tokenizer.encode and tokenizer.decode methods. Another
example is you can customize the generation loop
https://github.com/microsoft/onnxruntime-genai/blob/a6bec83bf02667f6a9c6aa6340842f46e001578c/examples/python/phi3-qa.py#L55-L61
instead of using the higher-level model.generate method.
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/onnxruntime-genai/issues/530#issuecomment-2150999940,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AONNA2A6A2E3MGINIHVE3QDZF576FAVCNFSM6AAAAABINOHWDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJQHE4TSOJUGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Only the part that you gave needs to be changed. And we need to download
the corresponding onnx model of phi-3 right

And also will it run on CPU machine.

The answer is yes to all of your questions. The Phi-3 mini 128K ONNX models are uploaded here. Here's an example of how you can download just the CPU model with accuracy level = 4 using the Hugging Face CLI.
# Install Hugging Face CLI
$ pip install huggingface_hub[cli]

# Download just the CPU model with accuracy level = 4 to a local directory named 'phi3-mini-128k-instruct-onnx'
$ huggingface-cli download microsoft/Phi-3-mini-128k-instruct-onnx --include cpu_and_mobile/cpu-int4-rtn-block-32-acc-level-4/* --local-dir ./phi3-mini-128k-instruct-onnx  --local-dir-use-symlinks False

Can you provide a basic example of how to use these with Agentic approach.

In your Python code, you can replace
open_api_key = os.getenv("OPENAI_API_KEY")
os.environ['LANGCHAIN_TRACING_V2'] = 'true'
os.environ['LANGCHAIN_API_KEY'] = os.getenv("LANGCHAIN_API_KEY")
llm = ChatOpenAI(model_name="gpt-4-0125-preview", temperature=0, openai_api_key=open_api_key)

with
import onnxruntime_genai as og

model = og.Model("./phi3-mini-128k-instruct-onnx/cpu_and_mobile/cpu-int4-rtn-block-32-acc-level-4/")
tokenizer = og.Tokenizer(model)

to initialize the Phi-3 mini model for CPU.
Then you can define the following function
def invoke(model, query):
    input_tokens = tokenizer.encode(query)

    params = og.GeneratorParams(model)
    params.input_ids = input_tokens
    params.set_search_options(temperature=0)

    output_tokens = model.generate(params)
    response = tokenizer.decode(output_tokens)
    return response

and replace any references of response = llm.invoke(query) in your code with response = invoke(model, query) and any references of response = llm.invoke(prompt) in your code with response = invoke(model, prompt).

Thanks, I'll check them out. And if there is any error I will message you
On Wed, 12 Jun, 2024, 7:18 am kunal-vaishnavi, @.***>
wrote:

Only the part that you gave needs to be changed. And we need to download
the corresponding onnx model of phi-3 right
And also will it run on CPU machine.
The answer is yes to all of your questions. The Phi-3 mini 128K ONNX
models are uploaded here
https://huggingface.co/microsoft/Phi-3-mini-128k-instruct-onnx. Here's
an example of how you can download just the CPU model with accuracy level =
4 using the Hugging Face CLI.
Install Hugging Face CLI
$ pip install huggingface_hub[cli]
Download just the CPU model with accuracy level = 4 to a local directory named 'phi3-mini-128k-instruct-onnx'
$ huggingface-cli download microsoft/Phi-3-mini-128k-instruct-onnx --include cpu_and_mobile/cpu-int4-rtn-block-32-acc-level-4/* --local-dir ./phi3-mini-128k-instruct-onnx  --local-dir-use-symlinks False
Can you provide a basic example of how to use these with Agentic approach.
In your Python code, you can replace
open_api_key = os.getenv("OPENAI_API_KEY")
os.environ['LANGCHAIN_TRACING_V2'] = 'true'
os.environ['LANGCHAIN_API_KEY'] = os.getenv("LANGCHAIN_API_KEY")
llm = ChatOpenAI(model_name="gpt-4-0125-preview", temperature=0, openai_api_key=open_api_key)
with
import onnxruntime_genai as og
model = og.Model("./phi3-mini-128k-instruct-onnx/cpu_and_mobile/cpu-int4-rtn-block-32-acc-level-4/")
tokenizer = og.Tokenizer(model)
to initialize the Phi-3 mini model for CPU.
Then you can define the following function
def invoke(model, query):
input_tokens = tokenizer.encode(query)
params = og.GeneratorParams(model)
params.input_ids = input_tokens
params.set_search_options(temperature=0)

output_tokens = model.generate(params)
response = tokenizer.decode(output_tokens)
return response

and replace any references of response = llm.invoke(query) in your code
with response = invoke(model, query) and any references of response =
llm.invoke(prompt) in your code with response = invoke(model, prompt).
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/onnxruntime-genai/issues/530#issuecomment-2161928157,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AONNA2HG26XQVT4NEHZM6SLZG6SHPAVCNFSM6AAAAABINOHWDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRRHEZDQMJVG4
.
You are receiving this because you authored the thread.Message ID:
@.***>


Verification done within the system

From Dec. 2023 internal user research.
Have option to have verification done in the system in the future so there's raw data for reports etc.

Likely not MVP


option to specify extensions with github-cli feature

I'd like to install github-cli with e.g, the copilot extension

Currently, we don't have a way where a Feature option can control the addition of extensions. We have to hardcode and add it in https://github.com/devcontainers/features/blob/main/src/github-cli/devcontainer-feature.json
Said that, not sure how many folks would appreciate the automatic installation of copilot extension. Let's keep this issue open to gather more feedback from the community. Thanks!


Fix Trace Tests on Berlin Fork

Currently, the trace tests are not actually specific to the Berlin fork.  Rather, they are specific to whatever fork is the default in Geth at the time they are generated.  With recent updates to EvmTools, we can now generate fork specific trace tests using Geth's t8n functionality.  Therefore, we should:

[x] Regenerate trace tests for the Berlin fork.
[x] Update DafnyEVM to pass tests that are now failing (e.g. because of differences in gas)
[ ] Update DafnyEVM to support different transaction types.

This is almost complete, but I'm going to push the last item to a separate issue for simplicity.


Expand colony absorption mechanics

https://forum.paradoxplaza.com/forum/index.php?threads/the-eu4-to-v2-converter-project.707362/page-168#post-20412312

This has been fixed to the best of our abilities, until such a time when PDX writes down actual liberty desire into the save game.


This sentence has not been translated into Arabic

https://github.com/files-community/Files/blob/5580cc7c7c9d431dcafd2dedf940258dfe3d1503/src/Files/Strings/ar/Resources.resw#L856

All issues related to Arabic translation are collected here #7645


Sending time for request via "force polling interval"

Describe the bug
A "force polling interval" request for a certain get command (i.e. getTempA) is not sent out directly, but is waiting for the next scheduled run. Depending on the schedule settings for other get commands it can take up to 60 s (heartbeat interval) before the "force polling interval" request is executed.
To Reproduce

All "get commands" with interval 2 min. cycle time
Send "force polling request" -> getTempA

Log:
2024-08-02 07:43:18.372 - debug: viessmann.0 (2748) Wait for next run: 59259 in ms -> Timer
2024-08-02 07:43:25.562 - info: viessmann.0 (2748) Force polling interval: getTempA
2024-08-02 07:44:17.633 - debug: viessmann.0 (2748) Next poll: getTempA (For Object: TempA)
2024-08-02 07:44:17.691 - debug: viessmann.0 (2748) Received: 21.200001 Degrees Celsius
Expected behavior
Force Polling is executed directly after request
Hints
A workaround would be, to set at least on "get command" to the minimum cycle time value of 2 s.
But was wondering if this is the expacted behavior of the "force polling interval" function

Hello, I will check this tipic the next days.

Bitte mal die Github Version testen und Feedback geben, ich habe leider keine Zeit zum testen. DANKE


Ensure the fake updated yaml file is newer than the existing db row.

Don't rely on the real yaml's mtime to be older than Time.now.

:+1:


Minor fix: GO API -> Go SDK

Under "Programmatic ingestion using SDKs", the list specifies the "GO API", but this is actually a "Go SDK" and not an API (as the linked document specifies)

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

ID: 7c758ab8-a66a-0d9d-af7a-a0fbe43ec6f4
Version Independent ID: 62e4d091-8261-eb79-0f50-92a302487dd0
Content: Azure Data Explorer data ingestion overview
Content Source: data-explorer/ingest-data-overview.md
Service: data-explorer
GitHub Login: @orspod
Microsoft Alias: orspodek

Hi @Spoonbender, thank you for noticing. This has been updated in the docs.
#please-close


Adding quarkiverse-couchbase

Actually, this may have been premature.  I was following this guide https://github.com/quarkiverse/quarkiverse/wiki/Checklist#after-the-repository-is-created, but I see under https://quarkus.io/guides/writing-extensions#ecosystem-ci that there are some pre-requisites.  The extension is not yet published to Maven central (under its new groupId, anyway), so if that's required then please hold off on merging this for now, or close it.


bug

The application hangs in the process and the error in the logs.
In terminal:
The "instance object [Taskbar] Accessibility" method is missing.Iaccisible::get_accRole(object)" from the "System.Int32" class"

in <IP_ADDRESS> bug too
Windows 10 Pro
19041.508

in dnSpy :

the bug was already there


LayoutLM model only able to classify individual words instead of entire sections

Model I am using (LayoutLM ...):
Here, I would like to develop a custom resume parser model that can accurately predict the sections for EDUCATION, SKILLS, and EXPERIENCE based on the resume. I have fine-tuned the LayoutLMv3 model on a custom dataset that is similar to the FUNSD dataset.
Although the LayoutLM model can predict education keywords, it only does so at the word level. For instance, if the resume states "My education is in computer engineering from LD College Ahmedabad," the model will label "computer" and "engineering" as EDUCATION. However, I aim to have all classified words in a single section rather than in individual word sections.
Therefore, here are some random screenshots of the LayoutLM model output.

And here, I would like the output to include box coordinates for the EDUCATION section as well as the SKILLS section, identified by their respective keywords.

Note: I have attempted to use the Layout Parser model with the PublayNet dataset. However, this model was unable to accurately predict and classify the sections for EDUCATION, SKILLS, EXPERIENCE, etc.
If there are any other models that would be suitable for my use case, please kindly suggest them.
Thank you all for your help.

I also tried the code from hugging face but the output coming in term of per word labels, rather than block or section boxes. Please help.


How to show uploading progress bar?

    $scope.uploadLicenseImg = function () {
        var uploadInfo = {};
        BrandService.oss().$promise.then(function (res) {
            if (res.status.status_code == 0) {
                uploadInfo = res.result;
                Upload.upload({
                    url: 'http://' + uploadInfo.host + '/',
                    method: 'POST',
                    data: {
                        key: uploadInfo.file_name,
                        filename: uploadInfo.file_name,
                        OSSAccessKeyId: uploadInfo.oss_access_key_id,
                        signature: uploadInfo.signature,
                        policy: uploadInfo.policy,
                        success_action_status: '200',
                        file: $scope.license
                    }
                }).then(function (res) {
                    if (res.status == 200) {
                        $scope.brand.licenceUrl = 'http://' + uploadInfo.host + '/' + uploadInfo.file_name;
                    }
                }, function (res) {

                }, function (evt) {
                    console.log(evt);
                    // TODO: show progress
                });
            }
        });
    };

I use this code to upload a file to aliyun oss, and now I want to show a progress bar to display the progress. When I console 'evt', there are two console, one's type is progress and the other's type is load. I just want to know how to use this evt??

Do you mean loaded or load?

loaded...

Loaded is fired at the end of file upload completion


Hashtag Detail Page

You should show one hashtag detail.
There should be tweet list.
Each teets should have like, dislike, comment, share (tweetter, facebook, instagram icon) button,

#58

#64


Docs: Add contributing.md file

Hi, @Olanetsoft
add only the empty file?

@Olanetsoft please review

@Olanetsoft I have submitted a pr, please verify. Thanks


Cannot display subsolver_params properly

Specifying a subsolver results in an entry like Parameters: log_search_progress: true subsolver_params { name: "MyPackingSubsolver" use_timetabling_in_no_overlap_2d: true use_energetic_reasoning_in_no_overlap_2d: true use_area_energetic_reasoning_in_no_overlap_2d: true max_pairs_pairwise_reasoning_in_no_overlap_2d: 5000 } extra_subsolvers: "MyPackingSubsolver"
which currently isn't correctly interpreted by the log analyzer. Shouldn't be too hard to fix. Just create an additional layer whenever you read a { or close it with }.

Fixed.


chore: add lodash.get dependency

This dependency was used by the new Gatsby v4 release, but not added as a dep

Current dependencies on/for this PR:

main

PR #173   (this PR)

This comment was auto-generated by Graphite.


Expose TS formatter options as user settings

Use Microsoft/TypeScript#7459 as a test case.

Fixed - minus: https://github.com/Microsoft/vscode/issues/3980


Can't get latest version of v3.3.0 from pypi

If I install twython with pip or my project's setup.py, it says it's v3.3.0 but I've noticed it doesn't include a particular commit I'm interested in (2ea45abb734af5a3de1e89a4ed2ea1a63e482160).
But if I download the zip of v3.3.0 from GitHub's tags/releases page, I get a version that does include that commit.
I guess this is because the v3.3.0 on pypi was uploaded on 2015-07-18, while the v3.3.0 on GitHub is from 2016-03-21.
Am I missing something - I'm far from a python guru - or is this not right?

Similar issue here. upload_video is not available in endpoints.py on the pypi version of 3.3.0.

Hi, sorry for the delay in any release. Work and personal life are getting crazy.
In any matter, 3.3.0 didn't include the video endpoint.
3.3.0 was tagged on GitHub for convenience (requested by another user I believe) but the last commit in that tag was https://github.com/ryanmcgrath/twython/commit/885051acdc00ba5a67f986ed9ab8d6ae42fd77ac (before new upload video endpoint)
I can do a quick 3.4.0 release with that endpoint and then over the next couple weeks I'll have a look at your other pull requests and get those merged in!

Twython 3.4.0 should be available and should include the upload_video endpoint. Sorry about the confusion!

Thanks very much for moving so quickly on this, Mike!


Issue removing file on media folder

Hi there,
Removing a file with the 'rm' command dosen't seems to work.
If the contener restart, the rm file will show up again.
Also from time to time, it will dowload to the local folder a file already in the cloud (Gdrive), any idea why ?
Regards,
Bounty1342

Are you removing a file from /local-media?
If you are, and the file is uploaded to cloud, it can not be removed. If you want to remove an uploaded file, you have to use rclone delete command

For the files that gets downloaded several time, it very obvious for the nfo files. And as there is a lot of them, it's very annoying. Will try to remove the Metadata in sonnar.
Concerning the issue removing the file.
Was doing a rm command on the media folder, but the cloud's were read only...
I switched them to RW with the env. variable, and wa able to rclone delete and rm the file.
Thanks, you can close it :)
(pebkac )


Prefixed helper functions with chart name

It is a best practice to prefix helm template helper functions with the chart name. Since template functions are global, this can lead to bugs because the last function to be loaded will be used. The best solution is to prefix the template function with the chart name.
See Named Tempaltes

[ *] Chart version not bumped (the versions are all bumped and released at the same time)
[ ] README.md updated with any new values or changes
[ ] Updated template tests in ${CHART}/tests/*.py
[ ] Updated integration tests in ${CHART}/examples/*/test/goss.yaml

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

Hi @bpdunni, we have found your signature in our records, but it seems like you have signed with a different e-mail than the one used in your Git commit. Can you please add both of these e-mails into your Github profile (they can be hidden), so we can match your e-mails to your Github profile?


Would it be possible to add AgX to the Tonemapping options?

Now that Blender 4.0 has switched to AGX being the default Tonemapping mode, does it make sense to add to add here as well so that assets look as similar as possible?
See more about AgX here.
https://github.com/EaryChow/AgX

Yes, support for AgX would be good, but I think we should wait until it's implemented in three. Then it should be possible to tap into that logic instead of implementing it twice.
Related dicussion: https://github.com/mrdoob/three.js/issues/26479#issuecomment-1693335825

I started using it today! and I also plan to use this POSTFX MIXER!!!!!!!!

Added ToneMappingMode.AGX in<EMAIL_ADDRESS>

Hey @vanruesc thank you for adding AgX! This was a great addition. I'm testing using a baked lighting model between Blender AgX and threejs's and pmndr's AgX using the same HDR to light the scene at an intensity of 1, and no lights in the scene but still noticing some differences in color, namely the threejs version seems to be more washed out. Is this just a difference of how AgX is implemented in WebGL vs OpenGL?

Hey, AGX is not just agx... theres punchy, golden, idk many presets of something... threejs implemented agx but still thinking about the presets... maybe this is the issue, i think it deals with some kind of contrast... still so new... i leave my blender in PUNCHY lol

@kitaedesigns Please try comparing results with vanilla three first. Three's physically-based lighting model is not exactly the same as the one Blender uses so some differences are to be expected.
@VanderSP I think it's safe to assume that @kitaedesigns used the default AgX preset in Blender. Results would obviously differ if that wasn't the case.

Hi @vanruesc, yes here is a comparison with threejs and blender's AgX. Blender on the Left. Threejs on the Right. Using the exact same asset and cubemap.
Blender AgX with Exposure at 0 vs Threejs AgX with Exposure at 1.

If I manually adjust each one's exposure I can get them quite close but I think the expectation would be that Exposure of 1 with AgX tonemapping in Threejs should be the same as Exposure 0 AgX tonemapping in Blender.

Thanks, I think three's output looks more pale in comparison, but it's hard to tell with this model and a blurred background. A comparison of your original scene from this comment would be useful.
My current guess is that the visual differences between Blender and three are not caused by postprocessing and are therefore out the scope for this project. In that case, it might be worth a shot to create a forum post over at three to discuss this as a potential issue.

Ok I will crosspost in the AgX thread here https://github.com/mrdoob/three.js/issues/27362
Here are the assets.
GLB
https://1drv.ms/u/s!AksR0p9ftT9Yjilvft0H-B_IUNun?e=ttLJdA
HDR (this is the blender default)
https://1drv.ms/u/s!AksR0p9ftT9Yjiy5yFGQuDXIsuKo?e=wBMQgz

Ah now i see... when comparing to threejs, we are on NONE/BASE... how do you are keeping it more constrasty? epxosure value? or envmapIntensity?


Apache Arrow Support

Support for representing input and output data as Apache Arrow types. This would provide easy interoperability with libraries like Pandas.
First pass might be implementing vectors of scalar values. Next would be dataframes, which could replace our existing simple solution.
Ideally, this would be zero-copy in either direction. That would likely require changing how we use references in Function signatures, which is worth considering anyway.

Will happens with Polars


Update flyway-core to 6.0.1

Updates org.flywaydb:flyway-core from 5.2.4 to 6.0.1.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention @scala-steward in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.flywaydb", artifactId = "flyway-core" } ]

labels: semver-major

#234


Dataview component: need to define "events_code", "helpers_code" to ITEMS template

Hi Perak,
In some case, i need to  control the items (in row) template in dataview components. Can we have some options for this. For ex: item_helpers_code, item_events_code, ...
Thanks Perak.

Agree. Useful feature.


Feature/event publisher

Create EventWriter Interface.
Implement PubsubEventWriter

Add a META-INF services folder with the extension class -  Sample for another extension - https://github.com/cdapio/metrics-writer-extension/tree/develop/src/main/resources/META-INF/services


Not picking up sonar.host.url from sonar-project.properties

Hi,
I got an Express.js project that works using the conventional sonar-scanner npm module, but when I try using your module to get quality gate check capability, it picks up my sonar-project.properties file, but doesn't pick up the host url from that same properties file. I have to manually set it as an environment variable.
Is it intentional?
Thanks

I have got the same issue with sonar.projectKey

Hi,
I am also facing the same issue. The sonar-scanner library picks up the configuration correctly, but this library is trying to connect to localhost:9000 which is not what I specified in the properties file.
Have you got any solution for this?

The same issue. Tried to set up global default host.url in  /<your_users>/.sonar/native-sonar-scanner/sonar-scanner-<IP_ADDRESS>6-macosx/conf/sonar-scanner.properties, but it didn't help.

Run your verification command like this:
sonarqube-verify -Dsonar.host.url=<server_url_goes_here> -Dsonar.login=<token_goes_here>


[Feature Request] Stop Transtion in pre-listener

The pre-events currently can't do anything to stop the transition from happening, it'd be cool if the pre-events were more like voters and if any of them returned false, the transition would fail.
Thoughts?

I understand that you could argue that you could stop a transition with can, but let's say you do something in the pre-event, like change state with some third-party. In our case it would be sending shipments to a 3rd party API. If this API call fails, we don't want the transition to continue. Putting this on the can event seems wrong to me.

@patrick-mcdougle In general I agree that it could be useful to let a pre listener stop the transition. In your use-case I would consider modeling the api call failure into the process so you can track those events and define what happens if it fails (retries, notifications etc).

Hi, I implement this feature in https://github.com/winzou/state-machine/pull/15
If you want to stop the transition, in your subscriber/listener oyou can do:
$event->setRejected(true);

Hi, what is the use-case exactly?
If a third-party API fails, I guess that stopping the transition won't be enough. You will anyway need to catch an exception, have a certain behavior, etc. So I don't really see the need of stopping propagation in that cas.
Just stopping propagation would mean that your app behaves the same if the API call fails or not, except that the status has been changed or not.

The use case is the one describe by @patrick-mcdougle.
This PR allow you to check if the transition was apply.
So if the API call fail, he can mark the transition as rejected : $event->setRejected(true);
And then check if the transition fail or not.
if (false === $stateMachine->apply('create')) {
    // The transition was not apply. Do stuff.
}

If you want I can throw exception instead of returning false.
It will not break the StateMachineInterface https://github.com/winzou/state-machine/blob/master/src/SM/StateMachine/StateMachineInterface.php#L29-L39
What do you think @winzou ?

But my point is that if a third-party call fails, an exception is already thrown. So I don't see the point of throwing another one from the state machine itself.

When I read @patrick-mcdougle comment I think he mean something like catching an exception from the API in his code.
First he check if the API is available (some dry run) on a pre_transition listener.
// Listener on PRE_TRANSITION
try {
    // check the api.
} catch(\Exception $e) {
    $event->setRejected(true);
}

Then, If the event is not rejected he can make a real call the API, else nothing happen.
Am I right @patrick-mcdougle ?
If I'm not I can close the PR.

Yeah something like that. What if the third party doesn't throw exceptions, but rather returns a string error or something? I guess the root reason for me proposing this feature is that I'm against using exceptions for normal logic. That's why I'd prefer a solution like the one presented.

I've merged #15, thanks guys!


[RTM] option for explicitly limiting memory

Is this limiting memory for each node or for the entire workflow?

Entire workflow - more details here:
http://nipype.readthedocs.io/en/latest/users/resource_sched_profiler.html
On Tue, Dec 6, 2016 at 2:37 PM, Shoshana Berleant<EMAIL_ADDRESS>wrote:

Is this limiting memory for each node or for the entire workflow?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/poldracklab/fmriprep/pull/230#issuecomment-265295802,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOkp2mIGKtw8sQYsevFtxUgT4JwsNDAks5rFePBgaJpZM4LF1P0
.

Perhaps a more explicit description is warranted.


APEXMALHAR-2254-2269-2270 Fix bugs on replay tuple skipping and idemp…

@PramodSSImmaneni please review it.

looking at it


fix: reword honesty policy and replace profile with portfolio in text

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[x] My changes do not use shortened URLs or affiliate links.

Closes #37183
Closes #37182

See comment left on original issue

only the copy has been modified in this pr.


Feature Request

Tensor clamp
背景

I am doing a project regarding object detection. So I need to clamp the predicted boxes. Does the tensor in the MegEngine have clamp methods like tensors in the PyTorch framework? Thank you in advance.
需求描述

@stoneMo There's megengine.functional.clamp.
Sadly our API reference doesn't genreate document about this, let me check it.

https://github.com/MegEngine/MegEngine/blob/54888f9adf814c6c1ac006e865aa4599caacb642/python_module/megengine/functional/elemwise.py#L17
"clamp" should be added in list __all__ showed above.

Thanks for your response. I found it in the file mentioned above.


Incorrect menu on firefox mozilla

@milewski the issue comes from -3px top margin on icon div

@RazmikSaghoyan fixed on version v1.2.2

@milewski thanks


Problem with the istallation

Prerequirements
[x ] I have connected my mower(s) to the Automower Connect App
[ x] I have connected my Husqvanra developers account to the Authentication API
[x ] I have connected my Husqvarna developers account to the Automower Connect API
Describe the bug
When installing the Integration, it prompts me to be ready with the API credentials. When I hit OK, nothing happens.
Expected behavior
I expect that there should be a new window, asking for the token etc
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

Here is the log when I am trying to install:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 27, in _handle_async_response
await func(hass, connection, msg)
File "/usr/src/homeassistant/homeassistant/components/application_credentials/init.py", line 309, in handle_integration_list
"integrations": {
File "/usr/src/homeassistant/homeassistant/components/application_credentials/init.py", line 310, in
domain: await _async_integration_config(hass, domain) for domain in domains
File "/usr/src/homeassistant/homeassistant/components/application_credentials/init.py", line 293, in _async_integration_config
placeholders = await platform.async_get_description_placeholders(hass)
File "/config/custom_components/husqvarna_automower/application_credentials.py", line 21, in async_get_description_placeholders
"redirect_uri": get_url(hass),
File "/usr/src/homeassistant/homeassistant/helpers/network.py", line 201, in get_url
raise NoURLAvailableError
homeassistant.helpers.network.NoURLAvailableError


Update about-pull-requests.md by removing typos and errors

This seems to have been opened accidentally, I am going to close it now :yellow_heart:
Take a look at the contributing.md to learn how to contribute in this repo. You can open a discussion if you have any questions or check out issues with the help wanted label. :sparkles:


Cleanup Resolve

the default that Scalafmt has of aligning things on some random column instead of at tab stops makes the code illegible to me.
ideally I would change the configuration instead.

the default that Scalafmt has of aligning things on some random column instead of at tab stops makes the code illegible to me.

Sure it's a bit odd, but I don't personally think "illegible."

ideally I would change the configuration instead.

Let's not spend further dev time and Git history on whitespaces, at least until it really really becomes a problem. I think there are better/bigger fish we could fry.

I think there are better/bigger fish we could fry.

because you don't think it's illegible.
personally I do this again and again while tackling the codebase and often throw it away (or leave it my workspace dirty, or throw it in a unpublished branch). it's tiresome.

Let's seek a general solution to this. Wouldn't everything be solved if we increased the maxColumn = 100 to some large number and/or set align.openParenCallSite to false?

Let's seek a general solution to this.

happy to

Wouldn't everything be solved if we increased the maxColumn = 100 to some large number and/or set align.openParenCallSite to false?

yeah align.openParenCallSite = false and align.openParenDefnSite = false (https://github.com/dwijnand/sbt/commit/992f6251e8642abf33e860e0bf8ac0abc55880b0) definitely help.
I'll try a few ways and come back.


train.pkl of CUB dataset

excuse me, I cannot find train.pkl of CUB dataset, how do you dule with CUB datasets?

Hello,
Thank you for reaching out. We used the original CUB dataset. You can download it from here. After downloading, please follow the pre-processing instructions provided in the CBMs README file to obtain the train.pkl file.


Grad Rijeka, Croatia Addresses

e-mailed and asked if data was available in a geospatial format.
http://data.rijeka.hr/dataset/ulice-i-kucni-brojevi-grada-rijeke

Was there any response?
Sadly the addresses on the national level are for purchase only ...
http://www.dgu.hr/proizvodi-i-usluge/katastarski-podaci/podaci-registra-prostornih-jedinica.html

URL for the national level changed to
https://dgu.gov.hr/proizvodi-i-usluge/registar-prostornih-jedinica-172/172
Prices are defined in official gazette: NN 148/2008 states prices as:

Popis kućnih brojeva za područje Republike Hrvatske: 6000,00 kn (whole country: 800 EUR / 1000 USD)
Popis kućnih brojeva za područje jedne županije: 1000,00 kn (each of 21 counties individually: 135 EUR / 166 USD)

Not sure about the license of data purchased this way.

killing - no response or update. Will implement when their government opens data.