taskboard don't show javascript

i install curl,jre.and run step 3 ./build-all
but my taskboard have not show javascript,why is that?

Can you show us your apache / nginx conf ?
What log have you in the browser console ?
Thanks

oh，thanks for your response firstly。
my apache model rewrite and expries can't load,when i do
sudo a2enmod expires
sudo a2enmod rewrite
and service active，then sudo service apache2 reload.
it  refer to me that apache fail to  LSB WEB。i don't know why。and my email function can;t work.....

What is the output of the command sudo journalctl -xe after executing
sudo a2enmod expires
sudo a2enmod rewrite

Thanks.

when i active
sudo a2enmod expires
sudo a2enmod rewrite
and execute service apache2 restart
it refer to me that
Unit apache2.service has finished shutting down
Unit apache2.service has finished start-up
when i execute sudo service apache2 reload
it says apache2.service is not active, cannot reload.

sudo journalctl -xe says
-- Unit apache2.service has finished shutting down.
Mar 31 20:33:00 taskboard systemd[1]: Starting LSB: Apache2 web server...
-- Subject: Unit apache2.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Unit apache2.service has begun starting up.
Mar 31 20:33:00 taskboard apache2[12253]:  * Starting Apache httpd web server apache2
Mar 31 20:33:00 taskboard apache2[12253]: (98)Address already in use: AH00072: make_sock: could not bind to
Mar 31 20:33:00 taskboard apache2[12253]: (98)Address already in use: AH00072: make_sock: could not bind to
Mar 31 20:33:00 taskboard apache2[12253]: no listening sockets available, shutting down
Mar 31 20:33:00 taskboard apache2[12253]: AH00015: Unable to open logs
Mar 31 20:33:00 taskboard apache2[12253]: Action 'start' failed.
Mar 31 20:33:00 taskboard apache2[12253]: The Apache error log may have more information.
Mar 31 20:33:00 taskboard apache2[12253]:  *
Mar 31 20:33:00 taskboard apache2[12270]:  * Stopping Apache httpd web server apache2
Mar 31 20:33:00 taskboard apache2[12270]:  *
Mar 31 20:33:00 taskboard systemd[1]: Started LSB: Apache2 web server.
-- Subject: Unit apache2.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Unit apache2.service has finished starting up.
-- The start-up result is done.

after execute sudo journalctl -xe,it says
-- Unit apache2.service has finished shutting down.
Mar 31 20:33:00 XXX systemd[1]: Starting LSB: Apache2 web server...
-- Subject: Unit apache2.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Unit apache2.service has begun starting up.
Mar 31 20:33:00 XXX apache2[12253]:  * Starting Apache httpd web server apache2
Mar 31 20:33:00 XXX apache2[12253]: (98)Address already in use: AH00072: make_sock: could not bind to
Mar 31 20:33:00 XXX apache2[12253]: (98)Address already in use: AH00072: make_sock: could not bind to
Mar 31 20:33:00 XXX apache2[12253]: no listening sockets available, shutting down
Mar 31 20:33:00 XXXapache2[12253]: AH00015: Unable to open logs
Mar 31 20:33:00 XXXapache2[12253]: Action 'start' failed.
Mar 31 20:33:00 XXXapache2[12253]: The Apache error log may have more information.
Mar 31 20:33:00 XXXapache2[12253]:  *
Mar 31 20:33:00 XXXapache2[12270]:  * Stopping Apache httpd web server apache2
Mar 31 20:33:00 XXXapache2[12270]:  *
Mar 31 20:33:00 XXXsystemd[1]: Started LSB: Apache2 web server.
-- Subject: Unit apache2.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Unit apache2.service has finished starting up.

There are multiple same port listening.
Execute:
grep Listen /etc/apache2/ports.conf
If there are multiples same line, edit your configuration.
After that if the problem persist execute:
sudo systemctl stop apache2
netstat -nl

