text:
Better serialization support (KorGE)

As discussed in #86 it seems to be problematic that the Fleks entity does not have the @Serialization annotation which makes it more complicated on user side to serialize/deserialize the snapshots of a world.
The commit of #86 is part of a new branch: 2.3-korge-serialization

Things that we need to consider:

is kotlinx-serialization the standard to serialize/deserialize stuff? Or are there other libraries out there that people might use.

What is LibGDX using? I know that I was able to simply convert the snapshot to a  JSON string in LibGDX and store that in a preference (MysticGarden project)

if we add kotlinx-serialization as dependency, how much bigger does the library become? Currently it is very small because it has no dependencies at all besides standard kotlin. I'd like to keep it that way and ideally don't require the strong dependency at all.
Can we replace the entity value class with a typealias? What downsides does that have? Does normal Int then also get the entity extensions? If so, I don't like that solution because it polutes standard classes.
Entity as an interface: what impact does that have to performance?
Can we "generalize" the Fleks world and allow the user to override the used entity class and entity service? Per default it will use the current implementation.

Maybe something like:

val world = world {
  entityService = useDefault<UserCustomEntity>() // <-- default entity service with custom entity class
  // OR
  entityService = UserEntityService() // <-- custom service by the user with either his own entity class or the Fleks entity
}

// any custom entity class must provide an 'id' property to still work with the component index
// any custom entity service must provide the current entity service functions like create/remove/...

not sure how easy that is and if it is even possible because entity configuration and therefore also component configuration is happening in the current entity service. Not sure how a user could still provide this functionality in his own service.

Maybe don't allow the complete service "replacement". Just allow the ID creation/removal and keep all the other things like component assignment, etc. in the Fleks service. So just a part of the current Fleks entity service can be customized by users.

However, this approach might be good for some other issues that were discussed lately where people needed their own way to create/assign IDs.

is kotlinx-serialization the standard to serialize/deserialize stuff?

kotlinx.serialization is the standard for serializing in Kotlin multiplatform. It works for jvm, js/web and native targets. Downside is that it needs @Serializable annotation on each non-primitive object which should  be serialized. So that the Kotlin compiler plugin can automatically create code needed for serialization of the objects.
It is possible to write KSerializers for objects from 3rd party libs where it is not possible to add the annotation, but that requires some boilerplate code in your game serialization code. Thus, it would be good if we could either add the annotation in Fleks, reduce Entity to a primitive/interface type or decouple its creation from Fleks so that the Entity object can be annotated outside of Fleks. I guess these are the options we have.
Also it depends on what your target is. If you use Fleks only on jvm than there might be better (easier) serialization libs.
BTW I like the idea of "Just allow the ID creation/removal" outside of Fleks. I think it's worth looking into this. :)

is kotlinx-serialization the standard to serialize/deserialize stuff?

It is, if this library focuses on the kotlin ecosystem then it should be used.
Even if it is jvm only, it can still be desirable.

This is definitely the easy solution for now and I think it is what @jobe-m is doing.I think the library size also dies not grow by a lot (12kb or so?).
But still, I want to look into the option that users can provide their own way of creating/removing and recycling an ID as mentioned in the opening post.
Unfortunately I had no time so far but I still have it in the back of my head and won't forget it!
Unrelated but I think we should also rename the world method. I already got a few comments where people got confused by it. They tried to call it with capital W and got an error sind that it not allowed. The World constructor is internal.
I remember that IntelliJ did not suggest the constructor for me and that's why I thought it is a good enough solution but seems like others have a starting problem with it. Maybe something like newWorld or World.of or createWorld is better.

I just tried a quick&dirt implementation to allow users to override the way entities are created/removed and this is the minimum interface I could come up with:
interface EntityProvider {
    var nextId: Int

    fun create(): Entity

    fun prepareNextEntity(id: Int)

    fun remove(entity: Entity)

    fun isRemoved(entity: Entity): Boolean

    fun numEntities(): Int

    fun contains(entity: Entity): Boolean

    fun forEach(action: (Entity) -> Unit)

    fun reset()
}

So basically, someone needs to provide a way to create/remove entities and also a special way to create a specific entity the next time create is called (prepareNextEntity). This is needed for the loadSnapshot functions.
That's the default implementation which Fleks is currently using:
class DefaultEntityProvider(initialEntityCapacity: Int) : EntityProvider {
    /**
     * The id that will be given to a newly created [entity][Entity] if there are no [recycledEntities].
     */
    override var nextId = 0

    /**
     * Separate BitArray to remember if an [entity][Entity] was already removed.
     * This is faster than looking up the [recycledEntities].
     */
    @PublishedApi
    internal val removedEntities = BitArray(initialEntityCapacity)

    /**
     * The already removed [entities][Entity] which can be reused whenever a new entity is needed.
     */
    @PublishedApi
    internal val recycledEntities = ArrayDeque<Entity>()

    override fun numEntities(): Int = nextId - recycledEntities.size

    override fun create(): Entity {
        return if (recycledEntities.isEmpty()) {
            Entity(nextId++)
        } else {
            val recycled = recycledEntities.removeLast()
            removedEntities.clear(recycled.id)
            recycled
        }
    }

    override fun prepareNextEntity(id: Int) {
        recycledEntities.remove(Entity(id))
        recycledEntities.addLast(Entity(id))
    }

    override fun remove(entity: Entity) {
        removedEntities.set(entity.id)
        recycledEntities.add(entity)
    }

    override fun isRemoved(entity: Entity): Boolean = removedEntities[entity.id]

    override fun forEach(action: (Entity) -> Unit) {
        for (id in 0 until nextId) {
            val entity = Entity(id)
            if (removedEntities[entity.id]) {
                continue
            }
            action(entity)
        }
    }

    override fun reset() {
        nextId = 0
        recycledEntities.clear()
        removedEntities.clearAll()
    }

    override fun contains(entity: Entity): Boolean {
        return entity.id in 0 until nextId && !removedEntities[entity.id]
    }
}

I am not 100% convinced that this is the right way to go because I am not sure if a user knows all the details and information to provide a proper implementation for all methods. What do you guys think?

Sorry, I will respond a bit later since I am currently occupied with offtopic stuff ... But want to test it out for sure! :)

From a quick read through I saw that the Entity class is still part of Fleks. It is used as type in the interface above. Do you plan to decouple the entity type also from Fleks? At least that would be needed if we want to annotate it outside of Fleks for serialization. But I am also fine if it stays inside of Fleks and we have the annotation for serialization there. :)

is kotlinx-serialization the standard to serialize/deserialize stuff?

It is, if this library focuses on the kotlin ecosystem then it should be used. Even if it is jvm only, it can still be desirable.

Half offtopic remark.
One pretty big advantage of kotlinx-serialization is that it is compatible with graalvm native images (no reflections, no setup required). That is still desirable for a video game imo, as native images can drastically improve startup times (up to 10-20x). Your players want to wait as little as possible, and it gives you that with less effort.
Can also possibly result in free console support, if there is a build of graalvm for the playstation for example. (yes I know, stuff like LWJGL still needs to be ported but you get the gist of it)

is kotlinx-serialization the standard to serialize/deserialize stuff?

It is, if this library focuses on the kotlin ecosystem then it should be used. Even if it is jvm only, it can still be desirable.

Half offtopic remark.
One pretty big advantage of kotlinx-serialization is that it is compatible with graalvm native images (no reflections, no setup required). That is still desirable for a video game imo, as native images can drastically improve startup times (up to 10-20x). Your players want to wait as little as possible, and it gives you that with less effort.
Can also possibly result in free console support, if there is a build of graalvm for the playstation for example. (yes I know, stuff like LWJGL still needs to be ported but you get the gist of it)

Thanks for the info. Kotlinx serialization was already added now in #92 .
So this part of the issue is resolved.
Now I only want to look if there is a good solution to decouple ID (=entity) creation and allow custom implementation by users.

Q: If Entity is the only serialized class and is simply an ID container, how would the state of it's components be serialized?

Q: If Entity is the only serialized class and is simply an ID container, how would the state of it's components be serialized? I guess you could also phrase it as: how does world-state get serialized & replicated

The actual serialization of the components of an entity is happening outside of Fleks. It is done by serializing a "snapshot" of the Fleks ECS world. You can see how this works in the unit test of korge-fleks here:
https://github.com/korlibs/korge-fleks/blob/9c693b626aecafa74f9effa0946366b2ab3b2d7a/korge-fleks/src/commonTest/kotlin/com/soywiz/korgeFleks/components/CommonTestEnv.kt#L26
A little bit of magic is still needed around the serialization which is implemented here in korge-fleks:
https://github.com/korlibs/korge-fleks/blob/main/korge-fleks/src/commonMain/kotlin/korlibs/korge/fleks/utils/SnapshotSerializer.kt

I know that the @Serializable tag has been added to the Entity class (🥳) and that I'm late to the party, but I figured I'd mention my solution here in case kotlinx serialization gets yoinked from Fleks. I solved this without marking Entity as serializable by using a contextual serializer for the entity class instead, which serializes an entity as an Int - similar to what @jobe-m mentioned with the type alias.
object EntitySerializer : KSerializer<Entity> {
    override val descriptor: SerialDescriptor = PrimitiveSerialDescriptor("Entity", PrimitiveKind.INT)
    override fun serialize(encoder: Encoder, value: Entity) = encoder.encodeInt(value.id)
    override fun deserialize(decoder: Decoder): Entity = Entity(decoder.decodeInt())
}

Which one would add to their serializer module;
private val format = Json {
  serializersModule = SerializersModule {
    contextual(EntitySerializer)
  }
}

Which works perfectly, the only downside is that all instances of Entity in a serializable component need to be marked with @Contextual;
@Serializable
@SerialName("foo")
data class FooComponent(
    val otherEntities: MutableList<@Contextual Entity>
) : Component<Foo>, SerialisableComponent {
  //...
}

Thanks for sharing your solution as well! I try to finalize the new version of Fleks within the next two weeks. I was super busy the last weeks with moving to a new appartment with my family and my little son also demands more time than I had expected :D I don't have that much spare time anymore but I will try my best to deliver the new version soon!
I personally find it weird that it isn't so easy - at least it seems - to serialize/deserialize an entity. In the end it should be just a plain int. At least that is promised by Kotlin's value classes. I only have experience with LibGDX's serialization, which is basic JSON serialization/deserialization and there I had no issues. I am not that familiar with kotlinx-serialization and KorGE, sorry.
But I want to look into KorGE some more in the future and try to implement a simple game to see the differences to LibGDX and maybe I prefer it over LibGDX ;)

Let's keep it in because as discussed before it is the official way for kotlin multiplatform, it does not add a huge size to the bundled jar and it makes serialization life a little easier ;)

#93 is now merged into master. I will try to release version 2.4 in the upcoming weeks. This issue is resolved and we also added more flexibility with the new EntityProvider interface.

In my experience using an alternative would also be a clear downgrade. This is just so high quality.

authors: Frontrider JonoAugustine Quillraven geist-2501 jobe-m

repo: Quillraven/Fleks


text:
使用的模型 Qwen-7B-Chat启动卡主不动，且flash-attention，layer_norm，rotary都已安装

