Matter Transmitter crashes Server when given no destination

---- Minecraft Crash Report ----
// Ooh. Shiny.
Time: 4/10/15 5:44 AM
Description: Ticking block entity
java.lang.NullPointerException: Ticking block entity
at com.mcjty.rftools.blocks.teleporter.TeleportationTools.calculateRFCost(TeleportationTools.java:76)
at com.mcjty.rftools.blocks.teleporter.MatterTransmitterTileEntity.startTeleportation(MatterTransmitterTileEntity.java:459)
at com.mcjty.rftools.blocks.teleporter.MatterTransmitterTileEntity.searchForNearestPlayer(MatterTransmitterTileEntity.java:378)
at com.mcjty.rftools.blocks.teleporter.MatterTransmitterTileEntity.checkStateServer(MatterTransmitterTileEntity.java:260)
at com.mcjty.entity.GenericTileEntity.func_145845_h(GenericTileEntity.java:44)
at net.minecraft.world.World.func_72939_s(World.java:1939)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:489)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:636)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:334)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)
A detailed walkthrough of the error, its code path and all known details is as follows:
-- Head --
Stacktrace:
at com.mcjty.rftools.blocks.teleporter.TeleportationTools.calculateRFCost(TeleportationTools.java:76)
at com.mcjty.rftools.blocks.teleporter.MatterTransmitterTileEntity.startTeleportation(MatterTransmitterTileEntity.java:459)
at com.mcjty.rftools.blocks.teleporter.MatterTransmitterTileEntity.searchForNearestPlayer(MatterTransmitterTileEntity.java:378)
at com.mcjty.rftools.blocks.teleporter.MatterTransmitterTileEntity.checkStateServer(MatterTransmitterTileEntity.java:260)
at com.mcjty.entity.GenericTileEntity.func_145845_h(GenericTileEntity.java:44)
-- Block entity being ticked --
Details:
Name: MatterTransmitterTileEntity // com.mcjty.rftools.blocks.teleporter.MatterTransmitterTileEntity
Block type: ID #2119 (tile.matterTransmitterBlock // com.mcjty.rftools.blocks.teleporter.MatterTransmitterBlock)
Block data value: 0 / 0x0 / 0b0000
Block location: World: (-552,46,-444), Chunk: (at 8,2,4 in -35,-28; contains blocks -560,0,-448 to -545,255,-433), Region: (-2,-1; contains chunks -64,-32 to -33,-1, blocks -1024,0,-512 to -513,255,-1)
Actual block type: ID #2119 (tile.matterTransmitterBlock // com.mcjty.rftools.blocks.teleporter.MatterTransmitterBlock)
Actual block data value: 0 / 0x0 / 0b0000
Stacktrace:
at net.minecraft.world.World.func_72939_s(World.java:1939)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:489)
-- Affected level --
Details:
Level name: world
All players: 4 total; [EntityPlayerMP['kye73'/423872, l='world', x=861.95, y=75.00, z=-2507.54], EntityPlayerMP['Kaiden'/4319, l='world', x=-551.50, y=47.14, z=-443.21], EntityPlayerMP['awade'/1904827, l='world', x=-2651.50, y=75.10, z=-535.05], EntityPlayerMP['canilsen'/980997, l='world', x=-2656.31, y=87.60, z=-515.84]]
Chunk stats: ServerChunkCache: 3108 Drop: 0
Level seed:<PHONE_NUMBER>132641431
Level generator: ID 04 - ATG, ver 0. Features enabled: true
Level generator options:
Level spawn location: World: (206,73,-425), Chunk: (at 14,4,7 in 12,-27; contains blocks 192,0,-432 to 207,255,-417), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
Level time: 45790869 game time, 16330 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 67629 (now: false), thunder time: 93363 (now: false)
Level game mode: Game mode: survival (ID 0). Hardcore: false.
TConstruct Environment: Environment healthy.
RedstoneArsenal: Lacking version information.
NetherOres: Lacking version information.
ThermalDynamics: -[1.7.10]1.0.0RC7-98
List of loaded APIs:
* API_NEK (1.0.0) from notenoughkeys-1.7.10-1.0.0b29.jar
* AppleCoreAPI (1.1.0) from applecore-1.7.10-1.1.0.jar
* appliedenergistics2|API (rv2) from appliedenergistics2-rv2-beta-8.jar
* Baubles|API (<IP_ADDRESS>) from Reliquary-1.2.257.jar
* BiomesOPlentyAPI (1.0.0) from biomesoplenty-1.7.10-<IP_ADDRESS>7.jar
* BotaniaAPI (37) from Botania r1.6-174.jar
* BuildCraftAPI|blueprints (1.2) from buildcraft-6.4.7.jar
* BuildCraftAPI|boards (1.0) from buildcraft-6.4.7.jar
* BuildCraftAPI|core (1.0) from buildcraft-6.4.7.jar
* BuildCraftAPI|events (1.0) from buildcraft-6.4.7.jar
* BuildCraftAPI|facades (1.0) from buildcraft-6.4.7.jar
* BuildCraftAPI|filler (3.0) from buildcraft-6.4.7.jar
* BuildCraftAPI|fuels (2.0) from buildcraft-6.4.7.jar
* BuildCraftAPI|gates (4.0) from buildcraft-6.4.7.jar
* BuildCraftAPI|items (1.0) from buildcraft-6.4.7.jar
* BuildCraftAPI|power (1.3) from buildcraft-6.4.7.jar
* BuildCraftAPI|recipes (2.1) from buildcraft-6.4.7.jar
* BuildCraftAPI|robots (1.0) from buildcraft-6.4.7.jar
* BuildCraftAPI|statements (1.0) from buildcraft-6.4.7.jar
* BuildCraftAPI|tiles (1.1) from buildcraft-6.4.7.jar
* BuildCraftAPI|tools (1.0) from buildcraft-6.4.7.jar
* BuildCraftAPI|transport (4.0) from buildcraft-6.4.7.jar
* ChiselAPI (0.0.2) from Chisel2-<IP_ADDRESS>.jar
* ChiselAPI|Carving (0.0.2) from Chisel2-<IP_ADDRESS>.jar
* CoFHAPI (1.7.10R1.0.10) from CoFHCore-[1.7.10]3.0.0RC7-211.jar
* CoFHAPI|block (1.7.10R1.0.10) from CoFHCore-[1.7.10]3.0.0RC7-211.jar
* CoFHAPI|core (1.7.10R1.0.10) from CoFHCore-[1.7.10]3.0.0RC7-211.jar
* CoFHAPI|energy (1.7.10R1.0.3) from EnderIO-1.7.10-<IP_ADDRESS>7.jar
* CoFHAPI|fluid (1.7.10R1.0.10) from CoFHCore-[1.7.10]3.0.0RC7-211.jar
* CoFHAPI|inventory (1.7.10R1.0.1) from EnderTech-1.7.10-<IP_ADDRESS>4.jar
* CoFHAPI|item (1.7.10R1.0.10) from CoFHCore-[1.7.10]3.0.0RC7-211.jar
* CoFHAPI|items (1.7.10R1.0.3) from SolarExpansion-Basic-1.4f.jar
* CoFHAPI|modhelpers (1.7.10R1.0.1) from EnderTech-1.7.10-<IP_ADDRESS>4.jar
* CoFHAPI|tileentity (1.7.10R1.0.3) from EnderIO-1.7.10-<IP_ADDRESS>7.jar
* CoFHAPI|transport (1.7.10R1.0.1) from EnderTech-1.7.10-<IP_ADDRESS>4.jar
* CoFHAPI|world (1.7.10R1.0.3) from SolarExpansion-Basic-1.4f.jar
* CoFHLib (1.7.10R1.0.0B4) from EnderTech-1.7.10-<IP_ADDRESS>4.jar
* CoFHLib|audio (1.7.10R1.0.0RC7) from CoFHCore-[1.7.10]3.0.0RC7-211.jar
* CoFHLib|gui (1.7.10R1.0.0RC7) from CoFHCore-[1.7.10]3.0.0RC7-211.jar
* CoFHLib|gui|container (1.7.10R1.0.0RC7) from CoFHCore-[1.7.10]3.0.0RC7-211.jar
* CoFHLib|gui|element (1.7.10R1.0.0B4) from EnderTech-1.7.10-<IP_ADDRESS>4.jar
* CoFHLib|gui|element|listbox (1.7.10R1.0.0B4) from EnderTech-1.7.10-<IP_ADDRESS>4.jar
* CoFHLib|gui|slot (1.7.10R1.0.0RC7) from CoFHCore-[1.7.10]3.0.0RC7-211.jar
* CoFHLib|inventory (1.7.10R1.0.0B4) from EnderTech-1.7.10-<IP_ADDRESS>4.jar
* CoFHLib|render (1.7.10R1.0.0B4) from EnderTech-1.7.10-<IP_ADDRESS>4.jar
* CoFHLib|render|particle (1.7.10R1.0.0RC7) from CoFHCore-[1.7.10]3.0.0RC7-211.jar
* CoFHLib|util (1.7.10R1.0.0RC7) from CoFHCore-[1.7.10]3.0.0RC7-211.jar
* CoFHLib|util|helpers (1.7.10R1.0.0RC7) from CoFHCore-[1.7.10]3.0.0RC7-211.jar
* CoFHLib|util|position (1.7.10R1.0.0RC7) from CoFHCore-[1.7.10]3.0.0RC7-211.jar
* CoFHLib|world (1.7.10R1.0.0RC7) from CoFHCore-[1.7.10]3.0.0RC7-211.jar
* CoFHLib|world|feature (1.7.10R1.0.0B4) from EnderTech-1.7.10-<IP_ADDRESS>4.jar
* ComputerCraft|API (1.73) from ComputerCraft1.73.jar
* ComputerCraft|API|FileSystem (1.73) from ProjectRed-1.7.10-<IP_ADDRESS>-Compat.jar
* ComputerCraft|API|Lua (1.73) from ProjectRed-1.7.10-<IP_ADDRESS>-Compat.jar
* ComputerCraft|API|Media (1.73) from ComputerCraft1.73.jar
* ComputerCraft|API|Peripheral (1.73) from ProjectRed-1.7.10-<IP_ADDRESS>-Compat.jar
* ComputerCraft|API|Redstone (1.73) from ProjectRed-1.7.10-<IP_ADDRESS>-Compat.jar
* ComputerCraft|API|Turtle (1.73) from ProjectRed-1.7.10-<IP_ADDRESS>-Compat.jar
* DraconicEvolution|API (1.0) from Draconic-Evolution-1.7.10-v1.0.1-RC-4.jar
* EnderIOAPI (0.0.2) from EnderIO-1.7.10-<IP_ADDRESS>7.jar
* EnderIOAPI|Redstone (0.0.2) from EnderIO-1.7.10-<IP_ADDRESS>7.jar
* EnderIOAPI|Teleport (0.0.2) from EnderIO-1.7.10-<IP_ADDRESS>7.jar
* EnderIOAPI|Tools (0.0.2) from EnderIO-1.7.10-<IP_ADDRESS>7.jar
* ForestryAPI|apiculture (2.5.0) from forestry_1.7.10-<IP_ADDRESS>.jar
* ForestryAPI|arboriculture (2.2.1) from forestry_1.7.10-<IP_ADDRESS>.jar
* ForestryAPI|circuits (1.1.0) from forestry_1.7.10-<IP_ADDRESS>.jar
* ForestryAPI|core (2.6.1) from forestry_1.7.10-<IP_ADDRESS>.jar
* ForestryAPI|farming (1.1.0) from forestry_1.7.10-<IP_ADDRESS>.jar
* ForestryAPI|food (1.1.0) from forestry_1.7.10-<IP_ADDRESS>.jar
* ForestryAPI|fuels (2.0.1) from forestry_1.7.10-<IP_ADDRESS>.jar
* ForestryAPI|genetics (2.4.0) from forestry_1.7.10-<IP_ADDRESS>.jar
* ForestryAPI|hives (4.0.0) from forestry_1.7.10-<IP_ADDRESS>.jar
* ForestryAPI|lepidopterology (1.1) from forestry_1.7.10-<IP_ADDRESS>.jar
* ForestryAPI|mail (3.0.0) from forestry_1.7.10-<IP_ADDRESS>.jar
* ForestryAPI|recipes (2.1.0) from Railcraft_1.7.10-<IP_ADDRESS>.jar
* ForestryAPI|storage (2.3.0) from Railcraft_1.7.10-<IP_ADDRESS>.jar
* ForestryAPI|world (1.0) from forestry_1.7.10-<IP_ADDRESS>.jar
* gendustryAPI (1.4.8) from gendustry-mc1710-<IP_ADDRESS>.jar
* GrowthcraftAPI|Cellar (2.0) from growthcraft-cellar-1.7.10-2.1.0a.jar
* GrowthcraftAPI|Core (2.0) from growthcraft-core-1.7.10-2.1.0a.jar
* IC2API (1.0) from Railcraft_1.7.10-<IP_ADDRESS>.jar
* inpure|api (1.7) from INpureCore-[1.7.10]1.0.0B9-54.jar
* minechemAPI (1.7.10R1) from DragonAPI 1.7.10 V6b.jar
* neresources|API (1.0) from notenoughresources-1.7.10-<IP_ADDRESS>.jar
* OpenComputersAPI|Component (5.0.0) from OpenComputers-MC1.7.10-<IP_ADDRESS>-universal.jar
* OpenComputersAPI|Core (5.0.0) from OpenComputers-MC1.7.10-<IP_ADDRESS>-universal.jar
* OpenComputersAPI|Driver (5.0.0) from OpenComputers-MC1.7.10-<IP_ADDRESS>-universal.jar
* OpenComputersAPI|Driver|Item (5.0.0) from OpenComputers-MC1.7.10-<IP_ADDRESS>-universal.jar
* OpenComputersAPI|Event (5.0.0) from OpenComputers-MC1.7.10-<IP_ADDRESS>-universal.jar
* OpenComputersAPI|FileSystem (5.0.0) from OpenComputers-MC1.7.10-<IP_ADDRESS>-universal.jar
* OpenComputersAPI|Internal (5.0.0) from OpenComputers-MC1.7.10-<IP_ADDRESS>-universal.jar
* OpenComputersAPI|Machine (5.0.0) from OpenComputers-MC1.7.10-<IP_ADDRESS>-universal.jar
* OpenComputersAPI|Network (5.0.0) from OpenComputers-MC1.7.10-<IP_ADDRESS>-universal.jar
* OpenComputersAPI|Prefab (5.0.0) from OpenComputers-MC1.7.10-<IP_ADDRESS>-universal.jar
* OpenPeripheralApi (2.2) from OpenPeripheralCore-1.7.10-0.5.0.jar
* RailcraftAPI|bore (1.0.0) from Railcraft_1.7.10-<IP_ADDRESS>.jar
* RailcraftAPI|carts (1.3.0) from Railcraft_1.7.10-<IP_ADDRESS>.jar
* RailcraftAPI|core (1.2.0) from Railcraft_1.7.10-<IP_ADDRESS>.jar
* RailcraftAPI|crafting (1.0.0) from Railcraft_1.7.10-<IP_ADDRESS>.jar
* RailcraftAPI|electricity (1.6.0) from Railcraft_1.7.10-<IP_ADDRESS>.jar
* RailcraftAPI|events (1.0.0) from Railcraft_1.7.10-<IP_ADDRESS>.jar
* RailcraftAPI|fuel (1.0.0) from Railcraft_1.7.10-<IP_ADDRESS>.jar
* RailcraftAPI|helpers (1.1.0) from Railcraft_1.7.10-<IP_ADDRESS>.jar
* RailcraftAPI|items (1.0.0) from Railcraft_1.7.10-<IP_ADDRESS>.jar
* RailcraftAPI|locomotive (1.0.1) from Railcraft_1.7.10-<IP_ADDRESS>.jar
* RailcraftAPI|signals (1.1.0) from Railcraft_1.7.10-<IP_ADDRESS>.jar
* RailcraftAPI|tracks (1.2.0) from Railcraft_1.7.10-<IP_ADDRESS>.jar
* Thaumcraft|API (<IP_ADDRESS>) from Thaumcraft-1.7.10-<IP_ADDRESS>.jar
* WailaAPI (1.2) from Waila-1.5.9_1.7.10.jar
AE2 Integration: IC2:OFF, RotaryCraft:OFF, RC:ON, BC:ON, MJ6:OFF, MJ5:OFF, RF:ON, RFItem:ON, MFR:ON, DSU:ON, FZ:OFF, FMP:ON, RB:OFF, CLApi:OFF, Waila:ON, Mekanism:ON, ImmibisMicroblocks:OFF, BetterStorage:OFF
Profiler Position: N/A (disabled)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Player Count: 4 / 16; [EntityPlayerMP['Kaiden'/4319, l='world', x=-551.50, y=47.14, z=-443.21], EntityPlayerMP['canilsen'/980997, l='world', x=-2656.31, y=87.60, z=-515.84], EntityPlayerMP['kye73'/423872, l='world', x=861.95, y=75.00, z=-2507.54], EntityPlayerMP['awade'/1904827, l='world', x=-2651.50, y=75.10, z=-535.05]]
Is Modded: Definitely; Server brand changed to 'fml,forge'
Type: Dedicated Server (map_server.txt)

