use Mic, app chrashes by UIView change

Hi,
In the main ViewController I use AudioKit (start) in the loadView do some actions in update.
When I change the view per swipe (set up in Storyboard) the App crashes by going back from the second ViewController to the main GLKView with AudioKit.
!destNodeMixerConns.empty() in AVAudioEngineGraph.mm
Search around, having an idea, asking here, keep hacking...
thx tom

Ok Singleton… and
on viewWillDisappear
[AudioKit stop];
does the trick!
did it on viewDidUnload but did't work..?


JFXDecorator closes all the application and not only his own window

I use JFXDecorator to make some popups Dialog.
The problem is when I apply JFXDialog on them, when I close the popup, all my application is closed :/
Any issue about it or bad use from me ?

By default the close button in JFXDecorator calls Platform.exit() which will close your application.
however what you need to do is to change the close action by calling
decorator.setOnCloseButtonAction(Runnable);

yep it works thanks :)


agServer.exchange.subscribe(channel) does not receive channel messages sent by other AG Servers on that channel

I am running agc and while publishing into global channels works fine for clients in the sense that all ag clients connected to all servers in the cluster get the messages published ok, if a server instance does agServer.exchange.transmitPublish('channel', somedata) , only THAT server gets the message on that channel, even though the other servers in the cluster are also doing agServer.exchange.subscribe(channel).   The use case for this is for AG server to AG server communication on pub/sub channels.

I am running agc and while publishing into global channels works fine for clients in the sense that all ag clients connected to all servers in the cluster get the messages published ok, if a server instance does agServer.exchange.transmitPublish('channel', somedata) , only THAT server gets the message on that channel, even though the other servers in the cluster are also doing agServer.exchange.subscribe(channel)...

Thanks for the report, I will try to look into this soon.

Glad to help if you tell me where to look :)

@sreplans Before I start digging into this, can you double check that you are running both agc-broker and agc-state and that the logs on agc-state detect all the brokers. Also, you can try running all the instances on your localhost just to double check that it's not some weird network issue.

Hi @jondubois yes, I do verify the above, and yes trying in localhost .  I posted more info on gitter.im, and apparently, there was another developer who reported the same issue a while back.
The agc-worker instance 3f6b42c6-6685-4228-8046-fa23279d51f3 at address ::ffff:<IP_ADDRESS> joined the cluster on socket BmzbvPSl-8Ey0Dz5AAAS The agc-worker instance 0616409d-8ffc-4565-8d57-1a17b7b172c7 at address ::ffff:<IP_ADDRESS> joined the cluster on socket HIc6mxEhcXbTo8hxAAAT

@sreplans I was able to reproduce the issue and it should now be fixed in<EMAIL_ADDRESS>(asyngular-server@6.2.1). The new 6.1.1 image was also published on Docker Hub. Please close this issue if it has been resolved for you.

@jondubois Excellent works as advertised now ! thanks!


YAUS : Week 9 updates

Project
YAUS
Changes
Week 9 updates
Notes
If there are any further notes.

@Apoorvgarg-creator
Can you please review this PR

Hey @Apoorvgarg-creator
Can you please review this one and let me know if any changes has to be made


Not able to telnet new server

Hi ,
I used instruction provided to build server .docker-compose file is given below :+1:
version: '2'
services:
mail:
image: tvial/docker-mailserver:2.2
hostname: mail
domainname: myairflowtesting.com
container_name: mail
ports:
- "25:25"
- "143:143"
- "587:587"
- "993:993"
volumes:
- maildata:/var/mail
- mailstate:/var/mail-state
- ./config/:/tmp/docker-mailserver/
environment:
- ENABLE_SPAMASSASSIN=1
- ENABLE_CLAMAV=0
- ENABLE_FAIL2BAN=1
- ENABLE_POSTGREY=1
- ONE_DIR=1
- DMS_DEBUG=0
cap_add:
- NET_ADMIN
volumes:
maildata:
driver: local
mailstate:
driver: local
started the server
docker-compose up -d mail
tried to telnet the server but getting error
telnet mail.myairflowtesting.com 25
telnet: mail.myairflowtesting.com: Name or service not known
mail.myairflowtesting.com: Unknown host
mail log
Jul 23 15:26:23 mail dovecot: master: Dovecot v2.2.9 starting up
Jul 23 15:26:23 mail opendkim[148]: OpenDKIM Filter v2.9.1 starting (args: -x /etc/opendkim.conf -u opendkim -P /var/run/opendkim/opendkim.pid)
Jul 23 15:26:23 mail opendmarc[164]: OpenDMARC Filter v1.2.0 starting (args: -c /etc/opendmarc.conf -u opendmarc -P /var/run/opendmarc/opendmarc.pid -p inet:8893@localhost)
Jul 23 15:26:23 mail opendmarc[164]: trusted authentication services: mail.myairflowtesting.com
Jul 23 15:26:23 mail dovecot: ssl-params: Generating SSL parameters
Jul 23 15:26:23 mail postgrey[175]: Process Backgrounded
Jul 23 15:26:23 mail postgrey[175]: 2017/07/23-15:26:23 postgrey (type Net::Server::Multiplex) starting! pid(175)
Jul 23 15:26:23 mail postgrey[175]: Binding to TCP port 10023 on host <IP_ADDRESS> with IPv4
Jul 23 15:26:23 mail postgrey[175]: Setting gid to "111 111"
Jul 23 15:26:23 mail postgrey[175]: Setting uid to "107"
Jul 23 15:26:23 mail postgrey[175]: FATAL: ERROR: can't open lock file: /var/lib/postgrey/postgrey.lock#012
Jul 23 15:26:27 mail postfix/master[972]: fatal: open lock file /var/lib/postfix/master.lock: cannot open file: Permission denied
Jul 23 15:26:29 mail amavis[1003]: starting. /usr/sbin/amavisd-new at mail.myairflowtesting.com amavisd-new-2.7.1 (20120429), Unicode aware
Jul 23 15:26:29 mail amavis[1022]: Net::Server: Group Not Defined.  Defaulting to EGID '112 112'
Jul 23 15:26:29 mail amavis[1022]: Net::Server: User Not Defined.  Defaulting to EUID '108'
Jul 23 15:26:29 mail amavis[1022]: Module Amavis::Conf        2.303
Jul 23 15:26:29 mail amavis[1022]: Module Archive::Zip        1.30
Jul 23 15:26:29 mail amavis[1022]: Module BerkeleyDB          0.54
Jul 23 15:26:29 mail amavis[1022]: Module Compress::Zlib      2.06
Jul 23 15:26:29 mail amavis[1022]: Module Convert::TNEF       0.18
Jul 23 15:26:29 mail amavis[1022]: Module Convert::UUlib      1.4
Jul 23 15:26:29 mail amavis[1022]: Module Crypt::OpenSSL::RSA 0.28
Jul 23 15:26:29 mail amavis[1022]: Module DB_File             1.827
any help would be appreciable ...

after DMS_DEBUG=1
logs:

ENV

HOSTNAME=mail.myairflowtesting.com
DMS_DEBUG=1
VIRUSMAILS_DELETE_DELAY=7
ENABLE_CLAMAV=0
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENABLE_FAIL2BAN=1
ENABLE_SPAMASSASSIN=1
PWD=/
SHLVL=1
HOME=/root
ONE_DIR=1
DEBIAN_FRONTEND=noninteractive
ENABLE_POSTGREY=1
_=/usr/bin/printenv

docker-mailserver

Initializing setup
Registering check,setup,fix,misc and start-daemons functions

