text:
Staging inactive firmware

Added support to report inactive firmware version

Inactive firmware image version is stored over upgrade
and is reported in AWLAN_Node table.
Rename FW_IMAGE_NAME to FW_IMAGE_ACTIVE

FIXES: WIFI-609

merged into pending, Thanks !

authors: blogic yashvardhan-netex

repo: Telecominfraproject/wlan-ap


text:
[WIFI-5702] Add: pass OWSEC_NEW_PASSWORD to clustersysteminfo pod

Requires https://github.com/Telecominfraproject/wlan-cloud-ucentral-deploy/pull/33 to be merged first
Also requires changes in deployment workflows before merging as it introduces new environment variable required for clustersystemcheck:

ucentralgw-qa-deployment.yaml
uc_sanity_dynamic.yml
test-ucentral-deployment.yaml
ucentralgw-dev-deployment.yaml
ow_sdk_docker-compose.yml

Requires simultaneous merging with https://github.com/Telecominfraproject/wlan-cloud-ucentral-deploy/pull/33

Changes in CI/CD workflows are done

Added changes to workflows to adapt lab configuration to use new login credentials that will be set up clustersysteminfo after deployment

source: gharchive/pull-request

repo: Telecominfraproject/wlan-testing

license_type: permissive

license_source: github-api


text:
add maximum image count attribute and simple chinese translation for ios platform

Hi, friend~. The project is very cool. i'm chinese, but the repo lose simple chinese translation and maximumImageCount attributes not work for ios platform. i fix these problem. I wish you to merge~ thank you~~~~

Hi, I am happy to see this request before trying to translate it by myself. Can some one merge this request soon? I do see quite a lot of searches about Chinese translation for this plugins so I think it would be great to have it localized officially.
BTW, do we need translation for Android platform too?

Hey, can we merge this?  I would very much like iOS maximumImagesCount attr.

It's merged now, please give it a spin!

Will do, thanks @EddyVerbruggen

repo: Telerik-Verified-Plugins/ImagePicker

license: MIT


text:
Fix KeyNotFoundException in ThrowHelper.ThrowKeyNotFoundException