How do you actually reproduce this problem? Normally you should not be able to teleport if it has no destination. Can you give me the steps need to get this crash?

I had them linked up, then broke them while active. Placed them at a later time again and the Transmitters still had the "dialed"-glow.

Hmm rftools 2.53 is alrady rather old (we're at 2.75 now). So it is possible this is already fixed. If it is possible for you then upgrading might be a good idea.

As of 2.71, bad destinations can still cause server crashes (well, I assume that's what happened). In my case this issue was caused by #144 and having a matter transmitter linked to one of the missing worlds (I assumed the issue was that the world failed to load or something, but it likely fits in here).

I'm not exactly sure why it is wrong but in any case I will add a test to avoid the crash and make the code more robust. This will be in the next version (2.76). Thanks for reporting.


fix(db): make local hostname configurable for docker-in-docker

What kind of change does this PR introduce?
Bug fix https://github.com/supabase/cli/issues/1603
What is the current behavior?
supabase start fails in GitLab CI because docker:dind does not expose service ports on localhost.
What is the new behavior?
Make local hostname configurable so that docker daemon address can be used instead of <IP_ADDRESS>.
Additional context
Add any other context or screenshots.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.03%) to 58.691%

Totals

Change from base Build<PHONE_NUMBER>:
0.03%

Covered Lines:
6078

Relevant Lines:
10356

💛  - Coveralls


Add explanation for parseInt of floating point values

Adds explanation for weird behaviour of parseInt while parsing floating points or divisions.
Inspired by a Twitter post

Thanks!


fix: show pg_prove failing test results

What kind of change does this PR introduce?
Bug fix / enhancement
What is the current behavior?
See #578
The supabase db test command does not print the pg_prove test results if any of the tests fail. This of course makes it difficult to identify the failing test.
What is the new behavior?
The command will now print the stdout results from the pg_prove command if it exits with a non-zero exit code.
The new output looks like what I shared in the "Expected behavior" section of the referenced issue.
Additional context
This makes a small change to a shared function in internal/utils/docker.go. It's not clear to me if this will have undesired side effects for other commands. Let me know if you think this could be handled differently.
Thanks!

Thank you for the quick response and merge! :beers:


Map DB is not working for me with kotlin.

Map DB is not working for me with kotlin.
gradle
dependencies {
    compile(kotlin("stdlib-jdk8"))
    implementation(group="org.mapdb", name= "mapdb", version= "3.0.7")
    testCompile("junit", "junit", "4.12")
}

File.kt
import org.mapdb.DBMaker

fun main(array: Array<String>) {
    val db = DBMaker.memoryDB().make()
    val map = db.hashMap("map").createOrOpen()
    map.put("a", "a")
    db.close()
}

Error:(7, 13) Kotlin: Type mismatch: inferred type is String but Nothing? was expected. Projected type HTreeMap<out Any?, out Any?> restricts use of public open fun put(key: K?, value: V?): V? defined in org.mapdb.HTreeMap
Error:(7, 18) Kotlin: Type mismatch: inferred type is String but Nothing? was expected. Projected type HTreeMap<out Any?, out Any?> restricts use of public open fun put(key: K?, value: V?): V? defined in org.mapdb.HTreeMap

Hi guys, any updates on this?
The same example works on Java but doesn't on Kotlin.
I would like to use a nested data class as the map's value, as a use case.
Version 3.0.8.
Thanks

Can you try again with kotlin 1.4.10?

Cast to actual type will fix your issue:
import org.mapdb.DBMaker
import org.mapdb.HTreeMap

fun main() {
    val db = DBMaker.memoryDB().make()
    val map = db.hashMap("map").createOrOpen() as HTreeMap<String, String>
    map.put("a", "a")
    db.close()
}

Not sure is this way people use map db, like put literally Any to it, or have some specialization for every map.
Also, if it's repeated patter in your code base, some extension can be useful:
@Suppress("UNCHECKED_CAST")
fun <K, V> HTreeMap<*, *>.useAs(): HTreeMap<K, V> = this as HTreeMap<K, V>

This extension can be used this way:
import org.mapdb.DBMaker
import org.mapdb.HTreeMap

fun main() {
    val db = DBMaker.memoryDB().make()
    val map = db.hashMap("map").createOrOpen().useAs<String, String>()
    map.put("a", "a")
    db.close()
}


Doesn't list 1080p quality

[x] I've verified and I assure that I'm running youtube-dl 2017.04.03
[x] Bug report (encountered problems with youtube-dl)

Hi there!
Since a few weeks or so youtube-dl doesn't list all available resolutions anymore. Most YouTube videos I want to download are in 1080p60, but youtube-dl doesn't list it.
However, it does list a 1920x1080 DASH video, but it's video-only. The "best" resolution is always 720p30.
Do I really have to mux a video- and audio-only file or is this in fact an issue?
Kind regards!

Do I really have to mux a video- and audio-only file

You do. There is no single file 1080p.

Muxing? youtube-dl does this automatically for you..


added missing and conditional completions

Description
Improved the completions and added missing argument's completions
Motivation and Context
Completion for wpscan tool
How Has This Been Tested?
Manual

Types of changes

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

Checklist:

[x] My code follows the code style of this project.
[x] If my change requires a change to the documentation, I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] If I have added a new file, I also added it to clean_files.txt and formatted it using lint_clean_files.sh.
[x] I have added tests to cover my changes, and all the new and existing tests pass.