_check_environment_variables() registered
_check_hostname() registered
_setup_default_vars() registered
_setup_dovecot() registered
_setup_dovecot_local_user() registered
_setup_postgrey() registered
_setup_dkim() registered
_setup_ssl() registered
_setup_docker_permit() registered
_setup_mailname() registered
_setup_amavis() registered
_setup_dmarc_hostname() registered
_setup_postfix_hostname() registered
_setup_dovecot_hostname() registered
_setup_postfix_sasl() registered
_setup_postfix_over_configuration() registered
_setup_postfix_sasl_password() registered
_setup_security_stack() registered
_setup_postfix_aliases() registered
_setup_postfix_vhost() registered
_setup_environment() registered
_fix_var_mail_permissions() registered
_fix_var_amavis_permissions() registered
_misc_save_states() registered
_start_daemons_cron() registered
_start_daemons_rsyslog() registered
_start_daemons_dovecot() registered
_start_daemons_opendkim() registered
_start_daemons_opendmarc() registered
_start_daemons_postgrey() registered
_start_daemons_postfix() registered
_start_daemons_fail2ban() registered
_start_daemons_amavis() registered
Checking configuration
Check that there are no conflicts with env variables [_check_environment_variables]
Check that hostname/domainname is provided or overidden (no default docker hostname/kubernetes) [_check_hostname]
Domain has been set to myairflowtesting.com
Hostname has been set to mail.myairflowtesting.com
Configuring mail server
Setting up default variables [_setup_default_vars]
Set ENABLE_LDAP=0
Set ENABLE_FETCHMAIL=0
Set OVERRIDE_HOSTNAME=
Set ENABLE_MANAGESIEVE=0
Set DMS_DEBUG=1
Set ENABLE_POP3=0
Set ENABLE_SASLAUTHD=0
Set ENABLE_CLAMAV=0
Set SMTP_ONLY=0
Set ENABLE_FAIL2BAN=1
Set ENABLE_SPAMASSASSIN=1
Set POSTGREY_DELAY=300
Set POSTGREY_TEXT=Delayed by postgrey
Set ENABLE_POSTGREY=1
Set POSTGREY_MAX_AGE=35
Setting up Dovecot
Setting up Dovecot Local User
Checking file line endings
Regenerating postfix user list
user 'user1' for domain 'myairflowtesting.tld' with password '********'
Configuring postgrey
cp: cannot stat '/tmp/docker-mailserver/whitelist_clients.local': No such file or directory
Setting up DKIM
DKIM keys added for: domain.tld  myairflowtesting.tld
Changing permissions on /etc/opendkim
Setting up SSL
Setting up PERMIT_DOCKER Option
Adding container ip in my networks
Setting up Mailname
Creating /etc/mailname
Setting up Amavis
Applying hostname to /etc/amavis/conf.d/05-node_id
Setting up dmarc
Applying hostname to /etc/opendmarc.conf
Applying hostname and domainname to Postfix
Applying hostname to /etc/postfix/main.cf
Applying hostname to Dovecot
Applying hostname to /etc/dovecot/conf.d/15-lda.conf
Setting up Postfix Override configuration
No extra postfix settings loaded because optional '/tmp/docker-mailserver/postfix-main.cf' not provided.
Setting up Postfix SASL Password
Warning: 'SASL_PASSWD' is not provided. /etc/postfix/sasl_passwd not created.
Setting up Security Stack
Enabling and configuring spamassassin
Clamav is disabled. You can enable it with 'ENABLE_CLAMAV=1'
Fail2ban enabled
Setting up Postfix Aliases
Setting up Postfix vhost
Setting up /etc/environment
Checking /var/mail permissions
Fixing /var/mail permissions
Checking $amavis_state_dir permissions
Permissions in /var/mail-state/lib-amavis look OK
Starting Misc
Consolidating all state onto /var/mail-state
Destination /var/mail-state/spool-postfix exists, linking /var/spool/postfix to it
Destination /var/mail-state/lib-postfix exists, linking /var/lib/postfix to it
Destination /var/mail-state/lib-amavis exists, linking /var/lib/amavis to it
Destination /var/mail-state/lib-clamav exists, linking /var/lib/clamav to it
Destination /var/mail-state/lib-spamassasin exists, linking /var/lib/spamassasin to it
Destination /var/mail-state/lib-fail2ban exists, linking /var/lib/fail2ban to it
Destination /var/mail-state/lib-postgrey exists, linking /var/lib/postgrey to it
Starting mail server
Starting cron  [ OK ]
Starting rsyslog  [ OK ]
Starting dovecot services  [ OK ]
Starting opendkim  [ OK ]
Starting opendmarc  [ OK ]
Starting postgrey  [ OK ]
Starting postfix  [ OK ]
Starting fail2ban  [ OK ]
Starting amavis  [ OK ]

mail.myairflowtesting.com is up and running

tail: unrecognized file system type 0x794c7630 for '/var/log/mail/mail.log'. please report this to<EMAIL_ADDRESS>reverting to polling
Jul 23 17:24:22 mail amavis[1024]: Creating db in /var/lib/amavis/db/; BerkeleyDB 0.54, libdb 5.3
[kss_admin@localhost docker-mail]$ telnet mail.myairflowtesting.com 25
telnet: mail.myairflowtesting.com: Name or service not known
mail.myairflowtesting.com: Unknown host

Obviously the sub-domain mail.myairflowtesting.com is not resolving. Did you buy/rent the domain and set up the sub-domain correctly? This has nothing to do with the mail server itself.

Thanks for replying. I have not bought any domain but trying to set up this server for testing out my mail component.. Do I need to make extra configuration to make this local mail server work for mine testing only..

If you just want to telnet to your mail server you can just telnet <IP_ADDRESS> 25.

Is the issue solved?


[Question] Can pac4j used in a Scala/Spray application ?

I'm trying to secure my Spray based single page web application. Will I be able to use pac4j to secure my Spray APIs ?

There is currently no pac4j implementation for Spray, although I created: https://github.com/pac4j/spray-pac4j for it.
I don't know Spray, but if you were to develop it, you would need to create a specific SprayWebContext and maybe a SprayHttpActionAdapter if actions performed on the web context need to be turned into specific results.
You would need some interceptor mechanism to secure url which would rely on the DefaultSecurityLogic, some controllers for callbacks handling (based on the DefaultCallbackLogic) and application logout (based on the DefaultApplicationLogoutLogic).
If you want to contribute this implementation, I'll be happy to provide you with more details.

I'll open a discussion on the Spray mailing list in september (when people will be back from holidays).


Zero 3, async_inplace_copy_grad_to_fp32_buffer_from_gpu differences between code and paper.

Hi,
I am learning the implementation of async_inplace_copy_grad_to_fp32_buffer_from_gpu from
https://github.com/microsoft/DeepSpeed/blob/4601885972/deepspeed/runtime/zero/stage3.py#L1570
I noticed there are some gaps between the code and the description of the paper (ZeRO-Offload: Democratizing Billion-Scale Model Training).
As shown in Figure 3 of the paper, it should be that the fp16 gradients are copying from gpu to cpu. However, in the code, it is the fp32 gradients being copied, which is 4M in this case, different from 2M mentioned in the paper.
I wonder if my understanding is correct? If so, why the code and paper are different. (for accuracy considerations? or some other reasons?)

@feifeibear, good catch! The reason why the code and paper are different for this piece is due to PyTorch performance limitations . Converting the fp16 tensors to fp32 tensors on the CPU with PyTorch is super slow. So instead we convert it to fp32 on the GPU before moving it to CPU so that we don't have to make that conversion on the CPU. It is faster to communicate in fp32 than to communicate in fp16 then convert it in CPU using the pytorch conversion operators.

Thanks for your reply. That makes sence.


Use the defaults.DeviceSetReplica value when dividing the count

If replica==0, the code sets the replica to defaults.DeviceSetReplica and then divides the count by 3 (the value of defaults.DeviceSetReplica). It is better to use the same value in both cases instead of a hardcoded value.

Something's wrong, there shouldn't be ten commits in this PR... nonetheless, I don't think we should do this. If we still have StorageClusters created with replica 0 that rely on this behavior and then change the internal default to something other than 3, it will break their clusters.

Something's wrong, there shouldn't be ten commits in this PR... nonetheless, I don't think we should do this. If we still have StorageClusters created with replica 0 that rely on this behavior and then change the internal default to something other than 3, it will break their clusters.