是否已有关于该错误的issue或讨论？ | Is there an existing issue / discussion for this?

[X] 我已经搜索过已有的issues和讨论 | I have searched the existing issues / discussions

该问题是否在FAQ中有解答？ | Is there an existing answer for this in FAQ?

[X] 我已经搜索过FAQ | I have searched FAQ

当前行为 | Current Behavior
==============================Langchain-Chatchat Configuration==============================
操作系统：Linux-3.10.0-1160.108.1.el7.x86_64-x86_64-with-glibc2.17.
python版本：3.11.7 (main, Dec 15 2023, 18:12:31) [GCC 11.2.0]
项目版本：v0.2.10
langchain版本：0.0.354. fastchat版本：0.2.35
当前使用的分词器：ChineseRecursiveTextSplitter
当前启动的LLM模型：['Qwen-7B-Chat'] @ cuda
{'device': 'cuda',
'gpus': '0,1',
'host': '0.0.0.0',
'infer_turbo': False,
'limit_worker_concurrency': 20,
'max_gpu_memory': '22GiB',
'model_path': '/home/chatglm3/chatglm3_model/Qwen-7B-Chat',
'model_path_exists': True,
'num_gpus': 2,
'port': 20002}
当前Embbedings模型： bge-large-zh-v1.5 @ cuda
==============================Langchain-Chatchat Configuration==============================
/home/user/anaconda3/envs/langchai-chat/lib/python3.11/site-packages/langchain_core/_api/deprecation.py:117: LangChainDeprecationWarning: 模型启动功能将于 Langchain-Chatchat 0.3.x重写,支持更多模式和加速启动，0.2.x中相关功能将废弃
warn_deprecated(
2024-03-07 10:35:54 | ERROR | stderr | INFO: Started server process [14373]
2024-03-07 10:35:54 | ERROR | stderr | INFO: Waiting for application startup.
2024-03-07 10:35:54 | ERROR | stderr | INFO: Application startup complete.
2024-03-07 10:35:54 | ERROR | stderr | INFO: Uvicorn running on http://0.0.0.0:20000/ (Press CTRL+C to quit)
/home/user/anaconda3/envs/langchai-chat/lib/python3.11/site-packages/transformers/utils/generic.py:260: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.
torch.utils._pytree._register_pytree_node(
/home/user/anaconda3/envs/langchai-chat/lib/python3.11/site-packages/transformers/utils/generic.py:260: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.
torch.utils._pytree._register_pytree_node(
2024-03-07 10:35:55 | INFO | model_worker | Loading the model ['Qwen-7B-Chat'] on worker ad7d6481 ...
2024-03-07 10:35:56 | WARNING | transformers_modules.Qwen-7B-Chat.modeling_qwen | Try importing flash-attention for faster inference...
2024-03-07 10:35:56 | WARNING | transformers_modules.Qwen-7B-Chat.modeling_qwen | Warning: import flash_attn rotary fail, please install FlashAttention rotary to get higher efficiency https://github.com/Dao-AILab/flash-attention/tree/main/csrc/rotary
期望行为 | Expected Behavior
正常启动
复现方法 | Steps To Reproduce
langchain-chat 模型 qwen-7b-caht
运行环境 | Environment
- OS: CentOS Linux release 7.9.2009 (Core)
- Python: Python 3.11.7
-CUDA Version: 12.2

备注 | Anything else?
==============================Langchain-Chatchat Configuration==============================
操作系统：Linux-3.10.0-1160.108.1.el7.x86_64-x86_64-with-glibc2.17.
python版本：3.11.7 (main, Dec 15 2023, 18:12:31) [GCC 11.2.0]
项目版本：v0.2.10
langchain版本：0.0.354. fastchat版本：0.2.35
当前使用的分词器：ChineseRecursiveTextSplitter
当前启动的LLM模型：['Qwen-7B-Chat'] @ cuda
{'device': 'cuda',
'gpus': '0,1',
'host': '0.0.0.0',
'infer_turbo': False,
'limit_worker_concurrency': 20,
'max_gpu_memory': '22GiB',
'model_path': '/home/chatglm3/chatglm3_model/Qwen-7B-Chat',
'model_path_exists': True,
'num_gpus': 2,
'port': 20002}
当前Embbedings模型： bge-large-zh-v1.5 @ cuda
==============================Langchain-Chatchat Configuration==============================
/home/user/anaconda3/envs/langchai-chat/lib/python3.11/site-packages/langchain_core/_api/deprecation.py:117: LangChainDeprecationWarning: 模型启动功能将于 Langchain-Chatchat 0.3.x重写,支持更多模式和加速启动，0.2.x中相关功能将废弃
warn_deprecated(
2024-03-07 10:35:54 | ERROR | stderr | INFO: Started server process [14373]
2024-03-07 10:35:54 | ERROR | stderr | INFO: Waiting for application startup.
2024-03-07 10:35:54 | ERROR | stderr | INFO: Application startup complete.
2024-03-07 10:35:54 | ERROR | stderr | INFO: Uvicorn running on http://0.0.0.0:20000/ (Press CTRL+C to quit)
/home/user/anaconda3/envs/langchai-chat/lib/python3.11/site-packages/transformers/utils/generic.py:260: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.
torch.utils._pytree._register_pytree_node(
/home/user/anaconda3/envs/langchai-chat/lib/python3.11/site-packages/transformers/utils/generic.py:260: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.
torch.utils._pytree._register_pytree_node(
2024-03-07 10:35:55 | INFO | model_worker | Loading the model ['Qwen-7B-Chat'] on worker ad7d6481 ...
2024-03-07 10:35:56 | WARNING | transformers_modules.Qwen-7B-Chat.modeling_qwen | Try importing flash-attention for faster inference...
2024-03-07 10:35:56 | WARNING | transformers_modules.Qwen-7B-Chat.modeling_qwen | Warning: import flash_attn rotary fail, please install FlashAttention rotary to get higher efficiency https://github.com/Dao-AILab/flash-attention/tree/main/csrc/rotary

Closed in favor of https://github.com/QwenLM/Qwen/issues/1124

source: gharchive/issue

repo: QwenLM/Qwen

license_type: permissive

license_source: github-api


text:
Data format for continuous pre-training

thanks for providing SFT scripts, but I found that the data is going to be formatted as instruction / chat finetune format. Details here https://github.com/QwenLM/Qwen/blob/main/finetune.py#L123
I would like to continuous pre-train the model for around 40b tokens before doing final instruction finetune, and would like to ask which part of data format code should I modified to make it possible?
Thanks.

Our pretraining follows the implementation of conventional gpt training, which accepts inputs with an eod token as the indicator of the end of document. You can consider concatenating different documents, but our finetuning script does not support this.

Our pretraining follows the implementation of conventional gpt training, which accepts inputs with an eod token as the indicator of the end of document. You can consider concatenating different documents, but our finetuning script does not support this.

One more question:
After adding eod token, do we need to mask it out (attention mask's value = 0) to do continual pre-training?


text:
Exclude IPs option

This is a handy little app and it works well! Is it still maintained? If so, an IP exclusion configuration option would be extremely helpful so admin machines or vulnerability scanners don't trigger an alert.

Hi there! Yes, still maintained when I have time. IP exclusions is the #1 thing I want add. Right now I'm working on changing up the format of the configuration file and re-writing the GUI portion so that it doesn't use any 3rd party libraries. I'm hoping to have a new release out in 1 - 2 months.

Very cool! Looking forward to it and keep up the great work!

authors: R-Smith oneoffdallas

repo: R-Smith/tcpTrigger

license: mit

license_source: bigquery


text:
Troops lost after committing secret mission

Describe the bug
After committing secret mission attack the lord, in which you can only bring hero units with you, all common troops will disappear and only hero units left
Mod Version

Numeric Version: 1.2.7.6-1

Evidence

[ ] The mod is present in the callstack;
[ ] The issue only happens with the mod activated;
[x] You tested it with the least amount of other mods as possible.

Crash Report
not a crash issue

The "attack a lord" secret mission is part of the SueMoreSpouses mod and is not associated with bannerkings. Troops not reappearing has been a known issue with that mod for years, so I do not believe that it is caused by a conflict with bannerkings.

repo: R-Vaccari/bannerlord-banner-kings


text:
Listen server host cannot save demos

Bug
Hosting a listen server seems to prevent the host from saving demos
Steps to reproduce

Make sure you have demos enabled (join a server, play a round, close game, check Titanfall2\r2\ if the demo is in there)

log 1
demo_enabledemos 1
demo_autoRecord 1
demo_autoRecordName demo
demo_writeLocalFile 1

Host a listen server, play a round, close game, check whether the demo was saved
No demo was created from when hosting the server even though it should be there

Specifications

Northstar version: 1.5.0-rc3
Platform: Steam

Tested again to make sure and can confirm. Demo worked on joining random server but not when hosting my own listen server.

As demos basically just record and playback network packets and as a listen server doesn't talk over the network stack to the own client there's nothing to record.
Forcing to use the network stack via net_usesocketsforloopback 1 does result in demos being recorded. However we do not want to set that by default as it also applies to e.g. single player which can cause players to lag in singleplayer.

license: MIT


text:
dll with Trojan:Win32/Wacatac.B!ml

i just downloaded the .zip:
Trojan:Win32/Wacatac.B!ml
containerfile: E:\R3nzSkin.zip
file: E:\R3nzSkin.zip->R3nzSkin.dll
webfile: E:\R3nzSkin.zip|https://objects.githubusercontent.com/github-production-release-asset-2e65be/410126695/4478fabe-d7db-4410-ab11-301ef61a8615?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230509%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230509T014132Z&X-Amz-Expires=300&X-Amz-Signature=52624c70ac46f7dd5668e039bc9a569fcfab9b6af984ec7f7cc97301f12ec3a4&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=410126695&response-content-disposition=attachment%3B%20filename%3DR3nzSkin.zip&response-content-type=application%2Foctet-stream|pid:14800,ProcessStart:133280701107189464

That is a false positive. The skin changer as well as the injector uses some Win32 API's that aren't commonly used in normal programs. The project is open-source, so you are welcome to compile the skin changer on your own, otherwise disable your antivirus and add the folder with the binaries to the exclusion list.

So I dont have a fucking wacatac virus on my pc? This shit shook the hell out of me

authors: hotline1337 pequenahimeka tettad


text:
Device type creation: Dynamic source registration

Can not set the dynamic source registration when creating a new device type, either when creating or editing. There should be a checkbox to enable or disable dynamic source registration.

Correction: clicking the label 'Dynamic source registration' and then saving actually toggles the state, so there might be display issue.

@dennyverbeeck i tested this on latest dev and i do not see any problems. Clicking on the Dynamic source registration checkbox should change the state, so should be the display.

authors: dennyverbeeck nivemaham

repo: RADAR-CNS/ManagementPortal


text:
Can not use decoder in The Tings Stack (v3)

If I try to use the decoder I get:
{
  "code": 3,
  "message": "error:pkg/applicationserver:field_value (invalid value of field `formatters.up_formatter_parameter`)",
  "details": [
    {
      "@type": "type.googleapis.com/ttn.lorawan.v3.ErrorDetails",
      "namespace": "pkg/applicationserver",
      "name": "field_value",
      "message_format": "invalid value of field `{field}`",
      "attributes": {
        "field": "formatters.up_formatter_parameter"
      },
      "correlation_id": "98a4150f65d04bff8c86a4765e384506",
      "cause": {
        "namespace": "pkg/applicationserver",
        "name": "formatter_script_too_large",
        "message_format": "formatter script size exceeds maximum allowed size",
        "attributes": {
          "max_size": 4096,
          "size": 4207
        },
        "code": 3
      },
      "code": 3
    }
  ],
  "request_details": {
    "url": "/as/applications/iiie-trackers/devices/wistrio-tracker-1",
    "method": "put",
    "stack_component": "as"
  }
}

Running it trough a minifier does the rick.

i did it with the next code
`function decodeUplink(input) {
var hexString=bin2HexStr(input.bytes);
return {
data: {
rakData: rakSensorDataDecode(hexString)}
}
}
// convert array of bytes to hex string.
// e.g: 0188053797109D5900DC140802017A0768580673256D0267011D040214AF0371FFFFFFDDFC2E
function bin2HexStr(bytesArr) {
var str = "";
for(var i=0; i<bytesArr.length; i++) {
var tmp = (bytesArr[i] & 0xff).toString(16);
if(tmp.length == 1) {
tmp = "0" + tmp;
}
str += tmp;
}
return str;
}
// convert string to short integer
function parseShort(str, base) {
var n = parseInt(str, base);
return (n << 16) >> 16;
}
// convert string to triple bytes integer
function parseTriple(str, base) {
var n = parseInt(str, base);
return (n << 8) >> 8;
}
// decode Hex sensor string data to object
function rakSensorDataDecode(hexStr) {
var str = hexStr;
var myObj = {};
while (str.length > 4) {
var flag = parseInt(str.substring(0, 4), 16);
switch (flag) {
case 0x0768:// Humidity
myObj.humidity = parseFloat(((parseShort(str.substring(4, 6), 16) * 0.01 / 2) * 100).toFixed(1)) + "%RH";//unit:%RH
str = str.substring(6);
break;
case 0x0673:// Atmospheric pressure
myObj.barometer = parseFloat((parseShort(str.substring(4, 8), 16) * 0.1).toFixed(2)) + "hPa";//unit:hPa
str = str.substring(8);
break;
case 0x0267:// Temperature
myObj.temperature = parseFloat((parseShort(str.substring(4, 8), 16) * 0.1).toFixed(2)) + "°C";//unit: °C
str = str.substring(8);
break;
case 0x0188:// GPS
myObj.latitude = parseFloat((parseTriple(str.substring(4, 10), 16) * 0.0001).toFixed(4)) + "°";//unit:°
myObj.longitude = parseFloat((parseTriple(str.substring(10, 16), 16) * 0.0001).toFixed(4)) + "°";//unit:°
myObj.altitude = parseFloat((parseTriple(str.substring(16, 22), 16) * 0.01).toFixed(1)) + "m";//unit:m
str = str.substring(22);
break;
case 0x0371:// Triaxial acceleration
myObj.acceleration_x = parseFloat((parseShort(str.substring(4, 8), 16) * 0.001).toFixed(3)) + "g";//unit:g
myObj.acceleration_y = parseFloat((parseShort(str.substring(8, 12), 16) * 0.001).toFixed(3)) + "g";//unit:g
myObj.acceleration_z = parseFloat((parseShort(str.substring(12, 16), 16) * 0.001).toFixed(3)) + "g";//unit:g
str = str.substring(16);
break;
case 0x0402:// air resistance
myObj.gasResistance = parseFloat((parseShort(str.substring(4, 8), 16) * 0.01).toFixed(2)) + "KΩ";//unit:KΩ
str = str.substring(8);
break;
case 0x0802:// Battery Voltage
myObj.battery = parseFloat((parseShort(str.substring(4, 8), 16) * 0.01).toFixed(2)) + "V";//unit:V
str = str.substring(8);
break;
case 0x0586:// gyroscope
myObj.gyroscope_x = parseFloat((parseShort(str.substring(4, 8), 16) * 0.01).toFixed(2)) + "°/s";//unit:°/s
myObj.gyroscope_y = parseFloat((parseShort(str.substring(8, 12), 16) * 0.01).toFixed(2)) + "°/s";//unit:°/s
myObj.gyroscope_z = parseFloat((parseShort(str.substring(12, 16), 16) * 0.01).toFixed(2)) + "°/s";//unit:°/s
str = str.substring(16);
break;
case 0x0902:// magnetometer x
myObj.magnetometer_x = parseFloat((parseShort(str.substring(4, 8), 16) * 0.01).toFixed(2)) + "μT";//unit:μT
str = str.substring(8);
break;
case 0x0a02:// magnetometer y
myObj.magnetometer_y = parseFloat((parseShort(str.substring(4, 8), 16) * 0.01).toFixed(2)) + "μT";//unit:μT
str = str.substring(8);
break;
case 0x0b02:// magnetometer z
myObj.magnetometer_z = parseFloat((parseShort(str.substring(4, 8), 16) * 0.01).toFixed(2)) + "μT";//unit:μT
str = str.substring(8);
break;
default:
str = str.substring(7);
break;
}
}
return myObj;
}
`

but nothing

this worked for me!

function decodeUplink(input) {
  var hexString=bin2HexStr(input.bytes);
  return {
    data: {
      bytes: input.bytes,
      payload: rakSensorDataDecode(hexString)
    },
    warnings: [],
    errors: []
  };
}

// convert array of bytes to hex string.
// e.g: 0188053797109D5900DC140802017A0768580673256D0267011D040214AF0371FFFFFFDDFC2E
function bin2HexStr(bytesArr) {
  var str = "";
  for(var i=0; i<bytesArr.length; i++) {
    var tmp = (bytesArr[i] & 0xff).toString(16);
    if(tmp.length == 1) {
      tmp = "0" + tmp;
    }
    str += tmp;
  }
  return str;
}

// convert string to short integer
function parseShort(str, base) {
  var n = parseInt(str, base);
  return (n << 16) >> 16;
}

// convert string to triple bytes integer
function parseTriple(str, base) {
  var n = parseInt(str, base);
  return (n << 8) >> 8;
}

// decode Hex sensor string data to object
function rakSensorDataDecode(hexStr) {
  var str = hexStr;
  var myObj = {};

  while (str.length > 4) {
    var flag = parseInt(str.substring(0, 4), 16);
    switch (flag) {
      case 0x0768:// Humidity
        myObj.humidity = parseFloat(((parseShort(str.substring(4, 6), 16) * 0.01 / 2) * 100).toFixed(1)) + "%RH";//unit:%RH
        str = str.substring(6);
        break;
      case 0x0673:// Atmospheric pressure
        myObj.barometer = parseFloat((parseShort(str.substring(4, 8), 16) * 0.1).toFixed(2)) + "hPa";//unit:hPa
        str = str.substring(8);
        break;
      case 0x0267:// Temperature
        myObj.temperature = parseFloat((parseShort(str.substring(4, 8), 16) * 0.1).toFixed(2)) + "°C";//unit: °C
        str = str.substring(8);
        break;
      case 0x0188:// GPS
        myObj.latitude = parseFloat((parseTriple(str.substring(4, 10), 16) * 0.0001).toFixed(4)) + "°";//unit:°
        myObj.longitude = parseFloat((parseTriple(str.substring(10, 16), 16) * 0.0001).toFixed(4)) + "°";//unit:°
        myObj.altitude = parseFloat((parseTriple(str.substring(16, 22), 16) * 0.01).toFixed(1)) + "m";//unit:m
        str = str.substring(22);
        break;
      case 0x0371:// Triaxial acceleration
        myObj.acceleration_x = parseFloat((parseShort(str.substring(4, 8), 16) * 0.001).toFixed(3)) + "g";//unit:g
        myObj.acceleration_y = parseFloat((parseShort(str.substring(8, 12), 16) * 0.001).toFixed(3)) + "g";//unit:g
        myObj.acceleration_z = parseFloat((parseShort(str.substring(12, 16), 16) * 0.001).toFixed(3)) + "g";//unit:g
        str = str.substring(16);
        break;
      case 0x0402:// air resistance
        myObj.gasResistance = parseFloat((parseShort(str.substring(4, 8), 16) * 0.01).toFixed(2)) + "KΩ";//unit:KΩ
        str = str.substring(8);
        break;
      case 0x0802:// Battery Voltage
        myObj.battery = parseFloat((parseShort(str.substring(4, 8), 16) * 0.01).toFixed(2)) + "V";//unit:V
        str = str.substring(8);
        break;
      case 0x0586:// gyroscope
        myObj.gyroscope_x = parseFloat((parseShort(str.substring(4, 8), 16) * 0.01).toFixed(2)) + "°/s";//unit:°/s
        myObj.gyroscope_y = parseFloat((parseShort(str.substring(8, 12), 16) * 0.01).toFixed(2)) + "°/s";//unit:°/s
        myObj.gyroscope_z = parseFloat((parseShort(str.substring(12, 16), 16) * 0.01).toFixed(2)) + "°/s";//unit:°/s
        str = str.substring(16);
        break;
      case 0x0902:// magnetometer x
        myObj.magnetometer_x = parseFloat((parseShort(str.substring(4, 8), 16) * 0.01).toFixed(2)) + "μT";//unit:μT
        str = str.substring(8);
        break;
      case 0x0a02:// magnetometer y
        myObj.magnetometer_y = parseFloat((parseShort(str.substring(4, 8), 16) * 0.01).toFixed(2)) + "μT";//unit:μT
        str = str.substring(8);
        break;
      case 0x0b02:// magnetometer z
        myObj.magnetometer_z = parseFloat((parseShort(str.substring(4, 8), 16) * 0.01).toFixed(2)) + "μT";//unit:μT
        str = str.substring(8);
        break;
      default:
        str = str.substring(7);
        break;
    }
  }

  return myObj;
}

forget it, it worked with the simulated uplink, but not with the real uplink idk why :disappointed:


text:
fix: Use example command: amounts

amount should be amounts,
and the value should be sequence.

thanks for spotting this!

source: gharchive/pull-request

authors: lshoo zoedberg

repo: RGB-Tools/rgb-lightning-node


text:
Review and improve tests

Many elements have bare minimum testing.  Review each high-priority component and make sure they all have at least one test of substance.  More than one for elements with sufficient complexity.
High-priority components:

[x] rh-card
[x] rh-icon
[x] rh-icon-panel
[x] rh-button
[x] rh-cta

(rh-tabs is also priority but is already well tested)

I also added a test to every element and to the generator that verifies the element was successfully upgraded.

repo: RHElements/rhelements


text:
🛑 Varicol is down

In d1c0fc3, Varicol (https://varicol.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Varicol is back up in 9ada028 after 15 minutes.

repo: RJVCA/uptime


text:
🛑 Activated Male is down

In df88d13, Activated Male (http://activatedmale.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Activated Male is back up in fbfe795.


text:
🛑 Cleanse Drops Kidney is down

In 63de9f8, Cleanse Drops Kidney (http://cleansedropskidney.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Cleanse Drops Kidney is back up in c1b87a9.


text:
Valve: Stop making gambling sites via Valve infrastructure

http://store.steampowered.com/news/22883/
In-Game Item Trading Update [13 Jul]
In 2011, we added a feature to Steam that enabled users to trade in-game items as a way to make it easier for people to get the items they wanted in games featuring in-game economies.
Since then a number of gambling sites started leveraging the Steam trading system, and there’s been some false assumptions about our involvement with these sites. We’d like to clarify that we have no business relationships with any of these sites. We have never received any revenue from them. And Steam does not have a system for turning in-game items into real world currency.
These sites have basically pieced together their operations in a two-part fashion. First, they are using the OpenID API as a way for users to prove ownership of their Steam accounts and items. Any other information they obtain about a user's Steam account is either manually disclosed by the user or obtained from the user’s Steam Community profile (when the user has chosen to make their profile public). Second, they create automated Steam accounts that make the same web calls as individual Steam users.
Using the OpenID API and making the same web calls as Steam users to run a gambling business is not allowed by our API nor our user agreements. We are going to start sending notices to these sites requesting they cease operations through Steam, and further pursue the matter as necessary. Users should probably consider this information as they manage their in-game item inventory and trade activity.
-Erik Johnson

Clearly we need to add a patch that checks the hostname of the machine running the library and refuses to run if it detects anything gambling related. :)

Haha. Well, let's all be careful.
This opening shot against gambling sites is but just the first step Valve could take that could negatively impact all of us.
It would be a shame if they end up just doing a blanket ban on all kinds of bots.

Thing is, I could actually see them going that way. For the moment they still rely on bots to organize their open qualifiers (I think FaceIt uses @paralin 's library), however now that they're starting to experiment with the weekend tourneys, I could very well see them organizing these themselves in the future. Once They don't rely on them anymore, they could start banning them...

Absolutely :(

It would be a shame though, there's a lot of communities that are maintained by bots, lots of cool functionality as well. Not to mention quite a few streamers who use them to inform chat of MMR stats etc..

(I think FaceIt uses @paralin 's library)
@Crazy-Duck May I ask which library it is? I'm looking at his github profile and he has a lot of repositories, is it protobuf.js? I'd love to take a look at the code.

@Esssport https://github.com/paralin/dota2

@paralin Thank you very much.

authors: Crazy-Duck Esssport howardchung jimmydorry paralin


text:
🛑 CEOTR Home Page loads is down

In c215362, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in b99c6f8 after 2 minutes.

repo: RKTowse/upptime


text:
🛑 CEOTR Home Page loads is down

In 3d36241, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in a94bde2 after 2 minutes.


text:
🛑 CEOTR Home Page loads is down

In 8a398bc, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in dbdd9f6 after 2 minutes.


text:
🛑 Sensor Tracker login is down

In 20e7c15, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 502
Response time: 106 ms

Resolved: Sensor tracker login is back up in b78cf89.


text:
🛑 Sensor Tracker login is down

In 2938219, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sensor tracker login is back up in a177749 after 1 minute.


text:
🛑 Sensor Tracker login is down

In 97db876, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sensor tracker login is back up in 8257665 after 1 minute.


text:
🛑 Sensor Tracker login is down

In 105666e, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sensor tracker login is back up in b664c70 after 1 minute.


text:
🛑 Sensor Tracker login is down

In 587ef55, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sensor tracker login is back up in 7a3134d after 1 minute.


text:
🛑 CEOTR Home Page loads is down

In fd79743, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in 597d6e5 after 2 minutes.


text:
🛑 CEOTR Home Page loads is down

In 7e44d2a, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in 32a64f3 after 2 minutes.


text:
🛑 CEOTR Home Page loads is down

In b6cab0f, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in 06438ba after 2 minutes.


text:
🛑 CEOTR Home Page loads is down

In 66888af, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in 58fe500 after 13 days, 22 hours, 57 minutes.


text:
🛑 Sensor Tracker login is down

In 208f532, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sensor tracker login is back up in cec6e44 after .


text:
🛑 Sensor Tracker login is down

In ef73d24, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 502
Response time: 43 ms

Resolved: Sensor tracker login is back up in 48d0ca7.


text:
🛑 CEOTR Home Page loads is down

In 8ac776e, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in f2dbcb0.


text:
🛑 CEOTR Home Page loads is down

In 0d03007, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in 4c07526.


text:
🛑 Sensor Tracker login is down

In dbb1ec4, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 502
Response time: 106 ms

Resolved: Sensor tracker login is back up in 17e6621.


text:
Reproducing Fig. 12

Hi, I am currently working on reproducing the results presented in Fig. 12 for the ICM method and have encountered some challenges. Specifically, according to Fig. 12, the ICM reward appears to converge to approximately 10+ after 1e7 steps. However, when running the notebook provided at https://github.com/RLE-Foundation/RLeXplore/blob/main/1 rlexplore_with_rllte.ipynb and setting the rewards to intrinsic rewards only (instead of the combined intrinsic and extrinsic rewards), I observed a reward of 30 at 5e6 steps.
Specifically, I change 'self.storage.rewards += intrinsic_rewards.to(self.device)' to 'self.storage.rewards = intrinsic_rewards.to(self.device)' at https://github.com/RLE-Foundation/rllte/blob/eeefdedb2ceee3ae1abfe88896cae3b8b62b4c05/rllte/common/prototype/on_policy_agent.py#L168.
This discrepancy has led me to question whether my understanding of Fig. 12 is correct. Could you kindly clarify the methodology or provide guidance on how to replicate the ICM results as depicted in Fig. 12?
Thank you for your time and for making such valuable resources available to the community. I appreciate any insights or suggestions you may offer. Have a nice day.

Share your email with me so I can send the exp code to u.

Thanks a lot.
annezhu1212@outlook.com

Share your email with me so I can send the exp code to u.

Thanks a lot.
annezhu1212@outlook.com

sent via email.

authors: Acedorkz AnneZhu1020 yuanmingqi

repo: RLE-Foundation/RLeXplore


text:
Ajout de la liste des types de ease au wiki

Ce serait bien d'ajouter au wiki la liste des types de ease, actuellement c'est un peu difficile de les expliquer aux gens parce qu'on les trouve uniquement dans la recherche du serveur Discord.
Pour rappel il y a, d'après le message sur Discord :
Linear
Quad
Cubic
Quart
Quint
Sine
Expo
Circ
Back
Elastic
Bounce
En ajoutant :In :Out ou :InOut devant.

Devrait être résolu avec : [RME] Commands' documentation (#264)
(Je clôturerai l'issue une fois que celle référencée sera terminée 😄)

authors: acs-l aureliendossantos

repo: RMEx/RME


text:
IMU timestamps go backwards with dashing (1.0.2 OpenCR) - crashes cartographer

ISSUE TEMPLATE ver. 0.2.0

Which TurtleBot3 you have?

[ ] Waffle Pi

Which SBC(Single Board Computer) is working on TurtleBot3?

[ ] Raspberry Pi 3

Which OS you installed in SBC?

[ ] Raspbian

Which OS you installed in Remote PC?

[ ] OS X

Write down software version and firmware version

Software version: [???]
Firmware version: [1.0.2]. -- firmware from here: https://github.com/ROBOTIS-GIT/OpenCR-Binaries/blob/master/turtlebot3/ROS2/1.0.2/opencr_update_1.0.2.tar.bz2

This contains the workaround from https://github.com/eProsima/Micro-XRCE-DDS-Agent/issues/99

Write down the commands you used in order

Raspberry pi: run MicroXRCE agent for serial & udp, run turtlebot_lidar
remote PC: ros2 topic echo imu | tee imu_data_jul30.txt'

TB3 waffle pi is sitting idle no movement and still timestamp (nanoseconds) is rolling backwards...

Copy and Paste your error message on terminal

There is no error message on terminal, but IMU data has timestamps going backwards which causes multiple crashes in cartographer

Please, describe detailedly what difficulty you are in

cartographer crashes all the time and is totally unusable due to hitting asserts in code because time is going backwards

Example IMU timestamp going backwards:

header:
stamp:
sec: 1564510494
nanosec: 375714706   <-- nanoseconds here
frame_id: imu_link
orientation:
x: 0.013068560510873795
...
header:
stamp:
sec: 1564510494
nanosec: 15053893       <-- nanoseconds here is smaller than before...
frame_id: imu_link
orientation:
x: 0.011846276931464672
...
This causes a number of asserts in cartographer to be hit and cannot complete mapping process.

We opened new issue page to summary every issues related turtlebot3 ROS2 #460
I will comment about it later to check it.

Hi, @oneattosecond
This is probably due to network environment/performance and QoS settings.
This is an issue that occurs when ROS2 uses DDS, and you can add/modify QoS by modifying the ~/tb3_sbc_settings/tb3_fastrtps_protile.refs file.
My guess is that now KEEP_LAST is set to 10, so the previous data is coming up later.
Therefore, please change this to 1 and test it.
Please refer to the eProsima document below for QoS settings.

About XML Representation on Micro XRCE-DDS Client
XML profiles of Fast-RTPS

@OpusK I compiled Micro-XRCE from source on top of stock Raspbian Buster, so I do not have tb3_fastrtps_protile.refs and cannot try your suggestion. What is the default QOS profile for Micro-XRCE DDS client? It would seem I am using the default, as I do not have tb3_fastrtps_protile.refs
However, I do not think your suggestion will help. The timestamp is created on OpenCR side, in function publishImu() which calls:
msg->header.stamp    = ros2::now();

Unless MicroXRCE is changing the timestamp in msg->header.stamp, your suggestion cannot help, and the root cause is more likely the timestamp coming from ros2::now() is broken.
Can you please investigate further?
Regards

~/Micro-XRCE-DDS-Agent/test/agent.refs
This file had a KEEP_LAST value set to 10, I changed it to 1, and still saw timestamps go backwards.

@oneattosecond

I compiled Micro-XRCE from source on top of stock Raspbian Buster, so I do not have tb3_fastrtps_protile.refs and cannot try your suggestion.

It seems to me that you did not proceed with the installation according to the e-manual. Is that correct?
Please refer to the e-manual installation instructions and try again.

TB3 ros2

Yes, I followed the wiki quite strictly. However there are as you know, many steps. I followed all the steps in install.sh,
Can you confirm you never see timestamps go backwards? I am just doing "ros2 topic echo imu" for 10 minutes and observing timestamp goes backwards.
Do you plan to publish a Raspberry Pi .img for Dashing? That would help reduce possible errors.

@oneattosecond

Yes, I followed the wiki quite strictly. However there are as you know, many steps. I followed all the steps in install.sh,

If you followed the instructions in the e-manual, the tb3_fastrtps_profile.refs file must exist.
In e-manual, the following compressed file is downloaded. In this compressed file, the tb3_fastrtps_profile.refs file exists.

tb3_sbc_settings.tar.bz2

Can you confirm you never see timestamps go backwards?

By the time I tested, I haven't found any problems yet.

Do you plan to publish a Raspberry Pi .img for Dashing? That would help reduce possible errors.

As @routiful mentioned(#460), we are planning to apply other communication methods than XRCE. After this, we will consider it with the team.

OK, I have deleted everything I did before and run install.sh, double check the wiki for any missing steps (none found). Then I modified the KEEP_ALIVE to 1 in tb3_fastrtps_profile.refs and am running all the software as expected via run.sh
I double checked and my OpenCR is running 1.0.2 which has the workaround for eProsima issue.
I am still seeing many timestamps go backwards over a period of 10 minutes... I wrote a quick script to verify, and the timestamp went backwards (nanoseconds_cur < nanosec_prev within same second) 30 times in 10 minutes.
Can you please investigate? I am suspecting the below code is giving wrong timestamp:
msg->header.stamp    = ros2::now();

@oneattosecond

I am still seeing many timestamps go backwards over a period of 10 minutes... I wrote a quick script to verify, and the timestamp went backwards (nanoseconds_cur < nanosec_prev within same second) 30 times in 10 minutes.
Can you please investigate? I am suspecting the below code is giving wrong timestamp:
msg->header.stamp = ros2::now();

I've never seen this, but I'll check the code anyway
Note, as shown in #460, we are trying to apply a different communication method to TB3. In that case, TB3 will not use ros2arduino.
So, after this development, I'll check the issue with ros2::now().

For now on, we have been released TB3 ROS 2 Dashing!
Please refer to emanual
IMU timestamps issues will be solved to download new firmware.

authors: OpusK oneattosecond routiful


text:
Unable to detect GPUs on AMI100 gpu

Problem Description
On our HPC cluster,
we are using pytorch/1.13.0 which was installed with rocm/5.2.3.
After loading those modules I am unable to detect the AMD GPU
[ nvidia_amd_benchmarking]$ python3
Python 3.10.0 (default, Mar  3 2022, 09:58:08) [GCC 7.5.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
>>> torch.cuda.is_available()
False

When running rocminfo I get:
nvidia_amd_benchmarking]$ rocminfo
ROCk module is loaded
Unable to open /dev/kfd read-write: Permission denied
Failed to get user name to check for video group membership

When running the test from here I get the following:
Checking ROCM support...
BAD: No ROCM devices found.
Checking PyTorch...
GOOD: PyTorch is working fine.
Checking user groups...
Cannot find rocminfo command information. Unable to determine if AMDGPU drivers with ROCM support were installed.

rocm-smi shows:
======================= ROCm System Management Interface =======================
================================= Concise Info =================================
GPU  Temp   AvgPwr  SCLK    MCLK     Fan  Perf  PwrCap  VRAM%  GPU%
0    33.0c  35.0W   300Mhz  1200Mhz  0%   auto  290.0W    0%   0%
================================================================================
============================= End of ROCm SMI Log ==============================

Operating System
Red Hat Enterprise Linux 8.4 (Ootpa)
CPU
Model name:          AMD EPYC 7543 32-Core Processor
GPU
AMD Instinct MI100
ROCm Version
ROCm 5.5.0
ROCm Component
rocminfo
Steps to Reproduce
No response
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response

ROCM version is rocm/5.2.3. It did not show when looking at the drop-down menu

An internal ticket has been created to investigate the issue.

Hi, could you check your user privileges? Here I have just tried rocminfo for a new user, for example:
$ sudo useradd -g users test
$ id test
uid=1001(test) gid=100(users) groups=100(users)
$ rocminfo
ROCk module is loaded
Unable to open /dev/kfd read-write: Permission denied
rocm is member of render group
$ id rocm
uid=1000(rocm) gid=1000(rocm) groups=1000(rocm),4(adm),24(cdrom),27(sudo),30(dip),44(video),46(plugdev),110(render),122(lpadmin),135(lxd),136(sambashare)
).
Can you also try to run the commands with sudo?
Thanks.

So, I do not have user privileges on the cluster, I have reached out to our admins on the cluster
regarding the rocminfo permission denied issue. Will get back to you guys.

The issue has been fixed! I got removed from the video group without realizing it. Once they put me back in the video group everything worked seamlessly.

authors: kf-cuanschutz nartmada vstempen

repo: ROCm/ROCm


text:
Fbar, the kernel's barriers limitation

Hi,
I would like to get more details about the fbar information reported by rocprof.
What does it mean.
How can it be interpreted.
Is it related to :
Max fbarriers/Workgrp:   32
Which is given by rocminfo.
Thanks

@etiennemlb Apologies for the lack of response. Do you still need assistance with this ticket? If not, please close the ticket. Thanks!

Yes I would like more/extensive documentation on the counter the AMD GPUs provide. Do you have a document I could rely on ?
Thanks!

Hi @etiennemlb, thanks for you patience.
Here is a link to the documentation for rocprofv1. However, note that fbar is a deprecated metric from rocprofv1.
Moreover, rocprofv1 is no longer under development and there is a new rocprofv3 released in ROCm 6.2 as a beta, which is built on top of the new rocprofiler-sdk. I strongly suggest using rocprofv3 since it is very close to having feature parity, has a lower overhead than v1 and v2, and is significantly better tested.
Here is a link to the documentation for rocprofv3 (See the "Using rocprofv3" section). You can also refer to this link for information on relevant performance counters and metrics or try "rocprofv3 --list-metrics" for a list of basic HW counters on your system.
Please let me know if need assistance with anything else!

Great! And if you encounter any issues with rocprofv3, you can create another ticket under the rocprofiler-sdk repository.

authors: etiennemlb ppanchad-amd sohaibnd

repo: ROCm/rocprofiler


text:
Conv Driver fails with default vector_length parameter

Conv Driver throws an error with #1532 PR.
Example
./bin/MIOpenDriver convfp16 -c 1 -H 700 -W 700 -y 5 -x 20 -k 32 -n 2 -p 0 -q 0 -u 1 -v 1 -l 1 -j 1 -F 1 -V 1 -i 1 -t 1

MIOpenDriver convfp16 -c 1 -H 700 -W 700 -y 5 -x 20 -k 32 -n 2 -p 0 -q 0 -u 1 -v 1 -l 1 -j 1 -F 1 -V 1 -i 1 -t 1
MIOpen(HIP): Info [get_device_name] Raw device name: gfx1030
MIOpen(HIP): Info [Handle] stream: 0x12a6060, device_id: 0
Invalid Tensor Vectorization Parameter Value - vector_dim:0vector_length:1

Seems the error in the conv_driver and the check should be (vector_length == 1 && vector_dim == 0):
https://github.com/ROCmSoftwarePlatform/MIOpen/blob/93d1476463d281ff731e8aea394c44b09cdc1da7/driver/conv_driver.hpp#L575-L588

Thanks @Slimakanzer for report the problem, I made a stupid mistake.
Thanks @carlushuang for implement the hot fix.

repo: ROCmSoftwarePlatform/MIOpen


text:
add support for Evolution X tiramisu [skip ci]

Signed-off-by: NRanjan-17 nalinishranjan05@gmail.com

@Apon77

Merge Please

repo: ROM-builders/temporary


text:
Motor with enable control

Motors on the new MotoZero board require 3 pins to control them. Forward pin, backward pin and an enable pin. They can be controlled with GPIO Zero by using Motor for the forward and backward pins, and OutputDevice for the enable pin like so:
>>> from gpiozero import Motor, OutputDevice
>>> motor = Motor(24, 27)
>>> motor_enable = OutputDevice(5)
>>> motor.forward()  # nothing happens
>>> motor_enable.on()  # the motor goes forward
>>> motor_enable.off()  # the motor stops
>>> motor.backward()  # nothing happens
>>> motor_enable.on()  # the motor goes backward
>>> motor.value = 0.5  # the motor goes forward at half speed
>>> motor.stop()  # the motor stops

My instinct is to want to remove the enabling step, and just let Motor turn on the enable pin on init, and never change its state, allowing forward(), backward(), stop() and value to be used to control the state of the motor.
However, Keith has vocalised his views that the enable pin is particularly useful:

Nice benefit of using enable pin is that it can be PWMed to control the speed, independent of dir.

and

Enable pin 0 = motor off, Enable pin 1 = Motor full speed. Enable pin PWM 0.5 = Motor 1/2 speed

But I don't think this makes it any easier than gpiozero already does:
>>> motor = Motor(17, 18)
>>> motor.forward()
>>> motor.value = 0.5
>>> motor.backward()
>>> motor.value = -0.5
>>> motor.reverse()

I propose we add an optional third pin to Motor and set it high on init. This will allow it to easily fit into Motor and Robot.
Any thoughts?

Yes for compatibility adding a third option pin makes perfect sense.  My experience was a while ago with RPi.GPIO when things were not as easy as they are now with gpiozero.
However it would be good to be able to set the enable pin low to enable debug mode, i.e. set enable low and allow code to run without having to detach power to motors.

It's much easier to do PWM in gpiozero than in RPi.GPIO. So yeah.

From a bit of internet searching, it seems like you can control the L293D by either treating the IN1 and IN2 pins as digital, and then PWM the speed on ENABLE1; or you can treat the ENABLE1 pin as digital and then PWM on the IN1 and IN2 pins.
For microcontrollers with limited PWM pins it's obviously better to only PWM on ENABLE1, but I couldn't find any definitive references saying whether one approach was better than the other or not. So perhaps either approach is equally valid?
(In contrast, the datasheet for the L298N explicitly recommends only PWMing the ENABLE pin)

Ah I see, the (Digital_forwards, Digital_backwards, PWM_speed) makes sense now. In which case, I'd rather stick with one implementation than two. Either we opt for #367, and PWM is done on the forward or backward pin, or we opt for having a different motor class for these types of motors, which are controlled via the enable pin.
I prefer the former solution, but if there's enough support for doing it the latter way, we might have to.

From the perspective of an L293 or equivalent,  I don't think it matters how you PWM it, its just a case implementation.  Since gpiozero does the implementation we do not need to care any more, so the solution in #367 works well.
I was not aware the L298 should be PWMed on the enable pin.  Our PiWars 2014 entry used a L298 PWMed on the drive pins, it seemed to work well.  After reviewing the data sheet today the only reason I can see for having to PWM on the enable pin is because of the 'Fast Stop' feature
For 'Fast Stop' to be engaged, enable pin must be high and and the drive pins must be equal.  Therefore if the drive pins are being PWMed, each cycle of the PWM the 'Fast Stop" feature will kick in.  If PWM is on the enable pin the motors will 'free spin' between cycles.
In critical applications this may be important, but in terms of hobby electronics, I'm not sure how important it is.  It might reduce the life cycle of the motor driver or the motor. L298 data sheet attached, refer to page 6 for 'Fast Stop' feature.
en.CD00000240.pdf

@waveform80 what do you think?
We also need to consider the four motor robot. Is that a trivial extension?

Ahh, I was looking at a different datasheet previously - see https://github.com/RPi-Distro/python-gpiozero/issues/300#issuecomment-215999378
Although now I read it again, I see it refers to both L293 and L298 in the same category, so it seems I was wrong to assume they needed to be treated differently. *shrug*

authors: bennuttall keithellis74 lurch

repo: RPi-Distro/python-gpiozero


text:
9GAG - Trending failed with error 403

Uncaught Exception HttpException: 403 Forbidden at lib/contents.php line 132

#0 index.php:35
#1 actions/DisplayAction.php:134
#2 bridges/NineGagBridge.php:144
#3 lib/contents.php:132

Query string:action=display&bridge=NineGagBridge&context=Popular&d=trending&video=none&p=5&format=Html
Version:git.master.372eccd
Os:Linux
PHP version:7.4.3

I can reproduce this. It's cloudflare antibot.

I can reproduce this. It's cloudflare antibot.

It was working fine before.

Is there any progress on this issue?

@mbnoimi you would need to bypass the cloudflare checks somehow. I'm using the curl-impersonate project as per the dockerfile from this pull request: https://github.com/RSS-Bridge/rss-bridge/pull/2941 You can do it yourself by cloning wrobelda's fork, checking out the curlimpersonate branch and  building the image. Example yaml below
version: '2'

services:
  rss-bridge:
    container_name: rss-bridge
#    image: rssbridge/rss-bridge
    build: ./rss-bridge/
    volumes:
      - ./volumes/whitelist.txt:/app/whitelist.txt
      - ./volumes/config.ini.php:/app/config.ini.php
    ports:
      - 127.0.0.1:9009:80
    restart: always

authors: dugite-code dvikan mbnoimi

repo: RSS-Bridge/rss-bridge

license: unlicense


text:
fix nordbayern bridge

This time: Add support for Nürnberger Nachrichten & Nürnberger Zeitung

@theScrabi Can you fix?

@theScrabi

authors: dvikan theScrabi


text:
[RedditBridge] Search for specific flairs

Was looking for a way to get posts with a specific flair from a subreddit.
The goal was to get an RSS feed for such an URL: https://www.reddit.com/r/selfhosted/?f=flair_name%3A"Proxy"
I've been running it like this for 2 weeks now and works as expected.

adds an optional input field for the "single" feed in the RedditBridge
if that input field is filled it adds flair:"_INPUT_" to the search URL
Reddits search then returns only posts with those flairs

I don't think this pr supports search by multiple flairs. Is that an intended feature?

A single flair works like this flair:"Proxy"
But flair:"Proxy, Need Help" nor flair:"Proxy Need Help" nor flair:"Proxy" flair:"Need Help" works.
The multi-reddit search in this bridge also just starts multiple CURLs, don't think reddits query language supports that unless I'm missing something.

Why do you replace , with %20?

No particular reason, was just a leftover from copy&pasting the lines above.

This update appears to break existing feeds, any that don't have the new flair &f= in the feed URL are now broken (blank)

Apologies, had no previous Reddit feeds on my server, that's why I didn't see the issue.
Opened #3087 which fixes that.

authors: dvikan joshinat0r kinoushe


text:
Bug fixes for sky130 scripts

Fixed bugs with setting the correct path for the target files for generate_fill and check_density. Made syntax corrections for check_antenna. Added error catching to all files involving the .rcfiles and checking whether some files existed or not.

Merged and pulled on opencircuitdesign.com;  github mirror will update overnight.

authors: RTimothyEdwards emayecs


text:
Add the new FCPE F0 method

I can see from the official so-vits-svc repository that they are implementing a new F0 detection method that is designed for real-time voice conversion. Here are the official links to this method:

Official repository: https://github.com/CNChTu/FCPE
Pretrained model: https://huggingface.co/datasets/ylzz1997/rmvpe_pretrain_model/blob/main/fcpe.pt

It could be a nice addition to the actual RVC project, maybe it could support or replace the current RMVPE which is already good.

This is in the plan. At present, it is found that the anti-noise ability of fcpe is still not ideal. We are adding data to train some better weights for testing.

Alright, that's good news. Keep up the hard work!

Are there any updates?

#1618
It's already implemented.

As I understand it, it has been implemented only for the real-time GUI. Is there a way to use it for regular audio file processing?

In 2024, rmvpe and fcpe which is best f0 predictor for real-time infering?

As I understand it, it has been implemented only for the real-time GUI. Is there a way to use it for regular audio file processing?

I would like to know too.

As I understand it, it has been implemented only for the real-time GUI. Is there a way to use it for regular audio file processing?

https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/pull/1934

authors: GabryB03 Kamikadashi Tps-F cheezebone rsxdalv ykk648 yxlllc


text:
Spontaneous error when separating vocal/accompaniment.

This error happens to me spontaneously both on Windows and Linux. On Windows I managed to do separation, training and inference before this error occurred. After it did I wasn't able to get fix it. I decided to switch to Linux - separation worked once but now I see the same result.
Here error text:
audio.mp3.reformatted.wav->Traceback (most recent call last):
  File "/workspace/Retrieval-based-Voice-Conversion-WebUI/venv/lib/python3.10/site-packages/librosa/core/audio.py", line 176, in load
    y, sr_native = __soundfile_load(path, offset, duration, dtype)
  File "/workspace/Retrieval-based-Voice-Conversion-WebUI/venv/lib/python3.10/site-packages/librosa/core/audio.py", line 209, in __soundfile_load
    context = sf.SoundFile(path)
  File "/workspace/Retrieval-based-Voice-Conversion-WebUI/venv/lib/python3.10/site-packages/soundfile.py", line 658, in __init__
    self._file = self._open(file, mode_int, closefd)
  File "/workspace/Retrieval-based-Voice-Conversion-WebUI/venv/lib/python3.10/site-packages/soundfile.py", line 1216, in _open
    raise LibsndfileError(err, prefix="Error opening {0!r}: ".format(self.name))
soundfile.LibsndfileError: Error opening '/workspace/Retrieval-based-Voice-Conversion-WebUI/TEMP/audio.mp3.reformatted.wav': System error.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/workspace/Retrieval-based-Voice-Conversion-WebUI/infer/modules/uvr5/modules.py", line 74, in uvr
    pre_fun._path_audio_(
  File "/workspace/Retrieval-based-Voice-Conversion-WebUI/infer/modules/uvr5/vr.py", line 63, in _path_audio_
    ) = librosa.core.load(  # 理论上librosa读取可能对某些音频有bug，应该上ffmpeg读取，但是太麻烦了弃坑
  File "/workspace/Retrieval-based-Voice-Conversion-WebUI/venv/lib/python3.10/site-packages/librosa/core/audio.py", line 184, in load
    y, sr_native = __audioread_load(path, offset, duration, dtype)
  File "/workspace/Retrieval-based-Voice-Conversion-WebUI/venv/lib/python3.10/site-packages/decorator.py", line 232, in fun
    return caller(func, *(extras + args), **kw)
  File "/workspace/Retrieval-based-Voice-Conversion-WebUI/venv/lib/python3.10/site-packages/librosa/util/decorators.py", line 59, in __wrapper
    return func(*args, **kwargs)
  File "/workspace/Retrieval-based-Voice-Conversion-WebUI/venv/lib/python3.10/site-packages/librosa/core/audio.py", line 240, in __audioread_load
    reader = audioread.audio_open(path)
  File "/workspace/Retrieval-based-Voice-Conversion-WebUI/venv/lib/python3.10/site-packages/audioread/__init__.py", line 127, in audio_open
    return BackendClass(path)
  File "/workspace/Retrieval-based-Voice-Conversion-WebUI/venv/lib/python3.10/site-packages/audioread/rawread.py", line 59, in __init__
    self._fh = open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/workspace/Retrieval-based-Voice-Conversion-WebUI/TEMP/audio.mp3.reformatted.wav'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/workspace/Retrieval-based-Voice-Conversion-WebUI/venv/lib/python3.10/site-packages/librosa/core/audio.py", line 176, in load
    y, sr_native = __soundfile_load(path, offset, duration, dtype)
  File "/workspace/Retrieval-based-Voice-Conversion-WebUI/venv/lib/python3.10/site-packages/librosa/core/audio.py", line 209, in __soundfile_load
    context = sf.SoundFile(path)
  File "/workspace/Retrieval-based-Voice-Conversion-WebUI/venv/lib/python3.10/site-packages/soundfile.py", line 658, in __init__
    self._file = self._open(file, mode_int, closefd)
  File "/workspace/Retrieval-based-Voice-Conversion-WebUI/venv/lib/python3.10/site-packages/soundfile.py", line 1216, in _open
    raise LibsndfileError(err, prefix="Error opening {0!r}: ".format(self.name))
soundfile.LibsndfileError: Error opening '/workspace/Retrieval-based-Voice-Conversion-WebUI/TEMP/audio.mp3.reformatted.wav': System error.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/workspace/Retrieval-based-Voice-Conversion-WebUI/infer/modules/uvr5/modules.py", line 82, in uvr
    pre_fun._path_audio_(
  File "/workspace/Retrieval-based-Voice-Conversion-WebUI/infer/modules/uvr5/vr.py", line 63, in _path_audio_
    ) = librosa.core.load(  # 理论上librosa读取可能对某些音频有bug，应该上ffmpeg读取，但是太麻烦了弃坑
  File "/workspace/Retrieval-based-Voice-Conversion-WebUI/venv/lib/python3.10/site-packages/librosa/core/audio.py", line 184, in load
    y, sr_native = __audioread_load(path, offset, duration, dtype)
  File "/workspace/Retrieval-based-Voice-Conversion-WebUI/venv/lib/python3.10/site-packages/decorator.py", line 232, in fun
    return caller(func, *(extras + args), **kw)
  File "/workspace/Retrieval-based-Voice-Conversion-WebUI/venv/lib/python3.10/site-packages/librosa/util/decorators.py", line 59, in __wrapper
    return func(*args, **kwargs)
  File "/workspace/Retrieval-based-Voice-Conversion-WebUI/venv/lib/python3.10/site-packages/librosa/core/audio.py", line 240, in __audioread_load
    reader = audioread.audio_open(path)
  File "/workspace/Retrieval-based-Voice-Conversion-WebUI/venv/lib/python3.10/site-packages/audioread/__init__.py", line 127, in audio_open
    return BackendClass(path)
  File "/workspace/Retrieval-based-Voice-Conversion-WebUI/venv/lib/python3.10/site-packages/audioread/rawread.py", line 59, in __init__
    self._fh = open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/workspace/Retrieval-based-Voice-Conversion-WebUI/TEMP/audio.mp3.reformatted.wav'

Reinstated ffmpeg. Now it works but only when I upload music as file, but not when I specify folder path


text:
Persist task error messages

Persist task error messages in the graph document. This makes it easier to debug failed workflows. Minor feature regression.
@RackHD/corecommitters @VulpesArtificem

test this please

+1

+1

authors: VulpesArtificem benbp jlongever

repo: RackHD/on-core


text:
modify generate enclosure job to not override other relation type

PR to 1.1.0 branch, the same as https://github.com/RackHD/on-tasks/pull/102 that has been merged into master.
Without this PR, the enclosure node that doesn't have "encloses" relationType previously will not be updated to include information about compute nodes. This problem is only exposed with the fix of ODR-314 (https://github.com/RackHD/on-http/pull/88, https://github.com/RackHD/on-core/pull/62) about adding the deleting and updating enclosure/compute node.

:+1:

Can one of the admins verify this patch?

:+1:

authors: anhou heckj iceiilin jlongever

repo: RackHD/on-tasks


text:
Adding linters for Markdown and RST files for documentation

Goal: Try to have these for all ROCm repositories with documentation

https://github.com/RadeonOpenCompute/ROCm/pull/2207

repo: RadeonOpenCompute/ROCm


text:
como hago una toolkit

me pregunto como puedo empezar a crear mi propia toolkit
he visto muchas con .sh (bash)
alguien me puede explicar

Depende de las necesidades que tengas. ¿Qué quieres hacer?

authors: RafaelAybar sqkli

repo: RafaelAybar/Bash-toolkit


text:
Create SPECS_English.md

Translated Portuguese to English using Google Docs.

Please add this English version of docs.  Thank you!!


text:
Leading kset to kset join operator fails to parse in DSL

Describe the bug
The following line of code:
 m += ( raft::kset( g0, g1, g2 ) >> raft::kset( a, b, c ) ) >= ( j >> print );

should parse according to the grammar, indeed there is a test case in the dev branch to
ensure that this is the case. Syntax, however, fails to parse in the master branch.
To fix, pull test cases to master branch, and debug from there.
Steps To Reproduce
Run test case ksetContContJoin.cpp
Expected behavior

M producers in first kset should be joined to M consumers in second kset

Started new branch, will tag when I have some commits for this issue specifically.

repo: RaftLib/RaftLib


text:
Attachment problem on latest version v1.8.2.291

If I try to send an email with an attachment, the email is not sent:

Working fine on my end. Depending on your connection stability, sometimes it can fail the first time and then work, if you insist on it. Other than that, make sure the upload size limit set on the server is enough.

My upload size limit is 50Mb, but the file in attach is only 500Kb.
Furthermore, this error occurs only after the last update...

Try to enable and check the log file. I just tested sending a ~700KB file to myself and it worked fine.

Working fine for me... (17Mb test)
Have you checked on your admin panel http://installation_URL/?admin if the settings is allright?

Yes, in the admin panel the settings is correct.
In the log file is no trace of the attachment operation and if I save the draft message, after in the saved email the attachment is not longer present: I think it does not work  the loading, although it seems to work.

@glardone
What is your web server? nginx?

My web server is apache.

authors: RainLoop arturbonnett glardone megadr01d

repo: RainLoop/rainloop-webmail


text:
PHP Parse Error - PHP 5.3.10 on Ubuntu 12.04.5 LTS

When running the scanner with a valid domain name, I get the following error:
php app.php -u http://www.domain-name.com -d

PHP Parse error:  syntax error, unexpected '[' in /home/user/Wordpress-scanner/app.php on line 64

PHP Version: PHP 5.3.10-1ubuntu3.22
OS: Ubuntu 12.04.5 LTS

Disregard - source notes 5.4+ is required.

repo: RamadhanAmizudin/Wordpress-scanner


text:
Restructure Project to Add Backend in Express (MVC Architecture)

Describe the feature
@RamakrushnaBiswal, The current project structure is solely focused on the frontend. To accommodate the development of backend routes as outlined in Issues #33  and #30 , we need to restructure the project to include a backend layer built using Express.js, following a Model-View-Controller (MVC) architecture.
Proposed Changes:
Create a new directory: Create a new directory named backend at the project's root level.
Initialize Express.js: Within the backend directory, initialize a new Express.js application using npm init express or a similar command.
Implement MVC Structure:
Models: Create a models directory within backend to store JavaScript files representing data objects (e.g., User.js, Product.js). These models will interact with the database to retrieve and store data.
Controllers: Create a controllers directory within backend to house JavaScript files containing functions that handle incoming requests, process data using models, and render appropriate responses (e.g., UserController.js, ProductController.js).
Routes: Define routes in an routes directory within backend to map HTTP methods (GET, POST, PUT, DELETE) to specific controller functions.
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a gssoc-24-extd contributor
[X] I want to work on this issue

@samar12-rad assigned

solved via #45

repo: RamakrushnaBiswal/PlayCafe


text:
Erro ao buscar OS's antigas

Olá,
o banco de dados foi atualizado para a versão 4.32.1, composer foi rodado em uma instalação local da mesma versão e a pasta copiada para a hospedagem.
Após isso, ocorreu o problema na hora de mudar as abas das O.S.
Isso só ocorre nessa aba, no financeiro, clientes, produtos e serviços esta ok.

@Triaca Você atualizou o seu banco de dados usando os .sql dentro da pasta updates ou por dentro do sistema?

utilizando os .sql.
copiei um por um até a versão atual

@Triaca Tente olhar na pasta application/logs para ver se não tem algum log de erro.

Continuo com o problema.
Quando vou pesquisar OS's antigas elas não aparecem, se clico para avançar ou no número da página, simplesmente as OS's não aparecem.
Porém se clico em pesquisar com o status da OS's. Elas aparecem mas não me deixa mudar a página e checar as antigas.

@Triaca Vou investigar esse problema no final de semana


text:
Make "return to menu" button more visual

As you can see the return to menu button is not visible in the game view:

To address this:

Consider adding an appropriate background color to enhance visibility.
You can adjust its position for better visual prominence.

Hey @Ramzi-Abidi, I am so sorry I didn't add a comment to ask to be assigned this issue, but I hope my pr is still acceptable. I will ensure to ask you beforehand in the future.
PR to change styling for "return to home" button: https://github.com/Ramzi-Abidi/Pong/pull/79

repo: Ramzi-Abidi/Pong


text:
Add Perspective library and Open CSV data file with Perspective Viewer option

Perspective JS repo: https://github.com/finos/perspective

Perspective viewer setup loading sample superstore.arrow data file:

new Open With ... -> Perspective/Tabular Data Viewer option:

closing this as all the required hooks are now added to table view and vscode configs. Will finish actual Perspective view implementation to match current Tabular table view in #79.

repo: RandomFractals/tabular-data-viewer


text:
Headers or URL Params Break Caching?

I can't get caching to work and the only thing I can think of is that the headers or URL parameters are somehow preventing this from working. I imagine this is probably user error of some sort, but I can't see what I'm doing wrong. Any help would be appreciated.
I'm using the latest version (2.3.3) from npm and here is my code:
const setup = require("axios-cache-adapter").setup;
window.axios = setup({
    cache: {
        maxAge: 15 * 60 * 1000,
        //readHeaders: false,
        //ignoreCache: false,
    }
});

// Here is the actual ajax call:

  return axios.get(routesUrl, {
    params: {
      status: $store.state.group.show_inactive_pairs_routes ? '' : 'active',
      groupId: !_.isEmpty(groupId) ? groupId : $store.state.group.nid
    }
  })

I've tried it with and without the readHeaders/ignoreCache arguments in the setup arguments. It makes no difference and I cannot get caching to work at all.
I'm using this code in a Vue.js application which has a button that triggers an Ajax call. I would expect to see a network request the first time I click the button, and no network call on the second and subsequent clicks. But, instead, no caching occurs. Ever.
Here is what one of these API calls looks like:

Any ideas?

I ended up using this cache adapter instead (https://github.com/kuitos/axios-extensions) and it worked right away. I'm pretty sure there is either a bug here or maybe I was doing something wrong with the setup. But if anyone has a similar issue, at least you can try the other project, which worked for me without any issues.

Hey @DrLongGhost !
Sorry it took me so long to get back to you. Glad you found another solution that is working for you.
Just in any case someone has this issue, for now, by default axios-cache-adapter does not cache requests with query parameters. You can enable query parameter caching using exclude.query = false option.
import { setup } from 'axios-cache-adapter'

const axios = setup({
    cache: {
        maxAge: 15 * 60 * 1000,
		exclude: { query: false }
    }
})

This will change in v3.
Sorry for this not being very clear in the documentation.
Cheers 🍻

Will close issue for now. If you have any extra feedback do give please do 🚀

authors: DrLongGhost RasCarlito

repo: RasCarlito/axios-cache-adapter


text:
embedding_response_selector has not installed with the installation procedures mentioned in the documentation

I have used the below command line to install new version of rasa,
$ pip install rasa-x --extra-index-url https://pypi.rasa.com/simple

The embedding_response_selector has not installed in rasa.nlu.selectors. To be specific no folders for selectors has been found after installation.

@Sarvin92 rasa.nlu.selectors was added in Rasa 1.3.0. Since Rasa-X is currently not compatible with Rasa 1.3.0, pip install fetches Rasa 1.2.5.
We are working on getting Rasa-X compatible with Rasa 1.3.0 and releasing it.

Thanks for the clarification @dakshvar22
The installation has achieved by building from source, using the following command,
$ git clone https://github.com/RasaHQ/rasa.git
$ cd rasa
$ pip install -r requirements.txt
$ pip install -e .

repo: RasaHQ/rasa


text:
Don't allow finetuning core with previously unseen labels that were in the domain.

Rasa version:  2.2
Issue:
Steps to reproduce:

We have labels that are in the domain but not in any stories.
We run rasa train core
We add a story with one of the aforementioned labels.
We run rasa train core --finetune

Expected result:
Exit gracefully.
Actual result:
Allows the model to be finetuned.

@m-vdb I think this issue is very much a feature related issue and should stay in Enable's inbox?


text:
User Message

Rasa Core version:
0.10.0
Python version:
Python 3.6.6 :: Anaconda
Operating system (windows, osx, ...):
Windows 8
Issue:
Hey everyone!I want to save all the user message in order to use it to train rasa nlu model again .I is there any solution for this problem ?
Content of domain file (if used & relevant):

Thanks for creating this issue, @tmbo will get back to you about it soon.

I am not sure how you run your model, but if you are using the rasa_nlu.server script, there is an argument called --response_log that will dump your incoming queries and the predictions of the model to a file. Does that solve your issue?

@abirhajji do you need any more help or can we close this issue?

I solve it thank you

authors: abirhajji akelad tmbo


text:
$ pip install https://s3-ap-southeast-1.amazonaws.com/posit-speedgo/tensorflow_posit-1.11.0.0.0.1.dev1-cp36-cp36m-linux_x86_64.whl

Not able to get this installed ,
Can you please specify the requirements of the machine and versions of the software

Which is exactly the error you get at installation?
Running the following commands in order gets to a successful installation on an Ubuntu 18.04 system:
pip install numpy-posit
pip install requests
pip install https://s3-ap-southeast-1.amazonaws.com/posit-speedgo/tensorflow_posit-1.11.0.0.0.1.dev1-cp36-cp36m-linux_x86_64.whl
pip install softposit

If you get an error with the TensorFlow version on your system, you can check with the different wheels that are found in https://github.com/xman/tensorflow/wiki

which python and tensorflow version is suggested ?

Python >= 3.6
A modified version of TensorFlow is installed with the wheel file and pip command mentioned in the issue title. If you have TensorFlow previously installed, I guess some problems will raise, since it is not a different-named package such as numpy-posit.
I suggest installing these packages in a virtual environment.

authors: Amithvassit RaulMurillo

repo: RaulMurillo/deep-pensieve


text:
【其他】开发群

最近收到很多高质量的PR，想想现在还没有一个用于开发交流的群组，还是建一个吧（主要是想跟你们偷学dotnet技术😶）。
之前的微信群被定义为聊天吹水群，前前后后因为举报封禁，转移过四五次群组了。有的是因为图片尺度，但大部分还是因为意识形态。。。
这次建个开发群，用来主聊技术、dotnet、bili、云这些。二极管和对技术不感兴趣的就不要进了（你们可以去吹水群），欢迎对技术感兴趣的朋友，尤其是以前贡献过代码的朋友进。

另外，我发现有些资源也是可以（或者说应该）和曾经贡献过的开发人员一起分享的：

JetBrain免费证书

之前用这个开源仓库申请了一个JetBrain的免费证书，包含resharper，对dotnet开发还是非常有用的，这个应该是与贡献者共享的才对。但之前证书个数好像写成1个了，今年续期时我会留意下。

bili接口文档

目前有个使用apifox创建的api组织，用于调试和开发，这个也可以分享出来，可以一起维护使用。

过期了，请问能拉一下嘛

过期了，能重新拉一下吗

过期了

更新了，仅限开发进，非开发被会请出去哈

可以搞个TG群吗****

过期了过期了宝

过期了，麻烦更新一下

二维码过期了呢！更新一下呗

搞个tg群吧

过期啦QAQ

过期啦 还能更新下吗

过期拉，能再拉一下吗

过期拉，能再拉一下吗****

过期罗拉一下~

过期了

可以重新发下二维码吗

可以重新发下二维码吗

TG群组：https://t.me/+TproSmcI8P44MzU1

希望作者更新一下docker镜像，github或者docker hub的都可以

微信群麻烦大佬更新下 谢谢

repo: RayWangQvQ/BiliBiliToolPro


text:
Feature Request: Support for the Magic Items module.

The spells cast from the Magic Items module have their own popup where you can select the spell level which affects how many item charges are used.

It would be awesome if this module could update that dialog as well, potentially replacing the "spell slots remaining" number with the number of charges casting at that level will cost.
It looks like the dialog has a render event similar to the one you're currently hooking in to (renderMagicItemUpcastDialog). If there's some other thing that needs changing on the Magic Items module side let me know and I can go and add a feature request on that repo as well.

Hey dude, thanks for the feedback, I'll definetly work on that next weekend!

authors: Mejari Rayuaz


text:
Errors using Java 8, Spigot 1.8.9.

[22:30:31] [Server thread/ERROR]: Could not pass event InventoryClickEvent to DecoHeads v1.3 org.bukkit.event.EventException 	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-1.8.9.jar:git-Spigot-db6de12-07c3001] 	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.8.9.jar:git-Spigot-db6de12-07c3001] 	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.8.9.jar:git-Spigot-db6de12-07c3001] 	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.8.9.jar:git-Spigot-db6de12-07c3001] 	at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1630) [spigot-1.8.9.jar:git-Spigot-db6de12-07c3001] 	at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:31) [spigot-1.8.9.jar:git-Spigot-db6de12-07c3001] 	at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:9) [spigot-1.8.9.jar:git-Spigot-db6de12-07c3001] 	at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.8.9.jar:git-Spigot-db6de12-07c3001] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_72] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_72] 	at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [spigot-1.8.9.jar:git-Spigot-db6de12-07c3001] 	at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [spigot-1.8.9.jar:git-Spigot-db6de12-07c3001] 	at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot-1.8.9.jar:git-Spigot-db6de12-07c3001] 	at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot-1.8.9.jar:git-Spigot-db6de12-07c3001] 	at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot-1.8.9.jar:git-Spigot-db6de12-07c3001] 	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_72] Caused by: java.lang.NullPointerException 	at com.rayzr522.decoheads.DHListener.onInventoryClick(DHListener.java:39) ~[?:?] 	at sun.reflect.GeneratedMethodAccessor549.invoke(Unknown Source) ~[?:?] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_72] 	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_72] 	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.8.9.jar:git-Spigot-db6de12-07c3001] 	... 15 more