Hi @tbhaxor
Nice work :smile:
Can you please split this PR into two separate cleanups? one for vuejs and one for wpscan?

Sure give me some time @NoahGorny :P I work on open source projects in the week ends

@tbhaxor #1760 has been merged. If you would rebase this branch to master and then re-format your files, I'll take another look. Thanks again!

@tbhaxor #1760 has been merged. If you would rebase this branch to master and then re-format your files, I'll take another look. Thanks again!


PIP-23: Pulsar Java Client Interceptors.

Motivation
Support user to add interceptors to producer and consumer.
Modifications
Add Consumer interceptors.
Message<T> beforeConsume(Message<T> message);
void onAcknowledge(MessageId messageId, Throwable cause);
void onAcknowledgeCumulative(MessageId messageId, Throwable cause);

Add Producer interceptors.
Message<T> beforeSend(Message<T> message);
void onSendAcknowledgement(Message<T> message, MessageId msgId, Throwable cause);

Result
Users can using interceptors in multiple scenarios, such as for applications to add
custom logging or processing.

@merlimat : created #2476 for tracking the tasks for interceptors. lets focus on producer/consumer interceptor for this PR.

One thing we should consider is to add ReaderInterceptor as well. Even though the implementation is completely based on consumer, from an API perspective they are completely different.

Created #2477

Another idea, which might be out of the scope of this PR is to have Client level interceptor, both to be automatically attached to any producer/consumer created by the client instance and to also intercept events like consumer/producer created.

Created #2478

@merlimat : created #2476 for tracking the tasks for interceptors. lets focus on producer/consumer interceptor for this PR.

👍  Sounds good

@merlimat I'm already address all your comments.

retest this please

@codelipenghui There is one test failing : https://builds.apache.org/job/pulsar_precommit_java8/3387/testReport/junit/org.apache.pulsar.functions.instance/ContextImplTest/testPublishUsingDefaultSchema_on_testPublishUsingDefaultSchema_org_apache_pulsar_functions_instance_ContextImplTest_/
I believe it might be related to the test mocking the producer implementation and then find the interceptor variable as null.

run java8 tests

@codelipenghui I fixed ReplicatorTest and V1_ReplicatorTest. so the CI should be passing now. once the CI is passed, will merge it.

run java8 tests

@codelipenghui I just merged the interceptors change. Great work!

@sijie Thanks.


scale option is taking length of the array instead of value in the array

As I give scale values in array, it takes the array length for positioning, and array values as label. It may be an issue or enhancement, we need to give value and custom label in the array as an object, and we may use that value for positioning the label
Ex:- SCALE - [{val:5, label:"low"}, {val:10, label:"medium"}, {val:15, label:"high"}]

Looks like a good idea, with your example with a range of 0 -> 100
it will give something like
-----LOW-----MEDIUM-----HIGH-------------------------------------------------------------------------------------
?

I have changed generateScale, valueToPrc, and limits functions a little bit to accept the mentioned scale value, soon I will commit the change or will give a PR to you, it may be useful to implement this enhancement

ok do not hesitate, take your time and pls check it is fine for both vertical, horizontal slider

As I don't have permission to do a push, I am posting the changes here
File : slider.factory.js
@ generateScale line  276 - 285
var str = "",
  s = this.settings.scale,
  // FIX Big Scale Failure #34
  // var prc = Math.round((100/(s.length-1))*10)/10;
  prc,
  label,
  duplicate = {},
  position = this.settings.vertical ? 'top' : 'left',
  i=0;

for(; i < s.length; i++) {
  if (s[i].val <= this.settings.to && s[i].val >= this.settings.from &&  ! duplicate[s[i].val]) {
    duplicate[s[i].val] = true;
    prc = this.valueToPrc(s[i].val);
    label = s[i].label ? s[i].label : s[i].val;
    str += '' + '' + label + '' + '';
  }
}

@ valueToPrc line 611
if (pointer) {
  prc = pointer.limits(_start + (value-_from)*(v[0]-_start)/(v[1]-_from));
} else {
  prc = this.limits(_start + (value-_from)*(v[0]-_start)/(v[1]-_from));
}

@ valueToPrc line 618
if (pointer) {
  prc = pointer.limits((value-this.settings.from)*100/this.settings.interval);
} else {
  prc = this.limits((value-this.settings.from)*100/this.settings.interval);
}

@ limits line 259-263
if (pointer) {
  var another = this.o.pointers[1-pointer.uid];
  if(another && pointer.uid && x < another.value.prc) x = another.value.prc;
  if(another && !pointer.uid && x > another.value.prc) x = another.value.prc;
}

These are the changes we did to implement custom label for scale option

You can not push directly but pull requests are always welcome.
First thank you for your work as I know how it has been difficult maybe ;)
I check it asap and come back to you.
Julien

Created a PR... https://github.com/darul75/ng-slider/pull/90

Shall I close this issue as you merged the fix

Yes sure but I got no time to check
it really to provide a release then. Thx

Ok, I have expected a release, but in order to finish my work, I just cloned your slider and updated in awesome-range-slider. You can take a look. If you are ok, I will do a pull request for the issue Change the "ng" prefix to something else

I am just too busy on side projects but it is coming @kanaguks

Yes, I agree, if you are going for a release, you need to update document and demo as well


Enforce hcc when no AMD GPU is installed

When using findHIP of cmake.
Is it correct that export HIP_PLATFORM="hcc" enforces the installed hcc compiler to be used, so errors on not finding CUDA can be prevented?

Yes you are right. export HIP_PLATFORM=hcc would enforce hcc as the compiler. However if you cmake also includes find_package(CUDA) you can still see errors related to not finding CUDA.


Loading Pre-trained Embeddings Model

Hi Demir,
I have some questions about the pre-trained embeddings of DBpedia that you share here
https://hobbitdata.informatik.uni-leipzig.de/KGE/DBpediaQMultEmbeddings_03_07/
In particular, I loaded the model using the following code:

import torch

# Load
model = torch.load('model.pt')

For a given entity URI  e.g., https://dbpedia.org/page/Barack_Obama can you please show me how to lookup for it's embeddings?
Thanks.

Hello @hzahera ,
The following example must do the job
from core import KGE
pre_trained_kge = KGE(path_of_pretrained_model_dir='..')
pre_trained_kge.get_entity_embeddings(items=["https://dbpedia.org/page/Barack_Obama"]) # pytorch tensor

If you do not want to import KGE. You may want to try the following
import pandas as pd
import torch
# Load the index file
df= pd.read_parquet("DBpediaQMultEmbeddings_03_07/entity_to_idx.gzip")
# Ensure that there is a particular index for this entity
idx=df.loc["https://dbpedia.org/page/Barack_Obama"]['entity'] # e.g. 12356
torch.load('model.pt')['entity_embeddings'].detach.numpy()[idx] # embedding vector

Thanks for your reply.
I got an error in the last line of code related to
---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
Input In [10], in <cell line: 3>()
      1 # Ensure that there is a particular index for this entity
      2 idx=df.loc["http://dbpedia.org/resource/Barack_Obama"]['entity'] # e.g. 12356
----> 3 torch.load('./model.pt')['entity_embeddings'].detach.numpy()[idx]

KeyError: 'entity_embeddings'

Would you like to display the keys in torch.load('model.pt'), i.e., print(torch.load('model.pt'))

This works!
import pandas as pd
import torch

# Load the index file
df= pd.read_parquet("./entity_to_idx.gzip")

model=torch.load('./DBpedia-QMult.pt')
# Ensure that there is a particular index for this entity
idx=df.loc["http://dbpedia.org/resource/Female"]['entity'] # e.g. 12356
model['emb_ent_real.weight'].detach().numpy()[idx] # embedding vector


SlimeVR 1.0 Release

This is a tracking issue for us to discuss and track updates on features, bugs, and UX that we want in a SlimeVR 1.0 release. Our goal of this release is to have the software "shippable". We would be confident that we did everything we needed for reviewers and users to be happy, especially by nontechnical users.
Issues remaining for 1.0:

Do a polish pass on sensible defaults for features
Do a ux polish pass to clean any warts
[ ] https://github.com/SlimeVR/SlimeVR-Server/issues/36
[ ] https://github.com/SlimeVR/SlimeVR-Server/issues/446
[ ] https://github.com/SlimeVR/SlimeVR-Server/issues/283
[ ] https://github.com/SlimeVR/SlimeVR-Rust/issues/81
[ ] https://github.com/SlimeVR/SlimeVR-Rust/issues/186
[ ] https://github.com/SlimeVR/SlimeVR-Rust/issues/80
[ ] https://github.com/SlimeVR/SlimeVR-Rust/issues/185
[ ] https://github.com/SlimeVR/SlimeVR-Installer/issues/42
[ ] https://github.com/SlimeVR/SlimeVR-Server/issues/578
[ ] https://github.com/SlimeVR/SlimeVR-Feeder-App/issues/8
[ ] https://github.com/SlimeVR/SlimeVR-Server/issues/511
[ ] https://github.com/SlimeVR/SlimeVR-Feeder-App/issues/9
[ ] https://github.com/SlimeVR/SlimeVR-Server/issues/579

Not needed for for 1.0:

[ ] https://github.com/SlimeVR/SlimeVR-Server/issues/405

Descoped due to blockers:

[ ] https://github.com/SlimeVR/SlimeVR-Server/issues/580 (Needs VRChat to release OSCQuery first)

OSC can use legtweaks and the other goodies that SteamVR has
Can just say "Support OSCQuery for VRChat"

Autobone UX done

AutoBone GUI needs a bit of a rework from its current state as in issue #446 and #283. Basically just needs to show the movements all before starting the recording and needs a proper finished visual guide for the movements.

I think these issues should also be included in 1.0 or clarified/updated to fit it:

https://github.com/SlimeVR/SlimeVR-Server/issues/405
https://github.com/SlimeVR/SlimeVR-Server/issues/75