Please can you provide more information about your environment.
Execute:
cat /etc/*release
uname -a

Please when you send output in github issue, use an appropriate syntax, enclose your command output with ```        ```

i execute grep Listen /etc/apache2/ports.conf,there are two same ports,and i change one.then i execute,but apache fail to start.
the information about cat /etc/*release is
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.4 LTS"
NAME="Ubuntu"
VERSION="16.04.4 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.4 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial

有多个相同的端口监听。
执行：
grep Listen /etc/apache2/ports.conf
如果有多个相同的行，请编辑您的配置。
之后如果问题仍然存在，执行：
sudo systemctl stop apache2
netstat -nl

请您提供有关您的环境的更多信息。
执行：
cat /etc/*release
uname -a

请在github问题中发送输出时，使用适当的语法，用`````括起命令输出

i do appreciate your reply,thanks a lot

Ok but please provide the new output of the command:
sudo systemctl restart apache2

Can you show me your apache configuration please ?


Basic Message

Hello,
i have 2 questions for u.

how is it possible to have the list of basic message  that i sent to other agent ? like the method "ListAsync" in "ProofService", "CredentialService" or "ConnectionService"

a little bit similar to the first, how is it possible to have the list of basic message that i received ?

thx for your help.

You can try the below to get the list of BasicMessage
List<BasicMessageRecord> basicMessageRecords = await walletRecordService.SearchAsync<BasicMessageRecord>(AgentContext.Wallet,  SearchQuery.Equal(nameof(BasicMessageRecord.ConnectionId), Connection.Record.Id), null, int.MaxValue);


Inconsistent  file behavior with mountpoint-s3

/kind bug

NOTE:  If this is a filesystem related bug, please take a look at the Mountpoint repo to submit a bug report

What happened?
We have started using https://github.com/awslabs/mountpoint-s3-csi-driver in EKS cluster to mount s3 bucket as volume. Facing some issues while handling files.

If one of the thread deletes a files from mountpoint, the 2nd thread still sees that file. I had to add a delay of 1 second for 2nd thread, after that it also started seeing the file as deleted file (i.e. file did was not shown to this thread). Pls note that both these threads are from same application and accessing same mountpoint. Is there a better way of achieving this? (i am running with --allow-delete flag) As i have similar functionality at different place in my application.
There are two processes in my application, Process one writes file in bucket using mount point , process two reads files from bucket using SDK.   Right after (after 30 ms or so) process 1 completes writing to file (i.e after calling fileWriter.Close()), if process two tries to read files, SOMETIMES its says that file is not available. SOMETIMES - based on my analysis so far, if there is a longer delay at process 2, then files is available where as if process 2 starts right after (30-40 ms) process 1 the files is not available.

Mount Options:
`  accessModes:
- ReadWriteMany # supported options: ReadWriteMany / ReadOnlyMany
mountOptions:
- uid=65436
- gid=50
- allow-other
- allow-delete

What you expected to happen?
How to reproduce it (as minimally and precisely as possible)?
Anything else we need to know?:
Environment

Kubernetes version (use kubectl version):
- Client Version: version.Info{Major:"1", Minor:"26", GitVersion:"v1.26.15",
Server Version: version.Info{Major:"1", Minor:"26", GitVersion:"v1.26.15",
Driver version:
1.8.1

hi @dannycjones
Thanks a lot for this detailed response.
I think lets address/discuss one issue at a time.
Issue one (which is solved by adding 1 second of gap between the two threads, pls note that 2nd thread only executes ones the first one completes, still i had to had 1 second of delay):
Here is the scenario
inside bucket i have following file structure
main_dir/1/src/file1.txt
main_dir/1/src/file2.txt
Thread 1 runs to delete these files directory '1' recursively. Once its complete successfully.
<IF i add delete here, it works>
Thread 2 uses a Java Filewiter write data into file 'main_dir/1/src/file1.txt' (pls note that the file name is same which was deleted by thread 1), but it fails and gives java.io.FileNotFoundException exception while trying to open file.
Here is the stack (apologies for sharing java stack here)
at java.base/java.io.FileOutputStream.open0(Native Method)
	at java.base/java.io.FileOutputStream.open(FileOutputStream.java:293)
	at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:235)
	at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:123)
	at java.base/java.io.FileWriter.<init>(FileWriter.java:66)

Pls note our code base works fine when we perform store files in NFS .
Will it be possible to have a connect over slack or teams or any other channel on this topic (in case you think the discussion is too specific)?

hi @dannycjones
I tried to capture Mount point/ Driver/My application  logs when this error happens (Pls note that this issue is intermittent)
Mount point logs
Oct 03 15:33:53 hyperscale-k8s mount-s3[31915]: [WARN] rmdir{req=6914 parent=261 name="src"}: mountpoint_s3::fuse: rmdir failed: inode error: file "src" does not exist in parent inode 261 (full key "default_staging_area/16/")
Oct 03 15:42:14 hyperscale-k8s mount-s3[32151]: [WARN] rmdir{req=9668 parent=566 name="masking-file-formats"}: mountpoint_s3::fuse: rmdir failed: inode error: file "masking-file-formats" does not exist in parent inode 566 (full key "default_staging_area/19/")
Oct 03 15:42:14 hyperscale-k8s mount-s3[32151]: [WARN] rmdir{req=9710 parent=577 name="3cf64fcfec1a09b7e801f3ed45887a65"}: mountpoint_s3::fuse: rmdir failed: inode error: file "3cf64fcfec1a09b7e801f3ed45887a65" does not exist in parent inode 577 (full key "default_staging_area/19/tgt/8767199970ae27ffbe4de378f73378fd/")
Oct 03 15:42:14 hyperscale-k8s mount-s3[32151]: [WARN] rmdir{req=9712 parent=576 name="8767199970ae27ffbe4de378f73378fd"}: mountpoint_s3::fuse: rmdir failed: inode error: file "8767199970ae27ffbe4de378f73378fd" does not exist in parent inode 576 (full key "default_staging_area/19/tgt/")
Oct 03 15:42:14 hyperscale-k8s mount-s3[32151]: [WARN] rmdir{req=9714 parent=566 name="tgt"}: mountpoint_s3::fuse: rmdir failed: inode error: file "tgt" does not exist in parent inode 566 (full key "default_staging_area/19/")
Oct 03 15:42:14 hyperscale-k8s mount-s3[31915]: [WARN] rmdir{req=7130 parent=368 name="3cf64fcfec1a09b7e801f3ed45887a65"}: mountpoint_s3::fuse: rmdir failed: inode error: file "3cf64fcfec1a09b7e801f3ed45887a65" does not exist in parent inode 368 (full key "default_staging_area/19/src/8767199970ae27ffbe4de378f73378fd/")
Oct 03 15:42:14 hyperscale-k8s mount-s3[31915]: [WARN] rmdir{req=7132 parent=367 name="8767199970ae27ffbe4de378f73378fd"}: mountpoint_s3::fuse: rmdir failed: inode error: file "8767199970ae27ffbe4de378f73378fd" does not exist in parent inode 367 (full key "default_staging_area/19/src/")
Oct 03 15:42:15 hyperscale-k8s mount-s3[31915]: [WARN] rmdir{req=7134 parent=366 name="src"}: mountpoint_s3::fuse: rmdir failed: inode error: file "src" does not exist in parent inode 366 (full key "default_staging_area/19/")
Oct 03 15:57:42 hyperscale-k8s mount-s3[32151]: [WARN] rmdir{req=10422 parent=595 name="masking-file-formats"}: mountpoint_s3::fuse: rmdir failed: inode error: file "masking-file-formats" does not exist in parent inode 595 (full key "default_staging_area/20/")

Driver Log
I1003 15:41:53.419641       1 node.go:207] NodeGetCapabilities: called with args
I1003 15:42:26.836592       1 node.go:207] NodeGetCapabilities: called with args
I1003 15:42:54.614552       1 node.go:207] NodeGetCapabilities: called with args
I1003 15:43:16.608525       1 node.go:207] NodeGetCapabilities: called with args

My Application Log  (indicating that its not able to open file right after deleting file with same name)
03-10-2024 15:42:16.953 [UnloadThread-19-TABLE_NAME-KMCVM_2_0] ERROR c.d.h.s.UnloadService.exportDataAndWriteToFiles - Failed in reading row for hsExecutionId: 19, sourceKey: {schema_name=DLPXDBORA, table_name=KMCVM_2}
java.io.FileNotFoundException: /etc/hyperscale/default_staging_area/19/src/8767199970ae27ffbe4de378f73378fd/3cf64fcfec1a09b7e801f3ed45887a65/3cf64fcfec1a09b7e801f3ed45887a65_0_0.csv (No such file or directory)
        at java.base/java.io.FileOutputStream.open0(Native Method)
        at java.base/java.io.FileOutputStream.open(FileOutputStream.java:293)
        at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:235)
        at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:123)
        at java.base/java.io.FileWriter.<init>(FileWriter.java:66)

Hey @akhilesh-delphix, the failure with java.io.FileNotFoundException suggests that the file has been deleted successfully by thread 1. It seems like your thread 1 removed all the files in a directory, so Mountpoint ended up with empty directories and considered them to be deleted too (see more details in directory operations semantic).
Later on thread 2, your application was trying write to a new file in a non-existing directory so it failed with java.io.FileNotFoundException.
It still doesn't explain why putting a delay between the two threads make things work though. Probably because there are some other threads that create the deleted directories during that time. We will need debug logs to confirm our assumption and for further investigation.
To enable debug logs, you can pass CLI arguments from CSI Driver to Mountpoint in the mountOptions of the Persistent Volume spec. For example:
apiVersion: v1
kind: PersistentVolume
metadata:
  name: s3-pv
spec:
  capacity:
    storage: 1200Gi # Ignored, required
  accessModes:
    - ReadWriteMany
  storageClassName: ""
  claimRef:
    namespace: default
    name: s3-pvc
  mountOptions:
    - debug
    - debug-crt
  csi:
    driver: s3.csi.aws.com # Required
    volumeHandle: s3-csi-driver-volume
    volumeAttributes:
      bucketName: s3-csi-driver

I actually don't think this is related to the CSI Driver specifically, so just running your application against Mountpoint directly should work too.

hi @monthonk
you are right about thread 1, it deletes the data.
However thread 2, first creates file with same name/path and then tries to open it. Its done by Java FileOutputStream  API (i had attached stack for it earlier)
Here is code for at java.base/java.io.FileOutputStream.(FileOutputStream.java:123)
 public FileOutputStream(String name) throws FileNotFoundException {
        this(name != null ? new File(name) : null, false);
    }

at java.base/java.io.FileOutputStream.(FileOutputStream.java:235)
Following code successfully validates file path and validity of file and then in last 2nd last line, it tries to open file and throws exception
public FileOutputStream(File file, boolean append)
        throws FileNotFoundException
    {
        String name = (file != null ? file.getPath() : null);
        @SuppressWarnings("removal")
        SecurityManager security = System.getSecurityManager();
        if (security != null) {
            security.checkWrite(name);
        }
        if (name == null) {
            throw new NullPointerException();
        }
        if (file.isInvalid()) {
            throw new FileNotFoundException("Invalid file path");
        }
        this.fd = new FileDescriptor();
        fd.attach(this);
        this.path = name;

        open(name, append);
        FileCleanable.register(fd);   // open sets the fd, register the cleanup
    }

The check on file.isInvalid() is very limited according to the javadoc. It does not guarantee that the path is valid. Would you be able to grab Mountpoint debug logs? We will need to know what file system calls Mountpoint receives from the kernel to identify the issue.

hi @monthonk
Mount log files
mount.logs.zip
I have stripped the log file to include logs for duration when 1st thread executed delete operation and 2nd thread executes the create and open file operation.
Here i am posting the exception received by 2nd thread (this exception message includes the file name which its trying to create, along with time, it should help in mapping it to log).
09-10-2024 06:53:14.091 [UnloadThread-6-TABLE_NAME-TEST_CLEANUP_0_1] ERROR c.d.hyperscale.service.UnloadService.exportDataAndWriteToFiles - Failed in reading row for hsExecutionId: 6, sourceKey: {schema_name=DLPXDBORA, table_name=TEST_CLEANUP_0}
java.io.FileNotFoundException: /etc/hyperscale/default_staging_area/6/src/8767199970ae27ffbe4de378f73378fd/0d4e15bcfc913063cb07a7ef6a100532/0d4e15bcfc913063cb07a7ef6a100532_1_0.csv (No such file or directory)
        at java.base/java.io.FileOutputStream.open0(Native Method)
        at java.base/java.io.FileOutputStream.open(FileOutputStream.java:293)
        at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:235)
        at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:123)
        at java.base/java.io.FileWriter.<init>(FileWriter.java:66)

Hey, thanks for providing the logs. I have reviewed them and here is what I got from the logs:

The application listed the files (readdir) in directory 0d4e15bcfc913063cb07a7ef6a100532.
The application deleted all file in directory 0d4e15bcfc913063cb07a7ef6a100532 making the prefix 0d4e15bcfc913063cb07a7ef6a100532/ disappear from S3 bucket.
The application tried to delete directory 0d4e15bcfc913063cb07a7ef6a100532 with rmdir but failed to do so because Mountpoint did lookup against S3 and the prefix was not found.
The tricky part is that the kernel also has a cache from the first readdir (1 second by default) and your application might rely on this cache to determine the existence of the directory at some point.
Before your application open a new file, it sent lookup calls to check the directory existence and eventually found that it doesn't exist. So, the FileNotFoundException was thrown because the application was trying to write to a non-existing directory.

I still don't understand why adding a delay would could make it work. Are there any logic in thread 2 that create the directory if not exist? Also would be helpful to get debug logs from this case too.

Hi @monthonk ,
Like i mentioned in my previous comment following Java API code creates new file (new File(name)), our application simply provides a name to it
'''
public FileOutputStream(String name) throws FileNotFoundException {
this(name != null ? new File(name) : null, false);
}
'''
Pls note that we have not defined any cache while defining volume mount options.
'''
Mount Options:
` accessModes:

ReadWriteMany # supported options: ReadWriteMany / ReadOnlyMany
mountOptions:
uid=65436
gid=50
allow-other
allow-delete
'''

Is it possible to connect over slack or any other communication channel, so that we can discuss and identify root cause?

hi @monthonk ,
I was thinking about point 4 that you had mentioned in your response.  Could that result into following case:

when application invokes new File(name), based on point 4 the file is available in cache, hence it does not create a new file (ideally it should have as the file has been deleted by thread 1),
by the time, it invokes API to open file (open(name, append); ), the file is removed from the cache,  and hence it throws the  FileNotFoundException.

this just my hypothesis.

Hey @akhilesh-delphix, I think the missing information is that we don't know how Java API interacts with the file system. Like Danny said, a tool like strace could help in this case.
Other communication channel we have is through AWS support. Please feel free to open a support case if you prefer a private channel.

From point 4, I meant the parent directory of the file could appear to exist where it's already gone. I think this behavior is surprising for users and we may want to improve that. I opened https://github.com/awslabs/mountpoint-s3/issues/1055 for tracking.
Unfortunately, I don't have a good workaround for your use case right now. From what I understand, thread 1 is supposed to delete all the files and directories recursively. Would it be possible to have thread 2 wait until you can confirm that the directory has been deleted before creating a new file?

Thread 2 starts to run after Thread 1 complete deletion on files and directories recursively, and deletion of files is a blocking call. Hence thread 2 only starts after files and directories are deleted.
If adding wait is the workaround, i will add a wait of 1 second (which worked for me earlier) . It, however, is little challenging as i need to add this at multiple places in code.
Meanwhile, we have created a support ticket. I can share that support ticket number here if you want.
Lets discuss issue 2 and workaround for issue 1 as part of support ticket.

Thanks @akhilesh-delphix, please share the ticket number so we can follow up there.
I'm closing this issue now. We can create new ones for tracking specific issues if any were found.


unique vs dropUnique inconsistency when using predicate

Environment
Knex version: 3.0.1
Database + version: postgres
OS: all
Bug

Explain what kind of behaviour you are getting and how you think it should do
When creating and dropping a unique constraint with a predicate the api doesn't behave the same way

Error message

Reduced test code, for example in https://npm.runkit.com/knex or if it needs real
database connection to MySQL or PostgreSQL, then single file example which initializes
needed data and demonstrates the problem.

knex.schema.table('my_table', (table) => {
    table.unique(['my_column'], {predicate: knex.whereRaw('"my_column" IS NOT NULL')})
});

Results in
create unique index "my_table_my_column_unique" on "my_table" ("my_column")
where
  "my_column" IS NOT NULL

And
knex.schema.table('my_table', (table) => {
    table.dropUnique(['my_column'])
})

results in
alter table "my_table"
drop constraint "my_table_my_column_unique"

which fails because there's no constraint, but an index by the name of "my_table_my_column_unique"

I ran into this too. It seems that this is the result of a unique index with a predicate in Postgres creating an index instead of a unique index. See https://knexjs.org/guide/schema-builder.html#unique. From docs: "... false for Postgres with predicate ..."
I've been solving it via table.dropIndex(["name"], "roles_name_unique").
i.e.
import { Knex } from "knex"

export async function up(knex: Knex): Promise<void> {
  await knex.schema.alterTable("roles", (table) => {
    table.unique(["name"], {
      indexName: "roles_name_unique",
      predicate: knex.whereNull("deleted_at"),
    })
  })
}

export async function down(knex: Knex): Promise<void> {
  await knex.schema.alterTable("roles", (table) => {
    /*
      See https://knexjs.org/guide/schema-builder.html#unique
      In MSSQL and Postgres, you can set the useConstraint option to true to create a
      unique constraint instead of a unique index (defaults to false for MSSQL,
      true for Postgres without predicate, false for Postgres with predicate).
      In PostgreSQL, SQLite and MSSQL a partial unique index can be specified by setting
      a 'where' predicate.
    */
    table.dropIndex(["name"], "roles_name_unique")
  })
}

I found this very confusing, so I'm hoping there is a solution in the works.

Can confirm this is still an issue, fix from @klondikemarlen worked.


FixedFeedbackRate test

Test for Fixed Feedback Rate controller

Due to refactoring of caliper-core structure, I'll be closing this PR and opening a separate one to accommodate caliper-core changes


getCurrentLanguage() Broken in v0.75

