text:
[1.18.1 Crash] Cannot launch on a server

java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'artis'!
        at Not Enough Crashes deobfuscated stack trace.(1.18.1+build.22) ~[?:?]
        at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.lambda$invoke0$0(EntrypointUtils.java:51) ~[fabric-loader-0.13.1.jar:?]
        at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33) ~[fabric-loader-0.13.1.jar:?]
        at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:49) ~[fabric-loader-0.13.1.jar:?]
        at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke(EntrypointUtils.java:35) ~[fabric-loader-0.13.1.jar:?]
        at net.fabricmc.loader.impl.game.minecraft.Hooks.startServer(Hooks.java:62) ~[fabric-loader-0.13.1.jar:?]
        at net.minecraft.server.Main.main(Main:106) [server-intermediary.jar:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
        at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:416) [fabric-loader-0.13.1.jar:?]
        at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:77) [fabric-loader-0.13.1.jar:?]
        at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) [fabric-loader-0.13.1.jar:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
        at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:66) [fabric-loader-0.13.1.jar:?]
Caused by: java.lang.NoClassDefFoundError: net/fabricmc/fabric/api/client/rendering/v1/ColorProviderRegistry
        at io.github.alloffabric.artis.ArtisResources.registerDataForTable(ArtisResources.java:59) ~[artis-recrafted-2.1.1+1.18.1.jar:?]
        at io.github.alloffabric.artis.Artis.registerTable(Artis.java:90) ~[artis-recrafted-2.1.1+1.18.1.jar:?]
        at io.github.alloffabric.artis.Artis.registerTable(Artis.java:67) ~[artis-recrafted-2.1.1+1.18.1.jar:?]
        at io.github.alloffabric.artis.ArtisData.loadEntries(ArtisData.java:74) ~[artis-recrafted-2.1.1+1.18.1.jar:?]
        at io.github.alloffabric.artis.ArtisData.loadConfig(ArtisData.java:45) ~[artis-recrafted-2.1.1+1.18.1.jar:?]
        at io.github.alloffabric.artis.Artis.onInitialize(Artis.java:99) ~[artis-recrafted-2.1.1+1.18.1.jar:?]
        at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:47) ~[fabric-loader-0.13.1.jar:?]
        ... 15 more
Caused by: java.lang.ClassNotFoundException: net.fabricmc.fabric.api.client.rendering.v1.ColorProviderRegistry
        at jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source) ~[?:?]
        at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source) ~[?:?]
        at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:?]
        at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:158) ~[fabric-loader-0.13.1.jar:?]
        at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:?]
        at io.github.alloffabric.artis.ArtisResources.registerDataForTable(ArtisResources.java:59) ~[artis-recrafted-2.1.1+1.18.1.jar:?]
        at io.github.alloffabric.artis.Artis.registerTable(Artis.java:90) ~[artis-recrafted-2.1.1+1.18.1.jar:?]
        at io.github.alloffabric.artis.Artis.registerTable(Artis.java:67) ~[artis-recrafted-2.1.1+1.18.1.jar:?]
        at io.github.alloffabric.artis.ArtisData.loadEntries(ArtisData.java:74) ~[artis-recrafted-2.1.1+1.18.1.jar:?]
        at io.github.alloffabric.artis.ArtisData.loadConfig(ArtisData.java:45) ~[artis-recrafted-2.1.1+1.18.1.jar:?]
        at io.github.alloffabric.artis.Artis.onInitialize(Artis.java:99) ~[artis-recrafted-2.1.1+1.18.1.jar:?]
        at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:47) ~[fabric-loader-0.13.1.jar:?]
        ... 15 more

Ty for reporting that. This will be an easy fix.
I will upload a fixed version later today.

authors: DaFuqs itsdinkd

repo: DaFuqs/Artis-Recrafted


text:
Feature Request - Random but prioritize newer photos

Other photo slideshow apps and devices (like Framee/Fotoo based devices) have an option in addition to ascending/descending order and "random" that is something like "Random but prioritizing newer photos". I couldn't tell you an exact algorithm, but when you add new photos it displays those more frequently than the others, yet still loads randomly. Would be great to get some newer photos shown a bit more often somehow.

Due to API changes announced by Google, the integration will be deprecated on April 2025, so no new functionality will be added. https://github.com/Daanoz/ha-google-photos/issues/64

source: gharchive/issue

authors: Daanoz trevornorcross

repo: Daanoz/ha-google-photos

license: MIT

license_type: permissive

license_source: github-api


text:
Header Background Image

Hi, thank you for this awesome compilation.
I would like to ask you, how to change the dynamically generated header background image.
When I run grunt, header background image is created automatically.
But how can I change the style of that image.
Thank you.

You can change that in assets/sass-project/project.scss

I dont mean changing the path of this element in scss file, I want to change automatically generated image files itself (images/bg/brand.jpg, images/brand-accent.jpg etc). When you run grunt something generates these awesome colorful files, but which file is generating these images.

These images are not generated. They are just static images.

authors: cansanet sesemaya

repo: Daemonite/material

license: mit

license_source: bigquery


text:
vue-iscroll-view 在动态数据渲染下，刷新无效。

- <template>
- 	<iscroll-view class="scroll-view" ref="iscroll" @pullUp="load" @pullDown="refresh">
- 		<card v-for="item in cardList" v-bind:item="item" :key="item.id"></card>
- 	</iscroll-view>
- </template>

js  code
computed: {
			...mapGetters([
				'cardList'
			])
		},

mounted() {
			/* Get the reference of the scroller */
			this.$refs.iscroll.refresh()
			（iscroll才有实例，iscrollView 提示undefind）
		}

现象描述：第一次数据请求回来时，渲染结果如图

但是不能滑动，怀疑高度为0（之前只用 iscroll 时，数组改动时需要refresh,怀疑是refresh 无效），接着，点击进入别的页面，在正常跳转回这个页面时，页面滚动生效。

你要在更新视图的下一个 tick 执行 refresh。

谢谢

repo: Dafrok/vue-iscroll-view


text:
number of 1 bits solution

이건 확실히
TC: O(n)
SC: O(1) 왜냐하면, int 변수만 선언.

문제별로 PR을 올리는 구조여서
number-of-1-bits 파일만 PR에 담기게 처리 부탁드립니다 : )

시간복잡도를 O(n) 으로 생각하신 이유가 뭘까요~?

오 고수 시네요 ㅋㅋ
$$2^{k} = n$$이라고 하면 $$k = log n$$ 이라서 O(log n) 되네요.

제가 github 고수가 아니라서 일단 문제 다 풀어보고 github desktop으로 하나씩 pr 올려 볼게요.

하나씩 올리는게 아니라 주차별로 올리는 거인가보군요
하나씩 올려주셔서 방식이 바뀌었나 순간 했갈렸네요
PR 제목을 이름과 주차 내용이 나오게 해주시면 좋을 것 같습니다.
e.g.

[박종훈] 14주차 답안 제출
[SAM] WEEK 14 solutions

참고로 커밋이 추가될때마다 PR을 생성해주실 필요는 없으시고 자동으로 업데이트 됩니다.

PR 만드시고 나면 project 와 iterator 설정까지 부탁드립니다 : )
이번꺼는 제가 해두었습니다.

source: gharchive/pull-request

authors: YeonguChoe dev-jonghoonpark

repo: DaleStudy/leetcode-study


text:
Does HAProxy support TLS?

Hi,
In my case, I've enabled the built-in HAProxy and NodePort so that my external client can access to the Redis through the HAProxy.
I also need a secure connection between my client (outside the Kubernetes) and the Redis HAProxy.
Does it support this feature?
Thanks,
Hujun

@drmy Originally, the plan was to rely on Ingress in-front of the LB to manage that.
Right now, I don't think we support it, but we definitely could. Would not be a bad idea at all for those using NodePort / LB that doesn't have ingress on top of them.

@drmy Originally, the plan was to rely on Ingress in-front of the LB to manage that.
Right now, I don't think we support it, but we definitely could. Would not be a bad idea at all for those using NodePort / LB that doesn't have ingress on top of them.

It would be great to have this feature. Please let us know when the feature is ready to use.
Thank you very much!

should HA-proxy also support port 26379 for sentinel connection?

@RoyKimYYZ I think I answered this question in your original issue posted about Sentinel in HAProxy.
All good?
Aside from that, TLS support is still on the cards, I just don't have much time to commit to larger changes right this moment. Family life!

@RoyKimYYZ I think I answered this question in your original issue posted about Sentinel in HAProxy.
All good?
Aside from that, TLS support is still on the cards, I just don't have much time to commit to larger changes right this moment. Family life!