I think these issues should also be included in 1.0 or clarified/updated to fit it:
* [[Server] Upload firmware via OTA #405](https://github.com/SlimeVR/SlimeVR-Server/issues/405)

* [[Server] Building firmware by server #75](https://github.com/SlimeVR/SlimeVR-Server/issues/75)

Eiren mentioned in #75 that its actually not necessary for 1.0, so I've updated the issue to clarify.

Descoped OSCQuery due to conversations in #580

is there a tracking issue for having the tracker handling more than one server in the network?

#622 is required for 1.0.

We have so much that is blocking 1.0 ;(

We have so much that is blocking 1.0 ;(

This is not how it works.1.0 is not a feature that we all wait when it can be implemented to be blocked. We work forward and we will get there eventually.

IK, was making an observation that there is a lot that should be done before reviewers have this in hand. At the current pace of things, it seems unrealistic to assume everything on this list will happen before reviewers review.

I love how this has nothing that we actually need for 1.0 or have done for 1.0 😢


Deprecating brew cask plugin

I'm suggesting that this be deprecated in favor of the modified script in the
zsh-completions project. See https://github.com/joshka/zsh-completions/commit/31b4e82887626eee236a9806ec9c4f5dee90056c
A copy of the relevant part of the commit message of the above is included here:
The original plugin suffers from the following issues (IMO):

it is part of oh-my-zsh which some have chosen not to use
it acts as a script overriding the existing brew completion rather than as a
standard autoloadable file, this means it must be manually installed rather than
automatically installed as part of compinit.

The changes from the plugin are to fix item 2, as well as update the commands to
those current in homebrew cask. This change relies on a change pending in the
homebrew completion to allow it to call subcommand completions (see
https://github.com/joshka/brew/commit/6b010c5700095685bad6797038e83ef558df5104)
and hence should not be merged until that has been merged.
Ideally, this completion would be installed as part of the homebrew cask
installation, but there doesn't seem to be an easy way to do so as it is
homebrew cask is installed as a homebrew tap. It also doesn't really fit in the
homebrew main repo for similar reasons.
See related PRs:
https://github.com/zsh-users/zsh-completions/pull/430
https://github.com/Homebrew/brew/pull/407

My understanding is that the completion will be shipped within homebrew or brew cask or whatever installs cask, so this won't be necessary anymore.
Blocked by https://github.com/Homebrew/brew/pull/407. Let me know when this is good to merge!

Yep, still waiting on that and https://github.com/Homebrew/homebrew-completions/pull/135 to be merged. If you can suggest a better way to notify oh-my-zsh users of the deprecation than just removing the plugin, I'm all for it. Perhaps replace with a message on where to go or something similar?

@mcornella Homebrew/brew#407 is now merged, so ready to remove this plugin.

Ok let me review the upgrade process here. Perhaps we could check if the official completion exists and display a warning advising to disable the plugin.

Would you say that brew cask gets updated frequently or is it a user's choice?

It's a user's choice to update homebrew (core updates cask automatically). Perhaps replacing this with a warning message to install from elsewhere is correct for your users.
I'm mostly about trying not to cause a loop where _brew calls _brew_cask which calls _brew

https://github.com/Homebrew/brew/pull/936 was merged in brew directly, which means every user that has Homebrew cask has more up to date completions than oh-my-zsh provides.
Hence I'd suggest that deprecating this directly is appropriate. I'm not quite sure how omz handles deleted plugins (I use prezto). Feel free to go ahead and replace this with some sort of message on omz startup instead perhaps if it breaks things.

Alright, merging this then.


bug in decode when string has punctiation

When decode a string with any punctuation basex crash.
ex:
basex.Decode("AeI.oU")
PANIC: runtime error: invalid memory address or nil pointer dereference
goroutine 9 [running]:
/usr/local/go/src/runtime/panic.go:426 +0x4e9
math/big.(*Int).Mul(0xc82020cae0, 0xc82020cb00, 0x0, 0x0)
/usr/local/go/src/math/big/int.go:156 +0x149
github.com/guilhermebr/pirat.as/backend/vendor/github.com/dineshappavoo/basex.Decode(0xc82020c125, 0x7, 0x0, 0x0, 0x0, 0x0)
/go/src/github.com/guilhermebr/pirat.as/backend/vendor/github.com/dineshappavoo/basex/basex.go:109 +0x4c4

@guilhermebr  - Thanks for finding the bug and fixing it. Merged the pull request.


Bump  castas version

Bumping castas version to 0.0.3; minor bug fixes and nothing broken.

Care to give a reason for closing?

I'm not familiar with the codacy service, for which you added a badge. I visited #javascript in irc to discuss your PR and the consensus there is that you may be a bot and I may have triggered your engagement and possible spam by accepting your earlier pull request.

You might want to check it out.
On Nov 23, 2017, 12:50 PM -0800, iambumblehead<EMAIL_ADDRESS>wrote:

I'm not familiar with the codacy service, for which you added a badge. I visited #javascript in irc to discuss your PR and the consensus there is that you may be a bot and I may have triggered your engagement and possible spam by accepting your earlier pull request.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


wip: parseTransactionBytes stub

Implements a client side parser for transaction bytes

Only one question is to change the "methodsToVerify" to "methodsToSkip", but I think better to return error on methods that the verification aren't implemented. (file ./packages/core/src/internal/verifyTransaction/index.ts line 16)

escape() is deprecated...need to check if encodeURI or encodeURIComponent does not alter the bytearray stuff.
see also https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/escape

@deleterium please make a final review...if you think it's ok, than we can merge it


Add double-start protection.

Add double-start protection.

This mimics the locking leveldb is performing anyway. Advantages of
doing it separately:

- Should we ever replace the leveldb implementation by one without
  double-start protection, we are still good.

- In contrast to leveldb, the new code creates a meaningful error
  message.

@juliusv

Does prometheus officially support solaris, windows, etc.? Would it make sense to setup CI to run the tests on all of these platforms?

That would be truly marvelous... Fundamentally, Prometheus should support all Go supported platforms...

:+1: otherwise


How to highlight a day which is having some events?

I have got some dates from server, I want those  dates to be highlighted in the calendar. How can I achieve it?

You need to add events:
 Event ev1 new Event(Color.GREEN,<PHONE_NUMBER>000L, "Some extra data that I want to store.");
 calendar.addEvent(ev1);

You can also add a list of events to the calendar addEvents. You will get an indicator showing below the date. Please see sample app and readme.

I'm going to assume that fixed your problem, so closing issue.


Prompt user with Screen Reader getting started walkthrough when screen reader is detected

Follow-up issue from #223787
There are several things that we should do before this:

[ ] Fix #225977
[ ] Get feedback on the walkthrough from users like @jooyoungseo, @rperez030, and others
[ ] Make sure our detection is solid. @deepak1556 had an idea for this that he's going to work on in October

I don't think this is needed now that we have the help menu entry


Add: opend-xpack-emscripten Support

More info:

#40

[x] test druntime features (dynArray, array append, class, string-literal concat)
[ ] test std (phobos2) features
[ ] adapt or make new example(s)

NOT MERGE

Wow! works on opend (CI) - user_data: use AA + writeln
cc: @adamdruppe

Having the hash in there is kinda annoying since every time I push up a new opend version it is going to change. I don't want to keep old versions around though, that's a support burden id rather avoid - my policy you either have the newest, or you have an unsupported old thing you should update.

Having the hash in there is kinda annoying since every time I push up a new opend version it is going to change.

Yeah! Continuously changing the tarball hash is complicated since openD currently only has master/nightly.
I intend to fix this by replacing the use of Zon for xpack-emscripten and using zig fetch (replacing curl/git clone) without involving any extra dependencies.

zig fetch without Zon - by John Marler


[Feature]: ability to check and possibly installed missing system dependencies

Feature description
For linux, the following packages are required https://source.chromium.org/chromium/chromium/src/+/main:chrome/installer/linux/debian/dist_package_versions.json

Closed by - https://github.com/puppeteer/puppeteer/pull/12580
If any other platform is listed in chromium with packages and you need support please file an new issue issue.


[Proposal] Create a Group from SismoENS holders

ENS Token is a transferable ERC-721 NFT that assigns human-readable addresses to ethereum wallets.
Creating the SismoENS Group will enable to generate new Groups from members holding a sismo.eth subdomain (e.g: dHadrien.sismo.eth).
Specifications
Expected Group: list of all addresses holding a ENS sismo.eth subdomain.
Tips on how to create the Group
ENS Token is minted on Ethereum Chain.
Have a look at Sismo documentation to understand how to generate a group.
Have fun!

group made here: https://github.com/sismo-core/sismo-hub/pull/1767


fix and optimize magnifier and gallery

1. Why is this change necessary?
UX or save some nerves.  That's all we need to know :-)
2. What does this change do, exactly?

move title to aria-title in gallery image (point 1 of NEXT-7502, see image)
stop Magnifier on image click (point 2 of NEXT-7502, see image)
activate mouseDrag and arrowKeys for tiny-slider
for dragging added related events to zoom-modal to prevent it be opened while ending dragging.

3. Describe each step to reproduce the issue or behaviour.
4. Please link to the relevant issues (if any).

https://issues.shopware.com/issues/NEXT-7502

5. Checklist

[ ] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[x] I have written or adjusted the documentation according to my changes
[x] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/NEXT-12761
Please use this issue to track the state of your pull request.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/NEXT-13528
Please use this issue to track the state of your pull request.

Accidentally created a second ticket : /

hey @tinect , could you add an changelog an e2e test?

Hey @J-Rahe
rebased and changelog added. I don't have that much knowledge and time to add related e2e-test. :-(

Hi @tinect , just in case you didn't see this, we have an article regarding end-to-end-testing in the documentation 🙂  https://docs.shopware.com/en/shopware-platform-dev-en/references-internals/testing/end-to-end-testing/writing-e2e-tests

Hey @tinect, i took a look into adding a e2e test since it looked like we are missing some quality of life shortcuts.
I have run into an cypress bug so it seems an e2e test is currently not possible.
If you can check how far you can unit-tests these changes that would already be great : )

Hello, we're closing this pull request due to inactivity. If this change is still important to you, feel free to create a new pull request.
For more information about our contribution guidelines, see https://docs.shopware.com/en/shopware-platform-dev-en/contribution/contribution-guideline.

@philipgatzka I assumed you'll create related test internally? See comment of @J-Rahe

Hey @tinect, sorry for the misunderstanding, i did start with an e2e test but ran into a cypress-bug. After a short discussion with a colleague he said that this can probably also (if not even better) be tested with a unit test, as stated in my last message.
Sorry for the confusion.

Hey @tinect, sorry for the misunderstanding, i did start with an e2e test but ran into a cypress-bug. After a short discussion with a colleague he said that this can probably also (if not even better) be tested with a unit test, as stated in my last message.
Sorry for the confusion.

 I misread it 🙈 Unit Tests are on PHP-Base, aren't they? This change doesn't touch or affect php 🤔

@tinect, np : ) Unit test just means part of an program. We do use Jest tests for js. We do have some info about jest test for the storefront in the new documentation If you have any more questions just ask : )

Hey @J-Rahe
didn't find time to get in touch with it yet :-( hopefully these days.

@tinect,
np, the important thing is that we know that the PR doesn't just lay around, maybe to never be touched again : )
I will try to remember pinging you again should you forget it, else you know you can just reopen / open a new commit.

Hey @tinect, do you have any timeframe on when you may get to this?
Else i would close this for now, you can then reopen it once you get to it.

@J-Rahe No problem.
I would expect to find time on the weekend next week. :-(
Work, new private computer incoming, You know the resulting problems ... :-)

@tinect either ping me to reopen or open a new one once you get to it : )


Remove unnecessary resource IDs

XamarinItemTouchHelper was creating a bunch of unnecessary resource IDs in my app, so I removed them from the project

Thanks! I'll try to make a new release soon.

Cool, thanks!


Scaffold resizing to avoid bottom inset doesn't reset when keyboard disappears again (iPad overlay mode)

Steps to Reproduce

execute the code sample on an iPad(-Simulator)
put the app in split screen - overlay mode (on top of Safari for instance)
tap on the textfield
hide the keyboard again by tapping enter or "move keyboard down" button

Expected results:
fab moves back to bottom
Actual results:
scaffold size doesn't revert back to "no-keyboard" state (FAB remains mid page)

Code sample

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Bottom inset demo',
      home: Scaffold(
        body: Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: const [
              Text(
                '1. Open sample app on iPad',
              ),
              Text(
                '2. Put app in split screen - overlay',
              ),
              Text(
                '3. Tap the text field below',
              ),
              Text(
                '4. Hide the keyboard',
              ),
              TextField(),
            ],
          ),
        ),
        floatingActionButton: FloatingActionButton(
          onPressed: () {},
        ),
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 2.10.3, on macOS 12.2.1 21D62 darwin-x64, locale en-AT)
    • Flutter version 2.10.3 at /Users/egon/Development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 7e9793dee1 (2 weeks ago), 2022-03-02 11:23:12 -0600
    • Engine revision bd539267b4
    • Dart version 2.16.1
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0-rc5)
    • Android SDK at /Users/egon/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0-rc5
    • Java binary at: /Library/Java/JavaVirtualMachines/jdk-13.0.2.jdk/Contents/Home/bin/java
    • Java version Java(TM) SE Runtime Environment (build 13.0.2+8)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Users/egon/Downloads/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)