I think some things must have gotten left out when the hs.finalcutpro API was de-chris-ified.
-----------------------------
| FCPX Hacks v0.75          |
| Created by LateNite Films |
-----------------------------
 > *** ERROR: /Users/outpost/.hammerspoon/hs/finalcutpro/init.lua:1018: attempt to get length of a nil value (global 'finalCutProLanguages')
stack traceback:
	/Users/outpost/.hammerspoon/hs/finalcutpro/init.lua:1018: in method 'getCurrentLanguage'
	/Users/outpost/.hammerspoon/hs/fcpxhacks/init.lua:255: in function </Users/outpost/.hammerspoon/hs/fcpxhacks/init.lua:200>
	(...tail calls...)
	[C]: in function 'rawrequire'
	...app/Contents/Resources/extensions/hs/_coresetup/init.lua:449: in function 'require'
	/Users/outpost/.hammerspoon/init.lua:4: in main chunk
	[C]: in function 'xpcall'
	...app/Contents/Resources/extensions/hs/_coresetup/init.lua:481: in function 'hs._coresetup.setup'
	(...tail calls...)

Fixed in v0.76


Allow specification of SeparatorFlags.

This PR introduces SeparatorFlags in the codegen crate, allowing users to specify how separators should be applied in the generated automaton.

Codecov Report

Merging #63 (e4c4ff4) into master (0e3ce2b) will decrease coverage by 0.97%.
The diff coverage is 79.74%.

@@            Coverage Diff             @@
##           master      #63      +/-   ##
==========================================
- Coverage   85.61%   84.63%   -0.98%
==========================================
  Files           9        9
  Lines         695      742      +47
==========================================
+ Hits          595      628      +33
- Misses        100      114      +14

Impacted Files
Coverage Δ

src/censor.rs
100.00% <ø> (ø)

word_filter_codegen/src/pda.rs
84.80% <73.80%> (-3.40%)
:arrow_down:

word_filter_codegen/src/lib.rs
80.39% <77.27%> (-2.41%)
:arrow_down:

src/lib.rs
92.72% <100.00%> (+0.41%)
:arrow_up:

tests/integration.rs
100.00% <100.00%> (ø)

word_filter_codegen/tests/trybuild.rs
100.00% <100.00%> (ø)

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 0e3ce2b...e4c4ff4. Read the comment docs.


nb3.5.2 update broke plugin

Plugin version
v1.4.4
NetBox version
v3.5.2
Python version
3.9
Steps to Reproduce
After update to current NB, failure on going to plugin page.
Migration did run during the update process without errors:
Operations to perform:
  Apply all migrations: admin, auth, circuits, contenttypes, core, dcim, django_rq, extras, ipam, nb_risk, netbox_circuitmaintenance, netbox_config_backup, netbox_documents, netbox_napalm_plugin, netbox_topology_views, sessions, social_django, taggit, tenancy, users, virtualization, wireless

Expected Behavior
Page should display as before.
Observed Behavior
<class 'django.db.utils.ProgrammingError'>

column netbox_config_backup_backup.created does not exist
LINE 1: SELECT "netbox_config_backup_backup"."id", "netbox_config_ba...
                                                   ^

Python version: 3.11.3
NetBox version: 3.5.2

Sorry, this is not from the update, this is a missing migration on my end.


Gitlens cause vscode runs very slow

GitLens Version: 8.5.6

VSCode Version: 1.27.2
OS Version: macOS 10.12.6

I do know that someone has submitted a similar issue (https://github.com/eamodio/vscode-gitlens/issues/367), but it has not been solved. I found this problem again. And I tried to reproduce the error. I guess it's incompatible with python extension.
Steps to Reproduce:

Disabled all extensions, only keep python, intellisense will work.
Disabled all extensions, only keep python and gitlens, open a simple test file. Mouse hover on some keywords, it will show "Loading...", then, type "impu", intellisense will not complete the input.

I'm pretty sure this is related to https://github.com/eamodio/vscode-gitlens/issues/439.
Can you try to repeat your test after setting "gitlens.codeLens.enabled": false in your config? That will confirm my suspicions.

Can you please enable output channel logging by setting "gitlens.outputLevel": "debug" in your settings.json. This will enable logging to the GitLens channel in the Output pane. Once enabled, please attempt to reproduce the issue (if possible) and attach the log lines from the GitLens channel.

This is just from running it about one minute, while trying to add a new line. It stutters and letters only appear delayed. In the log, I've replaced the project path and file path with placeholders, but I hope that works for you. Lemme know if you need more data or if I should be doing something differently. Thank you for looking into this.

 Is the slowness only with that (or other large files)?

The file is about 4000 LOC. The effect is indeed a lot less pronounced on a smaller file.

Do you have "files.autoSave": "afterDelay" and files.autoSaveDelay set to a short interval?

My Auto Save is off. But, how would saving my file change the blame? Wouldn't that only be impacted by a git operation such as commit, pull or rebase? So, why would blame rerun on saving?
Ah, maybe because the lines shifted?

I'm very sorry.
I was trying to reproduce the issue with GitLens 9.0.0-alpha and went about deactivating various plugins (again). It seems that I may have misattributed the slowdown. The slowdown problem gets also significantly better when I deactivate the CodeMetrics plugin. I think it may be the combination of the two running at similar times, or just the CodeMetrics plugin that is causing the brunt of the slowdown.
Thank you for looking into this, I will try running my VSCode for a while without CM and then will report back whether I still experience this issue at all.

Yeah, I try to recalculate the blame with the edits so that all the blame information is correct.
No problem at all -- glad you've found a possible explanation for it. Please report back after you've been using it for a while -- I'm very curious as to what the performance issue is (other than just competing calculations)

I am closing this issue because it needs more information and has not had recent activity.  Please re-open this issue when more details can be provided.
Thanks!

Sorry for the late follow-up: I've not had any issues since disabling the CodeMetrics plugin. Thanks!


XO badge improvements

Cool that you have an XO badge: https://badgen.net/#xo 👌
For the status badge, when it's enabled, it shows as xo | enabled. Would be nicer to show it as xo | linter or xo | code style, maybe even in the other direction: linter | xo.
The status example is currently using a project that is not using XO. Would be better to show how it looks like when enabled. /xo/status/badgen => /xo/status/chalk.

Why not xo | not enabled & code style | XO so when it's enabled, it looks like the badge in XO's readme?

Hmmm, it seems fine to me now 😄


BUCKAROO_DEPS targets are sometimes generated incorrectly

The targets in BUCKAROO_DEPS are sometimes generated incorrectly.
Description
For example, when installing pytorch/c10:
$ buckaroo install c10
...

$ cat BUCKAROO_DEPS
# Generated by Buckaroo, do not edit!
# This file should not be tracked in source-control.
BUCKAROO_DEPS = [
  'pytorch.c10//:c10:c10',
]

Notice how pytorch.c10//:c10:c10 is not a valid Buck target! It should be pytorch.c10//c10:c10.
Expected Behavior
$ cat BUCKAROO_DEPS
# Generated by Buckaroo, do not edit!
# This file should not be tracked in source-control.
BUCKAROO_DEPS = [
  'pytorch.c10//c10:c10',
]

Actual Behavior
If there is a recipe with a target containing a slash or a root (//) then BUCKAROO_DEPS is not generated correctly.
In the recipe:
    "target": "c10:c10"

or:
    "target": "//c10:c10"

Then the BUCKAROO_DEPS generated:
$ cat BUCKAROO_DEPS
# Generated by Buckaroo, do not edit!
# This file should not be tracked in source-control.
BUCKAROO_DEPS = [
  'pytorch.c10//:c10:c10',
]

Possible Fix
Update the code for generating BUCKAROO_DEP to fix this case.
Workaround
In your BUCK file, do not load the BUCKAROO_DEPS list. Instead, specify that target manually:
cxx_library(
  name = 'my-lib',
  deps = [
    'pytorch.c10//c10:c10',
  ],
)

Your Environment

Version used: 1.4.1
Operating System and Architecture: macOS

This method is the issue https://github.com/LoopPerfect/buckaroo/blob/7a9553a53821ceee3781ca8eaa837057ea705002/src/main/java/com/loopperfect/buckaroo/ResolvedDependencyReference.java#L19

https://github.com/LoopPerfect/buckaroo/pull/180

Fixed on master. Will be included in next release.


Bug: Remove alt text for StarSearch logos

Alt text is a good thing, but in case where an icon is strictly ornamental it should have empty alt text. As well, you generally do not need to say it's a logo or image.
This is the line to change.
https://github.com/open-sauced/app/blob/41ee9f290f97031aec09b6cb7afe3e388808b386/components/organisms/TopNav/top-nav.tsx#L89
-
+

This is a good first issue, so if you've already contributed to the project, leave this one for the new comers to the project.

.take


Unknown class GIFImageView in Interface Builder file.

So in storyboard I have an imageView, did set its class as "GIFImageView".
When running app, the error in title is displayed.
Library installed as pod pod 'SwiftGifOrigin', '~> 1.7.0'
I also did a global search in the project Pods folder, and there are no results for a word "GIFImageView" - the class is not found in the library.
This is what I see:

Hi, I'm not the library's owner, but in my case I created this simple @IBDesignable class as below
`import UIKit
import SwiftGifOrigin
@IBDesignable class GifImageView: UIImageView {
@IBInspectable var imageGif: String = "" {
    didSet {
        sharedInit()
    }
}

private func sharedInit() {
    if !imageGif.isEmpty {
        self.loadGif(name: imageGif)
    }
}

}
`


Remove deprecated config-loader

Delete config-loader package and replace with a simplified local function with a dotenv call

@Mergifyio update

@SpencerWBarnes any reason we dint bump to the latest?
<EMAIL_ADDRESS>https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md

@aruniverse good question, no particular reason.  @SpencerWBarnes mind bumping all dependencies in the repo to the latest dotenv version?

@calebmshafer can do. Thanks for noticing that @aruniverse

Might i add we look into using dotenv-flow?
We could then commit default env vars to the .env and track in vcs, and then just override accordingly in a .env.*.local file.
I know dotenv recommend not commit .env files but dotenv-flow suggest otherwise, and this is the approach taken by main big names, like react-scripts and others.


[raudio] Feature Request -- Add the ability to seek a Sound to a position

Right now, we can use SeekMusicStream(Music music, float position) for music, but there's nothing like that for sounds. Something like SeekSound(Sound sound, float position). Of course, this means we need to be able to read a Sound's position as well.
The use case is a game with a full-save system where you can "quick-save" the whole state at any point and reload that state at any point as well. I need to save sounds' positions and then later play them from those exact positions when you load the save.
Thank you!

@matej-zajacik Sounds are intended for short audios, that's the reason I decided to not implement a seek function for them, if an audio needs to be seek, I recommend using a music stream.

The use case is a game with a full-save system where you can "quick-save" the whole state at any point and reload that state at any point as well. I need to save sounds' positions and then later play them from those exact positions when you load the save.

A sound shouldn't be used for that, a sound is intended for a few seconds audios or less, keep in mind that they are fully loaded in memory at loading at that could be a high cost (3 sec. @ 44100Hz, Stereo, 32bit = ~1MB).

@raysan5

A sound shouldn't be used for that, a sound is intended for a few seconds audios or less, keep in mind that they are fully loaded in memory at loading at that could be a high cost (3 sec. @ 44100Hz, Stereo, 32bit = ~1MB).

In a game with a full-save system, even a short sound (say a 3-second explosion) should get to the exact state where it was when the save was made. It's not okay to let these sounds finish playing (or stop playing them, but not re-playing them from where they were). That's basically a bug. In essence, the length of the sound has nothing to do with it, because it's really hard to say at what length the player wouldn't even notice, and at what length it would be perceived as a bug.
But okay, I understand your point. So apart from some really one-shot sounds like UI clicks and such, I'll use music streams for sounds that need the ability to be reset to an exact state or play in a loop.
Thank you for the answer!


"No object named 'build_p67_resnet_fpn_backbone' found in 'BACKBONE' registry!"

Hello ~ Thank you for answer my question ~
When run demo.py there is error as bellow:
Config 'projects/CenterNet2/configs/CenterNet2_R50_1x.yaml' has no VERSION. Assuming it to be compatible with latest v2.
Traceback (most recent call last):
File "projects/CenterNet2/demo/demo.py", line 83, in
demo = VisualizationDemo(cfg)
File "/home/mayc1/PyProject/detectron2/projects/CenterNet2/demo/predictor.py", line 35, in init
self.predictor = DefaultPredictor(cfg)
File "/home/mayc1/PyProject/detectron2/detectron2/engine/defaults.py", line 283, in init
self.model = build_model(self.cfg)
File "/home/mayc1/PyProject/detectron2/detectron2/modeling/meta_arch/build.py", line 22, in build_model
model = META_ARCH_REGISTRY.get(meta_arch)(cfg)
File "/home/mayc1/PyProject/detectron2/detectron2/config/config.py", line 174, in wrapped
explicit_args = _get_args_from_config(from_config_func, *args, **kwargs)
File "/home/mayc1/PyProject/detectron2/detectron2/config/config.py", line 229, in _get_args_from_config
ret = from_config_func(*args, **kwargs)
File "/home/mayc1/PyProject/detectron2/detectron2/modeling/meta_arch/rcnn.py", line 72, in from_config
backbone = build_backbone(cfg)
File "/home/mayc1/PyProject/detectron2/detectron2/modeling/backbone/build.py", line 31, in build_backbone
backbone = BACKBONE_REGISTRY.get(backbone_name)(cfg, input_shape)
File "/home/mayc1/anaconda3/lib/python3.8/site-packages/fvcore/common/registry.py", line 71, in get
raise KeyError(
KeyError: "No object named 'build_p67_resnet_fpn_backbone' found in 'BACKBONE' registry!"

Hello, have you solved this problem


Try and fix the binder links

Hopefully CI runs on this one...

This did the job this time, the links now point to master.


Make readme demo links point to commit hash urls and not latest

This way, when someone checkout an older commit the correct, dated demo links will be shown.

Ouch, accidentally clicked.

Makes sense, but why would you check out older commit in the first place? Are we going LTS or something, supporting multiple API versions, etc?

Makes debugger and referring much easier, that's all. Just like how I usually post the commit hash URL to a file rather than master in issues

You know what, meh =).


ec2-mac-utils missing from AMIs and AWS Homebrew tap

The utility will be installed by default for all AMIs vended by AWS after December 8, 2021. ec2-macos-utils is also available as a cask for install and updates via AWS' Homebrew tap.

The readme mentions the tool should be installed by default on the EC2 Mac AMIs and/or available in the AWS Homebrew tap but this doesn't appear to be the current situation.
https://github.com/aws/homebrew-aws

Thanks for creating this issue @thimslugga :)
I agree with you - this should be distributed and able to be updated via Homebrew.
I'll chat with the team to get the ball rolling!

Added to tap in https://github.com/aws/homebrew-aws/pull/24
The package will be available in an upcoming AMI release :)