Sorry, this is actually caused by something I didn't know about at the time of writing the plugin (originally). I assume this happened while you were in creative?

Yes. :(

Sorry for the inconvenience. I will fix it tomorrow and then give you a dev build.
Bukkit is stupid sometimes, and at the time of writing the plugin I didn't know that. I'll fix it up for ya :D

Oh okay, thanks ! :D And when do you think, the 1.4 will be released ? :D (yeah I'm so impatient xD)
Thanks a lot ! :D

Not sure, tbh I haven't even touched it in a month or two. Now that I have some stuff to fix / feature requests from you I will start working on it again.
So probably a week or two, I work pretty quick :wink:

Well I might not the categories system done at that point... it depends, I may or may not be able to modify the GUI to allow that functionality. We'll see :grin:

Oh yeahs thanks ! :D
Okay good luck ! :) Fantastic plugin, the best I saw.

Thank you :grin:
People like you are what make developing worth it :smile:

:D.

Any news ? :D

Sorry! I've been busy with my dev group, and the last few days I've been (shudder) cleaning out my hard drive. I used to have only 98GB of free space, now I have something like 240GB!
Anyways, I should have more free time, I'll try and get to this in the next 7 days. Thanks for your patience :P

Okay, no problem. :dagger:
Thaanks. You're welcome. :D

I've fixed this specific issue and localized the messages/text in the plugin into a config file. I still need to tweak a couple things, but after that I'll release v1.3.1. It should be out on Monday.
If you know how to use Maven, you can compile itself by simply cloning the project, going into the project directory with your terminal/command prompt, and running mvn clean package.
Do keep in mind that it's not ready for release yet, and I will most likely change some things with the localization config. I'm not a huge fan of the current formatting.
Also just one more note, I will be changing to use Java 8 after this release. I'm sorry if some people don't have Java 8, but it is ridiculous to ignore the huge benefit to me as a developer just for a few people, especially since nearly all server hosts are using Java 8 now and people with homebrew servers can upgrade in a matter of 15-Ish minutes.
Big wall o' text for ya :P

Hello,
I don't know how to use Maven. :( I will wait for the release so. ;)
I use Java 8 so this isn't a problem for me. :D
Thanks ! :)

