error at first login

After successfull installation on Windows 10, I receive an error with the first login.
I used the admin/admin login credentials. However looking into the database the password set for the admin user is $2b$10$WtKEm5gspljprGVuHAj4QeO.QwzWiDmdEFN9VzXRbxyrSpQi9m4Fq . Is it encrypted or is this the real password?

what could be the issue causing this?
Also adding below the error messages in the browser console

Hi,
You should take a look at server log to see the problem. You can run
docker container logs <pim_container_id> to see the logs.
But most of times the problem is that people specify "localhost" as DB address. Problem is that the system is running inside docker container so "localhost" is not the host server, but the container itself. So it is necessary to specify external DB address.
But when you will see the logs we will have more info

Hi,
Thanks for your reply.
Yes, I specified localhost as the db name. Can I undo it or should I just rerun the installation with then the specific ip address as the db address?
Below is a screenshot of the logs.
Thanks for your support.
From: OpenPIM @.>
Sent: Mittwoch, 13. März 2024 10:44
To: openpim/documentation @.>
Cc: Olivier Janssen @.>; Author @.>
Subject: Re: [openpim/documentation] error at first login (Issue #2)
Hi,
You should take a look at server log to see the problem. You can run
docker container logs <pim_container_id> to see the logs.
But most of times the problem is that people specify "localhost" as DB address. Problem is that the system is running inside docker container so "localhost" is not the host server, but the container itself. So it is necessary to specify external DB address.
But when you will see the logs we will have more info
—
Reply to this email directly, view it on GitHub https://github.com/openpim/documentation/issues/2#issuecomment-1993967807 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AHG667GOATY2KB2DLLQFQRLYYANWVAVCNFSM6AAAAABEMNJMW2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJTHE3DOOBQG4 .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/AHG667H3DJQLY4Z2IO46DOLYYANWVA5CNFSM6AAAAABEMNJMW2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTW3GEL6.gif Message ID: @.*** @.***> >

Ok. I did that and have the following log:
2024-03-13 11:08:48 (sequelize) Warning: PostgresSQL does not support 'INTEGER' with LENGTH, UNSIGNED or ZEROFILL. Plain 'INTEGER' will be used instead.
2024-03-13 11:08:48 >> Check: http://www.postgresql.org/docs/9.4/static/datatype.html
2024-03-13 11:08:48 /server/node_modules/sequelize/lib/dialects/postgres/connection-manager.js:142
2024-03-13 11:08:48                 reject(new sequelizeErrors.ConnectionError(err));
2024-03-13 11:08:48                        ^
2024-03-13 11:08:48
2024-03-13 11:08:48 ConnectionError [SequelizeConnectionError]: no pg_hba.conf entry for host "<IP_ADDRESS>", user "postgres", database "pimJanssentrack", no encryption
2024-03-13 11:08:48     at Client._connectionCallback (/server/node_modules/sequelize/lib/dialects/postgres/connection-manager.js:142:24)
2024-03-13 11:08:48     at Client._handleErrorWhileConnecting (/server/node_modules/pg/lib/client.js:305:19)
2024-03-13 11:08:48     at Client._handleErrorMessage (/server/node_modules/pg/lib/client.js:325:19)
2024-03-13 11:08:48     at Connection.emit (node:events:513:28)
2024-03-13 11:08:48     at /server/node_modules/pg/lib/connection.js:114:12
2024-03-13 11:08:48     at Parser.parse (/server/node_modules/pg-protocol/dist/parser.js:40:17)
2024-03-13 11:08:48     at Socket. (/server/node_modules/pg-protocol/dist/index.js:11:42)
2024-03-13 11:08:48     at Socket.emit (node:events:513:28)
2024-03-13 11:08:48     at addChunk (node:internal/streams/readable:315:12)
2024-03-13 11:08:48     at readableAddChunk (node:internal/streams/readable:289:9) {
2024-03-13 11:08:48   parent: error: no pg_hba.conf entry for host "<IP_ADDRESS>", user "postgres", database "pimJanssentrack", no encryption
2024-03-13 11:08:48       at Parser.parseErrorMessage (/server/node_modules/pg-protocol/dist/parser.js:287:98)
2024-03-13 11:08:48       at Parser.handlePacket (/server/node_modules/pg-protocol/dist/parser.js:126:29)
2024-03-13 11:08:48       at Parser.parse (/server/node_modules/pg-protocol/dist/parser.js:39:38)
2024-03-13 11:08:48       at Socket. (/server/node_modules/pg-protocol/dist/index.js:11:42)
2024-03-13 11:08:48       at Socket.emit (node:events:513:28)
2024-03-13 11:08:48       at addChunk (node:internal/streams/readable:315:12)
2024-03-13 11:08:48       at readableAddChunk (node:internal/streams/readable:289:9)
2024-03-13 11:08:48       at Socket.Readable.push (node:internal/streams/readable:228:10)
2024-03-13 11:08:48       at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
2024-03-13 11:08:48     length: 169,
2024-03-13 11:08:48     severity: 'FATAL',
2024-03-13 11:08:48     code: '28000',
2024-03-13 11:08:48     detail: undefined,
2024-03-13 11:08:48     hint: undefined,
2024-03-13 11:08:48     position: undefined,
2024-03-13 11:08:48     internalPosition: undefined,
2024-03-13 11:08:48     internalQuery: undefined,
2024-03-13 11:08:48     where: undefined,
2024-03-13 11:08:48     schema: undefined,
2024-03-13 11:08:48     table: undefined,
2024-03-13 11:08:48     column: undefined,
2024-03-13 11:08:48     dataType: undefined,
2024-03-13 11:08:48     constraint: undefined,
2024-03-13 11:08:48     file: 'auth.c',
2024-03-13 11:08:48     line: '542',
2024-03-13 11:08:48     routine: 'ClientAuthentication'
2024-03-13 11:08:48   },
2024-03-13 11:08:48   original: error: no pg_hba.conf entry for host "<IP_ADDRESS>", user "postgres", database "pimJanssentrack", no encryption
2024-03-13 11:08:48       at Parser.parseErrorMessage (/server/node_modules/pg-protocol/dist/parser.js:287:98)
2024-03-13 11:08:48       at Parser.handlePacket (/server/node_modules/pg-protocol/dist/parser.js:126:29)
2024-03-13 11:08:48       at Parser.parse (/server/node_modules/pg-protocol/dist/parser.js:39:38)
2024-03-13 11:08:48       at Socket. (/server/node_modules/pg-protocol/dist/index.js:11:42)
2024-03-13 11:08:48       at Socket.emit (node:events:513:28)
2024-03-13 11:08:48       at addChunk (node:internal/streams/readable:315:12)
2024-03-13 11:08:48       at readableAddChunk (node:internal/streams/readable:289:9)
2024-03-13 11:08:48       at Socket.Readable.push (node:internal/streams/readable:228:10)
2024-03-13 11:08:48       at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
2024-03-13 11:08:48     length: 169,
2024-03-13 11:08:48     severity: 'FATAL',
2024-03-13 11:08:48     code: '28000',
2024-03-13 11:08:48     detail: undefined,
2024-03-13 11:08:48     hint: undefined,
2024-03-13 11:08:48     position: undefined,
2024-03-13 11:08:48     internalPosition: undefined,
2024-03-13 11:08:48     internalQuery: undefined,
2024-03-13 11:08:48     where: undefined,
2024-03-13 11:08:48     schema: undefined,
2024-03-13 11:08:48     table: undefined,
2024-03-13 11:08:48     column: undefined,
2024-03-13 11:08:48     dataType: undefined,
2024-03-13 11:08:48     constraint: undefined,
2024-03-13 11:08:48     file: 'auth.c',
2024-03-13 11:08:48     line: '542',
2024-03-13 11:08:48     routine: 'ClientAuthentication'
2024-03-13 11:08:48   }
2024-03-13 11:08:48 }
From: OpenPIM @.>
Sent: Mittwoch, 13. März 2024 11:01
To: openpim/documentation @.>
Cc: Olivier Janssen @.>; Author @.>
Subject: Re: [openpim/documentation] error at first login (Issue #2)
You are using a some command to start the docker with all necessary parameters. So you should change the parameter and start the system one more time. Also if you just want to take a look at the system, you can run the local demo
docker run -d -p 80:80 openpim/demo:2.0
in this case you will have database with demo data inside and you can play with the system
—
Reply to this email directly, view it on GitHub https://github.com/openpim/documentation/issues/2#issuecomment-1994000915 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AHG667DNFD77CZQBYUSYFGDYYAPUVAVCNFSM6AAAAABEMNJMW2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJUGAYDAOJRGU .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/AHG667ACZGVBNVGXRVRUJ2DYYAPUVA5CNFSM6AAAAABEMNJMW2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTW3IFBG.gif Message ID: @.*** @.***> >

ok, now you should add the configuration to the database to allow to connect from the IP (<IP_ADDRESS>) where the system is running.
Please take a look at official documentation about this - https://www.postgresql.org/docs/current/auth-pg-hba-conf.html


Getting rid of deprecated d3 dependency

status-board version: 1.1.61
node version: 11.10.0
npm (or yarn) version: 6.7.0

Relevant code or config

What you did:
Just added status-board as dependency to an existing atlasboard project and followed README.md. Ran it using npm start.
What happened:
App starts as normal.

Reproduction repository:

Problem description:
I migrated to status-board because I wanted to get rid of d3 v2 dependency that also comes with a deprecation message.
<!--
Deprecation message: D3 and rickshaw will eventually be removed from Atlasboard core.
If your package needs them, it would need to provide them as dependency
-->

I was wondering how do I get rid of the old deprecated D3 dependency (and use the latest d3 library). This is same as issue https://bitbucket.org/atlassian/atlasboard/issues/150/d3-library-is-outdated on original Atlasboard repository.
Suggested solution:
Looking for a solution.

I can look at getting this knocked out. It would mainly involve me doing the frontend build system and checking to see if that involves breaking changes. I will put this in the backlog.

If anyone would like to put together a build script to build the existing front-end so we can better maintain it PRs are always welcome.

I think we must remove the included rickshaw(and underlying d3 js dependency). Rather offer a way for people to include these (or other js libraries) via some way.
Also someone suggested to remove bower for dependency management https://bitbucket.org/atlassian/atlasboard/issues/162/phase-out-bower-dependency
Any thoughts on this @jameswlane ?

@rahulserver I started working on that this weekend.
In the end, I would like to see the frontend application as a dependency.
I created the repo status-board-ui to start the work a while ago.
But for now I am keeping it inside the status-board repo, I have removed the bower dependency and added gulp to handle the building of the frontend. I think once that is done and working as expected we could add something to the config that would allow you to use the v3 of d3 that is bundled with rickshaw that would allow for opt-in and prevent breaking changes for everyone else. I would like to do my best for the time being to ensure backward compatibility.

@rahulserver I have been working on Status Board v2.0, It's a rewrite from the ground up. The frontend will be using React/Redux/SocketIO. I am thinking about adding in VX. What do you think about this.


error

[+] connecting to jenkins...
[+] crafting payload...
Traceback (most recent call last):
File "exploit.py", line 70, in
run_command(args.url, args.cmd, args.job, args.username, args.password)
File "exploit.py", line 28, in run_command
ori_job_config = server.get_job_config(job_name)
File "/usr/local/lib/python2.7/dist-packages/jenkins/init.py", line 1210, in get_job_config
return self.jenkins_open(request)
File "/usr/local/lib/python2.7/dist-packages/jenkins/init.py", line 564, in jenkins_open
return self.jenkins_request(req, add_crumb, resolve_auth).text
File "/usr/local/lib/python2.7/dist-packages/jenkins/init.py", line 580, in jenkins_request
self.maybe_add_crumb(req)
File "/usr/local/lib/python2.7/dist-packages/jenkins/init.py", line 370, in maybe_add_crumb
'GET', self._build_url(CRUMB_URL)), add_crumb=False)
File "/usr/local/lib/python2.7/dist-packages/jenkins/init.py", line 564, in jenkins_open
return self.jenkins_request(req, add_crumb, resolve_auth).text
File "/usr/local/lib/python2.7/dist-packages/jenkins/init.py", line 594, in jenkins_request
raise JenkinsException(msg)
jenkins.JenkinsException: <exception str() failed>