Strange - I didn't notice the 10 commits. Will clean those up.
The problem here is that we are setting the replica value to defaults.DeviceSetReplica (whose value is 3) but dividing by the hardcoded value 3. This could lead to very different values if the 2 don't match. This could end up with a number of storageClassDeviceSets which do not equal to count. if we are going to manipulate the data, we should use the same value throughout.
However, the larger problem is that count may not be divisible by 3 in which case we have an incorrect value anyway.

I see a merge master commit here. I recommend using git rebase instead of git merge.
You should fetch current origin, rebase on current upstream master, resulting in just a single patch on top (for all I can tell from the commits).


Setup Github actions workflow in Spring boot application.

Please don't forget to assign yourself before you begin working @Ogenbertrand


Add es prometheus exporter

What this PR does / why we need it:
This PR creates a sidecar Prometheus exporter container to the Elasticsearch client service. It also adds a servicemonitor that can be enabled in order to communicate with Prometheus.
This PR is very useful because it makes it easy to connect Elasticsearch to Prometheus. Prometheus can be used to consolidate logging of all services and applications, including ones outside of the elastic stack.
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
This is more of an additional feature than a bug fix. I think it's useful to provide people to an array of monitoring options. This PR adds an additional monitoring option for people who want to monitor their deployment of the elasticsearch helm chart.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

/assign @rendhalver

Just making you aware that there exists a chart for this in: https://github.com/helm/charts/tree/master/stable/elasticsearch-exporter already

This PR would bundle an exporter and servicemonitor with elasticsearch within the same chart, making it super convenient to work with prometheus.

I tend to agree with @davidkarlsen. If there is already a chart for it we should just use that.
stable/elasticserarch-exporter does look like a good candidate to add as a requirement to the incubator/elastic-stack chart.

@rendhalver +1 to that - adding it as an opt-in in the stack which is a complete chart for it all

I will run up a PR for that.
@chenchik Are you using the elastic-stack chart?

I'm using the elasticsearch chart specifically. Outside of the exporter, the servicemonitor object is the other addition to this chart with the PR. Could we incorporate that part of the PR?

Do you use Kibana and logstash on top of Elasticsearch?

@rendhalver For the use-case that inspired this monitoring work, ElasticSearch is used standalone as a component of an application without Logstash/Fluentd.

A difference between this patch and the standalone exporter chart is that the exporter is a sidecar on the client node.
This reduces operator config as you don't have to synchronize your Service names for the exporter chart installation.
It's also colocated with the client api pod, but that's not a huge differentiator for elasticsearch as it could be for other apps since the client is already external to the data source.
(This makes a big difference though if you use this chart to run as a single node cluster, though.)

The ServiceMonitor addition is a notable opt-in feature of this patch as it makes integration with kube-prometheus much easier. This is inspired by prior art from stable/rabbitmq-ha.
When we were consuming the HA RabbitMQ chart, these options made it trivial to integrate with our monitoring stack.
I don't see a major issue with adding the exporter and servicemonitor to this chart as long as both features are optional, as they should be high value and low maintenance.

No, I'm using Elasticsearch as part of an API component. I need to collect metrics related to application health/performance but I don't need to collect logs with Kibana (that is already taken care of by something else).

Bundling this as a sidecar is what is already done in postgres, which is quite handy, efficient and simple. I would be in favor of not extending the existing exporter chart.
About the ServiceMonitor, it would allow people like me to not having to extend elasticsearch chart just to add it.

Should we close this in favor of using elastic-stack?

Yes. I opened #8616 on elastic-stack to add the exporter.

Note that since our last discussion, redis and rabbitmq charts adopted the side-car container approach about exporter.

Sounds like a good plan to me @desaintmartin.
I will try and find some time to replicate that into the exporter chart.

Other charts have set a precedence of using the sidecar.
IMO it's useful to have this option, and the maintenance burden is minimal.


[ChannelTabs] Request: Server Name for Duplicate text channel names

It gets confusing if you have 5 different General tabs open with no way to discern between them.
A simple Icon of the server the tab is in, or group/user if for some reason people want them to be all similar. Or have the server name then "- #channelname" after

This is sort of addressed by the addition of server icons in the latest release

Yes, that is why I added the icons (87aa75badf175e0b491d17d10d5090634c4a52a4). I won't add the guild name because that would take too much space, meaning you would either just see the guild name and not even (or only parts of) the channel name or you would have tab headers that are very wide which would look awful imo


Dragging from search result gives native selection

Testing #44293

search for something
drag from the search result

Note: The same issue exists when dragging from a problem in the PROBLEMS view.

Same as https://github.com/Microsoft/vscode/issues/44517


coffee-script compilation fails when project is included in another npm module with coffee-script as dependency

https://github.com/dropbox/amqp-coffee/pull/33 or installing 0.1.22-rc4 should fix this.  thanks for the report.


Getting this error => "Warning: Did not expect server HTML to contain a

[x ] I have searched the issues of this repository and believe that this is not a duplicate.

I am getting the following error in my React / Next.js app:
Warning: Did not expect server HTML to contain a style in div.
This affects the way the page is rendered, with a lot of content either not rendered or without styles. I have not been able to pinpoint the origin of this error and have tried different things, i.e. configuring the _document.js page.

@danielrvoigt Could you share the repo you are working on so that we can help you?

Unfortunately I can't share the repo publicly.


Add concurrency to e2e-upgrade tests

The changes on this PR helps to decrease the test run time significantly. During testing if this was possible, a lot of flakes were being caused by the egress-gateway, egress-gateway-with-l7-policy and from-cidr-host-netns tests which is why they run separately without concurrency and then all the other tests run parallel afterwards.
You can find 6 successful runs in https://github.com/cilium/cilium/actions/runs/11220270835. The attempt #4 that failed was caused by a faulty connection to one.one.one.one.

Name
Before
After
Time Decreased

Test 1
00:49:18
00:25:14
-48.82%

Test 2
00:46:53
00:24:37
-47.49%

Test 3
00:47:12
00:25:14
-46.54%

Test 4
00:55:41
00:32:41
-41.30%

Test 5
00:52:23
00:28:58
-44.70%

Test 6
01:07:00
00:38:44
-42.19%

Test 7
01:10:00
00:39:11
-44.02%

Test 8
00:56:24
00:32:19
-42.70%

Test 9
00:54:19
00:32:27
-40.26%

Test 10
00:48:46
00:25:52
-46.96%

Test 11
01:04:00
00:31:34
-50.68%

Test 12
01:03:00
00:37:17
-40.82%

Test 13
00:46:53
00:22:37
-51.76%

Test 14
01:01:00
00:37:01
-39.32%

Test 15
00:58:01
00:32:17
-44.36%

Test 16
01:02:00
00:35:16
-43.12%

Test 17
01:01:00
00:33:11
-45.60%

Test 18
00:59:33
00:31:09
-47.69%

Test 19
01:02:00
00:34:44
-43.98%

Test 20
01:04:00
00:35:07
-45.13%

Test 21
01:01:00
00:39:52
-34.64%

Test 22
01:05:00
00:35:15
-45.77%

Test 23
00:30:29
00:16:50
-44.78%

/ci-e2e-upgrade

/ci-e2e-upgrade

/ci-e2e-upgrade

/ci-e2e-upgrade

/ci-e2e-upgrade

/ci-e2e-upgrade

/ci-e2e-upgrade

/ci-e2e-upgrade

/ci-e2e-upgrade

/ci-e2e-upgrade

/ci-e2e-upgrade

/ci-e2e-upgrade

/test

/ci-e2e-upgrade

/test

@julianwiedmann @joestringer It's ready for review

/test

/ci-e2e-upgrade

/ci-e2e-upgrade

/ci-e2e-upgrade

/ci-e2e-upgrade

/ci-e2e-upgrade

/test


cordchart added to plugin and ref ts files

Hi @liorpa7, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;


Issues When Saving Segmentation Data in .dcm Format (with Potential Solution)

