text:
Is it possible to use this system generation with Mirror multiplayer system?

Hi, i wanted to know if it was possible to use this generation system in a multiplayer game made with Mirror.
Thanks.

The current system not have a multiplayer implemetnation but it's possible to support one. The main point is send three elements over the network:

The world configuration: it's the class inside the NoiseManager used for the creation of the new chunks (not edited ones). You need send this one time, when the user connect to the server.
The ChunkData: The chunk data contains the terrain data (all the modifications applied to the the terrain), in this case the server must send that data when a connected client load that area of the world. The data is in : Application.persistentDataPath >worlds > [WorldName].
The real time modifications: You need replicate all the modifications from a client in the host and the other clients for the same state of the terrain in all users. Function that modify the terrain: chunkManager.ModifyChunkData(). You need send this each time user make a modification in any area of the game or to the current  areas of the client and send the chunk data when client render a modified chunk.

The implementation is possible however you need a correct knowledge of the code of the project..

Thx, for the answer, i'll try to implement those :)

Any more doubts about this you can create new issue or continue in this one. Try to implement the three elements in the order  of the list in my previous comment I think that's the easier order.

Hi javier, I've implemented multiplayer chunk system but chunk's data is too much for MTU. I tried to compress chunk data by using LZ4 and it compressed chunk data to 1k byte. But sometimes compression not works well and exceeds MTU which is roughly 1024 byte.
How can I compress chunk data better than generic compression algorithms?
Also I tried to implement lighting like minecraft, light spreads out to chunk vertices etc but the problem is: When player modifies chunk, we need to calculate light each time(using unity jobs). Do you have any idea about how can I improve performance?

i'm working to get it working with Mirror
rn it can succesfully load chunks and work like normal on Host mode

@Diamantino-Op  if your world  is not modifiable then its easy to make it multiplayer but my world is editable and players can dig/build.

mine too

basically it loads world like normal, it spawn the chunks only on the server btw, and the server sends them to the client in real time

basically it loads world like normal, it spawn the chunks only on the server btw, and the server sends them to the client in real time

did you check the chunk data size :D
its too much to send over network mine was 70k byte which is 70x bigger than MTU

nope didn't check

i think you can set the max message size here

but you are using TCP based transport which automatically splits one big packet into chunks. Problem is not about sending chunk data, problem is its size is too much to send over network. Image you have 100ccu and players are wandering around the world. Its nearly impossible without some compression.

then how can we do it?