@Kalimon12 Is there any temp. fix to this issue to be able to execute the exploit?


[Snyk] Security upgrade rails from 6.0.0 to 7.1.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `rubygems` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

Gemfile

⚠ Warning
Failed to update the Gemfile.lock, please update manually before merging.

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Breaking Change
Exploit Maturity

479/1000  Why? Has a fix available, CVSS 5.3
Information Exposure SNYK-RUBY-ACTIONCABLE-20338
Yes
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

Checkmarx One – Scan Summary & Details – fc83e405-b779-4736-bcbc-dd987d4d5056
No New Or Fixed Issues Found


500 when using :iterate

Following query causes 500:
{{fhirEndpoint}}Observation/?_revinclude=Observation:part-of&_include=Observation:focus&_include:iterate=Observation:focus
using same query but on performer instead of focus is working:
{{fhirEndpoint}}Observation/?_revinclude=Observation:part-of&_include=Observation:focus&_include:iterate=Observation:performer
What is interesting one can observe this on empty server without any Observation.
Also this gives 500 (after removing ''&_include=Observation:focus" from first query):
{{fhirEndpoint}}Observation/?_revinclude=Observation:part-of&_include:iterate=Observation:focus

AB#86957


Fix for require under CWD

This patch pushes process.cwd onto module.paths to allow mocha to require modules under the current directory (issue #93).
To be honest I'm not sure if this is the right way to do it, as I know why require.paths was removed in 0.6 and don't want to be doing anything "wrong".  But it works..

yeah the lookup stuff is a bit awkward for globally installed executables, ideally you should be able to replace $ ./node_modules/.bin/mocha with $ mocha, I'm not aware of module.paths but i'll take a look


feat(theme): [button] submit the initial version of aurora-theme-vars

PR
PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our Commit Message Guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[x] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

Summary by CodeRabbit

New Features

Introduced a comprehensive set of CSS custom properties for theming, enhancing the styling flexibility and consistency across the application.
Updated button activation styles to align with hover effects for improved visual feedback.
Enhanced calendar component hover styling for better user experience.

Bug Fixes

Corrected hover state styling for selected box icons to ensure proper color application.

Documentation

Added comments in Chinese for clarity on the intended use of various color variables.

Chores

Updated variable definitions for pagination items to improve visual distinction in active and hover states.


Fix preprocessor memory leaks and hideset crash

The hideset fix makes things a bit faster (top is baseline, bottom is with the fix; preprocessor-only for zig2.c)
Benchmark 1 (3 runs): /home/ehaas/source/arocc/zig-out/bin/arocc-base -E -I/usr/lib/gcc/x86_64-linux-gnu/10/include -I/home/ehaas/source/zig/lib /home/ehaas/source/zig/build/zig2.c
  measurement          mean ± σ            min … max           outliers         delta
  wall_time          3.89s  ± 12.8ms    3.88s  … 3.91s           0 ( 0%)        0%
  peak_rss           1.24GB ± 92.2KB    1.24GB … 1.24GB          0 ( 0%)        0%
  cpu_cycles         13.9G  ± 52.6M     13.9G  … 14.0G           0 ( 0%)        0%
  instructions       40.9G  ± 15.3      40.9G  … 40.9G           0 ( 0%)        0%
  cache_references   44.5M  ±  725K     44.1M  … 45.4M           0 ( 0%)        0%
  cache_misses       18.9M  ±  116K     18.8M  … 19.0M           0 ( 0%)        0%
  branch_misses      68.2M  ±  182K     68.0M  … 68.3M           0 ( 0%)        0%
Benchmark 2 (3 runs): /home/ehaas/source/arocc/zig-out/bin/arocc -E -I/usr/lib/gcc/x86_64-linux-gnu/10/include -I/home/ehaas/source/zig/lib /home/ehaas/source/zig/build/zig2.c
  measurement          mean ± σ            min … max           outliers         delta
  wall_time          3.68s  ± 11.5ms    3.67s  … 3.69s           0 ( 0%)        ⚡-  5.4% ±  0.7%
  peak_rss           1.15GB ± 20.6KB    1.15GB … 1.15GB          0 ( 0%)        ⚡-  7.5% ±  0.0%
  cpu_cycles         13.3G  ± 38.7M     13.2G  … 13.3G           0 ( 0%)        ⚡-  4.8% ±  0.8%
  instructions       39.6G  ± 69.8      39.6G  … 39.6G           0 ( 0%)        ⚡-  3.2% ±  0.0%
  cache_references   36.1M  ±  376K     35.8M  … 36.5M           0 ( 0%)        ⚡- 19.0% ±  2.9%
  cache_misses       14.5M  ±  114K     14.4M  … 14.6M           0 ( 0%)        ⚡- 23.2% ±  1.4%
  branch_misses      67.2M  ± 44.5K     67.2M  … 67.3M           0 ( 0%)          -  1.4% ±  0.4%


Dropout layer is broken

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): NO
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 18.10
TensorFlow installed from (source or binary): conda default channel
TensorFlow version (use command below): 1.12 (conda version mkl_py36h69b6ba0_0)
Python version: 3.6.8

Describe the current behavior
The Dropout layer always acts as if it is in testing mode.
Describe the expected behavior
The Dropout layer switches between training and testing.
Code to reproduce the issue
The tutorial code available from the hompage:
import tensorflow as tf
mnist = tf.keras.datasets.mnist

(x_train, y_train),(x_test, y_test) = mnist.load_data()
x_train, x_test = x_train / 255.0, x_test / 255.0

model = tf.keras.models.Sequential([
  tf.keras.layers.Flatten(),
  tf.keras.layers.Dense(512, activation=tf.nn.relu),
  tf.keras.layers.Dropout(0.2),
  tf.keras.layers.Dense(10, activation=tf.nn.softmax)
])
model.compile(optimizer='adam',
              loss='sparse_categorical_crossentropy',
              metrics=['accuracy'])

model.fit(x_train, y_train, epochs=5)
model.evaluate(x_test, y_test)

Setting the droprate to 0.999 yields the same performance as 0.2 (well above 95% acc). This is not possible, it means that the training/training switch inside the Dropout layer is broken, it is always returning the inputs, even during the training phase.
With tensorflow 1.10, the tutorial script gives  the "correct" result which is ~11% accuracy with 99.9% droprate.
Other info / logs
It seems that either tensorflow.keras.backend.learning_phase is at the root of the problem, or model.fit doesn't correctly sets the training flag.

I am creating the model below:
model = models.Sequential()
model.add(layers.Conv2D(32, (3,3), activation='relu', input_shape=(150,150,3)))
model.add(layers.MaxPool2D((2,2)))
model.add(layers.Conv2D(64, (3,3), activation='relu'))
model.add(layers.MaxPool2D((2,2)))
model.add(layers.Conv2D(128, (3,3), activation='relu'))
model.add(layers.MaxPool2D((2,2)))

model.add(layers.Flatten())
model.add(layers.Dropout(0.5))

model.add(layers.Dense(512, activation='relu'))
model.add(layers.Dense(1, activation='sigmoid'))

model.compile(loss='binary_crossentropy',
             optimizer=optimizers.RMSprop(lr=1e-4),
             metrics=['acc'])

The model summary says
_________________________________________________________________
Layer (type)                 Output Shape              Param #
=================================================================
conv2d_36 (Conv2D)           (None, 148, 148, 32)      896
_________________________________________________________________
max_pooling2d_36 (MaxPooling (None, 74, 74, 32)        0
_________________________________________________________________
conv2d_37 (Conv2D)           (None, 72, 72, 64)        18496
_________________________________________________________________
max_pooling2d_37 (MaxPooling (None, 36, 36, 64)        0
_________________________________________________________________
conv2d_38 (Conv2D)           (None, 34, 34, 128)       73856
_________________________________________________________________
max_pooling2d_38 (MaxPooling (None, 17, 17, 128)       0
_________________________________________________________________
flatten_12 (Flatten)         (None, 36992)             0
_________________________________________________________________
dropout_11 (Dropout)         (None, 36992)             0
_________________________________________________________________
dense_20 (Dense)             (None,<PHONE_NUMBER>6
_________________________________________________________________
dense_21 (Dense)             (None, 1)                 513
=================================================================
Total params: 19,034,177
Trainable params: 19,034,177
Non-trainable params: 0

Seems like dropout_11 (Dropout) layers don't have any effect. What am I doing wrong?
keras version: '2.4.3'
tensorflow version: '2.3.1'


Error while loading in new .ics File!

Many auto generated .ics Files end with an empty line under the END:VCALENDAR, but this package throws an error saying the file doesnt end with an END:VCALENDAR Statement. If i find some time in the near future i will propably open a Pull Request fixing this issue.

You are right, I'm going to fix this but if you open a PR I'll be glad to merge it :)

Just've made a fix published in version 0.1.1 of the package. If empty lines are allowed in the parsing (which is enabled by default) it won't throw an error anymore if there is a newline at the end of the file.


Tweak name of feature gate file

We missed this one when adopting the automation for feature gate data; I set the filenames based on heuristics and the code I originally used didn't pick an ideal name.
Old name: ip-tables-ownership-cleanup.md
New name: iptables-ownership-cleanup.md
/kind cleanup

/label refactor
This renames a (small) existing file.

/lgtm


[Prototype] Python stubs generation

Hi, this is a prototype to see if it's possible to generate a Python stub (.pyi) automatically from PyO3.
This is a very early prototype and definitely should not be merged as-is, but I'd be grateful for feedback on how to improve it.
The idea would be to generate parts of the stub as PyO3 parses the different classes, then to use an external program (e.g. included in Maturin) to combine the parts into a single file. Currently the parts are printed to stdout for ease of debugging.

Thanks for working on this!
Have you got an example of a tool that would process these outputs into .pyi files?
As this branch progresses I'd prefer it to be part of the #]pyo3(signature)] rather than a new annotation if it makes sense. We can perhaps discuss that once #2302 is merged (hopefully only a couple of weeks off).

Looking at the signature PR, something like signature(a: "int") could probably be used to override the stub.

Sorry for the delay. Do you mean that this generates the .pyi directly from the proc macros? How does it handle exported pymodule structure?

Do you mean that this generates the .pyi directly from the proc macros?

Yes. It generates pyi fragments that are unordered (they all start with # <RustClassName>). An external program is necessary to order them though (e.g. a Maturin flag).
Currently, it is able to export most of the class and method/function/attribute signatures, however the conversion from Rust types to Python types is hard-coded (and really ugly).

How does it handle exported pymodule structure?

At the moment, it doesn't. I hope that it's possible to get the structure at compile-time, but I doubt it is.
Ideally, I'd like:
• to be able to associate any rust type with a python type,
• to discover the module structure somehow

Yes. It generates pyi fragments that are unordered (they all start with # ). An external program is necessary to order them though (e.g. a Maturin flag).

Ah, cool. I've thought about doing similar in the past, though I got a bit spooked. How does it handle developers making edits? Do the fragments have to be removed manually before each build?

to be able to associate any rust type with a python type

I think the only way that this can be done reliably is to make a trait, and instead of generating fragments directly from the macros, generate code which then uses that trait to generate the fragments.
Maybe we can also solve the module discovery at the same time, by writing a configuration file which says what #[pymodule] to start with. I'm wondering about something like the following:

We morph this a bit to instead have a binary tool in the PyO3 crate.
The tool does the following:

Reads a configuration file with module structure and target Rust source code.
Generates code using the parsing that we've already got here (maybe with a bit of extra work to handle module discovery etc.), and then compiles that and runs it.
The output of running that code is a complete type annotation file.

What do you think of that?

If it has to work at runtime, would it be easier to just have a function PyModule::generateStubs(&self, File) and let the user call it themselves in their unit tests or whatever?
I'm not really a fan of duplicating the module structure in code and in configuration, but I don't really know if we have a choice either.

let the user call it themselves in their unit tests or whatever?

TBH that may well be the right approach, that way the user can check the generated .pyi file into VCS. 👍
Reminds me of https://matklad.github.io/2022/03/26/self-modifying-code.html (at least the part of running generation at test time).
Having the file permanently present will probably work very nicely for development (rather than by generating at install time, local development may not work so well depending on how things are set up).
In cases where the generated .pyi isn't perfect we could potentially even have a mechanism to let user specify overrides or additional stuff to include in the output as part of the test.

That sounds like a good solution for user interaction. Now the two missing problems...
I do not know how stubs handle modules. My understanding is that the recommended way is to something like this:
project/
  first.py
  first.pyi
  second.py
  second.pyi
  third/
    __init__.py
    __init__.pyi (???)

What's the structure expected by Maturin?
And the other question would be how to extract the information we want from the Rust code. Creating a trait seems fine but I haven't really used proc-macros before, any recommendations on how to get started?

After looking at it some more, the main problem is linking the function metadata with their class.
I can statically generate the required data for each function, but I don't see how to give it to the class.
It seems like it's a similar problem to the multiple-pymethods trick, and it has the same problems you had.

Closing in favor of #2447 which is much cleaner.


A few util mappings

Merging due to update, if you have any more comments please open a new issue or a new PR.


Allow the Liveness and Readiness Probe Initial Delay to be configured (default to existing value of 120 seconds)

By default the minio pods will wait 120 seconds (2 minutes) before Kubernetes starts checking their readiness. This change allows the user to change this initial wait value but keeps the existing default.
Background: Waiting for 2 minutes before marking the Pods as ready slows down the startup on local deployments i.e. KinD

@mudged thank you for a contribution!
Could you please add initialDelaySeconds: 120 field to charts/testkube/values.yaml file as well?

@mudged thank you for a contribution! Could you please add initialDelaySeconds: 120 field to charts/testkube/values.yaml file as well?

good call - new property added to charts/testkube/values.yaml


Layout not good after fresh install

I have installed Laracogs starter and then applied Bootstrap to it. The layout does not seem to work well. How can this be fixed? This happens in both Chrome as well as Firefox.

Did you run npm install and gulp?

Thanks. Could it be this is not mentioned in the doc explicitly?
Anyway, trying to run that, the npm install gives me these errors
vagrant@homestead:~/Laravel/Youtube$ npm install
npm ERR! Linux 4.4.0-22-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v5.12.0
npm ERR! npm  v3.8.6

npm ERR! Cannot read property 'emit' of null
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>
npm ERR! Linux 4.4.0-22-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v5.12.0
npm ERR! npm  v3.8.6

Any idea what it could be?

@wymedia Are you using homestead on Windows?


python3 crash related to stdin being redirected on Windows

gVim started with NUL for standard input is aborted by Python3 on Windows.
To Reproduce
Only know how to reproduce it using Vifm 0.11 (source):

Execute :!gvim &  in vifm
Execute :pythonx print('test') in gvim
Vim closes at this point.

Expected behavior
test printed on Vim's statusbar.
Error message
Fatal Python error: init_sys_streams: can't initialize sys standard streams
Python runtime state: core initialized
OSError: [WinError 6] The handle is invalid
Current thread 0x000025b0 (most recent call first):
<no Python frame>

Environment

Vim v8.2.1381 or later
OS: Windows 7 x64, Windows 10
Python: 3.8.6
Terminal: GUI

Additional context
56b8dc331dc7f499c8221ed7d1c7795ad5e3bdeb from #6641 seems to be the cause of this issue. Vim v8.2.1377 works fine.
Description of #6641 says:

Python 3.5 or later calls io.py in Py_Initialize(), and it calls
abort() when stdin is redirected. This can be avoided by reconnecting
stdin to CONIN$

However, I'm not sure that's the case, because I'm able to run :!python & in Vifm without hitting this error. And started this way Python's stdin is redirected to NUL pseudo-file.
My guess would be that reopening CONIN$ fails when Vim is started with stdin redirected to NUL, which results in stdin  becoming invalid.

Could you try #7061?

I can still reproduce this in gvim 8.2 with patch 1-1807. Should I create a new issue or can this one be reopened?

I created a PR to fix this: #7106.

c6ed254 (#7106) fixed this second time.


Fix syntax of setup-ha-etcd-with-kubeadm

This page used wrong syntax, initially use ${ETCDHOST[i]}, so use
that subsequentially as well. Fix also wrong HOST1.
Closes: #9315

/assign @bradamant3

/lgtm

/approve


Spelling Error

The word ”used"  spelling has error.

@chrisniael Thanks ! :+1:
That was a funny typo ... :)


sync/atomic: improve package docs

At the end of the API docs of sync/atomic, https://golang.org/pkg/sync/atomic/, it says:

On both ARM and x86-32, it is the caller's responsibility to arrange for 64-bit alignment of 64-bit words accessed atomically. The first word in a global variable or in an allocated struct or slice can be relied upon to be 64-bit aligned.

It could be improved as

The first word in a variable or in an allocated struct, array or slice can be relied upon to be 64-bit aligned.

The reason is there are many local variables and arrays which addresses are passed as the parameters atomic 64bit functions, in go project source.
And "the first word in an allocated slice" is not an accurate description, it should be the first element  in an allocated slice which elements are 64-bit words.
And the expvar package docs should warning that expvar.Int and expvar.Float are not safe to be embedded in other types on 32bit OSes.
Please see this thread for detail: https://groups.google.com/forum/#!topic/golang-nuts/_nHK6P8_lhw

@aclements, do you want to improve these docs for Go 1.9?

The first word in a variable or in an allocated struct, array or slice can be relied upon to be 64-bit aligned.

I think this is fair.

And "the first word in an allocated slice" is not an accurate description, it should be the first element in an allocated slice which elements are 64-bit words.

Can you expand on why you think this isn't an accurate description? It seems accurate to me.
(Really, this whole statement is somewhat inaccurate, as it's only true if the allocation itself is at least 8 bytes. But if that's not the case, then there's no way to use the 64-bit atomic ops anyway.)

A slice is composed a header and an underlying array.
When we say "an allocated slice", we generally mean the header of the slice is allocated.
But we would never do 64-bit atomic operations on slice headers.
And for an allocated slice, its underlying array may be not allocated.
For example, its underlying array may be a field of a struct value.

And "the first word in an allocated slice" is not an accurate description, it should be the first element in an allocated slice which elements are 64-bit words.

The above texts may be also not good. I prefer to use the following one:

The first word in a variable or in an allocated struct and array can be relied upon to be 64-bit aligned. The elements of a slice are stored in an underlying array of the slice.


Trying to reproduce speech translation results on Must-C

❓ Questions and Help
What is your question?
Hi
I am trying to reproduce the speech translation results you give on Must-C, at the foot of https://github.com/pytorch/fairseq/blob/master/examples/speech_to_text/docs/mustc_example.md .
If I download the pre-trained models (thanks for releasing these!), I get the same bleu scores on the languages I have checked. But training my own models resulted in lower scores, so I compared my configuration against the pre-trained models.
The first problem is that, if I use the command recommended in the documentation, it sets label-smoothing to 0.0 (the default). In the pre-trained models it is set to 0.1, and indeed setting label-smoothing to 0.1 improves bleu by 1-2 points - could the documentation be updated with this setting?
My best scores are still lower than the pre-trained models (26.5 vs 27.2 for en-es and 21.5 vs 22.6 for en-de). I noticed that the pre-trained models use label_smoothed_cross_entropy_with_accuracy as their loss function, but this is not available in the current fairseq (as far as I can see). So my question is, what is the label_smoothed_cross_entropy_with_accuracy  loss, and did it improve performance over  using label_smoothed_cross_entropy ?
best
Barry
What's your environment?

fairseq Version: master
PyTorch Version: 1.8.1
OS: Linux
How you installed fairseq (pip, source):
Build command you used (if compiling from source):
Python version:
CUDA/cuDNN version:
GPU models and configuration:
Any other relevant information:

Hello @bhaddow I am not able to train in the first place and facing this issue https://github.com/pytorch/fairseq/issues/3457
Did you follow the same process to train your model ?

Hi @sugeeth14 - I followed the instructions in the documentation - I left a comment in #3457 which may help.

Hi, thanks for your comment it has helped. @bhaddow

I'm also not able to run inference on the provided pretrained ST model due to the use of  label_smoothed_cross_entropy_with_accuracy which I don't see in the current build of fairseq. But training from scratch with label_smoothed_cross_entropy then running inference works.

@muhdhuz - I had to add --model-overrides '{ "criterion" : "label_smoothed_cross_entropy"}' to fairseq-generate in order to translate with the pretrained models.

@bhaddow I have trained mustc ASR/ST and got terrible results #3897 , all as this instructions, I don't know where is the problem？

I do not know where the problem is with your experiments. My results were good, but consistently worse than the pre-trained models.

I do not know where the problem is with your experiments. My results were good, but consistently worse than the pre-trained models.

when I train the S2T model, always show 'CUDA OOM' warning. So I try to reduce max-tokens , at the same time, Do I need to change some other params (such as warmup-updates and max-update)?

If you get OOM, then you should reduce the batch size (and maybe increase gradient accumulation to compensate)

Hi, I was quite surprised about why I was getting always around 1 BLEU below the official results in MuST-C. So, I've been checking for updates in this issue for a while.
I've just discovered that I wasn't doing the checkpoint average. I don't know why my eyes were jumping those lines in the README! Doing it closed the gap between the official results and mine.
It may seem obvious, I know, it's just following the instructions… but I leave the comment here anyway, in case someone has forgotten about this step too!


fix kibana dashboard import

This restores the import of the custom Kibana dashboard by default. It updates the Kibana installation to wait until it has fully initialized with Elasticsearch before importing the custom dashboard. This should fix the issue with invalid mappings that we were seeing.
tested on AWS
ping @BrianHicks @anners @remmelt

Tested on DO.
Installed(all green), ran the playbook.
Logged onto the Kibana UI and was able to check out the Discover tab and Default dashboard.

thanks for testing.


Avro or Parquet support for INSERT queries?

In reviewing the current supported INSERT formats for loading data into ClickHouse, I was wondering if your roadmap includes support for newer, more efficient data formats like Avro or Parquet over CSV (which appears to be the most performant non-proprietary option in your current list).  Our use case involves importing terabytes of data.

+1. This would be really useful to migrate data from hadoop ecosystem to ch.

+1 I hope Support Parquet

+1 for support

I think I'll work on this in my thesis. Can't set the exact deadline, though

Parquet is in development at #2427

Can we reopen the issue for Avro format ?

Can we reopen the issue for Avro format ?

Please open a new issue for that.


RFM - rclone

Package Url - https://chocolatey.org/packages/rclone

I would like to take maintainence of this package.

@kkzinger can you use the contact site admins link on the package page, and request co-maintenance through there?  That way we have a trace of where the request came from.  Also, I am assuming that you have tried to contact the current maintainer offering your help?

@gep13 Hi, I already did both, contacted the maintainer and the site admins. No response since 22.09.16.
Because of that I searched for an alternative way to get in touch.

@kkzinger Did you take maintenance of this package? Still seems to be outdated.

@jtcmedia Hi, took it that moment. I missed the mail to take maintenance. I will publish the new package probably in a few hours

package was approved


[MINOR] use Temurin jdk

Change Logs
[MINOR] replace AdoptOpenJDK with Temurin jdk
Motivation
AdoptOpenJDK is obsolete.
Impact
n/a
Risk level (write none, low medium or high below)
low
Documentation Update
n/a
Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

Will land once the CI tests succeed

@bvaradar  can you trigger the GitHub Action workflows?


updated sinks configuration

Updated configs for aerospike ,oracle and clickhouse.

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


FUSION SOLAR

Hi sorry for my bad english. I translate what I write in italian..... I try to install fusion solar in home assistant, but you say that if i go to fusion settings i can found battere and something else, but I found only instant power and also 4 other value please im a principiant can you help me thanks

This is the same issue as in https://github.com/tijsverkoyen/HomeAssistant-FusionSolar/issues/61


There is a vulnerability in hadoop 2.7.3 ,upgrade recommended

https://github.com/apache/hudi/blob/62bb9e10d9d2f2a9807ee46b0ed094ef2fcc89e5/pom.xml#L101
CVE-2017-15718  CVE-2020-9492  CVE-2018-8009  CVE-2016-6811  CVE-2018-8029
Recommended upgrade version：2.10.1

@QiAnXinCodeSafe :Hadoop upgrade will not be easier one. Do you know if other well known projects have upgraded?

Filed a JIRA -> https://issues.apache.org/jira/browse/HUDI-1976. We should be closing this during 0.9.0 release.


Create lnct

Lakshmi Narain College of Technology (LNCT), Bhopal is a college in Bhopal City of Madhya Pradesh state of India. Now it has been upgraded to LNCT Group of colleges.

@amitgcse lib/domains/in/ac/lnct: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

The domain of the college is lnct.ac.in
I have changed the name of the text file from lnct to lnct.txt
Please consider pulling the PR, or guide through if any further change is required.

@amitgcse lib/domains/in/ac/lnct: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@amitgcse First stage of verification passed, official domain for Lakshmi Narain College of Technology (LNCT), Bhopal is lnct.ac.in as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@amitgcse Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Upgrade minitest to version 5.8.4

Libraries.io has found that there is a newer version of minitest that this project depends on.
More info: https://libraries.io/rubygems/minitest/5.8.4

@andrew #1231 :eyes:


Backups fail if PVCs are in Lost status

We had someone "clean up" some EBS volumes without removing the PVC in Kubernetes, this makes backups fail with:
ark-1204325235-v0qkl ark time="2017-11-29T00:00:17Z" level=error msg="backup failed" error="[persistentvolumes \"pvc-fc7e9262-6046-11e7-bb8b-06ad180bac7f\" not found, persistentvolumes \"pvc-0954630d-6047-11e7-bb8b-06ad180bac7f\" not found, persistentvolumes \"pvc-1665da49-6047-11e7-bb8b-06ad180bac7f\" not found, persistentvolumes \"pvc-2890bfd6-6047-11e7-bb8b-06ad180bac7f\" not found]" key=heptio-ark/midnight-daily-20171129000002 logSource="/go/src/github.com/heptio/ark/pkg/controller/backup_controller.go:258"

It seems like it should be non-fatal?

@skriss I'm guessing the flow here is the PVC action is adding the PV to the list of additional items, and then Ark can't find it. Do you think we should consider doing warnings & errors for backups, like we have for restores?

Hi! looks like I, too, suffer form this issue. this PVC was stuck in pending status
time="2018-03-22T17:00:25Z" level=error msg="error executing custom action" backup=heptio-ark/hourly-20180322170024 error="rpc error: code = Unavailable desc = transport is closing" group=v1 groupResource=persistentvolumeclaims logSource="pkg/backup/item_backupper.go:220" name=microblog-develop-database-files namespace=default
time="2018-03-22T17:00:26Z" level=info msg="Backup completed with errors: error executing custom action (groupResource=persistentvolumeclaims, namespace=default, name=microblog-develop-database-files): rpc error: code = Unavailable desc = transport is closing" backup=heptio-ark/hourly-20180322170024 logSource="pkg/backup/backup.go:270"

@skriss let's double check if it's still possible to delete a PV that has a PVC bound to it.

The "storage object protection" feature which will prevent PVs/PVCs that are in use from being deleted is currently in beta and will be moved to GA a/o 1.11 -- see https://github.com/kubernetes/kubernetes/pull/62870.

The feature gate is on by default in 1.10. Let's do a manual test to make sure we can't get in this state any more. If so, I recommend we close the issue.

If a backup tries to process an item and it fails, that should not mark the backup as Failed (related: #286, #305). We can consider this issue resolved when we've dealt with https://github.com/heptio/ark/issues/286#issuecomment-358078491.

Given that we've had numerous people run into this - what do you all think about modifying pkg/backup/backup_pv_action.go to only return a PV to back up if the PVC's status is Bound?
cc @ncdc @wwitzel3 @carlisia @rosskukulinski

I think that's probably fine.  What are the conditions/situations where a PVC status will not be Bound?

Typo in PV name in the PVC, somebody manually deleted the PV but left the PVC - stuff like that.


PowerRename context menu is generating crash reports

Microsoft PowerToys version
0.60.0, 0.60.1, 0.61
Running as admin

[ ] Yes

Area(s) with issue?
PowerRename
Steps to reproduce
With PowerRename enabled on Windows 11, right click empty space inside a folder to get the context menu to show.
This is creating an error event on event viewer.
✔ Expected Behavior
No error to appear on event viewer.
❌ Actual Behavior
An error is created on event viewer, saying dllhost.exe has crashed on the PowerToys.PowerRenameContextMenu.dll module.
Other Software
Windows 11

#19575


Classes not found in v5.3.0 APK

About this issue

Briefly describe the issue
Android Studio cannot find certain classes in the 5.3.0 APK (e.g. com.mikepenz.fastadapter.swipe.SimpleSwipeCallback, com.mikepenz.fastadapter.utils.DragDropUtil) - see screenshots below

Gradle setup
    def fastadapter_version = "5.3.0"
    implementation "com.mikepenz:fastadapter:$fastadapter_version"
    implementation "com.mikepenz:fastadapter-extensions-diff:$fastadapter_version"
    implementation "com.mikepenz:fastadapter-extensions-swipe:$fastadapter_version"
    implementation "com.mikepenz:fastadapter-extensions-drag:$fastadapter_version"
    implementation "com.mikepenz:fastadapter-extensions-expandable:$fastadapter_version"
    implementation "com.mikepenz:fastadapter-extensions-scroll:$fastadapter_version"
    implementation "com.mikepenz:fastadapter-extensions-paged:$fastadapter_version"
    implementation "com.mikepenz:fastadapter-extensions-ui:$fastadapter_version"
    implementation "com.mikepenz:fastadapter-extensions-utils:$fastadapter_version"

I've already done File > Invalidate cache / restart with no effect

How can the issue be reproduced / sample code
Update a project with gradle dependencies from any version of FastAdapter to v5.3.0

Details

[x] Used library version : 5.3.0
[x] Used support library version : AndroidX (not sure what you're looking for here)
[x] Used gradle build tools version : com.android.tools.build:gradle:4.1.0 / gradle-6.5 (was working with FastAdapter v5.2.4)
[x] Used tooling / Android Studio version : AS 4.1 (was working with FastAdapter v5.2.4)
[x] Other used libraries, potential conflicting libraries : None that I know of

Checklist

[x] Searched for similar issues
[x] Checked out the sample application
[x] Read the README
[x] Checked out the CHANGELOG
[x] Checked out the MIGRATION GUIDE

Do you see those classes in the bytecode from the aar's?

The plot thickens... looks like Gradle has only been able to resolve core, diff and drag. The others AAR are missing.

Is everything good on Jitpack ?

Oh that seems to be it. not all was published to bintray. (btw. this does not use jitpack :D)

let me try to re-publish

Looks like everything's back to normal. Thanks for your quick answer, as usual 😉

Sorry that the initial publish failed. Glad all is well now.
On Mon, Nov 9, 2020, 1:53 PM RobbWatershed<EMAIL_ADDRESS>wrote:

Closed #943 https://github.com/mikepenz/FastAdapter/issues/943.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/mikepenz/FastAdapter/issues/943#event-3973596966, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AALINCD4Z3TWOQ2Y3YIXJG3SO7Q57ANCNFSM4TPHO5AQ
.


MNT: Re-rendered with conda-smithy 2.4.5

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@rvalieris Just a heads up. I suspect there will be lots of missing builds for the assertive.* packages because they are all added together in a big PR to staged-recipes https://github.com/conda-forge/staged-recipes/pull/4678

ah yes. thanks for the link, I will try to do dependencies first.
On Feb 9, 2018 12:16, "John Blischak"<EMAIL_ADDRESS>wrote:

@rvalieris https://github.com/rvalieris Just a heads up. I suspect
there will be lots of missing builds for the assertive.* packages because
they are all added together in a big PR to staged-recipes
conda-forge/staged-recipes#4678
https://github.com/conda-forge/staged-recipes/pull/4678
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/conda-forge/r-assertive.files-feedstock/pull/1#issuecomment-364445238,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGBKSFuOkKu5x5M6ELS_9tPoDhtjJSJwks5tTFM6gaJpZM4R_-Yl
.

Can I help with something?

@jenzopr Thanks for offering! You'll need to coordinate with @rvalieris to avoid duplicating effort.
According to a script I have, the following 4 r-assertive.* feedstocks need to be rerendered and have all their dependencies available:

r-assertive.matrices
r-assertive.models
r-assertive.numbers
r-assertive.properties

More may become ready to be rerendered once these ones are updated.

yes, basically all I am doing is re-rendering feedstocks that are missing some builds, feel free to join in. the effort is mostly forking the repos and running conda-smithy.

Lets see what I can do. For now, I started r-assertive.numbers as a trial :)


fix(sequencer): add tx hash, improve tx logging

Summary
add transaction hashes to match what cometbft/hermes are logging
Changes

logging improvements, the full tx in deliver_tx was getting logged twice but the tx hash wasn't logged anywhere, this was extremely annoying for testing, so i implemented the SignedTransaction::hash() and logged that

Testing
i ran it and cometbft gets the same tx hashes.
Related Issues
closes #476

closing cause slightly stale, will re-open another PR


no available backend found. ERR: [webgpu] backend not found

System Info
@huggingface/transformers: ^3.2.1
node: v20.17.0
browser: Chrome Version 131.0.6778.205 (Official Build) (64-bit)
OS: Windows 11
next: 15.1.1
react: ^19.0.0
Environment/Platform

[X] Website/web-app
[ ] Browser extension
[ ] Server-side (e.g., Node.js, Deno, Bun)
[ ] Desktop app (e.g., Electron)
[ ] Other (e.g., VSCode extension)

Description
Hi,
I am trying to load Xenova/modnet in a Nextjs project using @huggingface/transformers. It is not working as during initialization I get this error "no available backend found. ERR: [webgpu] backend not found".
I have Graphics acceleration and chrome://flags/#enable-unsafe-webgpu enabled.
I am sharing my code. Please take a look and help.
Next config
import type { NextConfig } from "next";
import path from "path";
import { fileURLToPath } from "url";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);

const nextConfig: NextConfig = {
  webpack: (config) => {
    config.resolve.alias["@huggingface/transformers"] = path.resolve(
      __dirname,
      "node_modules/@huggingface/transformers"
    );
    config.resolve.alias["onnxruntime-web"] = path.resolve(__dirname, "node_modules/onnxruntime-web");
    config.resolve.alias = {
      ...config.resolve.alias,
      sharp$: false,
      "onnxruntime-node$": false,
    };
    return config;
  },
};

Model
export async function initializeModel(onProgress?: (progress: number) => void): Promise<void> {
  try {
    env.allowLocalModels = true;
    env.allowRemoteModels = true;
    if (env.backends?.onnx?.wasm) {
      env.backends.onnx.wasm.proxy = true;
    }

    state.model = await AutoModel.from_pretrained(MODEL_ID, {
      device: "webgpu",
      progress_callback: (progress: ProgressInfo) => {
        if (onProgress && progress.status === "progress") {
          onProgress(progress.progress);
        }
      },
    });

    state.processor = await AutoProcessor.from_pretrained(MODEL_ID, {});

    state.currentModelId = MODEL_ID;
  } catch (error) {
    throw new Error(error instanceof Error ? error.message : "Failed to initialize background removal model");
  }
}

Reproduction

Try to load the model using the given code in a Nextjs project

I found the problem. The onnx runtime web version should match the hugging face transformers dependency version. Reference


Feat: Improve the 'power of shlokas' page

Closes: #1079

is this completed?
Please provide screenshots, along with responsiveness ss

is this completed? Please provide screenshots, along with responsiveness ss

I asked you to suggest background image I'm still waiting or should I add by myself?

take reference from iskcon page

Ok sure.

Also, what else can i add to make it level 3?
Any suggestions @akshitagupta15june ?

As the changes are in existing feature then it wouldn't be level 3

let me know if you are done with it

As the changes are in existing feature then it wouldn't be level 3

let me know if you are done with it

ok sure, you can review it then
I have made many changes as of level 2 then

Add screenshots please

Add screenshots please

Fixed code, typos and improved readability of overall code:

Linked missing stylesheet:


Read FQDNRejectResponseCode from config

Currently dnsProxy.dnsRejectResponseCode helm value is ignored because FQDNRejectResponseCode is not populated from viper

/test

@ayuspin You'll need to rebase to pick up the Go version bump needed for CI to pass.

@ti-mo done

It looks like you unfortunately picked a commit to base on main where the branch was broken. I'll click the rebase button to get this unblocked.

/test


🚀 Astro docs site

Astro site for OP!
Philosophy
All components are in .astro format and use CSS Modules for encapsulation.
Pros:

Encapsulation
Composes well with global utility classes
Portable across any framework

Cons:

Not single file (is that a con?)
Non-spec CSS Module syntax

What are your thoughts @argyleink?

Coming back up for air. Stay tuned.

closing due to so much time passing


fix: Add missing build before dev scripts

I was restructure a little that scripts and there's a need to place "pnpm build" before 'dev' and 'dev:firefox' scripts, because without if you change e.g package version or sth like that, what causes module rebuild then error occur.
With that build before that's not happened.

I need to figure out sth else, cause firefox don't work, let's wait with that PR

@Jonghakseo DEV and FIREFOX vars, wasn't loaded into files, seems like cross-env don't work, this PR isn't related to this problem, but here we're need to fix it, cause on firefox plugin can't be loaded.
It works the same way for you?

WTF, it isn't work also on the previous versions, i don't know what's going on

freaking

we're need to load that env from scripts into files and that should solve entire problem and with that we can simplify this scripts as i done above

@PatrykKuniczak Can you double check this commits?

https://github.com/Jonghakseo/chrome-extension-boilerplate-react-vite/pull/503/commits/d6cc142c0ce1b3f07a48002661e7ef7b31e6385b
https://github.com/Jonghakseo/chrome-extension-boilerplate-react-vite/pull/503/commits/e885ceb8706e7b4c30c91168b488ce96855befda
https://github.com/Jonghakseo/chrome-extension-boilerplate-react-vite/pull/503/commits/67f8ebb307426e53f530fcfca71965342da246ab
https://github.com/Jonghakseo/chrome-extension-boilerplate-react-vite/pull/503/commits/f216a74c3acd63793d22f75e3f87e8654de72eab
https://github.com/Jonghakseo/chrome-extension-boilerplate-react-vite/pull/503/commits/e060197ca2259ab898aa5aacafa4b549f07b8c45

@PatrykKuniczak Can you double check this commits?

https://github.com/Jonghakseo/chrome-extension-boilerplate-react-vite/pull/503/commits/d6cc142c0ce1b3f07a48002661e7ef7b31e6385b
https://github.com/Jonghakseo/chrome-extension-boilerplate-react-vite/pull/503/commits/e885ceb8706e7b4c30c91168b488ce96855befda
https://github.com/Jonghakseo/chrome-extension-boilerplate-react-vite/pull/503/commits/67f8ebb307426e53f530fcfca71965342da246ab
https://github.com/Jonghakseo/chrome-extension-boilerplate-react-vite/pull/503/commits/f216a74c3acd63793d22f75e3f87e8654de72eab
https://github.com/Jonghakseo/chrome-extension-boilerplate-react-vite/pull/503/commits/e060197ca2259ab898aa5aacafa4b549f07b8c45

Yeah, after dinner 😁

@Jonghakseo For now i can't run e.g 'content' in isolation, cause i can't start that server manually, there's need to be possible to run that server with command like before.

Second thing is:

Isn't matter i have that package or not, the error occur.
I can't test it because of the case from above(can't start dev server, without run 'pnpm dev' on root).
This DEV env is useless for now in child folders/pages

@PatrykKuniczak
3985a21 (#503)
I forgot for a second that dev-server should be able to run independently! I've restored it with the above commit.
And the __DEV__ environment variable is the one used at vite build time, not the one used at runtime, so I think that should be fine?

@PatrykKuniczak
3985a21 (#503)
I forgot for a second that dev-server should be able to run independently! I've restored it with the above commit.
And the __DEV__ environment variable is the one used at vite build time, not the one used at runtime, so I think that should be fine? (When we need to use ENV, we can use like this)

Yeah i forget, it's vite 😁


Lack of Documentation

Seriously, I forgot how to use this myself sometimes.

@nabobalis , can I help?

@agneet42 If you would like. It has been a while since I looked at what documentation is missing, I just know that it is missing.
Also, checking RTD to make sure the docs are building correctly.

Sure, I'll get back to you.

They are not building correctly, I think your webhook setup is buggered.

Yes, it does look like the webhook is buggered.

gui.rst has no entries. Was it intended to keep it that way or does it need documentation?

The plan for that was a short user guide to explain how to use the GUI. Since it how it works is quite opaque and does not offer much user feedback.

Okay. Can I help in writing down the short user guide then?  Or do I check on whether it works with any Stokes and report back on that Issue?

If you want to write down a short user guide, I am happy to check it.
Stokes wise, I got it working on the stokes_wip branch, but the code isn't tidy enough yet to merge in my opinion.

@nabobalis, okay. I'll get to it.


Translate "How to interpret phylogenetic trees" into Czech, Urdu, Swahili, Vietnamese, Bengali, Hindi and Filipino!

Hi @VengaLing,
Hope this finds you well! I've made branches on which to translate "How to interpret phylogenetic trees" for all the languages. I've also added a copy of the file to each of these branches. Feel free to just grab the file from one branch and rename it; they are all the same.
When the translations are completed, please merge them back into the appropriate branch. This will allow me to preview it to confirm the formatting is a-ok before pushing it to the master branch.
Thanks so much!
Cassia
Czech

branch: trees_cs
file: https://github.com/nextstrain/translations/blob/trees_cs/narratives/translations_trees-background_cs.md

Urdu

branch: trees_ur
file: https://github.com/nextstrain/translations/blob/trees_ur/narratives/translations_trees-background_ur.md

Swahili

branch: trees_sw
file: https://github.com/nextstrain/translations/blob/trees_sw/narratives/translations_trees-background_sw.md

Vietnamese

branch: trees_vi
file: https://github.com/nextstrain/translations/blob/trees_vi/narratives/translations_trees-background_vi.md

Bengali

branch: trees_bn
file: https://github.com/nextstrain/translations/blob/trees_bn/narratives/translations_trees-background_bn.md

Hindi

branch: trees_hi
file: https://github.com/nextstrain/translations/blob/trees_hi/narratives/translations_trees-background_hi.md

Filipino. Note that we've decided to use the 2-letter language code for tagalog, rather than the 3-letter language code for Filipino. This is to be consistent with the other translations.

branch: trees_tl
file: https://github.com/nextstrain/translations/blob/trees_tl/narratives/translations_trees-background_tl.md

Published all of these! Nice work @VengaLing -- it was a bit of work getting them all published and updating the narratives with appropriate links. Must have been quite the effort coordinating.


(PUP-4442) Only rmdir if mkdir succeeded

Previously, if you tried to manage a file with content and the parent
directory didn't exist, puppet would report rmdir failed:
Error: Could not set 'file' on ensure: No such file or directory @
dir_s_rmdir - .../file20150909-11354-3uzm9m.lock

The file type uses Puppet::Util.replace_file to atomically overwrite
file content, which creates a unique file in the same directory as
the file we're trying to manage, to ensure we're on the same filesystem.
But if the parent directory doesn't exist, mkdir raises ENOENT, and
then we called rmdir, which also raises ENOENT, masking the original
exception.
This commit changes uniquefile to only call rmdir if mkdir succeeds.

It looks like the spec expectation that mkdir is in the exception message doesn't hold for older rubies. Maybe just expect ENOENT?

Quick before-and-after. I'm definitely :+1: on this PR (once we sort the specs). But even with this fix, the error messages remain pretty noisy in this case.
Before:
puppet apply -e 'file { "/path/does/not/exist": ensure => file, content => "boo" }'
Notice: Compiled catalog for kylo.local in environment production in 0.44 seconds
Error: Could not set 'file' on ensure: No such file or directory @ dir_s_rmdir - /path/does/not/exist20150910-6577-17sasrz.lock at 1:
Error: Could not set 'file' on ensure: No such file or directory @ dir_s_rmdir - /path/does/not/exist20150910-6577-17sasrz.lock at 1:
Wrapped exception:
No such file or directory @ dir_s_rmdir - /path/does/not/exist20150910-6577-17sasrz.lock
Error: /Stage[main]/Main/File[/path/does/not/exist]/ensure: change from absent to file failed: Could not set 'file' on ensure: No such file or directory @ dir_s_rmdir - /path/does/not/exist20150910-6577-17sasrz.lock at 1:
Notice: Applied catalog in 0.02 seconds

After:
puppet apply -e 'file { "/path/does/not/exist": ensure => file, content => "boo" }'
Notice: Compiled catalog for kylo.local in environment production in 0.33 seconds
Error: Could not set 'file' on ensure: No such file or directory @ dir_s_mkdir - /path/does/not/exist20150910-6878-1rlx8rq.lock at 1:
Error: Could not set 'file' on ensure: No such file or directory @ dir_s_mkdir - /path/does/not/exist20150910-6878-1rlx8rq.lock at 1:
Wrapped exception:
No such file or directory @ dir_s_mkdir - /path/does/not/exist20150910-6878-1rlx8rq.lock
Error: /Stage[main]/Main/File[/path/does/not/exist]/ensure: change from absent to file failed: Could not set 'file' on ensure: No such file or directory @ dir_s_mkdir - /path/does/not/exist20150910-6878-1rlx8rq.lock at 1:
Notice: Applied catalog in 0.02 seconds

/cc @rnelson0 since I think you submitted the ticket initially.

Yeah, I realized after I submitted this that the error message isn't what @rnelson0 was asking for directly, more what the follow up comment was about. We could check if the parent exists prior to calling mkdir, and raise a clearer message if it doesn't. I'm also not sure why we emit two Error messages.
Also there are a few different code paths to consider. The resource can be a dir/link or empty file, file with content (as a string), content (as a checksum), or source, and we'd need to make sure those are all handled consistently.

Needs more work, closing


[#543] feat: organizations

Related to #543

Description
Implements organizations.
Test plan
Make sure users can create, join, delete and modify organizations. Invite links should also be working well.

Yeah for sure


How to disable mentions triggering a command with discord.js-commando

I want to prevent mentioning @botname (where botname is the username of the bot) from having the same effect as a prefix and treating whatever comes after it as a command.
Is there any way of doing this?

No, and there never will be. All bots should accept commands by mention.


Uncaught TypeError: Cannot read property '0' of null

Hi!
I encounter a bug when I try to decorate a multiline comment. Here are the details:

Create a new Js document and type "/* here's a comment */"
Let the cursor at the end of the line, hit Ctrl+Shift+P and choose "Docblockr: Decorate Multiline"

Atom Version: 1.0.2
System: Windows 7 Professional 64bits
Thrown From: docblockr package, v0.7.3
Stack Trace
Uncaught TypeError: Cannot read property '0' of null
At C:\Users\whooot\.atom\packages\docblockr\lib\docblockr-worker.js:411

TypeError: Cannot read property '0' of null
  at DocBlockrAtom.module.exports.DocBlockrAtom.decorate_multiline_command (C:\Users\whooot\.atom\packages\docblockr\lib\docblockr-worker.js:411:25)
  at atom-workspace.<anonymous> (C:\Users\whooot\.atom\packages\docblockr\lib\docblockr-worker.js:162:16)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\Users\whooot\AppData\Local\atom\app-1.0.2\resources\app.asar\src\command-registry.js:241:29)
  at C:\Users\whooot\AppData\Local\atom\app-1.0.2\resources\app.asar\src\command-registry.js:3:61
  at CommandPaletteView.module.exports.CommandPaletteView.confirmed (C:\Users\whooot\AppData\Local\atom\app-1.0.2\resources\app.asar\node_modules\command-palette\lib\command-palette-view.js:159:32)
  at CommandPaletteView.module.exports.SelectListView.confirmSelection (C:\Users\whooot\AppData\Local\atom\app-1.0.2\resources\app.asar\node_modules\atom-space-pen-views\lib\select-list-view.js:338:21)
  at space-pen-div.atom.commands.add.core:confirm (C:\Users\whooot\AppData\Local\atom\app-1.0.2\resources\app.asar\node_modules\atom-space-pen-views\lib\select-list-view.js:109:19)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\Users\whooot\AppData\Local\atom\app-1.0.2\resources\app.asar\src\command-registry.js:241:29)
  at C:\Users\whooot\AppData\Local\atom\app-1.0.2\resources\app.asar\src\command-registry.js:3:61
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (C:\Users\whooot\AppData\Local\atom\app-1.0.2\resources\app.asar\node_modules\atom-keymap\lib\keymap-manager.js:520:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (C:\Users\whooot\AppData\Local\atom\app-1.0.2\resources\app.asar\node_modules\atom-keymap\lib\keymap-manager.js:355:22)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (C:\Users\whooot\AppData\Local\atom\app-1.0.2\resources\app.asar\src\window-event-handler.js:177:20)

Commands
     -2:03.0 editor:indent (atom-text-editor.editor.is-focused)
     -2:02.3.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
     -2:02.3.0 snippets:expand (atom-text-editor.editor.is-focused)
     -2:02.3.0 docblockr:parse-tab (atom-text-editor.editor.is-focused)
     -2:02.3.0 editor:indent (atom-text-editor.editor.is-focused)
 38x -1:06.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:43.1.0 core:save (atom-text-editor.editor.is-focused)
     -0:35.9.0 core:backspace (atom-text-editor.editor.is-focused)
  2x -0:34.6.0 core:delete (atom-text-editor.editor.is-focused)
  2x -0:32.5.0 core:backspace (atom-text-editor.editor.is-focused)
  2x -0:19.4.0 core:move-left (atom-text-editor.editor.is-focused)
     -0:18.7.0 editor:select-to-end-of-line (atom-text-editor.editor.is-focused)
     -0:16.9.0 command-palette:toggle (atom-text-editor.editor.is-focused)
     -0:13.8.0 core:move-down (atom-text-editor.editor.mini.is-focused)
     -0:13.5.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:13.5.0 docblockr:decorate-multiline (atom-text-editor.editor)

Config
{
  "core": {
    "disabledPackages": [
      "javascript-snippets",
      "save-session",
      "language-mustache",
      "feedback",
      "language-clojure",
      "language-go",
      "language-less",
      "language-make",
      "language-objective-c",
      "language-perl",
      "language-python",
      "language-ruby",
      "language-ruby-on-rails",
      "language-sass",
      "language-sql",
      "language-toml",
      "release-notes",
      "styleguide",
      "welcome",
      "line-count",
      "open-on-github",
      "linter-csslint",
      "auto-detect-indentation"
    ],
    "themes": [
      "one-light-ui",
      "one-light-syntax"
    ],
    "audioBeep": false
  },
  "docblockr": {
    "auto_add_method_tag": true,
    "deep_indent": true
  }
}

Installed Packages
# User
atom-ternjs, v0.7.0
compare-files, v0.6.2
docblockr, v0.7.3
language-smarty, v1.2.0
linter, v1.2.4
linter-jshint, v1.1.4
linter-php, v1.0.2
symbols-tree-view, v0.9.3

# Dev
No dev packages

Thank you for you work!

I have same issue in:
OS: XUbuntu 15.10 (Willy)
Atom    : 1.7.2
Electron: 0.36.8
Chrome  : 47.0.2526.110
Node    : 5.1.1
Docblockr: 0.7.3
File/line of error:
~/.atom/packages/docblockr/lib/docblockr-worker.js:370

Same bug when its not a multiline comment:
// This is a comment

This produces the error Cannot read property 0 of null, presumably to the method now being deprecated?
Full stack trace:
TypeError: Cannot read property '0' of null
    at DocBlockrAtom.module.exports.DocBlockrAtom.decorate_command (/home/oliver/.atom/packages/docblockr/lib/docblockr-worker.js:415:25)
    at atom-workspace.<anonymous> (/home/oliver/.atom/packages/docblockr/lib/docblockr-worker.js:162:16)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:259:29)
    at /usr/share/atom/resources/app.asar/src/command-registry.js:3:59
    at CommandPaletteView.module.exports.CommandPaletteView.confirmed (/usr/share/atom/resources/app.asar/node_modules/command-palette/lib/command-palette-view.js:210:32)
    at CommandPaletteView.module.exports.SelectListView.confirmSelection (/usr/share/atom/resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
    at space-pen-div.atom.commands.add.core:confirm (/usr/share/atom/resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:109:19)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:259:29)
    at /usr/share/atom/resources/app.asar/src/command-registry.js:3:59
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:599:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:390:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/usr/share/atom/resources/app.asar/src/window-event-handler.js:106:36)
    at HTMLDocument.<anonymous> (/usr/share/atom/resources/app.asar/src/window-event-handler.js:3:59)

Seems this has been fixed for single line comments, but not for multiline comments. Any news @nikhilkalige @MoritzKn

I've played around a bit and noted some odd behaviors around the decoration feature. It's working and usable if you just keep in mind the points below. The first one is kinda wtf!, but easy enough to deal with once you're aware of it.

Select your text from left to right, avoiding selection of empty lines after comment.

Selecting your comment text from right to left before decorating will throw error. 🙀
Selected spaces or empty lines preceding the open tag are ignored. 👍
Decorator will do nothing if:

New line after closing tag is included in closing tag. 🤔
Any spaces are on last line after the closing tag (whether selected or not). 😣

Only try to use single line decorator for one line at a time, commented with // .

Only try to use multi-line decorator for comments that fit the following:

first line is /* or /** with no text
last line is */ with no text
all other lines between begin with * lined up vertically with the opening/closing tags

I'm still getting this issue when using decorate on a single line. Is there a fix I need to apply?

Seems like this was fixed by @Fluvf and now released with 0.14.0


Loading a javascript file imperatively?

Hi,
I would like load a javascript module at run-time on certain condition, therefore, I would like to move my current:
<script src="../path/to/file.js"></script>
in a code like:
loadScript(srcRef, onload, onerror)
in a similar fashion to importRef for HTML file
Any suggestions?
(Note: I would like to avoid wrapping the script inside another HTML file)

Take a look at this sitepoint post on dynamically loading the jQuery script - they show an example script that exposes a loadScript function that takes the first parameter url and second a callback on success. Is that kind of function what you're after? Should also be pretty easy to tweak that function to add in callback for errors - its just dynamically creating a script tag and assigning listeners.

Thanks @bedeoverend , basically yes! :)
I think I will write it and PR it! I thought there were some extra work done in importHref, but that is not the case, so the implementation will indeed be straightforward!
Something like this:
    loadScript: function(source, onload, onerror) {
      var s = document.createElement('script');
      s.src = source;
      var self = this;
      if (onload) {
        s.onload = function(e) {
          return onload.call(self, e);
        }
      }
      if (onerror) {
        s.onerror = function(e) {
          return onerror.call(self, e);
        }
      }
      document.head.appendChild(s);
      return s;
    },

I just have to add the test... :)

imporHref is basically just this, but for .html files (imports):
https://github.com/Polymer/polymer/blob/cb68ce54ebdcfb2d6f7342e801574881fb158076/src/standard/utils.html#L363
Going to close this since the OP's question was answered.


Build and deployment strategies

(rationale)

[ ] Add one build artifact for each deployment strategy. Initial deployment types are:
[ ] Out-of-the-box build using http://localhost:9292/api
[ ] Use window.location mechanics (MDN ref)
[ ] Create an artifact when
[ ] A new release of the BEL Manager is created
[ ] The master branch builds successfully and tests pass
[ ] Publish each type of deployment to GitHub on release

Related to gulp bundle/export issue #51.

Not only that, but we want to push  both the plugins as an artifact to the NPM repository and a bundled plugin library/code to CloudFlare or another edge caching service to make it easier to build vanilla html with the BELMgr form elements (Statement, Annotations, Citation, etc).

Updated the tasks.

We'll extend this once the plugin-based approach lives on master. Can we get an issue to track the plugin approach so we can link it here?


Package reference error - go/vcs

cannot find package "code.google.com/p/go.tools/go/vcs" in any of...

same here !


LAB_08-Manage_Virtual_Machines.md.pdf

English:
Public inbound ports
Current Translation:
Aucun port d'entrée public
Suggested Translation:
Ports d'entrée publics
Description:
Several occurrences

Hello contributor,
Thank you for your contribution! We are processing your suggestions and we will update you shortly.
Kind regards,
Microsoft Worldwide Learning Team

Run the bugfix tool and waiting for result. ICMS QUERY

This issue has been fixed, so I closed the PR.


pom.xml: adding suuport for AARCH64 architecture in

Netty/Transport/Native/Epoll
AARCH 64 architecture support was missing in the exiting Netty-epoll code.
Now the Netty/Transport/Native/Epoll project can be used in aarch64 platform.
Motivation:
Explain here the context, and why you're making that change.
What is the problem you're trying to solve.
Modification:
Describe the modifications you've done.
Result:
Fixes #.
If there is no issue then describe the changes introduced by this PR.

@ossdev07 seems like this broke the enforcer plugin https://garage.netty.io/teamcity/viewLog.html?buildId=30251&buildTypeId=pulls_netty&guest=1


documentation request: how to force load of static version of font that can be variable (if possible)

Some text on a website of mine with fontsource-exo-2 broke recently due to this rendering bug. The only mitigation given in that issue is not using a variable font, but it's not clear to me how to load the static version, if that's even possible. Some clarity around this (even just a sentence or two) in the docs would be great!

Hey @jebeck,
I'm fairly sure static means to use the regular font import and not the variable variant.
This has already been discussed in NDISCOVER/Exo-2.0#11 and it seems that Fontsource does seem to have it working.
Does that clarify your concerns?

Hey @jebeck,
I'm fairly sure static means to use the regular font import and not the variable variant.

Yes, I understood this.

This has already been discussed in NDISCOVER/Exo-2.0#11 and it seems that Fontsource does seem to have it working.
Does that clarify your concerns? I'm not sure if it's necessary to amend the documentation for this specifically.

No, I still don't understand how to make fontsource use the regular import instead of the variable (if that's even possible), and I think that would be a good addition to the docs if it is possible. In my case, I just ended up changing the problematic font styling since I couldn't figure it out, so it doesn't matter to me so much anymore. Not an ideal solution, but it wasn't worth the time it was sucking up trying to figure it out.

Hey @jebeck,
I'm fairly sure static means to use the regular font import and not the variable variant.

Yes, I understood this.

This has already been discussed in NDISCOVER/Exo-2.0#11 and it seems that Fontsource does seem to have it working.
Does that clarify your concerns? I'm not sure if it's necessary to amend the documentation for this specifically.

No, I still don't understand how to make fontsource use the regular import instead of the variable (if that's even possible), and I think that would be a good addition to the docs if it is possible. In my case, I just ended up changing the problematic font styling since I couldn't figure it out, so it doesn't matter to me so much anymore. Not an ideal solution, but it wasn't worth the time it was sucking up trying to figure it out.

No, I still don't understand how to make fontsource use the regular import instead of the variable (if that's even possible).

What I meant by that is to use the non-variable fonts.
E.g. 'import @fontsource/fontname/400.css'

No, I still don't understand how to make fontsource use the regular import instead of the variable (if that's even possible).

