text:
Currently replacements won't work if the C key is somewhere else or when cmd+c is not a shortcut for pasting

To make a snippet replacement, currently we are simulating cmd+v on macOS and ctrl+v on Linux and Windows. This won't work, when the v key in the current keyboard layout is not where it is in the US QWERTY layout. It also won't work, if cmd+v/ctrl+v is not an actual shortcut for pasting.
Possible solution
To solve the first issue is pretty easy. We have to find where the v key is in current layout by running the getKeyMap() on the native-keymap module.
Solving the second issue gets rid of the first one. We have to simulate global OS paste event. How to do this? We don't know. For the person that finds the solution we are going to send our awesome Quickwords stickers and you are going to land in our README file  😉

I think it's possible to emit OS level key combinations using this. It states that it works on both linux and mac. I searched the same for Windows and it does seem to be kinda easy to do in C++ or Python. But, I don't know how to integrate these in electron build/install process as they are native dependencies that are need to be build on client machine (at least for linux and mac)

We can always try to bridge to C++ with node-gyp, but using different plugins for Windows and different for the other two OSs seems like a nightmare to maintain. 😕

Hi,
Not sure I understand correctly the second part of this issue but if cmd / ctrl + v is not the current OS shortcut for pasting why not to provide a Preferences Menu where users could set shortcuts as set in their current OS / machine ? Obviously this setting could be have a default value to the most common value (I think so) cmd / ctrl + v shortcut.

@wastegaby That's a great idea! We are going to put this in our backlog and you can follow the progress here: #55. If you want to get stickers, just send me an email 😉

Glad to contribute.
I send you an email soon :-)

authors: DCzajkowski eugeniumegherea wastegaby

repo: quickwords/quickwords


text:
Define constants

Pretty self explanatory: have some sort of syntax to declare a constant value, and then be able to refer to that value elsewhere in the source.

Duplicate of #18

source: gharchive/issue

repo: quilt/etk

license_type: permissive

license_source: github-api


text:
ES2015 dist files

Are the dist files supposed to be ES2015?  It makes it more difficult to consume like this.

That was a hiccup on my end with forgetting to add .babelrc to the package when I updated it. The dist files should now be es5 compatible.

Thank you

authors: andrew-hickton quinnjr

repo: quinnjr/angular-jxon

license: mit

license_source: bigquery


text:
[Bug] fix 1.21 Incompatibility with ModernFix And C2me

What happened?
A bug happened!
The Server Crashed when i tried to boot it.
BCLib
21.0.0
Fabric API
0.100.3+1.21.
Fabric Loader
0.15.11
Minecraft
1.21
Relevant log output
Starting net.fabricmc.loader.impl.game.minecraft.BundlerClassPathCapture
[22:24:45] [main/INFO]: Loading Minecraft 1.21 with Fabric Loader 0.15.11
[22:24:46] [main/WARN]: Warnings were found!
 - Mod 'Debugify' (debugify) 1.21+1.0 recommends any version of yet_another_config_lib_v3, which is missing!
	 - You should install any version of yet_another_config_lib_v3 for the optimal experience.
[22:24:46] [main/INFO]: Loading 115 mods:
	- amplified_nether 1.2.5
	- badpackets 0.8.1
	- bclib 21.0.0
	- betternether 21.0.0
	- c2me 0.2.0+alpha.11.101+1.21
	   |-- c2me-base 0.2.0+alpha.11.101+1.21
	   |-- c2me-client-uncapvd 0.2.0+alpha.11.101+1.21
	   |-- c2me-fixes-chunkio-threading-issues 0.2.0+alpha.11.101+1.21
	   |-- c2me-fixes-general-threading-issues 0.2.0+alpha.11.101+1.21
	   |-- c2me-fixes-worldgen-threading-issues 0.2.0+alpha.11.101+1.21
	   |-- c2me-fixes-worldgen-vanilla-bugs 0.2.0+alpha.11.101+1.21
	   |-- c2me-notickvd 0.2.0+alpha.11.101+1.21
	   |-- c2me-opts-allocs 0.2.0+alpha.11.101+1.21
	   |-- c2me-opts-chunk-access 0.2.0+alpha.11.101+1.21
	   |-- c2me-opts-chunkio 0.2.0+alpha.11.101+1.21
	   |-- c2me-opts-math 0.2.0+alpha.11.101+1.21
	   |-- c2me-opts-scheduling 0.2.0+alpha.11.101+1.21
	   |-- c2me-opts-worldgen-general 0.2.0+alpha.11.101+1.21
	   |-- c2me-opts-worldgen-vanilla 0.2.0+alpha.11.101+1.21
	   |-- c2me-rewrites-chunk-serializer 0.2.0+alpha.11.101+1.21
	   |-- c2me-rewrites-chunkio 0.2.0+alpha.11.101+1.21
	   |-- c2me-server-utils 0.2.0+alpha.11.101+1.21
	   |-- c2me-threading-chunkio 0.2.0+alpha.11.101+1.21
	   |-- c2me-threading-lighting 0.2.0+alpha.11.101+1.21
	   |-- c2me-threading-worldgen 0.2.0+alpha.11.101+1.21
	   |-- com_electronwill_night-config_core 3.6.5
	   |-- com_electronwill_night-config_toml 3.6.5
	   |-- com_ibm_async_asyncutil 0.1.0
	   |-- net_objecthunter_exp4j 0.4.8
	   \-- org_threadly_threadly 7.0
	- debugify 1.21+1.0
	- entity-view-distance 1.3.0+1.21
	- fabric-api 0.100.3+1.21
	   |-- fabric-api-base 0.4.42+6573ed8cd1
	   |-- fabric-api-lookup-api-v1 1.6.67+b5597344d1
	   |-- fabric-biome-api-v1 13.0.28+6fc22b99d1
	   |-- fabric-block-api-v1 1.0.22+0af3f5a7d1
	   |-- fabric-block-view-api-v2 1.0.10+6573ed8cd1
	   |-- fabric-blockrenderlayer-v1 1.1.52+0af3f5a7d1
	   |-- fabric-client-tags-api-v1 1.1.15+6573ed8cd1
	   |-- fabric-command-api-v1 1.2.48+f71b366fd1
	   |-- fabric-command-api-v2 2.2.27+6a6dfa19d1
	   |-- fabric-commands-v0 0.2.65+df3654b3d1
	   |-- fabric-content-registries-v0 8.0.13+b5597344d1
	   |-- fabric-convention-tags-v1 2.0.14+7f945d5bd1
	   |-- fabric-convention-tags-v2 2.3.1+8a3b5617d1
	   |-- fabric-crash-report-info-v1 0.2.29+0af3f5a7d1
	   |-- fabric-data-attachment-api-v1 1.1.23+6a6dfa19d1
	   |-- fabric-data-generation-api-v1 20.2.8+16c4ae25d1
	   |-- fabric-dimensions-v1 4.0.0+6fc22b99d1
	   |-- fabric-entity-events-v1 1.6.12+6fc22b99d1
	   |-- fabric-events-interaction-v0 0.7.10+e633f883d1
	   |-- fabric-game-rule-api-v1 1.0.52+6573ed8cd1
	   |-- fabric-item-api-v1 11.0.0+afdfc921d1
	   |-- fabric-item-group-api-v1 4.1.1+cb5ced13d1
	   |-- fabric-key-binding-api-v1 1.0.47+0af3f5a7d1
	   |-- fabric-keybindings-v0 0.2.45+df3654b3d1
	   |-- fabric-lifecycle-events-v1 2.3.11+8f3583aed1
	   |-- fabric-loot-api-v2 3.0.10+6573ed8cd1
	   |-- fabric-message-api-v1 6.0.13+6573ed8cd1
	   |-- fabric-model-loading-api-v1 2.0.0+fe474d6bd1
	   |-- fabric-networking-api-v1 4.2.0+ab7edbacd1
	   |-- fabric-object-builder-api-v1 15.1.11+d1321076d1
	   |-- fabric-particles-v1 4.0.2+6573ed8cd1
	   |-- fabric-recipe-api-v1 5.0.9+6573ed8cd1
	   |-- fabric-registry-sync-v0 5.0.22+ab7edbacd1
	   |-- fabric-renderer-api-v1 3.2.16+fe474d6bd1
	   |-- fabric-renderer-indigo 1.6.4+48fb1586d1
	   |-- fabric-renderer-registries-v1 3.2.66+df3654b3d1
	   |-- fabric-rendering-data-attachment-v1 0.3.48+73761d2ed1
	   |-- fabric-rendering-fluids-v1 3.1.6+b5597344d1
	   |-- fabric-rendering-v0 1.1.69+df3654b3d1
	   |-- fabric-rendering-v1 5.0.3+d1321076d1
	   |-- fabric-resource-conditions-api-v1 4.2.1+d153f344d1
	   |-- fabric-resource-loader-v0 1.1.4+cb5ced13d1
	   |-- fabric-screen-api-v1 2.0.24+b5597344d1
	   |-- fabric-screen-handler-api-v1 1.3.79+b5597344d1
	   |-- fabric-sound-api-v1 1.0.23+6573ed8cd1
	   |-- fabric-transfer-api-v1 5.1.14+b5597344d1
	   \-- fabric-transitive-access-wideners-v1 6.0.12+6573ed8cd1
	- fabric-language-kotlin 1.11.0+kotlin.2.0.0
	   |-- org_jetbrains_kotlin_kotlin-reflect 2.0.0
	   |-- org_jetbrains_kotlin_kotlin-stdlib 2.0.0
	   |-- org_jetbrains_kotlin_kotlin-stdlib-jdk7 2.0.0
	   |-- org_jetbrains_kotlin_kotlin-stdlib-jdk8 2.0.0
	   |-- org_jetbrains_kotlinx_atomicfu-jvm 0.24.0
	   |-- org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm 1.8.1
	   |-- org_jetbrains_kotlinx_kotlinx-coroutines-jdk8 1.8.1
	   |-- org_jetbrains_kotlinx_kotlinx-datetime-jvm 0.6.0
	   |-- org_jetbrains_kotlinx_kotlinx-serialization-cbor-jvm 1.6.3
	   |-- org_jetbrains_kotlinx_kotlinx-serialization-core-jvm 1.6.3
	   \-- org_jetbrains_kotlinx_kotlinx-serialization-json-jvm 1.6.3
	- fabricloader 0.15.11
	   \-- mixinextras 0.3.5
	- ferritecore 7.0.0
	- jade 15.0.4+fabric
	- java 21
	- lithium 0.12.7
	- minecraft 1.21
	- modernfix 5.18.3+mc1.21
	- nochatreports 1.21-v2.8.0
	- nullscape 1.2.6
	- placeholder-api 2.4.0-pre.2+1.21
	- spark 1.10.73
	   \-- fabric-permissions-api-v0 0.3.1
	- structory 1.3.5
	- structory_towers 1.0.7
	- tectonic 2.4.0
	- terralith 2.5.3
	- vmp 0.2.0+beta.7.162+1.21
	   \-- com_ibm_async_asyncutil 0.1.0
	- wover 21.0.1
	   |-- wover-biome 21.0.1
	   |-- wover-block 21.0.1
	   |-- wover-common 21.0.0
	   |-- wover-core 21.0.1
	   |-- wover-datagen 21.0.0
	   |-- wover-events 21.0.0
	   |-- wover-feature 21.0.1
	   |-- wover-generator 21.0.0
	   |-- wover-item 21.0.1
	   |-- wover-math 21.0.0
	   |-- wover-preset 21.0.0
	   |-- wover-recipe 21.0.1
	   |-- wover-structure 21.0.1
	   |-- wover-surface 21.0.0
	   |-- wover-tag 21.0.1
	   \-- wover-ui 21.0.0
	- wunderlib 21.0.2