[✓] VS Code (version 1.62.3)
    • VS Code at /Users/egon/Development/Visual Studio Code.app/Contents
    • Flutter extension version 3.28.0

[✓] Connected device (6 available)
    • Egon’s (mobile)                     • 00008101-000A71A80A06001E            • ios            • iOS 15.2.1 19C63
    • iPhone 11 Pro (mobile)              • 86BE8749-0F25-4AD3-936B-714432C231A2 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-4
      (simulator)
    • iPhone 12 Pro Max (mobile)          • 72D015D4-F036-4086-9492-A32E6218CB9A • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-4
      (simulator)
    • iPad mini (6th generation) (mobile) • 9DBC0D02-11B4-431D-A4DA-582C7B3E9A11 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-4
      (simulator)
    • macOS (desktop)                     • macos                                • darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)                        • chrome                               • web-javascript • Google Chrome 99.0.4844.51

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Screenshots

Hi @kazume, Thanks for filing the issue. I am able to reproduce the issue on stable and the latest master channel.
The is reproducible when the app is in overlay mode and works fine in splitview mode.
https://user-images.githubusercontent.com/31410839/158763802-00a87d69-43fe-4c80-acf5-f400f74ab7b9.mp4

flutter doctor -v (mac)
[✓] Flutter (Channel stable, 2.10.3, on macOS 12.1 21C52 darwin-arm, locale en-GB)
    • Flutter version 2.10.3 at /Users/mahesh/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 7e9793dee1 (20 hours ago), 2022-03-02 11:23:12 -0600
    • Engine revision bd539267b4
    • Dart version 2.16.1
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.63.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.36.0

[✓] Connected device (3 available)
    • Redmi K20 Pro (mobile) • <IP_ADDRESS>:5555 • android-arm64  • Android 11 (API 30)
    • macOS (desktop)        • macos            • darwin-arm64   • macOS 12.1 21C52 darwin-arm
    • Chrome (web)           • chrome           • web-javascript • Google Chrome 99.0.4844.51

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[✓] Flutter (Channel master, 2.13.0-0.0.pre.103, on macOS 12.2.1 21D62 darwin-arm, locale en-GB)
    • Flutter version 2.13.0-0.0.pre.103 at /Users/mahesh/Documents/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 509ddfda5c (7 hours ago), 2022-03-15 21:10:18 -0700
    • Engine revision dc22c4c7fe
    • Dart version 2.17.0 (build 2.17.0-202.0.dev)
    • DevTools version 2.11.4

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! CocoaPods 1.10.2 out of date (1.11.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that
        responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for
      instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.63.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.36.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 12.2.1 21D62 darwin-arm
    • Chrome (web)    • chrome • web-javascript • Google Chrome 99.0.4844.74

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

cc @justinmc @LongCatIsLooong

Is this the same bug as #99951 ?

Is this the same bug as #99951 ?

Might be related somehow, but I'm not using any kind of custom keyboard.

Releated PR:https://github.com/flutter/engine/pull/31982

cc @jmagman

A potential fix is on the way. https://github.com/flutter/engine/pull/31982

Fixed by https://github.com/flutter/engine/pull/31982


Error "Cannot find user" on registry push event

Description
Hello. I've got an error message (from background container) when i'm pushing an image into the registry.

Steps to reproduce

I deployed the docker registry.
I deployed portus in docker.
Error appears on image pushing.

Portus background container logs:
portusbg    | Handling 'push' event:
portusbg    | {
portusbg    |   "id": "b2b8d1fc-6660-4afe-8c55-202bbe2c3e00",
portusbg    |   "timestamp": "2018-08-20T09:12:07.690603928Z",
portusbg    |   "action": "push",
portusbg    |   "target": {
portusbg    |     "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
portusbg    |     "size": 948,
portusbg    |     "digest": "sha256:4ffd9758ea9ea360fd87d0cee7a2d1cf9dba630bb57ca36b3108dcd3708dc189",
portusbg    |     "length": 948,
portusbg    |     "repository": "portus_admin/nginx",
portusbg    |     "url": "https://{registryFQDN}:5003/v2/portus_admin/nginx/manifests/sha256:4ffd9758ea9ea360fd87d0cee7a2d1cf9dba630bb57ca36b3108dcd3708dc189",
portusbg    |     "tag": "adv1"
portusbg    |   },
portusbg    |   "request": {
portusbg    |     "id": "bf4fbf57-2d87-4426-bc87-cba1ba86d7c3",
portusbg    |     "addr": "{IPaddress}:35760",
portusbg    |     "host": "{registryFQDN}:5003",
portusbg    |     "method": "PUT",
portusbg    |     "useragent": "docker/18.03.1-ce go/go1.9.5 git-commit/9ee9f40 kernel/4.15.0-24-generic os/linux arch/amd64 UpstreamClient(Docker-Client/18.03.1-ce \(linux\))"
portusbg    |   },
portusbg    |   "actor": {
portusbg    |   },
portusbg    |   "source": {
portusbg    |     "addr": "registry:5000",
portusbg    |     "instanceID": "5b6a2f58-85ba-4dee-b6ae-0a68bc21c1a5"
portusbg    |   }
portusbg    | }
portusbg    | Cannot find user

Configuration of registry:
version: 0.1
log:
fields:
service: registry
storage:
cache:
blobdescriptor: inmemory
filesystem:
rootdirectory: /var/lib/registry
http:
addr: :5000
headers:
X-Content-Type-Options: [nosniff]
health:
storagedriver:
enabled: true
interval: 10s
threshold: 3
notifications:
endpoints:
- name: portus
url: https://{portusFQDN}/v2/webhooks/events
timeout: 2000ms
threshold: 5
backoff: 1s

Compose file of docker registry:
version: '3'
services:
registry:
restart: always
image: library/registry:2.6
hostname: registry
container_name: registry
ports:
- "5003:5000"
env_file:
- "./registry.env"
volumes:
- "./certs:/certs"
- "./config:/etc/docker/registry"

Environment file for docker registry:
REGISTRY_HTTP_TLS_CERTIFICATE=/certs/{mycertificate}.crt
REGISTRY_HTTP_TLS_KEY=/certs/{mykey}.key

Compose file for portus:
version: '3'
services:
portus:
image: opensuse/portus
restart: always
container_name: portus
hostname: portus
ports:
- "<IP_ADDRESS>:3000:3000"
volumes:
- "./certificates:/certificates"
- "./keys:/keys"
env_file:
- "./portus.env"
links:
- portusdb
portusbg:
image: opensuse/portus:head
restart: always
container_name: portusbg
depends_on:
- portus
- portusdb
env_file:
- "./portusbg.env"
volumes:
- "./certificates:/certificates"
- "./keys:/keys"
links:
- portusdb
portusdb:
image: postgres
restart: always
container_name: portusdb
hostname: portusdb
env_file:
- "./portusdb.env"

Environment files for portus:
#Main:
PORTUS_PASSWORD=password
PORTUS_DB_ADAPTER=postgresql
PORTUS_DB_HOST=portusdb
PORTUS_DB_USERNAME=portus
PORTUS_DB_PASSWORD=password
PORTUS_DB_DATABASE=portus
PORTUS_DB_PORT=5432
PORTUS_DB_TIMEOUT=30
PORTUS_DB_POOL=5
PORTUS_SECRET_KEY_BASE={key}
PORTUS_KEY_PATH=/keys/{mykey}.key
RAILS_SERVE_STATIC_FILES=true
PORTUS_CHECK_SSL_USAGE_ENABLED=false
PORTUS_MACHINE_FQDN_VALUE={portusFQDN}

#Background:
PORTUS_MACHINE_FQDN_VALUE={portusFQDN}
PORTUS_DB_HOST=portusdb
PORTUS_DB_ADAPTER=postgresql
PORTUS_DB_PASSWORD=password
PORTUS_DB_USERNAME=portus
PORTUS_DB_DATABASE=portus
PORTUS_BACKGROUND=true
PORTUS_SECRET_KEY_BASE={key}
PORTUS_KEY_PATH=/keys/{mykey}.key
PORTUS_PASSWORD=password

#Database:
POSTGRES_USER=portus
POSTGRES_PASSWORD=password
POSTGRES_DB=portus
Please help.
Regards, Artem.

Same issue here.

I'm having this same issue. Manually checking the registry the images get pushed fine. I just get the similar event response of 'Cannot find user'. Any guidance at all would be appreciated. Exactly what user where is it expecting to find?

Fixed the issue. Discovered the details of Registry and Token authentication and I had Token info for the Registry configured incorrectly. Set that up correctly and now events and pushes are processed.

@lordemanonsr Do you have actor null too?
I think that portus parse actor string in push event.
  "actor": {
  },

That in log writed:
User Load (0.3ms)  SELECT  `users`.* FROM `users` WHERE `users`.`username` IS NULL LIMIT 1


Receiving newrelic.properties was not found! Mapping file for variant [release] not uploaded error and App crashes

Hello guys,
I'm trying to build a release apk with newrelic-mobile plugin, but I'm having some troubles. If I try to build it I'm receiving some erros. After adding a proguard, the build completes but If I open the App, it crashes.
Here is a step by step instruction to repoduce the error.

Create a new Flutter App
Add new relic to pubspec.yaml
Setup newrelic as described in the package for Android
Add the following to defaultConfig in android/app/build.gradle

ndk {
            // Filter for architectures supported by Flutter. See https://docs.flutter.dev/add-to-app/android/project-setup
            abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86_64'
        }

Run flutter build apk --release
Receiving the following error

[ClassTransformTask] [/Users/huynh/StudioProjects/app/build/app/intermediates/flutter/release/libs.jar] duplicate entry: lib/armeabi-v7a/libapp.so
[ClassTransformTask] [/Users/huynh/StudioProjects/app/build/app/intermediates/flutter/release/libs.jar] duplicate entry: lib/arm64-v8a/libapp.so
[ClassTransformTask] [/Users/huynh/StudioProjects/app/build/app/intermediates/flutter/release/libs.jar] duplicate entry: lib/x86_64/libapp.so
ERROR: Missing classes detected while running R8. Please add the missing classes or apply additional keep rules that are generated in /Users/huynh/StudioProjects/app/build/app/outputs/mapping/release/missing_rules.txt.
ERROR: R8: Missing class com.newrelic.agent.android.api.v2.TraceFieldInterface (referenced from: io.flutter.embedding.android.FlutterActivity)
Missing class com.newrelic.agent.android.background.ApplicationStateMonitor (referenced from: void io.flutter.embedding.android.FlutterActivity.onStart() and 1 other context)
Missing class com.newrelic.agent.android.instrumentation.Instrumented (referenced from: io.flutter.embedding.android.FlutterActivity and 2 other contexts)
Missing class com.newrelic.agent.android.instrumentation.JSONArrayInstrumentation (referenced from: java.lang.String io.flutter.embedding.engine.loader.ApplicationInfoLoader.getNetworkPolicy(android.content.pm.ApplicationInfo, android.content.Context))
Missing class com.newrelic.agent.android.tracing.Trace (referenced from: com.newrelic.agent.android.tracing.Trace io.flutter.embedding.android.FlutterActivity._nr_trace and 1 other context)
Missing class com.newrelic.agent.android.tracing.TraceMachine (referenced from: void io.flutter.embedding.android.FlutterActivity.onCreate(android.os.Bundle))

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:minifyReleaseWithR8'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.R8Task$R8Runnable
   > Compilation failed to complete

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 1m 27s
Running Gradle task 'assembleRelease'...                           88,2s
Gradle task assembleRelease failed with exit code 1

Add a proguard file with the content from missing_rules.txt

-dontwarn com.newrelic.agent.android.ndk.AgentNDK$Builder
-dontwarn com.newrelic.agent.android.ndk.AgentNDK
-dontwarn com.newrelic.agent.android.ndk.AgentNDKListener

Build completes with this warning

newrelic.properties was not found! Mapping file for variant [release] not uploaded.

Opening the App results to a crash

@quoc-huynh-cosee can you configure your proguard witht these rules also? https://docs.newrelic.com/docs/mobile-monitoring/new-relic-mobile-android/install-configure/configure-proguard-or-dexguard-android-apps/#proguard-library

@quoc-huynh-cosee please add newrelic proguard rules as per suggested in docs, it will fix your issue.

@ndesai-newrelic It is working fine now. Thanks for you fast answer!


how to declare total available quantity in pipeline?

I see a lot of examples on how to use the lock resource to request quantities to lock,
lock(resource: '2GB-RAM', quantity: 2) {
...
}

but I havent found an example that declares how many total quantity for a particular resource there are.
Can anyone provide an example of that?

Are you looking for "Manage Jenkins > Configure System > Lockable Resources Manager"
or something different?

I think the declaration is the usage. You can include and empty closure and it will automatically create the resources

This issue is still valid, there is no option for setting the total quantity of the resources can be locked, maximum.


add PV/PVC Namespace for PowerStore capacity metrics

Description
add PV/PVC Namespace for PowerStore capacity metrics:

powerstore_volume_logical_provisioned_megabytes
powerstore_volume_logical_used_megabytes
powerstore_filesystem_logical_provisioned_megabytes
powerstore_filesystem_logical_used_megabytes

GitHub Issues
List the GitHub issues impacted by this PR:

GitHub Issue #

https://github.com/dell/csm/issues/204

Checklist:

[x] I have performed a self-review of my own code to ensure there are no formatting, vetting, linting, or security issues
[x] I have verified that new and existing unit tests pass locally with my changes
[x] I have not allowed coverage numbers to degenerate
[x] I have maintained at least 90% code coverage
[x] I have inspected the Grafana dashboards to verify the data is displayed properly
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have maintained backward compatibility

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

[x] Test A
UT:

[x] Test B
Manual:

Manual inspection of the GUI
I have verified that the dashboards show the data properly while generating I/O and storage resources

[x] Yes
[ ] No

run e2e test

run e2e test

run e2e test


Compile failed when using ibm-cos-sdk on Node 16

Trying to incorporate ibm-cos-sdk into our project's translation loader to fetch translation files from COS, but running into compilation issues.
My project environment:

Angular 12
Node 16
ibm-cos-sdk 1.12.0
Typescript 4.3.5

After installing ibm-cos-sdk into the workspace via yarn, imported it into our translation loader typescript module with
import * as COS from 'ibm-cos-sdk';

When compiling the project, the following errors show up in the console (were not present before installing ibm-cos-sdk):
./node_modules/cipher-base/index.js:2:16-43 - Error: Module not found: Error: Can't resolve 'stream' in '<project-dir>\node
_modules\cipher-base'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "stream": require.resolve("stream-browserify") }'
        - install 'stream-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "stream": false }

./node_modules/ibm-cos-sdk/lib/event_listeners.js:559:21-44 - Error: Module not found: Error: Can't resolve 'util' in '<project-dir>\node_modules\ibm-cos-sdk\lib'
Did you mean './util'?
Requests that should resolve in the current directory need to start with './'.
Requests that start with a name are treated as module requests and resolve within module directories (<project-dir>, node_modules).
If changing the source code is not an option there is also a resolve options called 'preferRelative' which tries to resolve these kind of requests in the current directory too.

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "util": require.resolve("util/") }'
        - install 'util'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "util": false }