Version: 0.4 beta (5) | es.um.tellop
Stacktrace
0 System ThrowHelper ThrowKeyNotFoundException 1 System.Collections.Generic Dictionary`2[TKey,TValue] get_Item 2 TellOP App OnSleep 3 Xamarin.Forms Application SendSleepAsync 4 Xamarin.Forms.Platform.Android FormsAppCompatActivity+d__42 MoveNext 5 System.Runtime.ExceptionServices ExceptionDispatchInfo Throw 6 System.Runtime.CompilerServices AsyncMethodBuilderCore m__0 7 Android.App SyncContext+c__AnonStorey0 <>m__0 8 Java.Lang Thread+RunnableImplementor Run 9 Java.Lang IRunnableInvoker n_Run 10 mono.java.lang RunnableImplementor n_run 11 mono.java.lang RunnableImplementor run 12 android.os Handler handleCallback 13 android.os Handler dispatchMessage 14 android.os Looper loop 15 android.app ActivityThread main 16 java.lang.reflect Method invoke 17 com.android.internal.os ZygoteInit$MethodAndArgsCaller run 18 com.android.internal.os ZygoteInit main Java.Lang.Thread 2
Reason
android.runtime.JavaProxyThrowable: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
Link to HockeyApp

https://rink.hockeyapp.net/manage/apps/407823/crash_reasons/154886723

Fixed in #802

source: gharchive/issue

repo: TellOP/APP

license_source: bigquery


text:
[t-indexes] 在列表数据不够一个屏幕展示情况  选择 后面的索引字母  选择状态依然停留在  第一个数据所以字母上。比如列表有  abcde 的值，默认进来a是选中样式。在点e的时候选中样式还在a上

tdesign-miniprogram 版本
可以
重现链接
No response
重现步骤
在列表数据不够一个屏幕展示情况  选择 后面的索引字母  选择状态依然停留在  第一个数据所以字母上。比如列表有  abcde 的值，默认进来a是选中样式。在点e的时候选中样式还在a上
期望结果
在点e的时候选中样式还在e上
实际结果
No response
基础库版本
No response
补充说明
No response

@Aholy-nn sorry 是我误导你了😭。目前的表现是预期内，交互设计如此，不属于 bug。 这个组件的交互我们参考了微信通讯录等其他应用 app， 当所有索引列表数据不满一屏的情况下，不论点击哪一项，激活态都会给到第一项

authors: Aholy-nn anlyyao

repo: Tencent/tdesign-miniprogram


text:
[list] ListItemMeta 组件的 description  自定义能不能优化一下？

tdesign-react 版本
1.1.8
重现链接
No response
重现步骤

类型参数支持  传入 TNODE， 但是你默认一个P 就会导致自定义的内容报warining

请优化下， 可以做下判断， 如果  description 是TNODE 可以直接写入， 如果是  string ， 可以带上一个 P
期望结果
如上描述
实际结果
如上描述
框架版本
react
浏览器版本
No response
系统版本
No response
Node版本
No response
补充说明
No response

比如你在   description 传入
（

）
直接warining

fixed in 1.1.17

authors: anming-john uyarn

repo: Tencent/tdesign-react


text:
[Tree] 咨询：初次加载，设置高亮节点，如何展开高亮节点及其所有父节点？

背景
设置:expand-level="2"，expendall=false，onMounted时设置activeId.value = 'node4'，再获取具体node，const node = tree.value.getItem('node4')，结果为空，无法进行展开高点节点操作
需求
请问在初次加载时候，是否有简便展开高亮节点及其所有父节点的设置？
或者如何获取到具体node值，以便进行展开？
实现
<t-tree
  ref="tree"
  :data="items"
  hover
  activable
  checkable
  v-model:actived="activeIds"
  :expand-level="2"
  :expand-on-click-node="false"
  :expand-parent="expandParent"
  :label="disableLabel || getLabel"
  :filter="filterByText"
  :defaultExpanded="defaultActives"
  line
  @expand="onExpand"
  @change="onChange"
  @active="onActive"
>

onMounted(() => {
items.value = [
{
value: 'node1',
children: [
{ value: 'node3' ,
children: [
{ value: 'node4'
}]
      }]
  },
  {
    value: 'node2',
  },
];
activeId.value = 'node4';
activeIds.value = ['node4'];
const node = tree.value.getItem('node4');
console.log('node', node) //获取不到node，内容为空
defaultActives.value = [node]

});

已解决，在onMounted加载数据后按如下操作，即可展开选中节点以及父节点，其他节点不展开。
 setTimeout(() => {   const node = tree.value.getItem('1.1.1.1');   console.log('node', node)    const parents = tree.value.getParents(node.value);   expanded.value = parents.map((node) => node.value)   }, 100);

repo: Tencent/tdesign-vue-next


text:
[ColorPicker 颜色选择器] 参数无效

tdesign-vue-next 版本
1.3.1
重现链接
No response
重现步骤

面板初始化的时候默认RGB，如果是要hex的话设置format和selectInputProps属性透传都没有用，依然显示的是RGB。
defaultValue参数不起作用，初始化依然是蓝色默认值。
v-model:value不起作用，只有v-model:起作用，但是，拖动颜色的时候会丢失面板的焦点。

期望结果
No response
实际结果
No response
框架版本
No response
浏览器版本
No response
系统版本
No response
Node版本
No response
补充说明
No response

这是来自QQ邮箱的假期自动回复邮件。

您好，我最近正在休假中，无法亲自回复您的邮件。我将在假期结束后，尽快给您回复。

……

关闭了


text:
[Menu] 多层导航bug

tdesign-vue-next 版本
0.14.1
重现链接
https://tdesign.tencent.com/vue-next/components/menu
重现步骤

多层收纳导航，下拉菜单收纳2-3级 dark 主题色没生效
多层收纳导航，2-3级菜单不能 hover 悬浮上去

期望结果
No response
实际结果
No response
框架版本
No response
浏览器版本
No response
系统版本
No response
Node版本
No response
补充说明
No response

https://tdesign.tencent.com/vue-next/components/menu#可收起的侧边导航
可收起的侧边导航也坏了


text:
refactor(loading): use composition API to refactor loading

使用vue3 composition API重构Loading组件。
loading部分框架无关代码统一使用common中复用代码 方便维护。
去掉attach demo中无效的一行div 此改动同时需要更新snapshot

https://github.com/Tencent/tdesign-vue-next/issues/58

这个demo开启loading 后关闭，demo区域无法滚动了。

authors: pengYYYYY uyarn


text:
请问使用了ascend c开发算子了吗？

如标题

您好@enduringstack， 我们目前没有去单独实现特定的算子，目前更多是采用原生NPU支持的算子。

authors: enduringstack wondervictor

repo: TencentARC/mllm-npu


text:
属性错误：type object 'Callable' has no attribute '_abc_registry'

在提此问题之前，首先感谢官方工作人员的耐心对接，及时进行了验证，开展了良好的沟通。现将问题描述如下：
OS：

CentOS Linux release 7.9.2009 (Core)

Python版本：

Python 3.8.12
Python 3.7.11

tccli版本：

3.0.571.1

描述：
上次使用tccli是半年前，未发现问题，本次因测试THPC的需要更新了tccli，结果敲第一个命令就报错：
> tccli thpc help
usage: tccli [options] <command> <subcommand> [<subcommand> ...] [parameters]
To tccli help text, you can run:

  tccli help
  tccli configure help
  tccli service[cvm] help
  tccli service[cvm] action[RunInstances] help

type object 'Callable' has no attribute '_abc_registry'

当意识到这是报错时（Error提示也不太明显），基本就判断是因为环境问题，因为命令很基础且错误不常见。
通过简单修改源码并打印异常栈后发现，是导入requests时，其charset_normalizer包使用了typing类型提示：
  File "/home/sagene/software/miniconda3/lib/python3.8/site-packages/tencentcloud/common/abstract_client.py", line 37, in <module>
    from tencentcloud.common.http.request import ApiRequest
  File "/home/sagene/software/miniconda3/lib/python3.8/site-packages/tencentcloud/common/http/request.py", line 7, in <module>
    import requests
  File "/home/sagene/software/miniconda3/lib/python3.8/site-packages/requests/__init__.py", line 48, in <module>
    from charset_normalizer import __version__ as charset_normalizer_version
  File "/home/sagene/software/miniconda3/lib/python3.8/site-packages/charset_normalizer/__init__.py", line 24, in <module>
    from .api import from_bytes, from_fp, from_path, normalize
  File "/home/sagene/software/miniconda3/lib/python3.8/site-packages/charset_normalizer/api.py", line 3, in <module>
    from typing import BinaryIO, List, Optional, Set
  File "/home/sagene/software/miniconda3/lib/python3.8/site-packages/typing.py", line 1359, in <module>
    class Callable(extra=collections_abc.Callable, metaclass=CallableMeta):
  File "/home/sagene/software/miniconda3/lib/python3.8/site-packages/typing.py", line 1007, in __new__
    self._abc_registry = extra._abc_registry
AttributeError: type object 'Callable' has no attribute '_abc_registry'

可以看到这里的typing.py是一个第三方库，通过查看PyPI可以知道typing在3.5及以后已经内置，无需再使用该第三方库。（NOTE: in Python 3.5 and later, the typing module lives in the stdlib, and installing this package has NO EFFECT, because stdlib takes higher precedence than the installation directory.）
于是采取措施运行pip uninstall typing卸载该库后，再次运行上述help命令，成功看到输出。
原因：
为什么会出现这种错误？最直接的原因是环境中意外安装了不需要的包typing，然而联想到requests的使用是如此频繁，不仅自己经常使用，也有很多第三方库将其直接引入，为什么未出现本次报错的情况？
于是大概查看下源码，看到main.py的前几行时就茅塞顿开，原来是内部更改了sys.path的扫描路径，导致先读取的第三方typing包，忽略了内置的typing。
base = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.insert(0, base)

这便是此次意外报错的深层次原因。
另外从根本上讨论，为什么3.7及之后的Python能复现该问题，3.6却不会报错，又为什么“”缺失“”了属性_abc_registry，其实都跟python抽象基类模块的代码实现有关。由于TCCLI努力兼容Python2.7及以上版本，所以这算是个隐藏的问题，偶尔可能会有人遇到，希望看到这里的人已经消除了疑惑。最后，关于内部修改扫描路径，应该是有其原因的，如果能有人分享下，那整个问题的清楚脉络就跃然眼前了。
解决：

如遇此问题，使用方可手动运行pip uninstall typing卸载该包，解决报错；
从代码层面规避修改模块的默认搜索路径；
不建议：替换python版本至3.6及以下。

感谢。我们立刻着手修复，增加更高python版本测试环境

感谢。我们立刻着手修复，增加更高python版本测试环境

好的不客气，辛苦了。

authors: China-ms zqfan

repo: TencentCloud/tencentcloud-cli


text:
delete map操作是否重复？

下面代码的delete map操作是否重复了？还是出于什么考虑？
https://github.com/Terry-Mao/goim/blob/master/router/cleaner.go#L82
func (c *Cleaner) remove(key int64) {
if e, ok := c.maps[key]; ok {
delete(c.maps, key)
e.prev.next = e.next
e.next.prev = e.prev
e.next = nil // avoid memory leaks
e.prev = nil // avoid memory leaks
c.size--
}
}
https://github.com/Terry-Mao/goim/blob/master/router/cleaner.go#L102
for i = 0; i < maxCleanNum; i++ {
if e = c.back(); e != nil {
if e.expire() {
c.remove(e.Key)
delete(c.maps, e.Key)
keys = append(keys, e.Key)
continue
}
}
break
}

应该是个bug，我再细看下

@thinkboy 看下这个问题？

#68 fix

authors: Terry-Mao it-man-cn

repo: Terry-Mao/goim

license: mit


text:
Copy command in menu toolbar "Edit" menu doesn't work for multiple editors

@tnrich
The implementation of the copy command for the menu toolbar assumes there is only one element with class veVectorInteractionWrapper so copying via the "Edit" menu doesn't work for the second editor on a page:
https://github.com/TeselaGen/tg-oss/blob/master/packages/ove/src/commands/index.js#L362

Sure @tnrich, I'll see what I can do.

@tnrich, bad news. It looks like I can't upgrade to this version of ove yet because react 18 conflicts with another library I'm using. I'll have to look at this again when I upgrade react and work around in the meantime.

Sorry for the delay @tnrich, got caught up in other priorities. I found the issue with using react 16 with ove and it seems to be because I'm using webpack. I was able to workaround it by specifying aliases in my webpack.js file to force all libraries to use my chosen version of react:
alias: {
    react: path.resolve(__dirname, "./node_modules/react"),
    "react-dom": path.resolve(__dirname, "./node_modules/react-dom"),
    "react-redux": path.resolve(__dirname, "./node_modules/react-redux")
}

This stackoverflow post seems to indicate that changing ove to make the react libraries peerDependencies rather than dependencies might make it more compatible with webpack but I haven't tried it yet.

repo: TeselaGen/tg-oss


text:
Largest Element in Array

🚀 Feature
Given an array . The task is to find the largest element in it.
Have you read the Contributing Guidelines on Pull Requests?
yes
Motivation
I want to add code in cp in c++
Pitch
Want to add as GSSoC'21 participant

/assign

repo: TesseractCoding/NeoAlgo


text:
Tribonacci Number in C++

💥 Proposal
Tribonacci Number in CPP
Have you read the Contributing Guidelines on Pull Requests?
YES

/assign


text:
Cutting a Rod in Julia

Have you read the Contributing Guidelines on Pull Requests?
YES
Description
Cutting a Rod in Julia
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
Fixes #4993

Please make an issue here and raise a PR, for an article as part of our Docs repository: https://github.com/TesseractCoding/NeoAlgo-Docs
It would be much appreciated. Thanks!


text:
Added check for empty listener

Fixes this:

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.cahrens seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

authors: CLAassistant chiahrens

repo: TestArmada/magellan


text:
Remove Built-in .NET Core 3.1 Agent from the engine

.NET Core 3.1 tests will run under .Net 6.0 unless the user installs the .NET Core 3.1 agent as an extension.

:tada: This issue has been resolved in version 2.0.0-alpha8 :tada:
The release is available on:

GitHub Release
NuGet Package

repo: TestCentric/testcentric-engine


text:
🛑 Jellyfin is down

In 2715b47, Jellyfin (https://jellyfin.tetragg.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Jellyfin is back up in ff29643.

repo: TetraGG/Upptime


text:
🛑 Jellyfin is down

In 331784e, Jellyfin (https://jellyfin.tetragg.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Jellyfin is back up in c0892bc.


text:
🛑 Proxmox is down

In 4e27b51, Proxmox (https://pve.tetragg.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Proxmox is back up in fa56ce4.


text:
🛑 Proxmox is down

In a849396, Proxmox (https://pve.tetragg.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Proxmox is back up in 74564ec.


text:
🛑 Nextcloud is down

In 37e8cd3, Nextcloud (https://nextcloud.tetragg.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nextcloud is back up in f26b7d2.


text:
🛑 Proxmox is down

In 2a544cc, Proxmox (https://pve.tetragg.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Proxmox is back up in 739ea75.


text:
🛑 Proxmox is down

In f41ca64, Proxmox (https://pve.tetragg.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Proxmox is back up in ffe525c.


text:
top-tool-package-reader license is not set

Describe the bug 📝
It appears no license has been specified for the dependency(top-tool-package-reader) that is used across component library dependencies. https://www.npmjs.com/package/top-tool-package-reader
Unfortunately I could not find the source code on github as well. But it appears it is coming from the same development team. I wonder, was that intentional? Any plans to specify a license for that soon? It brings questions to use the library as the no license declaration actually means default copyright rules apply.
Reproduction ▶
No response
Steps to reproduce 🔢
No response
System Info 💻
System:
    OS: macOS 14.2.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 47.02 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.19.0 - ~/.nvm/versions/node/v18.19.0/bin/node
    npm: 10.2.3 - ~/.nvm/versions/node/v18.19.0/bin/npm
  Browsers:
    Chrome: 124.0.6367.208
    Edge: 124.0.2478.105
    Safari: 17.2.1

Used Package Manager 📦
npm
Error Trace/Logs 📃
No response
Validations ✅

[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a repository issue and not a framework-specific issue. For example, if it's a THREE.js related bug, it should likely be reported to mrdoob/threejs instead.
[X] Check that this is a concrete bug. For Q&A join our Community.
[X] The provided reproduction is a minimal reproducible example of the bug.

If that is fine to remove 'getPlatformComponent' altogether, i can create a pr for it.

That package was part of something that wasn't released in the end! We have removed all the dependencies for that package alltogether 🙏🏻 Let me know otherwise!

I can confirm it is not part of the dependencies anymore. This particular issue was huge for us, thanks a lot for addressing it so promptly. Best regards.

authors: agviegas onderilkesever


text:
Содержимое папки temporary

Что именно хранится в c:\Users\User\AppData\Roaming\Mozilla\Firefox\Profiles\profile.default\storage\temporary\ и возможно ли задать полную очистку этой папки пр закрытии браузера?

Что именно хранится

IndexedDB с флагом temporary, скомпилированный asm.js. Возможно, что-то еще.

возможно ли задать полную очистку этой папки пр закрытии браузера?

Если Ctrl+Shift+Del удаляет ее, то возможно - прямо через стандартные Preferences.

прямо через стандартные Preferences
У меня в about:preferences#privacy выставлено:

всегда работать в режиме приватного просмотра
принимать куки с сайтов - никогда
сохранять куки до закрытия мною Firefox.
Если это имелось в виду, то после закрытия ничего не удаляется.

Ну значит осталось asm.js отключить.

Ну значит осталось asm.js отключить.
Что такое asm.js и как его отключить?

https://github.com/The-OP/Fox/blob/master/prefs/prefs_4.js#L170

authors: AlxMxlA The-OP

repo: The-OP/Fox

license: unlicense


text:
Add RTL Linting

Prompt
OpenLane currently accepts any RTL Yosys can process- even if it includes bad design ideas.
Proposal
OpenLane should not accept poorly-written RTL- there are tools such as verible and verilator that can be used to lint RTL.

Verilator is included in OpenLane now

authors: donn kareefardi

repo: The-OpenROAD-Project/OpenLane


text:
grt: print all pins out of die area before erroring

It seems like the code meant to do this, but got warn/error switched around. Otherwise, GRT-0028 is actually unreachable.

@eder-matheus it seems like duplicate messages are printed if multiple shapes of the same pin are outside. Should we break out of the loop after the first warning?

@eder-matheus it seems like duplicate messages are printed if multiple shapes of the same pin are outside. Should we break out of the loop after the first warning?

Perhaps we can count the number of blockage shapes out of the die for each pin, and print this number instead of one print for shape.

authors: eder-matheus rovinski

repo: The-OpenROAD-Project/OpenROAD


text:
Feat: Histroy

Is your feature request related to a problem? Please describe.
ability to undo or redo any action

#25 is part of the history implementation because we're using command pattern

Still not able to redo

repo: The-Zagy/zagydraw


text:
requirements conflict

The conflict is caused by:
The user requested numpy==1.25.2
numba 0.60.0 depends on numpy<2.1 and >=1.22
graspologic 3.4.1 depends on numpy<2.0.0 and >=1.26.4

The conflict is caused by:
The user requested numpy==1.25.2
numba 0.60.0 depends on numpy<2.1 and >=1.22
graspologic 3.4.1 depends on numpy<2.0.0 and >=1.26.4

ERROR: Cannot install -r requirements.txt (line 12), -r requirements.txt (line 14) and numpy==1.25.2 because these package versions have conflicting dependencies.

repo: TheAiSingularity/graphrag-local-ollama


text:
Nei subsets visual glitch

The subsets is not rendering on top of the player armour slot background and items.

I'm unable to reproduce this in dev.

repo: TheCBProject/NotEnoughItems


text:
Feature Request:  Sort option, by Inventory Tweaks

When writing a large inventory tweaks tree, it would be nice if I could do it against all of the items, such as NEI's screen.  Could you add a sort option to use Inventory Tweaks's sort?
In 1.7, I could fake it with an ME system, but Refined Storage lacks this sort option.
Bonus points if there can be a visible divider between the last item in the tree and the unsorted/undefined items.
(Cross posted as an InvTweaks request too to use the NEI API:  https://github.com/Inventory-Tweaks/inventory-tweaks/issues/404 )
Thanks,
IMarv

It's possible, at the moment I'm looking at More jei integration before I add new features, but I certainly like the idea. Meantioning @mezz because he may be interested.

I'm trying to figure out how to get JEI, NEI, and Inventory Tweaks to all run in an Eclipse workspace to make the stupid small mod that would do this...  My understanding of how gradle and how to get these things working is just not there.  The best example I can find on how is in JEI's setup thing, and it isn't complete enough for me to successfully get just it running.  (The videos it links do not use eclipse.)
IMarv

You don't need NEI in your dev environment to do this. Also, setting up the NEI project is pretty tough.
For your mod, get all the items from JEI and put them into a container where you can sort them.
You can get all the known items by using JEI's API:
IIngredientRegistry.getIngredients(ItemStack.class);

I figured out how to get JEI to work and updated the instructions on its setup page.  Mostly it involved re-executing the gradlew commands after adding the project as a dependency.
I figured out how to get NEI added by following the instructions at http://bedrockminer.jimdo.com/modding-tutorials/advanced-modding/miner-s-basic/ for all three of the chicken modd, CCL, CCC, and NEI.
I'm still having troubles getting Inventory tweaks to run though.  I think he has something that modifies access to the keybinding and the development environment isn't doing that causing the error I am seeing.
I'm trying to make a mod that connects the NEI sort options and Inventory Tweaks's item comparison functions.
(Partly just to get reacquainted with modding Minecraft and getting mods into the development environment.)
Thanks,
IMarv

Sorry for the double post:
@mezz
I think you confused the base request.  I want NEI to have a sort option that sorts the inventory panel using the sort order that Inventory Tweaks creates based off of the item tree file.  Basically, if you have 1 of every item in an infinitely big chest and clicked the Inventory Tweaks sort button, that order.
In my impatience, I'm trying to make a really short mod that converts the API from inventory tweaks into a comparitor and stuff it into the API for NEI as a new sort option.  It has taken me 3 hours to get JEI, CCL, CCC, and NEI running in Eclipse.  Inventory Tweaks eludes me though.
IMarv

Can you define some things so I understand? "inventory panel" and "item tree file"

Inv tweaks allows you to define a custom sorting for your inventory, he wants Nei/jei to have the ability to do the same, order the item panel based off those sorting rules for easier testing.

Ok thanks, I think I understood correctly then.
NEI does not provide the item panel any more, that is from JEI, so I don't think you need NEI.
JEI's item panel is not currently sortable, so I recommend creating your own scrolling inventory with those items so that you can test sorting there (something like the creative item list).

@covers1624 Thank you for interpreting my 2:30 am sleepy brain.  I meant to say item panel.
@mezz The sorting configuration screens are in NEI, but I just tried them out and they appear to do nothing to the actual sort...  I guess both NEI and JEI need some work to get sorting re-implemented at all.  I did not realize that last night.
Thanks,
IMarv

Yes, I recommend creating a fake scrollable GUI that is populated from the INV tweaks filtering. You can easily render a different colour overlay on unsorted items.

authors: IMarvinTPA covers1624 mezz


text:
Unified logging macro between client and engine

Proposed Change:
HZ_LOG_* (Trace, Info, etc) is used, and the use case will determine if it is Core or App.
Changes Made:
All HZ_CORE_* (Trace, Info, etc) and HZ_* (Trace, Info, etc) calls have been replaced with HZ_LOG_* (Trace, Info, etc).
This change also makes HZ_CORE_ASSERT unnecessary, so HZ_CORE_ASSERT has been removed. All HZ_CORE_ASSERT calls have been replaced by HZ_ASSERT calls.

I have changed HZ_BUILD_DLL to HZ_BUILD_ENGINE and added it to the premake. Now the define is checking to see if it is the Engine, and no longer using the DLL tag.

You should remove HZ_BUILD_DLL from the defines on premake, DLL support is fully deprecated on Hazel and a DLL won't even build currently. To be honest, it wouldn't hurt to fully remove anything DLL related including HAZEL_API

I agree that the remaining HZ_BUILD_DLL should be removed and removed from premake. Not 100% sure about HAZEL_API though.

I agree that the remaining HZ_BUILD_DLL should be removed and removed from premake. Not 100% sure about HAZEL_API though.

HZ_BUILD_DLL should be removed since we don't build dynamicaly anymore
HAZEL_API isn't added in the new classes, so this isn't supported anyway, so this should be removed as well
Removing dll support code from hazel should be a seperate PR.

I agree that the remaining HZ_BUILD_DLL should be removed and removed from premake. Not 100% sure about HAZEL_API though.

HZ_BUILD_DLL should be removed since we don't build dynamicaly anymore
HAZEL_API isn't added in the new classes, so this isn't supported anyway, so this should be removed as well
Removing dll support code from hazel should be a seperate PR.

That’s what I was thinking as well. I feel like for the scope of my PR, it is complete.

Sometimes with debug levels you want to be able to remove them at compile time as they can make reverse engineering easier, and make it easier to create cheats. While at the same time you also want the ability to have logs which will help inform you when a user has issues, so sometimes it can be useful to have a heavier debug level for development and testing purpose, then a lower debug level which is released to players.

As the review https://github.com/TheCherno/Hazel/pull/116#discussion_r331773083 said, this won't realy work as it is... Also this would limit us between client and core what and what not to log when we enable/disable logging levels.
I'll close this for now, maybe in the future we might come up with a beter solution. Good first issue tho @bagelbite!

authors: CleverSource LovelySanta ReDucTor bagelbite

repo: TheCherno/Hazel


text:
Transforms don't work

Would expect referenceArticles to be string[].

I think the problem comes from using z.input both for client input and parsed input in the server action code function. Instead, z.input should be used just for client input, while server parsed input should use z.infer. Should be a pretty easy fix, thank you for opening this issue!

authors: TheEdoRan lucgagan

repo: TheEdoRan/next-safe-action


text:
Alert when starting training

This alert:
Training the text encoder...
'########:'########:::::'###::::'####:'##::: ##:'####:'##::: ##::'######:::
... ##..:: ##.... ##:::'## ##:::. ##:: ###:: ##:. ##:: ###:: ##:'##... ##::
::: ##:::: ##:::: ##::'##:. ##::: ##:: ####: ##:: ##:: ####: ##: ##:::..:::
::: ##:::: ########::'##:::. ##:: ##:: ## ## ##:: ##:: ## ## ##: ##::'####:
::: ##:::: ##.. ##::: #########:: ##:: ##. ####:: ##:: ##. ####: ##::: ##::
::: ##:::: ##::. ##:: ##.... ##:: ##:: ##:. ###:: ##:: ##:. ###: ##::: ##::
::: ##:::: ##:::. ##: ##:::: ##:'####: ##::. ##:'####: ##::. ##:. ######:::
:::..:::::..:::::..::..:::::..::....::..::::..::....::..::::..:::......::::
2023-02-14 11:31:56.155361: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 AVX512F FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-02-14 11:32:00.672806: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer.so.7'; dlerror: libnvinfer.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/lib/python3.8/dist-packages/cv2/../../lib64:/usr/lib64-nvidia
2023-02-14 11:32:00.673060: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer_plugin.so.7'; dlerror: libnvinfer_plugin.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/lib/python3.8/dist-packages/cv2/../../lib64:/usr/lib64-nvidia
2023-02-14 11:32:00.673089: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
Progress:|███████                  | 29% 132/450 [02:04<04:35,  1.16it/s, loss=0.0901, lr=7.07e-7]

it's just an info message, nothing wrong with the training

authors: TheLastBen femmailfem

repo: TheLastBen/fast-stable-diffusion


text:
🛑 Navidrome is down

In 27fe695, Navidrome (https://navidrome.sny.sh) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Navidrome is back up in eb85547 after 31 minutes.

repo: TheLastZombie/upptime


text:
Inheriting usertypes don't inherit children properties and functions

I'm not sure if this is supposed to be standard behavior, but all in my attempts to define a usertype that inherits from another usertype (or multiple) I have been unable to access properties and/or functions defined for the children usertypes when handling the parent one.
See the following example:
class A
{
    int a = 1;
    int GetA() { return a; }
}

class B
{
    int b = 2;
    int GetB() { return b; }
}

state.new_usertype<A>("A",
    "a", sol::property(&A:GetA)
);

state.new_usertype<B>("B",
    sol::base_classes, sol::bases<A>(),
    "b", sol::property(&A:GetB)
);

In lua land, having an object of type B, one would expect to be able to access all inherited properties, ie:
local obj = (... instance of B usertype ...)
do_something_with(obj.a)

However, this seems to result in the following exception:
sol: attempt to index (get) nil value "a" on userdata (bad (misspelled?) key name or does not exist)
Same applies to functions and readonly properties.

Yeah, this is what #157 is all about.

Ah, sorry. Didn't notice it was the same issue.

authors: OrfeasZ ThePhD


text:
[Question] Get node references/usages

Hi, I'm working on this feature https://github.com/ThePrimeagen/refactoring.nvim/issues/366, and I'm trying to get all the references of a function:
package main

import "fmt"

func extracted() {
	fmt.Errorf("test")
}

func simple_function() {
      ->extracted()      // here is the cusor
	fmt.Println("test2")
	fmt.Println("test3")
	fmt.Println("test4")
	fmt.Println("test5")
}

I'm running a very simple test to get all the references of extracted() in order to replace all the occurrences with fmt.Errorf("test")
    local node_at_point = ts.get_node_at_cursor()
    local definition, scope = ts_locals.find_definition(node_at_point, bufnr)

    -- This references table is completely empty
    local references =
        ts.find_references(definition, scope, bufnr, definition)

    -- This works nicely, but deletes the call_expression not the function_declaration
    table.insert(
        text_edits,
        lsp_utils.delete_text(Region:from_node(node_at_point, bufnr))
    )

I also used ts_locals.find_usages(node_at_point, scope, bufnr) to get all the "usages" but the function declaration is not retrieved, so I'm not able to get the right node and abstract the node_text from it.
Note:
This is the actual code I have:
local function inline_func_setup(refactor, bufnr)
    local node_at_point = ts.get_node_at_cursor()
    print("INLINE_FUNC_DEBUG node_at_point")
    print(dumpcode(node_at_point))
    print(dumpcode(node_at_point:parent()))
    print("")

    local definition, scope = ts_locals.find_definition(node_at_point, bufnr)
    print("INLINE_FUNC_DEBUG definition")
    print(dumpcode(definition))
    print(dumpcode(definition:parent()))
    print("")

    local references = ts.find_references(definition, scope, bufnr, definition)
    print("INLINE_FUNC_DEBUG references")
    print(dumpcode(references))
    print("")

    local text_edits = {}

    -- TODO: find and delete the function declaration
    -- table.insert(
    --     text_edits,
    --     lsp_utils.delete_text(Region:from_node(node_at_point, bufnr))
    -- )

    print("INLINE_FUNC_DEBUG running refactoring")
    local lsp_range = ts_utils2.node_to_lsp_range(node_at_point:parent())
    local text_edit = { range = lsp_range, newText = 'fmt.Errorf("test")' }
    table.insert(text_edits, text_edit)

    refactor.text_edits = text_edits
end

And this is the test output:
from inline_func
INLINE_FUNC_DEBUG node_at_point
{ [1] = extracted,}
{ [1] = extracted(),}

INLINE_FUNC_DEBUG definition
{ [1] = extracted,}
{ [1] = extracted(),}

INLINE_FUNC_DEBUG references
{ }

INLINE_FUNC_DEBUG running refactoring
Fail	||	Refactoring Refactoring: refactor/115/go/simple-function/inline_func.start.go
            ../plenary.nvim/lua/plenary/async/util.lua:37: Blocking on future timed out or was interrupted.
            ...refactoring.nvim/lua/refactoring/tests/refactor_spec.lua:226: Expected objects to be the same.
            Passed in:
            (table: 0x41229468) {
              [1] = 'package main'
              [2] = ''
              [3] = 'import "fmt"'
              [4] = ''
             *[5] = 'func extracted() {'
              [6] = '	fmt.Errorf("test")'
              [7] = '}'
              [8] = ''
              [9] = 'func simple_function() {'
              [10] = '	fmt.Errorf("test")'
              [11] = '	fmt.Println("test2")'
              [12] = '	fmt.Println("test3")'
              [13] = '	fmt.Println("test4")'
              [14] = '	fmt.Println("test5")'
              [15] = '}' }
            Expected:
            (table: 0x40458300) {
              [1] = 'package main'
              [2] = ''
              [3] = 'import "fmt"'
              [4] = ''
             *[5] = ''
              [6] = ''
              [7] = 'func simple_function() {'
              [8] = '	fmt.Errorf("test")'
              [9] = '	fmt.Println("test2")'
              [10] = '	fmt.Println("test3")'
              [11] = '	fmt.Println("test4")'
              [12] = '	fmt.Println("test5")'
              [13] = '}' }

Note: ChatGPT is not well trained with nvim-treesitter hehehe

@TheLeoP any idea on your side?

this is the PR I'm working in: https://github.com/ThePrimeagen/refactoring.nvim/pull/379

@wuilliam321 the reason why find_definition doesn't work as you expect is because you aren't using it as nvim-treesitter intended. nvim-treesitter has a reference to all the definitions on a buffer on a table which keys are both the text and the range of the node. So, if you pass it a nodes, it will check if it's on that table (remember, same range and same text) and, if yes, return it; if no, they will return the same node. (If you were to use find_definition with your cursor over the function definition, it will work as you expected, but since you are using a node with the same text and a different range, it does not work).
The reason why find_usages isn't working as you expected is because it uses find_definition under the hood.
I don't think it's necesary to add the function find_declaration if we treat this refactor in the same way as 123 (the cursor has to be on top of the definition of the function/variable to work).
Besides that, your PR seems to be working for your test case. I would sugget replacing the calls to ts_utils.get_node_text(value, bufnr)[1] with vim.treesitter.get_node_text(value, bufnr) since the first one is deprecated (you should note that the first one returns a table and the second one doesn't, so there is no need to select the first value of it with [1] after doing this change).
Finally, on line 89 of 115.lua you are only saving the last line of the function body, you should concatenate all lines using newlines to separate them.

I left the find_declaration for now, because it is working. I'm gonna open another ticket, I need to get the argument_list of a call_expression


text:
Add tls certificate to base image

Add root ca certificate to the base image in order to enable tls to erst services
It should only be something like:

Copy the root ca certifcate to /usr/local/share/ca-certificates
run update-ca-certificates

Message me (andkil) and I'll send the root ca certifcate to you

Alright, looking forward to updates.
I'm a bit reluctant to bake Erst specifics into the core image, but I believe it can be done just as well by mounting a file into a container.

closing and solving somewhere else

authors: gaprop iszulcdeepsense

repo: TheRacetrack/racetrack


text:
Update broken it

After installing the update the script dosent work at all youtube just comes up with the "adblock is not allowed prompt" as if there was no scrip there whatsoever.
Before the update it was absolutely fine for me
Im on:
(Windows 10 X64, Chrome Version 120.0.6099.217)
EDIT:
After clicking purge all caches on UBlock origin it seems to work again

Downgrade to 2.9. version (Should Work!) To Do so (For Google Chrome):

Uninstall tampermonkey extension.
Close web browser and re-open.
Install tampermonkey extension - https://chromewebstore.google.com/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=lv&utm_source=ext_sidebar
Install script - https://github.com/TheRealJoelmatic/RemoveAdblockThing/releases
Do Not! I repeat! Do Not! UPDATE! If it asks for update just cancel it!

WOXYLV

Downgrade to 2.9. version (Should Work!) To Do so (For Google Chrome):

Uninstall tampermonkey extension.
Close web browser and re-open.
Install tampermonkey extension - https://chromewebstore.google.com/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=lv&utm_source=ext_sidebar
Install script - https://github.com/TheRealJoelmatic/RemoveAdblockThing/releases
Do Not! I repeat! Do Not! UPDATE! If it asks for update just cancel it!

WOXYLV

Is there a way to disable the update prompt? It's keeps popping up every time I move to another page or video on youtube

Is there a way to disable the update prompt? It's keeps popping up every time I move to another page or video on youtube

change script with this
const updateCheck = false;

Many thanks, that's saved my sanity

Fixed in 3.2

authors: GrimnirTheGrey MuhammetCanLikya Numaticjoe TheRealJoelmatic woxylv

repo: TheRealJoelmatic/RemoveAdblockThing


text:
[Snyk] Security upgrade alpine from latest to 3.18.3

This PR was automatically created by Snyk using the credentials of a real user.Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Changes included in this PR

vendor/github.com/projectdiscovery/mapcidr/Dockerfile

We recommend upgrading to alpine:3.18.3, as this image has only 0 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Some of the most important vulnerabilities in your base image include:

Severity
Issue
Exploit Maturity

Improper Authentication SNYK-ALPINE318-OPENSSL-5776808
No Known Exploit

Improper Authentication SNYK-ALPINE318-OPENSSL-5776808
No Known Exploit

Inefficient Regular Expression Complexity SNYK-ALPINE318-OPENSSL-5788370
No Known Exploit

Inefficient Regular Expression Complexity SNYK-ALPINE318-OPENSSL-5788370
No Known Exploit

CVE-2023-3817 SNYK-ALPINE318-OPENSSL-5821142
No Known Exploit

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Inefficient Regular Expression Complexity

Checkmarx One – Scan Summary & Details – 9da60500-34ff-49a7-a9f3-36db1cf26381
New Issues

Severity
Issue
Source File / Package
Checkmarx Insight

Buffer_Improper_Index_Access
/vendor/github.com/DataDog/zstd/zstd_lazy.c: 937
Attack Vector

Buffer_Improper_Index_Access
/vendor/github.com/DataDog/zstd/zstd_compress_literals.c: 152
Attack Vector

CVE-2023-37896
Go-github.com/projectdiscovery/nuclei/v2-v2.7.7
Vulnerable Package

Missing User Instruction
/Dockerfile: 4
A user should be specified in the dockerfile, otherwise the image will run as root

Off_by_One_Error
/vendor/github.com/DataDog/zstd/zstd_lazy.c: 937
Attack Vector

Off_by_One_Error
/vendor/github.com/DataDog/zstd/zstd_compress_literals.c: 152
Attack Vector

Healthcheck Instruction Missing
/Dockerfile: 4
Ensure that HEALTHCHECK is being used. The HEALTHCHECK instruction tells Docker how to test a container to check that it is still working

Fixed Issues

Severity
Issue
Source File / Package
Checkmarx Insight

Missing User Instruction
/Dockerfile: 4
A user should be specified in the dockerfile, otherwise the image will run as root

Denial_Of_Service_Resource_Exhaustion
/vendor/google.golang.org/appengine/internal/api.go: 431
Attack Vector

Denial_Of_Service_Resource_Exhaustion
/vendor/google.golang.org/appengine/internal/api.go: 423
Attack Vector

Denial_Of_Service_Resource_Exhaustion
/vendor/google.golang.org/appengine/internal/api.go: 423
Attack Vector

Denial_Of_Service_Resource_Exhaustion
/vendor/google.golang.org/appengine/internal/api.go: 423
Attack Vector

Denial_Of_Service_Resource_Exhaustion
/lib/util/util.go: 210
Attack Vector

Denial_Of_Service_Resource_Exhaustion
/vendor/github.com/shirou/gopsutil/v3/internal/common/common.go: 130
Attack Vector

Denial_Of_Service_Resource_Exhaustion
/vendor/github.com/shirou/gopsutil/v3/internal/common/common.go: 130
Attack Vector

Denial_Of_Service_Resource_Exhaustion
/vendor/github.com/shirou/gopsutil/v3/internal/common/common.go: 130
Attack Vector

Denial_Of_Service_Resource_Exhaustion
/vendor/github.com/shirou/gopsutil/v3/internal/common/common.go: 325
Attack Vector

Denial_Of_Service_Resource_Exhaustion
/vendor/github.com/shirou/gopsutil/v3/internal/common/common.go: 325
Attack Vector

Denial_Of_Service_Resource_Exhaustion
/vendor/github.com/rivo/uniseg/gen_properties.go: 63
Attack Vector

Denial_Of_Service_Resource_Exhaustion
/vendor/github.com/rivo/uniseg/gen_properties.go: 63
Attack Vector

Image Version Using 'latest'
/Dockerfile: 4
When building images, always tag them with useful tags which codify version information, intended destination (prod or test, for instance), stabili...

Healthcheck Instruction Missing
/Dockerfile: 4
Ensure that HEALTHCHECK is being used. The HEALTHCHECK instruction tells Docker how to test a container to check that it is still working


text:
Update grammar to LL(1)

Bug Report
Summary
Update grammar to LL(1)
Environment
OS: Ubuntu (LTS) 20.04 or macOS 10.14+.
Compiler: GCC 7.0+ or Clang 8.0+.
CMake Profile: all.
Steps to Reproduce
Known issue: with <assignment_expression> productions.
in.cc:
int main() {      if (a == 5) { ; }  }
grammar.g: default
Cause
grammar is not ll(1).  Firsts set for  <assignment_expression> productions intersect. There may be
more such issues.
Depends on #26.
Expected Behavior
Parser should successfully complete execution.
Actual Behavior
Segmentation fault for now.

LL(1) not possible
## This is the grammar file for JuCC
## Edit this file to make changes to the parsing grammar
## Epsilon is represented by special string EPSILON

## Terminals
%terminals
else float if int void
( ) { } * + - / % ,
<< >> < > <= >= = == != ;
identifier integer_constant float_constant
main cin cout
%

## Non Terminals
%non_terminals
<primary_expression> <constant> <unary_operator> <unary_expression>
<type_specifier> <multiplicative_expression> <additive_expression>
<shift_expression> <relational_expression> <equality_expression>
<assignment_expression> <expression>
<declaration> <init_declarator_list> <init_declarator>
<initializer> <declarator> <direct_declarator>
<statement> <compound_statement> <block_item_list> <block_item>
<expression_statement> <selection_statement> <program>
%

## Start Symbol
%start
<program>
%

## Grammar for the language
%rules
## Expressions
<primary_expression> : identifier
<primary_expression> : <constant>
<primary_expression> : ( <expression> )
<constant> : integer_constant
<constant> : float_constant
<unary_operator> : +
<unary_operator> : -
<unary_expression> : <primary_expression>
<unary_expression> : <unary_operator> <primary_expression>
<multiplicative_expression> : <unary_expression>
<multiplicative_expression> : <multiplicative_expression> * <unary_expression>
<multiplicative_expression> : <multiplicative_expression> / <unary_expression>
<multiplicative_expression> : <multiplicative_expression> % <unary_expression>
<additive_expression> : <multiplicative_expression>
<additive_expression> : <additive_expression> + <multiplicative_expression>
<additive_expression> : <additive_expression> - <multiplicative_expression>
<shift_expression> : <additive_expression>
<shift_expression> : cin >> <additive_expression>
<shift_expression> : cout << <additive_expression>
<shift_expression> : <shift_expression> << <additive_expression>
<shift_expression> : <shift_expression> >> <additive_expression>
<relational_expression> : <shift_expression>
<relational_expression> : <relational_expression> < <shift_expression>
<relational_expression> : <relational_expression> > <shift_expression>
<relational_expression> : <relational_expression> <= <shift_expression>
<relational_expression> : <relational_expression> >= <shift_expression>
<equality_expression> : <relational_expression>
<equality_expression> : <equality_expression> == <relational_expression>
<equality_expression> : <equality_expression> != <relational_expression>
<assignment_expression> : <equality_expression>
<assignment_expression> : identifier = <assignment_expression>
<expression> : <assignment_expression>

## Declarations
<declaration> : <type_specifier> <init_declarator_list> ;
<init_declarator_list> : <init_declarator>
<init_declarator_list> : <init_declarator_list> , <init_declarator>
<init_declarator_list> : EPSILON
<init_declarator> : <declarator>
<init_declarator> : <declarator> = <initializer>
<type_specifier> : void
<type_specifier> : int
<type_specifier> : float
<declarator> : <direct_declarator>
<direct_declarator> : identifier
<direct_declarator> : ( <declarator> )
<initializer> : <assignment_expression>

## Statements
<statement> : <compound_statement>
<statement> : <expression_statement>
<statement> : <selection_statement>
<compound_statement> : { <block_item_list> }
<block_item_list> : <block_item>
<block_item_list> : <block_item> <block_item_list>
<block_item_list> : EPSILON
<block_item> : <declaration>
<block_item> : <statement>
<expression_statement> : <expression> ;
<expression_statement> : ;
<selection_statement> : if ( <expression> ) <compound_statement>
<selection_statement> : if ( <expression> ) <compound_statement> else <compound_statement>

## Main
<program> : <type_specifier> main ( ) <compound_statement>
%

current issue:
jucc: parsing table error:
duplicate entry in parsing table, production: <assignment_expression> symbol: identifier

Due to production rules:
<assignment_expression> : <equality_expression>
<assignment_expression> : identifier = <assignment_expression>

First of equality expression contains identifier
Removing this is not possible cleanly: stackoverflow
Suggest alternatives:
@Aritra-Samanta @TheSYNcoder @bisakhmondal

repo: TheSYNcoder/JuCC


text:
fix: Discord CSP

Hello,
Since Discord updated their CSP (https://discord.com/channels/613425648685547541/697138785317814292/1263180507777339442) it's no longer possible to just host the files. Therefore I added the automatic addition of ".proxy" for fetch requests, since Godot's generated JS files use fetch under the hood to load files like the .wasm file. Since this is only needed in proxy mode, I also enabled that feature just for the proxy by checking for the hostname.
Hope that helps :)
Kind regards

Awesome, thanks for the PR. :)

repo: TheSleepyKoala/Svelcordot


text:
Update documentation for user variables

Summary

Update docs to conform to https://github.com/TheThingsIndustries/lorawan-stack-docs/pull/104/files
Why do we need this ?

Easier for users to follow instructions
Can you do this yourself and submit a Pull Request?

Yes

Replaced by https://github.com/TheThingsIndustries/lorawan-stack-docs/issues/200

Replaced by https://github.com/TheThingsIndustries/lorawan-stack-docs/issues/200

repo: TheThingsIndustries/lorawan-stack-docs


text:
🛑 Trident is down

In 618f981, Trident (https://thetrident.one) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Trident is back up in 18413ca after 16 minutes.

repo: TheTridentOne/upptime


text:
How use to creat example app in android studio

I am new developer Java app and i used chat gpt . And I need to use this library to create simple app in android studio like write question in edittext and by click button show me answer in textview I try used this library but always get error . Can send me example code or something like that's.  And thanks

@ahmedaa6122 did you find how to use this lib in Android studio. I'd like to have an example as well

repo: TheoKanning/openai-java


text:
🛑 Outlook is down

In 23b0fc4, Outlook (https://outlook.live.com) was down:

HTTP code: 417
Response time: 102 ms

Resolved: Outlook is back up in ef831df after 12 minutes.

repo: Thexyz/Email-Monitoring


text:
🛑 Linkedin is down

In 077c4bd, Linkedin (https://www.linkedin.com) was down:

HTTP code: 429
Response time: 47 ms

Resolved: Linkedin is back up in 3d746ce.

repo: Thexyz/downly


text:
Support non-Node.js runtimes in the API route

Fixes #431
Keystatic deployed on Cloudflare Pages:

Snapshot release for testing: @keystatic/core@0.0.0-test-20231009043222

Nice!

authors: JedWatson emmatown

repo: Thinkmill/keystatic


text:
deleting a note does not work

When I delete a note via right click and then Delete, the note is deleted without a warning (which is not good btw).
But the problem is that it re-appears after a while. This might be a problem with the Notes app though - I will have to investigate.

I hate those "do you really want to delete" popups...

True, I don't like them either, but in that case people have to know that there will be no warning.

I've opened a ticket at https://github.com/Fmstrat/ownnote/issues/264, but I believe this app is dead.
The developer hasn't been working on it for months and the list of bugs is getting longer and longer.

Seems to work for me under Windows. So far I didn't have the issue that deleted notes come back to life...

This is not a client issue, nor depended on the OS.
Maybe it has to do with the Redis Cache on the server (I have noticed there are several issues mentioning ownNote doesn't work properly with redis cache). I also saw tickets that describe issues with oc 8.2.1, which I use.

It could be that the fact that the note is still in the database of ownNote, so when you connect back to the application within ownCloud, it restores the deleted files.
You have exactly the same behavior if you delete a note file from the "Files" application instead of ownNote, the note is restored back.

And when moving a Note to another group, if you reconnect back to ownNote in ownCloud, you will at the end have 2 Notes, because the moved one is back (restored by ownNote).

I've opened a ticket at Fmstrat/ownnote#264, but nothing happened so far.

Again, I have never run into any problem like this. I have the Windows client for ownCloud running in the background and it immediately passes all my changes on to ownCloud...
I store my notes in "Database and Folder", I think thats the default?

If you make a refresh of the ownNote application in your browser, the moved or deleted notes reappear in the Note folder. I also have "Database and Folder" in the preferences. If you change the folder name, you will receive all your notes in the new folder, taken from the database.

I rarely ever use the ownNote in my browser - may too slow...

authors: ThomasDaheim aviret tessus

repo: ThomasDaheim/ownNoteEditor


text:
🛑 STRMRocks Plex is down

In 61fb69c, STRMRocks Plex ($STRM_PLEX) was down:

HTTP code: 0
Response time: 0 ms

Resolved: STRMRocks Plex is back up in 44dfda8 after 1 hour, 22 minutes.

repo: Thomvh/thvmh-uptime


text:
[HELP] M3U8 Provider and ffmpeg stream buffer.

My provider is m3u8 streams only so I'm required to use a stream buffer for my end client (Plex.) Right now I have to use ffmpeg to get the stream to work with plex but have constant issues.
I was able to use these arguments to give me the most reliable result:
-re -hide_banner -loglevel error -i [URL] -c:v copy -c:a copy -f mpegts pipe:1

I read Plex can struggle with some stream audios so I also tried:
-hide_banner -loglevel error -i [URL] -c:v copy -c:a -c:a libmp3lame -f mpegts pipe:1

But without -re it would crash on Plex after 2-3 minutes.
-re (Read input at native frame rate) seemed to be most helpful in making the stream reliable but it becomes extremely sluggish (upwards of 5 seconds to tune into a channel) and will buffer much more often than the upstream source. The sluggishness also happens with VLC so it's not a client issue. Without -re it's much faster and works great on VLC but the stream often crashes when using Plex.
I've been dealing with this for a while first with xTeve and has persisted over to Threadfin. Any ideas or suggestions?

Are you using Android? On my shield TV xteve, threadfin and telly are all unreliable. The streams always unexpectedly end with an error. Playback is perfectly fine on my Apple TV.

@Deihmos It happens on both the Shield TV and my Pixel 7 (android). Maybe it's an Android codec problem?

I have struggled with it for months and gave up. I guess it has something to do with the codecs.
Emby is another option that works perfectly fine on Android. Maybe one day Plex will support m3u.

@d3m1s33 the stream last a bit longer than the default options but still crashes after 5-10 minutes in Plex.
I noticed that in VLC there will be a momentary hick-up where it buffers around the same time Plex would crash. Seems VLC is a bit more resilient handling the issue.
If I add the -re flag to the args it works fine but causes the same issue of having to wait almost 10 seconds for the stream to start.

I tried VLC as the buffer but got the same results. I think the issue lies in Plex and not being able to handle the hiccup / stream buffer issue.
I also tried using these ffmpeg flags
-hls_time 5 -hls_list_size 0 -hls_segment_filename "segment_%03d.ts"
Which had similar results to -re but felt slower, I assume, from hls_time trying to buffer a 5second segment.
Is it possible the upstream source is doing something odd?

Wow!
So I localized the issue to specifically Android Plex client.
Unfortunately still runs into stream fail. I did more testing around Plex and Plex web works fine with default settings. The Nvidia shield (android tv) and my Android Pixel 7 both get stream crashes after 3-5minutes.
Guessing Android are using some old codecs(?) on the client.
Error logs from Plex when the android client crashes:

[Req#55ca4/Transcode] Streaming Resource: Cannot make a decision because either the file is unplayable or the client provided bad data

The extra fanciness stream is SUPER fast @d3m1s33! If I can ever figure out the Android Plex client issue ill def switch over to those args. When I use it with Plex web it's perfect.

It is Apollo yeah.
-re solves all the issues I have on Android clients. I can watch a live stream on the shield for 4+ hours with no issues. The side effect from that flag is it creates about a 3 to 5 second delay to tune to the channel which is a bad experience.

Sounds good, thank you for the help isolating the issue.

Consider using tvheadend as the buffer instead. That's what I do with a spawn profile and it works perfectly. This is the command I use on tvheadend. You will then disable the buffer on threadfin. Like I said, I can use the threadfin buffer fine with Apple TV so I think this is an issue with Plex for Android and not the provider.
/usr/bin/ffmpeg -hide_banner -loglevel error -fflags +discardcorrupt -i pipe:0 -c:a libmp3lame -vcodec copy -c:s copy -f mpegts -tune zerolatency pipe:1

Consider using tvheadend as the buffer instead. That's what I do with a spawn profile and it works perfectly. This is the command I use on tvheadend. You will then disable the buffer on threadfin. Like I said, I can use the threadfin buffer fine with Apple TV so I think this is an issue with Plex for Android and not the provider.
https://forums.plex.tv/t/live-tv-iptv-support/780320/47
/usr/bin/ffmpeg -hide_banner -loglevel error -fflags +discardcorrupt -i pipe:0 -c:a libmp3lame -vcodec copy -f mpegts -tune zerolatency pipe:1

does using tvheadend with a threadfin disabled buffer limit you to only one stream at a time?

authors: Deihmos gbenjamin24 konecnyna

repo: Threadfin/Threadfin


text:
[Feature] Addition of a configurable user property to the socket object

Description
Write now, the socket object has the encoded and decoded tokens as custom properties. One QoL improvement would be to have the user object too, much like how passport injects req.user

Describe the solution you'd like
The solution would be similar to passport wherein a new option can be added which takes in a function which is executed after the token is decoded and validated. The result of this function can then be added to the user property of the socket object.

Describe alternatives you've considered
The alternative would be to use the decodedToken to fetch the user object which is fine in itself but I think this feature would go a long way in making life easy.

I already have a PoC available and if you agree with this feature, I will raise a PR.

Hey @SayakMukhopadhyay 👋,
Thanks for your feature request, I'm not against, this feature, but I will not actually use it so I would appreciate if you could open a PR to implement it. :smile:
Here are some insights of what we could do :
Maybe we could add the property user to the socket object, and we could add a new option in the authorize function, that take a callback or async callback with the decodedToken paramater,, that should returns the user object, so it could be of type any, we could call this option getUser or something like that.

Yeah, that is exactly what I had in mind. I will make it an optional parameter so that there is no breaking change.

authors: Divlo SayakMukhopadhyay

repo: Thream/socketio-jwt


text:
[New feature] Support claims to path transformation

Add the option to transform a claim to the downstream path. Similar to the ClaimsToQueryString forwarding. We are starting to use Ocelot in our backend and we need this feature, to transform the user id from the claims to the downstream backend. This way we can do things like this:
Get /api/users/me (defined only in the api gateway)
Get /api/users/{userId} (defined in the users microservice backend)
the request contains the user_id in the claims, so it can then change the downstream path with the user_id to the users microservice backend /api/users/{userId}
Proposed Changes

Add a new middleware (ClaimsToDownstreamPathMiddleware), that using the new ChangeDownstreamPathTemplate substitutes the placeholder that matches the ClaimToThings existing key.
Add unit tests and acceptance tests

An example usage (ocelot.json):
{       "UpstreamPathTemplate": "/api/users/me",       "DownstreamHostAndPorts": [         {           "Host": "localhost",           "Port": 63048         }       ],       "DownstreamPathTemplate": "/api/users/{userId}",       "DownstreamScheme": "http",       "AuthenticationOptions": {         "AuthenticationProviderKey": "AuthJWTKey",         "AllowedScopes": []       },       "ChangeDownstreamPathTemplate": {         "userId": "Claims[user_id] > value"       }     }
if the DownstreamPathTemplate contains a placeholder that matches ChangeDownstreamPathTemplate existing key (in the example userId) it substitutes the value so will end up calling the downstream host with /api/users/123.
if ChangeDownstreamPathTemplate  contains a claim to things, but there is no match in the DownstreamPathTemplate it will respond with an error.
The middleware basically adds or changes a PlaceholderNameAndValue from the DownstreamContext.TemplatePlaceholderNameAndValues, so when the DownstreamUrlCreatorMiddleware executes it will replace the placeholder with the values from the claims.

any update on this? it has sense to merge or do you thing it is useful?

Hi, thanks for adding this functionality, we need exactly this in our project. Do you have any idea when this will be merged in and released?

@vmartos just merged, a new package will be generated as pre-release, @djrhodes  you can try from your project too using latest pre-release and then we will release the latest stable soon.

authors: djrhodes thiagoloureiro vmartos

repo: ThreeMammals/Ocelot


text:
CMock of the wrong file is generated.

I have a problem with our project.  We have in different include subdirectories, headers with the same name.
eg.
foo/common/vm.h
foo/arm/vm.h
foo/arm64/vm.h

In tests, we want to cmock foo/common/vm.h ; I have ordered the includes (:path :sources) so that the -I option generated when compiling are in the right order (cf. #777 too).  But unfortunately, ceedling chooses the wrong header for cmock generation  (eg. generating the cmock_vm.h from foo/arm/vm.h instead of from foo/common/vm.h).
I'm in the process of debugging and patching the file collection methods, and would welcome any advice.
Related to #777

Here is a minimal project demonstrating the problem. See the README.org in the archive.
ceedling-bug-order-header.tar.bz2.zip

The current release of Ceedling doesn't handle multiple files with the same names without you managing it directly (setting it up with multiple project files, etc). We're working on having this fixed for the next release.

authors: informatimago mvandervoord

repo: ThrowTheSwitch/Ceedling


text:
Empty Code coverage when mock is used

Hi,
I have 2 source (main and driver) that I am generating a coverage report using gcovr. Main doesn't use any mocks while driver use mock. I don't have any issue generating the coverage for main. However, driver has an empty coverage.
Please see attached for details.
My build log out.txt
project.yml.txt
My source files
driver.c.txt
driver.h.txt
My versions are:
Ceedling:: 0.31.1
Unity:: 2.5.4
CMock:: 2.5.4
CException:: 1.3.3
gcovr 4.1
I would appreciate if anyone can point me to what is wrong in my setup or code.
FYI: This is a duplicate of Link. Not sure which is the correct place for this since I am triggering gcovr via Ceedling. I will gladly remove one of them if inappropriate.
Thanks,
Carlo

There was no output for driver (driver.o). Probably the reason why gcov is saying no coverage. Wondering what is wrong with it?

Just in case there are more people interested in this issue. Since you did not paste the test_driver.c code, I am betting there you have #include "mock_driver.h". That means that real driver.c implementation is never called, because it calls mock. So my assumption is, that you never actually call driver.c functions, but just the mocks.
So replace mock_driver.h include with driver.h include in test_driver.c and you should get coverage - as well as you will be testing real implementation and not just mock sequence.


text:
Add options in menu to toggle locations on/off

With how big the schedule is (especially on mobile with empty columns), give users the ability to toggle different locations on/off.
Let's say someone doesn't care about the video rooms, they can toggle the video rooms off and their schedule would be more catered to them.
Just copied code existing for favorites and modified it a bit. Only tested on MacOS Chrome.

This looks great, thanks for the consistency!

repo: Thunder-Solutions/Thunder-Events


text:
🛑 tesetter is down

In 9d3e1b2, tesetter (https://teset-min.farhansamil.repl.co) was down:

HTTP code: 0
Response time: 0 ms

Resolved: tesetter is back up in 8808f1d.

repo: Thunderoar/upper


text:
Feat: load BoardReference subset in layout build first workfile

Brief description
Load BoardReference subset in layout build first workfile as background image for camera
Note
When loading casting if there are no camera, we need to create it for the BoardReference
Testing notes:
Build layout from episode 108 or 104

Sorry for getting you confused, but I haven't merged another branch to this one, it's done and up-to-date.
Also, this PR must be about loading the ConceptReference and not the BoardReference.

And thanks for the sound feature, that's nice! But it must go to the branch which introduces the load background feature, and I think it is your main branch


text:
ScratchHost account

how to verify a scratch host account

You get a verification email (at least that's how it's supposed to work). I'll forward this issue to the owner of Scratch Host

The verification also doesn't work for me

you went to panel.justabock.online instead of panel.justablock.online

also, if scratchhost doesnt work, there is panel.sillydev.co.uk

weird because that's where the EMAIL sends you!

I don't even get the email.

weird... did you use the right one?

Yeah. I did.

And no matter how hard I try, I cannot get it to "resend".

you MUST have used the wrong email!

I swear I didn't. I copied and pasted it. And triple checked.

sometimes copy and pasting creates blank characters try again.

I can assure you I typed it in correctly.

okay

btw what is the right way to do this:     comments = session.get_comments(user, limit=2)

dude

i need an answer SOON

@vgthecoder

i mean, this does not work at all!
import scratchattach as sa
from datetime import datetime

session = sa.login("sped_ai", "password")

project = session.connect_project("1090940082")

keyword = "/comment"

today = datetime.today().date()

def check_and_reply():
    comments = project.comments()

    today_comments = [
        comment for comment in comments
        if datetime.fromtimestamp(comment['timestamp']).date() == today
    ]

    for comment in today_comments:
        if keyword in comment["content"]:
            comment_id = comment["id"]
            content = comment["content"]

            modified_content = comment.replace(keyword, " ",)

            project.reply_comment(comment_id, modified_content)
            print("replied.")

check_and_reply()

btw what is the right way to do this:  comments = session.get_comments(user, limit=2)

the right way is
user = session.connect_user("username")
comments = user.comments(limit=2)

how is your code not working? do you get any errors?

Try resending the email now, I changed the mail settings
Tim @.***> schrieb am Mo., 4. Nov. 2024, 09:55:

btw what is the right way to do this: comments =
session.get_comments(user, limit=2)
the right way is
user = session.connect_user("username")comments = user.comments(limit=2)
how is your code not working? do you get any errors?
—
Reply to this email directly, view it on GitHub
https://github.com/TimMcCool/scratchattach/issues/256#issuecomment-2454132672,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATCKMZRSWSR4SBRTT3LIBXLZ64Y6ZAVCNFSM6AAAAABQTPSKZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJUGEZTENRXGI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

To get it to resend the email, I just change the email. Am I doing that right? Or is there a hidden button somewhere in the UI?

i mean, this does not work at all!

def check_and_reply():

    comments = project.comments()

btw, the comments returned by this are sa.Comment objects in v2.0 and not dictionaries. This means you gotta use comment.content, comment.timestamp etc. to access this info

Yes, just change the mail to the same thing i think
vgthecoder @.***> schrieb am Mo., 4. Nov. 2024, 15:25:

To get it to resend the email, I just change the email. Am I doing that
right? Or is there a hidden button somewhere in the UI?
—
Reply to this email directly, view it on GitHub
https://github.com/TimMcCool/scratchattach/issues/256#issuecomment-2454855047,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATCKMZWGFTVVM3RFSLIZFGDZ65YVJAVCNFSM6AAAAABQTPSKZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJUHA2TKMBUG4
.
You are receiving this because you commented.Message ID:
@.***>

Are you sure you used the correct mail address
vgthecoder @.***> schrieb am Mo., 4. Nov. 2024, 17:36:

Yeah. I still didn't receive an email.
—
Reply to this email directly, view it on GitHub
https://github.com/TimMcCool/scratchattach/issues/256#issuecomment-2455181169,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATCKMZQYIAJEJUN25GZNEGDZ66IAPAVCNFSM6AAAAABQTPSKZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJVGE4DCMJWHE
.
You are receiving this because you commented.Message ID:
@.***>

@TimMcCool im finding another way to do it using a listener.

def SearchForNewComments():
    @events.event #Called when the event listener is ready
    def on_ready():
       print("Event listener ready!")
    @events.event
    def on_message(message):
        print(message.actor_username, "performed action", self.type)
        comments.append(message.content)
    events.start()

idk if this is correct if you need the rest of the code i can give it to you

comments is a list         comments.append

source: https://github.com/webbrowser11/comment-bot/blob/main/bot.py

you didn't define events anythere
you need to add something like
events = session.connect_message_events()

to your code

Have you looked inside your spam folder?
vgthecoder @.***> schrieb am Mo., 4. Nov. 2024, 17:36:

Yeah. I still didn't receive an email.
—
Reply to this email directly, view it on GitHub
https://github.com/TimMcCool/scratchattach/issues/256#issuecomment-2455181169,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATCKMZQYIAJEJUN25GZNEGDZ66IAPAVCNFSM6AAAAABQTPSKZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJVGE4DCMJWHE
.
You are receiving this because you commented.Message ID:
@.***>

@TimMcCool should i connect it to a project?
events = session.connect_message_events()

@TheCommCraft I have.

Then maybe just create a new account. It's working for me and I don't know
what the problem could be
vgthecoder @.***> schrieb am Mi., 6. Nov. 2024, 18:09:

@TheCommCraft https://github.com/TheCommCraft I have.
—
Reply to this email directly, view it on GitHub
https://github.com/TimMcCool/scratchattach/issues/256#issuecomment-2460334194,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATCKMZX3KKK3XVURQBO7NYLZ7JEKZAVCNFSM6AAAAABQTPSKZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRQGMZTIMJZGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

@TheCommCraft I will loose my 2.5k of server hardware, but I'll try it.

I could give back to you, just give me your old and your new username
vgthecoder @.***> schrieb am Mi., 6. Nov. 2024, 18:57:

@TheCommCraft https://github.com/TheCommCraft I will loose my 2.5k of
server hardware, but I'll try it.
—
Reply to this email directly, view it on GitHub
https://github.com/TimMcCool/scratchattach/issues/256#issuecomment-2460431427,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATCKMZX2ZCEBGA47ZXX2EZDZ7JJ7VAVCNFSM6AAAAABQTPSKZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRQGQZTCNBSG4
.
You are receiving this because you were mentioned.Message ID:
@.***>

Okay. Still no email though.

username?
vgthecoder @.***> schrieb am Mi., 6. Nov. 2024, 19:05:

Okay. Still no email though.
—
Reply to this email directly, view it on GitHub
https://github.com/TimMcCool/scratchattach/issues/256#issuecomment-2460447151,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATCKMZV3N7JGSNUTDL2OWA3Z7JK7DAVCNFSM6AAAAABQTPSKZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRQGQ2DOMJVGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

also, could you send me a mail using the email adress to @.***?
That way I know the mail belongs to you and maybe i can manually activate
your account
Simon Gilde @.***> schrieb am Mi., 6. Nov. 2024, 19:28:

username?
vgthecoder @.***> schrieb am Mi., 6. Nov. 2024, 19:05:

Okay. Still no email though.
—
Reply to this email directly, view it on GitHub
https://github.com/TimMcCool/scratchattach/issues/256#issuecomment-2460447151,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATCKMZV3N7JGSNUTDL2OWA3Z7JK7DAVCNFSM6AAAAABQTPSKZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRQGQ2DOMJVGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

@TheCommCraft @.*** is not a valid email. Username is vg_coder.

the mail address is ```
tcc@thecommcraft.de