[22:24:46] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/home/Kenny/Downloads/The%20Boys%20SMP%20S3/libraries/net/fabricmc/sponge-mixin/0.13.3+mixin.0.8.5/sponge-mixin-0.13.3+mixin.0.8.5.jar Service=Knot/Fabric Env=SERVER
[22:24:46] [main/INFO]: Compatibility level set to JAVA_16
[22:24:46] [main/INFO]: Compatibility level set to JAVA_17
[22:24:46] [main/INFO]: Compatibility level set to JAVA_21
[22:24:46] [main/INFO]: Initializing com.ishland.c2me.base.mixin
[22:24:46] [main/INFO]: Global Executor Parallelism: 2 configured, 2 evaluated, 2 default evaluated
[22:24:46] [main/INFO]: Initializing com.ishland.c2me.fixes.chunkio.threading_issues.mixin
[22:24:46] [main/INFO]: Initializing com.ishland.c2me.fixes.general.threading_issues.mixin
[22:24:46] [main/INFO]: Initializing com.ishland.c2me.fixes.worldgen.threading_issues.mixin
[22:24:46] [main/INFO]: Initializing com.ishland.c2me.fixes.worldgen.vanilla_bugs.mixin
[22:24:46] [main/INFO]: Initializing com.ishland.c2me.notickvd.mixin
[22:24:46] [main/INFO]: Initializing com.ishland.c2me.opts.allocs.mixin
[22:24:46] [main/INFO]: Initializing com.ishland.c2me.opts.chunk_access.mixin
[22:24:46] [main/INFO]: Initializing com.ishland.c2me.opts.chunkio.mixin
[22:24:46] [main/INFO]: Initializing com.ishland.c2me.opts.math.mixin
[22:24:46] [main/INFO]: Initializing com.ishland.c2me.opts.scheduling.mixin
[22:24:46] [main/INFO]: Initializing com.ishland.c2me.opts.worldgen.general.mixin
[22:24:46] [main/INFO]: Initializing com.ishland.c2me.opts.worldgen.vanilla.mixin
[22:24:46] [main/INFO]: Initializing com.ishland.c2me.rewrites.chunk_serializer.mixin
[22:24:46] [main/INFO]: Disabling com.ishland.c2me.rewrites.chunk_serializer.mixin
[22:24:46] [main/INFO]: Initializing com.ishland.c2me.rewrites.chunkio.mixin
[22:24:46] [main/INFO]: Initializing com.ishland.c2me.server.utils.mixin
[22:24:46] [main/INFO]: Initializing com.ishland.c2me.threading.chunkio.mixin
[22:24:46] [main/INFO]: Initializing com.ishland.c2me.threading.lighting.mixin
[22:24:46] [main/INFO]: Initializing com.ishland.c2me.threading.worldgen.mixin
[22:24:46] [main/INFO]: Disabling com.ishland.c2me.threading.worldgen.mixin
[22:24:46] [main/WARN]: Mod 'c2me' attempted to override option 'mixin.world.player_chunk_tick', which doesn't exist, ignoring
[22:24:46] [main/INFO]: Loaded configuration file for Lithium: 138 options available, 1 override(s) found
[22:24:46] [main/INFO]: Loaded configuration file for ModernFix 5.18.3+mc1.21: 55 options available, 4 override(s) found
[22:24:46] [main/WARN]: Option 'mixin.bugfix.paper_chunk_patches' overriden (by mods [c2me]) to 'false'
[22:24:46] [main/WARN]: Option 'mixin.perf.cache_strongholds' overriden (by mods [c2me]) to 'false'
[22:24:46] [main/WARN]: Option 'mixin.perf.nbt_memory_usage' overriden (by mods [c2me]) to 'false'
[22:24:46] [main/WARN]: Option 'mixin.bugfix.chunk_deadlock' overriden (by mods [c2me]) to 'false'
[22:24:46] [main/INFO]: Applying Nashorn fix
[22:24:46] [main/INFO]: Successfully started async appender with [ServerGuiConsole, SysOut, File]
[22:24:46] [main/WARN]: Error loading class: ca/spottedleaf/starlight/common/thread/SchedulingUtil (java.lang.ClassNotFoundException: ca/spottedleaf/starlight/common/thread/SchedulingUtil)
[22:24:46] [main/WARN]: Force-disabling mixin 'alloc.blockstate.StateMixin' as rule 'mixin.alloc.blockstate' (added by mods [ferritecore]) disables it and children
[22:24:47] [main/INFO]: Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.3.5).
[22:24:49] [main/INFO]: Injecting BlockStateBase cache population hook into lithium$getPathNodeType from me.jellysquid.mods.lithium.mixin.ai.pathing.AbstractBlockStateMixin
[22:24:49] [main/INFO]: Injecting BlockStateBase cache population hook into lithium$getAllFlags from me.jellysquid.mods.lithium.mixin.util.block_tracking.AbstractBlockStateMixin
[22:24:49] [main/INFO]: Injecting BlockStateBase cache population hook into lithium$getNeighborPathNodeType from me.jellysquid.mods.lithium.mixin.ai.pathing.AbstractBlockStateMixin
[22:24:50] [main/WARN]: Method overwrite conflict for method_21740 in modernfix-common.mixins.json:perf.remove_biome_temperature_cache.BiomeMixin from mod modernfix, previously written by me.jellysquid.mods.lithium.mixin.world.temperature_cache.BiomeMixin. Skipping method.
[22:24:51] [main/INFO]: Vanilla bootstrap took 2563 milliseconds
[22:24:52] [main/INFO]: =^..^=    BetterNether for 1.21    =^..^=
[22:24:52] [main/INFO]: Enabled 28 bug fixes: [MC-2025, MC-7569, MC-8187, MC-30391, MC-69216, MC-88371, MC-89146, MC-93018, MC-100991, MC-119417, MC-119754, MC-121706, MC-121903, MC-129909, MC-132878, MC-135971, MC-155509, MC-160095, MC-179072, MC-183990, MC-199467, MC-200418, MC-206922, MC-215530, MC-223153, MC-224729, MC-231743, MC-232869]
[22:24:52] [main/INFO]: Successfully Debugify'd your game!
[22:24:52] [main/INFO]: [STDOUT]: Initializing BiomeDataRegistry

Its Ends Abruptly.
Other Mods
No response

Was a separate crash log created?

authors: KennyDevT quiqueck

repo: quiqueck/WorldWeaver

license: MIT


text:
Looking for ways to modify timeline localisation (timelineReplace) in user file

Hello, I want to have my custom text modification over the existing localisations and want to save such configurations in my user files. I tried to do it in the same way I do with my custom triggers first, but it does not work.
Options.Triggers.push({
  zoneId: ZoneId.TheRoyalMenagerie,
  timelineReplace: [
    {
      'locale': 'jp',
      'replaceText': {
        'Tidal Wave': 'アムレン',
      },
    },
  ],
});

I found another related issue but the solution seems to be not working.
BTW, editing the bundle js definitely works well but I think users are not supposed to make modifications directly to that file.
Could someone give me suggestions about it? Thanks!

locale is ja not jp

locale is ja not jp

Thanks for pointing that out! I edited my local config file and reloaded it, but it seems that it is still not working and I could not see any of my modifications.
From the log window, I can see log lines for trigger overriding like:
BrowserConsole: Overriding 'General Provoke' from '00-misc/general.js' with '...'
But I didn't find log lines related to localisations being overridden. Is there any way that I can debug and know whether the user config is parsed well?

There are no log lines for this.  You could debug by overriding the test timeline and doing a /countdown 5 in Summerford Farms to see if it works.

authors: Akurosia Elypha quisquous

repo: quisquous/cactbot


text:
Custom Icons

Are you still working at this port?
I think it's currently the best one for react.
We are using fontawesome in our project and don't want to use glyphicons. Is it possible to add this feature soon?

+1

+1

repo: quri/react-bootstrap-datetimepicker


text:
🛑 Adguard Home DoT is down

