text:
通过域名访问有些问题就是一直加载中

docker部署的，ip访问没问题（但是截取好短），域名访问有些问题一直加载中
docker run -d -p 3000:3000 \
  -e OPENAI_API_KEY="sk-xxx" \
  -e CODE="1024" \
  --net=host \
  -e BASE_URL="https://service-xxxx.com/release"  \
  yidadaa/chatgpt-next-web

系统：[	CentOS 7.9 64bit-Docker version 23.0.5, build bc4487a]

#1208

#1208
我的第一张图是域名访问，只是有些问题无法加载，比如图里我问serverless问题，但是其他问题就可以。
我那个问题和#1208问题不一样呀，我的控制台只有一个跳转log,资源也没报错。域名访问地址http://gpt.hqzh.fun/，ip访问地址：http://159.75.255.5:3000/
@Yidadaa

和你的 ngnix 配置有关，我不太懂 ngnix，你可以搜搜别人的 ngnix 配置

和你的 ngnix 配置有关，我不太懂 ngnix，你可以搜搜别人的 ngnix 配置

请问图三通过ip访问回答被截取很短也是nginx问题嘛？我看设置是写的2000，这也才100多就截取了@Yidadaa

我使用的是腾讯云函数代理

有折腾服务器和云函数的功夫，你还不如花几分钟注册个 vercel 的号部署，然后绑个域名上去，分分钟结束。

解决了，是云函数设置响应时间短了

有折腾服务器和云函数的功夫，你还不如花几分钟注册个 vercel 的号部署，然后绑个域名上去，分分钟结束。

我绑定了腾讯云的域名，提问就会invalid api，

直接用vercel域名提问就可以

你这个情况我没遇到过，vercel我也部署了

authors: Yidadaa feichaoyu hqzh

repo: Yidadaa/ChatGPT-Next-Web


text:
[Bug] Vercel发布时，Building日志中有错误，上线后网络请求有个脚本找不到

描述问题
发布Vercel的building这一步时，会有一段错误：
./app/config/build.ts

10:53:18.365 | Module not found: Can't resolve 'child_process' in '/vercel/path0/app/config'

部署上线后，在开发者控制台的网络标签的请求记录里，会有一个请求的.js脚本地址是返回的404：
https://域名*/_vercel/insights/script.js
不知道是不是build时的错误导致少生成了这个js文件。
如何复现
请告诉我们你是通过什么操作触发的该问题。
截图
请在此提供控制台截图、屏幕截图或者服务端的 log 截图。
一些必要的信息

系统：windows
浏览器：edge
版本：20230614
部署方式：vercel

正常现象，不影响使用。

source: gharchive/issue

authors: Yidadaa ktangel

license: MIT

license_type: permissive

license_source: github-api


text:
Higher order component should provide access to original

After this
@branch({
  cursors ...
})
class Foo extends Component {
}

and exposing proxied Foo there is no reference to original Foo. Since wrapper does not expose any method of original and does not provide a link to original, a bunch of useful techniques and strategies that were available with mixins become blocked. For example, data loading strategy described at https://github.com/Yomguithereal/baobab/issues/170 is blocked because no property of original component can pass through this proxy.
Decorators use higher-order component (HOC) approach and in HOC that's the only place where original component is used:
render() {
  return <Component {...this.props} />;
}

I believe that HOC should still keep a link to a wrapped (original) component somehow.
This should be as easy as adding
var ComposedComponent = class extends React.Component {
  static original = Component; // +++
...

in both function root and function branch.

That's a sensible problem indeed. Do you know if any library is currently coping with this problem and how they might solve it?

Do you know if any library is currently coping with this problem and how they might solve it?

Unfortunately, no.

It was discussed in https://github.com/acdlite/flummox/issues/173
@gaeron proposes to solve it with decorators
function statics(a) {
  return b => Object.assign(b, a)
}

@statics({
  willTransitionTo(transition) {
    transition.abort();
  }
})
@connect({
  someStore: (store) => ({
    someProp: store.getSomeProp()
  })
})
export default class SomeRoute{
  render() {
    return <div>{this.props.someProp}</div>
  }
}

I've tried this with Baobab-React and everything works fine.
You may want to mention this in docs somewhere.
So I'm gonna close this issue for now.

This seems a nice solution @ivan-kleshnin. I don't know if this already exist but I would love to see a tiny lib pack some of the more useful react-related decorators such as this @statics and @autobind.

Never met one. I will share a link if find.

I know this is old, but just incase anyone else was looking for a library:
This part of the react-docs points to a library called hoist-non-react-static.

Hello @prescottprue. I don't remember if my HOC do this work properly. Do you want to open a PR?

repo: Yomguithereal/baobab-react

license: mit

license_source: bigquery


text:
Initial page load

I'm noticing that a refresh of the served page takes more than 5 seconds. This happens when you refresh a page with an already built bundle. Any ideas?

Hello @SeeThruHead. Are you using npm2? I am afraid this is a Babel 6 issue. Its performance with npm2 is atrociously bad. If you are not using Babel or if you think this could be something else, can I see your project somewhere so I can try to help you?

https://github.com/influitive/patternity-evo is the repo where i'm using it
npm run server will fire up the dev server
I would have thought that using babel would only affect the build times?
I'm talking about the actually http response being very slow.
Go to localhost:3000 and refresh the page.
Using npm3 and babel6

I thinks webpack-dev-middleware (as well as webpack-dev-server) throttles your inital http request until the intial bundle is compiled. Could it be your case? Will find some time in the evening to check your project and see if something went awry.

I actually wait for the bundle to finish before loading the page. And this was happening with subsequent refreshes (without any code) changes.
I just tried to replicate this after restarting my browser and I can't. Thanks for the help. I'll close this now.

No problem @SeeThruHead. Have a good day.

Oh, I see that you are using devcards. I also noticed very strangely long initialization times. It might be from devcards in fact. Let me investigate this with @glenjamin.

Yeah I noticed the delay actually returned shortly after closing this.
Thanks again!

Is it the bundle.js response time which is really slow?
Can you include some output from the chrome network tab?

https://www.dropbox.com/s/hnw0tb9vitwrrmx/Screenshot 2016-01-28 17.28.31.png?dl=0

That's quite odd, can you check the timeline tab and see what's going on in that big gap between the bundle being loaded and the HMR connection starting?

So I've come across something interesting when trying to use the timeline tab.

I've managed to figure this out.
I'm not sure why the timelines tab is unhelpful here.
I added a bunch of debug logging, and could see that the EventSource instance is created, then many seconds later it is established. Looking in the network tab shows that the connection responded in milliseconds.
Adding more debug logging, this time in the context() loop, I could see that the first require takes ages - and causes CPU-bound work to lock the event loop - which is why the HTTP request is delayed.
This appears to be caused by eval being slow, although it makes the webpack build faster, it delays lots of execution tricks the chrome can do, and kills page execution performance. The first time you require something webpack evals it, which is what takes all the time.
Switching the devtool from eval-source-map to source-map fixes the browser slowdown and doesn't seem to add much extra time to the build.

Nice find. Thanks!

authors: SeeThruHead Yomguithereal glenjamin

repo: Yomguithereal/kotatsu


text:
Implement the DSP primitive.

For chips that have these capabilities, a DSP implementation has been added in the form of all the primitives described in the Gowin documentation (UG287-1.3.3E_Gowin Digital Signal Processing (DSP) User Guide), namely:

PADD9
PADD18
MULT9X9
MULT18X18
MULT36X36
MULTALU18X18
MULTALU36X18
MULTADDALU18X18
ALU54D

The most complex but also the most useful is the MULTADDALU18X18 primitive - it allows you to easily make a typical FIR filter, while all connections between these primitives in the chain will be implemented by direct fixed wires with minimal delay.
MULT36X36 are not combined into chains, but they have a different task - this primitive can be found in Linux SOCs.
Added examples (in the examples/himbaechel directory) that are based on the tiny Riscv demonstrating calculations using UART. Only the TXD pin is used (can be found in the specific .CST file for each board), so on the large computer side, only GND and RXD are enough. Port speed 115200, no parity, 8 data bits, 1 stop bit, linefeed only.
Picocom launch example:
picocom -l --imap lfcrlf -b 115200 /dev/ttyU0

The source code for the riscv test programs is provided along with the assembly instructions, but they are not built during the compilation of the examples due to additional compilers.
Implemented the combination of primitives into chains using wires CASO-CASI, SO(A, B)-SI(A, B), as well as SBO-SBI for PADD.

This is not a simple thing and the number of combinations of these building blocks is quite large so that I foresee the need for easy correction of detected errors, and therefore the code contains some repetition of pieces.
Non-optimality: as can be seen from the set of primitives, Gowin provides already indivisible combinations (for example Mult and Alu) that are well packaged and connected inside. However, there is one exception: pre-adders. PADD18 and PADD9 exist as separate primitives and that's how we currently code them, but it's actually a small piece inside the DSP block. Gowin packages them with other primitives, we don't currently.
So keep in mind that when using pre-adders, additional delay may occur and more DSP blocks will definitely be occupied compared to Gowin.
We will solve this issue in the next version of the DSP with a more sophisticated packaging algorithm when we are convinced of the correct functioning of the primitives in principle.

Super exciting! Hopefully I can find some time to test and review soon.

Another fun challenge is going to be to teach Yosys about these cells.
For reference, this seems to be how ecp5 handles it https://github.com/YosysHQ/yosys/blob/b9d3bffda5abcbc5356936a7192c4a3c2b427c3e/techlibs/ecp5/synth_ecp5.cc#L298-L302
what's a bit weird to me is why they seem to map $mul cells and leave $macc cells alone, while I would think you want to map $macc cells to, well, multiply accumulate cells. But maybe the idea is that the MUL18 is the fundamental building block and the rest is just macro cells?
But I don't think our ALU pass knows about PADD and ALU54 cells, so for stuff like FIR filters, generating some MULTALU cell sound more effective? wdyt @gatecat ?

source: gharchive/pull-request

authors: pepijndevos yrabbit

repo: YosysHQ/apicula


text:
Bit-width type conversion causes array overflow

Version
Yosys 0.37+1 (git sha1 e1f4c5c9cbb, clang  -fPIC -Os)
On which OS did this happen?
Linux
Reproduction Steps
read_verilog reduce.v
synth
Expected Behavior
success synthesis
Actual Behavior
synthesis failed and if you comment line 175 it will be normal we think it may caused by complexity bits operation.
pending-2.zip

See #4276

repo: YosysHQ/yosys

license: isc


text:
Error: invalid BigNumber value (argument="value", value=undefined, code=INVALID_ARGUMENT, version=bignumber/5.6.2)

https://prnt.sc/o-tQ1M7Nt_1u

Thanks for finding the bug. We will fix this in the next release 👌

The bug has been fixed in version 0.3.4.
🔗https://github.com/YourJustice-Live/Glamdring/releases/tag/v0.3.4

The bug has been fixed in version 0.3.4.
🔗https://github.com/YourJustice-Live/Glamdring/releases/tag/v0.3.4

repo: YourJustice-Live/Glamdring


text:
🛑 UPCME is down

In 531a293, UPCME (http://medwww.upc.edu.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: UPCME is back up in 487b030 after 6 minutes.

repo: Yourrrrlove/upptime


text:
WIP: assign arrays and root-elements directly

This is a WIP for enabling the direct assignment of arrays and root-elements. The intent is to remove some of the friction when using SyncedStore, make it behave more like a regular store and less Yjs-related.
A reconcile-function takes entered state, diffs it with the previous state and turns it into a series of granular operations: only changed values are updated.
I have been playing around with it today and I covered some edge-cases already:

excess keys from an object (Map/Doc) are deleted
excess indices from an array are deleted
in case an array is set with an index that is larger then the array itself, the array is padded with nulls

but I am sure there are more edge cases to be found.
only tested locally, with solid as framework.
current 'leaks' from yjs still present: it will error if you try to assign p.ex an object to a root-element which has earlier been defined as an array. all the other data's shapes can be changed.
(based on my solid-edits because I am using solid to test. can be rebased if necessary)

How can we help to move this along?

authors: bigmistqke nadilas

repo: YousefED/SyncedStore


text:
About the motion extraction model

Thank your excellent work!
The driving effect of your portrait4dv2 feels better than that of portrait4d. Does portrait4dv2 also use the same motion extraction network, which is the same as PDFGC?

Hi, we use the same PDFGC for v1 and v2. The main differences between them are the training strategy and data. V2 uses real video data for training so its motion control is more natural.

authors: FacePoluke YuDeng


text:
Not found the sample_video_extract_list.csv

Hi，Dr Gong!
Thanks for release the code of CAV-MAE. It's not difficult to see that it is a great work!
My only question is, what you mentioned in the README
Both scripts are simple, you will need to prepare a csv file containing a list of video paths (see for an example src/preprocess/sample_video_extract_list.csv)  but I haven't found it. For those who are first to this field, it may be difficult to follow.
Can you upload it? Thanks a lot!

hi there,
Thanks so much, just updated.
Please see https://github.com/YuanGongND/cav-mae/blob/master/src/preprocess/sample_video_extract_list.csv
It is simple but with the attached video files, you can have a quick try (i.e., you do not need to find external video files).
-Yuan

please let me know if it does not work.

please let me know if it does not work.

Hi，Dr Gong!
Thanks a lot for quick reply, it works .
Here i have anthor question, about the Table 16 in paper,

what confuses me is, after shuffling the matching pairs, the results of CVA-MAE and AV-MAE are the same .The mismatching pairs will inevitably collapse the objective of contrastive learning to a certain extent. From my subjective point of view, why are the results of CVA-MAE not worse?
Is there a good explanation for this result? Thanks a lot!

thanks, it is a good catch.
Section J and table 16 is in appendix but took us a lot of time to do it. The results convey a lot of information, including the fact that AV-MAE itself does not learn audio-visual correspondence (with our architecture, it might work in other architectures).

The mismatching pairs will inevitably collapse the objective of contrastive learning to a certain extent.

This is true. But the results are joint a-v classification with full finetuning. Note, full finetuning could override a lot.
Everything we think that we can confident to say about is in Section J. Table 16 honestly shows what we got from the experiments.
It would be nice to have an independent issue for different questions as it would make people easier to search.
-Yuan

repo: YuanGongND/cav-mae


text:
Cannot find 'ApiKeyManager' in scope

Cannot find 'ApiKeyManager' in scope, how do i go about this and or replicate it?

Add the code. (https://github.com/YuigaWada/MissCat/commit/70bbf2cb196787481f17e1e640c6720a52bb2612)

authors: YuigaWada vaifllc

repo: YuigaWada/MissCat


text:
Some problems with PKU-MMD dataset

Thanks for your nice work！ I still have some problems with PKU-MMD dataset: 1) PKU-MMD has 2 parts. Which part did you use in the experiments? 2) Are the checkpoints (split_7.pt ~ split_9.pt) trained on PKU-MMD part1?

Looking forward to your reply! Thanks.

Looking forward to your reply! Thanks.

yes，PKU Part1 contains long sequences in 51 action categories, so we conducted experiments on it.

repo: YujieOuO/SMIE


text:
请问下集成了您框架下的 WebView 模块 ，但是没法办调用起来js

集成了您框架下的 WebView 模块 ，但是没法办调用起来js，直接用jsBrigde 可以调用起来 ，请问js 是否需要做一些修改 ，还有Demo 中是否有WebView模块的使用案例呢 ？谢谢您

集成了您框架下的 WebView 模块 ，但是没法办调用起来js，直接用jsBrigde 可以调用起来 ，请问js 是否需要做一些修改 ，还有Demo 中是否有WebView模块的使用案例呢 ？谢谢您

js模块做了修改，用于解析json。调试下你的demo是否有传递消息给js模块。demo目前只有打开网页的案例，使用js的模块没有放进去。你可以贴下你的流程代码或者写一下逻辑流程，我定位一下。

目前是无法能接收到js模块的调用，我看到您这个WebViewJavascriptBridge.js文件 和jsBrigde的那个js文件 是有区别的。 所以想问下JS 端需要做什么修改才能正常调用起来

在WebViewJavascriptBridge里面实际只是调整了 _dispatchMessageFromNative 支持把string转化为obj而已。应该是你的部分流程没有写对。刚上传了一个demo，你可以参考最新demo，里面有native侧和h5侧的代码，你只需要clone下代码，然后选择 “debugModule” 运行就能看到了。
测试的核心代码在 debugModule下 com.debug.library.webview 包
核心x5Js库在 libWebView包
希望对你有帮助。

@androidCoderxiao 目前Js模块是否还有疑惑？

实在抱歉，现在才看到您的回复，问题已经解决了，感谢您的耐心回复

authors: YummyLau androidCoderxiao

repo: YummyLau/AndroidModularArchiteture


text:
How to show multiple image selected if image item is being selected?

is there any ways or functions to show if the image is already selected when present picker

use config settings
imagePickerConfig.library.preselectedItems = [<YPMediaItem>]

authors: cielor kyounghak

repo: Yummypets/YPImagePicker


text:
Support local actions (without token?)

What happened?
actions in same repository (not pushed to GitHub) are not found and requests for a GitHub token. So no plugin support during development. Did not add token yet, but it should work without. All local and GH public files are accessible without token.
How can we reproduce the issue?
Add an action in same repository and don't add token. Reference that action in an other action or workflow in same repository.
Expected behavior
Pick up the action because there is no Github access required as the file is not pushed yet.
Screenshots

Additional context
Plugin seems to be completely broken if no GH token is provided. This is not expected behavior.

Thx @rob-valor
It's not "completely broken" :)
This plugin is pretty new, and I am currently collecting use cases to provide composite actions support.
Therefore, your input is really important.
It might work when adding ./.github as prefix  (e.g. ./.github/your_action.yaml)
Anyway, I will work on that.

I've been trying several paths and locations but I don't get any plugin support. I'm using workflows <repo>/.github/workflows/<workflow-name>.yaml of which one references an other one and actions <repo>/<action-name>/action.yaml and also there some references from one to another.
When using the checkout action, I have plugin support. So, indeed, it's not completely broken :hand_over_mouth:

The new Version 2.2.7 will have a better support for local actions.
Syntax Highlighting and also Code Completion for action.yml files is on my list. Therefore, not every Intellisense will work.

2.2.7 is published. It should work now

I'm unable to verify this because of #22

authors: YunaBraska rob-valor

repo: YunaBraska/github-workflow-plugin


text:
Patch

Problem

Description of why you made this PR

Solution

And how do you fix that problem

PR Status

[ ] Code finished and ready to be reviewed/tested
[ ] The fix/enhancement were manually tested (if applicable)

Automatic tests
Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)