Dear Devs,
First of all, thank you very much for developing this outstanding program.
I have recently encountered an issue with saving segmentations in the .dcm format.
Let me provide some more details:
System Specifications:
•	CPU: Intel 13900F
•	Memory: 32 GB
•	GPU: Nvidia 4090
•	OS: Rocky Linux release 9.4 (Blue Onyx)
MITK Version: v2023.12
MITK Build: Workbench
Detailed Issue Description:
MITK crashes while saving annotations in the .dcm format and displays the following message:
./MitkWorkbench.sh: line 6:  4253 Aborted                 (core dumped) "$binpath/bin/$appname" "$@"
Replication Steps:
1	Click on ‘Open File’ and load a .mitk project file that includes DICOM files (CT and PET) and segmentation data performed on the CT.
2	Right-click on the segmentation data in the data manager.
3	Select ‘Save’.
4	Select the .dcm file format and click on ‘Save’.
5	MITK crashes.
Note that saving the segmentation data in the .nrrd format does not result in MITK crashing.
Potential Solution:
I observed the following after loading the .mitk project file:
I had moved the folders containing the CT and PET image series after generating the .mitk project file.
Upon checking the MITK.IO.reader.inputlocation (by right-clicking on the CT image series and selecting ‘Show Details’), I noticed that it still pointed to the path where the image series were previously stored.
I then started a new project, loaded the CT and PET image series from the new path, repeated the segmentation, and saved the segmentation file in the .dcm format successfully.

I also tried saving the new project as a .mitk project file. After loading the new .mitk project file in a new MITK session, I checked the MITK.IO.reader.inputlocation (which now pointed to the correct and existing path to the image series), and saving the segmentation data in the .dcm format was successful.
I believe the crashes are related to the outdated paths to the CT and PET image series contained in the .mitk project file.
This issue can also be replicated on the v2024.06 released version on an M2 MacBook Air running Sonoma 14.5.
Thanks again, and I hope this post can help colleagues experiencing similar issues.

Thanks for the report @gloreth69! Sorry for the delay, we just came back from our summer break. We'll have a look at the issue in the upcoming days and let you know of any progress.


Fix: document ignored_warnings_from setting

documented the 'ignored_warning_from' section in references of solidity-compiler doc
Closes: https://github.com/foundry-rs/book/issues/1114

Oh yea remember it now.. great that it's closing now, thanks


Update fmpeg.wasm to v0.9.8

Context
Version 0.9.8 of @ffmpeg/ffmpeg contains some security fixes and minor enhancements.
Summary
Simply updates the dependency.
Relevant Technical Choices

To-do

N/A
User-facing changes

N/A
Testing Instructions

QA

[ ] This is a non-user-facing change and requires no QA

This PR can be tested by following these steps:

Ensure video optimization on upload still works as expected.

UAT

[ ] UAT should use the same steps as above.

This PR can be tested by following these steps:

Reviews
Does this PR have a security-related impact?

Does this PR change what data or activity we track or use?

Does this PR have a legal-related impact?

Checklist

[x] This PR addresses an existing issue and I have linked this PR to it in ZenHub
[x] I have tested this code to the best of my abilities
[x] I have verified accessibility to the best of my abilities (docs)
[x] I have verified i18n and l10n (translation, right-to-left layout) to the best of my abilities
[x] This PR contains automated tests (unit, integration, and/or e2e) to verify the code works as intended (docs)
[x] I have added documentation where necessary
[x] I have added a matching Type: XYZ label to the PR

Fixes #7411

Should the package lock file also be updated?
Has this file be uploaded to the cdn?

Should the package lock file also be updated?

🤦  forgot to push that change

Has this file be uploaded to the cdn?

Yes


Multiple files handled sequentially

A workaround for #171: when there are several files to process, they are handled in sequence with async.eachSeries to avoid clashes between different instances of PhantomJS.

Atm, this is causing our AppVeyor build to fail though I'm not quite sure why. It's been flaky in the past. Taking another look.

@XhmikosR I'm personally fine with moving in the async.eachSeries direction until the issue this works around is tackled in uncss upstream. Do you have any opinions on it?

@addyosmani: I restarted the AppVeyor build and it's passing fine. I'll leave it to you for the final decision but as far as I can tell the patch makes sense.
Personally, I'd like to use tilde for the async dependency for consistency.

Thank you for noticing - changed that.

Is there a fix or workaround i can use for the meantime


Pass action column content from parent via scoped slot

Added a none breaking change that makes it possible to not depend on a globally defined action column component.
One can pass the action column content via the 'actions' slot and define the methods locally on the parent.
Like:
<template slot="actions" scope="props">

           <button class="btn btn-default" @click="onClick('edit-item', props.rowData)"> View</button>
           <button class="btn btn-danger" @click="onClick('delete-item', props.rowData)"> Edit</button>

</template>

Original functionality still works.
VueJS Docs for scoped slots

Thanks @sjmarve for the PR. This is a very good one.
However, instead applying named slot to the __component field, I think it would be better to make it a new special field __slot:<name>. This will allow far more flexibility as __component does have its own use for swappable components. Applying <slot> inside __component seems a bit overlapping to me.
By introducing a new __slot:<name> special field, this should provide more options for developers. What do you think? :)

Sounds ok to have it like that.
I have added the __slot.
Note though that in parent v-for will not work with this.
https://github.com/vuejs/vue/issues/2511

I'm not sure if the mentioned issue is still persisted, but I personally think the <slot> itself should always be on its own, not combining with its parent. Will have a look and if I don't find any major issue, I will later merge your PR.


sbe-tool/src/main/cpp/CMakeLists.txt uses "java" and not the java found earlier in the build process

I have JAVA_HOME set, but java is not on my path. The CMake process correctly finds java:
-- Found Java: /opt/jdk1.8.0_181/bin/java (found version "1.8.0_181")

but later on, assumes java is on the path:
/bin/sh: 1: java: not found
sbe-tool/src/main/cpp/CMakeFiles/ir_codecs.dir/build.make:57: recipe for target 'sbe-tool/src/main/cpp/CMakeFiles/ir_codecs' failed

I believe this is due to https://github.com/real-logic/simple-binary-encoding/blob/master/sbe-tool/src/main/cpp/CMakeLists.txt#L19 just using java and not a CMake variable found with find_executable or similar.
The workaround is to path up the java version also specified in JAVA_HOME.

Good call. Will have to check into what the find package exports.

It seems the benchmarks are the source of the "Found Java" part:
sbe-benchmarks/src/main/cpp/CMakeLists.txt

mentions it and seems to use Java_JAVA_EXECUTABLE (which might be the right way to do this - I'm definitely no CMake expert!)
Thanks for the quick response!

Yes. Looks like Java_JAVA_EXECUTABLE from https://cmake.org/cmake/help/v3.5/module/FindJava.html

I pushed this change. 7b3420e0 see if it works for you if you can. Thanks!

Looks like either I missed this when I was cleaning some things up.... or it got changed at one point back to using java directly.

Thanks for the super fast response @tmontgomery :) Confirmed fixed!

Sweet! Thanks!


Prevent update

Given some issues like #187, and others that may arise in the future, could we have a way to stop the emulator from updating in case a newer version doesn't work in some environments? Something like --no-update would be more than enough.
Having to re-install the application every time I have to run it again is seriously painfull. Wouldn't like to have to sniff the network and block the update address.

This is a good suggestion, thank you. Also apologies for the problems you're experiencing right now. Until we add this flag, another option at your disposal is to build & run from source. Locally built emulators do not check for updates. Build and Run from Source.

I´ve been looking for a way to implement this but I couldn´t find where Electron.autoUpdater.setFeedURL or Electron.autoUpdater.checkForUpdates are being called. Is this excluded from the master branch for some reason?

We build releases out of an internal branch that adds a few lines of code to run the app updater.

Hi @MarcoScabbiolo, a few updates relating to this issue:

We've added a --noupdate command line argument to skip the update check on startup. This will be available in the next release.
We're also working to move away from the private release branch. In the near future, all code will be in this repo.