In f3d2076, Adguard Home DoT ($AG_DOT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Adguard Home DoT is back up in cbfbf80 after 7 minutes.

repo: quyleanh/upptime


text:
🛑 Adguard Home DoT is down

In 8b1ce91, Adguard Home DoT ($AG_DOT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Adguard Home DoT is back up in 1dd2883.


text:
🛑 Adguard Home DoT is down

In a375bd5, Adguard Home DoT ($AG_DOT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Adguard Home DoT is back up in 818016b after 22 minutes.


text:
🛑 Adguard Home DoT is down

In d39242b, Adguard Home DoT ($AG_DOT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Adguard Home DoT is back up in 647f167 after 7 minutes.


text:
[V4] Launches endpoint doesn't retrieve launchpad details when populated

Populating the field launchpad inside the Launches endpoint doesnt' retrieve the 'details' field.
Options:
{
    "options": {
        "populate": [
            {
                "path": "launchpad"
            }
        ]
    }
}

Output:
            "launchpad": {
                "name": "Kwajalein Atoll",
                "full_name": "Kwajalein Atoll Omelek Island",
                "locality": "Omelek Island",
                "region": "Marshall Islands",
                "timezone": "Pacific/Kwajalein",
                "latitude": 9.0477206,
                "longitude": 167.7431292,
                "launch_attempts": 5,
                "launch_successes": 2,
                "rockets": [
                    "5e9d0d95eda69955f709d1eb"
                ],
                "launches": [
                    "5eb87cd9ffd86e000604b32a",
                    "5eb87cdaffd86e000604b32b",
                    "5eb87cdbffd86e000604b32c",
                    "5eb87cdbffd86e000604b32d",
                    "5eb87cdcffd86e000604b32e"
                ],
                "status": "retired",
                "id": "5e9e4502f5090995de566f86"
            },

Looks like this field didn't get added for some reason, it's added and live now.

Great!! Thanks!

repo: r-spacex/SpaceX-API


text:
[tui] use the new r3bl_ansi_color crate for detecting terminal color capabilities

A bit of history is useful here. In the early days of the crate, I was using some 3rd party crates to do:

Terminal capability detection. The terminal capability detection crate never actually worked (fails totally on macOS Terminal.app, which is the default terminal that ships with macOS, and on Windows)
ANSI color output. This crate has a copyleft license so I had to replace it and rewrite it. I’ve had to rewrite so many crates so far (the latest one being simplelog, and include them in the r3bl_rs_utils repo workspace).

So currently the r3bl_tui crate does NOT use the r3bl_ansi_color crate detection capabilities. Instead it uses the broken old way using some existing crate. The task is to replace this deprecated functionality with the newer one (from r3bl_ansi_color crate). PLMK if this makes sense or if more information is needed, as I can add links to source files.

Currently the existing r3bl_tui crate does not do the right thing when detecting terminal capabilities. It currently does not work on Windows.
There is a better way to detect terminal color capabilities on mac, windows, linux in the r3bl_ansi_color crate which is what we should be using.

👎🏽 Here's the code for the old way:

https://github.com/r3bl-org/r3bl_rs_utils/blob/main/tui/src/tui/color_wheel/detect_color_support.rs#L37

👍🏽 Here's the code for the new way:

https://github.com/r3bl-org/r3bl_rs_utils/blob/main/ansi_color/src/detect_color_support.rs#L27

Both are similar.

In summary, the goals are:

Replace the old color detection capabilities with the new reliable ones from r3bl_ansi_color
Use the capabilities provided in ansi_color in the color_wheel folder in the r3bl_rs_utils repo
As a bonus, this might also get everything working correctly on Windows (which currently shows grayscale output due to the problematic terminal capability detection).

@Harshil-Jani I've added more clarification to this issue; apologies that it was so poorly worded and confusing. PLMK if this makes more sense. I can rewrite if needed and also provide links directly to the source code.


text:
Possible retain cycle

Hi,
there is a possible retain cycle in the lib. I am saying possible because it is probably my code, but I can't see where it comes from so I am writing here,
Yet again i don't know if the issue is in the library or in the code, hopefully, I will find that out :)
Problem:

I think the problem lays somewhere here:

Everywhere where I do have a reference to self, i do if let self = self in the vc, but the header, FormSwitchCell and the header view for the cell does not get deallocated.
Former was declared like so:

Am I missing something? Thank you very much!

Hi,
I have the some problem, here is an image of the example app in memory graph:

Thanks

authors: andriansergheev brommko


text:
Check version when version is not

Fixes: https://github.com/rabbitmq/rabbitmq-stream-go-client/issues/344
When the serverProperties["version"] is not empty the client now checks the version.
If the version is >=3.11 it is possible to enable the exchangeVersion function.
Fixes another small bug when the single active consumer is enabled
cc @hiimjako

@LucasZhanye can you please try this PR?

@LucasZhanye can you please try this PR?

Yes, I can
I try it later, and I will reply it after I finished

@LucasZhanye can you please try this PR?

Yes, I can
I try it later, and I will reply it after I finished

@Gsantomaggio I try it, it is work well!
the output log is : 2024/07/30 10:49:39 [info] - Server version is less than 3.11.0, skipping command version exchange.
And I want to know how long it will release a new version for it ?

@LucasZhanye can you please try this PR?

oh, I find another problem.
Now I can DeclareStream,NewProducer,but producer.Send is not take effect.
my code is :
const (
	EVENTSTREAM = "events"
)

type Event struct {
	Name string
}

func main() {
	// COnnect to the Stream Plugin on Rabbimq
	env, err := stream.NewEnvironment(
		stream.NewEnvironmentOptions().
			SetHost("10.2.3.200").
			SetPort(15552).
			SetUser("guest").
			SetPassword("guest"))
	if err != nil {
		panic(err)
	}
	// Declare the stream, Set segmentsize and Maxbytes on stream
	err = env.DeclareStream(EVENTSTREAM, stream.NewStreamOptions().
		SetMaxSegmentSizeBytes(stream.ByteCapacity{}.MB(1)).
		SetMaxLengthBytes(stream.ByteCapacity{}.MB(2)))

	if err != nil {
		panic(err)
	}

	// Create a new Producer
	producerOptions := stream.NewProducerOptions()
	producerOptions.SetProducerName("producer")

	// Batch 100 Events in the same Frame, and the SDK will handle everything
	// DEDPULICATION DOES NOT WORK WITH SUBENTRY
	producerOptions.SetSubEntrySize(100)
	producerOptions.SetCompression(stream.Compression{}.Gzip())

	producer, err := env.NewProducer(EVENTSTREAM, producerOptions)
	if err != nil {
		panic(err)
	}

	// Publish 6001 messages
	for i := 0; i <= 6001; i++ {
		// fmt.Println("i = ", i)
		event := Event{
			Name: "test",
		}

		data, err := json.Marshal(event)
		if err != nil {
			panic(err)
		}

		message := amqp.NewMessage(data)
		// Apply properties to our message
		props := &amqp.MessageProperties{
			CorrelationID: uuid.NewString(),
		}
		message.Properties = props
		// Set Publishing ID to prevent Deduplication
		message.SetPublishingId(int64(i))
		// Sending the message
		if err := producer.Send(message); err != nil {
			panic(err)
		}
	}

	producer.Close()
}

But the rabbitmq management show as below:

the queue message is zero,but I send 6002

@LucasZhanye, I cannot reproduce the issue.

You should check the server logs and also try to remove these values:
SetMaxSegmentSizeBytes(stream.ByteCapacity{}.MB(1)).
SetMaxLengthBytes(stream.ByteCapacity{}.MB(2)))

also you should always enable the confirmation and wait before close the producer since the send is async
	producerOptions := stream.NewProducerOptions()
	producerOptions.SetProducerName("producer")

	// Batch 100 Events in the same Frame, and the SDK will handle everything
	// DEDPULICATION DOES NOT WORK WITH SUBENTRY
	producerOptions.SetSubEntrySize(100)
	producerOptions.SetCompression(stream.Compression{}.Gzip())

	producer, err := env.NewProducer(EVENTSTREAM, producerOptions)
	if err != nil {
		panic(err)
	}
	chPublishConfirm := producer.NotifyPublishConfirmation()
	totalConfirmed := int32(0)
	chFinished := make(chan struct{})
	go func() {
		for confirmed := range chPublishConfirm {
			for _, msg := range confirmed {
				if msg.IsConfirmed() {
					atomic.AddInt32(&totalConfirmed, 1)
					if atomic.LoadInt32(&totalConfirmed) == 6001 {
						chFinished <- struct{}{}
					}
				} else {
					fmt.Printf("message %s failed \n  ", msg.GetMessage().GetData())
				}

			}
		}
	}()

	// Publish 6001 messages
	for i := 0; i <= 6001; i++ {
		// fmt.Println("i = ", i)
		event := Event{
			Name: "test",
		}

		data, err := json.Marshal(event)
		if err != nil {
			panic(err)
		}

		message := amqp.NewMessage(data)
		// Apply properties to our message
		props := &amqp.MessageProperties{
			CorrelationID: uuid.NewString(),
		}
		message.Properties = props
		// Set Publishing ID to prevent Deduplication
		message.SetPublishingId(int64(i))
		// Sending the message
		if err := producer.Send(message); err != nil {
			panic(err)
		}
	}

	<-chFinished

	producer.Close()
	env.Close()
	fmt.Printf("Closed with total Confirmed: %d\n", totalConfirmed)

The debug log is:
2024/07/30 15:48:10 [info] - Server version is less than 3.11.0, skipping command version exchange
2024/07/30 15:48:10 [debug] - User root, connected to: 10.2.3.200:5552, vhost:test
2024/07/30 15:48:10 [debug] - Read connection failed: read tcp 172.24.127.40:36958->10.2.3.200:5552: use of closed network connection
2024/07/30 15:48:10 [info] - Server version is less than 3.11.0, skipping command version exchange
2024/07/30 15:48:10 [debug] - User root, connected to: 10.2.3.200:5552, vhost:test
2024/07/30 15:48:10 [debug] - Read connection failed: read tcp 172.24.127.40:36960->10.2.3.200:5552: use of closed network connection
2024/07/30 15:48:10 [info] - Server version is less than 3.11.0, skipping command version exchange
2024/07/30 15:48:10 [debug] - User root, connected to: 10.2.3.200:5552, vhost:test
2024/07/30 15:48:10 [debug] - Read connection failed: EOF
2024/07/30 15:48:10 [debug] - error removing heartbeat: Response #{id} not found
2024/07/30 15:48:10 [debug] - User:root, Authentication Failure
2024/07/30 15:48:10 [debug] - Read connection failed: read tcp 172.24.127.40:36964->10.2.3.200:5552: use of closed network connection

2024/07/30 15:48:10 [debug] - User:root, Authentication Failure

I think it is clear where is the problem here

Authentication Failure
Hi  @Gsantomaggio Maybe I know why it is the queue is zero.

Because I have two rabbitmq server run by docker container, the first is listen on 5552, and the second is listen on 15552
When I exec main.go which is connect to the port 15552, it will send msg to the rabbitmq server which is listen on 5552.
From the log, at last it use 5552:
2024/07/30 16:22:50 [info] - Server version is less than 3.11.0, skipping command version exchange
2024/07/30 16:22:50 [debug] - User root, connected to: 10.2.3.200:15552, vhost:test
2024/07/30 16:22:50 [debug] - Read connection failed: read tcp 10.2.3.200:35938->10.2.3.200:15552: use of closed network connection
2024/07/30 16:22:50 [info] - Server version is less than 3.11.0, skipping command version exchange
2024/07/30 16:22:50 [debug] - **User root, connected to: 10.2.3.200:15552**, vhost:test
2024/07/30 16:22:50 [debug] - Read connection failed: read tcp 10.2.3.200:35940->10.2.3.200:15552: use of closed network connection
2024/07/30 16:22:50 [info] - Server version is less than 3.11.0, skipping command version exchange
2024/07/30 16:22:50 [debug] - User root, connected to: 10.2.3.200:15552, vhost:test
coordinatorKey =  **localhost:5552**
2024/07/30 16:22:50 [info] - Server version is less than 3.11.0, skipping command version exchange
2024/07/30 16:22:50 [debug] - User root, connected to: localhost:5552, vhost:test
2024/07/30 16:22:50 [debug] - Read connection failed: read tcp 10.2.3.200:35942->10.2.3.200:15552: use of closed network connection
2024/07/30 16:22:50 [debug] - waitForInflightMessages, channel: 2374 - pending messages len: 28 - unconfirmed len: 2502 - retry: 0
2024/07/30 16:22:50 [debug] - **Read connection failed: read tcp 127.0.0.1:45690->127.0.0.1:5552**: use of closed network connection
Closed with total Confirmed: 6001

Finally, I see the rabbitmq management which is listen on 5552 , the queue message is increased.

@hiimjako @LucasZhanye merged.

Authentication Failure

Hi @Gsantomaggio Maybe I know why it is the queue is zero.
Because I have two rabbitmq server run by docker container, the first is listen on 5552, and the second is listen on 15552
When I exec main.go which is connect to the port 15552, it will send msg to the rabbitmq server which is listen on 5552.
From the log, at last it use 5552:
2024/07/30 16:22:50 [info] - Server version is less than 3.11.0, skipping command version exchange
2024/07/30 16:22:50 [debug] - User root, connected to: 10.2.3.200:15552, vhost:test
2024/07/30 16:22:50 [debug] - Read connection failed: read tcp 10.2.3.200:35938->10.2.3.200:15552: use of closed network connection
2024/07/30 16:22:50 [info] - Server version is less than 3.11.0, skipping command version exchange
2024/07/30 16:22:50 [debug] - **User root, connected to: 10.2.3.200:15552**, vhost:test
2024/07/30 16:22:50 [debug] - Read connection failed: read tcp 10.2.3.200:35940->10.2.3.200:15552: use of closed network connection
2024/07/30 16:22:50 [info] - Server version is less than 3.11.0, skipping command version exchange
2024/07/30 16:22:50 [debug] - User root, connected to: 10.2.3.200:15552, vhost:test
coordinatorKey =  **localhost:5552**
2024/07/30 16:22:50 [info] - Server version is less than 3.11.0, skipping command version exchange
2024/07/30 16:22:50 [debug] - User root, connected to: localhost:5552, vhost:test
2024/07/30 16:22:50 [debug] - Read connection failed: read tcp 10.2.3.200:35942->10.2.3.200:15552: use of closed network connection
2024/07/30 16:22:50 [debug] - waitForInflightMessages, channel: 2374 - pending messages len: 28 - unconfirmed len: 2502 - retry: 0
2024/07/30 16:22:50 [debug] - **Read connection failed: read tcp 127.0.0.1:45690->127.0.0.1:5552**: use of closed network connection
Closed with total Confirmed: 6001

Finally, I see the rabbitmq management which is listen on 5552 , the queue message is increased.

I find the solution on #315
I change my code to below:
addressResolver := stream.AddressResolver{
		Host: "10.2.3.200",
		Port: 15552,
	}

	env, err := stream.NewEnvironment(
		stream.NewEnvironmentOptions().
			SetHost(addressResolver.Host).
			SetPort(addressResolver.Port).
			SetAddressResolver(addressResolver).
			SetUser("root").SetPassword("root").SetVHost("test").
			SetMaxProducersPerClient(5))

It works ok!

@LucasZhanye FYI: https://github.com/rabbitmq/rabbitmq-stream-go-client/releases/tag/v1.4.8

source: gharchive/pull-request

authors: Gsantomaggio LucasZhanye

repo: rabbitmq/rabbitmq-stream-go-client


text:
Revert "Fix getting duplicated date from the same instance"

Reverts raccoongang/OLGA#79
PR#79 need to be squashed

Codecov Report

Merging #80 into develop will decrease coverage by 0.03%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop      #80      +/-   ##
===========================================
- Coverage    99.11%   99.08%   -0.04%
===========================================
  Files           33       33
  Lines          908      872      -36
===========================================
- Hits           900      864      -36
  Misses           8        8

Impacted Files
Coverage Δ

web/olga/analytics/tests/test_views.py
100% <100%> (ø)
:arrow_up:

web/olga/analytics/views.py
94.79% <100%> (-0.26%)
:arrow_down:

web/olga/analytics/models.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

authors: codecov-io idegtiarov

repo: raccoongang/OLGA


text:
Showing virtual text in insert mode

Hey, I'd like to see the diagnostics in insert mode, but there doesn't seem to be an option, is there a workaround ?
Thanks for making this plugin!

Hello,
You should now have the option to enable it on Insert mode.
You can do it like so:
{
    options = {
        throttle = 0, -- I would suggest to set it to 0, otherwise some artefacts may appear
        enable_on_insert = true
    }
}

Keep in mind that the diagnostics do not refresh in an instant, the delay comes from the LSP.
Tell me if it is all good for you !

Oh sweet! Thanks for the speed

authors: nydragon rachartier


text:
🛑 Pet Project is down

In dc56fbc, Pet Project ($RINFO_SITE) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Pet Project is back up in 1136a0e.


text:
🛑 Pet Project is down

In 3d9c5b5, Pet Project ($RINFO_SITE) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Pet Project is back up in e3f49e0.


text:
Redis TLS support

Adds support TLS for the Redis connection

Hey @jdgjsag67251! I'll update the Cargo.lock first so this PR will get smaller, but could you explain this change in your PR description? Thanks!

Hi! I'm on 1.83.0. I'll install 1.81.0 and update the Cargo.lock file

repo: radekmie/changestream-to-redis


text:
Cannot run Elm

Steps to reproduce:

Go to https://riju.codes/elm
Click on Run

Error:
Compilation failed
-- PROBLEM LOADING PACKAGE LIST ------------------------------------------------
I need the list of published packages to verify your dependencies, so I tried to
fetch:
https://package.elm-lang.org/all-packages
But my HTTP library is giving me the following error message:
ConnectionFailure Network.Socket.getAddrInfo (called with preferred socket type/protocol: AddrInfo {addrFlags = [AI_ADDRCONFIG], addrFamily = AF_UNSPEC, addrSocketType = Stream, addrProtocol = 0, addrAddress = , addrCanonName = }, host name: Just 'package.elm-lang.org', service name: Just '443'): does not exist (Try again)

To fix this, we either need to adjust Elm so that it does not need network connectivity to run 'hello, world', or we need to find a way to allow outbound network connections without enabling abuse that violates AWS terms of service.

repo: radian-software/riju


text:
Indium install failure due to missing json-process-client repo

What's wrong
Indium stopped working as its dependency json-process-client package.
The repository URL straight uses is offline/dead:
https://gitea.petton.fr/nico/json-process-client.git
Meanwhile much better repo candidates are available:

directly from its maintainer
from emacsmirror

Directions to reproduce
(use-package indium)

Version information

Emacs version: 27.1
Operating system: Debian 12

Unabel to reproduce with the following test case:

Test Case
(straight-bug-report
  :post-bootstrap
  (with-timeout (60)
    (straight-use-package 'indium)
    (message "indium recipe:\n%S" (straight-recipes-retrieve 'indium))
    (message "json-process-client recipe:\n%S"
             (straight-recipes-retrieve 'json-process-client))))

Test run at: 2023-11-12 15:06:06
system-type: gnu/linux
straight-version: prerelease (HEAD -> update/org-contrib) 7c1307b 2023-11-11
emacs-version: GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.18.0) of 2023-11-02

Output
Bootstrapping straight.el...
Bootstrapping straight.el...done
Looking for gnu-elpa-mirror recipe → Cloning melpa...
Looking for gnu-elpa-mirror recipe → Cloning melpa...done
Looking for nongnu-elpa recipe → Cloning gnu-elpa-mirror...
Looking for nongnu-elpa recipe → Cloning gnu-elpa-mirror...done
Looking for emacsmirror-mirror recipe → Cloning nongnu-elpa...
Looking for emacsmirror-mirror recipe → Cloning nongnu-elpa...done
Looking for emacsmirror-mirror recipe → Cloning el-get...
Looking for emacsmirror-mirror recipe → Cloning el-get...done
Looking for straight recipe → Cloning emacsmirror-mirror...
Looking for straight recipe → Cloning emacsmirror-mirror...done
Building straight...
Building straight...done

Test run with version: prerelease (HEAD -> develop, origin/develop) b3760f5 2023-10-21
Cloning Indium (for indium)...
Cloning Indium (for indium)...done
Building indium...
Building indium → Cloning seq...
Building indium → Cloning seq...done
Building indium → Building seq...
Building indium → Building seq...done
Building indium → Cloning js2-mode...
Building indium → Cloning js2-mode...done
Building indium → Building js2-mode...
Building indium → Building js2-mode...done
Building indium → Cloning js2-refactor.el...
Building indium → Cloning js2-refactor.el...done
Building indium → Building js2-refactor...
Building indium → Building js2-refactor → Cloning s.el...
Building indium → Building js2-refactor → Cloning s.el...done
Building indium → Building js2-refactor → Building s...
Building indium → Building js2-refactor → Building s...done
Building indium → Building js2-refactor → Cloning multiple-cursors.el...
Building indium → Building js2-refactor → Cloning multiple-cursors.el...done
Building indium → Building js2-refactor → Building multiple-cursors...
Building indium → Building js2-refactor → Building multiple-cursors...done
Building indium → Building js2-refactor → Cloning dash.el...
Building indium → Building js2-refactor → Cloning dash.el...done
Building indium → Building js2-refactor → Building dash...
Building indium → Building js2-refactor → Building dash...done
Building indium → Building js2-refactor → Cloning yasnippet...
Building indium → Building js2-refactor → Cloning yasnippet...done
Building indium → Building js2-refactor → Building yasnippet...
Building indium → Building js2-refactor → Building yasnippet...done
Building indium → Building js2-refactor...
Building indium → Building js2-refactor...done
Building indium → Cloning company-mode (for company)...
Building indium → Cloning company-mode (for company)...done
Building indium → Building company...
Building indium → Building company...done
Building indium → Cloning json-process-client...
Building indium → Cloning json-process-client...done
Building indium → Building json-process-client...
Building indium → Building json-process-client...done
Building indium...
Building indium...done

indium recipe:
(indium :type git :flavor melpa :host github :repo "NicolasPetton/Indium")
json-process-client recipe:
(json-process-client :type git :flavor melpa :host github :repo "DamienCassou/json-process-client")
Packages:
"straight"                n/a                  develop b3760f5 2023-10-21
"org-elpa"                n/a                  n/a
"melpa"                   n/a                  master d01c726f 2023-11-12
"gnu-elpa-mirror"         n/a                  master 3e9da80 2023-11-08
"nongnu-elpa"             n/a                  main e9d06c3 2023-11-07
"el-get"                  melpa                master a5ba5852 2023-10-20
"emacsmirror-mirror"      n/a                  master ba1fac1 2023-11-12
"indium"                  melpa                master 8499e15 2021-03-09
"seq"                     gnu-elpa-mirror      master 4355cde 2023-09-10
"js2-mode"                melpa                master 79bc78d 2023-06-28
"js2-refactor"            melpa                master a0977c4 2021-03-07
"s"                       melpa                master dda84d3 2023-04-14
"multiple-cursors"        melpa                master 234806c 2023-07-28
"dash"                    melpa                master 6db80c7 2023-08-01
"yasnippet"               melpa                master 52a1c50 2023-09-14
"company"                 melpa                master 07d1c41 2023-11-10
"json-process-client"     melpa                master c438585 2023-09-03

It could be that your recipe repositories need to be updated. Try M-x straight-pull-recipe-repositories before attempting to reinstall Indium or json-process-client.

Yea, straight.el doesn't maintain its own recipe repositories - so in the case of a bad recipe, you want to check which recipe repo provided it, and report the issue upstream there.

authors: dadinn progfolio raxod502


text:
in Data Viz tab, allow user to specify line types, marker types, etc.

related issues:
specify mins and maxes
force same vertical mins and maxes when y0 and y1 are both plotted

This will be related to the overall overhaul of data viz

This is already possible by clicking the green check mark above the plots. We may still want to improve the dialogs somehow.

authors: MZHarrison bruhwile qedseung

repo: radiasoft/radtrack


text:
Fix wrong casing in context menu docs

Fix small typo in context menu documentation
This pull request:

[ ] Fixes a bug
[ ] Adds additional features/functionality
[x] Updates documentation or example code
[ ] Other

Thanks @itsfaqih !

authors: andy-hook itsfaqih

repo: radix-ui/website


text:
پیشنهاد اضافه کردن proxy

وقت بخیر.
با بررسی های متنوع روی سرور خارج متوجه شدم میتوان درخواست های سرور خارج به سمت سرور داخل را به جای ip های سرور از طریق warp cloudflare ارسال کرد و همچنان اتصال برقرار بماند.
پیشنهاد میکنم به اسکریپت قابلیت استفاده از پروکسی اضافه شود تا بتوان با استفاده از پروکسی داخلی سرور؛ درخواست ها را از طریق وارپ کلودفلر به سرور ایران ارسال کرد.
فکر میکنم این قابلیت مانع فیلتر شدن ip سرور خارج شود و همچنین در صورتی که درخواست های خارج به ایران از یک دیتاسنتر فیلتر شود بتوان همچنان ارتباط را برقرار کرد.

درسته ولی همین الانم این روش میشه گفت قابل تشخیص و فیلتر از دید فایر وال نیست و استفاده از warp پینگ و جیتر رو کمی بالا میبره ولی چشم اگه وقت شد سراغ اونم میرم
البته الانم اسکریپت warp-yg کل سرور رو میبره زیر warp ؛ احتمالا اونم قابل استفاده باشه...

درسته ولی همین الانم این روش میشه گفت قابل تشخیص و فیلتر از دید فایر وال نیست و استفاده از warp پینگ و جیتر رو کمی بالا میبره ولی چشم اگه وقت شد سراغ اونم میرم
البته الانم اسکریپت warp-yg کل سرور رو میبره زیر warp ؛ احتمالا اونم قابل استفاده باشه...

سلام
خسته نباشید مهندس جان
بله این مورد هم اضافه کنید، نگاه سرور ایران به آی پی خارج کور میشه
نمیدونم وقتی سرور ایران در ماه چند ترایابایت با یک آی پی سرور خارج تبادل داشته باشد، حتما شناسایی میشه،از نظر شما نمیشه؟

چرا قطعا هست برای همین mux / loadbalacer هستن و البته روش معکوس از دیدگاه فایر وال یا حتی دیتا سنتر خیلی سخته کنترل کردنش.

authors: ZarinNegah radkesvat retina20

repo: radkesvat/ReverseTlsTunnel


text:
RadzenTabs style issues when first tab not visible

Describe the bug
RadzenTabs have a weird styling when the first tab is not visible. The tab next to the one selected "thinks" it is mouse hovered
To Reproduce
Steps to reproduce the behavior:
The following code reproduces the issue. I made a Radzen switch to make the first tab visible or invisible so you can clearly see the issue
@page "/KobRadzenBug"

<RadzenTabs @ref=@tabs>
    <Tabs>
        <RadzenTabsItem Text="Tab 1" Visible="@isT1Visible">

Tab 1 Content

        </RadzenTabsItem>
        <RadzenTabsItem Text="Tab 2">

Tab 2 Content

        </RadzenTabsItem>
        <RadzenTabsItem Text="Tab 3" Selected>

Tab 3 Content

        </RadzenTabsItem>
        <RadzenTabsItem Text="Tab 4">

Tab 4 Content

        </RadzenTabsItem>
        <RadzenTabsItem Text="Tab 5">

Tab 5 Content

        </RadzenTabsItem>
    </Tabs>
</RadzenTabs>

<RadzenSwitch @bind-Value=@isT1Visible />

@code {
    private bool isT1Visible = false;

    private RadzenTabs tabs = new();

    protected override void OnInitialized()
    {
        base.OnInitialized();
    }
}

I also created a repo to store this example as a demo. Please check here
Expected behavior
When the first tab is not visible, the CSS (styling) should behave as normal
Screenshots

Desktop (please complete the following information):

OS: Windows11
Browser Chrome
Version  129.0.6668.60 (Official Build) (64-bit)

Additional context
N/A

Thanks :) It is working now. That was a flash fix. Thanks for your quick intervention. I am impressed.

repo: radzenhq/radzen-blazor


text:
No e-mail in profile after reset password flow

Describe the bug
No e-mail in profile after reset password flow.
To Reproduce
Steps to reproduce the behavior:

Pass through reset password flow.
Check e-mail in 1st cell in profile.

Actual result
No e-mail is present.
Expected result
E-mail is present.
Screenshots

Radzima app version

PR #604

Smartphone (please complete the following information):

Device: iPhone 14 Pro
iOS: iOS 16.0

Verified on iPhone X 15.5 build 1136

authors: ArtsemHarustovich alexeykomov


text:
Grid wrapper class

Hi,
I'm trying to use an horizontal_form for a simple input with a label and I'm trying to change the size of the input by using bootstrap class but it doesn't work. By looking in details the code the grid_wrapper has the following class col-sm-9 and despite the fact that I try to use grid_wrapper_html to specify a bootstrap class the initial is still present.
Is there any way of replace this value with my own without creating a custom wrapper?
Thanks in advance.

It is also possible to pass any html attribute straight to the input, by using the :input_html option, for instance:
<%= f.input :name, input_html: { class: "form-control-lg" } %>

Preview

📝 https://github.com/plataformatec/simple_form#usage
🎨 https://getbootstrap.com/docs/4.1/components/forms/#sizing


text:
Refactoring code to improve testability

Addressing issue #19.
@rafinskipg, please DO NOT MERGE yet. I still have a few more tests to go.
To run the tests use: npm test.
To run the coverage report use: npm run coverage (name sure you install istanbul globally with npm install -g istanbul)
As of right now this is the coverage report.
=============================== Coverage summary ===============================
Statements   : 95.38% ( 227/238 )
Branches     : 85.48% ( 53/62 )
Functions    : 92.68% ( 38/41 )
Lines        : 95.38% ( 227/238 )
================================================================================

Will more commits with the remaining tests soon. I'll advise when I'm done so you can revise and merge.

Sorry about that last Travis failure. I was missing the commit with the sinon and sinon-chai deps.

Hi @JohnnyEstilles The pull request looks good, :+1:  Thank you for your effort! This will add a lot of value to the project.
Right now the build is failing, i can pull the code tonight and see what's happening.
You deserve a medal, sir!

Just realized that the tests for git_changelog.js were polluting the following tests. I just fixed the issue. :-)
Just a few more tests to go.

No medal yet. I'm not done. LOL

Coverage now at ...
=============================== Coverage summary ===============================
Statements   : 96.64% ( 230/238 )
Branches     : 93.55% ( 58/62 )
Functions    : 90.24% ( 37/41 )
Lines        : 96.64% ( 230/238 )
================================================================================

We will probably not achieve 100% coverage, but we will be close. :-)

can we merge it? :santa:

Patience "kemosabe"! I'm not done yet. :-)

Found bug that caused this failure (see #21). Will include fix in this PR.

@rafinskipg ... the PR is now stable. It can be merged. There are still some tests I want to add, but I can submit a separate PR for that.

thats awesome
merging

authors: JohnnyEstilles rafinskipg

repo: rafinskipg/git-changelog


text:
No Module name 'build_vocab'

I run these libraries :
import torch
import matplotlib.pyplot as plt
import numpy as np
import argparse
import pickle
import os
from torchvision import transforms
from build_vocab import Vocabulary
from model import EncoderCNN, DecoderRNN
from PIL import Image
I got an error :
ModuleNotFoundError                       Traceback (most recent call last)
 in ()
6 import os
7 from torchvision import transforms
----> 8 from build_vocab import Vocabulary
9 from model import EncoderCNN, DecoderRNN
10 from PIL import Image
ModuleNotFoundError: No module named 'build_vocab'
So please anyone find the solution for this error
Thanks !

Change your current directory to "cd pytorch-tutorial/tutorials/03-advanced/image_captioning/"

authors: SumanthMeenan farzanaanjum

repo: raghakot/keras-text


text:
I want to easily install the dApp on my local system

User Story
As Chris, I want to easily install the dApp on my local system so that I can test it without a hosted environment.
Acceptance criteria

Available on Mac, Linux and Windows
Downloading the latest release
Mechanism to update to the latest release
It is hosted on localhost
The dApp is getting opened
Extend the CI to build it
Upload it to GitHub releases

without a hosted environment

does that mean no external dependencies at all or should we will be able to push updates when the user starts the dApp?

@andrevmatos to check, if PWA works with MetaMask

@kelsos proposed to do this with Electron

@kelsos proposed to do this with Electron

I wouldn't say I proposed to do with Electron. Rather I said if they other ways to do it are not acceptable and we have to go the electron way then I can help because I have some prior experience with Electron and Vue :)

Ok, I hear your excitement 🤣

We should check

If there is an easy way to host in on the user's machine (like the wizard).
If MetaMask can be integrated in Electron

@andrevmatos @weilbith @kelsos Who has got time to do some pre-iteration research on this?

I just checked here, and Metamask is definitely fully available for PWAs on Chromium. Would it be enough to provide it, and point to the serve_pr script or full local build/serve if the user needs further control?

I just checked here, and Metamask is definitely fully available for PWAs on Chromium. Would it be enough to provide it, and point to the serve_pr script or full local build/serve if the user needs further control?

The problem with serve_pr is that it requires some technical skills, if the local version is targeting non-technical users I don't think it would work that easy.

The proposal from Kelsos:

Pack an express app with a node backend which serves the application
Leave the user to use MetaMask
Run in the local browser

The proposal from Kelsos:
* Pack an express app with a node backend which serves the application

* Leave the user to use MetaMask

* Run in the local browser

The only problem I see with this approach is that the user might not know/understand how to stop the application properly. The same happened with the wizard running as a bundle from a terminal.

The proposal from Kelsos:
* Pack an express app with a node backend which serves the application

* Leave the user to use MetaMask

* Run in the local browser

The only problem I see with this approach is that the user might not know/understand how to stop the application properly. The same happened with the wizard running as a bundle from a terminal.

I don't see how that is a problem. This could be easily solved if you add a terminate endpoint to the "server" and some packaged mode customization so that the user can terminate the server directly from the dApp. I think the WebUI is doing a similar thing with the python client already.

Btw the server doesn't have to be node either, you could easily do a small flask backend packaged with PyInstaller that can produce binaries for Linux/OSX and Windows.

To check, if it works as a progressive web app:

Chrome
Firefox
Safari
MetaMask Mobile

@andrevmatos Could you roughly check the PWA concept.
I have found this articles:
https://almbok.com/kb/progressive_web_application
https://web.dev/progressive-web-apps/
PWA seems to work on MetaMask Mobile:
https://github.com/MetaMask/metamask-mobile/issues/1966
Ok, I think it is not working on a lot of browsers:
https://caniuse.com/web-app-manifest

It seems to mainly work on mobile.

Just for completness. There is a PWA plug-in for Vue:
https://axelhodler.medium.com/caching-in-a-vue-js-pwa-845233696072
https://vuepress.vuejs.org/plugin/official/plugin-pwa.html

@weilbith
How is our caching currently working? I was under the impression, that in the past we have completely cached the dApp and only refreshed on a new build. I think this would be already sufficient.
If not there is another way of building offline available web pages:
https://vueschool.io/articles/vuejs-tutorials/vue-js-performance-mastering-cache/
https://samvloeberghs.be/posts/lessons-learned-on-offline-capabilities-with-service-workers-using-workbox/

https://vuepress.vuejs.org/plugin/official/plugin-pwa.html

We use that already if I'm not wrong.

Closing this one as it has a long discussion and the scope is not clear any more.
First we are going to fix https://github.com/raiden-network/light-client/issues/2382
If need we are going to create a new issue for using the service worker / cache offline capability.

authors: andrevmatos christianbrb kelsos nephix palango weilbith

repo: raiden-network/light-client


text:
Have issue with data types Points (Postgrsql)

Describe the bug
Bug it's in Rails Admin Can't Access for data type points like

Reproduction steps
try to create db potgres
and make any model like it
rails g model place location:points
and will face the same error
I think about the solution add type points here in rails admin

I'll try to make PR if have enough time

I do that solution
https://github.com/railsadminteam/rails_admin/pull/3486


text:
nixpacks cargo workspaces problem

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
nixpack build .
gives the following error:
Error: This manifest requires workspace inheritance, but `inherit_workspace` hasn't been called yet
when using:
[dependencies]
http = { workspace = true }

like described in this doc:
https://doc.rust-lang.org/cargo/reference/workspaces.html#the-dependencies-table
To reproduce
Use the code from this PR:
https://github.com/railwayapp/nixpacks/pull/992
cd nixpacks/examples/rust-cargo-workspaces
nixpacks build .

Expected behavior
build successful
Environment
NAME="Linux Mint"
VERSION="21.2 (Victoria)"
nixpacks --version
nixpacks 1.17.0

Maybe this can be fixed by bumping the rust version of nixpacks

repo: railwayapp/nixpacks


text:
Error Loading Vault

My bitwarden vault is logged in and works just fine with the bitwarden cli, for example 'bw get password runescape.com' does return my password 2without any further input required. However my vault is self hosted and I think this may be the reason it doesnt work with his runelite plugin, even if I do bw unlock and copy a new session key it still just reports error loading vault.

I don't think this works with the bitwarden rust server. Make sure bw is in your PATH I guess.

currently facing a similar issue! i can also get into bw via CLI set my session key and getting the same error, i am fairly sure bw is in my path

Similar story here: it seems the plugin doesn't work with "linux". Had it working on multiple windows 10 machines, also tested in on a couple of distros without success: Fedora 33 & 34; Ubuntu 20.10, PopOS 20.10 & 20.04 via some methods: snaps, AppImage, deb/rpm packages.

If you are able to dump the output from the plugin while running in a dev environment, that would be great. I can't setup a VM environment for linxu right now for whatever reason. I can try using a VM in unraid later.

Similar story here: it seems the plugin doesn't work with "linux". Had it working on multiple windows 10 machines, also tested in on a couple of distros without success: Fedora 33 & 34; Ubuntu 20.10, PopOS 20.10 & 20.04 via some methods: snaps, AppImage, deb/rpm packages.

I would try with the all platform jar from runelite.net. I think this stems from not being able to access the path in AppImage?

I can confirm that using the all platform jar allows the plugin to work.
Tested on Ubuntu 20.04.2 LTS

Indeed it looks like with the all-platforms jar for RuneLite it works correctly.(I was using the AppImage / Lutris(which still uses the AppImage version presumably) )
The issue for me personally is solved.
If there's not too much trouble however it would be nice to be able to select the folder/path in case auto-detection fails(maybe through the plugin settings, if possible).
I understand though that this is beyond the scope so far.Cheers and thanks for the plugin.

Indeed it looks like with the all-platforms jar for RuneLite it works correctly.(I was using the AppImage / Lutris(which still uses the AppImage version presumably) )
The issue for me personally is solved.
If there's not too much trouble however it would be nice to be able to select the folder/path in case auto-detection fails(maybe through the plugin settings, if possible).
I understand though that this is beyond the scope so far.Cheers and thanks for the plugin.

I've thought about creating a config to specify path to the executable but I haven't been able to create linux VM's for a while now to test if it even fixes the appimage.

Added a configurable path in the recent version.

authors: BSeboo cagesitter ibrokemypie iligalodin raiyni

repo: raiyni/bitwarden-plugin


text:
FIMO scans

Do you have any tips on using FIMO for scanning? I'm doing de novo motif discovery on open chromatin, and I know msCentipede requires being a good number of true binding sites, but it's hard to know whether I actually am feeding it binding sites without any ChIP data. Got any tips?

In the paper describing msCentipede, we didn't use FIMO to select putative binding sites. We selected motif sites for which the ratio of likelihood of the position weight matrix for the transcription factor to the likelihood of a uniform background matrix is high (> 1000). You could use a simple peak caller on the ATAC-seq / DNase-seq data, and ensure that a reasonable fraction of motif sites in the training set fall within these peaks.

authors: daquang rajanil

repo: rajanil/msCentipede


text:
🛑 PlayStore API is down

In beed402, PlayStore API (https://api-playstore.rajkumaar.co.in) was down:

HTTP code: 500
Response time: 3065 ms

Resolved: PlayStore API is back up in c159360.


text:
add handlebars like tag for uuid insertion into bodies

Some kinds of requests need some kind of unique ID in the body of a request and need that to be unique no matter how many times in the body, and unique from request to request.
Something like:
{hey_uuid}

I've possibly implemented it here:
https://github.com/markFromMST/hey/commit/99677b9f99932a0fbf948f2bfbc7a5d752e3b136
However, I haven't been able to test it yet and this is literally the first thing I have done in go and so I have no idea if it is the most efficient way or not yet.

repo: rakyll/hey


text:
rename with rly-network organization name

Required prep step before publishing to npm

We should communicate in the CG slack channel about this breaking change. That way Luis knows to update imports if/when he updates.

authors: botdad rweald

repo: rally-dfs/rly-network-mobile-sdk


text:
Researching on how to turn the position of the chessboard table.

[ ] Look at different mods that have this functionality.

This should just be changing the BlockState. When you right-click with the Wrench, pull up the current blockstate and check the direction with a switch and then set the new direction based on the current, North -> East -> South -> West -> North

repo: ramou/ChessMod


text:
PHP8 support

This PR adds PHP8 support
How Has This Been Tested?
Tested using Composer's --prefer-lowest both on PHP7 and PHP8
Types of changes

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

Checklist:

[x] My code follows the code style of this project.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.
[x] I ran composer phpunit locally and there were no failures or errors.

Thank you for contributing! 🎉

authors: orkhanahmadov ramsey

repo: ramsey/http-range


text:
UUID equals case-insensitive

Fixes https://github.com/ramsey/uuid/issues/131

Added test cases for equals, compareTo, and fromString.
Added strtolower in fromString so all UUID created from a string will be converted into lowercase.

Coverage increased (+0.006%) to 96.445% when pulling 65cc76f72120a7784cf9e324351278f2cb8c11cc on jmauerhan:compare-lowercase into 67fc99a93b684d44ff35661e857aed2d4f99bf99 on ramsey:master.

Coverage increased (+0.006%) to 96.445% when pulling 65cc76f72120a7784cf9e324351278f2cb8c11cc on jmauerhan:compare-lowercase into 67fc99a93b684d44ff35661e857aed2d4f99bf99 on ramsey:master.

Looks great. Thanks, and happy Hacktoberfest! :-)

authors: coveralls jmauerhan ramsey

repo: ramsey/uuid


text:
Quarterly Earnings (yf.Ticker.quarterly_earnings) returns very different results from session to session.

I just upgraded to latest yfinance, but still noticing this issue:
When pulling quarterly earnings for ticker ASAN, I notice the values change from session to session. I've taken screenshots where I've managed to capture this difference in result. I've been able to replicate the error but it seems to be random.  I also noticed it with AAPL but that's as far as I got and haven't been able to QA any other tickers.

Notice that one is simply two periods back
I mentioned before (after thorough checks) that yahoo finance takes the
data randomly from various websites, per run
yfinance just mitigates it to the caller
So not a yfinance issue
בתאריך יום ה׳, 9 בדצמ׳ 2021 ב-19:55 מאת enigma @.***>:

I just upgraded to latest yfinance, but still noticing this issue:
When pulling quarterly earnings for ticker ASAN, I notice the values
change from session to session. I've taken screenshots where I've managed
to capture this difference in result. I've been able to replicate the error
but it seems to be random. I also noticed it with AAPL but that's as far as
I got and haven't been able to QA any other tickers.
[image: ASAN3]
https://user-images.githubusercontent.com/34148109/145449705-184df4b2-7401-4b92-8ead-ec0ab084ac57.PNG
[image: ASAN2]
https://user-images.githubusercontent.com/34148109/145449709-351a7bde-59f9-48ae-a061-50ed270cfbcd.PNG
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ranaroussi/yfinance/issues/904, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AK7ZJS6IPEXMEZTXD5QXLHDUQDURVANCNFSM5JXC6GAA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--
Asaf - אסף

oh i see, that is interesting. ok good to know, thanks

repo: ranaroussi/yfinance


text:
Fixes k8s service listener for non-admin install

Fixes: https://github.com/rancher-sandbox/rancher-desktop/issues/4124
This will allow us to forward the port mappings to the privilegedService using the portTracker or usinglistenerTracker to start the listeners locally. Please note that I will be putting all these trackers in an interface to make the code cleaner in the future. https://github.com/rancher-sandbox/rancher-desktop-agent/issues/30

I don't love it, but with the promise of #30 I can at least live with it for now.

I agree, but I intentionally didn't want to make too many changes (implementing interfaces etc) just because that would require testing docker, containerd, and k8s. At this point It's best to keep the scope of changes small.

repo: rancher-sandbox/rancher-desktop-agent


text:
Enable cli completion

Enables the  --generate-bash-completion flag provided by urfave/cli
Documentation can be found at https://github.com/urfave/cli/blob/main/docs/v2/examples/bash-completions.md
Completion scripts can be found at https://github.com/urfave/cli/tree/main/autocomplete

This feature would be greatly appreciated..

authors: SSvilen klippo

repo: rancher/cli


text:
Missing namespace in Related Resources

The Related Resources lists are missing the namespace entries for namespaced resources.

Fix works fine in master-head (5aa95f2)

authors: bashofmann kravciak

repo: rancher/dashboard


text:
Output of standalone build script fails to run

the output of  scripts/standalone ./package.sh works if extracted to within the dashboard folder structure, but not if outsideError: Cannot find module 'http-proxy-middleware'
Require stack:
- /home/richard/dev/deleteme/index.js

Obvious issue, not obvious solution. I've tried

manually updating the require to use a file path to the local node_modules (this unravels quickly - there are similar issues for some of the dependencies)
building with different versions of node
using NODE_PATH pointing to the local node_modules
using a symlink from local node_modules to point to a default node_modules location like $HOME/.node_modules
clicking my heels together three times and saying there's no place like node_modules

Couple of useful links

https://nodejs.org/docs/v16.14.0/api/modules.html#loading-from-the-global-folders
https://nodejs.org/docs/v16.14.0/api/modules.html#all-together

@richard-cox Think this is fixed now?

Fixed via https://github.com/rancher/dashboard/pull/6634

authors: nwmac richard-cox


text:
Fix KeyValue Component.

Summary

#7073

Technical notes summary
Currently within KeyValue component this.value is not mutated. It's been mapped to data.rows. So user can add multiple key/values without mutating the this.value.
For CustomLink Component, if applying defaultValues  then this.value need to remapped to data.rows again.
So proposed solution is pass the defaultValue already at the component initialisation as well as override this.value when resetting to default.

Codecov Report
Base: 36.30% // Head: 36.78% // Increases project coverage by +0.48% :tada:

Coverage data is based on head (4038d85) compared to base (29e666c).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7093      +/-   ##
==========================================
+ Coverage   36.30%   36.78%   +0.48%
==========================================
  Files         967      977      +10
  Lines       17225    17254      +29
  Branches     4463     4482      +19
==========================================
+ Hits         6253     6347      +94
+ Misses      10972    10907      -65

Flag
Coverage Δ

e2e
47.35% <ø> (+0.59%)
:arrow_up:

merged
36.78% <ø> (+0.48%)
:arrow_up:

unit
5.29% <ø> (+<0.01%)
:arrow_up:

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

Impacted Files
Coverage Δ

shell/components/form/KeyValue.vue
100.00% <ø> (ø)

shell/pages/c/_cluster/settings/links.vue
0.00% <ø> (ø)

shell/plugins/plugin.js
51.61% <0.00%> (-28.39%)
:arrow_down:

shell/utils/grafana.js
12.76% <0.00%> (-21.93%)
:arrow_down:

shell/plugins/steve/steve-class.js
33.33% <0.00%> (-16.67%)
:arrow_down:

shell/plugins/extend-router.js
56.00% <0.00%> (-8.00%)
:arrow_down:

shell/utils/url.ts
38.88% <0.00%> (-1.39%)
:arrow_down:

shell/models/provisioning.cattle.io.cluster.js
63.80% <0.00%> (-0.53%)
:arrow_down:

shell/utils/socket.js
48.52% <0.00%> (-0.50%)
:arrow_down:

shell/nuxt.config.js
0.00% <0.00%> (ø)

... and 37 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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

authors: Shavindra codecov-commenter


text:
Updating nginx information

Based on functional testing and usage. Happy to update more, but let me know if this is how you want this documented.

I don't see how a container name can change the behavior, this probably needs some more context before we can change anything. Are you running it inside docker-compose or some other way?
I'd like to know what is wrong before changing anything, can you supply exact steps to reproduce the setup where Rancher doesn't handle the requests (and can you also elaborate what that means exactly?)

@superseb when you run nginx in a container the "hostname" that request is coming from becomes the container id rather than the machine name. That is why you need to set the container hostname to the same thing as the machine you are coming from. When you launch rancher in helm, you set the address that rancher expects the requests to come from. If the requests come from anywhere else but the host that it expects the requests from you get a 404 backend.
To reproduce:

Get 4 vms or aws instances or 4 physical machines and load docker onto them per the rancher instructions.
run the nginx load balancer in a container on a machine and point that nginx at the other 3 machines
deploy the kubernetes cluster with rke to the other 3 machines
helm install cert manager and rancher per the instructions, and set the expected hostname to the name of the machine

helm install rancher-stable/rancher \
  --name rancher \
  --namespace cattle-system \
  --set hostname=machine1

In the browser navigate to machine1's address
This should fail
docker stop and docker rm the nginx container on machine1
run the same docker container, but this time set the hostname of the container to machine1
Does that provide more detail/context?

@superseb any thoughts?

@superseb I am good with the changes you made. Do I need to actually go off and implement them and submit a follow on pull request?

This was not reproduced and not hit by anyone, if you have a set of instructions to reproduce this behavior in an automated fashion on a cloud, I would love to run it and debug it.

authors: mjschmidt superseb

repo: rancher/docs


text:
e2e: test uefi secure boot

Test UEFI boot with Secure Boot enable as soon as the issues we have are fixed.

Waiting for a fixed grub2 package in SLE Micro :-/

Not blocked anymore :D

Planned for next sprint!

Fixed with PR #520.

authors: Itxaka kkaempf ldevulder

repo: rancher/elemental


text:
Containers can get orphaned and stuck when running in rootless mode

When running rootless mode if you kill the agent the old containers will stick around but they are in an orphaned network namespace.
This is a tracking issue for https://github.com/rancher/k3s/pull/1343

This is a tracking issue for #1343

Just to confirm, you mean that #1343 resolves this issue?

Unable to install k3s with --rootless flag. k3s does not start.
Env and Steps followed.
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.3 LTS"

sudo apt-get install uidmap
Reading package lists... Done
Building dependency tree
Reading state information... Done
uidmap is already the newest version (1:4.5-1ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

ubuntu@ip-172-31-9-159:~$ cat /etc/subuid
lxd:100000:65536
root:100000:65536
ubuntu:165536:65536

ubuntu@ip-172-31-9-159:~$ cat /etc/subgid
lxd:100000:65536
root:100000:65536
ubuntu:165536:65536

export KUBECONFIG=~/.kube/k3s.yaml

./k3s server --rootless >k3s.log 2>&1 &
[1]+  Exit 1                  ./k3s server --rootless > k3s.log 2>&1

cat k3s.log
time="2020-04-24T19:57:23.087549729Z" level=fatal msg="failed to setup network &{binary:slirp4netns mtu:65520 ipnet:0xc0008957d0 disableHostLoopback:true apiSocketPath: enableSandbox:false enableSeccomp:false}: waiting for ready fd (/home/ubuntu/.rancher/k3s/data/1cd84d78e73d1835ec46d86660cd74dd4d52357ced9b4050a211168c4b1da90a/bin/slirp4netns --mtu 65520 -r 3 --disable-host-loopback --cidr 10.41.0.0/16 1986 tap0): slirp4netns failed"
time="2020-04-24T19:57:23.089651925Z" level=fatal msg="child diedparsing message from fd 3: EOF"

slirp4netns not installed?

@AkihiroSuda Thanks for quick response. I was not able to install slirp4netns.
sudo apt install slirp4netns
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package slirp4netns

As per the ReadMe https://github.com/rootless-containers/slirp4netns, it should be Ubuntu19.04 or later.
Will test on Ubuntu 19.04.

Binary is here
https://github.com/rootless-containers/slirp4netns/releases/tag/v1.0.1

@AkihiroSuda slirp4netns  is already installed as part of k3s as seen in the error log above. Ubuntu version 20.04 as well seems to have the same error.

I can repro the issue. Seems a regression happened recently.

Does reverting https://github.com/rancher/k3s/pull/1343 solve the issue?
(I'm trying to confirm but I can't compile k3s)

Let's track the slirp4netns issue in https://github.com/rancher/k3s/issues/1709

@ShylajaDevadiga lowered rank in zube while waiting for #1709 fix.

The current master (c8282f4939ea8e36b5411936ed174787eaefaccc) seems working well for rootless

@AkihiroSuda @cjellick you feel comfortable closing this out?

yes

authors: AkihiroSuda ShylajaDevadiga brandond cjellick davidnuzik


text:
Host list should be sorted by host name

Current each refresh will bring different orders of the host list.

fixed  @yasker

authors: loganhz yasker

repo: rancher/longhorn-ui


text:
wireless connection

RancherOS Version: (ros os version) 0.5.0
Where are you running RancherOS? (docker-machine, AWS, GCE, baremetal, etc.) ?baremetal
hi. is it possible to connect to wifi?
i know i need to provide wpa-ssid and wpa-psk to connect.
in ubuntu i just need to edit network interfaces
auto wlan0
iface wlan0 inet static
address <192.168.*.*>
gateway 192.168.1.1
netmask 255.255.255.0
wpa-ssid <WIFI ID>
wpa-psk <WIFI PASSWORD>
dns-nameservers 8.8.8.8 191.168.1.1

how do i do this in rancher os?

The default RancherOS kernel doesn't contain any wireless drivers. There should be a system service for installing these in the next release.
RancherOS networking configuration might also need a few fields added to properly support wireless. This part could be done manually until these fields are added.

yes that would be really helpful.

Once again, what a pity! hypriot do a great job on raspberry pi, but push swarm ahead (ok many of them work at docker); it might be nice to have rancheros on pi with k8s instead! but for that, I would like to have a private net and a public net, so I need the wifi card. I hope this time it will be integrated in 0.8 and not postponed to 0.9 or 0.10.

We're trying.  Honestly it's quite hard to support a raspberry pi when it's not your primary objective.  We are getting there.

I do highly recommend hypriot, they do an excellent job at this.

Hi Darren,
I really understand your point of view, especially as I'm also running rancheros in production; but precisely it's because I'm in production that I would like to POC features on a home mini-DC. And as I told you, I well know hypriot, and I'm agree with you, but I don't run hypriot on production :)

So wireless is still coming.  We decided we needed to release 0.7 earlier than expected.  That is the only reason why this is assigned to v0.8.0.  So the timeframe didn't change, just the release number.

awesome, I look forward to it!

Wireless is working with kernel-extras enabled. Added a wpagui container to manage it successfully.
Buit waiting for 0.8 because of compose v2 syntax support.

Concerning wireless to come, will networking configuration allow Access Point mode ?

@fribes that probably depends on what contributions are made to implement it.

Really looking forward to wireless capabilities for the RPi3 + Rancher OS. Thanks for all your great work this far, very appreciated!

Given that OS is at v1 already, is there any documentation on how to get this set up, or is it still not ready? I have a Pi and want to set up Wifi.

my release's focus for v1.1.0 is making VMware support solid - we're still working on server side usage, so RPI and desktop are things that are mostly in the "if you want it, please help make it happen" phase.
That said, today I'm working on getting the docker engines up to date on ARM and ARM64, and was looking into the auto_resize problem, and an ARM64 img for RPI3 - but I don't have that much time to devote to non-server use.

What's the status on this?

Can I use this?
http://rancher.com/docs/os/v1.1/en/configuration/loading-kernel-modules/

has this been implemented? I've installed 1.3.0 and ifconfig dos not list wlan0....what is the status of this?

RPI and desktop are things that are mostly in the "if you want it, please help make it happen" phase.

Is there anywhere we can see what is missing, and what the plan is, in case we want to help make it happen?

I just checked Pi 3, the modules of brcmfmac and brcmutil are already there. The only thing missing is brcmfmac43430-sdio.bin, the firmware.
And wpa_supplicant is in, os_base, I think. Now my WiFi works.

@mattmccarty Then modprobe brcmfmac, you should see wlan0 then.

So @Magicloud 's answer almost worked for me on my RPI3b. I had to do one more thing - add "brcmfmac43430-sdio.txt"
Here are the steps I followed:

Visit the https://github.com/RPi-Distro/firmware-nonfree/tree/master/brcm page in the RPI-Distro repository
Download https://github.com/RPi-Distro/firmware-nonfree/blob/master/brcm/brcmfmac43430-sdio.bin and https://github.com/RPi-Distro/firmware-nonfree/blob/master/brcm/brcmfmac43430-sdio.txt
Create the /lib/firmware/brcm directory on the rootfs partition of your sdcard
Copy both of the files you downloaded to the new directory
Start the RPI
run modprobe -r brcmfmac
run modprobe brcmfmac
run iwconfig and check for wlan0

Thanks @Magicloud! You saved me a bunch of time.

@mattmccarty Ah, that text file, I forgot had it before. Thanks for the summary.

any update on this ? Soon 2019

Ah that thing with 'brcmfmac43430-sdio' does not work. I'm using the 1.5.0-rc.
Something with 'Direct firmware load for brcmfmac43455-stdio.bin failed with error -2'
'unhandled level 2 translation unit (11)'
'brcmf_sdio_htclk: HT Avail timeout 1000000... clkctl 0x50'
The good question is why 'brcmfmac43455-stdio.bin' and not 43430...

authors: Magicloud SvenDowideit TheAifam5 fribes fudekun hardcoar ibuildthecloud joshwget jupl karneaud kevinelliott mattmccarty mortenlj pwFoo saphoooo wikar

repo: rancher/os


text:
Catalog Apps - add rancher-charts to the global catalog page and set helm stable disabled on default

add rancher-charts to the global catalog page and set helm stable disabled on default

rancher/charts is added on default on master 04/23, close this issue.

repo: rancher/rancher


text:
Service Discovery entries dont show up until manually refreshed,

**Rancher versions: Build from master
Steps to Reproduce:
Create workload.
Go to "Service Discovery" tab.
Service entry created for this workload does not show up in the list unless UI is refreshed manually.

@vincent99 I see resource.change event being generated on the service created natively, but by some reason UI doesn't display the newly created service. Do you see anything off with this event/its fields?

@alena1108  I can reproduce the issue that UI doesn't display the new created service using kubectl until you refresh the page.
It will be fixed in https://github.com/rancher/ui/pull/1897
But if I create a worklaod via Rancehr UI in rancher/rancher:master.
I can not see the resource.change in websocket for the dnsRecord of the new created worklaod.

@loganhz I'll look into the second part

authors: alena1108 loganhz sangeethah


text:
Rancher-generated labels must not be cloned when cloning a workload.

Rancher versions:
rancher/rancher:v2.0.4
rancher/rancher-agent:v2.0.4
Steps to Reproduce:
Use rancher UI's workload "Clone" operation, the rancher-generated labels are all cloned which is not I expected:
workload.user.cattle.io/workloadselector
etc.

Results:
Mixed labels for different workloads.

Fixed in v2.0.5: https://github.com/rancher/rancher/issues/14034

authors: happyyangyuan superseb


text:
kubelet logs filled with "streamwatcher.go:103] Unexpected EOF during watch stream event decoding: unexpected EOF" when connecting via nginx-proxy

Version: master 8/6
Logs of kubelet connecting via nginx-proxy are filled with:
I0806 14:27:53.862021    5166 streamwatcher.go:103] Unexpected EOF during watch stream event decoding: unexpected EOF
I0806 14:27:53.863139    5166 streamwatcher.go:103] Unexpected EOF during watch stream event decoding: unexpected EOF
I0806 14:28:03.870957    5166 streamwatcher.go:103] Unexpected EOF during watch stream event decoding: unexpected EOF
I0806 14:28:03.871023    5166 streamwatcher.go:103] Unexpected EOF during watch stream event decoding: unexpected EOF
I0806 14:28:03.871036    5166 streamwatcher.go:103] Unexpected EOF during watch stream event decoding: unexpected EOF
I0806 14:28:08.874773    5166 streamwatcher.go:103] Unexpected EOF during watch stream event decoding: unexpected EOF
I0806 14:28:08.874922    5166 streamwatcher.go:103] Unexpected EOF during watch stream event decoding: unexpected EOF
I0806 14:28:08.875439    5166 streamwatcher.go:103] Unexpected EOF during watch stream event decoding: unexpected EOF
I0806 14:28:15.396979    5166 streamwatcher.go:103] Unexpected EOF during watch stream event decoding: unexpected EOF
I0806 14:28:15.397267    5166 streamwatcher.go:103] Unexpected EOF during watch stream event decoding: unexpected EOF
I0806 14:28:15.397481    5166 streamwatcher.go:103] Unexpected EOF during watch stream event decoding: unexpected EOF
I0806 14:28:20.649280    5166 streamwatcher.go:103] Unexpected EOF during watch stream event decoding: unexpected EOF