The code that actually uses the ibm-cos-sdk is a slight adaptation of your sample code for listing bucket contents:
const config = {
    endpoint: 's3.us-east.cloud-object-storage.appdomain.cloud',
    apiKeyId: null,
    serviceInstanceId:
      'crn:v1:bluemix:public:cloud-object-storage:global:a/b7f8bd49d65cebd142cea6c1832090ca:a6a08289-757d-4f2a-88a5-7581ec12adba::',
    signatureVersion: null
  };
  const cosClient = new COS.S3(config);
  // Filter results to only include distinct parent folder of each *.json file
  const modules = await cosClient
    .listObjects({ Bucket: 'oetlinge-translation-poc', Prefix: 'TenantA' })
    .promise()
    .then((data) => {
      if (data?.Contents) {
        const keys = data.Contents.map((item) => {
          const keySegments = item.Key.split('/', 2);
          return keySegments?.[1];
        });
        return keys;
      }
    });

My endpoint has public read access without need for any authentication, so I wanted to test without values provided for apiKeyId and signatureVersion if possible.

FYI, we are looking into this and will get back to you.

@oetlinge - The team has been talking internally and the COS-SDK does not need to provide a fix. Could you close the ticket?

We've decided to issue simple http request to our COS bucket instead and not bother with ibm-cos-sdk.


Setting expense rule for tag is not showing respective tag

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

Version Number: 1.4.49-0
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
Expensify/Expensify Issue URL:
Issue reported by: applause internal team
Slack conversation:
Action Performed:
Pre-condition: As employee, in old dot create expense rule for categories first as - test and for tags second as - test1 ( first, second order is important)
Note: While creating expense rule for category enter "test" in both "when the merchant name contains" and in the "merchant" field under apply these changes to the expense. Similarly for tags enter "test1" in both places.( Image attached below)

Go to https://staging.new.expensify.com/

Login as employee of collect workspace

Click on employee workspace chat

Click plus icon -- request money -- manual

Enter an amount and tap next

Enter merchant - test1

Click request

Open the newly created expense to view details page

Expected Result:
Setting expense rule for tags must show respective tag if merchant is set to test1.
Actual Result:
Setting expense rule for tags is not showing respective tag if merchant is set to test1.
Workaround:
unknown
Platforms:

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

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/38435837/3422b9cd-548c-4d1c-ba30-04df33f962b1

View all open jobs on GitHub

@anmurali FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.

We think that this bug might be related to #wave6-collect-submitters

Not sure if we have actually built expense rules into ND. Asking here

From thread in Slack, we have not decided the fate of personal expense rules on ND yet. So I am closing this bug for now.


[CARBONDATA-2704] Index file size in describe formatted command is not updated correctly with the segment file

Problem:
Describe formatted command is not showing correct index files size after index files merge.
Solution:
Segment file should be updated with the actual index files size of that segment after index files merge.

[ ] Any interfaces changed?

[ ] Any backward compatibility impacted?

[ ] Document update required?

[x] Testing done
UT added

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/6939/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/5722/

retest this please

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/6944/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/5727/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/5712/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/5816/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/7096/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/5872/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/7178/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/5954/

LGTM


fix: correct url for installing cardano node from source code

Checklist

[x] I have read the How to Contribute.
[x] I have run yarn build after adding my changes without getting any errors.

Updating documentation or Bugfix
Updating documentation for installing a node from source code.
curl -s https://api.github.com/repos/input-output-hk/cardano-node/releases/latest
gets response below and it does not contain tag_name for checkout:
{
  "message": "Moved Permanently",
  "url": "https://api.github.com/repositories/188299874/releases/latest",
  "documentation_url": "https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api#follow-redirects"
}

So I just adjust the link from .../input-output-hk... to .../IntersectMBO/...

BTW, I still can't install node successfully since there are some steps can not work as expect(Debugging).
If replacing all repo's name at one time, We might need to check all guides can work as usual.

@ShawnTseng I agree that testing our instructions should be done regularly, but in https://github.com/cardano-foundation/developer-portal/pull/1213#pullrequestreview-1887194099 I was only talking about changing the URLs for the repos that have moved from one account to another.  In almost every case they've been redirected to the new location, so this shouldn't affect whether the URLs are accessible or whether the software will build.


Test

Thanks. Shall I do anything with that?
2016-06-05 22:38 GMT+02:00 Merlin Gaillard<EMAIL_ADDRESS>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mirdhyn/inexcelsis/issues/1, or mute the thread
https://github.com/notifications/unsubscribe/APmx0I-gm29n39JhjkH7g7jwNbKRG_Eyks5qIzPggaJpZM4IucLf
.

no, no, I was just doing some test, no worries :)

Looks interesting...
2016-06-06 11:10 GMT+02:00 Merlin Gaillard<EMAIL_ADDRESS>
Closed #1 https://github.com/mirdhyn/inexcelsis/issues/1.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mirdhyn/inexcelsis/issues/1#event-682583738, or mute
the thread
https://github.com/notifications/unsubscribe/APmx0J_r8kx9pNLLEcrxhiN__lIs6sl8ks5qI-P0gaJpZM4IucLf
.


Fix for issue #67