What I meant by that is to use the non-variable fonts.
E.g. 'import @fontsource/fontname/400.css'


[Docs] Is Set, Map, WeakSet, WeakMap Available

It seems like some of these are used in React Native—sometimes by require('Map'), sometimes not.
Are these available, and if so, they’ll need to be added to [JavaScript Environment)(https://facebook.github.io/react-native/docs/javascript-environment.html)—which I’m happy to do if I get confirmation.

They're sometimes available and sometimes not because it depends if the underlying JSC version supports them. Currently on Android we use a version of JSC that is close to iOS 8's. So whatever iOS has supported at each of its releases is what we support.

@facebook-github-bot answered

Note that you can polyfill these using https://github.com/zloirock/core-js
This solves my issue with some Android devices that are missing es6 features like weakmap:
import 'core-js/es6'


Public servers support

generally -- ok, but there will be a need for making changes mentioned in private chat


error subscribing to transactions

UI Version: 0.7.1
Description:

Upon app loading:

We have to leave one open ;)

Haha, oops.  Usually in the case of a dupe the original issue is left open.


Add ownership to resources

The URLs for client-side retrieval will then become:
Categories
GET /api/users/:userId/categories

Transactions
GET /api/users/:userId/transactions

To get, say, all of the transactions for a given category, you could do:
GET /api/users/:userId/categories/:categoryId?includes=transactions