While its INFO, raising the timeout to 30 eliminates the logs with appear every 5/6/7 seconds and is quite annoying.

@aijanai
You should see the kubecfg on the node pointing to the local port nginx-proxy is listening on.
cat /etc/kubernetes/ssl/kubecfg-kube-node.yaml  | grep server
# server: "https://127.0.0.1:6443"
docker exec nginx-proxy cat /etc/nginx/nginx.conf | grep listen
# listen        6443;

rancher/rancher:master 9/5
Verified the proxy_timeout is set to 30 and the offending log statements are no longer present.

Looking at the git blame, I see that it originally was set to 10 minutes. This explains why I started hitting this once I've upgraded to 2.1.0.

For me 30s is also way too low. When helm fails, it's leaving the chart in a strange place.
Example from a failed helm install because of this timeout:
$ helm upgrade --install   --values values.yaml   --timeout 600 --namespace management monitoring ./
Error: UPGRADE FAILED: no PodSecurityPolicy with the name "prometheus" found

In this case I fixed it with  helm upgrade --install   --values values.yaml   --timeout 600 --namespace management monitoring, but it's not fun.

authors: bmdepesa cristifalcas superseb xaralis


text:
EKS does not allow less than 3 worker nodes

What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):

Click add cluster
Select EKS cluster
input access key and secret key, click next
set max number of nodes to 1 or 2
Create cluster