I need the old username and the new one

Well I can assure you my email works fine. I sent a message yesterday and can receive messages from other services.

Just send a mail so I can verify that the mail is yours
vgthecoder @.***> schrieb am Do., 7. Nov. 2024, 04:28:

Well I can assure you my email works fine. I sent a message yesterday and
can receive messages from other services.
—
Reply to this email directly, view it on GitHub
https://github.com/TimMcCool/scratchattach/issues/256#issuecomment-2461244860,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATCKMZTOSWXXJVVUID2T4ITZ7LM7PAVCNFSM6AAAAABQTPSKZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRRGI2DIOBWGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

repo: TimMcCool/scratchattach


text:
Support diff syntax highlighting in commit buffer

When I use -v switch in git, diff section have syntax highlighting, but in neogit it commented out.
Also can I change default switches? For example I'd like -v to be enabled by default.

When I use -v switch in git, diff section have syntax highlighting, but in neogit it commented out.

Basically you would like to have syntax highlighting for the diff output in the commit buffer?

Also can I change default switches? For example I'd like -v to be enabled by default.

https://github.com/TimUntersberger/neogit/issues/80

Basically you would like to have syntax highlighting for the diff output in the commit buffer?
Yes. Usually I'm using -v when commiting (or cvc in fugitive), and I'd like to verify that I commit exactly what I wanted. With syntax highlighting it's easier.