It's actually --no-update, and is now available in emulator v3.5.31.


Service Discovery - DNS not resolving alias to hostname

Rancher versions:
rancher/server: master 4/19
Steps to Reproduce:
Create DNS record resolving to hostname
Create DNS record type alias with target of first record
Dig / Ping alias record - Should resolve to hostname of first record
Results:
Fails to resolve

the same issue .
i create a workload ,name is nginx,  then scala to 3 pod, and turn back to 1
run ping nginx in other pod , the nginx dns record ip is erros,
and i add a nginx-serivce to the same workload or alias a other name , the dns record is right

Tested against rancher/rancher:2.0.0-rc2
Not working.
Created a DNS record 'externalhost' of type hostname to google.com
Created a DNS record 'hostalias' of type alias to first record 'externalhost'.
Ping/dig  'hostalias' (ping hostalias, dig hostalias.default.svc.cluster.local +short) - Should resolve to google.com, but does not resolve to anything.

Validated on master 5/8.
Aliases to hostnames are resolving correctly.


Merge modelgauge

A first stab at merging modelgauge and modelbench.
I omitted the huggingface plugin from this merge because it requires torch which is not compatible with python 3.12. I’ll bring it over in another PR.
I also copied publish_all.py over as-is. I haven’t tested that nor the docker file yet. Same with the docs. Not sure if any of that works.
I would also appreciate some scrutiny over the way I merged the github workflows.
Thanks!

I would also recommend "just" copying the source code files and directories from one repo into the other, without any git history. If we want to refer back to the pre-merge history, we can check out the repo again. Once the merge is done, we can leave the old repo up in archived status, and include a note pointing people to this. I think it'll make the merge a bit easier to reason about.

Closed with #455


Add prop-types

Fixes #55

Pull Request Test Coverage Report for Build 400373571

25 of 25 (100.0%)  changed or added relevant lines in 13 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-2.5%) to 86.765%

Totals

Change from base Build 399052650:
-2.5%

Covered Lines:
84

Relevant Lines:
86

💛  - Coveralls


The CJS build of Vite's Node API is deprecated

Started getting this error every time I run knip:

The CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-dep

I use:

knip 2.41.3
Vitest 0.34.6
Node.js 18.18.2

Is it just a warning, or an error? How can I reproduce it?

Steps to reproduce:
mkdir knip-vitest
cd knip-vitest
npm i -D vitest knip

Then create file vitest.config.ts
/// <reference types="vitest" />
import { defineConfig } from 'vitest/config';
export default defineConfig({});

Then run npx knip > result.txt, and you should see the warning.

Note: you have to run npx knip > result.txt, and not just npx knip to see the warning, because npx knip clears the current output line.

Thanks, gotcha.
The first thing that caught my eye is that you probably want to set "type": "module" in package.json, to nudge Node.js and other module resolvers in the right direction.
However, that won't be sufficient today, I think there's an issue in jiti. Knip uses jiti under the hood to load such config files. Hacked around a bit and didn't get it to work (not even when using the .mts extension), maybe fixed when they make the switch to ESM being the native import/loading mechanism in jiti v2.
To get rid of the warning today, you could switch to use the .mjs extension.

Note: you have to run npx knip > result.txt, and not just npx knip to see the warning, because npx knip clears the current output line.

Knip should not clear or overwrite that output (e.g. it does not do that on my macOS with Bash). Can I ask which shell you are using?
You can use --no-progress or -n so Knip won't rewrite lines or clear stdout.

Knip should not clear or overwrite that output (e.g. it does not do that on my macOS with Bash). Can I ask which shell you are using?

I use zsh on my macOS. I can see the warning gets shown for a split second. With --no-progress it stays on the screen.
BTW I believe the warning goes to stderr, not stdout.

@yekver Those are two different things. The real issue here is about CJS vs ESM (with "type": "module").
The other thing is only about how Knip logs things to stdout (and stderr), and there seems to be a difference between Bash and Zsh. That's why we discuss the --no-progress flag.

FWIW I see the CJS notice in https://github.com/JoshuaKGoldberg/create-typescript-app/pull/1082.

Yeah, it's coming from jiti, waiting for them to go fully ESM :)

See https://github.com/webpro/knip/issues/565


Preventing errors when reseeding tiles while server is running

We currently store property boundaries in our database and when a row gets added, it immediately triggers a seed --overwrite on the bounding box of the new geometry. Our concern however is are there any mechanisms present in tegola to handle serving files while they are currently being overwritten (e.g. obtaining a lock or writing to disk on a temporary folder then performing a mv to atomically and instantly overwrite the existing file) ?
Edit: Checked the source code and it appears that tegola actually writes in a temporary path first then later performs a rename. Keeping this issue open in case there are other edge cases to consider when reseeding tiles while server is running

@daawaan4U looks like you found the implementation for our file cache. For our [S3 cache], the operation does not appear to be atomic. This could be refactored to write the object to S3 with a UUID then issue a rename. That would be a nice durability improvement.

Updates to a single key are atomic. For example, if you make a PUT request to an existing key from one thread and perform a GET request on the same key from a second thread concurrently, you will get either the old data or the new data, but never partial or corrupt data.

see Amazon S3 data consistency model

@iwpnd thanks for that reference! closing this issue ;-)


KAFKA-9925: decorate pseudo-topics with app id

ensure that pseudo-topics get correctly prefixed with the app id at run time
update test to expect the app id prefix

Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

cc @abbccdda @mjsax to take a look?

Thanks, @arkins ! Shame is a powerful motivator :)

Thanks, all! I'll go ahead and merge this.

cherry-picked to 2.5

cherry-picked to 2.4


fix(tabs): set buttons as buttons

When tabs appear inside forms, the buttons are considered "submit" buttons.

Cool thanks!


Determine a policy for dealing with non-invertible covariance matrices in MCD.

We should read more and discuss this further. This problem will become more common as we use smaller 'h' values in MCD.
A hack is to temporarily drop the problematic metrics from consideration. This leads to pretty ugly code.
Quick searching reveals discussion of 'pseudoinverses'.

My hack was apparently not the biggest hack: "With a singular sample covariance matrix, Mplus automatically does a gentle ridging (adding epsilon to the diagonal)." http://www.statmodel.com/discussion/messages/14/1857.html?1425832063

The obvious approach here is to perform dimensionality reduction. However, if we're dealing with a small sample of data, we may not want to go back and perform dimensionality reduction on the entire dataset. This is even harder in a streaming setting.
I'm generally finding three major alternatives referenced in discussions and notes:

"Ridging" the covariance matrix. Add \alpha*I to the covariance matrix, for some small \alpha.

Example: http://www.statmodel.com/discussion/messages/14/1857.html?1425832063

Compute a pseudo-inverse. A common suggestion for use in Mahalanobis distance is the [Moore-Penrose inverse]

Example: http://stats.stackexchange.com/a/37782
Example: http://www.sciencedirect.com/science/article/pii/0146664X79900522

Drop the problematic dimensions and compute covariance/Mahalanobis distance in a subset of dimensions.

Example: http://www.mathworks.com/matlabcentral/newsreader/view_thread/235323

There are other, less common measures that don't appear to have been widely used. Here's a survey from someone's class notes: http://webcache.googleusercontent.com/search?q=cache:goB_0E5S-BIJ:www.doc.ic.ac.uk/~dfg/ProbabilisticInference/IDAPILecture17.pdf+&cd=4&hl=en&ct=clnk&gl=us

Someone wrote about this in a real textbook: https://books.google.com/books?id=uL6-PKdS0lAC&pg=PA271&lpg=PA271&dq=mahalanobis+generalized+inverse

This unblocks us for now, but I'm happy to revisit the ridge technique, especially if SVD proves a bottleneck.


Bugfix for GitHub flavored Markdown

GitHub style heading links weren't working. Turned out we were converting the files to html outside of kramdown. Updated Gulp to only copy the Markdown files and the Kramdown config to use the GitHub style settings.
Removals