What does this PR do?
Fixes issue 67.   The standard HUGIN algorithm assumes the existence of a single spanning tree for the clique graph of the Bayesian network.   When the network consists of multiple connected components, this results in some portions of the graph not participating in message passing, and producing incorrect inferences.    This pull request extends the algorithm to traverse each connected component of the graph, thereby ensuring consistency and correct inferences.
Where should the reviewer start?
The most important change is to the propagate-potentials module.   It has been modified to find the connected components of the clique graph prior to performing message passing.   During message passing it uses the first node in each connected component as the root for the localized traversal.
What testing has been done on this PR?
Introduced a new test (two-connected-components) which tests junction tree inference in a graph containing two connected components.   Prior to this fix, the test failed.   After the fix, it passes.
How should this be manually tested?
No additional manual testing beyond what is normally performed
Any background context you want to provide?
NA
What are the relevant issues?
#67
Screenshots (if appropriate)
NA

The coverage tests are passing, but then throwing an error "405 not allowed"

I have made the requested changes.

:tada: This PR is included in version 0.6.5 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Clarifications on differences from Clockout

@kimmobrunfeldt I saw on the clockout repo that you based this tool on that one. I was wondering why you chose not to incorporate "smart" estimation and instead decided to use a simple threshold method.
Also, should we consider adding the clock out and clock in feature? Or I suppose it might be best to do that in a separate project.
At any rate, I am interested in extending the functionality of these tools so we can have more powerful analysis of our work activity.

This is an old issue, but I'm trying to answer as many as possible to close the hanging ones. I'm not sure what smart estimation means, I couldn't find a mention from the clockout repo. I'm all in for better calculation suggestions!
I would personally leave the clock in/out feature from this repo, but if many people seem to want it, I can definitely accept a PR.


fix: Xcode 12 compatibility

Goal
Latest Xcode 12 fails to build without a module to depend on React-Core directly hence this change is necessary for all native modules on iOS. This change requires React Native 0.60.2 or newer. For more details please check: https://github.com/facebook/react-native/issues/29633#issuecomment-694187116
Testing
It's not easy to reproduce this, sometimes it might require to create a clean project.

@radko93
Under what circumstances is this change needed?
I've just tested creating a clean React Native (0.63.2) project, integrating bugsnag-js (v.7.3.5) and building in XCode 12 which works without issue.

Closing as we've had no response, but happy to re-open if you can share steps to reproduce the issue.


Support for interfaces with default methods

I think Java 8 default methods would be a great way to convert or enrich parsed arguments. For example, I tried the following to convert a String to a Path:
public interface Args {
    @Option(shortName = "d")
    String directory();

    default Path directoryPath() {
        return FileSystems.getDefault().getPath(directory());
    }
}

Unfortunately, jewelcli does not seem to support default methods. When calling directoryPath(), I get null.
Without having looked at the code, I feel like this should be easy to implement. All that needs to be done it to not override/implement default methods in proxies.

Interesting idea. At the moment we don't have any java8 support. I will
take a closer look at what is going on in your example.
On 9 Mar 2016 14:08, "Michael Faes"<EMAIL_ADDRESS>wrote:

I think Java 8 default methods would be a great way to convert or enrich
parsed arguments. For example, I tried the following to convert a String to
a Path:
public interface Args {
@Option(shortName = "d")
String directory();
default Path directoryPath() {
    return FileSystems.getDefault().getPath(directory());
}

}
Unfortunately, jewelcli does not seem to support default methods. When
calling directoryPath(), I get null.
—
Reply to this email directly or view it on GitHub
https://github.com/lexicalscope/jewelcli/issues/38.


No tests are written at all

So I was messing around trying to make my first commit and I went to run the tests in django to make sure I didn't break anything.  I noticed that absolutely nobody has touched any */tests.py file.
I've only run through some django tutorials and made a simple database of my own, but I found making test functions really useful for my workflow.  Is it worth worrying about writing these or does nobody really need them?

It would indeed be useful if they're there. If you feel like writing them :)
On Mon, Jan 25, 2016 at 2:48 AM, AceMgy<EMAIL_ADDRESS>wrote:

So I was messing around trying to make my first commit and I went to run the tests in django to make sure I didn't break anything  I noticed that absolutely nobody has touched any */testspy file
I've only run through some django tutorials and made a simple database of my own, but I found making test functions really useful for my workflow  Is it worth worrying about writing these or does nobody really need them?

I'll concentrate on other things and make sure I write tests for any new functions I create.  Might come back to this if I'm really bored.


Which versionName in migration?

Hi,
I've got a DB with version 1 and I want to upgrade it to version 2. Easiest for me would be to add the sql file to cover the changes. Which number should I put in so the migration is run if the old db is version 1?
IMHO, in Migrations.md you should provide a concrete example via SQL file in assets, with the effective number in (e.g.: to migrate from version 1 to version 2, you need a file named assets/migrations/{DatabaseName}/1.sql).
Thank you,
Laur

assets/migrations/{DatabaseName}/2.sql

For each version specified, is when the database reaches that version the migration for that version is run. so it does it sequentially

Super! Thank you :)


Adding ability to connect to a remote browser via setting a remote debugger address or via CDP would be a game changer

HI Chetan,
Thanks for building Botasaurus
I have a feature request: Adding the ability to use Botasaurus with remote instances of Chrome via CDP or setting the remote debugger address (something nondriver allows).
I understand if it doesn't make sense to add, as it may not be a priority for your users but I think it would be a game changer and so thought I should note it down here.
In case this is already possible via ChromeOptions but undocumented, please let me know

Hey,
I was able to achieve it this way:
     port =  driver.config.port
     browser = playwright.chromium.connect_over_cdp(f"http://localhost:{port}")


Add migration process to README.md

Add the instruction of doing DB migration to README.md. A good starting point would be the instruction given in https://github.com/datalad/datalad-registry/pull/311#issuecomment-1961647779.

Since we will automating the migration process, let instead point to user to ensure that their database marked to the current revision, a requirement for database migrations to happen.


update toolshed nodejs

Trying to use sonarscanner and getting:
ERROR:

The version of node.js (12) you have used to run this analysis is deprecated and we stopped accepting it.
Please update to at least node.js 14. You can find more information here: https://docs.sonarcloud.io/appendices/scanner-environment/

Frankly, we should not be using this anymore since it is better vended via github actions. Not sure if we should change this to "remove sonar-scanner"?


Chai-1 for proteins >2048 AAs

Dear Chai Team,
Thank you very much for releasing the powerful Chai-1 platform. Our lab is very interested in a few very large proteins that are much longer than 2048 AAs. One example is the human Usherin (UniProt ID: O75445) that has 5202 AAs. I wonder if your team plans to release a version for modeling such ultra-large proteins. And if so, any suggestions on the required resources for launching the program in a HPC cluster?
Best regards,

Hi Tommy,
This isn't something we're actively working on now but it is something we hope to support in future releases. Unfortunately memory/time scaling in the current architecture is essentially cubic in sequence length 😞 . There are some engineering tricks that could get us to support ~5k length range but inference would require multiple GPUs and would still be extremely slow.
TLDR: hoping to support at some point in the future but no current plans.

Hi Tommy,
This isn't something we're actively working on now but it is something we hope to support in future releases. Unfortunately memory/time scaling in the current architecture is essentially cubic in sequence length 😞 . There are some engineering tricks that could get us to support ~5k length range but inference would require multiple GPUs and would still be extremely slow.
TLDR: hoping to support at some point in the future but no current plans.

Thank you for this information.


fix(core): change prevQuery to query in shouldFetchOptionally function

related pull request: #2556

Description
Change prevQuery to query in shouldFetchOptionally because of checking query key changed
situation.

This PR(#2556) fixes a bug which an error was not caught when the query was reset.
When query key changed, infinity re-request is reproduced.

prevQuery.state.status === 'success'
query.state.status === 'error'

Checking

[x] Is refetch when query key changed without suspense? -> YES
[x] Catch error in ErrorBoundary when query key changed and thrown error with error boundary? -> YES

:tada: This PR is included in version 3.19.6 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Azure websubhub] Choreo audit log subscriber is not receiving the delivered content

Description:

$subject

During the initial analysis it was observed that when the hub tries to deliver content to the audit-log subscriber there was a network error:
time = 2023-05-25T11:34:00.825Z level = ERROR module = wso2/azureWebsubHub.util message = "Error occurred while sending notification to subscriber choreocontrolplane-choreo_cp_events_topic-166178: Error occurred distributing updated content" stackTrace = ["callableName: processSubscriberResponse moduleName: ballerina.websubhub.1 fileName: hub_client.bal lineNumber: 173","callableName: notifyContentDistribution moduleName: ballerina.websubhub.1.HubClient fileName: hub_client.bal lineNumber: 97","callableName: notifySubscriber moduleName: wso2.azureWebsubHub.0 fileName: websub_subscribers.bal lineNumber: 165","callableName: pollForNewUpdates moduleName: wso2.azureWebsubHub.0 fileName: websub_subscribers.bal lineNumber: 127"] severity = "RECOVERABLE"

But, since this does not have the HTTP response code received from the subscriber updated the hub code to include HTTP status code of the response with the following PR [1]
[1] - https://github.com/wso2-enterprise/azure-websubhub/pull/108