Did anything changed recently that would make highlighting in commit window working? I was just committing something and got surprised by highlights in there. @ten3roberts perhaps some of your recent work (thanks!)?

I guess.
The commit now uses git for calling neovim to edit the commit, rather than neogit calling git commit with the full commit message which was entered by the user.

In which case I think that issue can be closed.

authors: TimUntersberger gegoune stasjok ten3roberts

repo: TimUntersberger/neogit


text:
Remove asynchronous script call

Hello, in my project I have1 problem. When I loading form with
@(Html.Recaptcha<RecaptchaV3HiddenInput>(RecaptchaSettings.Value)
ReCaptcha token don't insert to  <input id="<#= Model.Id #>" name="g-recaptcha-response" type="hidden" value="" />
when "async defer" enabled.
I need a fix.
I solved that problem like this, please accept the changes.
RecaptchaV3HiddenInput.cs
 public class RecaptchaV3HiddenInput : RecaptchaVersion     {         public string Id { get; set; } = "g-recaptcha-response";         public string Action { get; set; } = "homepage";         public bool IsAsync { get; set; } = true;     }
"RecaptchaV3HiddenInput.tt"
<script <# if (!string.IsNullOrEmpty(Model.Settings.ContentSecurityPolicy)) {#>script-src="<#= Model.Settings.ContentSecurityPolicy #>"<#}#> <# if (!string.IsNullOrEmpty(Model.Settings.ContentSecurityPolicy)) {#>frame-src="<#= Model.Settings.ContentSecurityPolicy #>"<#}#> src="https://<#= Model.Settings.Site #>/recaptcha/api.js?render=<#= Model.Settings.SiteKey #>&hl=<#= Model.Language #>" <# if (Model.IsAsync) {#>async defer<#}#> ></script>
And then we can choose whether to load them asynchronously

Can you turn this into a pull request so i can accept your work? This is a nice fix i would have issue publishing it.

Yes, I created it. Thx!

Approved, and updated in 3.0.9.

authors: TimothyMeadows kingzfate


text:
Can it work for android?

Can it work for android?

I have never tested this on Android and don't own a working Android device at the moment, so I don't know. You're welcome to try it out and then provide some feedback.

authors: Tinytimrob tianqiujie


text:
Get 'SocialLoginSerializer' in app_settings.py if it's customized

I need to customizing 'SocialLoginSerializer', but i can't.
So I want to would be possible through add this feature what get custom 'SocialLoginSerializer' :>

Coverage increased (+0.004%) to 96.048% when pulling ebe8ef301643fc96df1628b23ec71322b8d8f90f on leensungzero:custom-registration-serializers into 624ad01afbc86fa15b4e652406f3bdcd01f36e00 on Tivix:master.

Hi,
as a user of rest-auth, thanks for the contribution!
This repo is not maintained anymore, so the development moved to dj-rest-auth. (reference: https://github.com/Tivix/django-rest-auth/issues/568)
It may be best, if you move this PR there. (and upgrade to using dj_rest_auth)
new repo link: https://github.com/jazzband/dj-rest-auth (I'm not the upkeeper of that repo, it just makes sense for me to help you merge your PR)
Many Thanks,
Barney

authors: BarnabasSzabolcs coveralls leensungzero

repo: Tivix/django-rest-auth


text:
wifi traffic

Dear Developer,
I downloaded oasdb_small to my computer and tried to run search locally, but noticed there is a heavy wifi traffic. Is it normal? the search is done in a remote server or in a local computer? Thanks!

Hello! The actual search is done locally against the used pre-processed dataset (in your case oasdb_small), however; to extract the metadata for the N sequences with highest identity, the default is to extract it from the online OAS version hosted by OPIG (in order to keep the pre-processed datasets small, they do not include metadata). If you are returning a lot of sequences (large "keep_best_n"), this step might cause some heavy wifi traffic.
We understand that you might want to perform this search fully locally, so you also have the option of downloading OAS (currently ~1.3T) and extracting metadata from this local version. This allows you to run kasearch offline and most likely also speed up the meta extraction part. To use a local OAS, you need to set the argument "local_oas_path='/path/to/local/oas/'" (please see example 4 in README).
I hope this answered your question! All the best,
Tobias

repo: TobiasHeOl/kasearch


text:
Intermittent / transient fiona.open errors using AWS S3 + lambda

Expected behavior and actual behavior.
I'm using fiona==1.8.6 on AWS lambda to open shapefiles on S3. I'm seeing occasional clusters of fiona.open errors and was wondering (1) whether anyone else has seen similar behavior, and (2) whether there is anything I can do to reduce the frequency of these errors.
The stack traces look like this:
my_shapefile = fiona.open(shapefile_uri)
File "/var/task/fiona/__init__.py", line 249, in open
enabled_drivers=enabled_drivers, **kwargs)
File "/var/task/fiona/collection.py", line 160, in __init__
self.session.start(self, **kwargs)
File "fiona/ogrext.pyx", line 468, in fiona.ogrext.Session.start
File "fiona/_shim.pyx", line 73, in fiona._shim.gdal_open_vector
fiona.errors.DriverError: '/vsis3/my_aws_bucket/my_reference_data/index.shp' not recognized as a supported file format.

In case it matters, index.shp in the stack trace above is a US national index shapefile pointing to state-specific child shapefiles.
The stack traces can also look like this:
my_shapefile = fiona.open(shapefile_uri)
File "/var/task/fiona/env.py", line 406, in wrapper
return f(*args, **kwargs)
File "/var/task/fiona/__init__.py", line 253, in open
layer=layer, enabled_drivers=enabled_drivers, **kwargs)
File "/var/task/fiona/collection.py", line 159, in __init__
self.session.start(self, **kwargs)
File "fiona/ogrext.pyx", line 484, in fiona.ogrext.Session.start
File "fiona/_shim.pyx", line 80, in fiona._shim.gdal_open_vector
fiona.errors.DriverError: Failed to read all values for 33144 records in .shx file: No such file or directory.