All Good thank you.
From: Aaron Layfieldmailto:notifications@github.com
Sent: Thursday, January 14, 2021 7:21 PM
To: DandyDeveloper/chartsmailto:charts@noreply.github.com
Cc: Roy Kimmailto:roy@roykim.ca; Mentionmailto:mention@noreply.github.com
Subject: Re: [DandyDeveloper/charts] Does HAProxy support TLS? (#67)
@RoyKimYYZhttps://github.com/RoyKimYYZ I think I answered this question in your original issue posted about Sentinel in HAProxy.
All good?
Aside from that, TLS support is still on the cards, I just don't have much time to commit to larger changes right this moment. Family life!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/DandyDeveloper/charts/issues/67#issuecomment-760560888, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAO6JIV3O5UONW5FKEPVEODSZ6DBHANCNFSM4TAPUCFQ.

All Good thank you.
From: Aaron Layfieldmailto:notifications@github.com
Sent: Thursday, January 14, 2021 7:21 PM
To: DandyDeveloper/chartsmailto:charts@noreply.github.com
Cc: Roy Kimmailto:roy@roykim.ca; Mentionmailto:mention@noreply.github.com
Subject: Re: [DandyDeveloper/charts] Does HAProxy support TLS? (#67)
@RoyKimYYZhttps://github.com/RoyKimYYZ I think I answered this question in your original issue posted about Sentinel in HAProxy.
All good?
Aside from that, TLS support is still on the cards, I just don't have much time to commit to larger changes right this moment. Family life!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/DandyDeveloper/charts/issues/67#issuecomment-760560888, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAO6JIV3O5UONW5FKEPVEODSZ6DBHANCNFSM4TAPUCFQ.

authors: DandyDeveloper RoyKimYYZ drmy

repo: DandyDeveloper/charts


text:
Uncaught ReferenceError: process is not defined

Problem
.env 환경 변수 파일 개설 후 사용이 안되고 다음과 같은 에러가 계속 발생

소셜로그인 시, 필요한 API_KEY들을 담기 위함

해결 방안 모색

create-react-app에서는` 보안이 필요한 환경변수의 유출을 미연에 방지하기 위해 REACT_APP으로 시작되지 않는 환경변수는 무시한다.

=> 그러나 이미 지정해줘도 같은 에러 발생

리액트 최상위 루트에 .env 파일을 만들어줬는가?

=> 눈 씻고봐도 제대로 위치함
알게 된 사실
.env 파일은 개발환경, 배포에 따라 다수의 파일을 생성해 활용 가능

.env
.env.development
.env.test
.env.production

우선순위도 존재함

npm start: .env.development, .env
npm run build: .env.production, .env
npm test: .env.test, .env

해결 방법
이 내용을 토대로 package.json에 가서 확인해보니 다음과 같음.

Webpack 5에 대한 공식 문서
공식문서 확인 결과 => 이제 더 이상 process를 지원하지 않아 위와 같은 에러가 발생

devDependencies dotenv-webpack 설치해줌
webpack.config.js 에서 다음과 같이 설정

해주니 에러없이 잘 작동되는 것을 확인!
다른 방법도 있으면 알려주세요.🤔

다른 방법 사항

이건 react 성능 최적화에 대해 검색하다가 webpack 관련해서 자료들이 나와있어 참고자료로 올립니다.
다른 방법 사항2

위의 블로그 작성자분도 new Dotenv() 쓰셨길래,,
추후 최적화 (예를 들면, 이미지 최적화) 적용에 사용하면 좋을 자료인 것 같습니다.

repo: DangGeuneDaong/Frontend


text:
Login complains PIL is not installed in 1.1.3

Tried to run the example to create a post using the latest 1.1.3 version and the script complains PIL is not installed even though it is...
    raise Exception("You don't have PIL installed. Please install PIL or Pillow>=8.1.1") Exception: You don't have PIL installed. Please install PIL or Pillow>=8.1.1

Which Python version are you using?

3.11.3

On Jul 12, 2023, at 13:07, Danie1 @.***> wrote:
Which Python version are you using?

3.11.3


text:
Corrección

Hola Dani.
El ejercicio está perfecto y además la lógica que has usado está muy bien. Se nota que ya habías tocado programación con anterioridad.
Enhorabuena

Gracias Chavi

authors: DanielMateosLab chavisam


text:
Inline implicit object literals in function arguments bug

This code should be a function call with two arguments, one object literal and another variable:
f x: y, z

CoffeeScript agrees.
But Civet parses the x: y, (note the trailing comma) as an object literal, which ends up with this compilation:
f({x: y,}(z))

Do we need yet another flag for this, to avoid eating the trailing comma?  Seems like there ought to be a better way...
Maybe InlineObjectLiteral should just never consume the final comma; it seems like it should be treated as incorrect.

😬

repo: DanielXMoore/Civet


text:
Update SBT and Scala Version

Upgrade to latest SBT and scala version

Closing as duplicate


text:
sensor from integration min_renovasjon has a non string unique_id

Not a big issue as everything is working. But get this error on every full reboot of Home Assistant.
Logger: homeassistant.helpers.entity_registry
Source: helpers/entity_registry.py:632
First occurred: 15:35:32 (3 occurrences)
Last logged: 15:35:32
'sensor' from integration min_renovasjon has a non string unique_id '(1, 'Restavfall', 'http://komteksky.norkart.no/minrenovasjon.api/Ikoner/restavfall.png', datetime.datetime(2024, 6, 4, 0, 0), datetime.datetime(2024, 6, 18, 0, 0))', please report it to the author of the 'min_renovasjon' custom integration
'sensor' from integration min_renovasjon has a non string unique_id '(2, 'Papiravfall', 'http://komteksky.norkart.no/minrenovasjon.api/Ikoner/papir.png', datetime.datetime(2024, 6, 4, 0, 0), datetime.datetime(2024, 7, 2, 0, 0))', please report it to the author of the 'min_renovasjon' custom integration
'sensor' from integration min_renovasjon has a non string unique_id '(3, 'Matavfall', 'http://komteksky.norkart.no/minrenovasjon.api/Ikoner/matavfall.png', datetime.datetime(2024, 6, 4, 0, 0), datetime.datetime(2024, 6, 18, 0, 0))', please report it to the author of the 'min_renovasjon' custom integration

+1

authors: MuppetOwl yggster


text:
Add DanujiTharika's file

first site Danuji

re open

repo: DanujiTharika/github-slideshow


text:
Add reddit-to-telegram bot

This bot once deployed allows users to receive updates from a specific subreddit.

Thanks!

license: unlicense


text:
docker.io/vaultwarden/server:latest

镜像域名 (镜像仓库)

[X] 请确保包含域名(domain)

镜像标签

[X] 请确保包含镜像的标签(tag)

镜像存在

[X] 请确保这个镜像真实存在

1

repo: DaoCloud/public-image-mirror


text:
feat: allow docker.io/arigaio/*

https://github.com/ariga/atlas
https://hub.docker.com/u/arigaio

/auto-cc


text:
Aniwave.to

Source name
aniwave.to
Source language
English
Source link
https://aniwave.to/
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a title with source name.
[X] I have updated all installed extensions.
[X] I have opened WebView and checked that the source website is down.
[X] I will fill out all of the requested information in this form.

Aniwave has closed


text:
Using Inverter with hidraw0 instead of ttyusb0

Hello, I own an inverter that is compatible with mppsolar and uses PI30 . But the device is listed as hidraw0 instead of ttyUSB0 . Help me on what i can change to make use of your script .Thank you.

There is nothing special the code does for TTYs, in fact it is VenusOS that starts the script with the given TTY value.
Maybe you can modify VenusOS serial-starter to take your device and run it trough the services.
Check the /etc/venus/serial-starter.conf and serial_starter.sh scripts.

There is nothing special the code does for TTYs, in fact it is VenusOS that starts the script with the given TTY value. Maybe you can modify VenusOS serial-starter to take your device and run it trough the services.
Check the /etc/venus/serial-starter.conf and serial_starter.sh scripts.

I will give it a try.Thank you.

There is nothing special the code does for TTYs, in fact it is VenusOS that starts the script with the given TTY value. Maybe you can modify VenusOS serial-starter to take your device and run it trough the services.
Check the /etc/venus/serial-starter.conf and serial_starter.sh scripts.

I will give it a try.Thank you.

There is nothing special the code does for TTYs, in fact it is VenusOS that starts the script with the given TTY value. Maybe you can modify VenusOS serial-starter to take your device and run it trough the services.
Check the /etc/venus/serial-starter.conf and serial_starter.sh scripts.

I will give it a try.Thank you.

Hi,
Have you found a way to make it work with hidraw0 ?
I'm working on integrating my MPP Solar 5kW HV II Hybrid inverter with protocol 18 to this code, I will make a pull request when it's working fine.
Thanks,
Tristan

There is nothing special the code does for TTYs, in fact it is VenusOS that starts the script with the given TTY value. Maybe you can modify VenusOS serial-starter to take your device and run it trough the services.
Check the /etc/venus/serial-starter.conf and serial_starter.sh scripts.

I will give it a try.Thank you.

There is nothing special the code does for TTYs, in fact it is VenusOS that starts the script with the given TTY value. Maybe you can modify VenusOS serial-starter to take your device and run it trough the services.
Check the /etc/venus/serial-starter.conf and serial_starter.sh scripts.

I will give it a try.Thank you.

Hi, Have you found a way to make it work with hidraw0 ? I'm working on integrating my MPP Solar 5kW HV II Hybrid inverter with protocol 18 to this code, I will make a pull request when it's working fine.
Thanks, Tristan

I am using a very crude way but it works . I edited start-dbus-mppsolar.sh and add the below line to the bottom of the script

@TheBarnHome could you help me with the pi18...I tried your fork but it doesn't work

@TheBarnHome could you help me with the pi18...I tried your fork but it doesn't work

It should be better now. Just make sure the config.json file is ok with your configuration.

It's not perfect,  I still have some improvments to do, but it works great this way at my place, with 2 inverters. My battery is linked with CAN.

@TheBarnHome.... I'm trying your fork ....https://github.com/TheBarnHome/dbus-mppsolar-p18....I only have 1 inverter and it's not hidraw0...even my battery is connected to the can

no data appears on the inverter

what is the /dev corresponding to your inverter ? my code is made for hidraw*, as is the question in this issue.

ttyUSB0

should work now. What is your inverter ?

if you look at this one https://github.com/DarkZeros/dbus-mppsolar/issues/2  you'll see what it's about

Mine is MPP 5kW HV II, which is PI18 but only with direct usb connection, it doesn’t work with rs232.

The inverter is INFINISOALR V II WP and in the connections there are Dry contact & USB & RS-232 communication ports ….Should I change the cable and try only with USB?

You could give it a try yes.

The inverter is INFINISOALR V II WP and in the connections there are Dry contact & USB & RS-232 communication ports ….Should I change the cable and try only with USB?

Have you tried with the inverter connected with direct USB ? It should appeare as /dev/hidraw0, so adapt the config. I have made some more modifications lately. I used to have it connected with direct USB, but I also had the RS232 interface connected to the USB as the code was initially made for an interface on /dev/ttyUSBx, but I am trying to get rid of this.

Thanks a lot @TheBarnHome  I managed to get it to work with USB directly....there is an error on line 378 change (&) with (and) for the AMPERE ...some functions are not displayed and not even the consumption counter...have you changed anything else?

this is what i see and also the data is not updated fast

My inverter is not grid tied so I have left this a bit, but I will try to implement this, as well as the different modes. For the moment, I try to get the warnings and errors reported to Venus. The update interval is 10 secondes for now, from my tests, getting faster doesn't always work as the inverter may not respond fast enough. I will make it in config.

Has anyone managed to use hidraw0 and have the venus os starting everything automatically ? I am still start the process manually but its very crude.

Has anyone managed to use hidraw0 and have the venus os starting everything automatically ? I am still start the process manually but its very crude.

The serial-starter.sh starts automatically the services when TTYs are present. You can try to change this for your particular case.

authors: DarkZeros TheBarnHome geofreybingachie legolas3107

repo: DarkZeros/dbus-mppsolar


text:
Setup servers

Server 1

[x] Database
[x] Private network only

Server 2

[x] Dokku
[ ] Mailserver
[x] DNS
[ ] Private network

I will move mail server to another ticket

repo: DashboardHub/EddieBot


text:
[DUOS-1979][risk=low] Deleted /closed api endpoints and service methods

Am not sure if anything else needs to happen to confirm this was deleted (sorry inexperienced with java)?

Have you read CONTRIBUTING.md lately? If not, do that first.

Label PR with a Jira ticket number and include a link to the ticket
Label PR with a security risk modifier [no, low, medium, high]
PR describes scope of changes
Get a minimum of one thumbs worth of review, preferably two if enough team members are available
Get PO sign-off for all non-trivial UI or workflow changes
Verify all tests go green
Test this change deployed correctly and works on dev environment after deployment

@lu-c If you could take a look at https://github.com/DataBiosphere/consent/pull/1690 and let me know what you think - that should clean up all of the remaining unused code that's fallout from your changes in this PR.

authors: lu-c rushtong

repo: DataBiosphere/consent


text:
Bug:  Can't pickle local object during save

Can't save model
Somehow, I remember successfuly saving it once before, but it no longer works.
I've tried to play with the home_dir parameter in the config, cleaning it, and using a tempfile.TemporaryDirectory but can no longer save my models.
Version: 0.1.14

Tried from pip and from master

System: OSX
Reproduce:
from deeptables.models import deeptable
from sklearn.datasets import load_iris

data = load_iris()
X = data['data']
y = data['target']
conf = deeptable.ModelConfig(
        nets=['dnn_nets'],
        metrics=['AUC'],
        optimizer=keras.optimizers.RMSprop(),
    )
dt = deeptable.DeepTable(config=conf)
dt.fit(X, y)
dt.save('model')

Error:
Load model from disk:models/dt/dnn_nets.h5.
Traceback (most recent call last):
  File ".../python3.7/site-packages/IPython/core/interactiveshell.py", line 3437, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
  File "<ipython-input-19-5a45263f9c71>", line 1, in <module>
    dt.save('model')
  File ".../python3.7/site-packages/deeptables/models/deeptable.py", line 723, in save
    pickle.dump(self, output, protocol=2)
AttributeError: Can't pickle local object 'make_gradient_clipnorm_fn.<locals>.<lambda>'

I might have found the issue.
It is the same as this phygnn issue and they fixed it.
I verified that when I downgraded to TF 2.3.0, I managed to save again.

@xdssio Thanks for your report.
The model is saved including model config (class deeptable.ModelConfig), and the optimizer you set optimizer=keras.optimizers.RMSprop() in model config cannot be pickled at TF version 2.4.0(in my machine);
You can try to set optimizer='RMSprop' if need to use TF 2.4  :
from deeptables.models import deeptable
from sklearn.datasets import load_iris

data = load_iris()
X = data['data']
y = data['target']
conf = deeptable.ModelConfig(
        nets=['dnn_nets'],
        metrics=['AUC'],
	# optimizer=keras.optimizers.RMSprop(),
        optimizer='RMSprop',
    )
dt = deeptable.DeepTable(config=conf)
dt.fit(X, y)
dt.save('model')

authors: oaksharks xdssio

repo: DataCanvasIO/DeepTables


text:
Datadog Cluster Agent produces some klog formatted logs even when configured to produce JSON logs

Output of the info page (if this is a bug)
Cluster agent 1.16.0 - Commit: '9961689' - Serialization version: v4.85.0

DD_LOG_FORMAT_JSON=true
DD_LOG_LEVEL=INFO

Describe what happened:
Sample log output:
I0119 04:54:01.983307       1 leaderelection.go:243] attempting to acquire leader lease default/datadog-leader-election...
{"agent":"cluster","time":"2022-01-19 04:54:01 UTC","level":"INFO","file":"app/app.go","line":"365","func":"start","msg":"All components started. Cluster Agent now running."}
{"agent":"cluster","time":"2022-01-19 04:54:01 UTC","level":"INFO","file":"pkg/clusteragent/clusterchecks/handler.go","line":"113","func":"Run","msg":"Becoming leader, waiting 30s for node-agents to report"}
{"agent":"cluster","time":"2022-01-19 04:54:01 UTC","level":"INFO","file":"pkg/util/kubernetes/apiserver/leaderelection/leaderelection_engine.go","line":"79","func":"func1","msg":"New leader \"datadog-cluster-agent-7f8f77f555-dlntk\""}
{"agent":"cluster","time":"2022-01-19 04:54:02 UTC","level":"INFO","file":"pkg/clusteragent/custommetrics/store_configmap.go","line":"56","func":"NewConfigMapStore","msg":"Retrieved the configmap datadog-custom-metrics"}
{"agent":"cluster","time":"2022-01-19 04:54:02 UTC","level":"INFO","file":"pkg/clusteragent/custommetrics/provider.go","line":"64","func":"externalMetricsSetter","msg":"Starting async loop to collect External Metrics"}
I0119 04:54:02.581777       1 serving.go:325] Generated self-signed cert (/etc/datadog-agent/certificates/apiserver.crt, /etc/datadog-agent/certificates/apiserver.key)
I0119 04:54:02.843297       1 configmap_cafile_content.go:202] Starting client-ca::kube-system::extension-apiserver-authentication::client-ca-file
I0119 04:54:02.843304       1 configmap_cafile_content.go:202] Starting client-ca::kube-system::extension-apiserver-authentication::requestheader-client-ca-file
I0119 04:54:02.843314       1 shared_informer.go:240] Waiting for caches to sync for client-ca::kube-system::extension-apiserver-authentication::client-ca-file
I0119 04:54:02.843297       1 requestheader_controller.go:169] Starting RequestHeaderAuthRequestController
I0119 04:54:02.843323       1 shared_informer.go:240] Waiting for caches to sync for RequestHeaderAuthRequestController
I0119 04:54:02.843318       1 shared_informer.go:240] Waiting for caches to sync for client-ca::kube-system::extension-apiserver-authentication::requestheader-client-ca-file
I0119 04:54:02.843502       1 dynamic_serving_content.go:130] Starting serving-cert::/etc/datadog-agent/certificates/apiserver.crt::/etc/datadog-agent/certificates/apiserver.key
I0119 04:54:02.843671       1 secure_serving.go:202] Serving securely on [::]:8443
I0119 04:54:02.843748       1 tlsconfig.go:240] Starting DynamicServingCertificateController
I0119 04:54:02.943880       1 shared_informer.go:247] Caches are synced for RequestHeaderAuthRequestController
I0119 04:54:02.943952       1 shared_informer.go:247] Caches are synced for client-ca::kube-system::extension-apiserver-authentication::requestheader-client-ca-file
I0119 04:54:02.944016       1 shared_informer.go:247] Caches are synced for client-ca::kube-system::extension-apiserver-authentication::client-ca-file
{"agent":"cluster","time":"2022-01-19 04:54:02 UTC","level":"INFO","file":"pkg/collector/worker/check_logger.go","line":"37","func":"CheckStarted","msg":"Running check...","check":"orchestrator"}
{"agent":"cluster","time":"2022-01-19 04:54:02 UTC","level":"INFO","file":"pkg/collector/worker/check_logger.go","line":"37","func":"CheckStarted","msg":"Running check...","check":"kubernetes_apiserver"}
{"agent":"cluster","time":"2022-01-19 04:54:03 UTC","level":"INFO","file":"pkg/util/kubernetes/apiserver/leaderelection/leaderelection.go","line":"190","func":"EnsureLeaderElectionRuns","msg":"Leader election running, current leader is \"datadog-cluster-agent-7f8f77f555-dlntk\""}
{"agent":"cluster","time":"2022-01-19 04:54:03 UTC","level":"INFO","file":"pkg/collector/worker/check_logger.go","line":"56","func":"CheckFinished","msg":"Done running check","check":"orchestrator"}
{"agent":"cluster","time":"2022-01-19 04:54:03 UTC","level":"INFO","file":"pkg/collector/worker/check_logger.go","line":"56","func":"CheckFinished","msg":"Done running check","check":"kubernetes_apiserver"}
{"agent":"cluster","time":"2022-01-19 04:54:06 UTC","level":"WARN","file":"pkg/clusteragent/clusterchecks/handler.go","line":"183","func":"leaderWatch","msg":"Could not refresh leadership status: \"target named datadog-cluster-agent-7f8f77f555-dlntk\" not found"}
{"agent":"cluster","time":"2022-01-19 04:54:11 UTC","level":"WARN","file":"pkg/clusteragent/clusterchecks/handler.go","line":"183","func":"leaderWatch","msg":"Could not refresh leadership status: \"target named datadog-cluster-agent-7f8f77f555-dlntk\" not found"}
{"agent":"cluster","time":"2022-01-19 04:54:12 UTC","level":"INFO","file":"pkg/collector/worker/check_logger.go","line":"37","func":"CheckStarted","msg":"Running check...","check":"orchestrator"}
{"agent":"cluster","time":"2022-01-19 04:54:12 UTC","level":"INFO","file":"pkg/collector/worker/check_logger.go","line":"56","func":"CheckFinished","msg":"Done running check","check":"orchestrator"}
...
{"agent":"cluster","time":"2022-01-19 04:54:36 UTC","level":"WARN","file":"pkg/clusteragent/clusterchecks/handler.go","line":"183","func":"leaderWatch","msg":"Could not refresh leadership status: \"target named datadog-cluster-agent-7f8f77f555-dlntk\" not found"}
{"agent":"cluster","time":"2022-01-19 04:54:39 UTC","level":"INFO","file":"pkg/api/healthprobe/healthprobe.go","line":"73","func":"healthHandler","msg":"Healthcheck failed on: [clusterchecks-dispatch]"}
{"agent":"cluster","time":"2022-01-19 04:54:39 UTC","level":"INFO","file":"pkg/api/healthprobe/healthprobe.go","line":"73","func":"healthHandler","msg":"Healthcheck failed on: [clusterchecks-dispatch]"}
E0119 04:54:41.939861       1 event.go:329] Could not construct reference to: '&v1.ConfigMap{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"datadog-leader-election", GenerateName:"", Namespace:"default", SelfLink:"", UID:"46842c72-f018-4d6b-9b56-e28c8e5ce133", ResourceVersion:"123537085", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:63764122821, loc:(*time.Location)(0x56174e0)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string{"control-plane.alpha.kubernetes.io/leader":"{\"holderIdentity\":\"datadog-cluster-agent-7f8f77f555-zd4sf\",\"leaseDurationSeconds\":15,\"acquireTime\":\"2022-01-19T04:54:41Z\",\"renewTime\":\"2022-01-19T04:54:41Z\",\"leaderTransitions\":44}"}, OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string(nil), ClusterName:"", ManagedFields:[]v1.ManagedFieldsEntry(nil)}, Immutable:(*bool)(nil), Data:map[string]string(nil), BinaryData:map[string][]uint8(nil)}' due to: 'no kind is registered for the type v1.ConfigMap in scheme "pkg/runtime/scheme.go:100"'. Will not report event: 'Normal' 'LeaderElection' 'datadog-cluster-agent-7f8f77f555-zd4sf became leader'
I0119 04:54:41.939937       1 leaderelection.go:253] successfully acquired lease default/datadog-leader-election
...

Describe what you expected:
All logs are coerced into JSON log format, or the built-in Datadog log pipeline knows how to parse the klog format
Steps to reproduce the issue:
Run datadog-cluster-agent with DD_LOG_FORMAT_JSON=true
Additional environment details (Operating System, Cloud provider, etc):
Docker/Kubernetes, Ubuntu 18.04.6 LTS running on AWS

Same here:(
$ k logs -f datadogeks-cluster-agent-xxx
2022-04-05 10:02:06 UTC | CLUSTER | WARN | (pkg/clusteragent/clusterchecks/handler.go:183 in leaderWatch) | Could not refresh leadership status: "target named datadogeks-cluster-agent-xxx" not found
2022-04-05 10:02:11 UTC | CLUSTER | WARN | (pkg/clusteragent/clusterchecks/handler.go:183 in leaderWatch) | Could not refresh leadership status: "target named datadogeks-cluster-agent-xxx" not found

$ k describe pod datadogeks-cluster-agent-xxx | tail
                             node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
  Type     Reason     Age   From               Message
  ----     ------     ----  ----               -------
  Normal   Scheduled  15m   default-scheduler  Successfully assigned default/datadogeks-cluster-agent-xxx to ip-xxx.compute.internal
  Normal   Pulled     15m   kubelet            Container image "gcr.io/datadoghq/cluster-agent:1.18.0" already present on machine
  Normal   Created    15m   kubelet            Created container cluster-agent
  Normal   Started    15m   kubelet            Started container cluster-agent
  Warning  Unhealthy  14m   kubelet            Liveness probe failed: HTTP probe failed with statuscode: 500
  Warning  Unhealthy  14m   kubelet            Readiness probe failed: HTTP probe failed with statuscode: 500

$ kubectl exec -it datadogeks-cluster-agent-xxx -- /bin/bash -c "datadog-cluster-agent status" | head
Getting the status from the agent.
2022-04-05 10:23:29 UTC | CLUSTER | WARN | (pkg/util/log/log.go:592 in func1) | Agent configuration relax permissions constraint on the secret backend cmd, Group can read and exec
2022-04-05 10:23:29 UTC | CLUSTER | INFO | (pkg/util/log/log.go:572 in func1) | Features detected from environment: kubernetes,orchestratorexplorer

Version Info is as bellows
$ k version
Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.0", GitCommit:"ab69524f795c42094a6630298ff53f3c3ebab7f4", GitTreeState:"clean", BuildDate:"2021-12-07T18:16:20Z", GoVersion:"go1.17.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"21+", GitVersion:"v1.21.5-eks-bc4871b", GitCommit:"5236faf39f1b7a7dabea8df12726f25608131aa9", GitTreeState:"clean", BuildDate:"2021-10-29T23:32:16Z", GoVersion:"go1.16.8", Compiler:"gc", Platform:"linux/amd64"}
WARNING: version difference between client (1.23) and server (1.21) exceeds the supported minor version skew of +/-1

authors: adammw gkzz

repo: DataDog/datadog-agent


text:
Only run APM forwarder, disable all other collectors

Context
We have an EKS cluster with a few nodes.  Our workloads are very light.  Unfortunately, Datadog APM is really expensive for our use-case, as it scales with the number of Kubernetes nodes, not the number of apps, by default.
Support tells us we can run a single APM forwarder instance in our cluster, and point our dd-tracing libraries there, to save on subscription costs.
Describe what happened:
I already have a working DaemonSet of dd-agents collecting Kubernetes infrastructure metrics. I want to deploy a Deployment with a single replica Pod with Datadog agent configured to do nothing other than APM forwarding.  I cannot manage to run the datadog/agent container and have it only do APM forwarding – it tries to scrape Kubernetes / Docker metrics and who knows what all else, which would cause duplicates with the DaemonSet-managed dd-agents.
Describe what you expected:
Inspired by https://github.com/DataDog/datadog-agent/issues/2203 and trying a whole lot of permutations of
          env:
          - name: DD_APM_ENABLED
            value: "true"
          - name: DD_LOGS_STDOUT
            value: "true"
          - name: DD_SEND_HOST_METADATA
            # Legacy option name, keep as `false` when running alongside another Agent
            value: "false"
          - name: DD_ENABLE_METADATA_COLLECTION
            value: "false"
          - name: DD_HOSTNAME
            valueFrom:
              fieldRef:
                fieldPath: spec.nodeName
          - name: DD_ENABLE_GOHAI
            value: "false"
          - name: DD_COLLECT_KUBERNETES_EVENTS
            value: "false"
          - name: DD_LOG_LEVEL
            value: "DEBUG"
          - name: DD_APM_NON_LOCAL_TRAFFIC
            value: "true"
          - name: USE_DOGSTATSD
            value: "false"

in my Deployment, I am still unable to get only APM forwarding.
Debugging
I have tried a number of permutations of these env vars, i have tried to stamp out the /etc/datadog-agent/conf.d directory, and variously the agent either does nothing at all or tries to hoover up all the metrics i don't want it to.  I'm happy to try various things and post back results.
I've thought about having intricate anti-affinity rules to try to have two groups of deployments of Datadog, one which does infra+APM with 1 replica, the other which has n-1 replicas and has anti-affinity with itself and the APM agent, but frankly I feel like I'm having to jump through really nasty hoops, making it much easier to simply switch to another APM provider.
I wonder if the community has encountered this issue before?
Additional environment details (Operating System, Cloud provider, etc):
Amazon EKS, Kubernetes Server Version: version.Info{Major:"1", Minor:"13+", GitVersion:"v1.13.8-eks-a977ba", GitCommit:"a977bab148535ec195f12edc8720913c7b943f9c", GitTreeState:"clean", BuildDate:"2019-07-29T20:47:04Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"}
Datadog agent v6.13.0

I realise now reading the Agent Troubleshooting section of the manual that it says:

Is there only one Datadog Agent running on your host?

That must be my problem.  Then the question becomes, how to configure a Daemonset such that only one pod gets a different configuration.  I guess i could write a crazy wrapper script that tries to determine if it's running on a 'blessed' node, but that feels awful.

@toothbrush Did you ever have luck with this? I've been trying to do something very similar. My initial thought was to create a K8s service for the DaemonSets, but I couldn't figure out how to make it only route to a single pod every time. (The DaemonSets all have the same labels/annotations it seems)

It has been a few months, and so i'm hazy on the details unfortunately. But i did not manage to run a Datadog instance as APM only.
Maybe you could have two Deployments, and do some trickery with taints or antiaffinity to prevent a node running two Datadogs.
Sorry i cannot be of more help, but eventually we gave up and didn't bother using Datadog APM.

On 23 Dec 2019, at 06:05, Joshua Noble notifications@github.com wrote:

@toothbrush Did you ever have luck with this? I've been trying to do something very similar. My initial thought was to create a K8s service for the DaemonSets, but I couldn't figure out how to make it only route to a single pod every time. (The DaemonSets all have the same labels/annotations it seems)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

I've been trying to find a way to disable everything BUT the APM forwader with no luck. I only want to use the APM features in the agent, nothing else.

I have the same issue
anyone has a solution to solve this issue?

authors: acejam gtirloni mehdibenfeguir toothbrush


text:
Add expvar for custom metrics to DCA and refactor status package.

What does this PR do?

Adds the render package that includes the shared code for rendering go templates for the status command (extracted from the status package).
Adds expvar for custom metrics to the DCA

$ curl localhost:5000/debug/vars

...
"custommetrics": {"External":{"Total":1,"Valid":0}}
...

--- FAIL: TestFormatHPAStatus (0.00s)
	render_test.go:98: Rendering "error"...

		Custom Metrics Provider
		=======================
		  Error: This is an error

	render_test.go:98: Rendering "store error"...

		Custom Metrics Provider
		=======================
		  ConfigMap name: datadog-hpa

		  Error: This is an error

	render_test.go:98: Rendering "list error"...

		Custom Metrics Provider
		=======================
		  ConfigMap name: datadog-hpa

		  External Metrics
		  ----------------
		    Error: This is an error

	render_test.go:98: Rendering "no metrics"...

		Custom Metrics Provider
		=======================
		  ConfigMap name: datadog-hpa

		  External Metrics
		  ----------------
		    Total: 2
		    Valid: 1

	render_test.go:98: Rendering "one metric"...

		Custom Metrics Provider
		=======================
		  ConfigMap name: datadog-hpa

		  External Metrics
		  ----------------
		    Total: 2
		    Valid: 1

		    hpa:
		    - name: hpa
		    - namespace: default
		    labels:
		    - foo: bar
		    metricName: metric1
		    ts: 1.533262651e+09
		    valid: true
		    value: 10

	render_test.go:98: Rendering "multiple metrics"...

		Custom Metrics Provider
		=======================
		  ConfigMap name: datadog-hpa

		  External Metrics
		  ----------------
		    Total: 2
		    Valid: 1

		    hpa:
		    - name: hpa
		    - namespace: default
		    labels:
		    - foo: bar
		    metricName: metric1
		    ts: 1.533262651e+09
		    valid: true
		    value: 10

		    hpa:
		    - name: hpa
		    - namespace: default
		    labels:
		    - foo: bar
		    metricName: metric2
		    ts: 1.533262651e+09
		    valid: false
		    value: 10

Motivation
The status package contained the status code for both the Agent as well as the client and server status for the Cluster Agent. It was starting to get very confusing and hard to follow.

I didn't intend to merge Dockerfiles/cluster-agent/dist/templates and pkg/status/dist/templates but that may be a good idea.
The idea of registering each GetStatus function is interesting and it might solve all my concerns with separating out the shared code into the render package.
I'll give it another look to see if I can do the registering idea to clean it up even more.

I am closing this to split it into multiple smaller PRs.


text:
[Omnibus] Support packaging of the agent at a different location than /opt/datadog-agent

What does this PR do?
Allow omnibus to package and build the agent at a different location than /opt/datadog-agent. Also gives the option to generate config files at a custom path instead of /etc/datadog-agent.
Note: The packaged agent is still meant to work from /opt/datadog-agent and will still try to get config files from /etc/datadog-agent

Motivation
MacOS runners don't support virtualization and have already a datadog-agent present for internal tracking. We need to be able to build the agent on runners without overwriting on the existing agent.

Additional Notes
This PR depends on this omnibus-ruby PR
Currently tested only on the base flavor

Once the macOS builds uses this PR, we can remove this test job since regression will be handled by the macOS build job.
Possible Drawbacks / Trade-offs

Describe how to test/QA your changes
QA for each affected and relevant jobs (datadog-agent-7-x64,datadog-agent-7-arm64,agent_heroku_deb-x64-a7,agent_dmg-x64-a7)

Get the job artifact
Extract the archive and find the agent .tar.gz and extract it
find datadog-agent
Move it to any folder that isn't /opt
run datadog-agent/bin/agent/agent --help
run datadog-agent/bin/agent/agent run
Note: these QA steps have been done before merge

QA cmd to build manually
export INSTALL_DIR="/some/custom/path" # needs to be exported
inv omnibus.build --install-directory "$INSTALL_DIR" --config-directory "/some/custom/config/path"

CI builds
Currently custom_agent_build_test create an x64 build to /custom/datadog-agent with config files in /custom/etc/datadog-agent the job fails if not correctly generated at these locations.

/merge


text:
Add support for sourcing tags from Kubernetes environment variables

What does this PR do?
Add support for a new config, kubernetes_container_env_as_tags, which applies tags to Kubernetes containers based on environment variable values. This is done similarly to the existing kubernetes_pod_labels_as_tags/kubernetes_pod_annotations_as_tags features.
Motivation
We would like to apply custom tags to our pods based on values from the downward API. Previously, we did so via the DD_DOCKER_ENV_AS_TAGS feature, since we could set envvars with downward API values, and Datadog would pick up the envvars from the containers themselves. However, we've recently begun migrating our Kubernetes clusters to containerd, and so DD_DOCKER_ENV_AS_TAGS will no longer work for us. Reading the envvars directly from the Kubernetes pod spec itself provides a replacement for DD_DOCKER_ENV_AS_TAGS.
(Since downward API values are not currently interpreted by the Kubelet tag collector, I have a followup PR which adds that functionality as well.)
Additional Notes
An alternate approach (for our original usecase) would be to simply skip the environment variable plumbing altogether and support directly mapping downward API fields to tag names. Would that be a preferable approach? Even if so, would this PR still be useful?
Describe how to test your changes

New unit test for envvar tag mapping added and passing
Full agent container built and deployed with DD_KUBERNETES_CONTAINER_ENV_AS_TAGS configured; verified desired tags are reported back to Datadog.

Checklist

[x] A release note has been added or the changelog/no-changelog label has been applied.
[ ] The appropriate team/.. label has been applied, if known.
[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[x] The config template has been updated if applicable.

Pushed docs fixes, thanks!


text:
Use a better name for the sidecar process

Proposing datadog-ipc-helper. "spawned_worker" is not very useful for an user.

LGTM

authors: bwoebi pawelchcki

repo: DataDog/libdatadog


text:
Use latest version of the agent to monitor fakeintake

What does this PR do?
Change image used for the agent monitoring fake intake to latest agent image
Since the agent deployed next to the fakeintake is supposed to help to monitor the fakeintake it is better to rely on a stable version of the agent
Which scenarios this will impact?
Motivation
Additional Notes

/merge

repo: DataDog/test-infra-definitions


text:
APL-2848 Handle pipeline id and commit sha to set docker image

What does this PR do?
Automatically uses the image built in the pipeline if PipelineID and CommitSHA are defined
Linked with: https://github.com/DataDog/datadog-agent/pull/22636
Which scenarios this will impact?
docker,ecs,kubernetes
Motivation
Additional Notes

/merge


text:
🛑 Angry is down

In 97a5668, Angry (https://angry.data-ensta.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Angry is back up in e3cf2ae after 33 minutes.

repo: DataEnsta/upptime


text:
Update verifyObject

Currently, verifyObject returns a boolean - true when the ObjectMetadata given matches the argument values, and false if not. However, if an algorithm is not found in the ObjectMetadata hexDigests list, it could potentially return false incorrectly.
To Do (after Metacat integration discussion with @taojing2002):

Change return type to void and throw custom exceptions when a value does not match

voNonMatchingSize ~ when the given size does not match
voNonMatchingChecksum ~ when the given checksum does not match what is calculated
voUnsupportedAlgorithm ~ when the given algorithm is not supported (part of MessageDigest's supported algorithms)

If the algorithm supplied is supported, but not found in the hexDigests list, calculate it and compare to the checksum value given (and throw an exception if it doesn't match)

Reminder: Ensure that a hexDigests.get(checksumAlgorithm) null value is accounted for/handled

This has been completed via Feature-65: verifyObject Update

repo: DataONEorg/hashstore-java


text:
Dataset Upload With Schema

💬 RFC

Currently it is hard to upload a dataset with a custom schema. Given a dataset name, schema as json, and csv, efficiently upload the data. For some datasets, it's useful to generate guids for the primary key field if it doesn't exist.
🔦 Context

I want to upload a dataset for golden records and bootstrap it, to do this I need a dataset with strings for the origin source name field and uploading via the csv endpoint in the UI converts everything to [string]

💻 Examples

@harsh-tamr could you provide some example usage code that shows how you envision this could be done?

Is this a dupe with #67 ?

@nbateshaus #67 should be the canonical issue for discussing the design of this feature, whereas this issue should be treated as a data point / use-case for needing this feature. I'll remove the RFC tag on this issue to clarify that.

Fixed by #247

authors: harsh-tamr nbateshaus pcattori

repo: Datatamer/unify-client-python


text:
Issues with targetMaxTimeInterval

There are two problems with targetMaxTimeInterval

The comments says "Option: desired maximum time in seconds stored in a log file, if 0, no maximum (log files may exceed this, it's a guideline only)"

However, the code does:
   if targetMaxTimeInterval < 1 {
                targetMaxTimeInterval = 600
            }

So, setting it to 0 will set it to 600 (vs infinity)

AutoRotatingFileDestination.init has code

   if shouldRotate() {
            rotateFile()
        }

This code is executed before we had opportunity to set targetMaxTimeInterval or targetMaxFileSize. As result, this code will always check against default value (which is 600). So it will always rotate after an app restarted in 10 minutes.

Found this issue, too.
Tackled it with a pull request  #-> #207

#207 merged, should resolve this issue. Thanks!

authors: DaveWoodCom Gucky vronin

repo: DaveWoodCom/XCGLogger


text:
feat(docker_compose): add option to remove project

feat(aptup): adjust workflow
feat(docker): adjust workflow
feat(docker_compose): add option to remove project
feat(reboot): add role

@CodiumAI-Agent /review

PR Review 🔍

 ⏱ Estimated effort to review [1-5]
4, because the PR involves multiple significant changes across various Ansible roles and tasks, including restructuring of tasks and addition of new features. The complexity and volume of the changes require careful review to ensure functionality and compatibility.

 🧪 Relevant tests
No

 ⚡ Possible issues
Possible Bug: The condition docker_compose_state == 'present' and docker_compose_files is not defined in roles/docker_compose/tasks/main.yml might cause the deployment to fail unexpectedly if docker_compose_files is not defined but required for operations. This needs clarification or adjustment in logic.

 🔒 Security concerns
No

 Code feedback:
relevant fileroles/docker_compose/tasks/main.yml
suggestion

Consider adding a default empty list for docker_compose_files when not defined to prevent runtime errors. This can be done using the default filter in Ansible. [important]

relevant line- docker_compose_files is not defined

authors: CodiumAI-Agent DeadNews

repo: DeadNews/ansible-collection-util


text:
fix(@vtmn/svelte): fix optional props values

Pull Request checklist
🚨 Please review the guidelines for contributing to this repository.

[x] Make sure you are requesting to pull a topic/feature/bugfix branch. Don't request your main!
[x] Check the commit's or even all commits' message styles matches our requested structure.
[x] Check your code additions will fail neither code linting checks nor unit test.
[x] Check PR name, it must follow the https://www.conventionalcommits.org pattern
[x] If it's a new component in CSS, ask for design review

Description
In Svelte, optionnal props must have a nullish default value, otherwise the compiler displays warnings like the following :
<VtmnButton> was created without expected prop 'iconAlone'.
This PR add a default value (undefined) to optionnal props in <VtmnButton>.
Does this introduce a breaking change?

No

❤ Thank you!

Thanks @anthonylegoas

authors: anthonylegoas lauthieb

repo: Decathlon/vitamin-web


text:
Update README.md

Polybase is a web3 native database that understands tokens, wallets, and ZK. We are a drop-in replacement for Firebase, Supabase, etc with added features like public verifiability, end-end encryption, self-sovereign data & censorship resistance.
Our mission is to restore humanity's control of its information. I would love to have Polybase as a part of your awesome list.

pretty sure this doesn't belong on the readme... but I can probably find a place for it on newsletter.identosphere.net (which entails probable inclusion to this site, eventually)


text:
🛑 Fedi is down

In 900ea05, Fedi (https://fedi.vale.rocks) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Fedi is back up in 8b51b5f after 34 minutes.

repo: DeclanChidlow/status


text:
Set the target directory from argument passed to the parser

Right now, the value for TARGET_DIRECTORY variable in legacyman_parser/utils/constants.py is hardcoded.
Set it from argument and update README accordingly.

As an alternate strategy that avoids extending the command line, how about at app startup, we find the absolute path for the current working directory, and append target to it.
We're only doing this one big parse undertaking, we don't need lots of configurability :-)

authors: IanMayo rnllv

repo: DeepBlueCLtd/LegacyMan


text:
Explore percent parameter of DivideDataSet

This is currently set as a list, but only the first element of the list is read.
If it will always be a 2-way division of the dataset, then set parameter as a float between 0 and 1 (raise error if not in this range).
If we want to allow division into 3, then rewrite the function with a for-loop that reads the number of elements and splits accordingly.
Also, rename parameter because it is not actually a percentage but a fraction.

This is currently set as a list, but only the first element of the list is read.
If it will always be a 2-way division of the dataset, then set parameter as a float between 0 and 1 (raise error if not in this range).
If we want to allow division into 3, then rewrite the function with a for-loop that reads the number of elements and splits accordingly.
Also, rename parameter because it is not actually a percentage but a fraction.

Yeah, I remembered that there was something about this in another but couldn't find it exactly.
train_test_split in sklearn uses as default 0.75/0.25 split, so maybe let's just follow their lead? Or does pytorch have a different default?
I do think it's a parameter that you want to open up to the user.
In any case, right now there is not even a check to make sure they add up to 1 or that values above 1 (which would make sense if it would actually be a percentage) fail.
Haven't looked in detail into your PR; let's wait until that is handled first

the shuffle parameter in NeuralNet class is regarding a different process than DivideDataSet, right? Shall we rename it in DivideDataSet to avoid confusion?

Yes, that's right. shuffle in NeuralNet is used to shuffle data for the Dataloader, while shuffle in DivideDataSet is used to shuffle data before splitting them into train and validation.
Note that DivideDataSet is used only internally and the user does not have access to it (see branch development).
Since DivideDataSet is called only if the user doesn't give a validation set to use during training, I would say that it's fine to fix the percentage at 0.75 and not let the user choose. Same for shufflling. So I would remove both percent and shuffle from inputs of DivideDataSet, and I would set them only inside the function.
Users could always pass in a validation set built by them, and DivideDataSet stays there only for the cases in which the user "forgets" or doesn't know about validation set, and the code split trains in two to validate during training.

I can imagine that in some cases a user does not care about how the data is split, but just wants to randomly split it. In this case, I can imagine them wanting to be able to set the fraction of data to use for training and validation. So I would leave the percent parameter editable for this case (and see no harm in doing so).
For shuffle, I see no reason why you would not want to randomize this, so indeed can go.

Let me rephrase: either we shouldn't allow to not give a validation set at all, if we think that one should never want to randomize the data. Or, we should allow to set the split ratio if in some cases a user would want to randomize it.
I don't see why we would allow to not specify which data is which, but not allow to specify the split ratio.

I can imagine that in some cases a user does not care about how the data is split, but just wants to randomly split it. In this case, I can imagine them wanting to be able to set the fraction of data to use for training and validation. So I would leave the percent parameter editable for this case (and see no harm in doing so).
For shuffle, I see no reason why you would not want to randomize this, so indeed can go.

Okay, I agree that it can be handy to have such an option (even if not necessary because of the flexibility that there is in creating three different sets before calling NeuralNet). Let's keep percent. Some conclusive thoughts:

I would not use a list, but a float/int instead.
If float, percent indicates the percentage of the train that the user wants to use as training, and validation will be the rest.
If int, it indicates number of samples that will be randomly selected for train, validation is the rest again.
DivideDataSet can become "_DivideDataSet" because it's used only internally.

repo: DeepRank/deeprank-core


text:
Web Support?

Can you please add support for this package. I am looking forward to add this to my app. Thanks in advance.

Try,
imagekit_io: ^0.0.1 for web
And let me know if this Package worked or not.
Thank you

Sure.. I just found another package. I will try that. But any idea why you created a separate package??

Because flutter_imagekit is specially build for Android, IOS, Not for Web .
In Other hand Web Required dart.html. other platform Support dart.io.
But imagekit_io Support Both Platform. For More Please check Example how to use new package.
Thank you


text:
Nessus CSV parser - 1048, Column 'description' cannot be null

When importing a nessus scan result set in csv format,  I get an error (shown below) on the web page using the interactive engagement import page.
I looked in the repo at the sample-scan-files, and the nessus folder only has .nessus and .xml samples.  If I try importing the sample xml file it works.
Using this page https://company[dot]com/product/1/new_engagement
Error Message
I get this error on the page:
An exception error occurred during the report import:(1048, "Column 'description' cannot be null")

Logs
This error appears in the logs
django.db.utils.IntegrityError: (1048, "Column 'description' cannot be null")

Steps to reproduce
Steps to reproduce the behavior:

Go to https://company[dot]com/product/1/new_engagement
Click on Import Scan Results
Select Scan Type - Nessus Scan
Select Environment - Production
Click on Choose File to select the csv scan result set file
Click on Import
See error

Expected behavior
When I attempted these steps using the sample xml file in the repo, I received a new page showing the results that were imported.  This is the expected result.
Deployment method (select with an X)

[ x] Docker Compose
[ ] Kubernetes
[ ] GoDojo

Environment information

Operating System: RHEL 8
DefectDojo version 2.6.2

Sample scan files
Using this csv file
Plugin,description,Plugin Name,Family,Severity,VPR,IP Address,NetBIOS Name,DNS Name,MAC Address,Repository
153583,Apache < 2.4.49 Multiple Vulnerabilities,Apache < 2.4.49 Multiple Vulnerabilities,Web Servers,Medium,10,10.10.10.10,company.com\WINDOWS,windows.company.com,00:00:00:00:00:00,company.com.windows

@dhenrygithub The parser for Nessus CSV files expects a column called Synopsis, this will be used to fill the mandatory description. I don't know Nessus at all, do you have any idea why this column is not in your report?

This may be a difference between the CLI product and Security Center, which is their enterprise platform.  You can select fields to export from SC (the two samples I provided as pull requests to samples repo come from the All Vulnerabilities view, using the most commen exports for summarizing counts and summarizing all affected endpoints per vuln, and I have all fields enabled).
I would select 'Plugin Name' if Synopsis isn't present, as in most cases users will need that ciolumn for their reporting to make sense.

authors: StefanFl dhenrygithub

repo: DefectDojo/django-DefectDojo


text:
Point increase problem

Duplicate of #15

repo: Dellenoam/NotPixelBot


text:
🛑 cPanel is down

In 5b8e45d, cPanel (https://charlie.delta-core.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: cPanel is back up in b2cb69e after 5 minutes.

repo: Delta-Core/status


text:
flake8 & refactoring

Hi @ThmsLa ,
I looked at the tests and it is a bit messy 😁
here are a few suggestion for refactoring in #342
Tests are still not passing and I am not sure why... I don't want to mess to much aside from your branch, so I will let you take what makes sense and move forward 😇

@ebreton @ThmsLa Ideally I would really enjoy having "passing builds" that way we can "merge" when it passes and "decline" when it fails.
I would suggest we remove the Mock Testing and not do any external connections to any API, that way we don't have to worry about API keys not working anymore or HTTP connections being dropped.
We just need to store the JSON results of the expected HTTP request.

I already have migrated some call to mocks... we are getting there :)

authors: DenisCarriere ebreton

repo: DenisCarriere/geocoder


text:
dChunks throw errors when used.

http://one.denizenscript.com/paste/38373
Error - Pastebin
edit*
The errors appear to occur on PaperSpigot. I don't encounter them in the console when using standard Spigot. However, <ch@.is_loaded> still returns true for any chunk that is not loaded for both Spigots.

the tag will load a chunk just to process the tag, so... yeah, that happens. Not the best method.
Anyway, the error is Paper spigot disobeying the standard Spigot setting to allow valid "async" calls that aren't actually even async. Go yell at paper, or just don't use paper, if that's a problem.

repo: DenizenScript/Denizen-For-Bukkit


text:
Loading Spinner is not visible when you have a lot of columns

Feature request
Package versions you currently use:
devextreme version:
devextreme-react version:2.7.2

Description:
If you have enough columns that your grid is quite wide, when it is loading, the loading spinner can be scrolled off the page horizontally so it is not visible.
Preferred Solution:
Ideally the spinner should be centered in the viewable area, not the grid's full width.
Alternatives:
Allow us to specify the location of the spinner somehow (centered or left-aligned perhaps)
Allow us to override the spinner component with our own?
Additional Context:
We have a grid that takes up 50% of the width of the screen. Users can add as many columns to the grid as they like, but even most of our default ones are quite wide and have a horizontal scrollbar. If the grid is more than twice as wide as the viewable area, the spinner is not visible.

I'm no longer confident that this was a DevExpress issue.

repo: DevExpress/devextreme-react


text:
Rename the package to avoid reference to testcafe

\cc @inikulin @AlexanderMoskovkin @VasilyStrelyaev @MargaritaLoseva
We need to choose a new name for the package, to state that is a library independent from testcafe for managing browser processes and windows.

testcafe-browser-utils. It's utility library that can be used by browser provider plugins

authors: AndreyBelym inikulin

repo: DevExpress/testcafe-browser-natives


text:
-v option added

Closes #369

//cc @inikulin @VasilyStrelyaev

@testcafe-build-bot \ retest

lgtm

lgtm

repo: DevExpress/testcafe


text:
Animations

For now it is possible to make animations in the inventories but not in a simple way, it is necessary to change a lot to make a minimally simple animation.
The implementation of a facility for the creation of animations in inventories as well as own and free implementations (from the developer and not from the IF developers) is in the plans.

Planned to v3.1.0

repo: DevNatan/inventory-framework


text:
Fail test callback (sometimes) causes NPE on Ubuntu

The tests are inconsistently failing on the linux jobs with this message:
com.noahcharlton.wgpuj.fail.RustFailTest > rustFailTest() FAILED
    org.opentest4j.AssertionFailedError: Unexpected exception type thrown ==> expected: <com.noahcharlton.wgpuj.fail.RustTestException> but was: <java.lang.NullPointerException>
        at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:65)
        at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:37)
        at org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:2920)
        at com.noahcharlton.wgpuj.fail.RustFailTest.rustFailTest(RustFailTest.java:11)

        Caused by:
        java.lang.NullPointerException: callable is null
            at jnr.ffi.provider.jffi.NativeClosureProxy.getCallable(NativeClosureProxy.java:57)
            at jnr.ffi.provider.jffi.NativeClosureProxy$$impl$$0.invoke(Unknown Source)
            at com.noahcharlton.wgpuj.WgpuTest$jnr$ffi$0.rust_fails_test(Native Method)
            at com.noahcharlton.wgpuj.fail.RustFailTest.lambda$rustFailTest$0(RustFailTest.java:11)
            at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:55)
            ... 3 more

Ok now there is another problem
https://github.com/DevOrc/wgpu-java/actions/runs/144232410

Test has not failed since - so i am going to reclose this issue

repo: DevOrc/wgpu-java


text:
🛑 Remote Access is down

In 7238b8f, Remote Access (https://statuscheck.dtdhomelab.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Remote Access is back up in 3e83e90 after 1 hour, 10 minutes.

repo: DevanTheDude/DTDHomelab


text:
Added Hover Effect and Other Samll Changes

Changes :

Animated Hover Effect for Nav bar menu and Hamburger icon
Aligned Contents of Event Card

@DeveloperAshish8 Can you please look into this:-)

Great @Aman0786-git ✌.

Great @Aman0786-git ✌.

Thank you


text:
Crear vista de Nosotros - frontend

Reutilizar el header y footer
Se tiene que respetar la paleta de colores que manejamos hasta el momento
Contar con texto referente a nosotros como empresa
Adaptarlo a las demás vistas

Trabajando aca https://github.com/AnderMendoza/Ecommerce-Template/issues/106

Faltaría la integración de los archivos trabajados en el repositorio antiguo al modelo MVC.

Realizado Importacion al modelo MVC

Se ha conectado con cada una de las vistas de manera exitosa, buen trabajo 🤜🤛

authors: AnderMendoza DiegoCuadros

repo: Devs-Com/Stose


text:
Change the navbar into sidebar or navigation drawer

The current navbar is bulky and not very geat looking. I want to change the navbar into a sidebar or more commonly navigation drawer.

@DhairyaBahl please assign me this issue

repo: DhairyaBahl/React-Messenger-App


text:
json to yaml added, branch conflicts sorted

Earlier PR had merge conflicts, as I had erroneously pushed my work to the main branch of my fork. This new version will have no merge conflicts.
This python script converts JSON to YAML. No additional dependencies are used aside from pyyaml which can be installed using pip install PyYAML

Thank you!

repo: DhanushNehru/Python-Scripts


text:
Extract handler methods to facade ABC

Refactor in preparation for #317

The filename should probably be changed too (currently facade.py).

repo: DiamondLightSource/blueapi


text:
Report inconsistency in the command PING

This issue is all about ensuring we are as close to Redis as possible. The command in focus for this issue is PING.
Go through the official documentation of the command PING on Redis and identify the inconsistencies. The inconsistencies could be in

unhandled edge case
unexpected behavior
unsupported option

Because we are trying to be compatible with Redis v7.2.5, I would recommend you try out different variants of the command with different inputs on that specific version. The instructions on running Redis v7.2.5 locally

from source code
use Docker

Once you find the discrepancy, you can either

raise an issue on Dice repository with details, or
try to fix it yourself and raise a PR

If you are raising the issue, make sure you provide the details such as

use the template and provide the following details
steps to reproduce (series of commands)
observed output on DiceDB
observed output on Redis v7.2.5

Also, feel free to update the documentation and raise the PR in the docs repository.

You will need to go deeper into the command make sure you are covering all cases and reporting the inconsistencies or fixing them. The deeper the work, the better our stability will be. Also, it is possible that we do not find any discrepancies, so please mention the same in the comment on this issue. Mention the PR or issue links that you create under this issue.

Hello @arpitbbhayani
I would like to work on this issue

Hello @arpitbbhayani
I would like to work on this

Hello @arpitbbhayani
I would like to work on this

@Dev79844 Go for it. Thanks a ton :) Assigned the issue to you.

@arpitbbhayani I tested the ping command and compared with redis 7.2.5. PING in dice is working exactly like PING in redis.

@Dev79844 Thanks for the update and work. Can you please raise the PR and attach this issue to it?

Hey @Dev79844 Thanks for the update. Just add the evidence from the Redis and the Dice PING execution. Then we will close the issue.

Looks consistent. Closing the issue. Thanks @Dev79844

repo: DiceDB/dice


text:
문서화

[x] 개요
[ ] 설치
[ ] 사용 방법

https://wiki.chinchister.com/chintomi

[ ] 추가과제 : 다국어 지원

repo: Dictor/Chintomi


text:
play protect

can't install apk

Do yuo have the apk?

repo: Did-Dog/DogeRat


text:
🛑 Digifact Panama is down

In 956ff7d, Digifact Panama (https://tf.digifact.com.pa) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Digifact Panama is back up in c1cdb5c after 19 minutes.


text:
Audit translation tokens

Go through the en. i18n.json file. Make a project-wide search and check that each token is used. If a token is not used/found, remove the token.
For reference, here is how we can get all i18n tokens in use in our software:
grep -iRoh '{{_ .*}}' * > all.html.i18n.txt
grep -iRoh 'TAPi18n\.__(.*)' * > all.js.i18n.txt

Last time some i18n tags with spaces before the underscore were not found with the search. You can modify the search if you like. Or then double check the missing ones manually.

@bajiat I'm improving the regex to consider also these extra spaces that could be there. I checked few tokens manually, but now I'm working on a shell script to do everything, what do you think about?

authors: bajiat manzapanza

repo: Digipalvelutehdas/APIKA


text:
Menu button loading from folder

A folder in the hierarchy will be watched and when a shortcut and png file of the same name are dropped in, a menu button will be filled in. If there's no matching png file, a default icon will be used instead. Menu Buttons will be filled in in order, with the inner ring being filled in first, and then the outer ring, ignoring any "overflow", with a config flag to specify which shortcuts to use.

Added the loading of buttons from detection of .lnk and .png pairs of files in the gui/shortcuts folder. Each detected shortcut will have the button info from the config file assigned to it in a first-come-first-serve basis.
Before this issue is closed, a check will be needed to keep from exploding when there's more shortcuts than button info.

Menu button loading from folder and dynamic/hot reloads on drag/drop or deletion of files from there is active. Because it depends on a flag, it completely overrides any hard-coded shortcuts in the config file, just taking relevant position and id info.

repo: DigitalFlux/WorkSprite


text:
A Travesty! (First bug encountered V0.39, yes I compiled it)

A very unfortunate event has occurred in Lego City today, it with a heavy heart that I must announce... The ability to change from simple pin type does not work :p I didn't really  do anything special to encounter this, all I was doing was making "new" encoders (basically just a passthrough the the already existing ones so I can rename them,) but in the process I learned that the ability to change pin type is broken. This is completely- fine. Please fix it whenever you can, but I don't know that anybody's day will be ruined by this fact.

It should be disabled for groups, and enabled for single pins.
Does it work for single pins?

NVM, I see the problem. Thanks for the report :/

NVM, I see the problem. Thanks for the feedback :/

Thanks for getting back to me so quickly :) Hopefully it will be a really quick solution without much to do.

@VitoBarra I think tracked down the issue to commit c2dbe38c9aeecd0af0894e3b77d62bde4f24b19e in file Assets/Scripts/Interaction/ChipInteraction.cs
Here:
-        if (selectedSignals.Count == 0)
+        if (IsSomethingSelected)

IsSomethingSelected (always?) returns early
https://github.com/DigitalLogicSimCommunity/Digital-Logic-Sim-CE/blob/646502879423dd1cfe3c062ba785f78cdf32d732/Assets/Scripts/Interaction/ChipInterfaceEditor.cs#L131-L132

yes that definitely is a correct fix, but I’m testing it and even so it seems not to work.
I’m trying to find out what’s going on.

Hm, it does work fine for me with 87e367c92acddb4438fd345b963331477d11b5c9. By fix I mean now wires do connect to same Pin types, both out and in

yep, that works for me too. I was referring to the fact that if you change the wire type and then try to edit again it will show as it is still simple, I don't know if it was  the case also earlier

Oh, I see it now. I'm looking into it

authors: AOx0 VitoBarra crispeeweevile


text:
Change text on OUR PROGRAM

Please match the design below (only text changes)

I'd like to see into this.

It's yours! ;-)

Here you can copy the new text:
Be part of a unique 3-month full-time training program by UnternehmerTUM, Europe's biggest Entrepreneurship Center. There are three batches per year, usually starting in January, May, and September.

authors: BastianRieder bhawna333 lustoykov

repo: DigitalProductschool/website


text:
Selected tab's CloseText disappears

When adding channels, the tab doesn't show the CloseText

Or when hovering over a focused button the CloseText disappears

Cause
the focus property wasn't utilized, but it depended on the hover state, which was the reason for the bug. As shown below:
focusedProperty().addListener(focusEvent -> {
    if(isFocused()) {
        setStyle("-fx-background-color: #0B6623;");
        colorAdjust.setBrightness(0.25);
        hBox.setPadding(modifiedInset);
    } else {
        setStyle("-fx-background-color: #404446;");
        colorAdjust.setBrightness(0);
        hBox.setPadding(defaultInset);
    }
});

hoverProperty().addListener(hoverEvent -> {
    if(!isFocused()) {
        if (isHover()) {
            timeline1.play();
            hBox.setPadding(modifiedInset);
            closeText.setVisible(true);
            closeText.setFont(Font.font(15));
        } else {
            new Timeline(new KeyFrame(Duration.ZERO, new KeyValue(colorAdjust.brightnessProperty(), colorAdjust.brightnessProperty().getValue(), EASE_BOTH)),
                new KeyFrame(Duration.millis(100), new KeyValue(colorAdjust.brightnessProperty(), 0, EASE_BOTH))).play();
            hBox.setPadding(defaultInset);
            closeText.setFont(Font.font(0));
            closeText.setVisible(false);
        }
    }
});

Solution
Use implication
We should use an implication to substitute the focus property
isFocused(Stage)\implies isFocused(Tab)

Which is equivalent to:
\neg isFocused(Stage)\lor isFocused(Tab)

Hence, this will result in this code:
focusedProperty().addListener(focusEvent -> {
    if(!GUI.primaryStage.isFocused() || isFocused()) {
        Tab.focusedTab = this;
        setStyle("-fx-background-color: #0B6623;");
        colorAdjust.setBrightness(0.25);
        closeText.setVisible(true);
        closeText.setFont(Font.font(15));
        hBox.setPadding(modifiedInset);
    } else {
        setStyle("-fx-background-color: #404446;");
        closeText.setVisible(false);
        colorAdjust.setBrightness(0);
        closeText.setFont(Font.font(0));
        hBox.setPadding(defaultInset);
    }
});

The Tab.focusedTab = this; will be addressed below
Use an instance
We can use the instance above to keep track of the focused tab and then check for equality:
hoverProperty().addListener(hoverEvent -> {
    if(Tab.focusedTab != this) {
        if (isHover()) {
            timeline1.play();
            hBox.setPadding(modifiedInset);
            closeText.setVisible(true);
            closeText.setFont(Font.font(15));

        }
        else {
            new Timeline(new KeyFrame(Duration.ZERO, new KeyValue(colorAdjust.brightnessProperty(), colorAdjust.brightnessProperty().getValue(), EASE_BOTH)),
                new KeyFrame(Duration.millis(100), new KeyValue(colorAdjust.brightnessProperty(), 0, EASE_BOTH))).play();
            hBox.setPadding(defaultInset);
            closeText.setFont(Font.font(0));
            closeText.setVisible(false);
        }
    }
});

Result

repo: DigitalRedPanda/Kivarino


text:
🛑 ZL1OTD Repeater is down

In 9d38e4c, ZL1OTD Repeater (https://zl1otd.dvnz.nz) was down:

HTTP code: 502
Response time: 19221 ms

Resolved: ZL1OTD Repeater is back up in 09e0c1c.

repo: DigitalVoiceNZ/upptime


text:
Add School Enrollment Project

Add Link to school enrollment project
Add Description of my role in the project

Done with content. Right now it's a rough draft, but it works.
I will ask Justin & Eric for edits later.


text:
VRS sample SIGSEGVs on Pixel 6 / ARM

Running the VRS sample on Pixel 6 phone produces a SIGSEGV.

I have quickly tested this and this tutorial works on Pixel 4 (Qualcomm) & S22 Ultra (AMD).

repo: DiligentGraphics/DiligentSamples


text:
export IPHONEOS_DEPLOYMENT_TARGET=11 breaks RenderStatePackager

If you set environment variable IPHONEOS_DEPLOYMENT_TARGET to 11 by using:
export IPHONEOS_DEPLOYMENT_TARGET=11
and then run RenderStatePackager, the compilation process always fails with:
metal: warning: using sysroot for 'MacOSX' but targeting 'iPhone' [-Wincompatible-sysroot]
LLVM ERROR: Error opening '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/metal/macos/bin/../lib/clang/31001.363/lib/darwin/libmetal_rt_ios.a': No such file or directory!
Diligent Engine: ERROR in PatchShaderMtl() (Archiver_Mtl.mm, 485): Failed to read shader library
Diligent Engine: ERROR: Failed to compile Metal shaders
Diligent Engine: ERROR in Execute() (RenderStatePackager.cpp, 224): Failed to archive graphics pipeline 'xxxx.vert+xxxx.frag'.
Diligent Engine: CRITICAL ERROR in main() (main.cpp, 151): Failed to archive
This is a problem for us as we have to build for the deployment target 11 and XCode sets this variable as part of the environment for executing custom defined scripts (ie. shader building).
Removing the deployment target environment variable with:
unset IPHONEOS_DEPLOYMENT_TARGET
fixed the problem, but likely compiles the shaders for the wrong deployment target.

Looking into this a bit more, I can confirm that the PSO compilation works after adding unset IPHONEOS_DEPLOYMENT_TARGET in front of the RenderStatePackager invocation, but then I'm getting the following error in the run-time:
Diligent Engine: ERROR in PipelineStateMtlImpl() (PipelineStateMtlImpl.mm, 505): Failed to create Metal render pipeline for PSO 'xxxx.vert+xxxx.frag': Error Domain=AGXMetalA13 Code=3 "Function main0 is using language version 2.4 which is incompatible with this OS." UserInfo={NSLocalizedDescription=Function main0 is using language version 2.4 which is incompatible with this OS.}
Diligent Engine: ERROR in CreateDeviceObject() (RenderDeviceBase.hpp, 511): Failed to create Pipeline State object 'xxxx.vert+xxxx.frag'

@speedym It appears that unsetting the variable before running the packager is the only and correct way to fix this.
The run-time problem seems to be not related to the original issue - apparently the Metal Shading language version is incompatible with the device.

I think it should be possible to set the language version through the command line options that are provided to the packager during the initialization.

With this change DiligentGraphics/DiligentCore@0b826c8 the packager will only compile shaders for MacOS and/or iOS when the corresponding option is specified.
Can you try this and close the issue if you think it solves the problem?

Yup, the issue has been fixed.

authors: TheMostDiligent speedym

repo: DiligentGraphics/DiligentTools


text:
Support for paste for the web backend.

Specific Demand
There is currently an onpaste handler. Unfortunately, the event itself appears to have no payload. It would be great to get a reference to the underlying DataTransfer or to a wrapper.

A platform agnostic wrapper around onpaste would be great. We could reuse FileEngine for the file section of the event and store a list of enums for the items in the paste event.
https://github.com/DioxusLabs/dioxus/pull/1402 exposes the raw web-sys type for all events with a trait.

authors: Emm ealmloff

repo: DioxusLabs/dioxus


text:
dx serve output is not entirely clear

Problem
Running dx serve after initiating a new app logs a panic during compilation, and the status of the serve command is not clear.
Steps To Reproduce
Steps to reproduce the behavior:

Installed dx with cargo install dioxus-cli (0.5.4 on crates.io)
Created a new Dioxus application

> dx new
✔ 🤷   Which sub-template should be expanded? · Fullstack
🤷   Project Name: releasetool
✔ 🤷   Should the application use the Dioxus router? · true
✔ 🤷   How do you want to create CSS? · Vanilla

run: cd releasetool
run: dx serve

Output in gist (too long for github issue): https://gist.github.com/foresterre/3630ef11472c4fdc1523af2397f73818
Expected behavior
Observed effects:

Panic after "Waiting to start building the project..."

-> A panic is usually not a good signal

Panic excerpt from log above:
\ ⚙ Compiling dioxus-fullstack 0.5.0 (git+https://github.com/DioxusLabs/dioxus#44471f4918529fd15a143854984ce3b3d58c07a9\ ⚙ Compiling releasetool 0.1.0 (path+file:///C:/a/releasetool)
build desktop done
- 💼 Waiting to start building the project...                                                                           Dioxus @ v0.5.4 [03:39:29]

    > Hot Reload Mode: RSX
    > Watching: [ src, assets, Cargo.toml, Dioxus.toml ]
    > Custom index.html: None
    > Serve index.html on 404: True

    > Build Features: [ server ]
    > Build Profile: Debug
    > Build took: 81333 millis

Listening on 127.0.0.1:8080
thread 'main' panicked at C:\Users\a\.cargo\git\checkouts\dioxus-1e619ce595d3799d\44471f4\packages\fullstack\src\serve_config.rs:111:37:
Failed to find index.html. Make sure the index_path is set correctly and the WASM application has been built.: Os { code: 2, kind: NotFound, message: "The system cannot find the file specified." }
stack backtrace:

It seemed like the build hung on the latest step: / ⚙ Compiling releasetool 0.1.0  (I killed it after 10 minutes), but in hindsight, it might have completed compilation since this is the serve command 😅

I expected the status of serve to be clear, so I can act accordingly
It wasn't clear immediately whether something still was going on, or whether something had failed, or whether the build was actually completed

Whether still going on: The tool shows a long compilation log, not dissimilar to cargo build, but the latest "compiling" step is never shown to have completed. This makes sense with respect to all other "compiling" steps, but since this command (serve) is intended to run forever, it could be useful to also show whether the step was completed, not just made some form of progression
Something has failed: in the middle of the compilation log, something panicked, but the build went on: I wasn't sure when the program seemed to hang, whether that was causing it (or whether it actually could continue)
Whether the build completed: since this is the serve command, it may very well have succeeded regardless, but only in the middle of the wall of logs you will find this:

- 💼 Waiting to start building the project...                                                                           Dioxus @ v0.5.4 [03:39:29]

    > Hot Reload Mode: RSX
    > Watching: [ src, assets, Cargo.toml, Dioxus.toml ]
    > Custom index.html: None
    > Serve index.html on 404: True

    > Build Features: [ server ]
    > Build Profile: Debug
    > Build took: 81333 millis

Listening on 127.0.0.1:8080

Perhaps this should always stay at the top (or bottom) of the window, instead only show the log stream in the lower part of the window

Rerunning dx serve

Rerunning the whole thing
 dx serve
/ ⚙ Compiling proc-macro2 1.0.79 (registry+https://github.com/rust-lang/crates.io-index)
/ ⚙ Compiling unicode-ident 1.0.12 (registry+https://github.com/rust-lang/crates.io-index)
/ ⚙ Compiling cfg-if 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)
/ ⚙ Compiling autocfg 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)
/ ⚙ Compiling once_cell 1.19.0 (registry+https://github.com/rust-lang/crates.io-index)
/ ⚙ Compiling version_check 0.9.4 (registry+https://github.com/rust-lang/crates.io-index)
/ ⚙ Compiling pin-project-lite 0.2.13 (registry+https://github.com/rust-lang/crates.io-index)
/ ⚙ Compiling log 0.4.21 (registry+https://github.com/rust-lang/crates.io-index)
/ ⚙ Compiling windows_x86_64_msvc 0.48.5 (registry+https://github.com/rust-lang/crates.io-index)
/ ⚙ Compiling parking_lot_core 0.9.9 (registry+https://github.com/rust-lang/crates.io-index)
/ ⚙ Compiling scopeguard 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)
/ ⚙ Compiling futures-core 0.3.30 (registry+https://github.com/rust-lang/crates.io-index)
/ ⚙ Compiling itoa 1.0.11 (registry+https://github.com/rust-lang/crates.io-index)
/ ⚙ Compiling serde 1.0.197 (registry+https://github.com/rust-lang/crates.io-index)
/ ⚙ Compiling smallvec 1.13.2 (registry+https://github.com/rust-lang/crates.io-index)
/ ⚙ Compiling pin-utils 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)
/ ⚙ Compiling futures-task 0.3.30 (registry+https://github.com/rust-lang/crates.io-index)
/ ⚙ Compiling futures-io 0.3.30 (registry+https://github.com/rust-lang/crates.io-index)
/ ⚙ Compiling futures-sink 0.3.30 (registry+https://github.com/rust-lang/crates.io-index)
/ ⚙ Compiling memchr 2.7.2 (registry+https://github.com/rust-lang/crates.io-index)
/ ⚙ Compiling fnv 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)
/ ⚙ Compiling mime_guess 2.0.4 (registry+https://github.com/rust-lang/crates.io-index)
build desktop done
Dioxus @ v0.5.4 [04:05:03]

    > Hot Reload Mode: RSX
    > Watching: [ src, assets, Cargo.toml, Dioxus.toml ]
    > Custom index.html: None
    > Serve index.html on 404: True

    > Build Features: [ server ]
    > Build Profile: Debug
    > Build took: 741 millis

Listening on 127.0.0.1:8080
\ ⚙ Compiling proc-macro2 1.0.79 (registry+https://github.com/rust-lang/crates.io-index)                               \ ⚙ Compiling unicode-ident 1.0.12 (registry+https://github.com/rust-lang/crates.io-index)                             \ ⚙ Compiling cfg-if 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)                                     \ ⚙ Compiling once_cell 1.19.0 (registry+https://github.com/rust-lang/crates.io-index)                                 \ ⚙ Compiling autocfg 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)                                    \ ⚙ Compiling log 0.4.21 (registry+https://github.com/rust-lang/crates.io-index)                                       \ ⚙ Compiling serde 1.0.197 (registry+https://github.com/rust-lang/crates.io-index)                                    - ⚙ Compiling async-trait 0.1.79 (registry+https://github.com/rust-lang/crates.io-index)                               [INFO] dioxus_fullstack::render - Rebuilding vdom
[INFO] dioxus_core::diff::node - creating template self=VNode { vnode: VNodeInner { key: None, template: Cell { value: Template { name: "src\\main.rs:22:5:426", roots: [Dynamic { id: 0 }], node_paths: [[0]], attr_paths: [] } }, dynamic_nodes: [Component(VComponent { name: "Router" })], dynamic_attrs: [] }, mount: Cell { value: MountId(0) } } mount=MountId(0)[INFO] dioxus_core::diff::node - creating template self=VNode { vnode: VNodeInner { key: None, template: Cell { value: Template { name: "C:\\Users\\a\\.cargo\\git\\checkouts\\dioxus-1e619ce595d3799d\\44471f4\\packages\\router\\src\\components\\router.rs:96:5:37083", roots: [Dynamic { id: 0 }], node_paths: [[0]], attr_paths: [] } }, dynamic_nodes: [Component(VComponent { name: "Outlet" })], dynamic_attrs: [] }, mount: Cell { value: MountId(1) } } mount=MountId(1)
[INFO] dioxus_core::diff::node - creating template self=VNode { vnode: VNodeInner { key: None, template: Cell { value: Template { name: "src\\main.rs:6:17:196", roots: [Dynamic { id: 0 }], node_paths: [[0]], attr_paths: [] } }, dynamic_nodes: [Component(VComponent { name: "Home" })], dynamic_attrs: [] }, mount: Cell { value: MountId(2) } } mount=MountId(2)
[INFO] dioxus_core::diff::node - creating template self=VNode { vnode: VNodeInner { key: None, template: Cell { value: Template { name: "src\\main.rs:40:5:742", roots: [Dynamic { id: 0 }, Element { tag: "div", namespace: None, attrs: [], children: [Element { tag: "h1", namespace: None, attrs: [], children: [DynamicText { id: 1 }] }, Element { tag: "button", namespace: None, attrs: [Dynamic { id: 0 }], children: [Text { text: "Up high!" }] }, Element { tag: "button", namespace: None, attrs: [Dynamic { id: 1 }], children: [Text { text: "Down low!" }] }, Element { tag: "button", namespace: None, attrs: [Dynamic { id: 2 }], children: [Text { text: "Get Server Data" }] }, Element { tag: "p", namespace: None, attrs: [], children: [DynamicText { id: 2 }] }] }], node_paths: [[0], [1, 0, 0], [1, 4, 0]], attr_paths: [[1, 1], [1, 2], [1, 3]] } }, dynamic_nodes: [Component(VComponent { name: "Link" }), Text(VText { value: "High-Five counter: 0" }), Text(VText { value: "Server data: ..." })], dynamic_attrs: [[Attribute { name: "onclick", value: Listener, namespace: None, volatile: false }], [Attribute { name: "onclick", value: Listener, namespace: None, volatile: false }], [Attribute { name: "onclick", value: Listener, namespace: None, volatile: false }]] }, mount: Cell { value: MountId(3) } } mount=MountId(3)
[INFO] dioxus_core::diff::node - creating template self=VNode { vnode: VNodeInner { key: None, template: Cell { value: Template { name: "C:\\Users\\a\\.cargo\\git\\checkouts\\dioxus-1e619ce595d3799d\\44471f4\\packages\\router\\src\\components\\link.rs:282:5:32703", roots: [Element { tag: "a", namespace: None, attrs: [Dynamic { id: 0 }, Dynamic { id: 1 }, Dynamic { id: 2 }, Dynamic { id: 3 }, Dynamic { id: 4 }, Dynamic { id: 5 }, Dynamic { id: 6 }, Dynamic { id: 7 }], children: [Dynamic { id: 0 }] }], node_paths: [[0, 0]], attr_paths: [[0], [0], [0], [0], [0], [0], [0], [0]] } }, dynamic_nodes: [Fragment([VNode { vnode: VNodeInner { key: None, template: Cell { value: Template { name: "src\\main.rs:40:5:842", roots: [Text { text: "Go to blog" }], node_paths: [], attr_paths: [] } }, dynamic_nodes: [], dynamic_attrs: [] }, mount: Cell { value: MountId(18446744073709551615) } }])], dynamic_attrs: [[Attribute { name: "onclick", value: Listener, namespace: None, volatile: false }], [Attribute { name: "href", value: Text("/blog/0"), namespace: None, volatile: false }], [Attribute { name: "onmounted", value: Listener, namespace: None, volatile: false }], [Attribute { name: "dioxus-prevent-default", value: Text("onclick"), namespace: None, volatile: false }], [Attribute { name: "class", value: None, namespace: None, volatile: false }], [Attribute { name: "rel", value: None, namespace: None, volatile: false }], [Attribute { name: "target", value: None, namespace: None, volatile: false }], []] }, mount: Cell { value: MountId(4) } } mount=MountId(4)
[INFO] dioxus_core::diff::node - creating template self=VNode { vnode: VNodeInner { key: None, template: Cell { value: Template { name: "src\\main.rs:40:5:842", roots: [Text { text: "Go to blog" }], node_paths: [], attr_paths: [] } }, dynamic_nodes: [], dynamic_attrs: [] }, mount: Cell { value: MountId(5) } } mount=MountId(5)
[INFO] dioxus_fullstack::render - Suspense resolved
spinning up hot reloading
hot reloading ready
🔥 Hot Reload WebSocket connected
🔮 Finding updates since last compile...
Connected to hot reloading 🚀
finished
Server received: Hello from the server!

screenshots
I've only two screenshots which were both taken after rerunning the dx serve command a few times. They both show the tool output after running dx serve
A:

B:

Environment:

Dioxus version: 0.5.0
Rust version: rustc 1.75.0 (82e1608df 2023-12-21)
OS info: Windows 11 x64
App platform: fullstack

Questionnaire

[ ] I'm interested in fixing this myself but don't know where to start
[ ] I would like to fix and I have a solution
[ ] I don't have time to fix this right now, but maybe later

The underlying bug is a duplicate of #2090 but the TUI is admittedly not very clear. However, we've totally revamped how do we the CLI and should be better and catching and relaying panics.

authors: foresterre jkelleyrtp


text:
[Suggestion] Upgrade for block placer to activate multiple sides of a block

Describe the feature you'd like to have added
Right now the block placer can only activate on one face of a block. Using the placers for goo automation the way they are currently set up means you can only use one face at a time per machine. Having an upgrade of some kind that will allow placing on multiple faces of a block would help efficiently automating the goo materials.
Additional information
No response

I'll consider this, but I think it gets too complex too quickly. I'll add it to the possible feature list in the future


text:
🛑 TSU is down

In f0badbf, TSU (https://TSU.DLCDevelopment.repl.co) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TSU is back up in cdbdda6.

repo: Discord-Development-Centre/status


text:
SteamOS suddenly not recognizing displays

Are you using the latest driver?
Yes

Are you using the latest EVDI version?
Yes: 1.14.4

If you are using a DisplayLink device, have you checked 'troubleshooting'
on DisplayLink's website?
Yes: I couldn't find anything related to my issue

Is this issue related to evdi/kernel?
I am not sure if it is evdi or DisplayLinkManager

Linux distribution and its version: Linux 6.1.52-valve16-1-neptune-61 x86_64
Linux kernel version: 6.1.52-valve16-1-neptune-61
Xorg version (if used): X.Org X Server 1.21.1.8
Desktop environment in use: (KDE) Plasma 5.27.5

I was able to compile the 1.14.4 version after patching parts of the evdi_fb.c file to include the earlier kernel of 6, 1, 51 or newer instead of 6, 2, 0 of evdi and install it just fine and it was working on my steamdeck with my displaylink dock until today when I took in some desktop (plasma updates) i am not sure what exactly they were but they wound up messing up my installation. The displaylink service was cleared out of my steamdeck. I was able to reinstall the service and get it running. However 2 of my three monitors will not show up in the display control panel.
I tried running xrandr and it only shows the local gpu.
I tried checking sudo systemctl status displaylink.service and it says displaylink is up and running. I have rebooted the steamdeck a few times. I am not entirely sure where the root issue is. I did wind up fully uninstalling evdi and recompiling it from source as well, then reinstalled and it was successfully installed but still my other screens are not recognized. The doc works on my Win 11 Laptop and M1 MBP.
DisplayLinkManager.log
DisplayLinkManager.old.log
FirmwareTrace.log
FirmwareTrace.old.log
The old.log files are from before the updates that the desktop environment said needed to be updated. I am not sure where to look to get to root cause but this for sure is a software issue. Please guide me through what else would be needed to get to root cause.
also worth mentioning i am sure this wasn't a major steamOS system updated because I was able to get this working great on the neptune-61 build
Thanks!

I figured out my issue. I did somehow wind up messing up my steam os install as no games would run after that. I reinstalled steamos and updated fully through the steam update service. Then I recompiled the solution making sure to apply the kernel patch to 6, 1, 51 (which ill submit a branch for) and ensured that the steamos readonly mode stayed disabled. This was the most important part.

repo: DisplayLink/evdi


text:
[RFC] Change property names of src in SfImage

Instead of small and normal perhaps we could use mobile and desktop which is more descriptive and can't be misunderstood (for example normal can be misunderstood as thumb or sth)
@leomp12 ?

Yup, sounds better!
Just to remember, it would be a breaking change, SfGallery and SfProductCard must be updated after that.

I'll take it

@NessaMr

@leomp12 awesome, thanks. Yeah I'm aware of it

repo: DivanteLtd/storefront-ui


text:
feat(atoms): add SfColor component

Related issue
Closes #590
Scope of work
Created button for filtering colors
Checklist

[ ] I followed composition rules for my component
[ ] I tested the component in most common device sizes (can be tested in Storybook from viewport addon in top menu)

@filrak Added lighter border, like on VSF theme

@aniamusial blocked, we should wait for the design

authors: aniamusial pspaczek