I don't know if it's possible to get a better comparison of the chunk I used in the CompressHelper.cs the Gzip algorithm, but I think LZ4 is better.
Similarly for the illumination I think you need recalculate the illumination each time because you build a new mesh each modification.
For the network chunk size problem, maybe I have a solution:
The idea is that you send to the user all the region data when he connect to the server, so the user have the current state of the game when end the load. At that point all edits action are sent to the server and this one use it to update his chunk data and send a compressed version of all  edit actions in that frame to all clients. In this system the client must have all the region data loaded (or all regions where a user is playing) so he can modify the data of that chunk when the server send the modifications (low cost part). The client only creates the mesh of the user active chunks (that's the high cost part).

I create a diagram of the network idea of edit replication between all clients:

i have done this for now if you are ineterested: https://github.com/Diamantino-Op/Mirror-Multiplayer-Macrhing-Cubes-Terrain

this is my version (Has some bugs but "works")

8Kbs network usage when loading a lot of chunks together

I don't know if it's possible to get a better comparison of the chunk I used in the CompressHelper.cs the Gzip algorithm, but I think LZ4 is better. Similarly for the illumination I think you need recalculate the illumination each time because you build a new mesh each modification.
For the network chunk size problem, maybe I have a solution: The idea is that you send to the user all the region data when he connect to the server, so the user have the current state of the game when end the load. At that point all edits action are sent to the server and this one use it to update his chunk data and send a compressed version of all edit actions in that frame to all clients. In this system the client must have all the region data loaded (or all regions where a user is playing) so he can modify the data of that chunk when the server send the modifications (low cost part). The client only creates the mesh of the user active chunks (that's the high cost part).

thanks this is really good method but if i only send actions instead of chunk data, there might be a problem caused by synchronization. But if i remember correctly minecraft is struggling with that problem too. If you have a lag then someone place block before you. But since its a server auth environment, client has to obey server so there wont be desyn i hope

emre, try my code, it follow a bit the solution given by Javier

emre, try my code, it follow a bit the solution given by Javier

gonna check thanks

8Kbs network usage when loading a lot of chunks together

The problem here is that is too much data trafic if you want scale the multiplayer. You only send the edits after the user end loading the region data on the initial connrection?.

thanks this is really good method but if i only send actions instead of chunk data, there might be a problem caused by synchronization. But if i remember correctly minecraft is struggling with that problem too. If you have a lag then someone place block before you. But since its a server auth environment, client has to obey server so there wont be desyn i hope

Yeah the idea is use the host as authory and for merge some edits (marching cubes world modification support multiple actions in the same point). So the system support better the lag problems that Minecraft world.

8Kbs network usage when loading a lot of chunks together

The problem here is that is too much data trafic if you want scale the multiplayer. You only send the edits after the user end loading the region data on the initial connrection?.

basically yes, i made mirror check if client has fully loaded the terrain

Now the system allow the user edit the terrain each frame, maybe edits with a littel of cooldown between them reduce the traffic, for example wait the dig animation of the shovel end (1 edit per second).

yeah, i may do that in the future

authors: Diamantino-Op Javier-Garzo emre-sahinn


text:
Feature Forms

In this PR, I did the following:

Following is the list of the forms created:
Form for creating Comment
Form for creating Post
Managed all tasks using rails ApplicationController
Fixed Linter errors

Hi @elisha2kyakpo1
Thanks for reviewing my code. I have applied your advice. 🙏

source: gharchive/pull-request

repo: Jawad-Nazari/Blog-App

license: MIT

license_type: permissive

license_source: github-api


text:
🛑 Unifi is down

In 44cdb6b, Unifi (https://unifi.rovacsek.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Unifi is back up in d6133ee after 14 minutes.

source: gharchive/issue

repo: JayRovacsek/uptime


text:
🛑 Firefox-Syncserver is down

In d942363, Firefox-Syncserver (https://firefox-syncserver.rovacsek.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Firefox-Syncserver is back up in 5142f3a after 4 hours, 7 minutes.


text:
Add inline link to CONTRIBUTING to improve accessibility in README.

Fixes https://github.com/JayShukla8/Quotes/issues/185.
The link to CONTRIBUTING.md in  README file currently is just a plain text.
https://github.com/JayShukla8/Quotes/blob/cf7da08769d1160cfbb57ec8074e2c42f3c7b738/README.md?plain=1#L7

[x] Added an inline link for the same will improve accessibility.

Contributing as a registered participant of Hacktoberfest. Do let me know for any changes or improvements.

Thanks but i think the way it is is just fine.


text:
Host prints prompt with wrong escaping

Description
After running git clone, my prompt no longer used the chars to set the colors.
It shows this:
0:00:02.667608:07:42

Steps to reproduce

open a powershell console
run git clone https://github.com/Jaykul/Profile

Environment

PSVersion                      5.1.14393.953
Windows 10                  14393.969
1.0.2      Configuration
1.6        DefaultParameter
1.0.4      Environment
2.1.2      PowerLine
1.1.0      Profile
2.0.4      PSGit
1.2        PSReadline

Screenshot

Did this fix it?

repo: Jaykul/Profile


text:
Trigger readed as a buttons

In some racing games when i try to set up triggers for acceleration/brake they're read as a buttons, or when i will set them as a axies they work like a buttons, that happens in Race Driver GRID and Xpand Rally.

Did your problem ever get solved? I am having the same issue as well.

I was having some trouble with this too and got confused because the Analog trigger seems to also register as a button in addition to an axis and most emulators will automatically choose the button over the Axis if you are just using auto-detect/assign for your controls. The solution is to manually select your controls and find the axis that is modified by using the triggers. Not sure if this applies to everyone, (Dualshock 4 controller of course) but for me the correct axis were Axis-Xr+ or Full-Axis-Xr+ for L-Analog and Axis-Yr+ or Full-Axis-Yr+ for R-Analog. Also there are the axes Axis-Xr- and Axis-Yr- which are the inverse versions and will register as decreasing pressure on the triggers the more you actually apply pressure to them (If you want the triggers to be always held down idk).

license: mit

license_source: bigquery


text:
Update dist path in Bower and README

dist/codemirror.min.js -> dist/react-codemirror.min.js in bower.json.
Also updates the README.

Thanks @fastdivision!

authors: JedWatson fastdivision

repo: JedWatson/react-codemirror


text:
Setting a batching period policy blocks graceful termination

It appears that configuring batch with a period policy blocks graceful termination of a Benthos process. Configuration and sample output shown below.
When I remove the period policy and only have batch_size, I am able to safely terminate the benthos process and observe the pending batch is flushed correctly.

Config
metrics:
  prometheus:
    prefix: benthos
    path_mapping: ""

input:
  file:
    paths: [${DATA_PATH}/input/pypi/*.jsonl]
    codec: lines
  processors:
    - label: json_to_csv
      bloblang: |
        map escape_csv {
          root = if this.re_match("[\"\n,]+") {
            "\"" + this.replace("\"", "\"\"") + "\""
          } else {
            this
          }
        }

        meta = deleted()

        root = [
          (this.timestamp | "").string().apply("escape_csv"),
          (this.project | "").string().apply("escape_csv"),
          (this.url | "").string().apply("escape_csv"),
          (this.details.installer.name | "").string().apply("escape_csv"),
          (this.details.installer.version | "").string().apply("escape_csv"),
          (this.details.implementation.name | "").string().apply("escape_csv"),
          (this.details.implementation.version | "").string().apply("escape_csv"),
          (this.details.system.name | "").string().apply("escape_csv"),
          (this.details.system.release | "").string().apply("escape_csv")
        ].join(",")
output:
  broker:
    outputs:
      - drop: {}
        processors:
          - log:
              message: "dropping a batch"
    batching:
      period: 1m
      byte_size: 20_000_000
      processors:
        - insert_part:
            index: 0
            content: "timestamp,project,url,installer_name,installer_version,implementation_name,implementation_version,system_name,system_release"
        - archive:
            format: lines
        - bloblang: |
            meta batch_hash = content().hash("xxhash64").encode("hex")

Actual output
{"@timestamp":"2021-12-09T16:50:58Z","@service":"benthos","component":"benthos.input","level":"INFO","message":"Consuming from file '/data/input/pypi/pypi_results_000000000000.jsonl'"}
{"@timestamp":"2021-12-09T16:50:58Z","@service":"benthos","component":"benthos.output","level":"INFO","message":"Dropping messages."}
{"@timestamp":"2021-12-09T16:50:58Z","@service":"benthos","component":"benthos","level":"INFO","message":"Launching a benthos instance, use CTRL+C to close."}
{"@timestamp":"2021-12-09T16:50:58Z","@service":"benthos","component":"benthos","level":"INFO","message":"Listening for HTTP requests at: http://0.0.0.0:4195"}
{"@timestamp":"2021-12-09T16:51:03Z","@service":"benthos","component":"benthos.output.processor.0","level":"INFO","message":"dropping a batch"}
^C{"@timestamp":"2021-12-09T16:51:05Z","@service":"benthos","component":"benthos","level":"INFO","message":"Received SIGTERM, the service is closing."}
{"@timestamp":"2021-12-09T16:51:20Z","@service":"benthos","component":"benthos","level":"INFO","message":"Unable to fully drain buffered messages within target time."}
{"@timestamp":"2021-12-09T16:51:25Z","@service":"benthos","component":"benthos","level":"ERROR","message":"Failed to stop stream gracefully within target time."}

Expected output
(observed when I remove the period policy)
{"@timestamp":"2021-12-09T16:54:50Z","@service":"benthos","component":"benthos.input","level":"INFO","message":"Consuming from file '/data/input/pypi/pypi_results_000000000000.jsonl'"}
{"@timestamp":"2021-12-09T16:54:50Z","@service":"benthos","component":"benthos.output","level":"INFO","message":"Dropping messages."}
{"@timestamp":"2021-12-09T16:54:50Z","@service":"benthos","component":"benthos","level":"INFO","message":"Launching a benthos instance, use CTRL+C to close."}
{"@timestamp":"2021-12-09T16:54:50Z","@service":"benthos","component":"benthos","level":"INFO","message":"Listening for HTTP requests at: http://0.0.0.0:4195"}
{"@timestamp":"2021-12-09T16:54:55Z","@service":"benthos","component":"benthos.output.processor.0","level":"INFO","message":"dropping a batch"}
^C{"@timestamp":"2021-12-09T16:54:56Z","@service":"benthos","component":"benthos","level":"INFO","message":"Received SIGTERM, the service is closing."}
{"@timestamp":"2021-12-09T16:54:56Z","@service":"benthos","component":"benthos.output.processor.0","level":"INFO","message":"dropping a batch"}

This is an interesting one as it's intentional: https://github.com/Jeffail/benthos/blob/master/lib/output/batcher.go#L105, but also could be changed if we decide the behaviour isn't useful.
When you shut benthos down with a sigterm it begins a graceful termination, where we'd like to stop but we're happy to wait for a short period of time in order to flush pending messages, commit pending acks, and make sure we have our affairs in order before we stop.
However, a timer also sets off (configurable with the field shutdown_timeout), at which point all components are given the signal to terminate immediately, where they are expected to close connections even if there are pending messages/acks, with the accepted trade off that duplicates might occur the next time we start.
When you configure a batching policy without a period and we enter graceful termination then we flush the partial batch because without a period there is no remaining batching condition that might trigger (the input should also have stopped consuming).
However, when a period is specified then there is some mechanism for finishing the batch as configured even though we aren't expecting new messages. If the batching period is significantly less than the shutdown timeout then I think it's fair to wait as failing to do so could have an impact on downstream services. If the batching period is higher than the shutdown timeout then there's no point blocking, we should either be dropping the batch or flushing it immediately.
There's no way for the batcher to actually know how long the timeout is right now without it being triggered, so we can't do the smart thing. I think in hindsight it's probably worth flushing immediately as that's quite intuitive and unlikely to harm downstream components in practice.

@Jeffail

There's no way for the batcher to actually know how long the timeout is right now without it being triggered, so we can't do the smart thing. I think in hindsight it's probably worth flushing immediately as that's quite intuitive and unlikely to harm downstream components in practice.

That was my intuition as well. I think it's possible to advise users to raise the shutdown timeout to exceed any period policies in effect but that will now likely cause issues with respect to the process supervisor e.g. k8s/containerd/... and not great from CI/CD to extend beyond 60s of waiting on a process.
For my use case, I don't think I need anything over 30s and I caught this issue because I'm tuning a lot of things as part of testing the framework.

@Jeffail
file:output/batcher.go  ,channel:m.shutSig.CloseNowChan is used many times ,but no where to close it,Sometimes it will cause the process to get stuck

Thanks @gesixin! Did another tidy up which I think should fix it: https://github.com/Jeffail/benthos/commit/933ff6679b352dd926607c58f4c817280d023331

authors: Jeffail disintegrator gesixin

repo: Jeffail/benthos


text:
Elasticsearch bulk output cant operate on the same id (even across different indices)

So currently you cant do multiple operations involving the same id when using bulk elasticsearch output even if the indices are different.
Suppose I have the following config.yaml
# input/processors removed for this example
output:
  elasticsearch:
    urls:
      - "http://localhost:9200"
    index: '${! json("index") }'
    id: '${! json("id") }'
    action: '${! json("action") }'

and that my input consists of the following json objects
{"id": "1", "index": "1", "action": "index", "x": 0}
{"id": "1", "index": "2", "action": "index", "x": 1}
{"id": "2", "index": "3", "action": "update", "x": 2}
{"id": "2", "index": "3", "action": "update", "y": 3}

I would expect that the body for request sent from benthos to elasticsearch is as follows:
{"index" : { "_index" : "1", "_id" : "1" }}
{"x": 0}
{"index" : { "_index" : "2", "_id" : "1" }}
{"x": 1}
{"update" : { "_index" : "3", "_id" : "2" }}
{"doc": {"x": 2}}
{"update" : { "_index" : "3", "_id" : "2" }}
{"doc": {"y": 3}}

which would result in me having 3 unique documents in elasticsearch as follows:
 {"id": "1", "index": "1", "action": "index", "x": 0}
 {"id": "1", "index": "2", "action": "index", "x": 1}
 {"id": "2", "index": "3", "action": "update", "x": 2, "y": 3}

instead it sends this:
{"index" : { "_index" : "2", "_id" : "1" }}
{"x": 1}
{"update" : { "_index" : "3", "_id" : "2" }}
{"doc": {"y": 4}}

which only results in
 {"id": "1", "index": "2", "action": "index", "x": 1}
 {"id": "2", "index": "3", "action": "update",  "y": 3}

In practice, this might not be very common since ids are often unique and multiple updates to the same document are usually handled at the same time, but given the asynchronous and distributed nature of many systems, it could be a problem (like it is for me currently).
Fortunately, the issue is an easy fix since the following lines appear to be the culprit https://github.com/Jeffail/benthos/blob/master/lib/output/writer/elasticsearch.go#L282-L289
		requests[e.idStr.String(i, msg)] = &pendingBulkIndex{
			Action:   e.actionStr.String(i, msg),
			Index:    e.indexStr.String(i, msg),
			Pipeline: e.pipelineStr.String(i, msg),
			Routing:  e.routingStr.String(i, msg),
			Type:     e.conf.Type,
			Doc:      jObj,
		}

I plan on adding a PR that:

changes requests into an array (so ids cant collide)
adds an Id field to the pendingBulkIndex struct
relevant tests

Let me know if this seems unreasonable or there are any other things that could be indirectly affected by this

Only problem with that is that you still couldn't do multiple updates to the same id/index pair in 1 bulk request (normally I might not care but this is supported by Elasticsearch). We could just build a new array since the statuses are returned in the same order they were received and it's only an array of pointers


text:
retweets from other

Does anyone know why they can't crawl the tweets that users retweet?

I think I have an answer for this

repo: Jefferson-Henrique/GetOldTweets-python


text:
执行ComponentContainer.TryGetPreAuthCode(Component_AppID, Component_AppSecret, true)卡死

(*** 此版块专为反馈bug及提交需求服务，不负责解答开发问题，请勿发表开发问题，
如果您需要这方面的帮助，请移步问答社区：https://weixin.senparc.com/QA ***)
问题描述
执行ComponentContainer.TryGetPreAuthCode(Component_AppID, Component_AppSecret, true)卡死，修改getNewToken参数为false就能过
正常使用版本
Senparc.CO2NET v0.5.2
Senparc.CO2NET.APM v0.2.5
Senparc.CO2NET.Cache.Redis v3.4.2
Senparc.CO2NET.Cache.Redis.RedLock v2.1.0
Senparc.NeuChar v0.6.4
Senparc.Weixin v6.3.11
Senparc.Weixin.Cache.Redis v2.5.3
Senparc.Weixin.MP v16.6.15
Senparc.Weixin.Open v4.4.5.2
重现问题步骤（如果可以）

...
...

微信官方文档 URL
微信官方文档快照（直接复制关键内容到下方）
发现问题的模块

[ ] Senparc.Weixin 版本：
[ ] Senparc.Weixin.MP 版本：
[ ] Senparc.Weixin.MP.MVC 版本：
[x] Senparc.Weixin.Open 版本：
~- [ ] Senparc.Weixin.QY 版本：~
[ ] Senparc.Weixin.Work 版本：
[ ] Senparc.Weixin.WxOpen 版本：
[ ] Senparc.Weixin.Cache.Redis 版本：
[ ] Senparc.Weixin.Cache.Memcached 版本：
[ ] 其他模块：

模块对应的 .net 版本

[ ] .net 3.5
[ ] .net 4.0
[x] .net 4.5
[ ] .net standard 2.0
[ ] .net core 1.x
[] .net core 2.x

开发环境

[ ] Visual Studio 2010
[ ] Visual Studio 2010 (SP1)
[ ] Visual Studio 2012
[ ] Visual Studio 2013
[ ] Visual Studio 2015
[x] Visual Studio 2017
[ ] 其他：

缓存环境

[x] 服务器内存缓存（默认）
[x] Redis 版本：
[ ] Memcached 版本：
[ ] 其他

联系方式
Email：554393109@qq.com
（也可将问题地址及联系方式发送到 www.jeffrey.su@gmail.com）

发布问题后，请保持对 issue 的关注，有时会有需要进一步沟通的信息，很长时间内没有得到答复的 issue 将被关闭。

1、执行 ComponentContainer.TryGetPreAuthCode() 之前是否使用独立的Register方法注册过？
2、如果改用异步方法 ComponentContainer.TryGetPreAuthCodeAsync() 还有同样的情况发生吗？

1、执行 ComponentContainer.TryGetPreAuthCode() 之前是否使用独立的Register方法注册过？
2、如果改用异步方法 ComponentContainer.TryGetPreAuthCodeAsync() 还有同样的情况发生吗？

1、在Global中使用register.RegisterOpenComponent(AppID, AppSecret, aFunc, bFunc, cFunc)进行注册的，其中aFunc, bFunc, cFunc在控制层中是静态方法；
2、为尝试过，晚点试试

1、注册的时候没有异常，再重新强制注册的时候出错了，是吧？顺便问一下用的是什么缓存？

1、注册的时候没有异常，再重新强制注册的时候出错了，是吧？顺便问一下用的是什么缓存？

对的，初次注册无异常【不知和我把aFunc, bFunc, cFunc写在控制层有没关系】；用Redis

@554393109 我这边暂时不能重现这个问题，不知道你是否能先直接部署一下原版的Demo，缩小一下问题的范围。
另外异步方法也可以换一下试一下。

@554393109 最新预览版本已经发布，请试一下，欢迎反馈结果。

repo: JeffreySu/WeiXinMPSDK


text:
Compiling scss too many time

After npm run watch and then if i modify and save scss files, compiling process is not less than 4 seconds... http://joxi.ru/a2XeBzEUYxE3Ag
With laravel-elixir (with same scss'es) this process was fast.

It looks your CSS file is pretty huge. Not much we can do there.

@JeffreyWay But earlier, with laravel-elixir, this compiling with same css files was maximum 0.3 seconds!

Webpack is doing more things than Gulp.
But I have a large project, and the watcher compiles everything down in less than a second. Seems like you have nearly a meg's worth of CSS. That's a lot.

authors: JeffreyWay rorc

repo: JeffreyWay/laravel-mix


text:
copyDirectory not working in event hook

Laravel Mix Version: #.#.# (npm list --depth=0)
Node Version (node -v): v7.7.3
NPM Version (npm -v): 4.1.2
OS: MacOS Sierra 10.12.4

Description:
When trying to copy a directory using mix.copyDirectory within an event hook it just does nothing. While doing that same function outside of the event hook would work. It just be to early.
Steps To Reproduce:
Try a mix.copyDirectory inside an event hook; mix.then(() =>) for example
Code snippet
mix.then(() => {
    console.log('Finished, doing postprocessing..');

    mix.copyDirectory('fonts/', 'public/fonts').then(() => {
        del('fonts');
    });
});

Does other methods like scripts() or styles() works in the then() callback ?
You can always use native node-js methods OR a package like ncp to perform such file operations.

Thanks ankurk91 for the response. Other mix functions don't seem to work either. I could use other libraries and it would do the job. But that is not the solution I'd prefer.

mix.then(() => {
    console.log('Finished, doing postprocessing..');

    mix.copyDirectory('fonts/', 'public/fonts').then(() => {
        del('fonts');
    });
});

This isn't how Mix works, so you can'd do that.

authors: JeffreyWay ankurk91 d-lamers


text:
Support for link aliasing

When writing a blog post, I want to be able to reference a link without using the actual name of the link.
I tried the below example and it doesn't seem to work:
[alias text]([[link]]) OR [link|alias text]
EDIT: doing this seems to work alias text, but i don't see the link when i hover over the link within the post

Hi, The current javascript is only able to convert [[file]] to file.


text:
Primer: Expect no formatting changes in attrs, hypothesis and poetry

Primer on the CI is failing in https://github.com/psf/black/pull/1609 because it expects changes in attrs, hpyothesis and poetry.
Testing, there are changes with --experimental-string-processing, but not by default. So the config can be updated to expect no changes with those three.

Thank you!

authors: JelleZijlstra hugovk

repo: JelleZijlstra/black


text:
JenniRun spawner stops game over, no double jump

Found the commit where the jump and spawner were working, made a new branch, and made a PR to put it in the correct branch.

That fixed it.

repo: JenniTheDev/JenniLand


text:
Make it possible to render the contents of cards that already exist in the Anki collection.

I've been looking for a way to link my flashcards to my obsidian notes lately and the first approach I thought about was by creating deep links to load the card in the anki previewer dialog, but I have no Idea about how to do it. Then I learned from the Anki Connect documentation that it's possible to use this add-on to get the informations from any card, including the question, the answer and the CSS by request of external scripts.
Now that I found that your plug-in can render the contents of flashcards inside obsidian I think it'd be awesome if you made it possible to render the contents of the cards that already exists in Anki's collection inside Obsidian as well.

Thank you for the request!
Unfortunately doing a two-way conversion would be complicated and it would be very difficult to come up with an elegant solution. AnkiBridge works on a single ground truth, which is the Obsidian vault. I can't see this changing in the foreseeable future.
Cards from Anki would be unavailable when Anki isn't running or a caching layer would have to be implemented and ultimately I think a better approach would be to manually or semi-automatically convert cards into Obsidian and then use AnkiBridge to put them back into Anki — This is actually what I've been doing myself.

authors: JeppeKlitgaard ankified

repo: JeppeKlitgaard/ObsidianAnkiBridge


text:
Locations can be created but not destroyed?

FireHole can be created via:
hammer_location FireHole
However, there seems to be no way to delete the object? Remove Anything doesn't work as it doesn't seem to have a target point to aim at.

You might need ESP mod to enable visual rays for locations.

Just tried it out, esp_enable * unfortunately doesn't show any data for FireHole

authors: JereKuusela hakanaiseishin

license: Unlicense


text:
⬆  (deps) ramda@0.29.0, framer-motion@10.12.2, redis.. [b]

  ● @types/ramda (dev) 0.28.23 ❯ 0.29.0
  ● @upstash/redis      1.20.2 ❯ 1.20.3
  ● @vercel/og           0.5.2 ❯ 0.5.3
  ● framer-motion      10.11.5 ❯ 10.12.2
  ● ioredis              5.3.1 ❯ 5.3.2
  ● postcss (dev)       8.4.21 ❯ 8.4.22
  ● ramda               0.28.0 ❯ 0.29.0
❯ ● ts-jest             29.0.5 ❯ 29.1.0

This pull request has been deployed to Vercel.

Latest commit:
c4d67fa

✅ Preview:
https://jeromefitzgerald-17o372m0z-jerome5.vercel.app

🔍 Inspect:
https://vercel.com/jerome/jeromefitzgerald/EXbZzFMENsM71XNhajKmyWEbJZPV

View Workflow Logs

authors: BotJerome JeromeFitz

repo: JeromeFitz/websites


text:
Fast incoming trade offers don't get served and disappear.

I was playing around with SteamBot when i encountered this bug.
When i send 5 consecutive trade offers from my account to Bot's account as fast as i can, every time either one or two offers don't get served. The funny thing is that the offers are still active on my account and are awaiting acceptance. But when i log to Bot's account from a browser, there are no active trades. I downloaded a fresh copy of SteamBot, just to be sure that it isn't a problem with my custom code and the bug still occurs.

If i do it when Bot isn't running, they all arrive as normal.
If i send another trade offer to the Bot, the stuck one(s) get somehow unstuck and are then sent as normal and notifications appear.
If i send the offers more slowly one after another, everything goes smooth.
It seems that it only happens when the Bot is going to accept these offers. If they are to be declined, there is no problem

Hope it only happens when offers are sent from the same user, i can't really test it with multiple users.
Regards

This is a Steam bug.
I ran into this issue over 7 months ago: https://gist.github.com/scholtzm/8af1cc037caede283a1c

authors: scholtzm sqruf


text:
how to add some commands like !help !sell ! buy

please help

someone help me to do everything with bot and i can pay

You're spamming our E-mails.
#427 #527


text:
Change default Font on MacOs to San Francisco

It is a default font UI in macOS. Introduced a lot of versions ago.

(on this screenshot ' symbol is different, not sure why. Maybe in the new version of the font it is different)
Old:

New:

It is not allowed to use San Francisco directly. We should use "system" alias, that can point to a new font in the future.

Buttons:

repo: JetBrains/androidx


text:
Compose navigation crash v2.8.0-alpha08 (UnsatisfiedLinkError)

Describe the bug
A clear and concise description of what the bug is.
After creating i setup compose navigation, selected last version (2.8.0-alpha08) but when i try launch app, I get error
Exception in thread "main" java.lang.UnsatisfiedLinkError: 'long org.jetbrains.skia.paragraph.TypefaceFontProviderWithFallbackKt._nMakeAsFallbackProvider()'
Affected platforms

Desktop (Windows)

Versions

Libraries:

Compose Multiplatform version: 1.6.11
Navigation Multiplatform version (for related issues): 2.8.0-alpha08

Kotlin version: 2.0.0
OS version(s) (required for Desktop and iOS issues): windows 11Pro 23H2 22631.3593
OS architecture (x86 or arm64): x64
JDK (for desktop issues): 17.0.2

To Reproduce
Steps to reproduce the behavior:

Clone repo https://github.com/vladyslavv-ua/Compose-desktop-navigation-crash
Open in IDE
Try to launch application
See Error

Expected behavior
Running application
Screenshots

Additional context

The new skiko version is required, but it seems the project receives an older skiko version.
Could you please try with Compose Multiplatform 1.7.0-alpha01?
Alternatively, you may try to force skiko version 0.8.9

For Navigation 2.8, Compose 1.7 IS required. It's in dependencies, but probably downgrading is due to the plugin version.
The solution is as @eymar wrote - use a compatible dependency version.
PS @eymar no need to overwrite a skiko version manually - it will just end up with another version conflict.

Update compose plugin helped. Thanks

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

Thanks for the help @eymar and @MatkovIvan. How did you know from the stack trace that this was the issue?

authors: MatkovIvan eymar nkratochwill okushnikov vladyslavv-ua

repo: JetBrains/compose-multiplatform


text:
Unable to load maven meta data

I get the following error when I try and run ./gradlew runIde from the Rider dir.
Unable to load Maven meta-data from https://cache-redirector.jetbrains.com/dl.bintray.com/kotlin/kotlin-eap/com/jetbrains/intellij/rider/riderRD/2021.3-SNAPSHOT/maven-metadata.xm.
I have  cloned the project, following instructions in Contributors.md

Thank you for reporting.
Just pushed the fix to net213. https://github.com/JetBrains/godot-support/commit/94711962b3455e753399e9def9f27a992fec4140

repo: JetBrains/godot-support


text:
Fix Chocolatey install interfering with GitVersion variables

Fixes #43.

@gusztavvargadr good work! :+1:

Thanks @pavelsher!

repo: JetBrains/meta-runner-power-pack


text:
What about Live Templates?

How is this different to Resharoer's standard Live Templates, where, e.g. I just type 'pps' for a public string auto-property? All I enter is the property name.

These are just Live Templates, but there are more of them than the ones that comes with ReSharper - more types for public properties, options for public, internal, private, etc. Methods instead of properties and so on. The idea is just to make it easier and quicker to create the boilerplate code using a string that's guessable and easy to remember.

authors: bradykelly citizenmatt

repo: JetBrains/mnemonics


text:
bkt.txt added and mg.txt removed due to new email address

Official website
Long-term IT related course (This is a German vocational school. Here the three-year apprenticeship "Fachinformatiker"/IT specialist is taught.)
Siwiwissen (All schools of the district Siegen Wittgenstein use Siwiwissen with the abbreviation of the school as subdomain. On the Siwiwissen website, Berufskolleg Technik Siegen is also listed below.)

@MarkenJaden Thank you for the update! Pull request merged.

authors: MarkenJaden philipto

repo: JetBrains/swot


text:
Add Saint Joseph Pierre Rouge

Add Saint Joseph Pierre Rouge a French high school near Montpellier.

@Temavers First stage of verification passed, official domain is pierrerouge.com as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@Temavers Thank you for your patience while waiting for a review and processing your request. Pull request merged.

authors: Temavers philipto


text:
ålands yrkesgymnasium, Gritlab

https://gritlab.ax/

@Jacobpes I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host gritlab.mariehamn.ax not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!

authors: Jacobpes philipto


text:
Create hardenhuish.txt

https://hardenhuish.wilts.sch.uk
https://www.hardenhuish.wilts.sch.uk/sixth-form/ shows that they offer a computer science A-Level (2 years)
An admin email (admin@hardenhuish.wilts.sch.uk) is visible at the bottom of any page of the website

@MCgamin1738 First stage of verification passed, official domain is hardenhuish.wilts.sch.uk as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.


text:
Adding record for student mail domain at WVNCC (@mail.wvncc.edu)

Added new directory for student mail domain, @mail.wvncc.edue, for student emails at West Virginia Northern Community College.

@damon-wvncc-edu I am sorry, the domain mail.wvncc.edu is removed from our trusted domains list because the school allows to register an email address there even if you are not a student of the school. If you are the student of this school, please apply with official document (OFFICIAL DOCUMENT tab at https://www.jetbrains.com/shop/eform/students).

authors: damon-wvncc-edu philipto


text:
Add PKU 北京大学

Add PKU 北京大学

@guoxiangyang163 Thank you for your request. The parent domain for stu.pku.edu.cn is already in the trusted list. Therefore, all subdomains of pku.edu.cn, including stu.pku.en.cn, are also in the trusted list. You don't need to add it separately.
I am closing this request without merging.

When I tried to apply using this email address: guoxiangyang@stu.pku.eud.cn, I received an error message after clicking the submit button: "Your email address does not belong to any university we know. You can apply using other methods (see the tabs above) or request to add your school to JetBrains' list." What is going on?

@guoxiangyang163 Thank you for your request. The parent domain for stu.pku.edu.cn is already in the trusted list. Therefore, all subdomains of pku.edu.cn, including stu.pku.edu.cn, are also in the trusted list. You don't need to add it separately.
I am closing this request without merging.

When I tried to apply using this email address: guoxiangyang@stu.pku.eud.cn, I received an error message after clicking the submit button: "Your email address does not belong to any university we know. You can apply using other methods (see the tabs above) or request to add your school to JetBrains' list." What is going on?


text:
add domain marun

please define my school to your system.

@Receporak I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host marun.edu.tr.domains.lib not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!

authors: Receporak philipto


text:
Create perse.txt

https://www.perse.co.uk/
UK School offering Computer Science, ICT and programming courses.:

https://www.perse.co.uk/upper/academic/subjects/
https://www.perse.co.uk/upper/academic/curriculum/
(More specifically https://www.perse.co.uk/upper/academic/subjects/computer-science/)

@atoff Pull request merged. Thank you!

authors: atoff philipto


text:
Added ZPSM POSM 1st. im. S. Moniuszki

Added a school located in Katowice, Poland.

@tolek-tpr Thank you for your patience while waiting for a review and processing your request. Pull request merged. Please start applying for JetBrains educational subscription at https://www.jetbrains.com/shop/eform/students in an hour, to allow the changes to propagate through JetBrains systems.

authors: philipto tolek-tpr


text:
On Pasting From Notepad losing new line property

When I copy and paste three lines from notepad to Suneditor its getting pasted on the same line
Please check the attachment
Thanks in advance
https://user-images.githubusercontent.com/26658261/112515647-74ed2a00-8dbc-11eb-9eb2-1ffc4af6eb65.mp4

The 2.37.2 version has been updated.
If this issue has not been resolved, please reopen this issue.
Thank you.


text:
Error when I ran the code "deepen.plot_domains(adata)"

Dear Author;
When I ran the code "deepen.plot_domains(adata)" with the data provided in "DeepST/data",
I got something wrong:
>>> deepen.plot_domains(adata) Traceback (most recent call last):   File "<stdin>", line 1, in <module>   File "C:\Users\yunsy\DeepST\deepst\DeepST.py", line 375, in plot_domains     if isinstance(self.data_name, str): AttributeError: 'run' object has no attribute 'data_name'
However, when  I ran the code "deepen.plot_umap(adata)", I successfully got the umap plot like this

Can you help me?
Here is my code:
import os
from DeepST import run
import matplotlib.pyplot as plt
from pathlib import Path

data_path = "../data" #### to your path
data_name = '151673' #### project name
save_path = "../Results" #### save path
n_domains = 7 ###### the number of spatial domains.
deepen = run(save_path = save_path,
        platform = "Visium",
        pca_n_comps = 200,
        pre_epochs = 800,
        Conv_type="GCNConv", #### you can choose GNN types.
        )
adata = deepen._get_adata(data_path, data_name)
adata = deepen._get_augment(adata, adjacent_weight = 0.3, neighbour_k = 4,)
graph_dict = deepen._get_graph(adata.obsm["spatial"], distType="BallTree", k=12)
adata = deepen._fit(adata, graph_dict, pretrain = False)
adata = deepen._get_cluster_data(adata, n_domains = n_domains, priori=True) ###### without using prior knowledge, setting priori = False.
######## spatial domains
**deepen.plot_domains(adata)**  ERROR!!!
######## UMAP
deepen.plot_umap(adata)
...

Best wishes,
18K

same problem，But I can get the graph here.

Thanks, we have improved this section. You can re-run this part of your code, and welcome to contact us again (xuchang0214@163.com) if you have any question.

I replaced the DeepST.py and re-ran my code .But there is a new Error.

same problem,is your question solved?

same problem,is your question solved?

Not yet.
May be you can send an email to author?

authors: 1warm JiangBioLab yunbokai

repo: JiangBioLab/DeepST


text:
Question about the performance of VTAB-1K with FacT

Hello, inspiring work! I've encountered some issues while reproducing the results of FacT. Specifically, I'm having trouble replicating the results from the VTB-1k dataset using the default settings provided in the source code. I was wondering if you could kindly provide the detailed hyperparameter settings used for the different results presented in the paper.

Dataset
Method
Paper
Reproduce

VTAB-1K-average
FacT-TT4
73.5
-

VTAB-1K-average
FacT-TT<=16
75.3
73.1

VTAB-1K-average
FacT-TK8
74.0
-

VTAB-1K-average
FacT-TK<=32
75.6
73.0

Can I have a look at the reproduced results on each dataset?

Dataset
FacT-TT<=16
FacT-TK<=32

caltech101
91.83
91.73

cifar
71.07
71.28

clevr_count
82.69
81.25

clevr_dist
67.80
66.30

diabetic_retinopathy
73.97
75.80

dmlab
50.80
51.20

dsprites_loc
80.18
82.51

dsprites_ori
48.97
47.50

dtd
70.85
70.59

eurosat
95.70
95.81

kitti
79.32
79.04

oxford_flowers102
99.07
99.14

oxford_iiit_pet
90.41
90.27

patch_camelyon
83.56
83.54

resisc45
84.11
85.17

smallnorb_azi
34.72
33.83

smallnorb_ele
40.22
39.37

sun397
54.68
54.29

svhn
89.07
89.19

avg
73.11
73.04

Can I have a look at the reproduced results on each dataset?

Following NOAH, the "avg result" in our paper denotes "(Natural avg + Specialized avg + Structured avg) / 3".
So the reproduced avg results should be 75.3 for FacT-TT and 75.4 for FacT-TK.

Following NOAH, the "avg result" in our paper denotes "(Natural avg + Specialized avg + Structured avg) / 3". So the reproduced avg results should be 75.3 for FacT-TT and 75.4 for FacT-TK.

Got it! Thanks

repo: JieShibo/PETL-ViT


text:
Code run fine, but need clarification regarding pose matrix

Can we assume that this algorithm only needs an initial pose matrix, or does it need poses for each step in the entire camera trajectory?
If so, how can we specify initial pose for a custom dataset?

I checked the world_mats variable in tum_rgbd.py and I tweeked it to use only store the first pose value in a repeated fashion (eg below)
pose1 = np.array([[ 3.18131473e+02,  4.60102595e+02, -2.37143996e+02,  6.60288595e+00],
[ 1.32248250e+02, -1.87081717e+02, -5.28617550e+02,  5.54961371e+02],
[-3.51650973e-01,  5.42460640e-01, -7.62940395e-01,  1.31740951e+00]])
pose2 = np.array([[ 3.44746770e+02, 4.56713777e+02, -2.04209444e+02, -5.30226155e+02],
[ 9.00883139e+01, -1.36841787e+02, -5.52344190e+02,  8.36896216e+02],
[-3.39983783e-01,  6.50759651e-01, -6.78913032e-01,  9.25806734e-01]])
ini_pose = pose2
tentative_poses = [ini_pose for _ in range(572)]
world_mats = np.stack(tentative_poses, axis=0)
I see that if I set ini_pose=pose1 (a random value), reconstruction messes up, but if I set=pose2 (cameras.npz, first pose matrix) then the code works as usual, so is there something special about the initial pose ?

Hi @Homagn 1. Yes, it only requires the initial pose. 2. Here the most important thing is to define your own world coordinate frame and set your initial camera_to_world transformation accordingly. You can pre-define a world frame (e.g. define it on the floor and point z-direction upward) or simply set the first camera frame as world just like in many other SLAM system. But either ways you need to be consistent. Then you will also need to define the volume bound as in the config file to cover your region of interest. The volume bound should also be in the same world coordinate frame.
Now you should understand why it messed up when you used a random initial pose: it simply messed up with inconsistent coordinate frames. So there is nothing special about the initial pose, it is just the camera_to_world tranformation of the first camera frame. But you have to clearly define the world coordinate frame, volume bound and always be consistent.


text:
Passing variables to routePerimeterAction in nuxt

Hi,
I'm trying to follow your examples re guarding routes in nuxt.  You add a perimeter with routePerimeterAction = 'update' in the example at https://github.com/JiriChara/vue-kindergarten#usage-with-nuxtjs
However, when this code then runs, using the example article perimiter further up the page, the "article" property of update(article) is always undefined. Is this expected? Is there a way to wire up values from the route into the perimeter action?
Thanks

Hi,
I have the same problem, have you figured out an solution?
Thanks

authors: jannishuebl richardwhatever

repo: JiriChara/vue-kindergarten


text:
Crash with Swift

Hi, I get a crash as soon as I tap the tool tip:
tooltip`top_level_code at AppDelegate.swift:
0x101500540:  pushq  %rbp
0x101500541:  movq   %rsp, %rbp
0x101500544:  subq   $0x20, %rsp
0x101500548:  callq  0x10150ac32               ; symbol stub for: Swift.C_ARGC.mutableAddressor : Swift.Int32
0x10150054d:  movl   (%rax), %edi
0x10150054f:  movl   %edi, -0x4(%rbp)
0x101500552:  callq  0x10150ac38               ; symbol stub for: Swift.C_ARGV.mutableAddressor : Swift.UnsafeMutablePointer<Swift.UnsafeMutablePointer<Swift.Int8>>
0x101500557:  movq   (%rax), %rax
0x10150055a:  movq   %rax, -0x10(%rbp)
0x10150055e:  callq  0x101500330               ; type metadata accessor for tooltip.AppDelegate
0x101500563:  movq   %rax, %rdi
0x101500566:  callq  0x10150ac0e               ; symbol stub for: NSStringFromClass
0x10150056b:  movabsq $0x0, %rdx
0x101500575:  movq   -0x10(%rbp), %rdi
0x101500579:  movl   -0x4(%rbp), %ecx
0x10150057c:  movq   %rdi, -0x18(%rbp)
0x101500580:  movl   %ecx, %edi
0x101500582:  movq   -0x18(%rbp), %rsi
0x101500586:  movq   %rax, %rcx
0x101500589:  callq  0x10150ab48               ; symbol stub for: UIApplicationMain
0x10150058e:  movl   %eax, -0x1c(%rbp)
0x101500591:  addq   $0x20, %rsp
0x101500595:  popq   %rbp
0x101500596:  retq

The code I'm using (in a blank project with only this pod installed) is
        let toolTipMgr = JDFSequentialTooltipManager(hostView: self.view)

        toolTipMgr.addTooltipWithTargetView(button, hostView: self.view, tooltipText: "tip", arrowDirection: JDFTooltipViewArrowDirection.Up, width: 180.0)
        toolTipMgr.showNextTooltip()

Hi Francis,
The reason is that you need to keep a strong reference to the tooltip manager.
I just tried it out (in Objective-C); something like this will fix it:

// Interface
@property (nonatomic, strong) JDFSequentialTooltipManager *tooltipManager;

// somewhere else
self.tooltipManager = [[JDFSequentialTooltipManager alloc] initWithHostView:self.view];
[self.tooltipManager addTooltipWithTargetPoint:CGPointMake(100.0f, 200.0f) tooltipText:@"Tooltip" arrowDirection:JDFTooltipViewArrowDirectionUp hostView:self.view width:150.0f];
[self.tooltipManager showNextTooltip];

I should have made this clear in the README - I'll update it to say so.
Joe

Hi, this doesn’t help at all I’m afraid. This isn’t applicable for Swift as far as I know.

On Feb 21, 2015, at 6:42 AM, Joe Fryer notifications@github.com wrote:
Hi Francis,
The reason is that you need to keep a strong reference to the tooltip manager.
I just tried it out (in Objective-C); something like this will fix it:
// Interface
@property (nonatomic, strong) JDFSequentialTooltipManager *tooltipManager;
// somewhere else
self.tooltipManager = [[JDFSequentialTooltipManager alloc] initWithHostView:self.view];
[self.tooltipManager addTooltipWithTargetPoint:CGPointMake(100.0f, 200.0f) tooltipText:@"Tooltip" arrowDirection:JDFTooltipViewArrowDirectionUp hostView:self.view width:150.0f];
[self.tooltipManager showNextTooltip];
I should have made this clear in the README - I'll update it to say so.
Joe
—
Reply to this email directly or view it on GitHub https://github.com/JoeFryer/JDFTooltips/issues/3#issuecomment-75368221.

So, in Swift you would add a property (let/var, whatever you want) for your tooltip manager to your view controller (I'm assuming it's a view controller where you're using the tooltips from).
Quick/dirty example, that works:

Yes, that works, thanks! Not the fix I was expecting (not sure how the “strong reference” translates to declaring as an optional then unwrapping as I don’t know ObjC).
Unfortunately tho when I add
        toolTipMgr?.showsBackdropView = true

the tips don’t appear...

On Feb 21, 2015, at 12:37 PM, Joe Fryer notifications@github.com wrote:
So, in Swift you would add a property (let/var, whatever you want) for your tooltip manager to your view controller (I'm assuming it's a view controller where you're using the tooltips from).
Quick/dirty example, that works:
https://cloud.githubusercontent.com/assets/5180610/6315138/3d0d7a50-b9f0-11e4-9b03-b47ac279ee88.png
—
Reply to this email directly or view it on GitHub https://github.com/JoeFryer/JDFTooltips/issues/3#issuecomment-75382534.

You're right - I'll push a fix when I can.
As a workaround, if you show the tooltips from viewDidAppear instead of viewDidLoad/viewWillAppear, it works ok.

Thanks! I’m also seeing some odd layout behaviour (see shots)…it looks like the origin of the tip’s frame = LR corner of the target, which is unexpected with that arrow config.

On Feb 21, 2015, at 1:36 PM, Joe Fryer notifications@github.com wrote:
You're right - I'll push a fix when I can.
As a workaround, if you show the tooltips from viewDidAppear instead of viewDidLoad/viewWillAppear, it works ok.
—
Reply to this email directly or view it on GitHub https://github.com/JoeFryer/JDFTooltips/issues/3#issuecomment-75385481.

No pictures have come through...

Hmm I've just tried something similar, and it seems to be working ok. Could you upload a test project showing the issue?

authors: JoeFryer francisjervis

repo: JoeFryer/JDFTooltips


text:
Atom.Object.defineProperty.get is deprecated.

atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace),
which returns an HTMLElement.
Atom.Object.defineProperty.get (/usr/share/atom/resources/app/src/atom.js:54:11)
AtomJsHint.updatePane (/home/s2move/.atom/packages/atom-jshint/lib/atom-jshint.js:151:26)

@Joezo Please close this as a duplicate of #70. Blame Atom's own programming for this mess.

authors: impinball renatomarinho

repo: Joezo/atom-jshint


text:
Touch key switch - _TYZB01_gr6rozze / TS0011

"ids": {
    "modelId": "TS0011",
    "manufacturerName": "_TYZB01_gr6rozze"
  },
  "endpoints": {
    "endpointDescriptors": [
      {
        "endpointId": 1,
        "applicationProfileId": 260,
        "applicationDeviceId": 256,
        "applicationDeviceVersion": 0,
        "_reserved1": 0,
        "inputClusters": [
          0,
          4,
          5,
          6
        ],
        "outputClusters": [
          25
        ]
      }
    ],
    "endpoints": {
      "1": {
        "clusters": {
          "basic": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 0,
                "name": "zclVersion",
                "value": 3
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 1,
                "name": "appVersion",
                "value": 65
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 2,
                "name": "stackVersion",
                "value": 0
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 3,
                "name": "hwVersion",
                "value": 1
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 4,
                "name": "manufacturerName",
                "value": "_TYZB01_gr6rozze"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 5,
                "name": "modelId",
                "value": "TS0011"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 6,
                "name": "dateCode",
                "value": ""
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 7,
                "name": "powerSource",
                "value": "battery"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 1
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65534,
                "name": "attributeReportingStatus",
                "value": "PENDING"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65504
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65505
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65506
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65507
              }
            ],
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          },
          "groups": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 0,
                "name": "nameSupport",
                "value": {
                  "type": "Buffer",
                  "data": [
                    0
                  ]
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 1
              }
            ],
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          },
          "scenes": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 0
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 1
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 2
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 3
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 4
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 1
              }
            ],
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          },
          "onOff": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 0,
                "name": "onOff",
                "value": false
              },
              {
                "acl": [
                  "readable",
                  "writable",
                  "reportable"
                ],
                "id": 16385,
                "name": "onTime",
                "value": 0
              },
              {
                "acl": [
                  "readable",
                  "writable",
                  "reportable"
                ],
                "id": 16386,
                "name": "offWaitTime",
                "value": 0
              },
              {
                "acl": [
                  "readable",
                  "writable",
                  "reportable"
                ],
                "id": 32769
              },
              {
                "acl": [
                  "readable",
                  "writable",
                  "reportable"
                ],
                "id": 32770
              }
            ],
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          }
        },
        "bindings": {
          "ota": {
            "attributes": [],
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          }
        }
      }
    }
  }

https://nl.aliexpress.com/item/4000465170042.html?spm=a2g0s.9042311.0.0.27424c4dFE8yPJ


text:
fixes #770, MHCOZY 2-channel relay switch _TZ3000_ruldv5dt / TS0002

Fixes https://github.com/JohanBendz/com.tuya.zigbee/issues/770.
Will now properly support _TZ3000_ruldv5dt  as two devices that can individually be switched in all three modes instead of just finding one generic zigbee device that mixes up the two relais in just one device.

Hi @mech78 and thanks for the info, I have added the new device ID to the upcoming release.


text:
Make a new release

A lots of code improvement have been made, and the dist file should be smaller too

Closed thanks to: https://github.com/Johann-S/bs-custom-file-input/commit/e172a839aef0a513e771527bb27c6a1a847e0a1c

repo: Johann-S/bs-custom-file-input


text:
Add OS X support

Add OS X support
#4

Thanks a lot!

authors: JohnEstropia iiiyu

repo: JohnEstropia/GCDKit


text:
Append "title" to tab title

The "title" set in the settings (default: "Etherpad") should still be appended to the tab title.

I'm not sure I understand what you mean ;\  Can you elaborate?

Yes, I guess this is what I've meant ~4 years ago… :thinking:
Append the title of the pad to the browser tab title.

You can just accomplish this by doing Etherpad: Whatevrz...  I don't wanna break the UX here.

authors: JohnMcLear rugk


text:
Proposals: Restructure Sources + API Considerations

Right now everything is in one file, and it is almost impossible to keep track of where stuff is.
Futhermore there seems to be some discrepancies between what you can do with data and what you can do with dictionary.
It would maybe also make sense to allow people to easily get an UnboxableDictionary from Data. I think right now the API is very confusing if you have data that you haven't mapped, and a lot of nice functions for going from data to dictionary are private. Maybe for good reason? But it is quite confusing how you'd handle data, if your model is not in the root of the data.
Maybe the API for Data just needs to be extended to allow for more use cases.
Maybe most of these issues are handled by the API, but the reading the API from source is very confusing to say the least. I guess #160 will help on discoverability, but else it could maybe make sense to store it in an Unbox struct.
I am fairly new to the framework, and I've mostly been using Marshal, so maybe I just need to get used to a different way of thinking.

I just realized that my issues with data can be handled by simply creating an Unboxer giving it my data, and then unboxing the properties like I do in models.
So:
let unboxer = try Unboxer(data: myData)
let model: Model = try unboxer.unbox(key: "model1")

I guess I should've realized this sooner. This will at least make a lot of my Marshal cases easier to translate.

Hi @bjarkehs!
Sorry for taking so long to reply to this. Your suggestions are really good - I've been going back and forth on the pros & cons of having everything in one file. What made me still keep everything in one file for the longest time was for ease of use in scripts & command line tools - but since we now have the Swift Package Manger (Unbox was originally written for Swift 1 😅) and Marathon - this is no longer a concern.
So, I've started by splitting up everything into multiple files tonight. I think most of your other concerns will be addressed by the upcoming Unbox 3.0 release, which I'm starting work on now 🙂

authors: JohnSundell bjarkehs

repo: JohnSundell/Unbox


text:
Incorrect JSON representation

Hi there. I am trying to wrap a complex structure using WRAP as mentioned in your example. The struct looks as mentioned below:
let planWrap : PlanStruct = PlanStruct(
                planName: "Name",
                mode: "Mode",
                planPurpose: "purpose",
                workouts: [
                    WorkoutStruct(
                        workoutId: 1,
                        workoutName: "Chest",
                        workoutDay: "Mon",
                        workoutColor: "Red",
                        excercises: [
                            ExcerciseStruct(
                                excerciseId: 1,
                                excerciseName: "Bench Press",
                                sets: [
                                    SetStruct(
                                        setReps: 1,
                                        setTag: 1,
                                        setType: "normal",
                                        weight: 1,
                                        splitReps: 1,
                                        splitWeight: 1
                                    ),
                                    SetStruct(
                                        setReps: 2,
                                        setTag: 2,
                                        setType: "normal",
                                        weight: 2,
                                        splitReps: 2,
                                        splitWeight: 2
                                    )
                                ]),
                            ExcerciseStruct(
                                excerciseId: 1,
                                excerciseName: "Bench Press",
                                sets: [
                                SetStruct(
                                    setReps: 1,
                                    setTag: 1,
                                    setType: "normal",
                                    weight: 1,
                                    splitReps: 1,
                                    splitWeight: 1
                                    ),
                                SetStruct(
                                    setReps: 2,
                                    setTag: 2,
                                    setType: "normal",
                                    weight: 2,
                                    splitReps: 2,
                                    splitWeight: 2
                                    )
                                ])
                        ]),
                    WorkoutStruct(
                        workoutId: 1,
                        workoutName: "Legs",
                        workoutDay: "Tue",
                        workoutColor: "Red",
                        excercises: [
                            ExcerciseStruct(
                                excerciseId: 1,
                                excerciseName: "Regular Squats",
                                sets: [
                                    SetStruct(
                                        setReps: 1,
                                        setTag: 1,
                                        setType: "normal",
                                        weight: 1,
                                        splitReps: 1,
                                        splitWeight: 1
                                    ),
                                    SetStruct(
                                        setReps: 2,
                                        setTag: 2,
                                        setType: "normal",
                                        weight: 2,
                                        splitReps: 2,
                                        splitWeight: 2
                                    )
                            ]),
                        ExcerciseStruct(
                            excerciseId: 1,
                            excerciseName: "Smith Squats",
                            sets: [
                            SetStruct(
                                setReps: 1,
                                setTag: 1,
                                setType: "normal",
                                weight: 1,
                                splitReps: 1,
                                splitWeight: 1
                                ),
                            SetStruct(
                                setReps: 2,
                                setTag: 2,
                                setType: "normal",
                                weight: 2,
                                splitReps: 2,
                                splitWeight: 2
                                )
                            ])
                        ])
                ])

The base structs that I use are:
struct PlanStruct {
    var planName: String
    var mode: String
    var planPurpose: String?
    var workouts: [WorkoutStruct]
}

struct WorkoutStruct{
    var workoutId: Int
    var workoutName: String
    var workoutDay: String
    var workoutColor: String
    var excercises: [ExcerciseStruct]?
}

struct ExcerciseStruct{
    var excerciseId: Int
    var excerciseName: String
    var sets: [SetStruct]?
}

struct SetStruct{
    var setReps: Int
    var setTag: Int
    var setType: String
    var weight: Int
    var splitReps: Int?
    var splitWeight: Int?
}

The code that I am using to wrap this is:
var d:WrappedDictionary = [:]
            do{
                d = try wrap(planWrap)
            }catch {
                print("error: --- \(error)")
            }

The output that it produces is:
["planName": "Name", "mode": "Mode", "workouts": [["excercises": [["excerciseId": 1, "sets": [["splitReps": 1, "setReps": 1, "setType": "normal", "weight": 1, "splitWeight": 1, "setTag": 1], ["splitReps": 2, "setReps": 2, "setType": "normal", "weight": 2, "splitWeight": 2, "setTag": 2]], "excerciseName": "Bench Press"], ["excerciseId": 1, "sets": [["splitReps": 1, "setReps": 1, "setType": "normal", "weight": 1, "splitWeight": 1, "setTag": 1], ["splitReps": 2, "setReps": 2, "setType": "normal", "weight": 2, "splitWeight": 2, "setTag": 2]], "excerciseName": "Bench Press"]], "workoutName": "Chest", "workoutId": 1, "workoutDay": "Mon", "workoutColor": "Red"], ["excercises": [["excerciseId": 1, "sets": [["splitReps": 1, "setReps": 1, "setType": "normal", "weight": 1, "splitWeight": 1, "setTag": 1], ["splitReps": 2, "setReps": 2, "setType": "normal", "weight": 2, "splitWeight": 2, "setTag": 2]], "excerciseName": "Bench Press"], ["excerciseId": 1, "sets": [["splitReps": 1, "setReps": 1, "setType": "normal", "weight": 1, "splitWeight": 1, "setTag": 1], ["splitReps": 2, "setReps": 2, "setType": "normal", "weight": 2, "splitWeight": 2, "setTag": 2]], "excerciseName": "Bench Press"]], "workoutName": "Legs", "workoutId": 1, "workoutDay": "Tue", "workoutColor": "Red"]], "planPurpose": "purpose"]

which seems to be an incorrect representation of a JSON. The objects should have { and } brackets which are missing and I couldn't find any issue that addresses this.
The output should have been in this format:
{
    "type": 0,
    "weight": 3999.72,
    "engine": {
        "manufacturer": "The Space Company",
        "fuelConsumption": 17.2321
    },
    "passengers": [
        {"name": "Mike"},
        {"name": "Amanda"}
    ],
    "launchLiveStreamURL": "http://livestream.com"
}

Any help would be greatly appreciated.
Thanks in advance.

me too pls help me if you got solution

authors: ehsankolivand priyamprym

repo: JohnSundell/Wrap


text:
Issue 469 reskin bottom navigation bar

🗃 Github Issue Or Explanation for this PR. (What is it supposed to do and Why is needed)
Navigation bar was redesign
#469
✅ Checklist

[x] Github issue details are up to date for people to QA.
[x] I have tested all my changes.

🕵♂ Notes for Code Reviewer
Navigation bar icons where change.
Pending to add proper colors, please do not merge code yet, thanks
🙈 Screenshots
For all UI changes
| Before | After |
|

|

|
| img1 | img2 |
👯♀ Paired with
"nobody"

this looks good
lets wait for the colors theme to be merged.

This design very badly needs the icon titles to be restored - otherwise it's random icons.
I know it looks more slick without titles but this is a tradeoff usability vs. looks. It needs to be obvious. Obvious UX paradigm. ;)


text:
Raw KiCad files?

Hi!
I'm curious if you'd consider making the full KiCad project, instead of just the gerbers, open source — your choc-spaced corne checks off all my boxes except for not supporting replacing a key or two with rotary encoders or roller encoders, and I'd love to just fork and make that little tweak myself rather than have to recreate a lot of the layout you've already done from scratch or starting from a different project that's farther off from my goals.
Totally understand if that's not something you're willing to do!

If you're up for an experiment, I can try just doing the bare minimum of effort and upload the files as is. You can then grab them and see what's broken?

Hi I‘m working on a keyboard that uses the xiao and want it to be reversible.
I believe you made a reversible footprint for the xiao based on your post on Reddit
https://www.reddit.com/r/ErgoMechKeyboards/s/LwAzCU8178
As I’m still new to KiCad it would help me a lot to understand if you could upload it.

You are correct! I did make a reversible XIAO footprint. I have only used it once, but it did work. The trickiest thing about footprints from what I remember is that you just need to assign the same pad number to the right place. So when you're working with the top side, say you assign the upper left pad the number one, then you need to also assign the number one to the bottom pad on the upper right. And you can't use through hole options when doing that. That just ensures that when you route things, they are going to the correct place. I'll see if I can figure out how to extract a footprint. I'm a bit busy right now, so it may take some time.
I will also say from experience that just looking at a footprint in KiCad was not super helpful to me. Not everything was obvious by sight. I had to really dig into the settings/config of it to understand what all was happening.

hey thanks for your feedback.
i gave it a shot and created a shot and created https://gist.github.com/lad1337/6de9173f0fbd4676588e0da8372f2eef have not yet tried it

No worries @gabriel-viviani. That 3rd orange keyboard is a corn-ish zen. It uses an e-ink display. Depending on how good you are (if this is your first build, then I would say maybe not ready yet, but maybe just first keyboard build? not first soldering experience?) you could possibly add one of these, but they require at least 5 gpio as opposed to the 3 for the N!V or 2 for the OLED. They are a bit more expensive than the OLEDs though, but still cheaper than N!V. If I'm being completely honest though, I do not care for them. The refresh rate is pretty tough to get used to. Most people just use them for overall connection status and battery levels, not for layer indicators or anything else. Your most cost effective option would be to go with an OLED and then look for a battery that is in that 500mAh+ range. I really like the Nintendo JoyCon batteries for this because I think they're likely the easiest to source? but I could be wrong on that.
I hope it goes well and you enjoy it! Please feel free to ask any other questions. You can ask here or try bugging me on reddit.

authors: JonMuller lad1337 lazerwalker

repo: JonMuller/gerbers


text:
Migrationsfehler seit letztem Update auf v1.1.1

The problem
Meine beiden Einträge haben seit dem letzten Update einen Migrationsfehler.
Version of Home Assistant?
Core 2024.5.2 Supervisor 2024.04.4 Operating System 12.2 Frontend 20240501.1
What type of installation are you running?
Home Assistant OS
Version of WebUntis
v1.1.1
Last working WebUntis version
No response
Traceback/Error logs
No response
Additional information
No response

Aus den Protokollen kommt folgendes:
Logger: homeassistant.config_entries
Quelle: config_entries.py:880
Erstmals aufgetreten: 07:27:19 (2 Vorkommnisse)
Zuletzt protokolliert: 07:27:19
Error migrating entry sohn for webuntis
Error migrating entry tochter for webuntis
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 880, in async_migrate
result = await component.async_migrate_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/webuntis/init.py", line 98, in async_migrate_entry
options["notify_config"][notify_key]["options"].index("lesson change")
ValueError: 'lesson change' is not in list

quick fix - should work now

Still doesn´t work? Restartet HA.

do you get the same error?

Yes

schick nochmal den neuen error

Du kannst auch auf Discord schreiben
da bekommst du meist schneller eine Antwort

Hab ich (noch) nicht. Hier der Fehler
Logger: homeassistant.config_entries
Quelle: config_entries.py:880
Erstmals aufgetreten: 09:23:58 (2 Vorkommnisse)
Zuletzt protokolliert: 09:23:58
Error migrating entry Tochter for webuntis
Error migrating entry Sohn for webuntis
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 880, in async_migrate
result = await component.async_migrate_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/webuntis/init.py", line 98, in async_migrate_entry
options["notify_config"][notify_key]["options"].index("lesson change")
ValueError: 'lesson change' is not in list

Der Fehler ist noch von der alten Version.
Da ist beim aktualisieren irgendwas schief gelaufen

Hallo Jonas,
ich habe keine Aktualisierung in HA. Es sieht so aus als wäre v1.1.1 immer noch die aktuellste Version. Kann ich auch manuell updaten?

Kommando zurück. Als Beta Update ist v1.1.2 vorhanden. Werde ich sofort testen.

Egal. Funktioniert wieder wie es soll. Vielen Dank an Dich für Deine schnelle Hilfe.

repo: JonasJoKuJonas/homeassistant-WebUntis


text:
All icons show up as missing glyphs

On first launching the app, all symbols show as missing glyphs. See screenshot.
macOS 12.4

Interesting! Do you have the SF family of fonts installed on your machine? (Is be installed by default unless you did some fancy font magic) I have a stock macOS 12.4 VM and it works fine on that, so maybe we can troubleshoot why it isn't on your setup.

Well now I'm confused.
So, the short answer is yes, I do have fonts installed. But…
Since opening this issue, it's started working. In the meantime, I installed Apple's SF Symbols Beta app, so I assume that probably added the fonts if they were missing. The package certainly seems to contain the fonts.
On the other hand, I don't see why they'd have been missing, and I didn't see any signs of that elsewhere in the system – you'd think the main system font missing would cause some visible issues!
So now I'm not sure how I can debug this, since it's working now. Hmmmm.

Alright, I tried to replicate this with a fresh macOS Ventura VM and it does seem like the SF Symbols Fonts are actually not installed by default, but rather are installed as part of the SF Symbols 4 beta app installation process :/ This is a bit annoying. Maybe we can bundle the actual font files? Dunno how that would work out legality-wise though. Or maybe there is a command one can execute to install the fonts on first run or something 🤔

That's interesting.
Looking at Apple's developer docs, it looks like the normal way to use it isn't as a font, but rather by doing something like:
Image(systemName: "multiply.circle.fill")

So if the icon font isn't bundled with the OS, it means it isn't very useful to use in 3rd-party apps (unless it can be bundled with the app). That's a pity.

That is a pity indeed 😕 I'm currently looking into maybe installing the font like a native dependency. So just like webview2 on windows, we would install it on first run if it wasn't already available. But I have yet to find a way that doesn't include the whole SF Symbols app.

authors: JonasKruckenberg caesar

repo: JonasKruckenberg/tauri-symbols


text:
🛑 IServ is down

In 57baa0d, IServ (https://gymall.de/iserv/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: IServ is back up in f177399.

repo: JonasSchaber/uptime


text:
TypeError: 'NoneType' object cannot be interpreted as an integer

I was running examples/delfile.py and got the following exception in ndn-python-repo process:
[2020-02-23 14:12:37]INFO:Delete handle processing delete command: [<memory at 0x7fa87abd06d0>, <memory at 0x7fa87abd07a0>, <memory at 0x7fa87abd0870>], None, None
[2020-02-23 14:12:37]INFO:Reply to command: /testrepo/delete/%07%10%08%02my%08%07license%08%014
[2020-02-23 14:12:37]ERROR:Task exception was never retrieved
future: <Task finished coro=<DeleteCommandHandle._process_delete() done, defined at /home/davide/.local/lib/python3.7/site-packages/ndn_python_repo/handle/delete_command_handle.py:43> exception=TypeError("'NoneType' object cannot be interpreted as an integer")>
Traceback (most recent call last):
  File "/home/davide/.local/lib/python3.7/site-packages/ndn_python_repo/handle/delete_command_handle.py", line 70, in _process_delete
    delete_num = await self._perform_storage_delete(name, start_block_id, end_block_id)
  File "/home/davide/.local/lib/python3.7/site-packages/ndn_python_repo/handle/delete_command_handle.py", line 93, in _perform_storage_delete
    for idx in range(start_block_id, end_block_id + 1):
TypeError: 'NoneType' object cannot be interpreted as an integer

This problem essentially makes delfile.py unusable.

Sorry but I cannot reproduce this error.
Looking at the line numbers in your exception, it seems that you're running an outdated version from last week?

$ pip3 install ndn-python-repo -U
Requirement already up-to-date: ndn-python-repo in /home/davide/.local/lib/python3.7/site-packages (0.1a5)
...

$ pip3 install ndn-python-repo -U
Requirement already up-to-date: ndn-python-repo in /home/davide/.local/lib/python3.7/site-packages (0.1a5)
...

I haven't updated the PyPI version yet. I will do so after resolving the remaining issues.

Ok, I installed from my local git clone and the error is gone.

Well, the exception is gone but the example still doesn't work, see #24

authors: JonnyKong Pesa

repo: JonnyKong/ndn-python-repo


text:
Related to basketball？

Hello, do you know any job related to basketball?

Like NBA 。。。

hello, unfortunately no, sorry


text:
Supports 1.20.5

I made 1.20.5 nms.

To add to this, our estimated release date is tomorrow

repo: JorelAli/CommandAPI


text:
Not accessible by default

Because this uses an svg element, it is not keyboard accessible by default. You can fix this manually by wrapping the component in a button with a key handler, but it would be great if this was supported out of the box.
For example I have fixed this with:
<button
  onKeyDown={(e) => e.code === "Enter" && toggleTheme()}
  aria-label={`switch to ${
    colorTheme === themes.DARK ? "dark" : "light"
  } mode`}
>
  <DarkModeSwitch
    checked={colorTheme === themes.DARK}
    onChange={toggleTheme}
    ...
  />
</button>

This should be keyboard accessible (can be tabbed to, and selected with enter) by default.

Because this uses an svg element, it is not keyboard accessible by default. You can fix this manually by wrapping the component in a button with a key handler, but it would be great if this was supported out of the box.
For example I have fixed this with:
<button
  onKeyDown={(e) => e.code === "Enter" && toggleTheme()}
  aria-label={`switch to ${
    colorTheme === themes.DARK ? "dark" : "light"
  } mode`}
>
  <DarkModeSwitch
    checked={colorTheme === themes.DARK}
    onChange={toggleTheme}
    ...
  />
</button>

This should be keyboard accessible (can be tabbed to, and selected with enter) by default.

Yes i'm also facing the same issue

authors: VipEvel tknickman

repo: JoseRFelix/react-toggle-dark-mode


text:
update packages version due to changes in Common and Gateway packages…

… (update Newtonsoft.Json due to  vulunerabilitties)

reviewed


text:
Error after pressing "start"

I downloaded today's code, and tried to run it on my phone. But every time I press the "Start" button, I get an message saying "Unfortunately, Pebble Data Logging has stopped". Joshua, does this happen on your phone?

This has been fixed.

repo: JoshuaJB/pebble-accel-log


text:
Feature Request: Support for sqlite3_update_hook

I am currently working on a project where it would be very helpful to receive event callbacks on updates. This could be implemented using this: https://www.sqlite.org/c3ref/update_hook.html
There's a half finished PR on node-sqlite3 here, but I would rather use better-sqlite3.

Hey, this has been requested before in #62
Turns out user-defined functions + triggers are much more powerful and easy to use in better-sqlite3.

Yup, this is a duplicate of #62.

authors: JoshuaWise Prinzhorn cuberoot


text:
Create powh-data-202406.mediawiki

6月powh统计初稿

6月powh统计初稿

review2024.6月PoWh数据，尚未定稿

repo: Jouleverse/workspace


text:
styles in separate files do not update - (Styled components)

In my project when using prefresh and styles in separate files there is no update.
How to test: run the project, go to the styles.js file, update the style.
The expected behavior is to update the style, but no changes are reflected.
Repo

Isn't this the case with React as well, the pages directory isn't meant to be used like that

this was one of the alternatives to separate components / containers, but putting the problem in the default mode still persists.

I updated the repo to the more conventional mode

Just as a general note since I haven't had the chance to look at it yet, is this issue present with React as well since this could be related to how bubbling works in next-hmr.

good morning jovi, do we have any updates?
I did a test and the react works normally, so as not to hinder the progress of the project and the team I am thinking of returning to react.

I've been diving deeper into this and seems like react-refresh is being injected alongside Prefresh

right, thank you.
Just by having feedback I can be more relaxed.

As an update, I haven't forgotten about you, the issue might reside in next-plugin-preact or an outdated dep, I've been trying to reproduce it in a test as I'm seeing the issue very present in your example.
It seems like something is preventing the component from being registered within Babel, however when I try this out in a sandbox https://astexplorer.net/#/gist/b4f4c6b8fe115ed02b4e37dc812b352e/90b17afcb13922783465dc6da2d3bbe685bfd5dc it does register both correctly
The testing PR: https://github.com/JoviDeCroock/prefresh/pull/290 this is using webpack 4 just like your setup.

Update, it seems to work correctly with webpack 4 but not with webpack 5.

Hey @JoviDeCroock jumping onto this issue since this is exactly the same problem we are observing as well. When you posted your last update where you made things work with webpack 4, what exactly did you change to resolve the problem? Did it end up being a problem with next-plugin-preact or prefresh?

Nothing it seemed to just work in https://github.com/JoviDeCroock/prefresh/tree/main/test/fixture/next/src the test runs on next-webpack4 https://github.com/JoviDeCroock/prefresh/runs/2212010369#step:6:1612 https://github.com/JoviDeCroock/prefresh/blob/main/test/index.test.js#L299
Odd that it doesn't work, let me see if I can find another bug in there

@JoviDeCroock i just created a repo for reproduction as well: https://github.com/tbgse/prefresh-styled-components
One styled component updates without issues when in the same file. But the imported styled components will not update until hard refresh. Would be curious to know if this problem presents for you as well when running this example locally.

@tbgse I think I found a fix with https://github.com/JoviDeCroock/prefresh/pull/312

@JoviDeCroock just tested - works like a charm! Would it be possible to update the dependency to that latest @prefresh/webpack version in the @prefresh/next package (and then update the next preact plugin accordingly)?

@tbgse I'll try to make work of that as soon as possible

Awesome, thanks again for resolving this so quickly - our team is more than excited to have full HMR goodness. ⭐

authors: JoviDeCroock tbgse tiagooliveira08

repo: JoviDeCroock/prefresh


text:
Installation Docs

Hi Jose,
Great work with this library. This is a request to improve the installation steps posted, most of them are very abstract and not easy to follow. I get to the end but there are two errors:

CocoaPods

Xcode:

I already did the following:

All the files on the RNiOSCharts directory I copied them to the ios folder.
The bridging header file is created
When I run pod install i got the error on (1)
I already changed Embedded content contains swift to Yes.

After this I still get on Chrome debugger:

Cheers

Hi @DiegoGallegos4 I absolutely agree on this. I'll focus on getting everything setup as easy as possible as well as easy to follow along.
Regarding your issue, after you ran pod install, did you open the .xcworkspace file instead of the .xcodeproject?
Also, have you read issue #5 and see if it's the same issue happening to you?

Jose, thanks for the quick reply.
I saw that issue. Ill add something to the installation:

Adding ${inherited} to Build Settings > Linking > Other Linker Flags

Now, I have this error: (Which I presume is due SwiftyJSON)

maybe you could try this which solve your first issue.
Go to your target Build Settings -> Other linker flags -> double click . Add $(inherited) to a new line.

Strange, I just downloaded and tried XCode 7.3 with swift 2.2 and didn't have any problems.

Hi Jose, I had to research how to remove CocoaPads and unlink the bridging header. After this, I tried again with the issue you linked for me to see and made it work. If I have time, I may take a couple of screenshots on the process to help out on the installation process for the library.
Cheers!
PD: There are some errors of syntax being deprecated on SwiftyJSON on Swfit 3. What other option do we have when that happens? Any help, i'd love to try.

Hi @DiegoGallegos4,
That's great news that it's working for you! I appreciate any contribution, especially for the docs. :+1:
Regarding the SwiftyJSON on Swift 3, I have plans to remove that dependency by then.

Hi Jose, i am experiencing the same issue here. Are u successful in removing the SwiftyJSON dependency? No luck in building to my iOS test device.


text:
Redirect to www subdomain

Hey, can I set up the container somehow to always redirect all requests to www ?
Example :

domain.com => www.domain.com

This project (JrCs/docker-letsencrypt-nginx-proxy-companion) "only" purpose is to:

enable the automatic creation of certificates from containers env var.
put them in the right place with the right name so they can be used by nginx-proxy docker-gen template.
reload the nginx proxy when needed (cert creation or renewal).

What you want to achieve depends entirely on the jwilder/nginx-proxy project, which does the actual proxying and is maintained by different people.
We only deal with issues related to letsencrypt-nginx-proxy-companion, so please submit your nginx-proxy issues directly to the nginx-proxy repo.

@buchdag I have the same situation (at least almost, i redirect the other way around), but i get an error with the certificate generation.
My setup is the following:
I use jwilders proxy-gen (seperate container not the nginx-proxy)
the proxy-gen is setup to have the redirects from www.<MY_DOMAIN>.com to <MY_DOMAIN>.to (also listenings on 443 so https://www.<MY_DOMAIN>.com should also be redirected to https://<MY_DOMAIN>.com)
I have a container with VIRTUAL_HOST <MY_DOMAIN>.com and LETSENCYPT_HOST <MY_DOMAIN>.com,www.<MY_DOMAIN>.com
the problem is that this companion ist able to generate the cert anymore, even though <MY_DOMAIN>.com and www.<MY_DOMAIN>.com are reachable, but www.<MY_DOMAIN>.com returns a 301 redirect to <MY_DOMAIN>.com.
The error thrown is the following:
Creating/renewal <MY_DOMAIN>.com certificates... (<MY_DOMAIN>.com www.<MY_DOMAIN>.com)
/usr/lib/python2.7/site-packages/acme/jose/jwa.py:110: CryptographyDeprecationWarning: signer and verifier have been deprecated. Please use sign and verify instead.
  signer = key.signer(self.padding, self.hash)
2018-05-14 08:20:21,166:INFO:simp_le:1479: Generating new certificate private key
2018-05-14 08:20:23,602:ERROR:simp_le:1446: CA marked some of the authorizations as invalid, which likely means it could not access http://example.com/.well-known/acme-challenge/X. Did you set correct path in -d example.com:path or --default_root? Are all your domains accessible from the internet? Please check your domains' DNS entries, your host's network/firewall setup and your webserver config. If a domain's DNS entry has both A and AAAA fields set up, some CAs such as Let's Encrypt will perform the challenge validation over IPv6. If your DNS provider does not answer correctly to CAA records request, Let's Encrypt won't issue a certificate for your domain (see https://letsencrypt.org/docs/caa/). Failing authorizations: https://acme-v01.api.letsencrypt.org/acme/authz/Qi_5SbKefTI2XvOqtF_ab5ZKGuF_6yClVYzBvFD8VqI
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/simp_le.py", line 1584, in main
    return main_with_exceptions(cli_args)
  File "/usr/lib/python2.7/site-packages/simp_le.py", line 1567, in main_with_exceptions
    persist_new_data(args, existing_data)
  File "/usr/lib/python2.7/site-packages/simp_le.py", line 1489, in persist_new_data
    account_key=client.key, key=None, cert=None, chain=None))
  File "/usr/lib/python2.7/site-packages/simp_le.py", line 1195, in persist_data
    plugin.save(new_data)
  File "/usr/lib/python2.7/site-packages/simp_le.py", line 493, in save
    key = self.dump_key(data.key)
  File "/usr/lib/python2.7/site-packages/simp_le.py", line 436, in dump_key
    return OpenSSL.crypto.dump_privatekey(self.typ, data.wrapped).strip()
AttributeError: 'NoneType' object has no attribute 'wrapped'

Unhandled error has happened, traceback is above

any ideas on what could be the problem? or ideas how i could get it to work?

authors: FallenRiteMonk brandon-welsch buchdag


text:
Documentation

Considera agregar el video al README.md del repo

Buen trabajo


text:
Delay event doesn't work on the first character on HTML5

Having text like
"[delay,100]Hello world"
Crashes the game, causing an out of bounds error. However doing
" [delay,100]Hello world"
Works because there is a space before the delay.

HTML5 is no longer supported

authors: JujuAdams Nejcgo

repo: JujuAdams/Scribble


text:
PkgAuthentication.jl is not invoking the auth mechanism

This issue was reported by @abhijithch in a private chat, he saw this issue happening to a Pumas workshop attendee.
PkgAuthentication.jl is not invoking the auth mechanism even though the token has expired / invalid. We were encountering below error

Above issue got resolved by manually deleting the auth.toml and re-downloading it. PkgAuthentication.jl should have invoked the authentication mechanism if the token was invalid / corrupted.

Let's hope this is fixed with the new implementation.

authors: bmharsha pfitzseb


text:
Support AMDGPU

Needs to implement gather/scatter kernels in NNlib

Gather/scatter functionality has been already implemented in https://github.com/FluxML/NNlib.jl/pull/487.
Someone with an amd gpu should test one of the layers here and see if everything works fine.

now that we have buildkite we should test on amdgpu


text:
Follow the specs more closely, switch to JWTs.jl, and fix the tests

This is a larger PR that extends #8:

The package follows the specs (https://hl7.org/fhir/smart-app-launch/backend-services.html) more closely: Token endpoint is retrieved from the server configuration available at .well-known/smart-configuration (instead users have to specify the arguably more intuitive base URL of the server), iss and sub are enforced to be the same client_id, and it is mandatory to specify the scope
The package is switched to JWTs.jl which, in contrast to JSONWebTokens.jl, already supports header claims required by the specs
The PR fixes the tests with the public SMART test server (and adds documentation)

Tests fail currently due to https://github.com/tanmaykm/JWTs.jl/pull/25: https://github.com/JuliaHealth/SMARTBackendServices.jl/actions/runs/7563819763/job/20596913050?pr=9#step:6:128
With the fix in https://github.com/tanmaykm/JWTs.jl/pull/25, tests pass locally.

So, if I recall correctly, not all servers support /.well-known/smart-configuration. So I think we should first check /.well-known/smart-configuration, but if that doesn't exist (or if it exists but we can't extract all of the required info), we should still fallback to checking /metadata.

I could not find the metadata endpoint in the specification (only in Epic-internal docs) whereas .well-known/smart-configuration is explicitly documented and part of the suggested implementation. (Therefore I think we should also use it rather than metadata in the EHR Launch implementation.)

I could not find the metadata endpoint in the specification

For the /metadata endpoint in general, the spec is here:

FHIR 4.0.1: https://hl7.org/fhir/R4/http.html#capabilities
FHIR 5.0.0: https://hl7.org/fhir/R5/http.html#capabilities
CI build of FHIR: https://build.fhir.org/http.html#capabilities

For the CapabilityStatement (which is the resource type returned by the /metadata endpoint), the spec is here:

FHIR 4.0.1: https://hl7.org/fhir/R4/capabilitystatement.html
FHIR 5.0.0: https://hl7.org/fhir/R5/capabilitystatement.html
CI build of FHIR: https://build.fhir.org/capabilitystatement.html

For the specific use of the CapabilityStatement in SMART App Launch and SMART Backend Services, you can look at historical versions of the relevant IGs (implementation guides), such as:

SMART App Launch: https://hl7.org/fhir/smart-app-launch/2021May/
SMART Backend Services: https://hl7.org/fhir/smart-app-launch/2021May/

The (unfortunate) reality is that there are still R4 systems out there in the wild that only support /metadata and don't support well-known, so I do think that we need to continue using /metadata as a fallback, at least for the foreseeable future.

For the specific use of the CapabilityStatement in SMART App Launch, you can look at historical versions of the relevant IGs (implementation guides), such as:
1. SMART App Launch: https://hl7.org/fhir/smart-app-launch/2021May/ (based on FHIR R4)

Even in this document the .well-known/smart-configuration endpoint is mentioned. In fact, it seems that already since version 1.0.0 (from 2018, based on R3) the specification requires that this endpoint exists and reports the token_endpoint: https://hl7.org/fhir/smart-app-launch/1.0.0/conformance/index.html#using-well-known

The reality is that there are still R4 systems out there in the wild that only support /metadata and don't support well-known, so I do think that we need to continue using /metadata as a fallback, at least for the foreseeable future.

I'm sure you have better experience with these systems, so maybe that's what we have to do regardless of the specifications.

@DilumAluthge the PR is ready for a re-review, I added a fallback with the metadata endpoint and a test for it.

@devmotion Looks like you need some tests to increase code coverage, and then we're good to go here?

I had checked the codecov analysis and I think there's not much we can improve unfortunately:

https://app.codecov.io/gh/JuliaHealth/SMARTBackendServices.jl/pull/9?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=checks&utm_campaign=pr+comments&utm_term=JuliaHealth#0aad7972eace7a7df65936f12d25c885-R53 and https://app.codecov.io/gh/JuliaHealth/SMARTBackendServices.jl/pull/9?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=checks&utm_campaign=pr+comments&utm_term=JuliaHealth#0aad7972eace7a7df65936f12d25c885-R105 can't be tested without a server that violates the FHIR specifications
https://app.codecov.io/gh/JuliaHealth/SMARTBackendServices.jl/pull/9?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=checks&utm_campaign=pr+comments&utm_term=JuliaHealth#0aad7972eace7a7df65936f12d25c885-R99 and https://app.codecov.io/gh/JuliaHealth/SMARTBackendServices.jl/pull/9?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=checks&utm_campaign=pr+comments&utm_term=JuliaHealth#0aad7972eace7a7df65936f12d25c885-R102 seem wrong since we test the metadata endpoint (including the for-loop here, as indicated by the coverage of the lines just above)

I've removed Codecov from the list of required checks.

authors: DilumAluthge devmotion