Result:
cluster creation will fail with error message Error creating stack: stack failed to create: Desired capacity:3 must be between the specified min size:1 and max size:1.
Other details that may be helpful:
When the template was last updated we added a NodeAutoScalingGroupDesiredCapacity parameter to the template but did not supply it a value when we create the cluster.  We need to add this capacity field to the KE driver interface or else remove it from the template.
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): master
Installation option (single install/HA): single node

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): eks
Machine type (cloud/VM/metal) and specifications (CPU/memory): N/A
Kubernetes version (use kubectl version): N/A

(paste the output here)

Docker version (use docker version): N/A

(paste the output here)

I also ran into this today. v2.2.2-rc7 I just wanted to create an EKS cluster with min 1 max 1 for testing purposes. The cluster creates successfully in EKS without any issues; only rancher reports this issue.

Running into this as well. @nathan-jenan-rancher Can you link to the template you are referencing to? Will try to create a PR if that fix is useful.

When we fix, need to make sure that we do not break/change the behavior of existing clusters

Ran into this issue as well. Is there any way the desired node capacity can be configurable via Rancher? The autoscaling group always defaults to 3 nodes as the desired capacity which is A LOT of cases could be an incorrect assumption.

Will be tested when the UI is merged. Expected to see there is only one value being sent to the backend and it will be used to set the min, max and desired.