Fixed in v1.3.1

Yep.


text:
Sideboard guide

Is it possible to add an a easier way to add sidebaord guide.
Like when we edit the deck, we add a matchup deck name, and we can add the card we get in and out, using the same way we add card to sideboard for exemple, or an other way ?
Thank when we go to the deck, it shows a sheet of the sideboard guide ?
Thanks

Hi!Thank you for your message. Sideboard is one of the main parts of playing events. But for now, i can not see how can we add some sideboard guides.

repo: Razviar/mtga-pro-tracker


text:
update n8n logo

The n8n logo was redesigned in 2022, and this PR updates the corresponding graphic files to align with the new design.

Thank you for your PR !


text:
Tooltip does not hide when dragging elements with ReactDnD

I use ReactDnD to move elements around the page. I want to show a tooltip when hovering over such an element before drag starts. When dragging starts, the tooltip should disappear.
What happens right now, is, that as soon as I start dragging, the tooltip will not hide until I dropped the item.
My item component looks like this:
<React.Fragment>
  <DraggableItem
    data-tip
    data-for: "item_1",
    id="item_1"
    ref={(instance: any) => connectDragSource(instance)}
  />
  <ReactTooltip id="item_1">
    some example content
  </ReactTooltip>
</React.Fragment>

Any hints on how to make the tooltip disappear when dragging starts would be appreciated.
Greets
-act