Closing as dupe of #329


capturing penetrance as a %

We would like to begin to be able to capture pentracne as a percentage when possible, enven though we do not intend to display it immediately.
Therefore we would like you to accept annotations in this format into chado:
current
has_penetrance(FYPO_EXT:0000001)
new
% range     :     has_penetrance(FYPO_EXT:0000001),10%-20%
absolute %   :     has_penetrance(FYPO_EXT:0000001),
or
has_penetrance(10%)
has_penetrance(10%-20%)
Original comment by: ValWood

Drat!  The code isn't coping.  From the latest log:
warning in 1203df6a6f3957f8: in annotation extension for 1203df6a6f3957f8-genotype-2, can't parse identifier: 20%


More Graph Layouts

Just a tracker to implement this in the future. If anyone has ideas, comment below.
Task list:

[x] Horizontal:

[ ] Separate frametime in split screen view:

[ ] Implement in UI for choices

Those are really nice ideas, there would be some code restructuring necessary to implement that, but I think it's perfectly feasible.

I also have a compact layout, would you like me to PR these? the text will need to be slightly aligned of course.

Those are really nice ideas, there would be some code restructuring necessary to implement that, but I think it's perfectly feasible.

@cirquit yep, i found code for frametime data and the plot itself but they plot all in just a single graph and I don't know how I could separate it.