These errors occur infrequently but are clustered in time -- see below.
Steps to reproduce the problem.
I'm not able to reproduce the problem consistently.  My AWS lambda code opens the same S3 shapefile every time the lambda is invoked.  The fiona.open call succeeds most of the time (say, >95%), but I occasionally get the errors described above (and these errors tend to be clustered in time).
Operating system
AWS lambda with runtime = "python3.6" (see https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html).
Fiona and GDAL version and provenance
I've gotten this error with both fiona==1.8.6 and fiona==1.8a2.

@atorch this sounds similar to the problem reported in https://rasterio.groups.io/g/main/message/225. I think it's likely to involve GDAL and curl and that more clues will be found by running this program with CPL_CURL_VERBOSE=YES https://trac.osgeo.org/gdal/wiki/ConfigOptions#CPL_CURL_VERBOSE. This setting dumps will dump out all the HTTP request headers and status codes.

We've turned up curl verbosity (using os.environ["CPL_CURL_VERBOSE"] = "YES").
Here's an example from our lambda logs where we get connection information followed by a fiona error:
START RequestId: 3bfeed82-579a-5d6d-afc0-b80e247f7169 Version: $LATEST
START RequestId: 3bfeed82-579a-5d6d-afc0-b80e247f7169 Version: $LATEST
19:10:41
SSURGO handler is processing 58 feature(s)
19:10:42
* Couldn't find host s3.amazonaws.com in the .netrc file; using defaults
19:10:42
* Trying my.aws.ip.123...
19:10:42
* TCP_NODELAY set
19:11:12
* Connection timed out after 30102 milliseconds
19:11:12
* Closing connection 0
19:11:12
* Couldn't find host s3.amazonaws.com in the .netrc file; using defaults
19:11:12
* Hostname s3.amazonaws.com was found in DNS cache
19:11:12
* Trying my.aws.ip.123...
19:11:12
* TCP_NODELAY set
19:11:12
* Connected to s3.amazonaws.com (my.aws.ip.123) port 443 (#1)
19:11:12
* ALPN, offering http/1.1
19:11:12
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
19:11:12
* successfully set certificate verify locations:
19:11:12
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
19:11:12
CApath: none
19:11:12
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-SHA
19:11:12
* ALPN, server did not agree to a protocol
19:11:12
* Server certificate:
19:11:12
* subject: C=US; ST=Washington; L=Seattle; O=Amazon.com Inc.; CN=s3.amazonaws.com
19:11:12
* start date: Dec 3 00:00:00 2018 GMT
19:11:12
* expire date: Oct 25 12:00:00 2019 GMT
19:11:12
* subjectAltName: host "s3.amazonaws.com" matched cert's "s3.amazonaws.com"
19:11:12
* issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert Baltimore CA-2 G2
19:11:12
* SSL certificate verify ok.
19:11:12
> GET /av-data-pipeline.gad.acrevalue.com/?delimiter=%2F&max-keys=1&prefix=reference%2Fssurgo%2F2017%2Ffeatures%2Findex.shp%2F HTTP/1.1
19:11:12
Host: s3.amazonaws.com
19:11:12
Accept: */*
19:11:12
x-amz-date: 20190625T191112Z
19:11:12
x-amz-content-sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
19:11:12
X-Amz-Security-Token: my_security_token
19:11:12
Authorization: AWS4-HMAC-SHA256 Credential=ASIAXFTATJH76H5L7IXT/20190625/us-east-1/s3/aws4_request,SignedHeaders=host;x-amz-content-sha256;x-amz-date;x-amz-security-token,Signature=86b508dfd1f2a9c00d47ea858f54a1c37a39efdacfd2b5f4defa0c14b7bdef05
19:11:12
< HTTP/1.1 200 OK
19:11:12
< x-amz-id-2: 1/NrkirhvR20+UpRyyY6KGGnFSBrfJk3NpoNk74mq3lBOFZXt0+sbw+Ffksp58js/JKx1m+vMPY=
19:11:12
< x-amz-request-id: D14AFB42321EA5E7
19:11:12
< Date: Tue, 25 Jun 2019 19:11:13 GMT
19:11:12
< x-amz-bucket-region: us-east-1
19:11:12
< Content-Type: application/xml
19:11:12
< Transfer-Encoding: chunked
19:11:12
< Server: AmazonS3
19:11:12
<
19:11:12
* Connection #1 to host s3.amazonaws.com left intact
19:11:12
'/vsis3/av-data-pipeline.gad.acrevalue.com/reference/ssurgo/2017/features/index.shp' not recognized as a supported file format.: DriverError Traceback (most recent call last): File "/var/task/ssurgo_handler.py", line 17, in ssurgo_handler _handle_action(data=body["data"], aws_request_id=context.aws_request_id) File "/var/task/ssurgo_handler.py", line 25, in _handle_action get_ssurgo_fo
19:11:12
END RequestId: 3bfeed82-579a-5d6d-afc0-b80e247f7169
19:11:12
REPORT RequestId: 3bfeed82-579a-5d6d-afc0-b80e247f7169	Duration: 30322.28 ms	Billed Duration: 30400 ms Memory Size: 512 MB	Max Memory Used: 121 MB

The SSURGO handler is processing 58 feature(s) logging statement is printed by our lambda shortly before calling fiona.open. The only possible problem I see in the curl logs is * Connection timed out after 30102 milliseconds, after which it opens a new connection.
Interestingly, every lambda invocation in the logs following the one copied above looks like this:
START RequestId: fea10905-3f00-53c3-9cd6-5c894b09ac1d Version: $LATEST
19:11:18
SSURGO handler is processing 48 feature(s)
19:11:18
'/vsis3/av-data-pipeline.gad.acrevalue.com/reference/ssurgo/2017/features/index.shp' not recognized as a supported file format.: DriverError Traceback (most recent call last): File "/var/task/ssurgo_handler.py", line 17, in ssurgo_handler _handle_action(data=body["data"], aws_request_id=context.aws_request_id) File "/var/task/ssurgo_handler.py", line 25, in _handle_action get_ssurgo_fo
19:11:18
END RequestId: fea10905-3f00-53c3-9cd6-5c894b09ac1d``` I see the fiona.open error, but I no longer get any curl output.  It appears that the lambda has gotten into a bad state (and is no longer getting to the point of making `GET` requests as part of `fiona.open`), but I don't understand why.

Here is a screenshot from the AWS lambda console showing a transient spike in fiona.open errors:

How interesting. Have you tried (or can you try) catching that FionaDriverError and making a second attempt to open the dataset? It's fine to retry GET requests, the web is not entirely reliable and GET requests are idempotent for that reason.

Yes, the lambdas have built-in retries (currently 4 retries). Have a look at the rightmost part of the screenshot I posted earlier: the error rate is roughly 50% for a long period of time, which suggests some sort of bad state that persists across retries.

Does the occurrence of the '/vsis3/my_s3_bucket/reference/ssurgo/2017/features/index.shp' not recognized as a supported file format.: DriverError error without any logged HTTP requests (with CPL_CURL_VERBOSE turned on) point to a possible cause?  What else can we do to better understand what's happening?

I get a similar error (vsis3/... not recognized) consistently on a GPX file. It won't load from S3 but works fine locally. Should I open a new issue or tack it on here? I can probably put together a short script to reproduce it.

In our case, I suspect that AWS lambda container re-use (see https://aws.amazon.com/blogs/compute/container-reuse-in-lambda/) is causing the error to persist across time (until the lambda containers get cold and new ones are instantiated).

We are investigating whether caching causes the error to persist across warm AWS lambda containers, and whether https://trac.osgeo.org/gdal/wiki/ConfigOptions#CPL_VSIL_CURL_NON_CACHED fixes the problem (or, at least, prevents it from persisting across warm lambdas).

@atorch @ricecooker will you tell me where you are getting your fiona packages from? conda-forge? pypi? Are you using the binary wheels or are you building Fiona from source?

We are using pip to install Fiona.

Based on earlier comments, I suspected this error (and the way it was clustered in time) was due to caching incomplete or bad data after a failed GET request.  However, I still see the error after setting
os.environ["CPL_VSIL_CURL_NON_CACHED"] = /vsis3/my_bucket/my_s3_key.shp"
os.environ["CPL_VSIL_CURL_USE_CACHE"] = "FALSE"
os.environ["VSI_CACHE"] = "FALSE"

@atorch I think it was a good idea to look into VSI caching. This is one possible source of GDAL/OGR concerns that could leak through the "serverless" abstractions. Another is dataset connection sharing: GDAL/OGR maintains a set of connections that it will try to share, but these should never be shared among concurrent threads. It's possible that shared connections are part of the problem, but I'm not sure where to start looking into that. The other thing to check is whether this is a bug specific to the shapefile driver.

@sgillies I noticed

1.0.24 (2019-06-05)

By default GDAL reuses existing dataset connections when possible.
Multi-threaded programs must avoid this as must programs that re-open
datasets in a different context, such as the overview-seeking program shown
in issue #1504. The sharing keyword argument of rasterio.open() was supposed
to allow users to disable connection reuse on a case-by-case basis, but the
implementation was faulty and connection reuse persisted (#1701). This has
been fixed in PR #1704.

in https://github.com/mapbox/rasterio/blob/master/CHANGES.txt.  Could that be related to the issue I am seeing in fiona?

@atorch yes, it is possible. Here is the solution in Rasterio: https://github.com/mapbox/rasterio/blob/master/rasterio/_base.pyx#L187-L216. I'm not close to being able to make another Fiona release, but I could provide a patch, assuming you're able to compile Fiona from source.

@atorch I have a correction to what I wrote above. Fiona has never enabled dataset handle sharing and so shared handles aren't implicated.

@atorch I have a fun that this issue is related to the one reported at https://github.com/mapbox/rasterio/issues/1828 that is at least partially addressed by https://github.com/OSGeo/gdal/pull/2012. Rasterio 1.1.1 wheels on PyPI include that patch. I've set up the Fiona wheel builder to patch GDAL likewise, but don't have a plan to make new wheels for 1.8.11 yet.
Are you in position to patch your GDAL install and see if the problem is fixed?

Closing. The latest fiona wheels include the GDAL patch.

authors: atorch ricecooker sgillies

repo: Toblerity/Fiona


text:
Geometry equals, almost_equals, equals_exact ignore Z coordinate.

The equality functions appear to ignore Z coordinates when they do their calculations.
I couldn't find it documented anywhere that this was expected behavior, but maybe it is...
>>> Point(1,2,3).almost_equals(Point(1, 2.01, 3))
False
>>> Point(1,2,3).almost_equals(Point(1, 2, 223432343))
True

To clarify @war1025, this is an expected behaviour (inherited from GEOS). Most of the geoprocessing operations in GEOS are 2D, despite having support for 3D structures. It needs documenting.

It's documented at http://toblerity.org/shapely/manual.html#geometric-objects

A third z coordinate value may be used when constructing instances, but has no effect on geometric analysis. All operations are performed in the x-y plane.

I'll reiterate in a few places, base geometry docstring for one.

authors: sgillies snorfalorpagus war1025

repo: Toblerity/Shapely


text:
.each doesn't work properly

This use case doesn't work for me
$('.popup-trigger').each(function() {
    $(this).popup();
});

Sorry to hear that, but I can't really do much about this without more information.
If you can get an example on jsbin/codepen etc that doesn't work, I'll be happy to look into it.

authors: Toddish ygwain

repo: Toddish/Popup


text:
A way to download the world as an image!!!

Suggested by Mag!

Yay! I wonder if it would need to do some pixel-resizing for split-cells later... 🤔

Merged into #192

authors: Magnogen TodePond

repo: TodePond/CellPond


text:
Depending on ArrayInterfaceCore instead of ArrayInterface?

Could ChainedFixes depend on ArrayInterfaceCore instead of the full ArrayInterface? Would reduce load time significantly.

I think so. It's been a while since I gave this package some proper attention. Now that I know more about invalidations and specialization I should probably spend some dedicated time here, but I probably won't get to that until the weekend at the earliest. If you urgently need anything I'd be happy to review any PRs.

authors: Tokazama oschulz


text:
Update README.md

Description

Fixes # (issue)
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

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

[x] Test A
[x] Test B

Test Configuration:

Firmware version:
Hardware:

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

Description

Fixes # (issue)
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

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

[x] Test A
[x] Test B

Test Configuration:

Firmware version:
Hardware:

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

repo: TokensDL/payment-method-MasterCard


text:
new sample

@TokyoYoshida

repo: TokyoYoshida/ExampleOfiOSLiDAR


text:
Adding hiera-eyaml-kms plugin to readme file

Hi guys,
Adding a link to a plugin developed by me.
Allan.

Thanks @adenot for developing a KMS plugin - really nice idea.
Merging despite failing tests as this is only a documentation change.

authors: adenot sihil

repo: TomPoulton/hiera-eyaml


text:
CRUD on Client

Implementing missing CRUD operations on client for

User Store
Project Store
Work Store
Change Store

Working on Change store

authors: TomasJani mcaniga

repo: TomasJani/BridgeBuilder