@actraiser can share your solution

@actraiser shot in the dark here but I'm having the same issue if you found a solution.

@faz919 feel free to open a new issue if you're experiencing that with v5.

I found the documentation for that use case and it worked well. Thank you!

@faz919 please share so other people can use it as well in the future.

authors: actraiser faz919 gabrieljablonski semosem

repo: ReactTooltip/react-tooltip


text:
TypeError: Cannot read property 'history' of undefined

import React from 'react';
import PropTypes from 'prop-types';
import { makeStyles } from '@material-ui/core/styles';
import AppBar from '@material-ui/core/AppBar';
import Tabs from '@material-ui/core/Tabs';
import Tab from '@material-ui/core/Tab';
import Typography from '@material-ui/core/Typography';
import Box from '@material-ui/core/Box';
import { Toolbar ,Button,Grid} from '@material-ui/core';
import {MoreIcon,LoginIcon, Dashboard} from '@material-ui/icons';
import AccountCircleIcon from '@material-ui/icons/AccountCircle';
import IconButton from '@material-ui/core/IconButton';
import'./Appbar.css';
import {useHistory,useRouteMatch} from 'react-router-dom';
import { withRouter } from "react-router";

function TabPanel(props) {
    const { children, value, index, ...other } = props;

    return (
        <div
            role="tabpanel"
            hidden={value !== index}
            id={`simple-tabpanel-${index}`}
            aria-labelledby={`simple-tab-${index}`}
            {...other}
        >
            {value === index && (
                <Box p={3}>
                    <Typography>{children}</Typography>
                </Box>
            )}
        </div>
    );
}