Removed the Gulp usage task and related packages

Changes

Added usage docs to the Gulp copy task
Updated Jekyll config to use GitHub settings in Kramdown

Testing

If you've never run the gh-pages branch, run npm install
Run npm run build && npm start
Navigate to the components and check that they display properly, including GitHub style code blocks

Review

@ascott1
@Scotchester

Checklist

[x] Changes are limited to a single goal (no scope creep)
[x] Code can be automatically merged (no conflicts)
[x] Code follows the standards laid out in the front end playbook
[x] Passes all existing automated tests
[x] New functions include new tests
[x] New functions are documented (with a description, list of inputs, and expected output)
[x] Placeholder code is flagged
[x] Visually tested in supported browsers and devices
[x] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)

Responding to myself, the original PR, #289, said:

Adds a gulp task that takes the component usage.md and converts it to html so that it can be imported into a Jekyll template

I'll test it myself, though I'm sure you tested this and that it works, @jimmynotjim. Perhaps a Jekyll update made it possible to import Markdown files?

@Scotchester not sure, this answer is from '13 => http://stackoverflow.com/questions/14668403/how-to-render-a-jekyll-markdown-page-on-sites-index
I have a feeling it might have been due to the need to set the Kramdown settings. Before I figured that out the output wasn't the same as GitHubs.

@Scotchester Good catch, I should have scrolled more of the pages. I have a fix ready, cf-core was the only one that had this issue. Only problem is that Travis still hasn't kicked off the release, so I can't edit the CHANGELOG without creating a conflict. We're stuck waiting till that's all flushed out.

I have a feeling it might have been due to the need to set the Kramdown settings. Before I figured that out the output wasn't the same as GitHubs.

Yes, I believe this is correct.


jQuery/AJAX in onInit()/

Hello,
I'm trying to use jQuery for my interface. Testing of jQuery variable returns true, however the functionality stated by the code is not appearing in the interface.
I use a docker container with Grafana 6.7.4 from philhawthorne (philhawthorne/docker-influxdb-grafana:latest).

jQuery is loaded inside the code, but because of the shadowing of the root panel's DOM element it can not select any elements inside the HTML panel.
A totally viable workaround is to use htmlnode variable both in onInit() and onHandleMetric(). For example, with $("#<element-id>", htmlnode).plugin() or $(htmlnode).find("#<element-id>").plugin().


I already tried it. But got stuck when adding the changed drivers...
Thanx for the effort. Wil test it (probably this weekend)

One of the things you need to do is make sure that the drivers aren't being loaded on the host itself:
# cat /etc/modprobe.d/blacklist-rtl.conf
blacklist rtl2832
blacklist r820t
blacklist rtl2830
blacklist dvb_usb_rtl28xxu

One of the things you need to do is make sure that the drivers aren't being loaded on the host itself:
# cat /etc/modprobe.d/blacklist-rtl.conf
blacklist rtl2832
blacklist r820t
blacklist rtl2830
blacklist dvb_usb_rtl28xxu

En you do that by cloning git://git.osmocom.org/rtl-sdr.git
and executing line 9-17?

The blacklist is for the docker host, to prevent it from using the build in drivers. The Dockerfile installs rtl-sdr on the Docker container similar as the readme of RTL-SDR_P2000Receiver indicates. So it will be the docker container that loads the drivers and communicates directly to the USB device.

So it is an extra step to take on de Docker machine?

If you mean the blacklist, yes. The container can't use the USB device if the host is already using it.

its getting more cloudy, with every comment...
I had a problem making this project containerised because of the drivers that have to be disconnected.
you come with the blacklist part... and i ask the question if that has to be done to the host besides starting/creating a container.. 8-)
Is disconnecting the drivers done inside the container? Or do we have to put that in a readme to do this as an extra step on the host?
Also, we need to change the p2000.py to read and put the config (and in de compose, mount a volume), database files and logfiles on a different folder/file location, otherwise it will be lost after recreating the container.

Two comments it says "The blacklist is for the docker host, to prevent it from using the build in drivers. " .  I don't understand your question and confusion.
I agree about splitting the code from the config. I put the whole project in a volume now to prevent things from being lost, but it is indeed best to split both up and have the code in the container and the rest of the files in a volume.

Ok, but I have it now running on the host itself, without the blacklist of the drivers..
(i'm trying to understand WHY it is necessary to do this extra step (which we should document in de guide for using a container) and why it is not needed when using it on the host itself)
I'm not trying to make it more difficult or nagging about this issue, I'm trying to gain some knowledge on this point

This is because the host and container can't be using the device at the same time. I experienced this issue and found that blacklisting the drivers on the host solved it.
See https://github.com/sdr-enthusiasts/docker-piaware#prerequisites for more information

Now i get it.. .sorry for the misunderstanding.

Thanks! Picking up development after a long pause ;-)


Editor crash on Unity 2017.1 Beta

This is Unity Editor's issue.
On Windows & Unity 2017.1 beta (b5, b4, b3. maybe also other versions), any components that implement OnAudioFilterRead() cause editor crash. The workaround is just comment out OnAudioFilterRead() in MovieRecorder. It disables audio recording but no other woraround for now.

I confirmed this issue was fixed on  Unity 2017.1 b6.


Uncaught Velocity.RegisterEffect not found. however I do require('velocity-animate/velocity.ui').

I am getting
Uncaught Velocity.RegisterEffect not found.
You need to require('velocity-animate/velocity.ui') at a top level for UI Pack.

However I do require Velocity UI in my top level component.
import 'babel-core/polyfill';
import 'velocity-animate';
import 'velocity-animate/velocity.ui';
import ReactDOM from 'react-dom';

Velocity is on the window, but Velocity.RegisterEffect is not.

Try doing an npm dedupe to make sure there aren't alternate Velocity runtimes being loaded.
Also, not sure how it pans out, but make sure some subtle difference between import and require isn't causing a problem, since the Velocity libs are not "pure" in the module sense.

I ran into this same issue. The way I resolved it was adding velocity-animate as an explicit dependency of my app. I'm not sure if this was the intended/best approach, but I am now able to require the two velocity-animate packages like so:
First:
npm i -S velocity-animate
Then:
import 'velocity-animate'
import 'velocity-animate/velocity.ui'
import { VelocityTransitionGroup, velocityHelpers } from 'velocity-react'

@finneganh I thought about this some more. Should velocity-animated be added as a peerDependency for this package?

Not sure what the best practice is here. If you do a peerDependency, it
would need to be explicitly added as a dependency to the parent app.
I don't know enough about NPM to know when it puts transitive dependencies
in the package's root, and when they go into the sub-packages (though
version numbers may have something to do with it). It may also vary by NPM
version.
On Thu, Apr 7, 2016 at 3:16 PM, David Calhoun<EMAIL_ADDRESS>wrote:

@finneganh https://github.com/finneganh I thought about this some more.
Should velocity-animated be added as a peerDependency for this package?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/twitter-fabric/velocity-react/issues/50#issuecomment-207055094

I realize now that a parent project has to directly require velocity-animate only if you desire "to use the Velocity UI Pack" (from the README). So, I suppose that rules out using peerDependencies.
I suppose a nice middle ground could be adding note to the README that you need to install velocity-animate yourself prior to directly requiring it. That may be common sense, but the wording of this project's README tripped me up.
Thanks for the help!

Latest version has this tip in the README, in case it bites someone else.

Great library. However, I am still finding that I have to require the velocity helpers in my low-level components to get Velocity.RegisterEffect in my window. I have tried running npm dedupe, but I'm getting Cannot read property 'localeCompare' of null error, which I think is an npm issue.
Do you think this is really the problem? I have of course explicitly installed the velocity-animate package.
I'm happy to provide any additional info if it helps.

@lauffenp what's the stack trace on that? Neither velocity-react nor velocity use localeCompare directly.


Add a check that esorex is in the path

Must be done before calling any of the static calibration methods.
Maybe also check that the SPHERE recipes are installed.