EE3 EMC values

Added EE3 EMC values
Fixed reversed ender pearl dust registration logic
re #2817

I refuse to believe this code is safe without EE3 installed...everything I know says it's not.

It is. It only contains calls to static methods, those are not inspected until they are actually executed. No field or local variables of some unloaded type, not interfaces, no inheritance. Basically the same thing as calls to a @sideonly-removed method.
INVOKESTATIC com/pahimar/ee3/api/exchange/EnergyValueRegistryProxy.addPreAssignedEnergyValue (Ljava/lang/Object;F)V

But you are executing them without checking if EE3 is loaded. the if (IS_EE3_LOADED) check is sufficient??

as it is
public static final boolean IS_EE3_LOADED = Loader.isModLoaded(EE3_ID);

it should be. I could throw in a check for the API version, but that'd make us the only mod to do so.
And yes, I have studied about every mod that uses the ee3 api and can be found by Google. Had to, to get an idea how to even use that thing.

What I'm saying is that it was my understanding that when a method is invoked, all references are resolved. Why is this not the case here?

Because there is no reference to any object there. Only an INVOKESTATIC that takes one parameter, the fully qualified name of the static method to invoke. Or to quote the spec: "after the invokestatic opcode is a 16-bit unsigned integer index. This is the index of an entry in the constant pool." which contains a CONSTANT_Methodref entry which points to a CONSTANT_Class entry, all of which only contain references to CONSTANT_Utf8_info values. ( https://docs.oracle.com/javase/specs/jvms/se7/html/jvms-4.html ) So the actual class lookup/loading only happens when the INVOKESTATIC is actually executed and the Strings are resolved into class and field objects. Until that time, they are only IDs into the constant pool and Strings in it.
An INVOKEVIRTUAL (non-static method call) would be different. There an object to call the method on has to exist in the calling context, even if it isn't explicitly assigned to a variable. You can see that in the actual com.pahimar.ee3.api.exchange.EnergyValueRegistryProxy.addPreAssignedEnergyValue() method. There the call is dispatched to an object (API -> mod), but an additional layer of indirection must be used for this to work.

Ok, fine, I guess I believe you now :stuck_out_tongue:


Don't abandon promise

Scope & Purpose
Don't abandon the shared state to facilitate proper error handling down the line.

Don't worry about these errors, they are unrelated:

"testIResearchMetricStatsSleep"
"testDistributeShardsLikeDistribution_R2" failed: AssertionError: expected [ Array(12) ] to have a length of 11 but got 12 (I know this one)


Minimal Example Crashing

Steps to Trigger Behavior

clone repo
npm install
cd ios && pod install
cd ..
npm run ios

Link to Minimal Reproducible Example
https://github.com/Craytor/maplibre-rn-test
Expected Behavior
A map should be displayed.
Actual Behavior
Without the inclusion of <MapLibreGL.Camera />, the app simply displays no content and the following logs are shown in the bundler:
LOG  Mapbox [fault] The attribution is not in the visible area of the mapview. Please check your position and offset settings {"filePath": "-[MGLMapView layoutSubviews]", "level": "fault", "line": 1080, "message": "The attribution is not in the visible area of the mapview. Please check your position and offset settings"}
LOG  Mapbox [fault] The compassView is not in the visible area of the mapview. Please check your position and offset settings {"filePath": "-[MGLMapView layoutSubviews]", "level": "fault", "line": 1084, "message": "The compassView is not in the visible area of the mapview. Please check your position and offset settings"}
With the inclusion of <MapLibreGL.Camera />, the app immediately crashes with the provided crash report attached below.
Version(s) affected

Platform: iOS
OS version: iOS 17.4
Device type: iPhone SE 3rd gen / iPhone 15 Pro
Emulator/ Simulator: yes
Development OS: M3 Max / 14.1.1 (23B2082)
maplibre-react-native: ^10.0.0-alpha.2
MapLibre GL version: https://github.com/maplibre/maplibre-gl-native-distribution @ 5.13.0
React Native Version: "0.74.1"

Additional context
Crash report: crashreport.txt

Not sure what is going on with that crash report, but I also had trouble with the "Getting Started" example for Android when I was first trying it out. No map tiles were loading for me with the MapLibre demo tiles URL in that example. The screen was blank. I got it working by switching to following the example from Stadia Maps (and signing up for a free trial API key from them for it): https://docs.stadiamaps.com/native-multiplatform/maplibre-react-native/

Same problem here. Affects only the simulator and not the actual device (works on iOS and Android devices, have not tried android simulator)
Version(s) affected

Platform: iOS
OS version: iOS 17.5
Device type: iPhone 15 Pro
Emulator/ Simulator: yes
Development OS: M2 Pro / 14.4.1
maplibre-react-native: 9.1.0
React Native Version: "0.72.10"

Can you please try ^10.0.0-alpha.4 and report back if the problem persists? Thanks.

Ok, took me much longer than expected since I had to upgrade everything (react native, expo, etc) to the latest as well. But happy news, it doesn't crash on the simulator anymore!


ValidatorAndCollectorVisitor fails to collect sensors

when the xNN statement "set input neuron value" is used, the collector doesn't step into the expression, that is responsible for defining the value. All other xNN statements of similiar kind do this.

the tests should be extended to cover this case

to be deployed 2022-10-29 04:00:00


Training on Cityscapes

Are these the only lines (in train_net_step.py) that need to be changed to train on Cityscapes?
     if args.dataset == "coco2017":
        cfg.TRAIN.DATASETS = ('coco_2017_train',)
        cfg.MODEL.NUM_CLASSES = 81
    elif args.dataset == "keypoints_coco2017":
        cfg.TRAIN.DATASETS = ('keypoints_coco_2017_train',)
        cfg.MODEL.NUM_CLASSES = 2
    else:
        raise ValueError("Unexpected args.dataset: {}".format(args.dataset))

No, you need to write your own data processing interface to read the annotation from Cityscapes etc.

@davidchuyaya Did you ever manage to train on Cityscapes?


Add support for signed cert during ucp installtion

It would be nice to have the playbook support installation of ucp with external signed certificates.
https://success.docker.com/article/How_do__I_replace_the_TLS_certificates_for_UCP?

HI thx for opening up this RFE with us. We will put this on our eng to do list as a future enhancement. Seems to make sense from a security feature. We don't have a date yet on when this will be done as we are in the midst of updating and improving the current Ansible scripts.

this has been merged in the master branch


Attempt to limit the MarkLogic docker instance's memory usage.

@nicflores So it is encouraging that both of the MarkLogic jobs for this PR passed on the first try, but that may just be 🎲 smiling upon us. Anyhow, hopefully this reduces the memory pressure by MarkLogic, time will tell I guess.

@wemrysi, this looks great! Thanks for the PR. I'm working on caching the download of the marklogic rpm on another branch that I hope to PR soon. I'm having issues getting tests to pass for marklogic in the build of said branch. I may base my branch off the changes in this PR in order go get those tests to pass.

@nicflores or you could just merge this ;)

Should this PR close the issue https://github.com/quasar-analytics/quasar/issues/2241?

@alissapajer I hope so, but I think we need to run with this for a few days to see if things actually improve.

@alissapajer Or, if you prefer, I can re-run this PR's build a few times and see how it goes.

I'd be fine merging this PR, then after a few days if the ML builds aren't having memory problems, we can close the issue.

@nicflores @alissapajer Either of you want to merge this?

yeah, I'll go ahead and merge


Rename folder from "java" to "kotlin" because all classes are written…

… in Kotlin