TabPanel.propTypes = {
    children: PropTypes.node,
    index: PropTypes.any.isRequired,
    value: PropTypes.any.isRequired,
};

const useStyles = makeStyles((theme) => ({
    root: {
        flexGrow: 1,
        backgroundColor: theme.palette.background.paper,
    },
    alignment: {

    }
}));

function Appbar() {
    const classes = useStyles();
    const [value, setValue] = React.useState(0);

    const handleChange = (event, newValue) => {
        setValue(newValue);
    };

    let history = useHistory();
    function Move(){
        history.push("/services");
    }

    return (
        <div className={classes.root}>
            <AppBar position="static" color="default">
                <Toolbar>
                    <Typography variant="h4" color="textPrimary">
                        WorkPholio
                     </Typography>
                    <Tabs value={value} onChange={handleChange} aria-label="simple tabs example" style={{ flex: 1 }}>
                        <Tab label="Home"/>
                        <Tab label="Services" onClick={Move}/>
                        <Tab label="About Us"/>
                    </Tabs>
                    <Toolbar>
                        <IconButton>
                            <Dashboard title="Dashboard"/>
                        </IconButton>
                        <IconButton>
                            <AccountCircleIcon />
                        </IconButton>
                    </Toolbar>
                </Toolbar>
            </AppBar>
        </div>
    );
}
export default Appbar;