!testme


text:
Update frontend

PR Status

[x] Code finished.
[ ] Tested with Package_check.
[ ] Fix or enhancement tested.
[ ] Upgrade from last version tested.
[x] Can be reviewed and tested.

!testme


text:
🛑 Official Website is down

In 836f1d2, Official Website (https://www.zeenkey.com) was down:

HTTP code: 500
Response time: 213 ms

Resolved: Official Website is back up in f69ba16.

repo: ZEENKEY/statuspage


text:
🛑 Official Website is down

In ac24a13, Official Website (https://www.zeenkey.com) was down:

HTTP code: 500
Response time: 212 ms

Resolved: Official Website is back up in f3d00b6.


text:
🛑 ZEENKEY CDN is down

In 48c8e7a, ZEENKEY CDN (https://zeenkeycdn.ga) was down:

HTTP code: 500
Response time: 368 ms

Resolved: ZEENKEY CDN is back up in 962b7fd.


text:
Wrong options in model-attribute dropdown for relational attribute filters in interactive elements

Describe the bug
Wrong options in dropdown for relational attribute filters in interactive elements (all types)
To Reproduce
Steps to reproduce the behavior:

Go to https://pizzaoven.holontool.nl/wt/cms/snippets/holon/interactiveelement/edit/3/

Scroll down to rules 1, relational attribute filter 1.

Dropdown 'model attribute' lists attributes of energy asset instead of attributes of grid connection object.

Also, when trying out the slider on https://pizzaoven.holontool.nl/casus-overzicht/bedrijventerrein-energy-hub/bedrijventerrein-energy-hub-uitdaging/ and using 'inspect', the response is:
error_msg | "something went wrong: target count (6) for a single model type cannot be larger than the total amount of filtered objects (0)"

Expected behavior
Dropdown 'model attribute' in relational attribute filter should show attributes of the model in 'relation field', instead of the attributes of the model type selected at the 'rule' level.
Actual behavior
Wrong options in model-attribute dropdown for relational attribute filters in interactive element
Screenshots
If applicable, add screenshots to help explain your problem.

Ik heb nu bij dit interactive element een vergelijkbare fout:
https://pizzaoven.holontool.nl/wt/cms/snippets/holon/interactiveelement/edit/11/
De dropdown 'model attribute' bij het relational attribute filter van option 2 geeft de verkeerde lijst weer. Echter, dit is pas het geval nadat ik andere rules/filters aan het interactive element toevoeg, in eerste instantie kreeg ik WEL de goede lijst bij deze dropdown.

@GillisHommen ik heb even naar de issue gekeken en het originele issue kon ik op de pizzaoven niet reproduceren. Als ik naar https://pizzaoven.holontool.nl/wt/cms/snippets/holon/interactiveelement/edit/11/ ga en daar een nieuwe relation filter toevoeg met jouw instellingen krijg ik het volgende:

Ik heb dit namelijk in een eerdere issue opgelost #581 maar het kan zijn dat dit nog niet online stond toen jij het testte. Ook jouw tweede fout lijkt opgelost te zijn maar bij deze ook de vraag om dit nog even in jouw omgeving te testen.
Wat betreft punt 4, graag hier een losse issue van maken en aan Sem of Matthias toewijzen

@GillisHommen wanneer je een losse issue van punt 4 hebt gemaakt kan je deze op mijn naam zetten, dan kunnen we daar verder naar kijken. Het zou fijn zijn als je in die issue ook kan doorgeven hoe je je filters en je rules hebt geconfigureerd.

@GillisHommen @mattijsstam kan ik deze issue sluiten?

Ik denk dat het issue van punt 4 kwam omdat ik wilde filteren op één specifiek ID, wat echter door het clonen niet gevonden wordt, omdat de IDs daarbij niet behouden blijven.

Fout heb ik lokaal gereproduceerd. Handelingen:

voor een rule met model type Contract, subtype DeliveryContract

Maak een nieuw relation attribute filter aan, selecteer hier "Actor|actor", en model attribute op group. Model attribute laat op dit moment de correcte lijst zien.

save gaat goed

Bij het opnieuw openen van de interactive element is het veld model attribute leeg, de lijst van model attribute is een lijst van contract attributes (ipv actor attributes) en wanneer er gesaved wordt krijg je een foutmelding.

De relation field togglen naar "Actor|contractScope" en weer terug zorgt dat de model attributes lijst weer klopt, maar deze kan dan nog niet gesaved worden

Opmerking: het veld "group" is een foreign key dus dit moet worden aangegeven met een id, niet een string.

@mattijsstam weet jii misschien waarom bij het tweede keer laden van de pagina de lijst nog niet klopt? Of is dit misschien al in een andere issue opgelost?

deze wordt opgelost in #596

authors: GillisHommen TAVMWB mattijsstam

repo: ZEnMo/Holon-webapp


text:
BOMs in XML files confuse the parser

I just synced my local repo and once again I get an error during testing:
[Fatal Error] :1:1: Content ist nicht zul�ssig in Prolog.
Jul 08, 2019 3:15:46 PM org.mustangproject.ZUGFeRD.ZUGFeRDImporter extractString
SCHWERWIEGEND: null
org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content ist nicht zul�ssig in Prolog.
	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339)
	at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121)
	at org.mustangproject.ZUGFeRD.ZUGFeRDImporter.getDocument(ZUGFeRDImporter.java:183)
	at org.mustangproject.ZUGFeRD.ZUGFeRDImporter.extractString(ZUGFeRDImporter.java:194)
	at org.mustangproject.ZUGFeRD.ZUGFeRDImporter.getAmount(ZUGFeRDImporter.java:269)
	at org.mustangproject.ZUGFeRD.MustangReaderWriterCustomXMLTest.testCustomZF2Export(MustangReaderWriterCustomXMLTest.java:277)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at junit.framework.TestCase.runTest(TestCase.java:176)
	at junit.framework.TestCase.runBare(TestCase.java:141)
	at junit.framework.TestResult$1.protect(TestResult.java:122)
	at junit.framework.TestResult.runProtected(TestResult.java:142)
	at junit.framework.TestResult.run(TestResult.java:125)
	at junit.framework.TestCase.run(TestCase.java:129)
	at junit.framework.TestSuite.runTest(TestSuite.java:252)
	at junit.framework.TestSuite.run(TestSuite.java:247)
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)