In my current proposal for the v2 this should be easily possible!


Interpolate Rotation Factor on Network Transform

I tried to find something about at the code, or if it's related to the compression level... but i found nothing.
The issue that i'm having right now is: When something rotates, the others client see the rotation kinda slow, like here: https://youtu.be/llBKBw6ZoxM
My settings:

I know if i change the network sync interval to 0, it "works". But when i do the tests in 2 PC's, the local latency (2ms, don't know) makes it happen again.
I'm sorry if this is a bug or if i'm doing something wrong. I'm really new in this game development scenario (and networking too) and i thought that the old UNET "Interpolate Rotation Factor" could solve the problem.
@Edit
I'm starting to think this might be a bug. I set up the "Network sync interval" to 1, then this happened: https://youtu.be/t5sVgW2euz8
The character rotates extreeeemely slow, but sometimes a little more fast... Don't know what this means.
Any help here would be appreciated!

Hello ! In your video it looks like you want to flip your character rather than rotate it. In 2D this is done by using the scale rather than the rotation (multiply by Vector2(-1, 0, 0))

Upon further review, interpolation based on sync interval makes sense, because if updates are less frequent, the interpolation should simulate the change over time.  Closing.


Stop remap of upstream to github.com if it's a glitch.com repo

This allows the user to use this action to pull a glitch.com repo to GitHub as they too do not use the .git suffix :+1:

Maybe it's better to check for http:// https:// & @ what do you think?

That's a good point! I'll whip up a regex and come back to you once I've tested.
I'll close this PR now and open up a new PR once the generic version is done 👌🏻

Thanks @GlitchShtick
Something like this should work
if [[ ! $UPSTREAM_REPO =~ (https?:\/\/|@) ]]
then
  UPSTREAM_REPO="https://github.com/${UPSTREAM_REPO}.git"
fi


Remove AutoTimer and SkipTimer from Rakugo.tscn

Currently in Rakugo.tscn
Rakugo, node
History, node
AutoTimer, timer
SkipTimer, timer
It is not Rakugo to handle AutoTimer and SkipTimer

Yes remove them, they sould be a paty of Kit

Do by #150


Add Rborist

Could you add Rborist in serial and parallel mode to add another (fast?) random forest implementation?
Great project. Very useful to have comparisons.

I actually tested that, but it was slower (160sec) than R's randomForest package (50sec) on the smallest 10K data even in parallel mode (it was using all 32 cores).

Thanks for the follow-up. I will ask Mark about it; he will be here for R/Finance in a few weeks.


Support extended parameters

Right now we expect the input to be split into lines and compiled one-by-one. I have some use cases where I want to include more expressive rules right next to the phrase. I'm thinking:
# comments, also empty lines ignored
phrase { almost anything at all, but paying attention to nested {}'s }
phrase {
  assignment = almost anything at all
  that can go over multiple lines
  but can't have equals in it
  # Still comments work inside here, but only full-line comments
  another = but you can have multiple texts
}

Note #2 lets us use {}. This would ideally replace the parameter syntax as well (though we could still support it as a simple form). Variables (like assignment and another) must be single words.
Arguably someFunction(content) also makes sense, even if it's equivalent to someFunction = content.
It should be possible to do Say [anything] {respond = say back [anything]} – which isn't magic, just make sure that the literal string [anything] should work fine. It's up to the processor to decide what to do.

The next step after that commit is to change parameters to use the new {} format


[Suggestion] Add the tooltip for the code lens or make the code lens adaptive to the screen

OS: Windows
Build Version: 20210415.8
Repro Steps:

Create a main.json template file with below content.

{
    "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
    "contentVersion": "<IP_ADDRESS>",
    "parameters": {},
    "functions": [],
    "variables": {
        "childUri": "https://elsa001.blob.core.windows.net/test/child.json?sv=2020-04-08&st=2021-04-15T07%3A22%3A32Z&se=2021-04-16T07%3A22%3A32Z&sr=b&sp=racwdxt&sig=SBy1%2F7uZXGhQ508n2dVwTOz5Sui0BTcRODkSSjR%2BHR8%3D"
    },
    "resources": [
        {
            "name": "linkedDeployment1",
            "type": "Microsoft.Resources/deployments",
            "apiVersion": "2020-10-01",
            "properties": {
                "mode": "Incremental",
                "templateLink": {
                    "uri": "[variables('childUri')]",
                    "contentVersion": "<IP_ADDRESS>"
                },
                "parameters": {
                }
            }
        }
    ],
    "outputs": {}
}

Hover on the longer code lens or drag the below progress bar.
Check whether all the code lens can be checked or not.

Actual:
There is no tooltip when hovering on the code lens and the code lens don't move with the progress bar.

Suggestion:
Add the tooltip for the code lens or make the code lens adaptive to the screen.
More Info:
It is easy to check all the code lens if there is a tooltip or it adaptive to the screen.

This is vscode behavior.  We don't draw the tooltips.


latest version of qv2ray does not work with iran.dat

the error
2022/10/03 22:01:37 [Info] main/jsonem: Reading config: /Users/hadifarnoud/Library/Preferences/qv2ray/generated/config.gen.json main: failed to create server > app/router: invalid IP address 1:2 2:"0-1.ir"
my config
{
   "outbounds":[
      {
         "protocol":"vless",
         "settings":{
            "vnext":[
               {
                  "address":"****",
                  "port":222,
                  "users":[
                     {
                        "encryption":"none",
                        "id":"****"
                     }
                  ]
               }
            ]
         },
         "streamSettings":{
            "network":"ws",
            "security":"tls",
            "tlsSettings":{
               "disableSystemRoot":false,
               "serverName":"****"
            },
            "wsSettings":{
               "headers":{
                  "Host":"****"
               },
               "path":"/****"
            },
            "xtlsSettings":{
               "disableSystemRoot":false
            }
         }
      },
      {
         "protocol":"freedom",
         "settings":{

         },
         "tag":"direct"
      }
   ],
   "routing":{
      "domainStrategy":"IPOnDemand",
      "rules":[
        {
      "type": "field",
      "outboundTag": "Direct",
      "ip": [
        "<IP_ADDRESS>/32",
        "ext:iran.dat:ir",
        "ext:iran.dat:other",
        "ext:iran.dat:ads",
        "ext:private.dat:private"
      ]
    },
         {
            "type":"field",
            "outboundTag":"direct",
            "ip":[
               "geoip:ir",
               "geoip:private"
            ]
         }
      ]
   }
}

What could be wrong?
please do provide a complete v2ray config. in README as well.

Please follow the tutorial and use qv2ray_schema.json file for Qv2ray.
I'm not sure what's wrong with that domain but I will check it later.

I just created a new iran.dat and I tested it. It's working fine.
Also, I just saw that you are using it in the ip field. It needs to be in the domain section.


Disallow some opaque type aliases in match type patterns

Disallow opaque type aliases in match type patterns in scopes where the alias is visible.

This should give some protection against using opaque types in match type patterns improperly.


View user profiles

Tap on your username in the navigation drawer to see your user profile.
Tap any username below a discussion post or comment to see their profile.
Editing is not supported yet (marked TODO in Router) but will be supported before release
Set USER_PROFILES_ENABLED: true to test
"account_privacy" field is not present yet, it's still in code review: https://github.com/edx/edx-platform/pull/10008

Implements:
https://openedx.atlassian.net/browse/MA-1288
https://openedx.atlassian.net/browse/MA-1289

@1zaman Please review?

:+1:

Thanks for the pull request, @bguertin! I've created OSPR-848 to keep track of it in JIRA. JIRA is a place for product owners to prioritize feature reviews by the engineering development teams.
Feel free to add as much of the following information to the ticket:

supporting documentation
edx-code email threads
timeline information ("this must be merged by XX date", and why that is)
partner information ("this is a course on edx.org")
any other information that can help Product understand the context for the PR

All technical communication about the code itself will still be done via the GitHub pull request interface. As a reminder, our process documentation is here.
We can't start reviewing your pull request until you've   submitted a signed contributor agreement   or indicated your institutional affiliation   and   added yourself to the AUTHORS file . Please see the CONTRIBUTING file for more information.

@aleffert ^ is this open source?

@bguertin @aleffert ignore me, and the bot. bot is messing up, you are marked appropriately.

@1zaman Addressed all comments. Take another look if you want to :)