Please Give me solution, dont close it, dumbass react!!!

You're erasing our issue template and giving no context on this code. I'm closing it because this isn't an support system, it's a bug tracker. This isn't a React Router bug, it's something wrong with your code. You need to fix it yourself.

authors: timdorr vijaytembugade

repo: ReactTraining/react-router


text:
feat: use go mod

This is my first pull request, please ask me if you have any questions.

The v1 updates are for bug fix only. If you want to participate by adding features please do it for the v2. Yet, in the v2 we already have go mod.

authors: ChinaHDJ teivah

repo: ReactiveX/RxGo


text:
Export the interface for Scheduler

Discussed offline:

The Scheduler interface should be exported
The class implementations of any Schedulers should not

This is not needed.
The SchedulerLike interface is exported via export * from './internal/types';

repo: ReactiveX/rxjs


text:
fix(windowTime): fix windowTime bug

Description:
this line of code cause the bug
const windows = this.windows

Related issue (if exists):
#4847

leave a comment in case for being locked

Could you add a failing test that reproduces the problem and shows that this change fixes it? Ideally, IMO, bug fix PRs should consist of two commits: one that adds a failing test; and another that includes the change that fixes the bug and makes the test pass.

authors: cartant githubxiaowen


text:
docs: only here should redirect

Description:
Related issue (if exists):

This seems to be duplicated in #6222.

authors: benlesh santoshyadavdev