https://github.com/rancher/rancher/issues/22097#issuecomment-520910243 UI issue has been tested end to end. I don't think any other testing is required unless is specific to API.

@davidnuzik 's test is sufficient to validate the bug fix. Thank you David.
Also checked that the ssh key used for nodes is the one picked during creating process.

I am using 2.2.8 version of rancher . still the issue prevails . Have inputted 1 for min & max ASG. However the cloud formation script framed by rancher still defaults the desired to 3 .
NodeAutoScalingGroupDesiredCapacity | 3 | -
NodeAutoScalingGroupMaxSize | 1 | -
NodeAutoScalingGroupMinSize | 1 | -
Error : Desired capacity:3 must be between the specified min size:1 and max size:1 (Service: AmazonAutoScaling; Status Code: 400; Error Code: ValidationError; Request ID: fc0e7edd-c440-11e9-be03-d336ff22f57a)

Hi @vasanthapriya-svp, this will be included in the official 2.3.0 release. You can follow our releases page to see when that is out, or see our roadmap for target dates.

authors: cbron cjellick davidnuzik ishantanu jiaqiluo nathan-jenan-rancher siddharthlatest vasanthapriya-svp


text:
Memory usage in UI seems confusing and/or wrong

What kind of request is this (question/bug/enhancement/feature request):
A … question? Bug? You tell me. :)
Steps to reproduce (least amount of steps as possible):