If BOMs appear in the wild, then I guess a good (maybe even the correct?) place would be right before line 183 in ZUGFeRDImporter.java, method getDocument:
182:		DocumentBuilder builder = xmlFact.newDocumentBuilder();
183:		Document doc = builder.parse(new ByteArrayInputStream(rawXML));

I think I saw a nifty BOM check somewhere on StackExchange, which I could apply here. The idea is to skip the first bytes if the first char read from the input stream is the Unicode BOM. Ah ... found it again.
An alternative would be to use the Apache Commons, but that would introduce another dependency to the project.
Opinions anybody?

On my Mac mvn clean package runs the tests successfully and I had assumed my BOM detection and removal worked.
Since apparently the windows build does not work on the moment I assume you build on linux? Are there any other steps to reproduce the issue?

ah ... that would explain why running the unit test directly from IntelliJ works but the maven test job fails, as I am indeed currently working on Windows.
Any idea about what might be the problem on windows?

@jstaerk
What happens on your Mac, if you change line 67 in MustangReaderWriterCustomXMLTest.java
from
String ownZUGFeRDXML = new String(UTF8ByteOrderMark) + "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +

to
String ownZUGFeRDXML = "\uFEFF\n" +
and then mvn test?
Because this single change is enough to get the following result on my Windows box:
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------

If this works on your end, too, then it looks like I have been suffering from "double encoding of the BOM", as the new String(UTF8ByteOrderMark) encoded the already encoded BOM character \uFEFF again.
I ran a simple test in something IntelliJ calls "JShell" (never used before):
void dump(String s) {
    try {
        byte[] bs = s.getBytes("UTF-8");
        for (byte b : bs) {
            System.out.print(String.format("%x ", b));
        }
    } catch (Exception e) {
        e.printStackTrace();
    }
    System.out.println();
}

dump("\uFEFF<xml?");
dump(new String(new byte[]{(byte) 0xef, (byte) 0xbb, (byte) 0xbf}) + "<xml?");

and the results match what I saw earlier during a "printf-debugging" orgy:
method void dump(String)
dump("\uFEFF<xml?");
dump(new String(new byte[]{(byte) 0xef, (byte) 0xbb, (byte) 0xbf}) + "<xml?");
ef bb bf 3c 78 6d 6c 3f
c3 af c2 bb c2 bf 3c 78 6d 6c 3f

I merged your pull request - thanks a lot - and with \uFEFF it would still work. And thanks for two-byte BOM support, i actually thought that little sucker was always three bytes.
My issue is: Would \uFEFF not result in a UTF16BE BOM? I consider the rest UTF-8 so I would like to go for a EFBBBF BOM. But somehow \uEFBBBF does not work?
I have no idea what the issue is with windows but the source files are all checked out as UTF8? Your IDE is also set to UTF8?  Does the windows build work like this?

We have to distinguish between characters in the string, which are 16-bit values according to java, and the encoded bytes derived from that string. Quoting Wikipedia:

Als Byte Order Mark (BOM; deutsch Byte-Reihenfolge-Markierung) wird eine charakteristische Bytefolge, die das Unicode-Zeichen U+FEFF (englisch zero width no-break space) codiert, am Anfang eines Datenstroms bezeichnet. Diese Bytefolge dient als Kennung zur Definition der Byte-Reihenfolge und Kodierungsform in UCS/Unicode-Zeichenketten, insbesondere Textdateien.

The BOM in a byte-oriented representation is then the result of encoding this unicode codepoint according to the rules given by the chosen encoding. So UTF-8 makes it EF BB BF, UTF-16 (BE) gives FE FF, UTF-16 (LE) gives FF FE etc. Mathematically speaking, we have a mapping between encodings and their result for the input \uFEFF. This mapping is bijective so that by investigating the result, you can deduce the encoding.
Re: "issue with windows". It's not "Windows" per se, as the unit test succeeded with IntelliJ's test runner, but failed when executed via maven. According to my inner Sherlock Holmes this means that IntelliJ is setting up a UTF-8 based environment, while maven uses the "default" environment provided by the operating system. On a linux box, this would be whatever LANG settings are in use, as the Mac is Unix-based, too, I'd expect the same thing there. Windows, at least as far as I am aware of, does not support changing the locale to UTF-8-friendly settings like 'de_DE.utf-8' or 'en_US.utf-8' but is firmly stuck with its internal encoding, which are either 8-bit ISO-8859-15 or some two-byte thingie for which I can't remember the name right now.
All together, I guess we're seeing the effects of the String constructor described here:

Constructs a new String by decoding the specified array of bytes using the platform's default charset.

So on your Mac, decoding EF BB BF gives \uEFFF, but Windows default settings decode to something different.

I cobbled together a tiny maven project with the following code:
public class Main {
    public static void main(String[] args) {
        printEncodings();
    }

    public static void printEncodings() {
        Properties ps = System.getProperties();
        Enumeration keys = ps.keys();
        while (keys.hasMoreElements()) {
            String key = (String) keys.nextElement();
            if (key.contains("encoding")) {
                System.out.println(String.format("%s: %s", key, ps.getProperty(key)));
            }
        }
        dumpBOM("Cp1252");
        dumpBOM("UTF-8");
    }

    static void dumpBOM(String encoding) {
        try {
            System.out.print(encoding + ": ");
            String s = new String(new byte[]{(byte) 0xef, (byte) 0xbb, (byte) 0xbf}, encoding);
            byte[] bs = s.getBytes("UTF-8");
            for (byte b : bs) {
                System.out.print(String.format("%x ", b));
            }
        } catch (Exception e) {
            e.printStackTrace();
        }
        System.out.println();
    }
}

and a similarly dumb test case
public class MainTest {

    @Test
    public void main() {
        Main.printEncodings();
    }
}

Running Main and MainTest from within IntelliJ prints (sorted for easier comparison):
file.encoding.pkg: sun.io
file.encoding: UTF-8
ibm.system.encoding: Cp1252
os.encoding: UTF8
sun.io.unicode.encoding: UnicodeLittle
sun.jnu.encoding: Cp1252

Cp1252: c3 af c2 bb c2 bf
UTF-8: ef bb bf

Running the maven test from within IntelliJ and from cmd.exe results in:
file.encoding.pkg: sun.io
file.encoding: Cp1252
ibm.system.encoding: Cp1252
os.encoding: UTF8
sun.io.unicode.encoding: UnicodeLittle
sun.jnu.encoding: Cp1252

Cp1252: c3 af c2 bb c2 bf
UTF-8: ef bb bf

So we have a difference between the environments and this difference can be mitigated by making the encoding explicit.
The good news is that the universe is still following the usual rules.

authors: jstaerk swsch

repo: ZUGFeRD/mustangproject


text:
Replace sync::Mutex with a futures-aware Mutex

Is your feature request related to a problem? Please describe.
Zebra uses sync::Mutex, a thread-based mutex that blocks the current async task and thread.
Instead, we should use an async-aware mutex, which cooperatively passes control until the muted is ready: https://docs.rs/futures/0.3.13/futures/lock/struct.Mutex.html
Describe the solution you'd like
Replace the AddressBook, Nonce set, and error mutexes with an async-aware mutex.
If the mutex only has two possible owners, use BiLock instead: https://docs.rs/futures/0.3.13/futures/lock/struct.BiLock.html
Use try_lock or timeouts to avoid deadlocks, unless it is clear that the mutex can never deadlock.
Write correctness comments for all of these mutexes.
Describe alternatives you've considered
We must make this change, otherwise Zebra could hang, particularly if it has a small number of threads.
Additional context
Maybe we could use seamare to ban sync::Mutex in our code.

This doesn't seem to be causing any issues right now. And if it ever does, it will only be a local node hang.
Reducing to medium priority.

repo: ZcashFoundation/zebra


text:
See if registry tracing stack is faster than FmtSubscriber stack

Motivation
After PRs #4519 and #4539, we have two alternate tracing layer stacks:

FmtSubscriber
tracing registry

The default is FmtSubscriber, but tracing registry is supposed to be faster.
Designs
Check if a full sync with a tracing registry stack is faster.
Development:

split the tracing-registry feature out of the tokio-console feature

Testing:

make the tracing-registry feature the default
run a full sync test
make FmtSubscriber or tracing-registry the default, depending on which is faster

I don't think we can make this change, because the filters in the registry stack are always showing trace and debug logs, but only for some tasks.
I spent a few hours looking for this bug, and I couldn't work out the cause.
This might be a bug in the tracing registry, or it might be an obscure bug in Zebra.


text:
Stop sending blocks and transactions on error

Motivation
Zebra continues sending blocks and transactions to peers after there is an error on the connection.
This causes panics like #1599.
Solution
Return after the first error when sending blocks or transactions.
Review
@yaahc is doing the refactor of this code.
This fix is urgent, because it stops Zebra panicking when peer connections have errors.
Related Issues
#1610 - initial refactor attempt
#1817 - current refactor attempt
Follow Up Work
Finish the refactor that prevents future bugs like this #1817

@teor2345 does this close #1801 ?

@teor2345 does this close #1801 ?

#1803 stops the hangs in #1801 by reverting #1721.
This closes #1599 by stopping the panic.


text:
Update value pools design