:+1: I added (and replied to) a few comments.


cjson: 1.7.16 -> 1.7.17

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/cjson/versions.
meta.description for cjson is: Ultralightweight JSON parser in ANSI C
meta.homepage for cjson is: https://github.com/DaveGamble/cJSON
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.7.17 with grep in /nix/store/bimif3a95nwksh7wrp4n0h1gfkmmpkja-cjson-1.7.17
found 1.7.17 in filename of file in /nix/store/bimif3a95nwksh7wrp4n0h1gfkmmpkja-cjson-1.7.17

Rebuild report (if merged into master) (click to expand)

46 total rebuild path(s)

46 package rebuild(s)

First fifty rebuilds by attrpath
cjson
collectd
domoticz
ebusd
etlegacy
gnu-cobol
librist
mosquitto
obs-studio
obs-studio-plugins.advanced-scene-switcher
obs-studio-plugins.droidcam-obs
obs-studio-plugins.input-overlay
obs-studio-plugins.looking-glass-obs
obs-studio-plugins.obs-3d-effect
obs-studio-plugins.obs-backgroundremoval
obs-studio-plugins.obs-command-source
obs-studio-plugins.obs-freeze-filter
obs-studio-plugins.obs-gradient-source
obs-studio-plugins.obs-gstreamer
obs-studio-plugins.obs-hyperion
obs-studio-plugins.obs-livesplit-one
obs-studio-plugins.obs-move-transition
obs-studio-plugins.obs-multi-rtmp
obs-studio-plugins.obs-mute-filter
obs-studio-plugins.obs-nvfbc
obs-studio-plugins.obs-pipewire-audio-capture
obs-studio-plugins.obs-replay-source
obs-studio-plugins.obs-rgb-levels-filter
obs-studio-plugins.obs-scale-to-sound
obs-studio-plugins.obs-shaderfilter
obs-studio-plugins.obs-source-clone
obs-studio-plugins.obs-source-record
obs-studio-plugins.obs-source-switcher
obs-studio-plugins.obs-teleport
obs-studio-plugins.obs-text-pthread
obs-studio-plugins.obs-transition-table
obs-studio-plugins.obs-tuna
obs-studio-plugins.obs-vaapi
obs-studio-plugins.obs-vertical-canvas
obs-studio-plugins.obs-vintage-filter
obs-studio-plugins.obs-vkcapture
obs-studio-plugins.obs-websocket
obs-studio-plugins.waveform
obs-studio-plugins.wlrobs
owntracks-recorder
pgmoneta

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/bimif3a95nwksh7wrp4n0h1gfkmmpkja-cjson-1.7.17 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A cjson https://github.com/r-ryantm/nixpkgs/archive/1f82cc66f052bf64f7b218dd1c82f3c0934d06bc.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/1f82cc66f052bf64f7b218dd1c82f3c0934d06bc#cjson

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/bimif3a95nwksh7wrp4n0h1gfkmmpkja-cjson-1.7.17
ls -la /nix/store/bimif3a95nwksh7wrp4n0h1gfkmmpkja-cjson-1.7.17/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package marked as broken and skipped:

obs-studio-plugins.obs-hyperion

2 packages failed to build:

obs-studio-plugins.obs-ndi
obs-studio-plugins.obs-replay-source

44 packages built:

cjson
collectd
domoticz
ebusd
etlegacy
gnu-cobol
librist
mosquitto
obs-studio
obs-studio-plugins.advanced-scene-switcher
obs-studio-plugins.droidcam-obs
obs-studio-plugins.input-overlay
obs-studio-plugins.looking-glass-obs
obs-studio-plugins.obs-3d-effect
obs-studio-plugins.obs-backgroundremoval
obs-studio-plugins.obs-command-source
obs-studio-plugins.obs-freeze-filter
obs-studio-plugins.obs-gradient-source
obs-studio-plugins.obs-gstreamer
obs-studio-plugins.obs-livesplit-one
obs-studio-plugins.obs-move-transition
obs-studio-plugins.obs-multi-rtmp
obs-studio-plugins.obs-mute-filter
obs-studio-plugins.obs-nvfbc
obs-studio-plugins.obs-pipewire-audio-capture
obs-studio-plugins.obs-rgb-levels-filter
obs-studio-plugins.obs-scale-to-sound
obs-studio-plugins.obs-shaderfilter
obs-studio-plugins.obs-source-clone
obs-studio-plugins.obs-source-record
obs-studio-plugins.obs-source-switcher
obs-studio-plugins.obs-teleport
obs-studio-plugins.obs-text-pthread
obs-studio-plugins.obs-transition-table
obs-studio-plugins.obs-tuna
obs-studio-plugins.obs-vaapi
obs-studio-plugins.obs-vertical-canvas
obs-studio-plugins.obs-vintage-filter
obs-studio-plugins.obs-vkcapture
obs-studio-plugins.obs-websocket
obs-studio-plugins.waveform
obs-studio-plugins.wlrobs
owntracks-recorder
pgmoneta

Maintainer pings
cc @matthiasbeyer for testing.

Fixes CVE-2023-50471 and CVE-2023-50472.


Added note that all options can be passed in to require hook

Closes #45

@thejameskyle Please have a look.


Update README-CN.md

fix typo: 在->再

I have signed a Contributor License Agreement (CLA), please recheck.


AMBR template: new release request

Some fields have been removed, others added. New picklists have been added. Ontology IDs have been added. Guidance and examples have been updated.
Can we do a new release of the AMBR template pretty please?
I tracked the changes in the version tracker and bumped the proposed version number to 2.1.1 (in red) as there were changes to fields (x), terms (y) and guidance/defs/IDs (z).

Completed last month!