Look at cluster's home page
Try to understand what's going on

Result:
Mostly confusion.

So reserved and used memory are supposedly almost identical but still make up a completely different percentage of the total. This doesn't seem right. What am I missing?
Other details that may be helpful:
According to the cluster “metrics graph” below, set to “summary”, memory consumption is 4.5 %.
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): v2.2.4
Installation option (single install/HA): standalone

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): Custom
Machine type (cloud/VM/metal) and specifications (CPU/memory): Bare metal/VMs, a bunch of totally different machines
Kubernetes version (use kubectl version): 1.14.1
Docker version (use docker version): 18.9.6

Fixed in https://github.com/rancher/rancher/issues/23786

authors: loganhz rbq


text:
[UI] Cluster Templates - Glitch in drop down when create cluster with template

Version: master-head (7/22/19)
What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):

Create a cluster template "T1" and make two revisions "rev1" and "rev2" share it to a standard user "user1"
Login as user1 and try to create a cluster, pick the template "rev1" it may glitch out on the screen and go back to "Select a cluster template". Pick "rev2" and it may work, or may not and will pick "Select a cluster template" again.

Result:
The issue isn't always reproducible we have reproduced 2 of 3 times tried. You may need to have several cluster templates first. We tried but could not identify a root cause. There are no browser dev console errors, but we did notice when the issue happens the page is refreshing -- we see a GET for the role templates each time. It seems to be more common when pick "rev2" revision.