Done.


More fine grained control of symbol in node

Hi,
Thanks again for the great work and your help :)
I have the following issue:
When I put a subscript of a symbol then it get's displaced from it's center.
However, I would like the symbol to remain in the center.
The align function does not help me here.
Is there another way to shift the 1 back to it's original center position, as it would be placed without the subscript?

If you're talking about vertical alignment, try using block math instead of inline math (i.e., $ 1_1 $ not $1_1$), and maybe adjust the fit parameter for the triangle (something like shape: triangle.with(fit: 0.6)).
If you're talking about horizontal alignment, try wrapping the label in move().
P.S., the Typst discord channel has a more active community for questions like this which might be more appropriate than Github issues :)

Ah thanks, and sorry, I will ask there :)


add ci/cd, change idiom list

添加CI/CD，自动构建gh-pages分支，可以发布到GitHub Pages上
修改成语出题方法，从原本的每月都需出题一次性把乱序的成语字典放上，自动索引，提示是根据对天数取模4自动出的

Thank you. But no. It's important to have the answer decided manually to make the difficulty reasonable.


develop

architecture-independent API
hardwired direction optimizing BFS implementation
graph500 generator integration
fixes (readme, sswp, graph preprocessing)


Having trouble building it

I'm getting tons of errors and I don't know what to do. What have I done wrong? Please help.
Using Visual Studio 2015, 10.0.15063.0, and the latest WDK is installed.
https://i.imgur.com/WjpvDV4.png

VS2017 is required. For VS2015 there is a corresponding branch available. It's frozen though.

Really, wow that's um.. Sigh. I just uninstalled VS2017 because I read somewhere VS2015 is good for driver development or something. God dammit.  I'll report back with the results. <3

VS2015 is required for blackbone driver, indeed :). I'll update driver to 2017 as soon as proper WDK comes out.

Ahem, sorry about it taking so long to re-download but that's Australian internet for you, hey. ;3
Anyways! I managed to compile Xenos and that library thing aswell with it, I'm going to pop the driver in VS2015 by itself now. Attempt #2, stand by.

HOLY SON OF A... Alrighty, wew.. it compiled. As planned of course. That was supposed to happen, mate. Thank you for the help, but as I said before, I can confirm, this will not be the last time you hear of my dumbass.


HTML EASY 3