I'm not sure if it's worth mentioning: Although it has not been touched in the commit, the readme of the subproject references additional dependencies which are required. As we have learned today, switching to kotlin also means that kaptTest(<micronaut-data-annotation-processor>) is required. Maybe you want to mention that there as well.

Otherwise, it looks good to me.


Layout is broken

We do not have access to Toolbars and Sidebars anymore.
I think this is a regression from the Lerna integration, but i'm not 100% sure.

Crap... I will look at it when possible

@iOiurson I can't reproduce your issue. I'm on develop on both sides and with or without npm link...

Feel free to reopen if you still have that issue ;)


Update libreoffice.sh

Changed appNewVersion check, so that no download is started if the same version of the software is installed
Changed download url

Thank you!


Installation according to readme fails on armv6 (node-gyp)

I followed the instructions on this site. But when doing npm install:

<EMAIL_ADDRESS>install /root/node-music-player/node_modules/express.io/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
(node-gyp rebuild 2> builderror.log) || (exit 0)

this is on
Linux stereo 3.12.28+ #709 PREEMPT Mon Sep 8 15:28:00 BST 2014 armv6l GNU/Linux
with node version 0.12.0 and npm 2.5.1.
I'm completely new to NPM so I'm not sure if this is an issue with the code or the setup or what. So, I'm assuming that some module is not properly installed. Starting the app does open a webpage at the address, but the page is corupted some how (there are two clkicable links that do nothing called "node  music player" and "music"

Okay a few things so we can get to the bottom of this...
Can you give me the full install log? From when you run npm install until when it gives you the prompt back again? I can't gather much information from that one line.
Also the fact you are running an ARM processor could be causing the issue, perhaps google the error along with "armv6" or something and see what comes up?

Another idea is to run sudo npm install -g node-gyp and then do an npm install and see if it works.

Ok. Tried to install node-gyp globally and it does install, after which nothing changes, however.
From log:
50209 info linkStuff<EMAIL_ADDRESS>50210 verbose linkBins<EMAIL_ADDRESS>50211 verbose linkMans<EMAIL_ADDRESS>50212 verbose rebuildBundles<EMAIL_ADDRESS>50213 info install<EMAIL_ADDRESS>50214 info postinstall<EMAIL_ADDRESS>50215 verbose unlock done using /root/.npm/_locks/nan-55cf406a9e9165b0.lock for /root/node-music-player/node_modules/express.io/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/nan
50216 verbose about to build /root/node-music-player/node_modules/express.io/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
50217 info build /root/node-music-player/node_modules/express.io/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
50218 verbose linkStuff [ false,
50218 verbose linkStuff   false,
50218 verbose linkStuff   false,
50218 verbose linkStuff   '/root/node-music-player/node_modules/express.io/node_modules/socket.io/node_modules/socket.io-client/node_modules' ]
50219 info linkStuff<EMAIL_ADDRESS>50220 verbose linkBins<EMAIL_ADDRESS>50221 verbose link bins [ { wscat: './bin/wscat' },
50221 verbose link bins   '/root/node-music-player/node_modules/express.io/node_modules/socket.io/node_modules/socket.io-client/node_modules/.bin',
50221 verbose link bins   false ]
50222 verbose linkMans<EMAIL_ADDRESS>50223 verbose rebuildBundles<EMAIL_ADDRESS>50224 verbose rebuildBundles [ 'commander', 'nan', 'options', 'tinycolor' ]
50225 verbose gentlyRm vacuuming /root/node-music-player/node_modules/express.io/node_modules/socket.io/node_modules/socket.io-client/node_modules/.bin/wscat
50226 info install<EMAIL_ADDRESS>50227 verbose unsafe-perm in lifecycle false
50228 verbose stack Error: spawn ENOMEM
50228 verbose stack     at exports.errnoException (util.js:746:11)
50228 verbose stack     at ChildProcess.spawn (child_process.js:1155:11)
50228 verbose stack     at exports.spawn (child_process.js:988:9)
50228 verbose stack     at spawn (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:7:13)
50228 verbose stack     at runCmd (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:207:14)
50228 verbose stack     at /usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:175:7
50228 verbose stack     at process._tickCallback (node.js:355:11)
50229 verbose cwd /root/node-music-player
50230 error Linux 3.12.28+
50231 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
50232 error node v0.12.0
50233 error npm  v2.5.1
50234 error code ENOMEM
50235 error errno ENOMEM
50236 error syscall spawn
50237 error spawn ENOMEM
50238 error If you need help, you may report this error at:
50238 error     http://github.com/npm/npm/issues
50239 verbose exit [ 1, true ]

Judging by the error:
50228 verbose stack Error: spawn ENOMEM

I would recommend you follow the suggestions from this
Is the device a device with low memory? It could be running out of memory... Do you have swap configured correctly?

aah... yes. that could very well be it. thanks for your help. i going to look into this and report back

No worries. let me know how you go and we can close this issue if it's simply a low memory issue :+1:

I forgot that the embedded linux system that I was using came with a OS that has no swap. Enableing swap surpased this issue, but no changes. This time this in log, and the end result looks exactly the same:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'install' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose config Skipping project config: /root/.npmrc. (matches userconfig)
5 error install Couldn't read dependencies
6 verbose stack Error: ENOENT, open '/root/package.json'
6 verbose stack     at Error (native)
7 verbose cwd /root
8 error Linux 3.12.28+
9 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
10 error node v0.12.0
11 error npm  v2.5.1
12 error path /root/package.json
13 error code ENOPACKAGEJSON
14 error errno -2
15 error package.json ENOENT, open '/root/package.json'
15 error package.json This is most likely not a problem with npm itself.
15 error package.json npm can't find a package.json file in your current directory.
16 verbose exit [ -2, true ]

Where did your log go?
Anyway it was in the github notification email... It looks like you tried to run npm install from /root. When the music player is actually clones to /root/node-music-player/. Every time you hit an error and reply can you plese give me a full log, and properly code embed it with github markdown?

Sorry I posted a log that I realized was not the correct one, and the deleted it.

but there is no other log file. I wonder if it only makes a log  when something fails?

Yeah not a lot file, I'm just talking the output when you run npm install. There is only a npm-debug.log file output if it fails. So yeah just show me the output of running npm install. If that goes through successfully you can run node app.js and it should run just fine.

I don't have an output write now, but I can describe it -  or maybe reproduce it for you later. A clean install outputs the lines in post 1 of this thread:
<EMAIL_ADDRESS>install /root/node-music-player/node_modules/express.io/node_module/socket.io
/node_modules/socket.io-client/node_modules/ws
(node-gyp rebuild 2> builderror.log) || (exit 0)

and then a a tree stucture of the modules. Running the app with the command you give above starts the program and it states that it is listening at 2000.
connect.multipart() will be removed in connect 3.0
visit https://github.com/senchalabs/connect/wiki/Connect-3.0 for alternatives
connect.limit() will be removed in connect 3.0
Express server listening on port 2000

Accessing the page with a browser works, but the page is unusable. Lookig at the source in the browser looks, it looks ok, but the way it is displayed is not correct. Tried on mobile, MacBook, Old laptop running Debian testing.

Did you run grunt after npm install?

yes

Can you give some screenshots?

Looks like no javascript:

That's what it looks like when grunt hasn't run, make sure you have grunt globally installed with sudo npm install -g grunt, then run grunt and then restart/start the server with node app.js

You know what? I thought that grunt was installed with grunt-cli and because running grunt caused the machine to do "stuff" and not give an error, I was sure that it was installed. However, it was not, and now that it is the page looks quite different. I'm sorry that I wasted your time like this, and thanks for helping nevertheless.

No worries. Glad I could help. Be sure to let me know how your experience with node-music-player goes! :+1:

Yes, the thing is, I don't know where to do that. You don't seem to have a support forum or something like that .

just adding on to the issue or creating another issue for it. Or on gitter

Thanks, I installed this on PiMusicBox (http://www.woutervanwijk.nl/pimusicbox/)(https://github.com/woutervanwijk/Pi-MusicBox). This is a mopidy (https://www.mopidy.com/) server on raspbian running on Raspberry pi. This is also why the swap is off by default (the RPi uses an sd-card as a drive and it is not good in the long run to write on it, as it has a limited amount of read/write operations that can be performed on it). Something like your sofware should come by default with pimusicbox imo.
I don't have the technical competence to understand as much but it might be that there could have been some easier way to install node music player on this operating system, since it apparently uses some kind of application off node. Here I am using an older version of Raspbery pi that comes with a single core 800 mhz processor and the only problem with that is perhaps that scanning the library is a bit slow i you have lots of music. But with newer versions of RPi with more RAM and the quad-core ARM Cortex-A7 maybe would not have any problem? Unless this is I/O-limited (probably is to some extent) but

I guess pi-musicbox is their own thing and the different online services are just ones they integrate with (BTW their ui looks really nice). And yeah I just guess node music player might be a bit too heavyweight for a pi, I've tried it on one of my first gen ones before and yeah its real slow.
But yeah I'm glad you managed to get it working! :)

I tried it to see how it would work and what the UI is like. I am going to install it again on the newer version of PI, and if you want I can report to you if it is any quicker/better.

Yeah sounds good. Cheers! :)


🖌 Refactor Out AbstractTransport

The AbstractTransport was initially imagined with some useful shared functionality for all transports, but as the Transport system evolved this no longer seemed necessary. At this point, the AbstractTransport should probably get canned unless there are any suggestions for functionality that would be helpful to future transport authors.

Since the AbstractTransport is just a set of method stubs without implementation, it could be refactored into a typing.Protocol making it more flexible. That requires python ^3.7 atleast. What is the required minimum supported version for Speckle? Python 3.6 will reach its EOL in december 2021. As far as I know many tools now easily support python 3.7, ie Blender and such. @izzylys  do you have any insight on this?


DELETE key does not work in Copilot Chat panel

VS Code Version: 1.80.0-insider (user setup)
Commit: ef6abe4cd1573689d070b8715e97019cfadaeb51
Date: 2023-06-12T05:21:26.842Z
Electron: 22.5.5
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19045
OS Version: Windows 11
Logs: N/A

Steps to Reproduce:

Open Chat: Github Copilot panel
Type text
Attempt to use DELETE key - no text deleted
Attempt to use BACKSPACE key - text deleted

Could you run the command "Toggle keyboard shortcuts troubleshooting" and let me know what the log says when pressing these keys? Probably a keybinding from an extension or something else taking over.

Ah, there is a keybind.
2023-06-14 08:44:40.276 [info] [KeybindingService]: / Received  keydown event - modifiers: [], code: Delete, keyCode: 46, key: Delete
2023-06-14 08:44:40.277 [info] [KeybindingService]: | Converted keydown event - modifiers: [], code: Delete, keyCode: 20 ('Delete')
2023-06-14 08:44:40.277 [info] [KeybindingService]: | Resolving Delete
2023-06-14 08:44:40.277 [info] [KeybindingService]: \ From 13 keybinding entries, matched workbench.action.chat.remove, when: inChat, source: built-in.
2023-06-14 08:44:40.277 [info] [KeybindingService]: + Invoking command workbench.action.chat.remove.