Version: master-head (8/2/19)
I follow the same repro steps:

Create a cluster template "T1" and make two revisions "rev1" and "rev2" share it to a standard user "user1"
Login as user1 and try to create a cluster, pick the template "rev1" it may glitch out on the screen and go back to "Select a cluster template". Pick "rev2" and it may work, or may not and will pick "Select a cluster template" again.

I am not able to reproduce anymore. This initially wasn't always reproducible so I tried several different ways with different templates shared to me, etc. I still cannot reproduce any longer so I consider the issue resolved and validated.


text:
[Forwardport] Fix node dashboard "Docker Version" to change label to "Containerd Version" when containerd detected

Forwardport rancher/rancher#21099

Available in master

Verified on 2.3.1

Import a k3s cluster in Rancher UI
Node dashboard shows "Docker Version: containerd "

Verified on master head latest - ui tag: latest2

Import a k3s cluster in Rancher UI


text:
Forwardport: Login fails for users with escaped comma in CN when using Active Directory LDAP authentication

Forward port: https://github.com/rancher/rancher/issues/22192

The feature is validated in rancher\rancher:master-head version d6a9d4509.
Enable authentication with Active Directory.
Connect to AD management server via Microsoft Remote Desktop
Add users with escaped comma.
Login as user with comma in dn.
Lock back in as admin and check that a "User" account is created on the Global->Users page for this user with comma in dn.
While on the Global->Users page click on the "Refresh Group Memberships" button.
Check Rancher's log to make sure there are no errors.

authors: aaronRancher mrajashree