Pull Request Type
What kind of change does this PR introduce?
Solved an issue/task
What is the current behavior?
No code to implement footer
Issue Number: [#1576]
What is the new behavior?
Implemented code for footer

Merged

This is an automated message from Fork, Commit, Merge [BOT].

Thank you for your contribution! Your pull request has been merged. The files have been reset for the next contributor.
What's next?
If you're looking for more ways to contribute, I invite you to check out our forkcommitmerge.io website repository. The repository contain real issues that you can help to resolve or create some of your own if you see any bugs or want to add new features to the site, etc. You can also check out the Influences section in the README to find more projects similar to this one.
Also please leave a star to this project if you feel it helped you, i would really appreciate it.
I look forward to seeing your contributions!


get subscription link

if it is possible to get a link to a subscription, or at least somehow create a subscription yourself knowing the user ID

didn't see inbound


Add ctransformers base class

closes #308

ohh, gotcha, yeah I half thought that might happen
On Fri, Sep 29, 2023 at 11:07 AM Vik @.***> wrote:

@.**** commented on this pull request.
In src/llm_vm/onsite_llm.py
https://github.com/anarchy-ai/LLM-VM/pull/309#discussion_r1341479961:

def init(self, **model_kwargs):

   self.__model_uri = None

   self.__model_file = None

   self.model = self.model_loader(**model_kwargs)

@property
def model_file(self):

   return self.__model_file

@model_file.setter
def model_file(self,val):

   self.__model_file=val

@property
def model_uri(self):

We’re doing property for mode uri again when it’s setup the same way in
the base class, what’s different ?
i had done that initially but ran into errors. later realized that if we
don't set up the property here it won't be inherited by the child class
—
Reply to this email directly, view it on GitHub
https://github.com/anarchy-ai/LLM-VM/pull/309#discussion_r1341479961,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAABBQRBKSM5JSXJMTBAHXLX43P3FANCNFSM6AAAAAA5LCDRHU
.
You are receiving this because your review was requested.Message ID:
@.***>


As a preservation administrator, I would like to see a visualization in the Selection interface displaying the number of files and overall filesize of the files currently attached in the Files interface.

This is a must-have feature, to accommodate placing pm ARKs in descriptive metadata while also working within Archivematica's indexing limitations.


Fix NettyServerTest test case problem for 3.0

What is the purpose of the change
Fix NettyServerTest test case problem for 3.0
see more detail from #8105
Brief changelog
Verifying this change

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Add some description to dubbo-website project if you are requesting to add a feature.
[ ] GitHub Actions works fine on your own branch.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #8106 (9b674d1) into 3.0 (f7cfe6e) will decrease coverage by 0.48%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                3.0    #8106      +/-   ##
============================================
- Coverage     60.85%   60.36%   -0.49%
+ Complexity      313      310       -3
============================================
  Files          1070     1071       +1
  Lines         44859    44856       -3
  Branches       6699     6693       -6
============================================
- Hits          27299    27078     -221
- Misses        14551    14741     +190
- Partials       3009     3037      +28

Impacted Files
Coverage Δ

...figcenter/file/FileSystemDynamicConfiguration.java
0.00% <0.00%> (-59.05%)
:arrow_down:

...ng/transport/dispatcher/all/AllChannelHandler.java
62.06% <0.00%> (-27.59%)
:arrow_down:

...fig/configcenter/TreePathDynamicConfiguration.java
60.00% <0.00%> (-25.72%)
:arrow_down:

...ry/client/metadata/MetadataServiceNameMapping.java
66.03% <0.00%> (-13.51%)
:arrow_down:

...dubbo/common/status/support/LoadStatusChecker.java
50.00% <0.00%> (-11.54%)
:arrow_down:

...in/java/org/apache/dubbo/common/utils/JVMUtil.java
81.13% <0.00%> (-11.33%)
:arrow_down:

...ng/transport/dispatcher/WrappedChannelHandler.java
47.82% <0.00%> (-10.87%)
:arrow_down:

.../remoting/transport/netty4/NettyClientHandler.java
57.62% <0.00%> (-10.17%)
:arrow_down:

...mmon/threadpool/support/fixed/FixedThreadPool.java
80.00% <0.00%> (-7.50%)
:arrow_down:

...moting/transport/netty4/NettyEventLoopFactory.java
30.00% <0.00%> (-6.37%)
:arrow_down:

... and 71 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f7cfe6e...9b674d1. Read the comment docs.


.find() function does not work after a single use

Describe the bug
When writing data to the JSON db, after the first write to the file, the .find() method will return the record based on the ID. After adding a 2nd record and trying again, the IdNotFoundError error is thrown despite the record being in the DB!
How to reproduce
python 3.9.6
from pysondb import db

if __name__ == "__main__":
    db = db.getDb("test.json")
    while True:
        id = db.add({"dev": "test"})
        print(db.find(id))

Expected behavior
The record should be returning as expected.

This is a neat library, great work!

Line 215 of db.py, the first instance of raise IdNotFoundError(pk) will raise after looking at the first item in the DB.
    def find(self, pk :int, objectify: bool = False) -> getType:
        with self.lock:
            try:
                with open(self.filename, "r", encoding="utf8") as db_file:
                    db_data = self._get_load_function()(db_file)
                for d in db_data["data"]:
                    if(d[self.id_fieldname])==self._cast_id(pk):
                        return (
                        d
                        if not objectify
                        else self._objectify(json.dumps({"data": d})).data
                        )
                    else:
                        raise IdNotFoundError(pk)

            except:
                raise IdNotFoundError(pk)

Hi @avi-perl . Will get back to this issue , sort of busy now 😅

Hi, is the issue still open? I can try to work on it!

Yes , this issue is still open and you can work on it, shall I assign it to you?

That would be great, thanks!

Sure. Thanks , 🎉🎉

@avi-perl , this issue is resolved in #47 .
Closing it.


Free draw

Not sure if super useful (I've never been able to draw in a reasonable way using a mouse / touchpad) but may be worth adding

One thing to note: For those who use drawing tablets, any way to actually read pressure from the browser?

See https://github.com/excalidraw/excalidraw/issues/707 for some implementation ideas.
@Zaynex: https://codepen.io/michaelsboost/pen/cnCAL & https://github.com/szimek/signature_pad
@j-f1:

I think there should be two modes here: create a multiline shape, or do the variable-width cubic-bezier thing the signature pad repo does. They both convey a handwritten style but in different ways.

Ignoring artistic talent, free draw gets you closest to the physical whiteboard experience: grab a pen, start to draw. For me (and many members of my team who I'm trying to get to use Excalidraw) this is a key must-have feature.

I've never been able to draw in a reasonable way using a mouse / touchpad

But if you have a pen and an iPad is not that hard anymore :)

Yes exactly, lots of folks have iPads and we have a few Surfaces on my team as well.

Just came here to +1 this feature; I got an iPad to use as my second screen and would love to be able to open a shared Excalidraw with folks and doodle on the screen with a pen tool!

+1 Pen with iPad

We need to figure out how to implement this. In most vector editors, free hand drawing results in a line composed of bezier curves.

Obviously, we wouldn't display the bezier handlers, nor the points. The above screens just show how it will be implemented.
The more irregular the line, the more points are needed:

Another solution would be to draw pixels on canvas directly. Not sure how we'd convert that to SVG on export, though.
/cc @pshihn @kbariotis

There's no reason to use roughjs for this.
Bezier curves is the way to go in my opinion and you can render them easily on canvas and svg. See http://perfectionkills.com/exploring-canvas-drawing-techniques/ This page has other techniques as well but the one titled 'bezier curves'  will give you good results with least complexity.
The other thing to keep in mind - you will collect A LOT of points based on just mouse position sampling. You can reduce the points significantly by running through Ramer–Douglas–Peucker_algorithm. I have a javascript implementation here which could be adapted: https://github.com/pshihn/bezier-points/blob/master/src/index.ts#L90

There's no reason to use roughjs for this.

Other than to pipe it through roughjs renderer as if it was a multi-point line, to get a roughjs look?
Otherwise, I agree. I just wanted your opinion on this one :).

I suppose you could run the points through roughjs' curves command like we do with the multi point lines. But with so many points, it is actually hand-drawn rather than emulating it. Why add extra complexity. :) No harm experimenting to see what looks better

Free draw landed on master. Closing this.


Scroll to top button only appears when scrolled and scrolls smoothly

Description of PR

[x] Go to top button appears only after user starts scrolling
[x] Scroll to top animated

Type of PR

[x] Bugfix
[ ] New feature

Relevant Issues
V3.0
Checklist

[x] Compiles and passes lint tests
[x] Properly formatted
[x] Tested on desktop
[x] Tested on phone

Screenshots

Animating static button
Fading Button

Alternative
Tried out sliding up to fit in with the fade-up theme of the rest of the website but it seemed too animated.
Sliding Button

*Durations for both the transistions is the same, I just scrolled down further when capturing the first gif

same things which i previously did it in PR #1055

same things which i previously did it in PR #1055

Hey @Binu42, thanks for pointing that out.
I was asked to implement this by one of the mods. Apologies if you felt your implementation was overlooked.
Thanks for contributing though! 😄


Is anyone using 2080tix8 to train the fusion model successfully??

I change the works to 1,but it still be stuck.

I think you might have encountered OOM. 2080Ti does not have enough memory to train the fusion model.

Closed due to inactivity. Please feel free to reopen if you feel it necessary.


Error in ncumul_deceased in JU

Only one day seems to be affected ... before and after the numbers are correct.

JU is informed. Thanks.

It is quite possible that JU's source on other days differs from the resource we scraped. We scrape what the cantons publish(ed). Establishing congruence retrospectively has its limits.

Well, congruence is quite easy, if the day before and the day after is the same ... it could just be corrected

Nah, the complete time series would have to be made congruent with the official source of the canton; we asked JU, what their source would be.

JU confirmed (via e-mail) an 'ncumul_deceased' of 151. Where do we scrape the values of that variable from - via https://www.jura.ch/fr/Autorites/Coronavirus/Infos-Actualite/Statistiques-COVID/Evolution-des-cas-COVID-19-dans-le-Jura.html or ?

Ok, thats two different issues:
This here is probably just a typo:
ncumul_deceased:
2021-02-07: 115
2021-02-08: 8
2021-02-09: 115

The number of deceased is summed up within the scraper from the table on the webpage. The dropping to 8 is a bug in the scraper, that I wasn't really able to spot/fix.
I've created a bit a different approach to the current JU scraper in #1846 that isn't perfect too, but should cover things. I've just updated it and the test run produces 145 deceased (also with summing it up), so the data isn't matching the expected number, but is at least a bit closer...

This should finally be addressed with #1956


Installation from normal (not Administrator) account

Hi,
When working in Windows, I generally like to work in a regular account, but when trying to install the Pico-SDK environment in Win11, I encountered errors and was unable to complete the installation.
I believe this stems from the choice of directories in which the SDK and sample files are stored...
Is it possible to override this location, so the files themselves can be stored in a "public" directory structure on the machine?
Thanks,
Steve

Could you elaborate on the specific errors that you encountered?
The installer needs administrative permission to install and it installs into the standard recommended location by default (Program Files). When you run the installer it does give you an option to choose the directory to install to.

Hi,
Thanks for responding to my issue...
When I first ran the installer I did not notice that the directory proposed for installation was a directory located in the Administrator's account... Apparently when the second portion of the script is run it no longer had administrator rights(?) and was unable to write into those directories.
Changing the selected directory to use a publicly-assessible location worked fine - everything is installed and seems to work fine, though I do have one additional question: There is no simple "Build" option to compile the code - I have "Start Debugging" as well as "Run Without Debugging" options. How can I simply compile the code (to generate the .uf2 file) without getting the following error:

Thanks again for your assistance and pointing out my oversight. This issue can be closed (I will look through the forums to see if anyone has addressed the build issue...
Best,
Steve


ARGB Support

Hi there,
Thank you for a great component!
I was wondering if you're planning to add ARGB support.

What type of support are you looking for? Do you just want to be able to set a color with ARGB or do you want it to spit out the changed color in ARGB format?
--
case
On Fri, Dec 18, 2015 at 5:41 AM, Vassilis Mastorostergios
<EMAIL_ADDRESS>wrote:

Hi there,
Thank you for a great component!
I was wondering if you're planning to add ARGB support.
Reply to this email directly or view it on GitHub:
https://github.com/casesandberg/react-color/issues/66

Both would be great. I guess spit out the changed color in ARGB format shouldn't be too hard with a util function, just thought it would be a great addition to have natively.

I am actively looking into this for v3.0.0


Yakuza 0 legend style fix report

Yeah well my directory hasnt changed at all and when i try to open the game it closes itself. Got any idea on how to fix it????

NO.


Is "Stastic" class is Entity?

So now we inherit "Stastic" classes from Entity<T>. Is this entity or is this value object or maybe this is something else? Should "Stastic" classes be inside domain or somewhere else?
https://github.com/SergeyDavidovich/OMSBlazor/blob/0f56344b0133060301c9f8b0af715e3fc18641fd/src/OMSBlazor.Domain/Northwind/Stastics/OrdersByCountry.cs#L11

Discussed with @SergeyDavidovich. We made a conclusion that stastic is DTO and it should not have ID. However at the end I have decided to inherit it from Entity<T> class of ABP so we can use it with IRepository from ABP and because I had problems with saving and updating record of stastics because EF Core ask for primary key for this operations but I dont use this ID anywhere more important is unique index of Key and TenantId