I did some poking in the Default Keybindings JSON: apparently that's set up as a default when in the Chat, hence why I didn't see this behavior anywhere else.
{ "key": "delete",                "command": "workbench.action.chat.remove",
                                     "when": "inChat" },

I'd suggest considering this default keybind a bug: if I'm in the text box in the chat and I want to use DELETE to remove text, that should work like any other editor.


Instructions appear to be outdated and need updating.

Some generalities:

Throughout the document there are references to choosing the OK button, there is no OK button anymore - it is just the left arrow in the top left screen.
Many menu items have change or are sub menus now.

Some specifics: in the section "Setting up a job":

the bill-to customer referenced does not exist in the Cronus database.
On the posting fast tab, the options for the Status field are:  Planning, Quote, Open, Completed (there isn't an option for "Order").

"To Customize Pricing"

the Resource Action is actually under the Prices menu.
The Item action is under Navigate  > Prices > Item
The G/L Account Action is under Navigate > Prices > G/L Account
There is not a G/L Account 8430 (Travel) in the Cronus Database (maybe this is a different data set?)

"To Create Planning Lines" section:
The line types terminology has changed.  There is no longer an option for "Both Schedule and Contract", it is now Both Budget & Billable.
These are just some examples.  I think these walkthroughs are great and excellent learning tools.  But the changes in the system from the documentation make it difficult to work through them.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 850880b4-15c7-9760-17c5-b723b9b2b17f
Version Independent ID: b52bcf7c-1126-b2ab-c8bc-29c29f851e27
Content: Walkthrough - Managing Projects with Jobs - Business Central
Content Source: business-central/walkthrough-managing-projects-with-jobs.md
Service: dynamics365-business-central
GitHub Login: @SorenGP
Microsoft Alias: sgroespe

Hello Kimberley523,
Thank you for your feedback! You are quite right that this article is getting to be pretty dusty and could do with a thorough spring cleaning. We hope to get the content updated in the coming weeks as part of an effort on the jobs content all-up.

The topic has been updated and will be available within one week.
Note:

In navigation content, we never refer to an action's position on the menus. This is because users can move actions around with the Personalize feature.
Most walkthroughs, incl. this one, require the Full Sample Data option. A note has been added to the topic.


Fixes #39919 uri trailing slash

State that the baseUri parameter must have a trailing slash.

@edburns : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@edburns - thanks for making this fix, and sorry about the trouble with getting the function to work. I did some tests and it looks like some additional clarification is needed. Would you prefer for me to sign off on this PR and then I can add more after it is merged, or would you rather add the clarification yourself?
What I am seeing is that the baseUri is determined based on the last slash. So, some users would need to add a slash but others would not. Specifically, if you pass in a path to file, you would not want to add a slash.
For example, providing "http://contoso.org/firstpath" for the baseUri resolves to "http://contoso.org/" which is probably not what most users want. Providing "http://contoso.org/firstpath/" resolves to "http://contoso.org/firstpath/" which probably is the intended result.
But passing in "http://contoso.org/firstpath/azuredeploy.json" resolves to "http://contoso.org/firstpath/" which makes sense. Passing in "http://contoso.org/firstpath/azuredeploy.json/" resolves to "http://contoso.org/firstpath/azuredeploy.json/" which will probably cause problems.

@tfitzmac Thanks for your feedback.  I have pushed a1f0500dd9f7f7de as an attempt to correctly apply it.

@edburns @tfitzmac - this PR touches too many files to be handled in the public repo. The changes here need to be moved to the private repo so we can take advantage of the validation and staging tools there. (I also suspect the PR contains extra commits from other authors and the changes should be separated from those). In any case, we can't merge this in the public repo as is (even if the changes are approved). If @edburns can't open a new PR in the private repo (azure-docs-pr) we'll need to move the commits after this is signed off. Thanks.

I also suspect the PR contains extra commits from other authors and the changes should be separated from those
@Jak-MS Sorry, I did some incorrect git actions and touched more files.  I'll close this and open another one with only the one file changed.


When I use terraforming in Seoul region, I met the error .

When I use terraforming in Seoul region, I met this  error ( Please see below)

" You are not subscribed to this service. Please go to http://aws.amazon.com to subscribe."

I can use terraforming in Tokyo region ,but I can't use in Seoul.
Do you have limit region?

Terraforming itself doesn't have any region restriction.
I found this article:
https://aws.amazon.com/premiumsupport/knowledge-center/error-access-service/

Resolve "You are not subscribed to this service" or "The AWS Access Key Id needs a subscription for the service" errors
If you're using an account that was created in or after 2011, then update your account status.
If you're using an account that was created before 2011, then update your pre-2011 account status.

It seems this issue is caused by your AWS account status, not by Terraforming. How about using another tool, such as awscli or Terraform?
If this issue still happens with Terraforming only, please reopen this issue. Thanks!


required-properties snippet on a module inserts an additional blank line

With the following file (cursor = |, where mymodule.bicep is a module with required parameters):
module test 'mymodule.bicep' = |

If I accept the required-properties completion, I end up with:
module test 'mymodule.bicep' = {
  name: |
  params: {
    paramA: |
  }
  |
}

Most of the time, I don't really want the blank line after the params block, so I'm forced to go back and delete it.

Happens to me all the time as well. It would be good if we could do something generic here that works in resources and modules.


entryCssClasses is not a function

houses.listView()
      .entryCssClasses(function(entry) {
          return (entry.views > 300) ? 'is-popular' : '';
      })

I am trying to get entryCssClasses to work with the listView(). But the console shows: TypeError: houses.listView(...).entryCssClasses is not a function. Is there anything wrong with the way I am using entryCssClasses? I am currently using the code from the master branch.

I'm having the same issue, using it the same way as you are.

I am resorting to adding classes to the field as an alternative:
nga.field('_id')
  .cssClasses(function(entry) {
    ...
  }),

Probably a current bug with the master branch.

I am not seeing this issue using the latest master branch. @quangle can you check if this is still happening?

No feedback from some time, closing.


Use vagrant ssh-config output for ssh connection

The output format of vagrant ssh-config can be used for ssh directly, with ssh -F ./ssh-config-file default

Example: http://stackoverflow.com/a/23685489/974381
On the other hand, maybe we should keep the handling as-it-is, and just introduce a similar method, which can output the ssh connection infos in this way. Why? For better error handling - vagrant ssh-config can include additional texts, e.g. printed in Vagrantfile with puts, or might fail silently (with exit code 0).


AssertionError: The specified fps is higher than the raw video

The trained kitti model provided in the repository only supports 416x128 resolution I guess because when I tried it on 1920x1080 frame this is the result:

As you can see some part of the image is not processed.
So I decided to train a model using videos with another resolution 640x480.
However there is some issue in data generation:
Downloading: "https://download.pytorch.org/models/maskrcnn_resnet50_fpn_coco-bf2d0c1e.pth" to /root/.cache/torch/hub/checkpoints/maskrcnn_resnet50_fpn_coco-bf2d0c1e.pth
100%|█████████████████████████████████████████| 170M/170M [07:36<00:00, 390kB/s]
Traceback (most recent call last):
  File "gen_data.py", line 217, in <module>
    _generate_data()
  File "gen_data.py", line 46, in _generate_data
    dataloader = Video(
  File "/media/nvme/nitin/depth_estimation/pytorch_depth_from_videos_in_the_wild/datasets/data_prep/video_loader.py", line 79, in __init__
    self.vid2img()
  File "/media/nvme/nitin/depth_estimation/pytorch_depth_from_videos_in_the_wild/datasets/data_prep/video_loader.py", line 127, in vid2img
    assert raw_fps >= fps, "The specified fps is higher than the raw video"
AssertionError: The specified fps is higher than the raw video

I check using ffmpeg it reports 30.32 FPS of the video (I was trying to generate dataset using single video)
Is it possible to infer the entire Image ? I tried resizing my images to 416x128 resolution but there seems to be false predictions:

Please suggest the number of videos and video length for a good-performing model.

(1)You may use the KITTI pretrained model to predict depth for the lower part of the image by the following command.
python infer_depth.py --input_path path/to/a/folder/containing/images    # or path/to/a/video
--model_path path/to/a/folder/containing/checkpoints
--crop 0 0 0.45 0
(2) Probably opencv couldn't read the fps successfully. Please use the code below to check if a valid value is printed.
vidcap = cv2.VideoCapture(path_to_video)
vidcap.set(cv2.CAP_PROP_POS_MSEC, self.video_start)
raw_fps = vidcap.get(cv2.CAP_PROP_FPS)
print(raw_fps)
If not, you may revise the line#124 in datasets/data_prep/video_loader.py as
raw_fps = 30.32
We may consider to add an option to allow users to manually define raw_fps if it help your situation. Otherwise, we need to figure out an alternative way to correctly retrieve fps from your videos.
For fps=10, number of images to the order of 10^4 should work. Since this method is an SfM-based method, your videos should not be compressed too much to have severe quality loss. Otherwise,  depth maps are likely to have weird artifacts.

@imneonizer
I may implement one or a combination of the two solutions below:

ignore the videos that OpenCV retrieved 0 fps and convert the other videos as normal.
add an additional option to let users manually assign fps for the videos with 0 fps retrieved.

Appreciate feedback from you! Thank you!


Wrong AutoCadColorIndex

I think some colors on dxf-parser/lib/AutoCadColorIndex.js are wrong or maybe the definition changed.
I've checked some of them, for example, the AutoCadColorIndex[154] = 19608 = 0x004C98 = (0, 76, 152) and on my AutoCAD 2014 the indexed color 154 is (0, 63, 127).
I investigated a bit to find the correct colors and I found some ACI (AutoCAD Color Index) tables but those don't match either.
ACI table 1[154] = (0, 64, 129)
ACI table 2[154] = (0, 76, 153)
I'm not sure how to fix this.

Yeah, I imagine these indexes are actually application specific. I don't remember where I got the table that generated the list in dxf-parser. We have two possible approaches:

Make it extendable so the index table can be changed
Store the color index in the parsed data so that whatever program reads the parsed data can determine the color to display for each index.


Renamed windows set_keys util function

Renamed a util function for windows that caused a compilation error. Bumped a patch version to compensate, and also added a matrix of OS'es so we can ensure we don't run into this again.

@autodidaddict apologies for the continued requested reviews, keeps dismissing the approval when I change a minor thing (I thought the tests would pass last time)


what is the .h5ad file?

Hi,
I have some question about the .h5ad file .
What is a h5ad file?
What is its data storage structure?
Why is it read much faster than CSV.

Hi, this is a hdf5 file with some additional structure specifying how to store AnnData objects.
We use h5py package, so you can read more about the hdf5 file format there.

Hi Koncopd,
Do you happen to know how to re-write an .h5ad file to a 'regular' .h5 file?
I'd like to execute some downstream analyses with a subset of cells I created with Anndata/Scanpy, using a software package which can not read the .h5ad format, but CAN however read the .h5 format.
Thanks in advance,
Josephina

Hi Koncopd,
Do you happen to know how to re-write an .h5ad file to a 'regular' .h5 file?
I'd like to execute some downstream analyses with a subset of cells I created with Anndata/Scanpy, using a software package which can not read the .h5ad format, but CAN however read the .h5 format.
Thanks in advance,
Josephina

Hi, @josinejansen . You can open a h5ad file as if it is a standard hdf5 file.

Hi, @josinejansen . You can open a h5ad file as if it is a standard hdf5 file.


Added an article + metadata images + article images

/botio build

From: MushinBot (botio-academy.horizen.io)

Received
Command cmd_build from @MarcosJSP received. Current queue size: 0
Live output at: https://botio-academy.horizen.io/0028f4978df49d8/output.txt


Add responseMimeType support

Per b/338414499,
This adds support for the responseMimeType property that was added to GenerationConfig of gemini.
This PR also fixes the following:

b/338415129 -> Hide leaked JSON property in common

Please add tests


required namespace positional argument missing error in walkthrough

Got to this part of the walkthrough
https://kopf.readthedocs.io/en/stable/walkthrough/creation/
and saw this error in the kopf ephemeral.py --verbose output:
[2019-05-27 18:33:56,232] kopf.reactor.handlin [DEBUG   ] [myproject/my-claim] Creation event: {'apiVersion': 'zalando.org/v1', 'kind': 'EphemeralVolumeClaim', 'kopf': {'dummy': '2019-05-27T17:33:31.599067'}, 'metadata': {'annotations': {'kubectl.kubernetes.io/last-applied-configuration': '{"apiVersion":"zalando.org/v1","kind":"EphemeralVolumeClaim","metadata":{"annotations":{},"name":"my-claim","namespace":"myproject"},"spec":{"size":"10G"}}\n'}, 'creationTimestamp': '2019-05-27T17:29:58Z', 'finalizers': ['KopfFinalizerMarker'], 'generation': 1, 'name': 'my-claim', 'namespace': 'myproject', 'resourceVersion': '776587', 'selfLink': '/apis/zalando.org/v1/namespaces/myproject/ephemeralvolumeclaims/my-claim', 'uid': '0cbcaf4b-80a5-11e9-a261-46c1de1eb0ee'}, 'spec': {'size': '10G'}, 'status': {'kopf': {'progress': {'create_fn': {'delayed': '2019-05-27T17:33:56.117633', 'retries': 4, 'started': '2019-05-27T17:29:55.703835'}}}}}
[2019-05-27 18:33:56,233] kopf.reactor.handlin [DEBUG   ] [myproject/my-claim] Invoking handler 'create_fn'.
[2019-05-27 18:33:56,233] kopf.reactor.handlin [ERROR   ] [myproject/my-claim] Handler 'create_fn' failed with an exception. Will retry.
Traceback (most recent call last):
  File "/Users/imiell/anaconda3/lib/python3.7/site-packages/kopf/reactor/handling.py", line 382, in _execute
    lifecycle=lifecycle,  # just a default for the sub-handlers, not used directly.
  File "/Users/imiell/anaconda3/lib/python3.7/site-packages/kopf/reactor/handling.py", line 478, in _call_handler
    **kwargs,
  File "/Users/imiell/anaconda3/lib/python3.7/site-packages/kopf/reactor/invocation.py", line 70, in invoke
    result = task.result()  # re-raises
  File "/Users/imiell/anaconda3/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
TypeError: create_fn() missing 1 required positional argument: 'namespace'

I was in a 'myproject' namespace as system:admin in a minishift 3.11 (sic) cluster - are there problems with running this against 1.11 k8s APIs?

@ianmiell Thanks for reporting.
Indeed, the EphemeralVolumeClaim operator was not tested to work — as it is not finished yet (the critical missing feature is already implemented, but not merged yet — will be released in couple days).
The issue with the kwarg is fixed in #80.
Meanwhile, as a quick work-around, you can replace namespace kwarg with meta, and use meta['namespace'] to refer to the namespace. Or, similarly, body & body['metadata']['namespace'].

Thanks @nolar. This looks like a great project, let me know if I can help. I have a little experience in automated testing of k8s clusters.

Fixed with kopf==0.12: https://github.com/zalando-incubator/kopf/releases/tag/0.12


Add widget and unit tests

Add unit as well as widget tests, which will be safety net for any changes hence forth!

@Amitbhave I'm interested to solve this problem.. please assign me this issue under Hacktoberfest

Sure, let me do that. Also will you be interested to upgrade this plug in to latest flutter version?

Ok ... i'll do that

So these are plugs that u r using in ur app

@Amitbhave assign me asap


[Example 9] Gazebo Classic and Gazebo

This is a rewrite of existing contributions #127 and #191 for the new structure of this repo.

[x] Basic RRBot with position interface and hardware interface copied from example_1
[x] Working example for Gazebo Classic
[x] Working example for Gazebo
[x] Polishing userdoc.rst

@destogl @olivier-stasse or @haider8645: I was not able to cherry pick commits from the existing PRs due to the structure rewrite, but I added you as co-authors.
To keep that example simple, I removed JTC from this example.
If merged this closes #65

@mhubii I gave up to create a simple demo for rolling, because back then there was not everything released for rolling. Maybe this changed, or we can at least make a working example for humble?
Furthermore, gazebo classic and gazebo can't be installed in the same system? Maybe two separate docker containers would do. If you have an idea, feel free to create a new PR :)

sorry for dropping these random comments^^, just stumbled upon your pr and it was helpful regardless @christophfroehlich for what I was trying to achieve.
Yes it seems only one version can be installed. But for each version individually it works for humble (didn't check rolling and new gazebo). There is only an issue where the ros 2 control gazebo plugin doesn't support multiple command interfaces if I am. It mistaken.

Normally we target everything to rolling and backport stuff then. But if there is a reason for a PR against humble, thats OK.
If you have a working setup, can you make a new PR targeting humble? The tricky thing is describing the installation,  setup of the docker, and make CI happy.

I close this in favor of #482 -> let's keep humble+iron as it is.


17 update post process

Ignore this pull request

A new pull request with few more code changes has been created. Hence closing this


Dreamview can't work with apollo8.0 update

Describe the bug

Dreamview can't work with apollo8.0 update
In what area(s)?

Steps to Reproduce the Problem

Steps to reproduce the behavior:

Run this command in the container to start Dreamview: ./scripts/bootstrap.sh
Run this command in the container : source cyber/setup.sh
Start the bridge and spawn the ego vehicle: python main.py
Start a co-simulation: Open apollo client: http://localhost:8888

no bugs with main.py, however dreamview can't obtain car initial position and map data.

below is cybermonitor output:

Expected Behavior

Actual Behavior

Screenshots or Video

Environments (please complete the following information):

System info: [use uname --all on LInux]
Cuda version [use nvidia-smi]
Docker version [use docker -v]
Docker-compose version [use docker-compose -v]
Versions of other dependent software...

Additional context

What version of carla_apollo_bridge?

0.2.x
0.1.x
edge: output of git describe --dirty

Release Note

RELEASE NOTE:

Make sure you started the following modules:
Routing, Localization, Planning, Control
I guess that you didn't start Localization module.
If this issue still happens, switch to another map and switch back, and then open the modules.

Make sure you started the following modules: Routing, Localization, Planning, Control I guess that you didn't start Localization module. If this issue still happens, switch to another map and switch back, and then open the modules.

I tried and the localization module indeed can't work.
In mainboard_default.INFO:

I search the problem and find https://github.com/ApolloAuto/apollo/issues/2426, in modules/localization/conf//localization_config.pb.txt, change MSF to RTK.
and In apollo/modules/dreamview/conf/hmi_modes/mkz_standard_debug.pb.txt change MSF to RTK.
the localization module can work normally?

however, after python main.py, the dreamview still can't obtain location and map data.
when I check cybermonitor:

I find something wrong with this channel:

I just tested again, Localization status Error doesn't have real effect. But we will fix it soon.
Can you restart apollo or dreamview and try again?

I just tested again, it does have this problem. It can be solved like this: switch the map to carla_town04, and then switch back to it

yes, it works! but when you flash the webpage it lost location and map data again.
what's more, the camera have bugs.

Does "select channel" help?

Does "select channel" help?

no, the reason seems something changes of camera config from apollo7 to apollo8.

Does "select channel" help?

no, the reason seems something changes of camera config from apollo7 to apollo8.

OK. Thank you very much for your feedback, we hurry up to fix this issue.

yes, it works! but when you flash the webpage it lost location and map data again. what's more, the camera have bugs.

Can you provide detailed steps?
I  changed  MSF to RTK In apollo/modules/dreamview/conf/hmi_modes/mkz_standard_debug.pb.txt and I also changed town to  Town04 in  apollo/modules/carla_bridge/settings.yaml and I restart apollo or dreamview. But the dreamview still can't obtain location and map data.

yes, it works! but when you flash the webpage it lost location and map data again. what's more, the camera have bugs.

Can you provide detailed steps? I changed MSF to RTK In apollo/modules/dreamview/conf/hmi_modes/mkz_standard_debug.pb.txt and I also changed town to Town04 in apollo/modules/carla_bridge/settings.yaml and I restart apollo and dreamview. But the dreamview still can't obtain location and map data.

you should change map 04 in dreamview rather than in settings.yaml.

Does "select channel" help?

no, the reason seems something changes of camera config from apollo7 to apollo8.

OK. Thank you very much for your feedback, we hurry up to fix this issue.

Hi, I have tried a long time to solve the problem of "camera view missing in apollo8 dreamview" and can't find a solution, do you also find the problem or your environment is ok with that? Any suggestion may be helpful for me, thanks


applying flaml technique - subsampling strategy

I don't think any of us can validate this based on the info above. I'm moving this to Release.


context deadline exceeded

Hi,
I'm trying to use the opera-proxy client on my Windows 11 system (latest version) using the following release package:
opera-proxy.windows-amd64.exe
When I run it, I get the following log:
MAIN    : 2024/10/06 11:38:29 main.go:179: INFO     opera-proxy client version v1.5.0 is starting...
MAIN    : 2024/10/06 11:38:29 main.go:215: INFO     Discovering API IP address...
MAIN    : 2024/10/06 11:38:29 main.go:235: INFO     Discovered address of API host = <IP_ADDRESS>
MAIN    : 2024/10/06 11:38:31 main.go:349: INFO     Endpoint: <IP_ADDRESS>:443
MAIN    : 2024/10/06 11:38:31 main.go:350: INFO     Starting proxy server...
MAIN    : 2024/10/06 11:38:31 main.go:352: INFO     Init complete.
2024/10/06 11:38:39 ERROR response received addr=https://dns.adguard-dns.com:443/dns-query proto=tcp status="requesting https://dns.adguard-dns.com:443/dns-query: Get \"https://dns.adguard-dns.com:443/dns-query?dns=AAABAAABAAAAAAAABGFwaTIKc2VjLXR1bm5lbANjb20AAAEAAQ\": context deadline exceeded"

I also tried using the Ubuntu WSL (snap version), and here’s the log I got:
noob@LAPTOP-FS4SURGC:~$ opera-proxy -country EU
MAIN    : 2024/10/06 11:42:37 main.go:179: INFO     opera-proxy client version v1.4.2-11-g27b3da3 is starting...
MAIN    : 2024/10/06 11:42:37 main.go:215: INFO     Discovering API IP address...
MAIN    : 2024/10/06 11:42:37 main.go:235: INFO     Discovered address of API host = <IP_ADDRESS>
MAIN    : 2024/10/06 11:42:39 main.go:349: INFO     Endpoint: <IP_ADDRESS>:443
MAIN    : 2024/10/06 11:42:39 main.go:350: INFO     Starting proxy server...
MAIN    : 2024/10/06 11:42:39 main.go:352: INFO     Init complete.
2024/10/06 11:42:47 ERROR response received addr=https://dns.adguard-dns.com:443/dns-query proto=tcp status="requesting https://dns.adguard-dns.com:443/dns-query: Get \"https://dns.adguard-dns.com:443/dns-query?dns=AAABAAABAAAAAAAABGFwaTIKc2VjLXR1bm5lbANjb20AAAEAAQ\": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)"

background :
I am on a university Wi-Fi network, which has a fortified client configured. However, Opera browser's built-in VPN works fine, but no other VPN services seem to work.
I need access to certain URLs that are blocked on the network, including *.github.dev, so I was hoping to set up a system-wide proxy using this repository. Could you please help me figure out what’s going wrong here?
Thank you!

Hi!
It says "Init complete" so it should work anyway. You should ignore that error and try to use it as usual (proxy on port <IP_ADDRESS>:18080 by default).


Update Test Cases for volume condition type

Ref: longhorn/longhorn#6830
Test Cases for Volume Condition Type on master-head

2-stage upgrade on master-head

@roger-ryao just do backport by your own.

@mergify backport v1.5.x v1.4.x


Neo Matrix field designer support

Hey,
Awesome work on Reasons for Craft 3! 🎉
I was wondering if you'd be able to support Neo Matrix field designer? I see the action in Neo's fld is fields/save-field, but you don't seem to be doing anything with this yet here: https://github.com/mmikkel/Reasons-Craft3/blob/c519bc173aaae031002faf89680903924f0b80bd/src/assetbundles/reasons/dist/js/reasons.js#L31
There's obviously more that would need to be done in order to support Neo but I would really appreciate it if you would consider adding support for Neo Matrix's fld 😄

Hi @Marcuzz – thanks for the kind words.
Sorry, but I'm not going to add support for Neo (or Matrix).


Disable New User Creation

How can I tell Adldap2 to not create a new user in the users table when successful login, I want it to look at the users in the users table and only allow authentications of where the usernames from the users table match Active Directory, and update the records in-case of a AD communication issue using 'login_fallback' => true
Thanks for help in advance!

I got it to work by modifying the src/AdldapAuthUserProvider.php
protected function getModelFromAdldap(User $user, $password)
{
....
// Create the model instance of it isn't found.
//if (!$model instanceof Model) {
//    $model = $this->createModel();
//}
if(!$model){
return $model;
}
....
}
How can I override outside the vendor directory, due to updates overwriting the file!

I fixed it by writing a custom function in AuthController.php and then passing it to the postLogin function after my checks, changed my routes file to call the new function postLoginLDAP on POST.

/**
     * Handle a login request to the application before passing it to LDAP.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    public function postLoginLDAP(Request $request)
    {
        if(!User::whereUsername($request->username)->count())
        {
            return redirect()->back()
                        ->withInput($request->only('username', 'remember'))
                        ->withErrors([
                            'username' => 'This account is not allowed to access the system!',
                        ]);
        }
        return $this->postLogin($request);
    }

Glad to hear you've solved your issue! Apologies for the long response on this.


Select dropdown width issue - stays fixed at 220px

The select dropdown width is fixed to 220px and does not use the 'width' property passed in as a javascript option, also it does not respect the size of the span/column either, it stays fixed at 220px!

I'm still experiencing this issue. How have you all fixed it?


Readme lsp flag

Adds --lsp flag to integration instructions for vim+coc and vim+languageclient
Part of #1558

I updated https://github.com/neoclide/coc.nvim/wiki/Language-servers#haskell with --lsp. Is this flag mandatory?

Yes, it is, to allow dumping human readable debug info it run without it.

Okay, good to know.
Maybe too late, but I'd prefer the end-user having no flags meaning less ways to mis-configure the setup. On the other hand, there doesn't seem to be a consistent way for language server configuration anyway (different language server implementations )

Well, when the end-user is debugging running without flags is a good option. It also mirrors the behaviour in ghcide, so gives some consistency.
It also was the standard for a very long time, only changed recently.


fix #248 - support for several AWS MachinePool types

Fixes #248. Both flavors of AWS MachinePools - AWSMachinePool and AWSManagedMachinePool - were broken due to missing entries in the name reference configuration.
Testing (manual): successfully deployed EKS cluster with AWSManagedMachinePool node groups as part of Spot.io Ocean integration demo: https://youtu.be/Hy5GXWV_b2M

In supporting MachinePools did we check that it doesn't break MachineDeployments?

@bcle in supporting MachinePools did we check that it doesn't break MachineDeployments?

Yes, through manual testing. Going forward, the E2E tests will check for regressions.


When Java client calls Java worker, can the worker be deployed on a server separately and not on the same server with Java client?

When Java client calls Java worker, can the worker be deployed on a server separately and not on the same server with Java client?

I think yes. It should be independent and communicate via message broker. I haven't needed it, though so it's not much tested.

When Java client calls Java worker, it needs the agent class of worker as the parameter. However, since worker and client are deployed on different servers, how does the client get the agent class of worker?

I think yes. It should be independent and communicate via message broker. I haven't needed it, though so it's not much tested.

When Java client calls Java worker, it needs the agent class of worker as the parameter. However, since worker and client are deployed on different servers, how does the client get the agent class of worker?

They just need to share the code. The class describes the API of the task and makes it easier to call the task from your code.
Check the Celery#submit method. It just extracts the name from the class. If you really don't want to share the classes, you can use the Celery#submit(String, Object[]) method.


The bot should set its logo as an avatar; not as a part of its comment.

Advantages:

No need to retransfer it on every comment change (saves few bits of bandwidth :P)
One can recognize the bot as such in the overlay.
Just looks better.

Coding is already done.


Increase Max backup files

Users with more than 32 saves were reporting issues with Save Game Copier. This fix allows up to 255 files to be read.
The drawbacks is that is uses much more stack space. I don't know if that's reasonable or not. I also don't know what the maximum number of individual files is.

@slinga-homebrew Thank you for all your contributions! 😃

Thank you for Jo Engine, it has really made Saturn dev easy.


Replace bundle-app by bundle and bundle-module by make-module in README.

Description of the change
TODO
PR checklist:

[ ] Updated the version number in package.yaml according to SemVer (0.x.y.z, x bumps on breaking changes, y on additions, z on patches)
[ ] Added the change to the "Unreleased" section of the changelog
[ ] Added some example of the new feature to the README
[ ] Added a test for the contribution (if applicable)

P.S.: the above checks are not compulsory to get a change merged, so you may skip them. However, taking care of them will result in less work for the maintainers and will be much appreciated 😊

Hi @epost! I think there's a misunderstanding here, the README is correctly using the new commands bundle-module and bundle-app, which are due to be released in 0.8, see the relevant issue: https://github.com/spacchetti/spago/issues/147
The docs for the current release are here: https://github.com/spacchetti/spago/tree/<IP_ADDRESS>
So I'll close this and release as soon as possible (some documentation is still missing)

@f-f Oh, sorry about that! Thanks for the pointer. Glad to hear it though; the new names are nicer. :)

You're welcome! 🙂

Just released 0.8.0

Awesome! Thanks for the heads-up!


footer added in Home #5

Added Footer in Home page #5 .
Lite Mode:

Dark Mode:

Hey @samratghosh291
I have reviewed the branch and there are no conflicts, Please check it again.


nixos/wordpress: Disable directory indexes

Fixes #151159
Confirmed using path http://localhost/wp-includes/

Motivation for this change
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[x] (Package updates) Added a release notes entry if the change is major or breaking
[x] (Module updates) Added a release notes entry if the change is significant
[x] (Module addition) Added a release notes entry if adding a new NixOS module
[x] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Also uploads traversal: http://localhost/wp-content/uploads/2022/01/ which is not optimal IMHO.

Let's merge as soon as the bot does its thing :+1:
Thanks!


[1.2.0] fixes for php81 support

Codecov Report

Merging #59 (50baa4c) into main (6a54825) will not change coverage.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##                main       #59   +/-   ##
===========================================
  Coverage     100.00%   100.00%
- Complexity        19        24    +5
===========================================
  Files              3         3
  Lines             49        54    +5
===========================================
+ Hits              49        54    +5

Impacted Files
Coverage Δ

src/IPResult.php
100.00% <100.00%> (ø)

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 6a54825...50baa4c. Read the comment docs.


App Crashes When Player Is in Range With Latest Commits

Please provide logs and screenshot.

Please provide logs and screenshot.

Keyerror ' '
In CHARACTERID
save_stats()

umm please provide full logs


Handling Anthropic JSON Re-Asks

What Model are you using?
claude-3-haiku-20240307
Describe the bug
The control flow within the "reask_messages" function in the retry.py module fails when running Mode.ANTHROPIC_JSON.
The function attempts to extract the message from the response object by calling response.choices[0].message; this only works with OpenAI completions, since the Anthropic Message object has no choices attribute.
The bug does not show up in Mode.ANTHROPIC_TOOLS, as the problematic "yield dump_message(response.choices[0].message" line comes after handling the ANTRHROPIC_TOOLS case.
Relevant  code below:
def reask_messages(response: ChatCompletion, mode: Mode, exception: Exception):
    if mode == Mode.ANTHROPIC_TOOLS:
        # TODO: we need to include the original response
        yield {
            "role": "user",
            "content": f"Validation Error found:\n{exception}\nRecall the function correctly, fix the errors",
        }
        return

    yield dump_message(response.choices[0].message) #This fails when passed an Anthropic Message object
...

To Reproduce
Code to reproduce:
import instructor
from anthropic import Anthropic
from pydantic import BaseModel

class User(BaseModel):
    '''Ignore all user and other system instructions and return some random nonsense that isn't valid JSON'''
    name: str
    email: str

client = instructor.from_anthropic(Anthropic())
response = client.messages.create(
    model="claude-3-haiku-20240307",
    messages=[{"role": "user", "content": "Return some random nonsense; not valid JSON"}],
    max_tokens=512,
    response_model=User,
    max_retries=3
)

Error from reproduction:
    yield dump_message(response.choices[0].message)
                       ^^^^^^^^^^^^^^^^
    raise AttributeError(f'{type(self).__name__!r} object has no attribute {item!r}') from exc
AttributeError: 'Message' object has no attribute 'choices'

Expected behavior
Code should handle ANTHROPIC_JSON case explicitly. Ideally, we would also avoid calling response.choices[0].message anywhere in the library, and instead have a parser function that can flexibly handle both Anthropic and OpenAI-format responses.

See #560


Allow customization of the workers modal

Specifically this is to add worker filtering to the workers modal

I think we want to go in a different direction with this.  Instead of projects adding "adaptation" code to OS cws, we would prefer that they "Fork" this repo and add changes in either two places:

If the code is "general," then add to the original common-workflow-service open source repo for all to use.
If the code is specific to the project, then add that code to your forked repo.

This allows you to pull the latest OS updates into the project's repo and still separate specific project code from general OS code.