Once the HTTP status code information was available there was another attempt to deliver content to the audit-log subscriber and it was identified that from Choreo side hub is receiving an HTTP Forbidden (403) response.
5/31/2023, 4:01:31.447 AM","time = 2023-05-31T04:01:31.446Z level = ERROR module = wso2/azureWebsubHub.util message = ""Error occurred while sending notification to subscriber choreocontrolplane-choreo_cp_events_topic-166178: Error occurred distributing updated content"" stackTrace = [""callableName: processSubscriberResponse moduleName: ballerina.websubhub.1 fileName: hub_client.bal lineNumber: 173"",""callableName: notifyContentDistribution moduleName: ballerina.websubhub.1.HubClient fileName: hub_client.bal lineNumber: 97"",""callableName: notifySubscriber moduleName: wso2.azureWebsubHub.0 fileName: websub_subscribers.bal lineNumber: 165"",""callableName: pollForNewUpdates moduleName: wso2.azureWebsubHub.0 fileName: websub_subscribers.bal lineNumber: 127""] status = 403 severity = ""RECOVERABLE"""

As per the Choreo teams' analysis it was observed that this is due to the value which is set to the Link header of the content-delivery request has been blocked due to security reasons and after a discussion with the azure-websubhub development team and the Choreo audit-log team, development team agreed to update the value of the Link header which is set in the content-delivery request.

After this change [1] it was identified that the content is delivered to the audit log service as expected. Hence closing this issue.
[1] - https://github.com/wso2-enterprise/azure-websubhub/pull/109


Perhaps last update to 6.0 LTS?

Thank you for creating one of best packages for user settings (one of few with caching). Pitty it's not maintained.
Perhaps you could make last one update for 6.0LTS? That should be enough for 3 years...  of support.
Currently it doesnt even install using composer as dependencies are hardcoded.

Submitted pull request to provide support for laravel 6.


fix(material/menu): adjust overlay size when amount of items changes

Currently we lock the menu into a position after it is opened so that it doesn't jump around when the user scrolls, but this means that if the amount of items changes, it might not be the optimal position anymore.
These changes add some code to re-calculate the position if the amount of items changes.
Fixes #21456.

Hey @crisbeto thanks for the quick PR!
This fix detects the number of child in menu, but what if the menu heigh change is due to other things? For example my use case has a checkbox tree inside mat-menu, and the menu height grows when some node in checkbox tree is expanded.
I noticed that .cdk-overlay-connected-position-bounding-box has the proper top/right/bottom/left set if the menu trigger is not inside a scrollable area, but will be set to top: 0; left: 0; width: 100%; height: 100% (here) when the menu trigger is in a scrollable area, causing the menu to grow until .mat-menu-panel hits max-height: calc(100vh - 48px) (defined here).

Unfortunately there's no efficient way for us to detect whether the menu height has changed due to something else. ResizeObserver isn't available everywhere yet and the alternative is to poll on every change detection which is slow.

Yeah I totally agree with that. In that case...

Is it possible to do feature detection and add ResizeObserver so supported browser can handle it correctly? (might be controversial to have a framework behave differently on different browsers tho?)
Is it possible to expose an API so we can manually call for example matMenu.reposition() when we know that height has changed, or we have hooked up ResizeObserver and only care about supported browsers? Exposing a new API might be harder and takes more process...
Therefore if none of those are possible for now, can we at least have some way to workaround this? I'm thinking with this PR, I can add/remove an invisible element anytime I know the hight changes to trigger the resizing. Will that work?

We've been avoiding adding ResizeObserver only when supported, because it'll cause things to break only on some browsers and we generally want all browsers to behave the same.
Exposing an API won't be a problem, although as you mentioned, it'll have to wait for a minor release. It's also worth noting that it would have to be on the menu trigger, because the menu itself doesn't know about the positioning.
As for a workaround, it's a little hacky but you can get a hold of the menu's OverlayRef like (menuTrigger as any)._overlayRef and add the same reposition function call as the one I added above.

Wow, thank you so much @crisbeto ! Getting the OverlayRef from menuTrigger is super helpful!

This seems to break tests for cases where the lastPosition is not yet set, perhaps where the menu content is lazy-loaded? If the logic checks first whether the position strategy already has an optimal position, all tests pass
Here's the proposed change to this PR (hopefully it doesn't negate what this is fixing):
Add this method in /src/cdk/overlay/position/flexible-connected-position-strategy.ts:
/**
 * Whether the position strategy has already determined an optimal position.
 */
hasLastPosition(): boolean {
  return !!this._lastPosition;
}

Then wrap your logic with the check in menu-trigger.ts:
if (positionStrategy.hasLastPosition()) {
  positionStrategy.withLockedPosition(false).reapplyLastPosition();
  positionStrategy.withLockedPosition(true);
}

Reference:

Tests: test/OCL:423652344:BASE:423641362:1643050157883:14cca6e2
Internal change: cl/423652344

Updated to null check the last position.


NO-ISSUE: Add howto document describing ACS integration

Document integrating MicroShift with Red Hat Advanced Cluster Security service (RHACS).

Documentation-only change.
/override ocp-conformance

Documentation-only change.
/override ci/prow/ocp-conformance

Closing this until we decide if we should publish such docs in MicroShift repo
/close


Retroactive commit?

Hello Aidan! I see a recent commit in many of the previous versions of the library (beginning from release - v<IP_ADDRESS> ) - https://github.com/afollestad/material-dialogs/commit/5ceb034345adc8e8b0ed94852b2e84845694e09c. It appears to be an update to the support library, but it was pushed specifically for the release - <IP_ADDRESS>. So, I am a little baffled. Could you please take a look? I am currently using <IP_ADDRESS> (which was released on Dec 18, 2015), but the dependency graph indicates that this version of library uses support lib 23.2.0
+--- com.github.afollestad.material-dialogs:core:<IP_ADDRESS>
|    +--- com.android.support:support-v4:23.2.0 (*)
|    +--- me.zhanghai.android.materialprogressbar:library:1.1.4
|    |    +--- com.android.support:appcompat-v7:23.0.1 -> 23.2.0 (*)
|    |    \--- com.android.support:support-annotations:23.0.1 -> 23.2.0
|    +--- com.android.support:appcompat-v7:23.2.0 (*)
|    +--- com.android.support:support-annotations:23.2.0
|    \--- com.android.support:recyclerview-v7:23.2.0 (*)

You'll need to reference those pre-8.0.0 versions by commit ID.
<IP_ADDRESS> is here:

Use a56d4278d8 in place of a version number.

@afollestad thanks for the response. perhaps I was unclear, I am using <IP_ADDRESS> (and not v<IP_ADDRESS>), but see support lib 23.2.0 as part of the dependency graph. does that make more sense?
Also, this might help too. On the releases page, all the tags say '4 commits to master since this release', which seems odd to me.

This was intended.


Generate .dill file for dart:vmservice_io alone (without platform.dill included)

Currently, the way to produce the .dill file for dart:vmservice_io is to do this:
./pkg/front_end/tool/fasta compile --compile-sdk=xcodebuild/ReleaseX64/patched_sdk/ dart:vmservice_io -o vmservice_io.dill
However, the produced vmservice_io.dill file has platform.dill included. There should be a way to produce vmservice_io.dill without the platform.dill included.

@sigmundch

This issue is blocked on the following:

[ ] Specifying the location of the SDK sources (CL<PHONE_NUMBER> addresses this).
[ ] platform.dill already includes dart:vmservice_io.
[ ] We don't yet have a solution for modular compilation.

@peter-ahe-google what do yo have in mind that we need to do for modular support? In particular, we have modular compilation available via this API: https://github.com/dart-lang/sdk/blob/master/pkg/front_end/lib/kernel_generator.dart#L125, this is not exposed on command-line tools yet, so we need to do that. My plan was to start moving all of our tools away from using fasta.dart and internally calling the fasta APIs, but instead to build them on top of the public APIs in kernel_generator.dart.

@sigmundch that may be all that's needed for modular compilation.

I believe all the pieces needed for this are implemented now. I'm closing this tentatively, but feel free to reopen this if I missed something.
Note: the patch_sdk.dart script is still embedding platform.dill within vmservice_io.dill because of an issue on the vm-side (which we are tracking in #30111).


Need to update the hyperlink of "How do I format my JSON?"

System Information (please complete the following information):

Windows OS: Windows-10-Enterprise-21H1
ML.Net Model Builder (Preview): <IP_ADDRESS>0201 (Main Branch)
Microsoft Visual Studio Enterprise 2019: 16.10.3
.Net: 5.0.302

Describe the bug

On which step of the process did you run into an issue: Data Page
Clear description of the problem: "create a new vott project" was removed from the doc, need to update the hyperlink.

To Reproduce
Steps to reproduce the behavior:

Select Create a new project from the Visual Studio 2019 start window;
Choose the C# Console App (.NET Core) project template with .Net 5.0;
Add model builder by right click on the project;
Select Object detection scenario and set up Azure environment;
Navigate to Data page, click "How do I format my JSON?" to open the doc;
Find that the doc has updated, the content of "create a new vott project" was removed.

Expected behavior
The hyperlink of "How do I format my JSON?" need to update.
Screenshots
If applicable, add screenshots to help explain your problem.

Link to this how-to guide: https://docs.microsoft.com/dotnet/machine-learning/how-to-guides/label-images-for-object-detection-using-vott

@briacht Can you update the https://aka.ms/vsmbvott fwlink to the address provided by Luis?

Nevermind, I own this link and was able to update!

The link has been updated on latest main build: <IP_ADDRESS>1802


ndk-build.cmd error

Please help. Been looking all over and can not resolve my problem. I'm trying to build the Framework project in android 2.1.2
When I clean my project I get the following error message:
Could not find property 'ndkbuild' on task ':framework:buildNative'.
My build.gradle file looks as follows:
`import org.apache.tools.ant.taskdefs.condition.Os
apply plugin: 'com.android.library'
android {
compileSdkVersion 21
buildToolsVersion '23.0.3'
defaultConfig {
    minSdkVersion 19
    targetSdkVersion 19

    ndk {
        moduleName "gvrf"
    }
}

buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt'
    }
}

sourceSets.main {
    java.srcDirs = ['src/main/java']
    jni.srcDirs = [] // no auto generation of Android.mk
    jniLibs.srcDir 'src/main/libs' // pre-compiled libraries
}

task buildNative(type: Exec) {
    if (rootProject.hasProperty("OVR_MOBILE_SDK")) {
        environment 'OVR_MOBILE_SDK', rootProject.property("OVR_MOBILE_SDK")
    }

    if (Os.isFamily(Os.FAMILY_WINDOWS)) {
        ndkbuild += 'ndk-build.cmd'
    } else {
        ndkbuild += 'ndk-build'
    }

    if (rootProject.hasProperty("OVR_MOBILE_SDK")) {
        environment 'OVR_MOBILE_SDK', rootProject.property("OVR_MOBILE_SDK")
    }

    commandLine ndkbuild, '-C', file('src/main').absolutePath, '-j', 16//, 'NDK_DEBUG=1'
}

task cleanNative(type: Exec) {
    def ndkbuild = ""
    if (rootProject.hasProperty("ANDROID_NDK_HOME")) {
        ndkbuild = rootProject.property("ANDROID_NDK_HOME")
        ndkbuild += '/'
    }
    if (Os.isFamily(Os.FAMILY_WINDOWS)) {
        ndkbuild += 'ndk-build.cmd'
    } else {
        ndkbuild += 'ndk-build'
    }

    if (rootProject.hasProperty("OVR_MOBILE_SDK")) {
        environment 'OVR_MOBILE_SDK', rootProject.property("OVR_MOBILE_SDK")
    }
    commandLine ndkbuild, '-C', file('src/main').absolutePath, '-j', 16, 'clean'
}

clean.dependsOn 'cleanNative'

tasks.withType(JavaCompile) {
    compileTask -> compileTask.dependsOn buildNative
}

}
dependencies {
compile fileTree(dir: 'libs', include: ['.jar'])
compile fileTree(dir: 'src/main/libs', include: ['.jar'])
}`

Your build.gradle is not exactly the same as the one in the repo. You seem to be missing a variable definition (note the very first line here):
    def ndkbuild = ""
    if (Os.isFamily(Os.FAMILY_WINDOWS)) {
        ndkbuild += 'ndk-build.cmd'
    } else {
        ndkbuild += 'ndk-build'
    }

Please double-check the gradle files and let us know your results. Thanks.

Thank you for the quick reply.
I had everything working again this morning, but when I tried to import another sample app, I got this error:
Error:Error converting bytecode to dex:
Cause: com.android.dex.DexException: Multiple dex files define Lorg/gearvrf/ActivityHandler;
I've tried everything to get it away, but no luck.

@Joshf17000548 Sounds like you may have added the gvrf classes more than once to your classpath. Please check what local changes you may have made. Or alternatively clone the repos to a new location and try again without modifications. You can use the instructions from https://github.com/Samsung/GearVRf/wiki/Build Tips to specify the Oculus and the NDK directories.

That works. Thank you very much!
Not all hero's wear capes.

Glad to hear it. Can we close the issue?

Yes. Thank you.