Motivation
During the implementation of the value pools design we added a new ValueBalance type (https://github.com/ZcashFoundation/zebra/pull/2505) however we made some changes to he originally detailed. We are also implementing the first part of the design in https://github.com/ZcashFoundation/zebra/pull/2486 where we also made some changes specially to some function return types.
Designs
https://zebra.zfnd.org/dev/rfcs/0012-value-pools.html
Solution
Update the design to match the implementation.
Review
This is just a doc change, anyone can review.
I don't think we need to update each time we add a new method or change a return value, however i did updates to show all the methods we have implemented by now.

This change is

The details don't matter much here, they are extra and we can remove them. What matters is the return value of the methods and the order change in the steps of the implementation.

The details don't matter much here, they are extra and we can remove them. What matters is the return value of the methods and the order change in the steps of the implementation.

Why do we need to update the design every time we change a return value or move a check?
Those details are already in the code.
It adds extra work for you to update the design as well as the code.
If there is anything we need to update in the design, can it wait until we get the code working?
I really don't want to change the design twice.


text:
change(docs): Add publishing crates as part of release checklist

Motivation

As we start publishing crates to crates.io, until we automate more of the process, we need to include instructions in our release checklist.
Solution

Add cargo release instructions.
Review

Reviewer Checklist

[ ] Will the PR name make sense to users?

[ ] Does it need extra CHANGELOG info? (new features, breaking changes, large changes)

[ ] Are the PR labels correct?

We need to update the Version Tooling section (maybe to use cargo release which has version bumping logic) to make sure that the right new version numbers are used for crates by other crates, doing it all manually now is untenable

This needs to be rebased on the latest main to pick up the CI job changes in PR #6907.

@teor2345 i was good to merge this prior to the 1.0.0 release PR but either way

@teor2345 i was good to merge this prior to the 1.0.0 release PR but either way

I assumed you didn't want it merged because it wasn't Critical priority.
Happy to go either way, but I was a bit concerned it would go in the queue and delay the release PR. Seems like we have time now though!


text:
Use zcash_script’s new Script trait

Motivation
This is a precursor to testing the Rust implementation of Zcash Script.
Blocked-On: https://github.com/ZcashFoundation/zcash_script/pull/171 and publishing a new version of zcash_script with those changes.
Solution
This uses a trait that wraps the C++ Zcash Script implementation. As we progress toward cutting over to a Rust implementation, this trait will additionally have impls for the Rust version and a variant that runs both C++ & Rust, comparing the results.
Additionally, this eliminates a few cases from zebra_script::Error that can never be produced.
Tests
The tests are the same as the previous zebra_script tests – there should be no change in behavior.
Follow-up Work
This is blocked on a release of zcash_script containing ZcashFoundation/zcash_script#171.
PR Author's Checklist

[x] The PR name will make sense to users.
[x] The PR provides a CHANGELOG summary.
[x] The solution is tested.
[x] The documentation is up to date.
[x] The PR has a priority label.

PR Reviewer's Checklist

[ ] The PR Author's checklist is complete.
[ ] The PR resolves the issue.

This depends on zcash_script#171.

Thank you for your PR! We're focusing on changes for NU6 testnet activation at the moment so we won't be able to prioritise this review for another week or two.

Re: the unchecked checkboxes

there are no visible changes to add to the CHANGELOG and
I don’t have permissions to add labels.

Re: the unchecked checkboxes

there are no visible changes to add to the CHANGELOG and

We usually check boxes if they don't apply to the PR.

I don’t have permissions to add labels.

Added a priority label.
Added a do-not-merge label as well, we should wait until the changes in zcash_script have been published before merging this PR.

Added a do-not-merge label as well, we should wait until the changes in zcash_script have been published before merging this PR.

What's next here? I see https://github.com/ZcashFoundation/zcash_script/pull/171 has merged

What's next here? I see ZcashFoundation/zcash_script#171 has merged

We should double check this PR works with zcash_script main branch, and then I can make a zcash_script release and we point to that instead.

We should double check this PR works with zcash_script main branch, and then I can make a zcash_script release and we point to that instead.

I can do this, but wondering how to show that it’s successful – should I put up a temporary PR that just fetches zcash_script from GH instead of the crate registry and shows that everything still passes? And we’ll just close it afterward?
Also, I’m happy for there to be a zcash_script release now, but I figured it would be fine to leave it until the next PR or two land on zcash_script, which contain the actual Rust implementation.

I can do this, but wondering how to show that it’s successful – should I put up a temporary PR that just fetches zcash_script from GH instead of the crate registry and shows that everything still passes? And we’ll just close it afterward?
Also, I’m happy for there to be a zcash_script release now, but I figured it would be fine to leave it until the next PR or two land on zcash_script, which contain the actual Rust implementation.

You can simply change Cargo.toml in this PR to point zcash_script to a specific commit in its repo (i.e. the one corresponding to its current main), which I think would also make CI pass here. (I can make the change if you prefer, let me know)
This issue with delaying the zcash_script release is that if this PR merges before the next Zebra release, this would prevent us from publishing the zebra-script crate (which we usually do at the same time) since it would depend on a git repo and crates.io doesn't allow that. We have several options though: don't merge this PR until all changes in zcash_script are done, or just make a zcash_script release with what it currently has and point to that. We'll figure it out, I think the important thing now is to just make sure this PR works with the current zcash_script.

You can simply change Cargo.toml in this PR to point zcash_script to a specific commit in its repo (i.e. the one corresponding to its current main), which I think would also make CI pass here.

Ok, this now points at the zcash_script master branch. I also made a PR (#8896, to be discarded) that shows that the current Zebra main branch (without this PR) will also work with the new zcash_script.

What's next here? I see ZcashFoundation/zcash_script#171 has merged

We should double check this PR works with zcash_script main branch, and then I can make a zcash_script release and we point to that instead.

I guess @sellout has done this already in #8896?
@conradoplg shall we do the zcash_script release and merge this?

I should have ZcashFoundation/zcash_script#175 merged today, which is effectively an addendum to ZcashFoundation/zcash_script#171, so it’s probably worth getting that in before the release … and I think it will involve at least a small change to this PR as a consequence.

authors: arya2 conradoplg mpguerra sellout


text:
🛑 Dev Client init service health is down

In 362eb48, Dev Client init service health (http://dev.zebr-a.com/client-init-service/v2/health) was down:

HTTP code: 400
Response time: 5151 ms

Resolved: Dev Client init service health is back up in 1eb8a07.

repo: Zebrainy/upptime


text:
Handle long countdowns as well as ETAs

I would find it useful if Task was overridden to handle long countdowns (configurable) as well as ETAs.
Would you be open to a PR?
I believe this is particularly important when you're using redis as a celery backend, since long countdowns can push you past the visibility timeout and cause duplicates: https://docs.celeryproject.org/en/stable/getting-started/brokers/redis.html#id1

Amusingly, this is the same thing that Celery does deep in its internals (i.e. countdowns are equivalent to ETAs):
https://github.com/celery/celery/blob/8c5e9888ae10288ae1b2113bdce6a4a41c47354b/celery/app/amqp.py#L294

Amusingly, this is the same thing that Celery does deep in its internals (i.e. countdowns are equivalent to ETAs):
https://github.com/celery/celery/blob/8c5e9888ae10288ae1b2113bdce6a4a41c47354b/celery/app/amqp.py#L294

Since countdown is syntactic sugar for eta as @wryun has pointed out, this is definitely a gotcha.

We ended up creating our own somewhat scary implementation that backed onto a django db table:
"""
Back longterm celery tasks onto db.
See PendingTaskCelery for how these get created.
"""

from importlib import import_module
import logging

from django.db import transaction
from django.utils.timezone import now as get_now

from kombu.utils.uuid import uuid

from grok import celery_app
from grok.models import PendingTask

__all__ = ['execute_pending_tasks', 'schedule_pending_task']

logger = logging.getLogger('grok.main')

def schedule_pending_task(eta, args, kwargs):
  # If it's a pending task, we assume etas/countdowns have already been dealt with.
  assert kwargs.get('eta') is None, 'Attempting to schedule pending task with embedded eta'
  assert kwargs.get('countdown') is None, 'Attempting to schedule pending task with embedded countdown'

  # Use the celery task_id for scheduler storage.
  # This may make it slightly nicer to follow a task through the system.
  if not kwargs.get('task_id'):
    kwargs['task_id'] = uuid()

  # We can't JSON encode task type (it's the task function itself).
  task_type = kwargs.get('task_type')
  if task_type:
    kwargs['task_type'] = f'{task_type.__module__}:{task_type.__name__}'

  pt = PendingTask.objects.create(id=kwargs['task_id'], eta=eta, args=args, kwargs=kwargs)
  logger.info('Scheduled task %s for %s', pt.id, pt.eta)

  return kwargs['task_id']

def execute_pending_tasks(current_time):
  while True:
    with transaction.atomic():
      # skip_locked means it's safe to run multiple of these at the same time without blocking,
      # but we don't intend to do this...
      pt = PendingTask.objects.select_for_update(skip_locked=True).filter(eta__lte=current_time).order_by('eta').first()
      if not pt:
        break

      if pt.kwargs.get('task_type'):
        mod, name = pt.kwargs['task_type'].split(':')
        pt.kwargs['task_type'] = getattr(import_module(mod), name)

      celery_app.send_task(*pt.args, **pt.kwargs)

      logger.info('Enqueued scheduled task %s (expected at %s, enqueued at %s)', pt.id, pt.eta, get_now())
      pt.delete()

class PendingTaskCelery(Celery):
  """
  Intercept send_task on long countdowns/ETAs and send them to our PendingTasks.
  Inspired by https://github.com/ZeitOnline/celery_longterm_scheduler
  This avoids the issue with countdowns exceeding the visibility timeout:
  https://docs.celeryproject.org/en/stable/getting-started/brokers/redis.html#redis-caveats
  """
  def send_task(self, *args, **kwargs):
    # Convert any long countdowns to ETAs.
    countdown = kwargs.get('countdown', 0)
    if countdown > LONG_COUNTDOWN_THRESHOLD:
      # Amusingly, the underlying code in Celery does the same thing to countdowns:
      # https://github.com/celery/celery/blob/8c5e9888ae10288ae1b2113bdce6a4a41c47354b/celery/app/amqp.py#L294
      del kwargs['countdown']
      kwargs['eta'] = get_now() + timedelta(seconds=countdown)

    if kwargs.get('eta') is None:  # Can't just check for eta, because sometimes it's set to None (e.g. on retries)
      return super().send_task(*args, **kwargs)
    else:
      from grok.core.pending_tasks import schedule_pending_task
      result_cls = kwargs.pop('result_cls', self.AsyncResult)

      if 'task_id' not in kwargs:
        kwargs['task_id'] = uuid()

      schedule_pending_task(kwargs.pop('eta'), args, kwargs)
      return result_cls(kwargs['task_id'])

Same BSD licence as applied to this repository if you want to use it, since it was inspired by.

(there's a celery beat scheduled task which calls execute_pending_tasks)

@wryun I'm strugling to do same thing. I have constantly getting hundreds of tasks each hour, and some of them have eta for several days.
You are launching this celery beat periodic task each minute?

@SuperMasterBlasterLaser yes, we run execute_pending_tasks every minute. The code above appears to have been working well for the past couple of years, but please do your own checking ;)
If you want better granularity on the ETAs than we need, you could change this so that execute_pending_tasks puts things on the queue with an ETA if they're less than the beat interval (i.e. if the beat interval is 1 minute, anything due in the next minute should be queued, as opposed to the current approach which is to wait until they're past due).


text:
新增一篇BE文档

红了就先给我暂停下，我吃饭去了

好，没红，吃饭去

直接过，炸了不关我事


text:
just found authorized handshake EAPOL timeout 3866

when try command : hcxdumptool -o hash -i wlomon --filterlist=filter.txt --filtermode=3 --enable_status=1,2,4,8
i never got PMKID , just got ( found authorization handshake eapol time out 6318
whats wrong i do ?
i install hash cat in my ubuntu 18 using this command :
sudo apt install hashcat
thats it for hashcat installation ??
when i try to cd hash cat i cant find it ! i type first in terminal echo "bssid">filter.txt after that do command hcxdumptool up ,
Does need first to make echo filter.txt in hashcat first by doing : CD hashcat ???
i cant find hashcat after installing it by command up ! whats im missing ???

identify your target.
add your target mac to filterlist.txt (use a texteditor - format of mac: 112233445566)
run hcxdumptool ($ hcxdumptool -o dump.pcapng -i interface --filterlist=filter.list --filtermode=3 --enable_status=15
we are using a bitmask, so 1+2+4+8 = 15
keep in mind: not every router transmit a PMKID
your driver must support monitor mode and full packet injection
do not use hcxdumptool in combination with airmon-ng

to test if every thing is working like expected and target is in range run rcascan:
hcxdumptool -i interface --do_rcascan
and again: do not(!) run hcxdumdptool on a monitor interface created by airmon-ng!

convert pcapng to hascat format ($ hcxpcaptool -z pmkid.16800 dump.pcapng)
run hashcat ($hascat -m 16800 pmkid.16800 wordlist

read help menu and README.md
hashcat require a driver and opencl runtime (read hashcat driver wiki for hashcat related questions)
Closed this, because issue is not related to hcxdumptool, but you can still ask questions here.

Some words about the do_rcascan option:
Running this option for at least 30 seconds, hcxdumptool test
that the driver supports all required ioctl() calls and
that the driver support full packet injection.
Also you are informed, how many access points are received and
how many access points are in range.
So it's a good idea to run --do_rcascan first, to retrieve all this information.
There are many tutorials in which airmon-ng and/or airodump-ng is used to get this information.
Be warned that this will lead to unwanted results!

authors: ZerBea khanfar

repo: ZerBea/hcxdumptool


text:
💡 [REQUEST] - Add NodeJS and MongoDB Resources

[x] I am from GSSoC23.
[x] I would like to be assigned this task.

fill [x] to check the boxes.

Section
Description

Concise Description
Just wanted to add two websites regarding NodeJS and MongoDB in the Web Development Section

Code of Conduct
By submitting this issue, you agree to follow our Code of Conduct.

[x] I follow the Contributing Guidelines of this project.
[x] I have checked the current issues for duplicate problems.
[x] I have read the readme of this repository.

@siddarthdayala assigned

repo: ZeroOctave/resource-gallery


text:
3 Player...

Just to start with. Incredible work, I never thought this would be possible.
Me and two of my friends are playing a game where we each have our own base. And it's working great. However, one of the lads is playing on his laptop now his internet isn't the best but his ticks gradually get worse and worse until we have to pause. He is playing on a laptop that isn't great. Is the ticks building more likely to be internet or hardware based?

I have the same problem playing with two of my friends.
They both have high tier PC and god tier internet connection, where I have meh tier on both.
I am currently upgrading my computer, so I will soon be able to say if it comes from the hardware.
(currently, going into x3 speed lower my fps to around 5-15, and my ticks go from 20-30 to 500+ in less than 30 seconds)

From my, somewhat limited, understanding if your game is running slower than everyone else's then you will constantly need to sync the game when it detects sync issues. RimWorld follows a 60 ticks a second (Likely originally designed to match with FPS of the game) so if your FPS is dropping below playable levels it's likely that your also going out of sync with the other players. It's very unlikely to be an internet issue unless you have extremely high latency or are dropping a lot of packets that can't be synced in the background.

authors: AlexLeporiday WJRev arkaion

repo: Zetrith/Multiplayer


text:
Question about training behaviors on CASIA

Hi~
From the original ArcFace paper, the IR_50 model trained on CASIA can achieve 99.5% accuracy on LFW in Table 2.
However, we are not able to reproduce the result from this PyTorch implementation.
Have you successfully reproduced the results in ArcFace paper?
If so, could you share the hyper-parameters?
The training loss is usually large for training on CASIA (similar to issue 52).
Could you share your training experiences or logs for training on CASIA?
Because the model zoo shows the training results for the training data MS1M instead of CASIA.
Thank you.

Hi~
From the original ArcFace paper, the IR_50 model trained on CASIA can achieve 99.5% accuracy on LFW in Table 2.
However, we are not able to reproduce the result from this PyTorch implementation.
Have you successfully reproduced the results in ArcFace paper?
If so, could you share the hyper-parameters?
The training loss is usually large for training on CASIA (similar to issue 52).
Could you share your training experiences or logs for training on CASIA?
Because the model zoo shows the training results for the training data MS1M instead of CASIA.
Thank you.

Hi, thank you for your question. We did not train the models on CASIA since MS1M is a larger-scale dataset for learning face recognition models, and we do achieved promising performance on several evaluation benchmark datasets, as can be seen from model zoo in our repo :)


text:
MCL-JCV dataset

@ZhihaoHu Thanks for your sharing. Could you share the MCL-JCV dataset by baidu disk? Thank you very much!!

link: https://pan.baidu.com/s/1C6_7lsOwG-VzSLilkOnZvA
password: hksu

repo: ZhihaoHu/PyTorchVideoCompression


text:
没有用xib 布局 求指导

我没有用xib布局  我想问下  那个NSLayoutConstraint *bottomConstraint 这个应该怎么去写呢

那你是用StoryBoard？是的话改动不大，要是使用代码的autolayout，也是可以的。
都不是就只能代码手动修改控件的frame。为什么不使用xib或其他的？？

authors: ZhipingYang juntity

repo: ZhipingYang/UUChatTableView


text:
MultiDex problem

When I add this two lines:
renderscriptTargetApi 20
renderscriptSupportModeEnabled true
I'm having this problem:
Error:Execution failed for task ':app:packageAllDebugClassesForMultiDex'.

java.util.zip.ZipException: duplicate entry: android/support/annotation/Keep.class

What can I do to prevent that. I can't turn multiDex off.

Are you, by any chance, using support lib v23? This error is widely seen after updating the support lib from v22 to v23.

Yes, exactly. Keep.class is in annotation-support v23 lib and the render v8 lib too.

As for now I don't exactly have aby way of dealing with that issue, I'm closely watching the StackOverflow thread of your issue. Pasting here for others: http://stackoverflow.com/questions/32327227/duplicate-class-in-two-offcial-android-libs-gradle-fails

Has you reported this to Google? If the bug comes from two of their libraries, they have to fix it.
By the way, excuse my english.

Don't worry, it's pretty good :)
No, but someone did. There are at least two reports:
https://code.google.com/p/android/issues/detail?id=179493
https://code.google.com/p/android/issues/detail?id=181697

Ok. I hope they release an update in a few weeks. Until now I'll keep working with API 22 and checking this.

The 23.0.1 support library doesn't fix this yet?

The bug report on gogle tracker is still open. I've updated build script, so Carbon now uses the most recent libs and SDK. It works fine in all projects I'm working on, but maybe I'm not hitting that broken configuration.

Error:Execution failed for task ':app:packageAllDebugClassesForMultiDex'.

java.util.zip.ZipException: duplicate entry: android/support/annotation/LayoutRes.class

:_

#11 efren.fe...@gmail.com
Seems to be fixed in build tools 23.0.1 :)

Even if it's not fixed, I'm closing the issue as there's nothing I can do about it.

authors: HectorFGarcia ZieIony

repo: ZieIony/Carbon


text:
[FEATURE] Method to remove multiple keys at once

Problem
I would like to be able to remove multiple keys at once.
Solution
Currently, I have to loop over a list and call .Remove for each.
Alternatives
n/a
Additional context
n/a

Hi @celluj34 , FusionCache has been designed to use the 2 common caching abstractions in .NET: IMemoryCache and IDistributedCache.
This decision has pros, like the fact that any available impl (mostly for IDistributedCache of course) could be easily used, without anyone having to explicitly create an implementation of, say, a custom IFusionCacheLayer or something like that. It has also cons, like being limited to the features defined in those 2 abstractions.
Since they do not have a way to do multi-key operations, the same is not possible in FusionCache.
Of course it would be possible to add those methods so that, internaly, they just do what you did (foreach + Remove(...)) but:

that is very easy to do as an ext method in any project of our own, if so desired
adding that to the overall API surface area would imply a promise to the users that FusionCache does that in some native way, which is not the case

Hope this helps.

I understand, thank you 🥲

@jodydonetti Can we do the same, just by grabbing the IMemoryCache and calling clear on it or would that break FusionCache?
Could you expose the IMemoryCache layer so that we may call Clear on it?

@jodydonetti Can we do the same, just by grabbing the IMemoryCache and calling Compact on it or would that break FusionCache?

No, it would not break FusionCache but also I don't see how Compact() would remove multiple cache entries at once as per your original request, unless you meant not "specific" entries by ids, but only "some" of them.

Could you expose the MemoryCacheAccessor so that we may call Compact on it or should we just do it ourselves?

You can already do that, just the other way around: initialize FusionCache by passing it a MemoryCache instance you create, and keep it around: then call any method you want on it, whenever you want (including Compact()).
FusionCache respects the api surface area and doesn't act on hidden props or anything.

I just want to be able to clear the entire cache programatically.

Watch out for a couple of things though:

entries with NeverRemove priority will not be removed per the official doc
if you are using FusionCache with a 2nd level, that would of course not be cleared

Hope this helps!

Sorry I meant Clear() not Compact()

Ah, I think this is correct:
services.AddFusionCache().WithMemoryCache(provider => provider.GetRequiredService())

Hey @jodydonetti, I was wondering if you could help me one last time.

Hey, no worries! If I can be of help I'm glad 😊
And sorry for the delay, quite a busy week!

I understand what I'm trying to do: "initialize FusionCache by passing it a MemoryCache instance you create" but my head is a bit fuzzy today, and I want to make sure it's done correctly.

No problem, here's a sample I hope can clear things up.
Normally caches (not just FusionCache, but anyone) are registered as a singleton: this is done because otherwise each time you would get a new (empty) instance, defeating the purpose of having a shared state where to put shared data.
When you do AddFusionCache() though, by default a new MemoryCache instance is created on the fly for FusionCache to use, instead of using the global singleton instance of IMemoryCache.
But why is that?
This has been done because with FusionCache you can use multiple named caches and in that case, if every named instance use the same MemoryCache singleton instance, you may end up with cache key collisions: because of this you have to specific if you want it to use the DI-provided global singleton instance.
So, to use the global singleton instance, you have to do what you suggested:
services.AddFusionCache().WithMemoryCache(provider => provider.GetRequiredService<IMemoryCache>());

or, in a more convenient way, by using the provided WithRegisteredMemoryCache() method, like this:
services.AddFusionCache().WithRegisteredMemoryCache();

where "Registered" is the key part to look out for.
As shown in the sample, a different way may be to directly create a MemoryCache instance, and simply pass that to the builder, like this:
var memoryCache = new MemoryCache(new MemoryCacheOptions());
services.AddFusionCache().WithMemoryCache(memoryCache);

In this way you would directly have an instance of MemoryCache (the concrete class) instead of having to get an IMemoryCache (the interface) from the DI container, and then having to cast it to MemoryCache to access the Clear() method (which is on the class and not on the interface).

I'm a bit confused on how the FusionCacheBuilder uses the IMemoryCache interface.
The builder can accept an IMemoryCache instance directly or a lambda that would build it or it can be told to just use what's in the DI container.

I want to grab IMemoryCache and call:
if (IMemoryCache is MemoryCache internalCache) internalCache.Clear();

to remove all local cache. (Just for development purposes) but this doesn't work.
The cache is still around in FusionCache.

Look at the sample gist I prepared, and look at the output I got by running it.

Try to run it yourself and let me know if it works.

Again, thank you so much for your help.

You're welcome, I hope I'm being somewhat useful.

Your library is amazing and I'm hoping to learn more about caching.

Thanks, I'm happy you're liking FusionCache!

@jodydonetti Dude, thank you so much!
This is such a great explanation, and helped me reason about things much better.
Thank you for your time in writing all this up!

Happy to oblige 😎

authors: celluj34 davidhenley jodydonetti

repo: ZiggyCreatures/FusionCache


text:
🛑 blog.zinglix.xyz is down

In ce2cad6, blog.zinglix.xyz (https://blog.zinglix.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: blog.zinglix.xyz is back up in 4cda49b.

repo: ZingLix/blog-mirror-uptime


text:
🛑 Bellingham Dental Assistant School is down

In 1cdb53b, Bellingham Dental Assistant School (https://bellinghamdentalassistant.com/) was down:

HTTP code: 403
Response time: 101 ms

Resolved: Bellingham Dental Assistant School is back up in 5c6d926.

repo: Zollege/status


text:
Application isn't saving to temporary state current document upon closing

Version: 0.2.0
persistence of current RootStoryItem isn't occuring to temp storage upon closing of application, was working before

Bug had been introduced due to renaming SaveState method to SaveCurrentState. Was calling "SaveState" at FormSaveState event handler on Main form, and compiler would have warned about it being missing, but there is a SaveState property so it didn't throw any missing symbol error there. Thus SaveCurrentState wasn't getting called


text:
Test fresh installation without Gradle on Ubuntu

Check that new installation in VM works flawlessly without installing a Gradle wrapper natively on Ubuntu. Gradle wrapper should be sufficient.
Benefit is, that all the depencies of Gradle in the Ubuntu repo are no longer installed.

Should be working now and in a state, that should be good for "Camp Season".

repo: Zuehlke/SHMACK


text:
Incremental JSON generation

https://www.reddit.com/r/Common_Lisp/comments/rp5lik/what_was_your_favorite_common_lisp_release/hq7obiv/

Yason supports splitting up the generation of a json into a bunch of incremental parts, something like this:
(yason:with-object () (yason:encode-object-element key value))

This is pretty useful when you’re using generic functions because a PROGN method combination will be able to generate JSON output for all the fields of a class. It’s also useful when you’re generating a lot of JSON, because you don’t have to create a single data structure with all the data.

Just double-checking - does jzon have anything like that right now?

@phoe No, I was not planning on supporting this yet.
I do totally get the use-cases, but that's a v2 sorta feature. For initial goals I wanted to be able to DWIM read/write JSON, without having to learn a big API.
From a design perspective, I would make a protocol based around a clone of JsonTextWriter. alongside with its counterpart - JsonTextReader, and represent the reader/writer as proper objects rather than hiding them behind dynamic bindings.
I'm actually very surprised to learn YASON does not have a streaming reader. The prospect of overtaking it in features is definitely tempting me to skirt my Real Job and irresponsibly write CL.

I'm toying around with the writer side of this. The interface I'm planning on looks like the following:
(defclass point ()
  ((x :initform 0)
   (y :initform 0)))

(-> (jzon:make-json-writer :stream t)
  (jzon:write-value 42)
  (jzon:begin-object)
  (jzon:write-key "foo")
  (jzon:write-value 42)
  (jzon:write-key "a point")
  (jzon:write-value (make-instance 'point))
  (jzon:end-object)
  (jzon:write-value #(1 2 3 4))
  (jzon:begin-array)
  (jzon:write-value nil)
  (jzon:write-value t)
  (jzon:end-array))

which would produce output like:
42
{
    "foo": 42,
    "a point": {
        "x": 0,
        "y": 0
    }
}
[1, 2, 3, 4]
[false, true]

If anyone has any thoughts on that, let me know. Naturally I can export helper functions and macros for:

writing key + value in one call
yason-style with-object and with-array which automatically close the object ?
others?

I don't want to have a huge API. But I also don't want everyone to write the same utility functions everywhere.
And notably as a difference from yason - I'd rather offer a programmatic API rather than hiding the internals with a macro. This allows you to keep the json writer in a variable, return it from a fn, etc.

LGTM after a brief glance, but I'm no JSON expert.

I like the design of YASON:ENCODE-OBJECT/YASON:ENCODE-OBJECT-SLOTS here.
To make a class JSON-serializable, all you have to do is usually defmethod YASON:ENCODE-OBJECT-SLOTS like:
(fw.lu:defclass+ plaintext-message ()
  ((body :initarg :body :reader body)))

(defmethod yason:encode-slots progn ((object plaintext-message))
  (yason:encode-object-element "body" (body object)))

Incidentally, I think this is one of the first really compelling use-cases I've seen for the PROGN method combination :).

Thanks for the suggestion @fiddlerwoaroof
Do you have any thoughts on using a progn method combination over calling call-next-method?
eg instead of:
(defmethod yason:encode-slots progn ((object plaintext-message))
  (yason:encode-object-element "body" (body object)))

you could just have encode-slots use standard method combination and:
(defmethod yason:encode-slots ((object plaintext-message))
  (call-next-method)
  (yason:encode-object-element "body" (body object)))

The reason I ask is because I much prefer the latter. My reasoning being that in using non-standard method combinations, as somebody writing a method I need to

Remember that encode-slots uses progn, so that I remember to type it out
Remember the semantics specific about progn
If I accidentally defined a method using the wrong combination, I need to go and explicitly remove-method because for some reason it's only a warning to specialize with the wrong combination, but an error when called.

Not a huge deal, but for the advantages of typing out progn vs (call-next-method) it just doesn't seem worth it to me.
Besides, with a standard method combination there's more flexibility in that you can add :before and :after when necessary. Or even 'take over' the primary method altogether, if you need.

I updated my review of json libraries at https://sabracrolleton.github.io/json-review.html and mentioned that this was being worked on. (I also said many nice things about this library)

Thank you so much @sabracrolleton ! Your feedback is greatly appreciated there.
I'm booked the next couple of weeks, but I plan on addressing some of the issues after that.
Namely 1. incremental JSON generation and 2. pathname handling.
And maybe I'll finally get around to deciding what to do with #7 , which should add decoding goodies.
Given your documenting efforts, I'll make sure to tag you when any of those change.

@Zulu-Inuoe this is sort of the ideal use-case for the progn method combination.  Relying on (call-next-method) has the problem that it makes it a lot easier for a user to make a mistake that results in bad serialization.

So, @fiddlerwoaroof I did push out a writer API. Still making a couple of additions but I've decided on requiring people call-next-method. While I understand that the semantics of  progn make a sense here, I think overall it's not compelling enogh.
Pros:

typing progn is shorter than (call-next-method)
It's in the spirit of the combination so it makes sense semantically
Cons:
Method combinations (other than default) are not commonly used and users are more likely to not know to use them
If you forget to place the method combination in, the method is still attached to the GF. Even if you fix and recompile, you must remove the erroneously attached method from the GF which is annoying for me who knows how to do that via sly. If you are not familiar with this, you'll probably restart your whole image.
It forces you to inherit other specializations, and it forces a more specialized method to run after its less specialized one. With (call-next-method) you can decide the order of your fields vs your 'parents', or if you even want to run the less-specialized code at all

Hopefully that all makes sense. For now I'm closing this in prep for a v1.
Thanks for the feedback!

authors: Zulu-Inuoe fiddlerwoaroof phoe sabracrolleton

repo: Zulu-Inuoe/jzon


text:
No lexicons for ASL 😅

I was looking into this repo and wanted to integrate this repo code with my school project, It would be great if you could provide the lexicons for ASL as well.

Unfortunately, there is no license-permissive ASL lexicon that I am aware of.
If you are familiar with one, please let us know and we could try to add it.
For your school project, if you would like to use a licensed lexicon, you could do that at your own risk. What you must add is a loading function in this file, and then the rest would work normally.

Unfortunately, there is no license-permissive ASL lexicon that I am aware of.

What about this one
https://github.com/sign/translate/issues/135

ASL-Lex won't work, not allowed to download the videos.
MSASL or WLASL maybe?

https://dxli94.github.io/WLASL/

https://www.microsoft.com/en-us/research/project/ms-asl/

https://www.kaggle.com/competitions/asl-signs PopSign ASL might also work

(WLASL has 2000 signs, MSASL has 1000, and PopSign has 250)

Yes, I ended up using WLASL in @SignBridgeApp

hi I am wondering how do you adopt WLASL into download_lexicon?

hi I am wondering how do you adopt WLASL into download_lexicon?

You can check dummy_lexicon folder there, to get the structure to use

@bipinkrish would you like to contribute your code for WLASL for the download_lexicon?

@bipinkrish would you like to contribute your code for WLASL for the download_lexicon?

I could, but for 2,000 words it has 12,000 videos so for each word there is 5-7 video sample. I manually selected the best ones but through code i could just select the first one.

Hi I'm also currently in the process of selecting WLASL videos from https://www.kaggle.com/datasets/risangbaskoro/wlasl-processed. Do you have any specific criteria for video selection? Additionally, would you be able to share the videos you've already selected?

@bipinkrish would you like to contribute your code for WLASL for the download_lexicon?

I could, but for 2,000 words it has 12,000 videos so for each word there are 5-7 video sample. I manually selected the best ones but through code i could just select the first one.

Hi I'm also currently in the process of selecting WLASL videos from https://www.kaggle.com/datasets/risangbaskoro/wlasl-processed. Do you have any specific criteria for video selection? Additionally, would you be able to share the videos you've already selected?

As I said I have done this manually. You can get my selections from the below file
https://github.com/SignBridgeApp/models/blob/main/selection/selected.json

@bipinkrish would you like to contribute your code for WLASL for the download_lexicon?

I could, but for 2,000 words it has 12,000 videos so for each word there are 5-7 video sample. I manually selected the best ones but through code i could just select the first one.

@AmitMY Do you have any suggestions?

Hi I'm also currently in the process of selecting WLASL videos from https://www.kaggle.com/datasets/risangbaskoro/wlasl-processed. Do you have any specific criteria for video selection? Additionally, would you be able to share the videos you've already selected?

As I said I have done this manually. You can get my selections from the below file
https://github.com/SignBridgeApp/models/blob/main/selection/selected.json

Thanks for sharing!

repo: ZurichNLP/spoken-to-signed-translation


text:
Wrong type of arguments of function ope_encoder_write

It seems that at line
https://github.com/Zuzu-Typ/PyOgg/blob/master/pyogg/opus.py#L1221
second argument of list libopusenc.ope_encoder_write.argtypes = [ooe_p, c_float_p, c_int]  must be pointer to int16, not to float.
(int ope_encoder_write(OggOpusEnc *enc, const opus_int16 *pcm, int samples_per_channel))

Yupp, very correct indeed.
Thanks for letting me know (:

authors: Zuzu-Typ repalov

repo: Zuzu-Typ/PyOgg

license: Unlicense


text:
was:bus_stop does not set was:public_transport=platform

In this changeset I marked a highway=bus_stop which has been removed permanently to "does not exist" ("existiert nicht" in German).
Everydoor changed highway=bus_stop to was:highway=bus_stop.
But it left public_transport=platform as it was.
I think this is wrong. It should also have changed public_transport=platform to was:public_transport=platform.

I don't think it will be implemented. I loathe how our public transport schema has become this mess when you need to manage TWO main tags simultaneously. Just cannot make myself do this. Use the single highway=bus_stop and make life easier for everybody please.

authors: Nielkrokodil Zverik

license: ISC


text:
Base LEO Vehicle Pack

Get base set up of LEO Vehicles for base operations

S15 - Silvia [spawn name] - PD Garage
14Charger - charger1 [spawn name] - PD Garage

do i have an update for this pack

authors: FurryDev ZwinkaDink

repo: ZwinkaDink/Zwink-FiveM-Dev-Server


text:
Cannot run code

Describe the bug
When trying to run the code, it successfully asks for the download location but fails when attempting to get the cookie from chrome.
To Reproduce
Configuration is set to use chrome and no twilio config is used. When running, I get the following (note the Python folder location has been edited to remove user-specific data):
Traceback (most recent call last):
File "E:\GIT\DigitalFoundryUpdater\main.py", line 108, in
main()
File "E:\GIT\DigitalFoundryUpdater\main.py", line 64, in main
downloader = Downloader(browser, sid, token, to, from_, output_path)
File "E:\GIT\DigitalFoundryUpdater\downloader.py", line 67, in init
self.load_cookie_jar()
File "E:\GIT\DigitalFoundryUpdater\downloader.py", line 74, in load_cookie_jar
self.cj = chrome()
File "Python39\lib\site-packages\browsercookie__init.py", line 397, in chrome
return Chrome(cookie_file).load()
File "Python39\lib\site-packages\browsercookie__init.py", line 87, in load
for cookie in self.get_cookies():
File "Python39\lib\site-packages\browsercookie__init.py", line 149, in get_cookies
value = self.decrypt(item[5], item[6], key=key)
File "Python39\lib\site-packages\browsercookie__init_.py", line 183, in _decrypt
return win32crypt.CryptUnprotectData(encrypted_value, None, None, None, 0)[1].decode("utf-8")
pywintypes.error: (87, 'CryptProtectData', 'The parameter is incorrect.')
Expected behavior
The cookie is loaded and the site is scraped and videos downloaded.
Desktop (please complete the following information):

OS: Windows 10
Browser: chrome

Additional context
The following libraries were installed with pip in order to get this far:

Downloader
browsercookie
twilio
toml
pypiwin32

Looks like an issue in browsercookie somewhere. Will try to see exactly what's going on.

Looks like an issue in browsercookie somewhere. Will try to see exactly what's going on.

Which version of browsercookie are you using?

Which version of browsercookie are you using?

It appears that browsercookie had an update https://github.com/richardpenman/browsercookie/commit/864474403610fd15ff576615a6e0d603c7263f6e which apparently fixes Chrome 80+ support.
I'd suggest doing a pip install browsercookie --upgrade.

It appears that browsercookie had an update https://github.com/richardpenman/browsercookie/commit/864474403610fd15ff576615a6e0d603c7263f6e which apparently fixes Chrome 80+ support.
I'd suggest doing a pip install browsercookie --upgrade.

After installing the updated browsercookie, I'm able to get further, but still have an error:
Traceback (most recent call last):
File "E:\GIT\DigitalFoundryUpdater\main.py", line 108, in
main()
File "E:\GIT\DigitalFoundryUpdater\main.py", line 62, in main
browser, refresh_rate_min, sid, token, to, from_ = _parse_conf("conf.toml")
ValueError: not enough values to unpack (expected 6, got 5)

After installing the updated browsercookie, I'm able to get further, but still have an error:
Traceback (most recent call last):
File "E:\GIT\DigitalFoundryUpdater\main.py", line 108, in
main()
File "E:\GIT\DigitalFoundryUpdater\main.py", line 62, in main
browser, refresh_rate_min, sid, token, to, from_ = _parse_conf("conf.toml")
ValueError: not enough values to unpack (expected 6, got 5)

Another note is that the requirement for win32crypt (as required by browsercookie) I satisfied by installing pypiwin32 (pip install pypiwin32). If this isn't the expected library, I imagine that would cause this failure here.

Another note is that the requirement for win32crypt (as required by browsercookie) I satisfied by installing pypiwin32 (pip install pypiwin32). If this isn't the expected library, I imagine that would cause this failure here.

Can you try uninstalling your version of browsercookie, and installing the latest from the repo?
$ pip uninstall browsercookie
$ pip install https://github.com/richardpenman/browsercookie/archive/master.zip

That worked! Weird, but I'll take it!

@SteveJSzabo it appears as though browsercookie has remedied this issue. I've updated the requirements.txt in 90a121593b80d153c2ed25867f3ab6961a777830 to include the latest.

authors: SteveJSzabo a-busman

repo: a-busman/DigitalFoundryUpdater


text:
error in the tutorial

Describe the bug
For the Graphein - Atom Graph Tutorial (https://graphein.ai/notebooks/atom_graph_tutorial.html)
Error is in this line: g = construct_graph(config=config, pdb_path="../examples/pdbs/3eiy.pdb")
pdb_path should be changed to path
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Desktop (please complete the following information):

OS: [e.g. iOS]
Python Version
Graphein Version [e.g. 22] & how it was installed

Additional context
Add any other context about the problem here.

Change the parameter as "path" instead of "pdb_path" will work in version 1.7.5/1.7.6.

authors: xiaopuren zjlab-BioGene

repo: a-r-j/graphein


text:
autosnat support is missing

Broken in axapi 2.1, but we need it for 4.0+

Actual: 3, possibly 5 if I need to make changes from code review.


text:
URL_LIST feature suggestion

Hi again, sorry for the back to back issues. This one's more of a feature request. I'm trying to run this action on a dev site as part of a CI/CD pipeline. The dev site is an AWS API Gateway (running flask) and has a URL like https://abcde12345.execute-api.us-east-1.amazonaws.com/dev/. Whenever I try to run it with SITE_WIDE enabled, it runs until I cancel it (I've let it go for an hour plus vs when it's not enabled and it runs in ~5 mins with installation). And it always seems to hang on the a11ywatch crawl step.
So my question/feature request is this: would it be possible to add a URL_LIST kind of parameter that lets you run a11ywatch scan on each specified page instead of using a11ywatch crawl? Or, even better, am I just using the action wrong and there's a good way to handle this already? I tried adding a sitemap.xml using flask-sitemapper (which works) but the action still runs for way longer than it should to scan just the few pages of my site (again, never seen it finish). Is there a better way to strictly limit the crawl to pages off the root URL?
web-accessibility-eval:
    needs: dev-deploy
    runs-on: ubuntu-latest

    steps:
      - name: Web Accessibility Eval
        uses: a11ywatch/github-action@v2.1.9
        with:
          WEBSITE_URL: "https://abcde12345.execute-api.us-east-1.amazonaws.com/dev/"
          SITE_WIDE: false
          SUBDOMAINS: false
          TLD: false
          SITEMAP: true
          FAIL_ERRORS_COUNT: 15
          LIST: true
          FIX: true
          UPGRADE: false
          UPLOAD: true
        env:
          DEFAULT_RUNNERS: htmlcs,axe
          PAGEMIND_IGNORE_WARNINGS: true
          AI_DISABLED: false

Thanks in advance for any help :)

Hi @Ulthran no worries, it should only crawl the root url but, it looks like it is crawling all of amazon possibly. The SITE_WIDE env var should respect only the root url. Could you try to remove the double quotes around WEBSITE_URL and see if issues persist?
One way to debug the issue is to use the a11ywatch-cli locally to test if the page crawl finishes too.

authors: Ulthran j-mendez


text:
Copy the example environment file:????

Copy the example environment file: ???
env.example???----> .env

.env is removed from the project because the project is not heavy and very, very simple.

repo: aDarkDev/NotPixel


text:
🛑 KIOSKOS - HOME is down

In 4333827, KIOSKOS - HOME (https://recaudacion.yucatan.gob.mx) was down:

HTTP code: 0
Response time: 0 ms

Resolved: KIOSKOS - HOME is back up in 5bd549f after 10 minutes.

repo: aafyyuc/upptime


text:
How to run your own chainbb?

Hello.
I tried to run my own instance of chainbb, but I received something like this:
http://meshnet-users.tk/paste/p/ajzj/p.txt
I don't see on docker compose file any port that can work for ChainBB-fervi. Maybe I do something wrong, but there is no wiki :(
Fervi

The errors in that log make it look like it can't connect to the steem nodes specified (https://github.com/aaroncox/chainbb/blob/master/services/indexer/steem/main.py#L16-L18).
As for the frontend app, you have to manually navigate into the services/frontend directory and use npm start.
chainBB is still relatively new, so there's no documentation and it's not incredibly easy to run yet.

authors: aaroncox fervi

repo: aaroncox/chainbb


text:
GITM binaries

When I am running: example_gitm_cindi_plot_script.py, it is asking for: List of input GITM binaries. Where can I find these GITM binaries?
Thanks

Not sure that I understand.  Did you do a run of GITM?  This code takes GITM output files (after the code is run - the 3DALL files) and compares them to the CINDI instrument data, so the run needs to be during the time periods in which CINDI has valid data also. Hope that helps.

Where can I find the GITM binaries from the GITHUB master?

The GITM binaries are produced by running the code.  The binaries don't exist until you run the code - they are the output from the model.

I have run the gitm.py file and it generated  OMNI_OMNI2_merged_20120213-v1.cdf  but am unable to specify or find the following when i run _gitm_cindi_plot_script.py
filename = raw_input('Output image file (eg Test.png): ')
gitmlist = raw_input('List of input GITM binaries: ')
gitmtype = raw_input('GITM binary type (3D, 2D, 1D): ')
gitmmag = raw_input('Name of GITM 3DMAG or 3DION file: ')
cindilist = raw_input('List of input CINDI text files: ')
match = raw_input('Satellite-Model match method (nearest, average, median): ')
ykey = raw_input('GITM key of the dependent variable: ')
title = raw_input('Plot title: ')
Kindly help me on this matter

Once again, I have to ask - have you run GITM yet? gitm.py is not GITM - it is a python code that allows the plotting of GITM data files.  Have you compiled the code or configured the code?

authors: SuLFC aaronjridley

repo: aaronjridley/GITM


text:
Test 802 sends unexpected token in header

I was testing out my micropub server and noticed that after I fixed and stopped handling multiple tokens (in header and body) from 805, 802 started failing.
Checking my server logs it seems like 802 is sending the token in the header even though it doesn't show up that way on the frontend.
I believe this is caused by:
https://github.com/aaronpk/micropub.rocks/blob/eeac57ad4b38e6a6cc0a31d6a4fe2bca2794f791/views/server-tests/802.php#L70-L85
Where line 85 should pass in true to skipauth like 801 does since we're sending in the access_token in the body for this test case.

I encountered this failure as well

authors: benjifs blturner


text:
Adding Implementation of priority queue with its proper explanation

Hi @aaryahjolia , I would like to add the implementation of the priority queue with its proper explanation. I would like to contribute to this issue . Could you assign me this issue?
This is a part of GSSoc'23.
Thanks

Hi @aaryahjolia , I would like to add the Implementation of priority queue with  explanation in  detail as possible. Can you please assign this issue to me as i want to contribute in  GSSoc'23.


text:
Fix/help

Fixed teamcity because I'm a god

@Byllie prouve que t'es pas raciste

We should precise why we disabled the pylint thinggy in a mew commit

Don't merge yet @Byllie

Undrafted @Byllie

repo: aaryswastaken/gandi-rush


text:
Delivery guarantee

Hey!
It is not a bug, just a question. If my send() coroutine was succesfull and after it i had succesfull ping-pong - it is guarantee for me, that user got my message?

Yes.

(At least at the network level; then you don't know what their software did with the message.)

thats enough for me, thank you

authors: aaugustin kotolex

repo: aaugustin/websockets


text:
🛑 Musga is down

In cf68a0c, Musga (https://musga.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Musga is back up in d6704aa after 12 minutes.

repo: abaertsoen/upptime


text:
🛑 Shop Aishy is down

In 483aa3d, Shop Aishy (https://aishy.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Shop Aishy is back up in 3abfff7.


text:
/home/cabox/workspace/coachshake/gcc-4.6.4/host-x86_64-redhat-linux/gcc/cc1: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/local/lib/libppl_c.so.4)

https://blog.csdn.net/ccbrid/article/details/78979878
https://github.com/microsoft/vscode/issues/115784

/home/cabox/workspace/coachshake/gcc-4.6.4/host-x86_64-redhat-linux/gcc/cc1: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by /lib64/libstdc++.so.6)
Searching for libc.so.6
https://centos.pkgs.org/7/ghettoforge-testing-x86_64/glibc231-2.31-3.gf.el7.x86_64.rpm.html
https://pkgs.org/download/libc.so.6

/opt/glibc231-2.31/lib64/libc.so.6

repo: abakasam/abakasam


text:
[AFF] There are unused methods for deserialization

To be deleted

I dont expect any existing methods to become unused

This are subsequent faults.

authors: albertmink larshp

repo: abapGit/abapGit


text:
ZABAPGIT_STANDALONE short dumps

The shortdump is with CONVT_CODEPAGE when calling fill_language_mapping with 'BF51' on line 28532.
Our system is running SAP_BASIS and SAP_ABA 740 SP-level 0021.
Unicode checks are active.

It works fine even in 702 so it's specific to your system.
Can you execute a test in SE24?

Class CL_ABAP_CONV_IN_CE, Test F8
Confirm defaults, ENTER
Execute UCCP

Enter "BF51", Execute F8

You should get the following:

authors: KevinNeale mbtools


text:
SMIM: Improve error messages

Pass T100 messages to UI/log

thanks 👍

authors: larshp mbtools


text:
Scaled Orders & Trailing Limit Orders

Hey,
Nice Project!
Have you seen https://github.com/Effanuel/BitMEX-scaled-orders ?
Do you think the features shown in the above project could be implemented into this one?
Thanks!

Hey, thanks!
There seems to be a lot of cool features in this. Is there a specific set of features you are hoping to come to this project?


text:
feat: json schema

There are several possible ways of utilizing this schema (YAML extension is required in VS Code to make them work):

It can be referenced directly # yaml-language-server: $schema={{schema url in this repository}} in ~/.tran/tran.yml, this is a manual approach because requires user to put a full URL by hand.
It can be put in SchemaStore and referenced there like this. This approach ensures that whenever user edits ~/.tran/tran.yml they get the latest hints for it.

If this PR is accepted this schema is referenced in SchemaStore to automatically enable validation for ~/.tran/tran.yml.

@abdfnx, please review this PR.

@abdfnx, please review this PR.

Hi @EmilyGraceSeville7cf, OK I will review this PR

repo: abdfnx/tran


text:
🛑 Tuwexinc API is down

In 86038e8, Tuwexinc API (https://api.tuwexinc.com/health) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Tuwexinc API is back up in a3e08d2 after 14 minutes.

repo: abelfleitas/status


text:
dealing with polymorphic lists

if subrules of a "+" return instances of different polymorphic classes, the parser throws a type cast exception - this patch fixes that

Awesome, thanks for the commit!

authors: abeschneider little-big-h


text:
[Feature] Support Binder and JupyterLite for website

Can our website cooperates with two following useful tool for conducting the examples in gallery:

binder
JupyterLite

Just like the website for scikit-learn
https://scikit-learn.org/stable/auto_examples/miscellaneous/plot_kernel_approximation.html#sphx-glr-auto-examples-miscellaneous-plot-kernel-approximation-py

Get it. Just now I tried binder however it seems that pybind11 can't be cloned by the server, later I will try JupyterLite and see if there's any solution~

repo: abess-team/skscope


text:
Segmentation fault error while launching server on Apple Chip (Mac M3)

Prerequisites
Please answer the following questions for yourself before submitting an issue.

[x] I am running the latest code. Development is very rapid so there are no tagged versions as of now.
[x] I carefully followed the README.md.
[x] I searched using keywords relevant to my issue to make sure that I am creating a new issue that is not already open (or closed).
[x] I reviewed the Discussions, and have a new bug or useful enhancement to share.

Expected Behavior
The server should run.
Current Behavior
llama_model_loader: loaded meta data with 26 key-value pairs and 995 tensors from .models/models--TheBloke--Mixtral-8x7B-Instruct-v0.1-GGUF/snapshots/fa1d3835c5d45a3a74c0b68805fcdc133dba2b6a/mixtral-8x7b-instruct-v0.1.Q4_K_M.gguf (version GGUF V3 (latest))
llama_model_loader: Dumping metadata keys/values. Note: KV overrides do not apply in this output.
llama_model_loader: - kv   0:                       general.architecture str              = llama
llama_model_loader: - kv   1:                               general.name str              = mistralai_mixtral-8x7b-instruct-v0.1
llama_model_loader: - kv   2:                       llama.context_length u32              = 32768
llama_model_loader: - kv   3:                     llama.embedding_length u32              = 4096
llama_model_loader: - kv   4:                          llama.block_count u32              = 32
llama_model_loader: - kv   5:                  llama.feed_forward_length u32              = 14336
llama_model_loader: - kv   6:                 llama.rope.dimension_count u32              = 128
llama_model_loader: - kv   7:                 llama.attention.head_count u32              = 32
llama_model_loader: - kv   8:              llama.attention.head_count_kv u32              = 8
llama_model_loader: - kv   9:                         llama.expert_count u32              = 8
llama_model_loader: - kv  10:                    llama.expert_used_count u32              = 2
llama_model_loader: - kv  11:     llama.attention.layer_norm_rms_epsilon f32              = 0.000010
llama_model_loader: - kv  12:                       llama.rope.freq_base f32              = 1000000.000000
llama_model_loader: - kv  13:                          general.file_type u32              = 15
llama_model_loader: - kv  14:                       tokenizer.ggml.model str              = llama
llama_model_loader: - kv  15:                      tokenizer.ggml.tokens arr[str,32000]   = ["<unk>", "<s>", "</s>", "<0x00>", "<...
llama_model_loader: - kv  16:                      tokenizer.ggml.scores arr[f32,32000]   = [0.000000, 0.000000, 0.000000, 0.0000...
llama_model_loader: - kv  17:                  tokenizer.ggml.token_type arr[i32,32000]   = [2, 3, 3, 6, 6, 6, 6, 6, 6, 6, 6, 6, ...
llama_model_loader: - kv  18:                tokenizer.ggml.bos_token_id u32              = 1
llama_model_loader: - kv  19:                tokenizer.ggml.eos_token_id u32              = 2
llama_model_loader: - kv  20:            tokenizer.ggml.unknown_token_id u32              = 0
llama_model_loader: - kv  21:            tokenizer.ggml.padding_token_id u32              = 0
llama_model_loader: - kv  22:               tokenizer.ggml.add_bos_token bool             = true
llama_model_loader: - kv  23:               tokenizer.ggml.add_eos_token bool             = false
llama_model_loader: - kv  24:                    tokenizer.chat_template str              = {{ bos_token }}{% for message in mess...
llama_model_loader: - kv  25:               general.quantization_version u32              = 2
llama_model_loader: - type  f32:   65 tensors
llama_model_loader: - type  f16:   32 tensors
llama_model_loader: - type q8_0:   64 tensors
llama_model_loader: - type q4_K:  833 tensors
llama_model_loader: - type q6_K:    1 tensors
llm_load_vocab: special tokens definition check successful ( 259/32000 ).
llm_load_print_meta: format           = GGUF V3 (latest)
llm_load_print_meta: arch             = llama
llm_load_print_meta: vocab type       = SPM
llm_load_print_meta: n_vocab          = 32000
llm_load_print_meta: n_merges         = 0
llm_load_print_meta: n_ctx_train      = 32768
llm_load_print_meta: n_embd           = 4096
llm_load_print_meta: n_head           = 32
llm_load_print_meta: n_head_kv        = 8
llm_load_print_meta: n_layer          = 32
llm_load_print_meta: n_rot            = 128
llm_load_print_meta: n_embd_head_k    = 128
llm_load_print_meta: n_embd_head_v    = 128
llm_load_print_meta: n_gqa            = 4
llm_load_print_meta: n_embd_k_gqa     = 1024
llm_load_print_meta: n_embd_v_gqa     = 1024
llm_load_print_meta: f_norm_eps       = 0.0e+00
llm_load_print_meta: f_norm_rms_eps   = 1.0e-05
llm_load_print_meta: f_clamp_kqv      = 0.0e+00
llm_load_print_meta: f_max_alibi_bias = 0.0e+00
llm_load_print_meta: f_logit_scale    = 0.0e+00
llm_load_print_meta: n_ff             = 14336
llm_load_print_meta: n_expert         = 8
llm_load_print_meta: n_expert_used    = 2
llm_load_print_meta: causal attn      = 1
llm_load_print_meta: pooling type     = 0
llm_load_print_meta: rope type        = 0
llm_load_print_meta: rope scaling     = linear
llm_load_print_meta: freq_base_train  = 1000000.0
llm_load_print_meta: freq_scale_train = 1
llm_load_print_meta: n_yarn_orig_ctx  = 32768
llm_load_print_meta: rope_finetuned   = unknown
llm_load_print_meta: ssm_d_conv       = 0
llm_load_print_meta: ssm_d_inner      = 0
llm_load_print_meta: ssm_d_state      = 0
llm_load_print_meta: ssm_dt_rank      = 0
llm_load_print_meta: model type       = 8x7B
llm_load_print_meta: model ftype      = Q4_K - Medium
llm_load_print_meta: model params     = 46.70 B
llm_load_print_meta: model size       = 24.62 GiB (4.53 BPW)
llm_load_print_meta: general.name     = mistralai_mixtral-8x7b-instruct-v0.1
llm_load_print_meta: BOS token        = 1 '<s>'
llm_load_print_meta: EOS token        = 2 '</s>'
llm_load_print_meta: UNK token        = 0 '<unk>'
llm_load_print_meta: PAD token        = 0 '<unk>'
llm_load_print_meta: LF token         = 13 '<0x0A>'
llm_load_tensors: ggml ctx size =    0.83 MiB
[1]    70663 segmentation fault  python -m llama_cpp.server --config configs/llama_cpp.json

Environment and Context
Please provide detailed information about your computer setup. This is important in case the issue is not reproducible except for under certain specific conditions.

Physical (or virtual) hardware you are using, e.g. for Linux:

$ lscpu

Operating System, e.g. for Linux:

$ uname -a
Darwin ma-pham-2024.local 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:12:25 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6030 arm64

SDK version, e.g. for Linux:

$ python3 --version
# Python 3.10.13
$ make --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i386-apple-darwin11.3.0
$ g++ --version
Apple clang version 15.0.0 (clang-1500.3.9.4)
Target: arm64-apple-darwin23.4.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

I also tried to revert to previous versions. v0.2.56 and earlier seem to work

I have an M2 mac, and I get a similar error on latest version but not on v0.2.56

Try this it worked for me finally.
CMAKE_ARGS="-DCMAKE_OSX_ARCHITECTURES=arm64 -DCMAKE_APPLE_SILICON_PROCESSOR=arm64 -DGGML_METAL=on" pip install --verbose --force-reinstall --no-cache-dir llama-cpp-python==0.2.56
And adding Llama(model_path="", logits_all=True)
The cli command will probably mess up your numpy, so make sure you check what your using first, I then ran pip install numpy==1.26.2
I am now getting output -- Mac M1

authors: andreas-aman krecicki mhoangvslev

repo: abetlen/llama-cpp-python