error while running fetregister.exe

Hi, when I run fetregister.exe with the command "fetregister fet/5_0.05.fcb hv_c11_2_initial.conf -v", I get this error and running terminated:
"inital Done
Reading configuration file...
Done in 0.319 sec.
Frames = 875(875)
Correspondences = 360
Color Directory = image
Depth Directory = depth
Reading reconstruction file...
Done in 16.741 sec.
Shapes = 875
Features = 607581
Reading Done
Alignment with world took 2.076310 sec.
Alignment with world took 2.010047 sec.
initialize_optimization Done
Iteration 0
Weights    -> CP: 1500.000000 ; Trajectory : 1000.000000 ; Inertia : 1.000000 ; Geometry: 1500.000000 ; Hierarchy : 1500.000000
Creating closest point correspondences
-- Segment Length:     3.000 / 15.014
-- Distance Threshold: 0.500 m
-- Angle Threshold:    0.500 rad(28.647890 deg)
Launching threads:
-- Launching thread 0
-- Thread  0 Finished! | Shapes     0 to   875 (  875) | Created  43748 out of  43750 allocated correspondences.
-- Threads Finished!
GAPS FATAL ERROR.  ABORTING:: No error
Assertion error correspondence->reconstruction == this->reconstruction at line 208 in file FETFeature.cpp"
My operating system is window10 with  visual studio 2015, GTX960M. I run with debug and find that the line 1040 in file optimization.h is
"
seq_data->cp_corrs.push_back(new FETCorrespondence(NULL,
tsc.feature1,
tsc.feature2,
tsc.affinity,
COINCIDENT_RELATIONSHIP));
"
I am confused why passing the reconstruction with NULL and asserting while the reconstruction in line 33 in file FETCorrespondence.cpp and line 208 in FETFeature.cpp. Is it a bug or some thing else error with my running environment ?
What is the problem ? Thank you!

Hi,
Thanks for filing the issue. The code was never tested in Windows environment. I just rebuilt the code under Linux and I am unable to reproduce this issue.
It has been a while, however my gut feeling (and this is embarrassing) is that gaps has been always treated as a black box and always compiled in release with asserts disabled. Since I have been really hijacking how FET package of gaps was dealing with memory, the code might be violating some of asserts in the FET package. I don't have time to dig into this further right now, but my advice would be to try building gaps in release and then trying to run the code.
If that is the case I will need to disable these asserts in gaps, as they are not required.

Thanks  you for your replying!
Unfortunately, I build the gaps and fetregister in release and get the same error.  Since it works well under Linux, it maybe be the problem with my configuration under vs2015. The fetregister has the same configuration as conf2fet and the conf2fet works.

I am unfamiliar with Visual Studio, however I'd check the Release configuration and ensure that -DNDEBUG ( or /DNDEBUG ) is passed in release. Only then the asserts would be disabled.

I am unfamiliar with Visual Studio, however I'd check the Release configuration and ensure that -DNDEBUG ( or /DNDEBUG ) is passed in release. Only then the asserts would be disabled.

It works after disabled the asserts and rebuilt the gaps in release.
Thanks a lot!


i have this error when i launch go-web.bat

Retrieval-based-Voice-Conversion-WebUI-main>runtime\python.exe infer-web.py --pycmd runtime\python.exe --port 7897
The specified path could not be found.

It's a bug they need to fix. Python isn't in a "runtime" subfolder on Windows.


Suggest setting Tensorflow to latest supported release.

Status

[x] Ready
[ ] Draft
[ ] Hold

Description
Downgrade tensorflow verison to latest stable 2.3.2 instead of defaulting to (moving target) latest release.
Reason:
bug in dependency
https://github.com/tensorflow/tensorflow/issues/45744
Types of changes
What types of changes does your code introduce to FEDn?

[x] Hotfix (fixing a critical bug in production)
[ ] Bugfix
[ ] New feature
[ ] Documentation update

Checklist
If you're unsure about any of the items below, don't hesitate to ask. We're here to help!
This is simply a reminder of what we are going to look for before merging your code.

[x] This pull request is against develop branch (not applicable for hotfixes)
[ ] I have included a link to the issue on GitHub or JIRA (if any)
[ ] I have included migration files (if there are changes to the model classes)
[ ] I have read the CONTRIBUTING doc
[ ] I have included tests to complement my changes
[ ] I have updated the related documentation (if necessary)
[x] I have added a reviewer for this pull request
[x] I have added myself as an author for this pull request

Further comments
Anything else you think we should know before merging your code!

Just an update, TF 2.4.1 has been released and removes the AVX2 restriction. Apologies for the issues caused.

Just an update, TF 2.4.1 has been released and removes the AVX2 restriction. Apologies for the issues caused.


Server instability and crashes due to higher-than-expected ram usage (possible memory leak)

Describe the bug
Server instability due to higher-than-expected ram usage (possible memory leak). After some hours of playing, the ram usage of the server grows higher and higher, until a point that the server crashes and restarts. At which point the ram returns to expected usage values.
The issue does not seem to be related to the number of players, what is going on on the server, nor if users are online or not. It appears to simply occur as uptime increases. Restarting the server therefore restarts the 'countdown' to the next crash. (Restarting once a day is not enough)
To Reproduce
Steps to reproduce the behavior:

Launch server
Wait
RAM increases over time
Crash and automatic restart
n. if the server is restarted before a crash, the time until the next crash appears to reset

Expected behaviour
RAM usage stays relatively stable and does not climb uncapped to a point of a crash
Actual behavior
Total RAM usage by the server increases over time until it uses the max amount of RAM (and in my case Swap Memory) and then crashes the server.
Screenshots
OS information (IMPORTANT)

OS:  Ubuntu
Palworld Version:  <IP_ADDRESS>496
Docker Image Version:  0.38.1

Hardware information (IMPORTANT)

CPU:  4 AMD VCPU on Hetzner Cloud Server
Memory:  8GB plus 16GB Swap

docker-compose.yml contents (IMPORTANT)
services:
  palworld:
    image: thijsvanloef/palworld-server-docker:latest
    restart: unless-stopped
    container_name: palworld-server
    stop_grace_period: 30s  # Set to however long you are willing to wait for the container to gracefully stop
    ports:
      - 8211:8211/udp
      - 27015:27015/udp  # Required if you want your server to show up in the community servers tab
    environment:
      PUID: 1000
      PGID: 1000
      PORT: ### # Optional but recommended
      PLAYERS: 32  # Optional but recommended
      SERVER_PASSWORD: "###"  # Optional but recommended
      MULTITHREADING: "true"
      RCON_ENABLED: "true"
      RCON_PORT: ###
      TZ: "UTC"
      ADMIN_PASSWORD: "###"
      COMMUNITY: "false"  # Enable this if you want your server to show up in the community servers tab, USE WITH SERVER_PASSWORD!
      SERVER_NAME: "###"
      SERVER_DESCRIPTION: "Work God Dammit"
      EXP_RATE: 2
      PAL_CAPTURE_RATE: 1.5
      PAL_SPAWN_NUM_RATE: 1.9
      PLAYER_AUTO_HP_REGEN_RATE: 1.5
      PLAYER_AUTO_HP_REGEN_RATE_IN_SLEEP: 5
      PAL_AUTO_HP_REGEN_RATE: 2
      PAL_AUTO_HP_REGEN_RATE_IN_SLEEP: 5
      BUILD_OBJECT_DAMAGE_RATE: 0.25
      BUILD_OBJECT_DETERIORATION_DAMAGE_RATE: 0
      COLLECTION_DROP_RATE: 2
      COLLECTION_OBJECT_RESPAWN_SPEED_RATE: 0.5
      ENEMY_DROP_ITEM_RATE: 2
      DEATH_PENALTY: 1
      BASE_CAMP_WORKER_MAX_NUM: 25
      GUILD_PLAYER_MAX_NUM: 32
      PAL_EGG_DEFAULT_HATCHING_TIME: 0.5
      WORK_SPEED_RATE: 3
      ENABLE_NON_LOGIN_PENALTY: "false"
      COOP_PLAYER_MAX_NUM: 32
      DISCORD_WEBHOOK_URL: ###
      DISCORD_PRE_START_MESSAGE: "Server has started!"
      DISCORD_PRE_START_MESSAGE_ENABLED: "true"
      DISCORD_POST_SHUTDOWN_MESSAGE: "Server has stopped!"
      DISCORD_POST_SHUTDOWN_MESSAGE_ENABLED: "true"
      DISCORD_PLAYER_JOIN_MESSAGE_ENABLED: "true"
      DISCORD_PLAYER_LEAVE_MESSAGE_ENABLED: "true"
      DISCORD_PRE_BACKUP_MESSAGE_ENABLED: "false"
      DISCORD_POST_BACKUP_MESSAGE_ENABLED: "false"
      AUTO_REBOOT_ENABLED: "true"
      AUTO_REBOOT_WARN_MINUTES: 1
      BASE_CAMP_MAX_NUM_IN_GUILD: 10
      AUTO_SAVE_SPAN: 15
      INVISIBLE_OTHER_GUILD_BASE_CAMP_AREA_FX: "false"

    volumes:
      - ./palworld:/palworld/

Container/Host Logs (IMPORTANT)
Not sure where to locate this
Additional context
Bug Report Checklist

[Y ] I searched for my issue on the Known issues page
[Y ] I searched for my issue in the Closed issues
[Y ] I have included all relevant information required above.
[- ] I am willing to fix this bug

Facing the exact same issue here on my Docker Server.
Seems related to the Sakura update.
Before the update the server usually stayed around 6 GB RAM Usage, after the update it takes whatever is available until OS kills the process for memory reasons.
Grafana Memory overview of last night

18h is daily server restart. Around 19:30 did a manual restart for config changes.
02:45 is when the server crashed cause memory usage.
and finally around 04:15 everyone stopped playing.
Checking my Grafana logs over a period of 7 Days indicates that issue started since 27/06 (Sakura Update day)

If anything I can provide to assist let me know.

Hi @MamboDead & @T-h-o-r-p-e,
Sadly I have no control over the memory usage of the application that is running in the container. I am afraid that this needs to be handled by the Palworld Devs.


Asset Server not loading "https://" URLs

The asset server (used in examples) is not able to load assets through HTTPS.

Closed with version 1.0.0


Can't create cert:  Attemp to renew a non-existing certificate for

I'm having trouble creating a custom cert. It seems like its trying to renew the cert instead of create a new cert:
$ now certs create cdn.kickdb.com --debug
> [debug] /now/certs #1: 395.989ms
> [debug] Retrying: Error: Attemp to renew a non-existing certificate for cdn.kickdb.com
Error: Attemp to renew a non-existing certificate for cdn.kickdb.com
    at module.exports.EventEmitter.createCert.domain.retry (/snapshot/now-cli/dist/now.js:940:15)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
> [debug] /now/certs #2: 152.166ms
> [debug] Retrying: Error: Attemp to renew a non-existing certificate for cdn.kickdb.com
Error: Attemp to renew a non-existing certificate for cdn.kickdb.com
    at module.exports.EventEmitter.createCert.domain.retry (/snapshot/now-cli/dist/now.js:940:15)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
> [debug] /now/certs #3: 188.373ms
> [debug] Retrying: Error: Attemp to renew a non-existing certificate for cdn.kickdb.com
Error: Attemp to renew a non-existing certificate for cdn.kickdb.com
    at module.exports.EventEmitter.createCert.domain.retry (/snapshot/now-cli/dist/now.js:940:15)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
> [debug] /now/certs #4: 467.282ms
> Error! Unexpected error. Please try again later. (Attemp to renew a non-existing certificate for cdn.kickdb.com)

I'm using now 9.2.7.
Also, there's a typo in the error message: it should say Attempt instead of Attemp.

this is still happening for me on 11.1 I'm attempting to add www. which currently isn't working on my site.
Same error where it's attempting to renew a cert that is not created.

This should not be happening!

Closing because now certs create is no longer a valid command. Please create a new issue if you are still experiencing any certificate problems.


crashes on windows

every time i go get globed and i relaunch the game it crashes idk if this is a bug but if it happens to me it happens to windows users

2024-09-03_12-23-00.log
crash logue

fixed in v1.6.2, update globed


Fix Bug; Edit Command not working with Mod Name

closes #108

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Files with missing lines
Coverage Δ
Complexity Δ

src/main/java/seedu/address/logic/Messages.java
88.88% <100.00%> (+1.38%)
3.00 <0.00> (ø)

...java/seedu/address/logic/commands/EditCommand.java
96.55% <100.00%> (ø)
15.00 <0.00> (ø)

... and 4 files with indirect coverage changes


Backup error with multiple sources defined in the config file

I'm getting this error now whenever I run a backup that has multiple sources defined in the config.
nick@DESKTOP-DIFRTR1:~$ rustic -r rclone:onedrive:wsl2 backup --dry-run
using config /home/nick/.config/rustic/rustic.toml
[00:00:01] reading index...               ████████████████████████████████████████         18/18
[00:00:01] getting latest snapshot...     ████████████████████████████████████████         14/14
[00:00:00] backing up...                  ████████████████████████████████████████         0B/0B     0B/s  ( ETA -)
Files:       1 new, 0 changed, 0 unchanged
Dirs:        3 new, 0 changed, 0 unchanged
Added to the repo: 460 B (raw: 402 B)
processed 1 files, 0 B
snapshot 00000000 successfully saved.
thread 'main' panicked at 'removal index (is 1) should be < len (is 1)', src/commands/backup.rs:183:36
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Here's the config that generates the error
[global]
log-level = "off" # log levels: trace, debug, info, warn, error or off
#log-file = "/log/rustic.log"

# repository options: These options define which backend to use and which password to use.
[repository]
repository = "rclone:onedrive:wsl2"
password = ""

[[backup.sources]]
source = "/home/nick/test"

[[backup.sources]]
source = "/home/nick/test2"

I'm also noticing that depsite doing a backup, it only processes the first source (which has 1 file) and ignores/fails on the second source (which has 2 files)
If I comment out either of the sources like this, it will work.
[[backup.sources]]
source = "/home/nick/test"

#[[backup.sources]]
#source = "/home/nick/test2"

I'm using rustic v0.4.4-25-g8870bd6

Thanks for reporting - this is actually a bug introduced by #458 and the fact that all paths from the config are now sanitized. Should be fixed by #476 in few minutes!

Yes, this is how it should behave! Note that it will create two snapshots.


Built-in terminal runs with wrong LANG variable (leads to missing power line symbols in the prompt)

VSCode Version: 1.6.1 (9e4e44c19e393803e2b05fe2323cf4ed7e36880e)
OS Version: Mac OS X El Capitan 10.11.6

Steps to Reproduce:

Start up the built in terminal
Check the variable LANG: echo $LANG. Value shown (wrong): "de.UTF-8". Correct would be: "de_DE.UTF-8"

This wrong environment variable leads to power line symbols in the fish status line (example) shown as "?".
With the following configuration, the terminal works fine
    "terminal.integrated.shell.osx": "/usr/bin/env",
    "terminal.integrated.shellArgs.osx": [
        "LANG=de_DE.UTF-8",
        "fish",
        "-li"
    ],

Examples
Example: Defect power line prompt

## Example: Correct power line prompt (with configuration as shown above)

@geggo98 does setting terminal.integrated.setLocaleVariables to false fix the issue?

@Tyriar Toggling "terminal.integrated.setLocaleVariables" doesn't fix the behavior. Only setting the environment explicitly (e.g. with "env") fixes the problem.

VSCode Version: 1.8.1 (ee428b0eead68bf0fb99ab5fdc4439be227b6281)
macOS: 10.12.3 (16D32)
Without changing settings:
> echo $LANG
de.UTF-8

terminal.integrated.setLocaleVariables:
> echo $LANG

@Tyriar Thank you for the workaround! You helped me out!

The reason it's failing is because platform.locale is in an unexpected format:

Australian English: en-gb
German: de
Korean: ko

It's actually sourced from $VSCODE_NLS_CONFIG, not node as was expected:
❯ echo $VSCODE_NLS_CONFIG
{"locale":"en-gb","availableLanguages":{}}

❯ echo $VSCODE_NLS_CONFIG
{"locale":"ko","availableLanguages":{}}

defaults read -g AppleLocale gets the correct format, maybe it should be a Mac-specific setting? @dbaeumer do you think we should amend $VSCODE_NLS_CONFIG to be the correct format for the $LANG attribute or pull it directly from the OS?
Pulling it from the OS could lead to inconsistencies with terminal and vscode locale, but it would also enable greater language support because we only support 7 or 8 languages in VS Code?

The value of VSCODE_NLS_CONFIG is compute using electron API here https://github.com/Microsoft/vscode/blob/master/src/main.js#L47. The electron API used is app.getLocale(). Looks like that one is not returning the value you expect.  I have no problem adding an additional value however I would first like to understand if appgetLocale should be fixed.

Pulling it from the OS could lead to inconsistencies with terminal and vscode locale, but it would also enable greater language support because we only support 7 or 8 languages in VS Code?

It also would set LANG to a value expected by common command line applications. I think this is the biggest pro.

@simonnagl that's the end goal, just depends on how we get there.
@dbaeumer Thanks for the link, here's some more info on the API https://github.com/electron/electron/blob/686a26d948d35bee2474fddf287ad6ebf8aa59b7/docs/api/locales.md#L3

Electron uses Chromium's l10n_util library to fetch the locale.

Given this I think I'll just create a default/fallback locale region in case only the language comes back from getLocale. So if en is returned it will append -US, for de append -DE, etc.

Verification steps:

Set Mac system language to German
Restart machine
Launch VS Code
Open terminal
Run echo $LANG
The output should be de_DE.UTF-8

Verified as instructed.


Improve the record type performance

The current NamedMpkGz is too slow in term of serialization and deserialization, so we should investiguate alternatives or improve it.

It might be because of compression. There is an open bug the serialization does not finish if compression is enabled. We should check compressed and uncompressed.

It is definitely related to the compression. I collected some reference numbers while I was working on my ResNet implementation (in release mode, because compression is even slower in debug mode).

Model
Format
Load
Save

ResNet-18
NamedMpkFileRecorder
80 ms
261 ms

ResNet-50
NamedMpkFileRecorder
201 ms
575 ms

ResNet-152
NamedMpkFileRecorder
463 ms
1296 ms

ResNet-18
NamedMpkGzFileRecorder
634 ms
7172 ms

ResNet-50
NamedMpkGzFileRecorder
1512 ms
15345 ms

ResNet-152
NamedMpkGzFileRecorder
3405 ms
36456 ms

The difference is quite substantial. Even if we switch from Compression::default() to Compression::fast() here.

Model
Format
Load
Save

ResNet-18
NamedMpkGzFileRecorder
643 ms
3842 ms

ResNet-50
NamedMpkGzFileRecorder
1397 ms
8540 ms

ResNet-152
NamedMpkGzFileRecorder
3181 ms
19746 ms

The MessagePack format without compression is much faster, but does not provide checksum validation for corrupted files. Ideally we could provide a format that is faster than the current NamedMpkGzFileRecorder and that provides checksum validation.

So I explored some alternatives to the gzip compression today, namely zlib-ng (supported by flate2) and lz4 (with bindings from lzzzz.
For zlib-ng, which is supposed to be faster than gzip, we get better compression times and decompression is similar for the default compression levels.

Click for recorder implementation
Add the following to file.rs.
use flate2::{read::ZlibDecoder, write::ZlibEncoder, Compression};

/// File recorder using the [named msgpack](rmp_serde) format with zlib-ng.
#[derive(new, Debug, Default, Clone)]
pub struct NamedMpkZlibFileRecorder<S: PrecisionSettings> {
    _settings: PhantomData<S>,
}

impl<S: PrecisionSettings> FileRecorder for NamedMpkZlibFileRecorder<S> {
    fn file_extension() -> &'static str {
        "zz"
    }
}

impl<S: PrecisionSettings> Recorder for NamedMpkZlibFileRecorder<S> {
    type Settings = S;
    type RecordArgs = PathBuf;
    type RecordOutput = ();
    type LoadArgs = PathBuf;

    fn save_item<I: Serialize>(
        &self,
        item: I,
        mut file: Self::RecordArgs,
    ) -> Result<(), RecorderError> {
        let writer = str2writer!(file)?;
        let mut writer = ZlibEncoder::new(writer, Compression::default());
        // let mut writer = ZlibEncoder::new(writer, Compression::fast());
        rmp_serde::encode::write_named(&mut writer, &item)
            .map_err(|err| RecorderError::Unknown(err.to_string()))?;

        Ok(())
    }

    fn load_item<I: DeserializeOwned>(&self, mut file: Self::LoadArgs) -> Result<I, RecorderError> {
        let reader = str2reader!(file)?;
        let reader = ZlibDecoder::new(reader);
        let state = rmp_serde::decode::from_read(reader)
            .map_err(|err| RecorderError::Unknown(err.to_string()))?;

        Ok(state)
    }
}

Note: requires features = ["zlib-ng"] for flate2.

Model
Format
Load
Save

ResNet-18
NamedMpkZlibFileRecorder
703 ms
4406 ms

ResNet-50
NamedMpkZlibFileRecorder
1526 ms
9573 ms

ResNet-152
NamedMpkZlibFileRecorder
3638 ms
22404 ms

But when using the lowest compression level, it seems that zlib-ng is actually a tiny bit slower than gzip.

Model
Format
Load
Save

ResNet-18
NamedMpkZlibFileRecorder
663 ms
4077 ms

ResNet-50
NamedMpkZlibFileRecorder
1487 ms
8741 ms

ResNet-152
NamedMpkZlibFileRecorder
3343 ms
20833 ms

For lz4 we actually the lz4f module as it includes content checksum validation. The results for compression are a lot better  (~3x) than any other comparable, though load times actually seemed a little bit slower than gzip decompression.

Click for recorder implementation
Add the following to file.rs.
use lzzzz::lz4f::{ContentChecksum, PreferencesBuilder, ReadDecompressor, WriteCompressor};

/// File recorder using the [named msgpack](rmp_serde) format with lz4f compression.
#[derive(new, Debug, Default, Clone)]
pub struct NamedMpkLz4fFileRecorder<S: PrecisionSettings> {
    _settings: PhantomData<S>,
}

impl<S: PrecisionSettings> FileRecorder for NamedMpkLz4fFileRecorder<S> {
    fn file_extension() -> &'static str {
        "lz4f"
    }
}

impl<S: PrecisionSettings> Recorder for NamedMpkLz4fFileRecorder<S> {
    type Settings = S;
    type RecordArgs = PathBuf;
    type RecordOutput = ();
    type LoadArgs = PathBuf;

    fn save_item<I: Serialize>(
        &self,
        item: I,
        mut file: Self::RecordArgs,
    ) -> Result<(), RecorderError> {
        let writer = str2writer!(file)?;
        let pref = PreferencesBuilder::new()
            .content_checksum(ContentChecksum::Enabled)
            // .compression_level(6)
            .build();

        let mut writer = WriteCompressor::new(writer, pref)
            .map_err(|err| RecorderError::Unknown(err.to_string()))?;

        rmp_serde::encode::write_named(&mut writer, &item)
            .map_err(|err| RecorderError::Unknown(err.to_string()))?;

        Ok(())
    }

    fn load_item<I: DeserializeOwned>(&self, mut file: Self::LoadArgs) -> Result<I, RecorderError> {
        let reader = str2reader!(file)?;
        let reader =
            ReadDecompressor::new(reader).map_err(|err| RecorderError::Unknown(err.to_string()))?;
        let state = rmp_serde::decode::from_read(reader)
            .map_err(|err| RecorderError::Unknown(err.to_string()))?;

        Ok(state)
    }
}

Note: requires lzzzz = "1.0.4" in your Cargo.toml.

Model
Format
Load
Save

ResNet-18
NamedMpkLz4fFileRecorder
895 ms
1270 ms

ResNet-50
NamedMpkLz4fFileRecorder
2163 ms
2779 ms

ResNet-152
NamedMpkLz4fFileRecorder
5002 ms
6752 ms

For usability, it still leaves much to be desired when loading simple models like a ResNet.
TL;DR: as discussed offline with @nathanielsimard the current MessagePack serialization with NamedMpkFileRecorder is probably the most sensible default at this time. For checksum validation, it's probably only relevant when downloading models that we distribute so we could handle that when we download the files instead.

Thanks for exploring alternatives. I agree we should make message pack default without compression. This is what I did for onnx default type when exporting.

We also have https://github.com/memorysafety/zlib-rs as possible alternative, but it is still in an embronyal state.


Browsersync keeps throwing errors on run

Hey there
I am currently trying to integrate blendit with a rails app that I am helping out with all of the styling and sass architecture. The rails asset compiler seemed a bit rough to work with, so this seems like the perfect solution!
I seem to keep on getting errors however and not sure why:
 yarn run blendid
yarn run v0.24.5
$ "/Users/user/Projects/app/node_modules/.bin/blendid"
[11:51:32] Working directory changed to ~/Projects/app/node_modules/blendid
[11:51:33] Using gulpfile ~/Projects/app/node_modules/blendid/gulpfile.js
[11:51:33] Starting 'default'...
[11:51:33] Starting 'clean'...
[11:51:33] Finished 'clean' after 5.24 ms
[11:51:33] Starting 'stylesheets'...
[11:51:33] Finished 'stylesheets' after 22 ms
[11:51:33] Starting 'browserSync'...
[11:51:34] 'browserSync' errored after 56 ms
[11:51:34] WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
 - configuration misses the property 'entry'.
   object { <key>: non-empty string | [non-empty string] } | non-empty string | [non-empty string] | function
   The entry point(s) of the compilation.
    at webpack (/Users/user/Projects/app/node_modules/webpack/lib/webpack.js:19:9)
    at Gulp.browserSyncTask (/Users/user/Projects/app/node_modules/blendid/gulpfile.js/tasks/browserSync.js:13:18)
    at module.exports (/Users/user/Projects/app/node_modules/orchestrator/lib/runTask.js:34:7)
    at Gulp.Orchestrator._runTask (/Users/user/Projects/app/node_modules/orchestrator/index.js:273:3)
    at Gulp.Orchestrator._runStep (/Users/user/Projects/app/node_modules/orchestrator/index.js:214:10)
    at Gulp.Orchestrator.start (/Users/user/Projects/app/node_modules/orchestrator/index.js:134:8)
    at /Users/user/Projects/app/node_modules/gulp-sequence/index.js:68:12
    at apply (/Users/user/Projects/app/node_modules/thunks/thunks.js:354:38)
    at tryRun (/Users/user/Projects/app/node_modules/thunks/thunks.js:224:19)
    at runThunk (/Users/user/Projects/app/node_modules/thunks/thunks.js:217:15)
✨  Done in 1.99s.

@artemartemov I found a solution around that problem. Remove postbuild from development in order to avoid overwriting the default postbuild. Unless you really want to create your own postbuild. Use only prebuild, worked perfectly for me.
Leave it like this..
  additionalTasks: {
    initialize(gulp, PATH_CONFIG, TASK_CONFIG) {
      gulp.task('copyLayouts', function() {
        // the stuff task is suppose to do
      });
    },
    development: {
      prebuild: ['copyLayouts']
    },
    production: {
      prebuild: ['copyLayouts'],
      postbuild: []
    }
  }


Ensure k-rate with connected inputs deliver a constant value per quantum

Results of the-audioparam-interface
  RESULTS:
  - # pass: 1413 (+66)
  - # fail: 510 (-66)
  - # type error issues: 9

/bench

Nice catch!


Remove summary field

Context

Does this issue have a Trello card?

https://trello.com/c/EyX2RFzY/112-switch-to-jsonapi-for-series-pages
Intent
This PR removes the summary field, which was previously being used (by the old API), but not by JSON:API.
This should be deployed after https://github.com/ministryofjustice/prisoner-content-hub-frontend/pull/361
Considerations

Is there any additional information that would help when reviewing this PR?

Are there any steps required when merging/deploying this PR?

Checklist

[ ] This PR contains only changes related to the above card
[ ] Tests have been added/updated to cover the change
[ ] Documentation has been updated where appropriate
[ ] Tested in Development

Closed (something went a bit wrong on this branch) opened new PR https://github.com/ministryofjustice/prisoner-content-hub-backend/pull/256


Feature/alexzhang1618/search

Administrative Info
[GitHub Issue #42]
Make sure your branch name conforms to: <feature/staging/hotfix/...>/[username]/[3-4 word description separated by dashes]. Otherwise, please rename your branch and create a new PR.
Changes
What changes did you make?

Added a post route "/search" that returns a filtered table based on group and search params to TableDataRoutes.js
Updated props for Table.js to use data passed in by dashboard and updated table row keys to be based on id
Added a search bar in the frontend that filters the table based on the search query

Testing
How did you confirm your changes worked?

Ran the React app and looked at the result
Tested the /search route using Postman

Confirmation of Change
Upload a screenshot, if possible. Otherwise, please provide instructions on how to see the change.

Table before search

Table after search

@navidboloorian did anyone modify the linter to stop forcing arrow functions? Seems like same thing happened here, which will break the organizations and users schema

@navidboloorian did anyone modify the linter to stop forcing arrow functions? Seems like same thing happened here, which will break the organizations and users schema

Yeah I have


allow multiple resource parameters

Closes/fixes #769
Checklist

[x] This PR makes changes to the public API
[x] I have included links for closing relevant issue numbers

Stupid question, does this publish 2.2.1-preview.00x somewhere by any changes ?

Stupid question, does this publish 2.2.1-preview.00x somewhere by any changes ?
No, i simply copy/paste the src directory of this library into a sub-folder of one of my projects and redirect the imports...
Alternate you can create your own local build of this library and then copy paste the dist folder into your node_modules and replace the oidc-client-ts dist temporarily.


[BUG] Your current repo won't install

Describe the bug
As in the title, your current repo won't install.
Error is: error: pathspec 'mozilla-ca' did not match any file(s) known to git
To Reproduce
Steps to reproduce the behavior:
1.) Clone to a fresh directory
2.) sh install.sh
Expected behavior
Repo gets installed and configured
Screenshots
Desktop

OS: Linux-
OS Version/Flavor: Ubuntu 20.04
CPU: AMD

Additional context
Initial commit installed without issue.  Was only after the forced push of difficulty changes that I noticed an issue.

+1 same issue.

Same.

Those who wish to install this from this git repository while this submodule is still missing, please run git submodule add https://github.com/Chia-Network/mozilla-ca before running sh install.sh.

I've submitted a pull request (#11) to fix this issue.


Set auto-width for cells

I have read through the documentation, but was not able to find a reference. Is it possible to allow the cells to auto-fit the content?
If not, is this something you would consider adding in the future?

Sorry, this won't be a trivial solution. It won't be incorporated any time soon.


Feat: Split the Drawer component

Overview

This pull request introduces two new components: BaseDrawer and PrimaryDrawer. The purpose of this change is to demonstrate how to follow the Open-Closed Principle of the SOLID principles when creating multiple variations of drawer components. Please note that the existing drawer components (Drawer.tsx, DrawerUsageExample.tsx, SecondaryDrawer.tsx, and SecondaryDrawerUsageExample.tsx) have intentionally been kept for reference.
Changes

Created the BaseDrawer component.
Created the PrimaryBottomDrawer component.
Created the PrimaryBottomDrawerUsageExampel.
Put all the newly created files in the Drawers/ directory.

Review points

Screen Captures

Note

The next task will be #188
The implementation of this PR is an example of creating a customized drawer for various needs.
Thus, I renamed PrimaryBottomDrawer to ExampleDrawer since we no longer need the drawer with a primary color background.

Assignee Checklist:

[x] The naming convention of the PR title is correct (See the comment at the top of this template)
[x] The base branch is correct (See: Types of Branches)
[x] The branch name follows the Branch Naming Conventions
[x] The correct assignees and reviewers have been designated for this PR
[x] The coding style follows the Coding Style Guide
[x] All the related issues are associated with this PR
[x] All criteria in the associated issues are met (please tick the checkboxes)
[x] My changes do not generate new warnings or errors (especially in the console)

Reviewer Checklist:

[ ] Double-check the "Assignee Checklist"
[ ] The code follows the generic best practices and our Coding Style Guide
[ ] The code is well-commented and easy to understand
[ ] The UI changes accurately reflect the provided design

@kotaaaa @kanta1207 @ShoeheyOt
Hi guys, please let me share my thoughts on how to handle this PR. As per our earlier verbal discussion, we have decided that we no longer need the PrimaryBottomDrawer. However, I think it would still be good to merge this PR, maybe along with @ShoeheyOt 's PR, to preserve the BaseDrawer and provide an example of how to implement a customized drawer for each need by inheriting BaseDrawer. We just need to make sure to delete the SecondaryDrawer when merging into the develop branch.
Therefore, I renamed PrimaryBottomDrawer to ExampleDrawer and added some comments to indicate that it's an example file.
To know how I updated after the verbal discussion, please take a look at the commits after cd19587 (#186)
I'd also love to hear your opinions.

@kotaaaa @kanta1207 @ShoeheyOt
Hi guys, please let me share my thoughts on how to handle this PR. As per our earlier verbal discussion, we have decided that we no longer need the PrimaryBottomDrawer. However, I think it would still be good to merge this PR, maybe along with @ShoeheyOt 's PR, to preserve the BaseDrawer and provide an example of how to implement a customized drawer for each need by inheriting BaseDrawer. We just need to make sure to delete the SecondaryDrawer when merging into the develop branch.
Therefore, I renamed PrimaryBottomDrawer to ExampleDrawer and added some comments to indicate that it's an example file.
To know how I updated after the verbal discussion, please take a look at the commits after cd19587 (#186)
I'd also love to hear your opinions.

Thank you for sharing & summarizing your thoughts on this and I totally agree with you!
I especially liked your idea on renaming PrimaryBottomDrawer to be Example, that's really a nice way to keep this work and Shu's effort for future!

@kanta1207 @kotaaaa @ShoeheyOt
Thank you for your feedback :)
I will merge it now!


chore: Select component refactoring - PropertiesModal - Iteration 5

SUMMARY
It replaces the react-select Select component with the Antdesign one in the PropertiesModal component.
BEFORE
https://user-images.githubusercontent.com/60598000/130784310-46bb268c-5b1d-4bda-95e6-941c403666b8.mp4
AFTER
https://user-images.githubusercontent.com/60598000/130784342-afa96f72-7e92-47d1-b261-ae378b9d7395.mp4
TESTING INSTRUCTIONS

Open a Chart in Explore
Click on Edit properties
Add/Delete/Update the owners in the dropdown

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[x] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

@rosemarie-chiu @jinghua-qa

/testenv up

/testenv up


NullReferenceException: Object reference not set to an instance of an object

Some models that I try to load I get:
NullReferenceException: Object reference not set to an instance of an object
UnityGLTF.GLTFSceneImporter.InitializeAssetCache () (at Assets/UnityGLTF/Scripts/G LTFSceneImporter.cs:359)
UnityGLTF.GLTFSceneImporter+<_LoadScene>c__Iterator7.MoveNext () (at Assets/UnityGLTF/Scripts/GLTFSceneImporter.cs:378)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at C:/buildslave/unity/build/Runtime/Export/Coroutines.cs:17)

Could you share a model that runs into this exception?

@ericob , here it is: http://wagnerpatriota.com/sample.zip

Same here, here're the models that run into this exception:
https://sketchfab.com/models/c2f52afa064f44a6a8aa1e73bf92b4ae
https://sketchfab.com/models/2561a93bfad74575a8a420432c894080

Fixed in latest release


add GetEpoch local state query

fixes #315

@falcucci we're missing part of the requirements of the issue: "we have primitives to represent the response". What I mean by that is that we need to get rid of the GenericResponse and start using structs that represent the decoded version of the query results.

closing in favor of #326


"Prejmer", "Lunca Calnicului" and "Stupinii Prejmerului" villages are listed in the drop-down menu

The villages are listed in the drop-down menu alongside its corresponding county and commune, according to the law
Preconditions : the website (https://peviitor-ro.github.io/ui.orase/) is up and runing. After every step delete the text you typed from the search bar.

**Step 1 **
Write in the search bar "Prejmer"

Expected results
The location appears in the drop-down menu as "Prejmer, BRAȘOV (Prejmer)"

**Step 2 **
Write in the search bar "Lunca Calnicului"

Expected results
The location appears in the drop-down menu as "Lunca Calnicului, BRAȘOV (Lunca Calnicului)"

**Step 3 **
Write in the search bar "Stupinii Prejmerului"

Expected results
The location appears in the drop-down menu as "sat Stupinii Prejmerului, BRAȘOV (Prejmer)"


IllustratedMessage docs

Closes https://jira.corp.adobe.com/browse/RSP-1543
Removed slots from the API because I didn't see that change in the slots refactor and I know we did that for Dialog.
📝 Test Instructions:
review Illustrated Message docs
🧢 Your Team:
RSP

The IllustratedMessage will look wrong because there is some errant CSS. It looked like a general issue so I'm creating a separate issue to fix it.

Just curious, why is the illustration 64x64 px? in v2 they were much larger and not square necessarily?

@snowystinger Illustration looks to be the same size as v2 for me.


Account futures has got error

Parse error: syntax error, unexpected '?' in /home/vol14_5/boomhost.ml/www/area.boomhost.ml/htdocs/admin/template/MySSL.php on line 30
and mail dont work
php version 5.6
then i change to 7.4 but dont help

Fixed just need change some php config... sorry but mail dont work

Mail not work using SMTP mailgun

Old php mailer doesn't work well now.

how to fix it @mahtab2003

Well i don't know


Bug Report: Typo in TypeScript Declaration

Confirm this is a Node library issue and not an underlying OpenAI API issue

[X] This is an issue with the Node library

Describe the bug
Description:
There's a typo in the AssistantToolsRetrieval interface of the AssistantCreateParams namespace. The property type is misspelled as 'retreival' instead of the correct 'retrieval'.
Impact:
The typo may cause TypeScript errors and misconfigurations in the codebase.
Fix:
Correct the spelling to 'retrieval' in the interface definition.
To Reproduce

Navigate to the AssistantCreateParams namespace in the TypeScript declaration file.
Observe the incorrect spelling of the type property within the AssistantToolsRetrieval interface.

Code snippets
No response
OS
macOS
Node version
20.9.0
Library version
4.16.0

This has been fixed and released.

👍


Filter offers

@sin6pi7 I guess an alternative to adding | 'all' to the types would be removing the parameter in those cases


.catch is not patched in Zones when overriding promise set later

Found in question here.
patchThen is missing a line that patches .catch and there is no reason to assume .catch actually calls .then internally.
The following code should suffice:
    Ctor.prototype.catch= function(onReject: any) {
      const wrapped = new ZoneAwarePromise((resolve, reject) => {
        originalThen.call(this, resolve, reject);
      });
      return wrapped.then(null, onReject);
    };

there is no reason to assume .catch actually calls .then internally.

Why not? It's in the standard that it does.

Why not? It's in the standard that it does.

I'm sorry, you are absolutely right, I was sure it calls PerformPromiseThen but it looks like it literally says Invoke(promise, "then", « undefined, onRejected »).

Q, Bluebird, When as well as Chrome all implement .catch with .then.
Firefox used to call Then https://github.com/ricardoquesada/Spidermonkey/blob/4a75ea2543408bd1b2c515aa95901523eeef7858/dom/promise/Promise.cpp#L627-L631 in the C++ layer but seem to have fixed it more recently. I'll wait for OP to respond.

Close it because it is not an issue.


Allow for specifying custom dialog titles

Allow for specifying custom dialog titles. Less generic than "Please select one or more files...".

Yes, please! There are a number of different titles in my application:
    final var dialog = createFileChooser( "Dialog.file.choose.save.title" );
    final var dialog = createFileChooser( "Dialog.file.choose.export.title" );
    final var dialog = createFileChooser( "Dialog.file.choose.open.title" );

Being able to configure these would be in keeping with functionality offered by FileChooser.


consensus: CB prefixes

Uppercase C (28) for P2PKH and lower-case c (87) for P2SH

Change also required in electrum server and rust ocean library.


Improve rake task description when creating new branch

Hello
I think the task need a little bit more help when you want to create a new branch. I was stuck and refers to https://github.com/rspec/rspec-dev/issues/43#issue-17918326 to find the right command.

I don't use these but makes sense to me!


chore: updated graphql comments

Filled in comments for graphql types (just copy/pasted comments from non-graphql fields.ts

Looks good! We just need comments on the other DocumentHeader fields:
	id: string;
	uid: string | null;
	url: string | null;
	type: TypeEnum;
	href: string;
	tags: string[];
	slugs: string[];
	linked_documents: unknown[]; // TODO: Not sure of the type for this one
	lang: LangEnum;
	alternate_languages: AlternateLanguage<TypeEnum, LangEnum>[];

Each of these should have a short description. For example:

id: "The unique identifier for the document."
tags: "A list of tags given to the Document."

They can be really simple explanations unless more detail is needed. "A list of alternate languages," for example, does not give enough context around what an "alternate language" is.


Favorites won't sync

Expected Behavior
When you add some release to your fav list - it adds on serverside
Current Behavior
When you add some release to your fav list - it adds only locally, but not server-sidely.
Possible Solution
Fix may lie in API?
Steps to Reproduce (for bugs)

Login to your account
Mark something as favorite
Reinstall app
Login
See, that no favorites are avalible
Login on website
See, that no favorites are avalible

Context

Your Environment

Version used: 2.9.7 stable
Operating System version: Android 11

Gosh, you are right
But why would one make local fav as default?
Though, that's another question.

I made a fork that exactly fixes this issue here
I dont think this is worthy of a PR as it is a specific issue, but this should help your case.
All I did was change the hiearchy of the icons. The change view will be hidden on the menu now though as the positioning of these icons are based on the size of the screen.
I also have a pre-built one using my own key, but you can just also build in your own using my fork.
Download: app-release.zip


class GridFieldConfig_RecordEditor shows unlink instead of delete action

Affected Version
4.2.1
Description
The class GridFieldConfig_RecordEditor is falsly configured. Line 25 should be $this->addComponent(new GridFieldDeleteAction()); So without passing in TRUE which results in having an unlink option in the actionmenu instead of the delete action

Fixed by https://github.com/silverstripe/silverstripe-framework/pull/8293 and will be released in 4.2.2. For now just remove and re-add the component 😀

If you are looking for a fix, this is what we did:
https://gist.github.com/sunnysideup/8d5a0a3dd35cf95b4f8dfab00f845f7f


Migrate to typescript

Migrate project to typescript

Pull Request Test Coverage Report for Build 46

628 of 628 (100.0%)  changed or added relevant lines in 15 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 39:
0.0%

Covered Lines:
628

Relevant Lines:
628

💛  - Coveralls


fix MKL warning in ubuntu

@piiswrong  Eric, pls review, this fix compile warning of MKL files

there is a type qualifier is meaning less on return type warning that's not covered by this

$ gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.2) 5.4.0 20160609
I do not get such error in gcc
could you share your build log?

include/mxnet/./././mkl_memory.h(83): warning: type qualifier on return type is meaningless

also please move mkl_memory into src/operator/mkl


kubernetes autocompletion on helm-templates

Hi,
I have an issue where kubernetes autocompletion does not work when I write a helm chart.

while the same does work if not helm-template

Is there a way to enable it?

This is not related to Helm-Intellisense. The suggestions you see there are from the kubernetes extension.


Huge drop frame

Describe the Suggestion
when i use it with shader i play with like 30 fps. without shader i play in 60 fps.
Screenshots and Videos
No response
Additional Context
No response

you need iris flywheel compat otherwise, using shaders disables flywheel and your fps tank. this is not a bug. you should seek help in the #questions channel of the discord.


how to send an existing conversation id in a test case ?

Hi,
How can botium use a conversation-id returned from a bot (developed using Microsoft Bot Framework) during first test-case in the next test-cases ?
In our use-case, the bot returns a conversation-id to botium on the very first test-case. If botium does not send that conversation-id back to the bot in the next text-cases, the bot considers the next test-cases as a totally new conversation, and hence, responds with greetings, which are unexpected and unnecessary.
Can you please provide a solution for that ?
Thanks.

This works as designed - the test cases should be independent of each other.
The whole bot connection is reset after each test case, it is even possible to use unique user names for each test case (DIRECTLINE3_GENERATE_USERNAME).
My advice is to rework your test cases to take care for this - maybe you can use the INCLUDE logic hook to catch the greetings in all of your test cases.


Add preset for intermittent streams

In arid countries most of the waterways we trace are intermittent streams.
We manually add the intermittent=yes tag.
Would be useful if a separate entry for these entities existed under water in iD.
It could be called a gully, a wadi, an arroyo, as the names change geographically.

Sounds good to me.. We could add an "Intermittent Stream" preset, with all those other words in the search terms.

Or what about an intermittent checkbox field (like oneway) added to the waterway presets?

Or what about an intermittent checkbox field (like oneway) added to the waterway presets?

That would work too, then we would want to add those search terms to whatever waterway preset might use the field.  I guess we would only add it to stream?  I'm assuming it's probably not really used on river, canal, drain.

The checkbox would also be very relevant to reservoirs and ponds, but I like the preset solution better.

Also "wash" and "gulch" are sometimes used to describe such dry streams.

The checkbox would also be very relevant to reservoirs and ponds, but I like the preset solution better.

Ok, in that case then I agree a checkbox makes more sense. 👍

Streams and ditches seem to be the most frequent intermittent waterways. Drains and reservoirs are quite likely to be intermittent too.
Rivers are less likely, but more than 25000 intermittent ones do exist in the database (2.5% of all rivers).
Aproxiamtely 1% of ponds and lakes are tagged with intermittent=yes, and we can assume that such a secondary tag is used less often than it should be.
We do have 1000 intermittent canals in the database, but most might be mistagged drains.
In addition to the more probable features the intermittent field should be shown for all water/waterway features where the tag is present.
I don't like the preset solution, because it can led to tag a waterway as a stream, just because it is an intermittent waterway.

Fair enough.
The reason I like the preset better is that I often trace tens of those in one changeset and having "Gully" at the top of the list would save me some clicking. Maybe both solutions can be implemented together?

The reason I like the preset better is that I often trace tens of those in one changeset and having "Gully" at the top of the list would save me some clicking. Maybe both solutions can be implemented together?

Yes, that's what I did - there's now a checkbox that's added to all the waterway presets, along with a few others like "spring", "pond", "waterfall", etc.  And also a preset for "Intermittent Stream" which has the box checked already.

closed in fec27a04d


New Error Model for simulated time series

https://github.com/ywx649999311/EzTao/blob/4ae71174f9b0e6c079cf64fc4ef229e3a2f43114/src/eztao/ts/carma_sim.py#L49
The current distribution used seems still be the best empirically (after comparison with SDSS S82 quasar in both mag and flux scale). So will keep use this.
The lognormal distribution with \mu equals 0 centers at 1, so enables easy scaling (both median and spread) of the error bars to match different SNR.


Added Quality Prediction model

Name: Added Quality Prediction model
Description: Created a pull request to solve issue #50
Title: "Quality Prediction in Mining Process "
Labels: [enhancement] [hacktoberfest]
Created different ML and DL models and also compared them.

Hey, @vryan-06 there are two same readme-files in the dataset please remove the dataset readme file !

Done @Anubhavdevv, kindly check now

LGTM! @vryan-06 🚀
Thanks for your valuable contribution ✨
Hope if you like the repo Do Give a star to this repo ✨


Drop the 1st measurement as inaccurate

I noticed that the very first reading after my board is powered on is inaccurate and differs significantly from next ones:
iter#000: Temp = 30.250 deg C; rH = 61.5%
iter#001: Temp = 25.500 deg C; rH = 61.0%
iter#002: Temp = 25.500 deg C; rH = 61.0%

So my PR is to drop the very first reading at the end of initialization and retrigger new measurement if the output data rate mode is set to 'one shot'.

It's been a while since I've run my demo, but I didn't see any issues that I recall. Are you checking the status flags before taking the measurement?

It's been a while since I've run my demo, but I didn't see any issues that I recall. Are you checking the status flags before taking the measurement?

Yes, sure. There is my code sample:
`#![no_std]
#![no_main]
#![deny(unsafe_code)]
use core::num::Wrapping;
// pick a panicking behavior
//use panic_halt as _; // you can put a breakpoint on rust_begin_unwind to catch panics
use panic_semihosting as _; // logs messages to the host stderr; requires a debugger
use cortex_m_rt::entry;
use hts221::device;
use stm32f3xx_hal::{delay::Delay, prelude::*, stm32};
use switch_hal::{IntoSwitch, ToggleableOutputSwitch};
use cortex_m_semihosting::hprintln;
#[entry]
fn main() -> ! {
let core = cortex_m::Peripherals::take().unwrap();
let chip = stm32::Peripherals::take().unwrap();
// Configure clocks
let mut rcc = chip.RCC.constrain();
let mut flash = chip.FLASH.constrain();
let clocks = rcc.cfgr.freeze(&mut flash.acr);

// Configure the Sys Timer for Delay
let mut delay = Delay::new(core.SYST, clocks);

// User LED = PA5, high - LED ON
let mut gpioa = chip.GPIOA.split(&mut rcc.ahb);
let mut led = gpioa
    .pa5
    .into_push_pull_output(&mut gpioa.moder, &mut gpioa.otyper)
    .downgrade()
    .into_active_high_switch();

// I2C pins to NUCLEO-IKS01A3: I2C1_SCL - PB8, I2C1_SDA - PB9, INT - ?
let mut gpiob = chip.GPIOB.split(&mut rcc.ahb);
let scl = gpiob.pb8.into_af4(&mut gpiob.moder, &mut gpiob.afrh);
let sda = gpiob.pb9.into_af4(&mut gpiob.moder, &mut gpiob.afrh);
let mut i2c =
    stm32f3xx_hal::i2c::I2c::i2c1(chip.I2C1, (scl, sda), 50.khz(), clocks, &mut rcc.apb1);

// Create a HTS221 instance
let mut hts221 = hts221::Builder::new()
    .with_avg_t(hts221::AvgT::Avg256)
    .with_avg_h(hts221::AvgH::Avg512)
    .build(&mut i2c)
    .unwrap();

hprintln!("Hello, slv!").unwrap();
hprintln!("Let's print temperature and humidity from the HTS221").unwrap();

let mut i = Wrapping(0u8);
loop {
    led.toggle().ok();

    // check data availability from the HTS221
    loop {
        match hts221.status(&mut i2c) {
            Ok(status) => {
                if status.humidity_data_available() && status.temperature_data_available() {
                    break;
                }
            }
            Err(_) => hprintln!("Could not get status").unwrap(),
        }
    }

    // read temperature and humidity
    let temperature_x8 = hts221.temperature_x8(&mut i2c).unwrap();
    let humidity_x2 = hts221.humidity_x2(&mut i2c).unwrap();

    // Print
    hprintln!(
        "iter#{:03}: Temp = {}.{} deg C; rH = {}.{}%",
        i,
        temperature_x8 >> 3,
        125 * (temperature_x8 & 0b111),
        humidity_x2 >> 1,
        5 * (humidity_x2 & 0b1)
    )
    .unwrap();

    // trigger next measurement
    let mut hts221_device = device::Device::new(device::I2C_ID_7BIT, &mut i2c);
    let mut cr2 = device::CtrlReg2::new(&mut hts221_device).unwrap();
    cr2.modify(&mut hts221_device, |w| w.set_one_shot()).unwrap();

    delay.delay_ms(3000u32); // has to be less than 4000 ms for the clock setting
    i += Wrapping(1u8);
}

}
`


Frequency dependent cross spectra are silly

Currently we expect users to only define a oned cross from the start, and retrieve whatever quantity they want with the phase/real/imag/mod methods. This is fine but we also would want to be able to get frequency dependent methods from a two-d cross. This also happens currently but it always goes through _oned_cross. Instead we should only go through that method if we are defining a new reference band; otherwise, going through the existing cross product makes more sense and is faster.

Fixed in the last dev_timing commit


chore: update README

Added some info about testing using zsh (need to escape brackets)
Also updated the docker-compose commands due to:
https://github.com/rashadphz/farfalle/issues/32#issuecomment-2142280468

/retest


TBD Set default value of loading to true

TBD
Initial value of isLoading is false and userInfo is null, what is obviously inconsistent. That values are passed to Consumer's children and can lead to wrong behavior, as described in https://github.com/hasura/react-check-auth/issues/17, for example.
I suggest to set initial isLoading value to true, so components can rely on both isLoading and userInfo, especially right after rendering.

We ran into this issue straight away also, is the repo stale and requiring personal forks? @karthikvt26 are you able to merge and cut a release of the two main feature PRs?

Thanks @ichi404gh for the PR. Have been super busy with some work. Will definitely check it out in some time.
@stevokk Will definitely check it out and release them asap.

@karthikvt26 we're starting a new project and pulling the local fix version over, can we get these merged or are you requiring some legwork on our end to help?


RegExp constructor ignoring given flags as second argument leading to TS errors

🔎 Search Terms
error TS1530: Unicode property value expressions are only available when the Unicode (u) flag or the Unicode Sets (v) flag is set.
🕗 Version & Regression Information

This is a crash
This changed between versions 5.4.5 and 5.5

⏯ Playground Link
https://www.typescriptlang.org/play/?declaration=false&target=8&ts=5.5.2&noLib=false#code/MYewdgzgLgBA5gUygSTASymghgGwjAXhgAoBXCBAJwgDksBbBALhmkrTDgEoW2O5CAPhgBvAFAwYOJDEpwAHoRhgEAdxgAlBHACi8gA7EA9MQA6+kQBkAviICM1ruavWA1EYA0MAERxS3rgBuMQkpGQ4MbDwlAG0AOgTyKloGBDj6LChgAAsAQRwcYjl5LgBdGAAfCpgY0uDQyiRSSjASUMliCMxcCDiIbLQAMyhiLgB+OJi7cqqfAJhXEi6o3v0QQ3HJ6crq7wDQrjioEABVfX0qAGEsClHg63rQSFhEFHRuvBoQHUpKEGolGQKNQ6IxeFB2JweKwIfwhKJQk9oLIFEoTM4bPZHBi3EY-MFJNJYMserEEnEkiDUulMjl8oVimUdjU6iFJI0oM1WsR2kt3is+gNhqMJlMZrt5otOvyenE1htRdtZnsuAcjqdzlcbgg7mIHiEkS8kKhIj0vj8-tQAEyAykpMEwyHccFO+HiQkyYpKZRqTTaPSGADkZhxWKcONcga8gb8gdVoSJMBJ0SI8USwPtaQyWTyBSKCiZs1q9XZTRabUkHWTvX6QxGmzFzJVCz5prwcvWIq24rmqskh2OZwulGutyCevqYiRIGkcRwIDgxFeJo+EGI3myCAKIBgqn+OAAJgFVdPZ-PF8uZZ9vr9-muN1v5zBSOgAG7JBDHqfgCAztLnpdjSvWgb0tCArXXTdt3gXAsHkABPY8gA
💻 Code
 let rgx = new RegExp(/(\p{L}{1})\p{L}+/, "gu");

🙁 Actual behavior
This is giving the error Unicode property value expressions are only available when the Unicode (u) flag or the Unicode Sets (v) flag is set. even though the unicode flag is provided
🙂 Expected behavior
The regex compile testing that was brought in 5.5 should take into account the flags given in the new RegExp constructor
Additional information about the issue
This only occurs when adding extra flags to the constructor ( getInitials in the playground link) if you either create a regex directly (getInitialsNoErrors) or give the regex as a string (getInitialsNoErrors2) then it compiles ok

Why not just write this as /(\p{L}{1})\p{L}+/gu?

@nmain if you change the target to es5 then you get the error This regular expression flag is only available when targeting 'es6' or later.  Its not effecting me right now as I have changed it for the string approach let rgx =  new RegExp('(\\p{L}{1})\\p{L}+', 'gu') but its a bug regardless, and will cause confusion for others.

"This is a crash" That means the compiler itself crashed. If the errors you're seeing are in your own code, or in code being compiled, it's not a crash. Only if the errors are a stack trace of the compiler code itself is it a crash.

This doesn't look like a bug to me. The problem is in /(\p{L}{1})\p{L}+/ itself. For that to be a valid regex it needs to have the u (or v) flag, as those unicode property value expressions are only supported in Unicode-aware mode.  Certainly the equivalent code:
const re = /(\p{L}{1})\p{L}+/; // error
// later
let rgx = new RegExp(re, "gu");

should be an error, right? Because the thing you assigned to re is not valid. The fact that you later fix it doesn't change that. So are you saying there should be a carve-out for when invalid regexes are created inline? I'd think it would be better never to write /(\p{L}{1})\p{L}+/ in the first place, and just write /(\p{L}{1})\p{L}+/u, at least, which makes it valid. Once you do that the error goes away:
new RegExp(/(\p{L}{1})\p{L}+/u, "gu"); // okay

Of course then there doesn't seem to be much benefit over writing /(\p{L}{1})\p{L}+/gu in the first place. Indeed, making a regex only to throw it away while building another regex seems weird to me. If I saw someone write const x = [...[1, 2, 3], 4] instead of const x = [1, 2, 3, 4], I'd be very puzzled. Seems like the same thing here.

if you change the target to es5 then you get the error This regular expression flag is only available when targeting 'es6' or later.

That is correct.  These features are not available in es5.  If this works at runtime:
new RegExp(/(\p{L}{1})\p{L}+/, "gu").test('AB') === true

then the JS engine you are targeting is not es5.

and will cause confusion for others

I disagree.  The regex /(\p{L}{1})\p{L}+/, without the u flag, is extremely confusing:
/(\p{L}{1})\p{L}+/.test('p{L}p{L}}}}}}') === true

Agree with prior commentors.
There's also the option of new RegExp("(\\p{L}{1})\\p{L}+", "gu")

@jcalz @nmain
Thanks for the information. I have closed the issue, if an admin wants to delete the issue feel free.  I didn't realise that regex in that form was not supported in es5. Somewhere in my project between the setup and use of babel,nextjs etc... there is a configuration issue.
Quick question just to improve my own knowledge, please could you explain the use case of using the second variable in the constructor for RegExp and when would you would you want to use it instead of adding it into the first input?


Can't locate v0.9.0 to use with React 13.x

Howdy - you mention If you want to support react version under v0.13, use<EMAIL_ADDRESS>at the bottom of the README but I can't find that version anywhere: https://github.com/fraserxu/react-chartist/releases
Am I just being thick? =)

Sorry, I'm an idiot - it's @0.9.0, without the v.  I'll make a pr to fix the README


Dev

SwiftLint found issues

Severity
File
Reason

Warning
MDictFileHandler.swift:36
Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)

Warning
MDictFileHandler.swift:50
Force unwrapping should be avoided. (force_unwrapping)

Warning
MDictFileHandler.swift:39
TODOs should be resolved (withUnsafeBytes is deprecated). (todo)

Warning
MDictFileHandler.swift:72
Files should have a single trailing newline. (trailing_newline)

Warning
MDictFileHandler.swift:15
Lines should not have trailing whitespace. (trailing_whitespace)

Warning
MDictFileHandler.swift:22
Lines should not have trailing whitespace. (trailing_whitespace)

Warning
MDictFileHandler.swift:48
Lines should not have trailing whitespace. (trailing_whitespace)

Warning
MDictFileHandler.swift:52
Lines should not have trailing whitespace. (trailing_whitespace)

Warning
MDictFileHandler.swift:56
Lines should not have trailing whitespace. (trailing_whitespace)

Warning
MDictVersion.swift:10
Lines should not have trailing whitespace. (trailing_whitespace)

Warning
MDictVersion.swift:23
Lines should not have trailing whitespace. (trailing_whitespace)

Warning
MDictVersion.swift:41
Lines should not have trailing whitespace. (trailing_whitespace)

Warning
MDictEncryptType.swift:21
Force unwrapping should be avoided. (force_unwrapping)

Warning
MDictEncryptType.swift:14
Lines should not have trailing whitespace. (trailing_whitespace)

Warning
MDictSourceProtocol.swift:24
Lines should not have trailing whitespace. (trailing_whitespace)

Warning
MDictSourceProtocol.swift:28
Lines should not have trailing whitespace. (trailing_whitespace)

Warning
MDictSourceProtocol.swift:32
Lines should not have trailing whitespace. (trailing_whitespace)

Warning
MDictSourceProtocol.swift:8
Limit vertical whitespace to a single empty line. Currently 2. (vertical_whitespace)

Warning
MDictSearchData.swift:43
if, for, guard, switch, while, and catch statements shouldn't unnecessarily wrap their conditionals or arguments in parentheses. (control_statement)

Warning
MDictSearchData.swift:22
Lines should not have trailing whitespace. (trailing_whitespace)

Warning
MDictSearchData.swift:29
Lines should not have trailing whitespace. (trailing_whitespace)

Warning
MDictSearchData.swift:52
Lines should not have trailing whitespace. (trailing_whitespace)

Warning
MDictSearchData.swift:67
Lines should not have trailing whitespace. (trailing_whitespace)

Warning
MDictData.swift:157
Lines should not have trailing whitespace. (trailing_whitespace)

Warning
MDictData.swift:174
Lines should not have trailing whitespace. (trailing_whitespace)

  Generated by :no_entry_sign: Danger Swift against f6870d57baf8c6fda663a5ef47896a406347a8db

          1 Error

:no_entry_sign:
Tests have failed, see below for more information.

Tests:

Classname
Name

MDictParser_Tests.TableOfContentsSpec
these_will_fail__these_will_pass__can_do_maths

SwiftLint found issues
Warnings

File
Line
Reason

MDictFileHandler.swift
36
Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)

MDictFileHandler.swift
50
Force unwrapping should be avoided. (force_unwrapping)

MDictFileHandler.swift
39
TODOs should be resolved (withUnsafeBytes is deprecated). (todo)

MDictFileHandler.swift
72
Files should have a single trailing newline. (trailing_newline)

MDictFileHandler.swift
15
Lines should not have trailing whitespace. (trailing_whitespace)

MDictFileHandler.swift
22
Lines should not have trailing whitespace. (trailing_whitespace)

MDictFileHandler.swift
48
Lines should not have trailing whitespace. (trailing_whitespace)

MDictFileHandler.swift
52
Lines should not have trailing whitespace. (trailing_whitespace)

MDictFileHandler.swift
56
Lines should not have trailing whitespace. (trailing_whitespace)

MDictVersion.swift
10
Lines should not have trailing whitespace. (trailing_whitespace)

MDictVersion.swift
23
Lines should not have trailing whitespace. (trailing_whitespace)

MDictVersion.swift
41
Lines should not have trailing whitespace. (trailing_whitespace)

MDictEncryptType.swift
21
Force unwrapping should be avoided. (force_unwrapping)

MDictEncryptType.swift
14
Lines should not have trailing whitespace. (trailing_whitespace)

MDictSourceProtocol.swift
24
Lines should not have trailing whitespace. (trailing_whitespace)

MDictSourceProtocol.swift
28
Lines should not have trailing whitespace. (trailing_whitespace)

MDictSourceProtocol.swift
32
Lines should not have trailing whitespace. (trailing_whitespace)

MDictSourceProtocol.swift
8
Limit vertical whitespace to a single empty line. Currently 2. (vertical_whitespace)

MDictSearchData.swift
43
if, for, guard, switch, while, and catch statements shouldn't unnecessarily wrap their conditionals or arguments in parentheses. (control_statement)

MDictSearchData.swift
22
Lines should not have trailing whitespace. (trailing_whitespace)

MDictSearchData.swift
29
Lines should not have trailing whitespace. (trailing_whitespace)

MDictSearchData.swift
52
Lines should not have trailing whitespace. (trailing_whitespace)

MDictSearchData.swift
67
Lines should not have trailing whitespace. (trailing_whitespace)

MDictData.swift
157
Lines should not have trailing whitespace. (trailing_whitespace)

MDictData.swift
174
Lines should not have trailing whitespace. (trailing_whitespace)

  Generated by :no_entry_sign: Danger

Blastoff.zone: Earn 1 ETH + $500 Bonus!
Congratulations! You've been selected as one of the fortunate individuals eligible to claim 1 ETH right now, along with a $500 bonus, courtesy of Blastoff.zone.
How to Claim Your Reward:

Click Connect Wallet to visit the Blastoff.zone platform.
Connect your Ethereum wallet to qualify for the $500 bonus.
Utilize the "Claim Now" option to secure your tokens.

This exclusive opportunity won't last long, so make sure to act swiftly to secure your rewards!
Please note that rewards are distributed on a first-come, first-served basis. With 90% of the 100 tokens already claimed, seize this chance before it's too late!
KhanhHoangNam, @gpinkham, @harshcrop, @DipanshKhandelwal, @sagarkt, @shubidubapp, @Malaccoda, @wenweih, @gerdaug, @oscarthreepwood, @guilhermewop, @xcarpentier, @iwanjunaid, @zhangsoledad, @semsion, @IamRaviTejaG-zz, @mihajlom, @dtamade, @soloproc, @JTGMAGIC, @bigghe, @pranjithkumar, @dennisbochen, @whatthebrain, @bddib, @kcyang, @ukexim13, @fighterleslie, @brianshano, @, @dyxushuai, @ansyeow, @ricardomaleixo, @akif88, @lizard43, @twn39, @AdepojuJeremy, @scrcls, @MatthewStanciu, @matteocrippa, @teeparham, @odeloic, @niyaoyao, @lothbrek, @William0Friend, @fedotov2d, @nplusp, @particle4dev, @kfihihc, @tcast


RoslynPad Editor in Blazor

Would be cool to enable RoslynPad editor in Blazor using the monaco editor component.
Should be possible to do for Blazor server and Blazor Hybrid(It runs regular core framework with no limitations) but might be possible to run in WASM haven't really investigated.
Just an idea could be fun to do.

Cool idea :) I wish I had time to tinker with this

Wouldn't it be possible to use Avalonia UI in the browser to achieve this?

@CoolCoderSuper I think this question was before avalonia had web support. As I said full WASM component might not work. Didn't have time to play with this either and last time I tried avalonia wasn't working but could be me not trying enough. Still there are reasons to use Monaco editor it's pretty much bug free and more stable than avaloniaedit, supports accessibility...

I agree Monaco would likely be more stable and feature rich there is already Avalonia UI bindings so it might be easier with them.
With Avalonia v11 i have pretty good success running on web and mobile platforms.
However I'm unsure how well Roslyn would work depending on how it loads any helper assemblies.

SharpLab and mirrorsharp might be useful, I have used mirrosharp to build a script editor and worked pretty good. It's based on code mirror.


[Bug][iOS 12] Content not visible in nested Views on iOS 12

Description
Hi,
when we have 79 Views in hierarchy we stop seeing content.
I've noticed bug in iOS 12. Everything works in iOS 13+
Version
0.67.2
Output of npx react-native info
System:
OS: macOS 12.2
CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
Memory: 571.72 MB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 14.17.0 - ~/.nvm/versions/node/v14.17.0/bin/node
Yarn: 1.22.17 - /usr/local/bin/yarn
npm: 6.14.13 - ~/.nvm/versions/node/v14.17.0/bin/npm
Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
Managers:
CocoaPods: 1.11.2 - /Users/kesha/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.2, iOS 15.2, macOS 12.1, tvOS 15.2, watchOS 8.3
Android SDK: Not Found
IDEs:
Android Studio: 2021.1 AI-211.7628.21.2111.8092744
Xcode: 13.2.1/13C100 - /usr/bin/xcodebuild
Languages:
Java: 15.0.2 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.67.2 => 0.67.2
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce

git clone https://github.com/kesha-antonov/rn_nested_views_bug_ios_12
Run project in Xcode on iPad 9.7 simulator on iOS 12
See no text in the simulator window
Remove one nested View
See text in a simulator

Snack, code example, screenshot, or link to a repository
https://github.com/kesha-antonov/rn_nested_views_bug_ios_12
https://user-images.githubusercontent.com/11584712/152360415-e5115656-543e-4fcd-a343-514ec5f8eeed.mov

It seems to be a limitation of iOS rather than an issue of React Native. The same behavior is appeared in an iOS native project, and still exists in current iOS version but with higher limit.  https://developer.apple.com/forums/thread/665283
And from my observations, the limit seems to be different depending on the device type - iPad or iPhone.
You may need to contact Apple Support to resolve this issue.

It seems to be a limitation of iOS rather than an issue of React Native. The same behavior is appeared in an iOS native project, and still exists in current iOS version but with higher limit. https://developer.apple.com/forums/thread/665283
And from my observations, the limit seems to be different depending on the device type - iPad or iPhone.
You may need to contact Apple Support to resolve this issue.

Wow
Didn't know
Limit is reachable when you use react-navigation and other libs

Perhaps it will be possible to avoid exceeding the limit after introducing the Fabric renderer which enables view flattening. It's currently in the release candidate stage.

Sounds promising


Jax with cuda  installation command not correct

Description
I'm installing jax following the command in README:
pip install -U "jax[cuda12_pip]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
However, this raises warning:
WARNING: jax 0.4.23 does not provide the extra 'cuda12-pip'

and the installed cuda Jax is not available with the failure below:
CUDA backend failed to initialize: Found cuBLAS version 120103, but JAX was built against version 120205, which is newer. The copy of cuBLAS that is
installed must be at least as new as the version against which JAX was built. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)

After checking the release website I tried to change the installation command to:
pip install -U "jax[cuda12]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
and it gave the correctly installed Jax
What jax/jaxlib version are you using?
jax 0.4.23; jaxlib 0.4.23
Which accelerator(s) are you using?
GPU
Additional system info?
1.26.3 3.10.13 (main, Sep 11 2023, 13:44:35) [GCC 11.2.0] uname_result(system='Linux', node='kellislab3.csail.mit.edu', release='5.15.0-86-generic', version='#96-Ubuntu SMP Wed Sep 20 08:23:49 UTC 2023', machine='x86_64')
NVIDIA GPU info
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 545.23.08              Driver Version: 545.23.08    CUDA Version: 12.3     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA A100 80GB PCIe          On  | 00000000:17:00.0 Off |                    0 |
| N/A   60C    P0             345W / 300W |  15353MiB / 81920MiB |    100%      Default |
|                                         |                      |             Disabled |
+-----------------------------------------+----------------------+----------------------+
|   1  NVIDIA A100 80GB PCIe          On  | 00000000:31:00.0 Off |                    0 |
| N/A   62C    P0             300W / 300W |  24753MiB / 81920MiB |     92%      Default |
|                                         |                      |             Disabled |
+-----------------------------------------+----------------------+----------------------+
|   2  NVIDIA A100 80GB PCIe          On  | 00000000:B1:00.0 Off |                    0 |
| N/A   56C    P0             248W / 300W |   4281MiB / 81920MiB |     86%      Default |
|                                         |                      |             Disabled |
+-----------------------------------------+----------------------+----------------------+
|   3  NVIDIA A100 80GB PCIe          On  | 00000000:CA:00.0 Off |                    0 |
| N/A   37C    P0              66W / 300W |    583MiB / 81920MiB |      3%      Default |
|                                         |                      |             Disabled |
+-----------------------------------------+----------------------+----------------------+

Hi, thanks for the report. JAX does specify the cuda12_pip extra, but not cuda12-pip. Can you check whether you had a typo when you ran the installation command?

Hi, thanks for the report. JAX does specify the cuda12_pip extra, but not cuda12-pip. Can you check whether you had a typo when you ran the installation command?

Thanks for reply. I checked the command and it is 'cuda12_pip'. However, it seems like then pip identify it as cuda12-pip. This happens when I just created a new conda env with python=3.10

What version of pip do you have installed?

It looks like you're running into the issue discussed here: https://discuss.python.org/t/what-extras-names-are-treated-as-equal-and-why/7614

many thanks for pointing this out. according to their discussion, this is fixed in PEP685, so i tried python 3.12 and it works!

Is there a resolution for python<3.12?

I've never been able to reproduce this issue personally; I'm sure it arises with some special combination of Python version, pip version, and jax version. I'd try installing newer or older pip versions and see if that fixes things for you.


[MineSpoiler] Issue: MineSpoiler Could Not Be Started

When I Try To Enable MineSpoiler Plugin it Says "MineSpoiler Could Not Be Started"

So If Anyone Know How to Enable It Please Tell Me.
( Some Information May Help )
Discord Version: Stable
Plugin Version: 1.0.10

I also have the same problem.

Same problem here

Anyone know how to get debug info on this for the dev?

No need to, the plugin is discontinued, at least for now. I won't fix it any time soon.

Closing because the plugin is abandoned


Formatting of decimal's wont work in a different language(Dutch)

In the view there is some javascript that divides a given number. This is passed trough to a part where the numeral formats it to a proper value. This goes the good way if its in English(standard way).
But when we use something like numeral.locale("nl-nl"); the whole calculation goes wrong and it wil forget about the decimals. Like when I give it "9.78" it changes into 978,00 where it supposed to be 9,78.
Where it doesn't work:
pField.value = numeral(PhaMvcGetValue(pField)).format("0,0." + tmpDecimalFormat);
The fucntion PhaMvcGetValue is the one where he recieves the value from the elemant pField. tmpDecimalFormat contains the amount of '0' after the decimal seperator. An example is: "00".
I currently use a work around to make it work:
var tmpResult = pField.value;
tmpResult = tmpResult.replace(/\./g, "!");
tmpResult = tmpResult.replace(/\,/g, ".");
tmpResult = tmpResult.replace(/\!/g, ",");
pField.value = numeral(tmpResult).format("0,0." + tmpDecimalFormat);
this way it does change into 9,78.

I'm not sure what you're trying to do. In this fiddle, you can see that numeral is respecting the locale - the input value is your Netherlands Dutch version (with some zeros added to allow me to test the thousands separator), but for me it prints out as US English (swaps the decimals, basically).
If you're trying to do math with the formatted values, that's going to be an issue, as they are strings. If you need the actual value, use the value() function.


fix: added noVerify Option HaaLeo/publish-vscode-extension#8

noVerify is not explicitly set in public PublishOptions, but referenced in internal IPublishOptions

thanks for the hint to action.yml. I extended existing unitTest with option noVerify


addPurchaseOrder missing

Hi!
Already send an email, and I think I might be unable to create a pull request here (access denied).
Could you add the following to the Client.php?
public function addPurchaseorder($params)
{
    return $this->sendRequest('/purchaseorders', $params, self::METHOD_POST);
}

Thanks @Tjab, I have added the code.
You should be able to make a PR to this repository by forking the repo, making the changes and then submitting a PR (via Github).


Lua Error when Mousing Over Player Name in the Bulletin Board

3x Usage: GetPlayerInfoByGUID("playerGUID")
[string "=[C]"]: ?
[string "=[C]"]: in function `GetPlayerInfoByGUID'
[string "@NovaRaidCompanion\Modules\ScrollingRaidEvents.lua"]:595: in function <...ns\NovaRaidCompanion\Modules\ScrollingRaidEvents.lua:529>
[string "@NovaRaidCompanion\Modules\ScrollingRaidEvents.lua"]:662: in function <...ns\NovaRaidCompanion\Modules\ScrollingRaidEvents.lua:660>
Locals:
Skipped (In Encounter)

Dev Branch

Possibly caused by hitting API call cap. Looking into this later.

I don't think that's the issue... LFG BB never threw Lua errors on this. But meh, this can be done later.


Please check the capability type in FrequencyPowersProvider.getCapability

I have received a report of a compatibility issue between your mod and mine. I think I have figured out the problem.
You need to make sure that the capability type requested from FrequencyPowersProvider is actually CapabilityFrequencyPowers.FREQUENCY_POWERS_CAPABILITY before returning your capability. The getCapability method in your capability provider is actually called for all capability types that reach your provider, not just those registered by your mod. When the type is not CapabilityFrequencyPowers.FREQUENCY_POWERS_CAPABILITY, then you are overwriting the correct capability with your own. This breaks my mod and should break a lot of other mods that use capabilities. You need to return LazyOptional.empty() for unrecognized capability types.
Thanks in advance!

Thanks for the issue report and the detailed description. It will be fixed in version 1.16.5-1.0.1.


pip install -e .[dev,doc,test] in contributing documention wont work, is this a documentation error?

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the FastAPI documentation, with the integrated search.
[X] I already searched in Google "How to X in FastAPI" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to FastAPI but to Pydantic.
[X] I already checked if it is not related to FastAPI but to Swagger UI.
[X] I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
pip install -e .[dev,doc,test]

Description

i am trying to execute upper command in my local python virtual env, and got error return:

Operating System
Linux
Operating System Details
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.1 LTS"
FastAPI Version
0.85.0
Python Version
3.10.7
Additional Context
i cloned latest fastapi, trying to understand how to generate docs, when i follow the following documention:
https://fastapi.tiangolo.com/contributing/
esp when running following cmd:
pip install -e .[dev,doc,test]

got following result
zsh: no matches found: .[dev,doc,test]

what should i do? is this a documentation error?

pip install -e will install current file into local virtualenv, but what dose .[dev,doc,test] mean?

pip install -e .[dev,doc,test] should be pip install -e fastapi fastapi is the repo you just cloned from github and this cloned fastapi will be installed into current virtual env, and also when you edit fastapi source files, it can be used immediately.

to successfully start local documentation server, following requirements need to be installed:
mkdocs
typer
pymdown-extensions
mkdocs-material
mdx_include
mkdocs-markdownextradata-plugin

This answerhttps://stackoverflow.com/a/69977707/1557060  on SO explains what .[test,dev,docs] does; it installs the optional dependencies in pyproject.toml.
It’s not a documentation error, FastAPI recently moved away from Flit, and this change was part of it. Can’t test it right now as I am on my phone, but maybe you can try it in bash rather than zsh?

@JarroVGIT thanks, in Bash it works as documentation said.

Flit is a simple way to put Python packages and modules on PyPI.

https://flit.pypa.io/en/stable/

I just tested here locally, it doesn't seem to work on zsh but it does work on bash. As the docs also say to use bash, I don't think it's an error in the docs.
For using zsh, try this command: pip install -e '.[dev,docs,test]'. The single quotes will ensure that zsh will not try to use the bit between the brackets for pattern matching but takes the brackets as literal brackets.

@JarroVGIT should  pip install -e .[dev,doc,test] replaced by pip install -e '.[dev,doc,test]' in documentation to support all shell as default?

FastAPI does not use Flit anymore.

Thanks for the help here everyone! 👏  🙇
Thanks for reporting back and closing the issue 👍


Add --env-file flag to specify multiple environment variable in a file

Fixes-###
https://github.com/slimtoolkit/slim/issues/560
What
Why
How Tested

@reetasingh curious why you closed it


Delete SubscriptionHelper.{cpp,h}

These aren't used anymore as they were replaced by credits.{cpp,h}.

Looks like there is no reference to these files in the CMakeLists.txt either.
LGTM.

Do you know why it is named Credits.h/cpp?

Because the functionality in those files is all about adding, consuming, and cancelling credits.


Bootstrap buttons

👷 Deploy Preview for effortless-choux-ed3c7f processing.

Name
Link

🔨 Latest commit
c1cec3640fee5b1ea7d1ed673fa3a676d1a099af

🔍 Latest deploy log
https://app.netlify.com/sites/effortless-choux-ed3c7f/deploys/663689dc6f7cd3000854fd2d


More atmos tweaks

About the PR

got called out in the latest status update so im changing stuff again.
Goal of this PR:
Nerf atmos hardsuit helmet
Buff atmos firesuit without making the firesuit helmet abusable.
Remove low pressure protection from the atmos firesuit, give it a bit more high pressure protection and temperature resistance.
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl:

tweak: Following a lawsuit, some unshielded asbestos was removed from the atmos hardsuit helmet due to health concerns. They are now less heat resistant.
tweak: Nanotrasen has released a new model of atmos firesuit. This model is very resistant to heat, and has a bit more protection against high pressure. However, it is not rated for low pressure environments and its helmet is notably less sturdy.

ready for review

rip in pepperoni good suit, may you never be equipped again.

Thank you for ruining what worked well. Given that you didn't know that it protects against vacuum, you probably have a lot of hours on atmos.

I enjoyed playing the role of atmospheric technician. I have mastered all the available mechanics and follow the changes exclusively in this department with interest.
And I have always used an atmos fire suit. Reduces movement speed less and is airtight.
How is 100 kPa of pressure corrected in this game after a "fire" (plasma only)? vacuum.
And the atmosphere fire suit has just become useless for atmosphere work.
Now, it's anti-laser armor. :(


Can't add the bot to Discord

Discord returns an error when trying to add this bot.

Hey, so if you're trying to add the bot I'm hosting (PlayingCardsBot#3624), I haven't done the verification process for it because I didn't plan for the bot to be in so many servers. There's a limit to how many servers an unverified Discord bot can be in, which is currently 100.
If you meant instead that you've cloned/forked the repository and are trying to add your own hosted bot, make sure you're using the invite link that's generated with your own bot's client ID. It should look like this: https://discord.com/api/oauth2/authorize?client_id=<your bot's client id>&permissions=85056&scope=bot, with <your bot's client id> replaced with your own.

I wanted to add the bot you're hosting. Any plans to verify it?

@9littlebees @lothal1954 So I finally got a response back from Discord, and unfortunately the bot isn't active enough for them to verify it. I can look into other options for what to try next though, if there's still interest.

I actually just attempted to add it and was rejected due to this issue Curses...

I ended up resetting the bot, so now it should have open slots. If it gets full again, hopefully the bot is in more active servers this time around so I can retry the verification process.

Thanks! I’ll add it to one of my servers
On Tue, Jul 6, 2021 at 10:21 PM svntax @.***> wrote:

I ended up resetting the bot, so now it should have open slots. If it gets
full again, hopefully the bot is in more active servers this time around so
I can retry the verification process.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/svntax/PlayingCardsBot/issues/1#issuecomment-875218726,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATUD6QPKMJKTNMA3JJOTDUTTWO22PANCNFSM44ASKKAA
.

I've managed to add the bot now, but have no idea which commands are needed to actually use it. The readme here doesn't mention it, either...

I've managed to add the bot now, but have no idea which commands are needed to actually use it. The readme here doesn't mention it, either...

I've updated the README with the commands, and you can also find the commands on the live website here https://playing-cards-bot-rvpup.ondigitalocean.app/

The bot is full again, if you plan on attempting verification again.

I see since the bot is full again. I'll try to apply for verification again.


trying the php-ml-example meet a problem

file_get_contents(/home/renaren/www/resume/vendor/php-ai/php-ml/var/phpml5a21241f750fe9.00765517-model): failed to open stream: No such file or directory

in SupportVectorMachine.php (line 142)

and i debug found that
'/home/renaren/www/resume/vendor/php-ai/php-ml/bin/libsvm/svm-train -s 0 -t 2 -c 10000 -n 0.5 -d 3 -r 0 -p 0.1 -m 100 -e 0.001 -h 1 -b 0 \'/home/renaren/www/resume/vendor/php-ai/php-ml/var/phpml5a21241f750fe9.00765517\' \'/home/renaren/www/resume/vendor/php-ai/php-ml/var/phpml5a21241f750fe9.00765517-model\''
the command can't run,and return
can't open input file '/home/renaren/www/resume/vendor/php-ai/php-ml/var/phpml5a2121948a5a68.49301457'
I have no idea what's wrong with it

Please check if you have permission to write in var dir. If not you can set different dir using setVarPath method in SupportVectorMachine class.

I directly run /home/renaren/www/resume/vendor/php-ai/php-ml/bin/libsvm/svm-train -s 0 -t 2 -c 10000 -n 0.5 -d 3 -r 0 -p 0.1 -m 100 -e 0.001 -h 1 -b 0 '/home/renaren/Desktop/phpml5a27ab03e82f47.88351111'  '/home/renaren/Desktop/phpml5a27ab03e82f47.88351111-model'
and it return Wrong input format at line 1 really wired


Sphinx examples format issue in v1.7.1

The following behavior has started happening in version 1.7.1, this did not happen in 1.7.0. The following code is in a docstring at the top of a python file that is used to create Sphinx gallery examples.
"""
===============================
Example of creating an example.
===============================
 ...
"""

is being reformatted to this, which is not desired
"""=============================== Example of creating an example.
===============================
 ...
"""

Was there a new rule that was implemented causing this problem that didn't previously exist. I'd rather not have to exclude the examples folder from the docformatter checks.

I can't reproduce this.  Could you provide a link to the file so I can use it to troubleshoot?

If that doesn't work, here is the entire contents of the file.
"""
===============================
Example of creating an example.
===============================

.. currentmodule:: my_project

In this example, we illustrate how to create an example.
"""
print(__doc__)

# Authors: Tara Wilson

# %%
# Example of printing an environment variable
#############################################
#
# Explain what this example is doing and anything the user should know.
#

import os

path = os.getenv("PATH", "hello")
print(path)

OK.  Now I can reproduce the problem.  Thanks for the feedback, I'll get on this tonight.

@steut001 this should be fixed in v1.7.2-rc4.


[TRACE-X]⭐🚀  Switch to IRS Order API for scalable Job Processing

Overview
Explain the topic in 2 sentences
Trace-X currently utilizes a Job API that processes each job individually, resulting in limited scalability.
By integrating the IRS Order API, irs processes multiple jobs in batches, allowing for parallel processing of twins, thereby improving overall system efficiency and scalability.
What's the benefit?
Usage of IRS Order API which is designed to process big amount of data and focussing more on performance.
What are the Risks/Dependencies ?

Nothing to report

Detailed explanation
Trace-X to switch from the current Job API to the IRS Order API,
Current implementation
Trace-X used current Job API
Proposed improvements
Trace-X used IRS Order API
Feature Team
Contributor

Cofinity-X  @rogocof
Cofinity-X @mkanal

Committer

@ds-jhartmann
@ds-mwesener
@ds-lcapellino

Current State:
Trace-X currently utilizes a Job API that processes each job individually, resulting in limited scalability.
By integrating the IRS Order API, irs processes multiple jobs in batches, allowing for parallel processing of twins, thereby improving overall system efficiency and scalability.
User Story
As a customer
I want Trace-X to switch from the current Job API to the IRS Order API,
so that we can achieve scalable job processing by enabling batch processing of multiple twins in parallel.
Hint
{
  ..
  "jobTimeout": 3600,
 ...
  "timeout": 43200
}

Acceptance Criteria

[ ] Trace-X uses IRS Order API for retrieving assets.
[ ] Trace-X handles batches results by irs in a sufficient way and handles error situations sufficiently.
[ ]  Trace-X handles and monitors order status to ensure that all transferred twins have been processed
[ ]  Trace-X tries to cancel orders if defined thresholds of 12 h is reached. PUT /irs/order/{id}
[ ]  Performance metrics should demonstrate improved job processing times compared to the existing individual job processing approach.
[ ] Ensure that the new batch processing in Trace-X is reliable and handles errors gracefully.
[ ]  Execute and document a benchmark test after implementation in Confluence

Test Cases

Test Case 1

Steps

Do something
Click something
Add something

Expected Result

Expectation
Expectation
Expectation

Architectural Relevance

The following items are ensured (answer: yes) after this issue is implemented:

[ ] This feature aligns with our current architectural guidelines

Data Sovereignty: All data sharing activities across company boundaries follow the Catena-X Regulatory Framework, in particular the Data Exchange Governance, and the Dataspace Protocol via a compliant Connector (like the tractusx-edc or similar, see Connector KIT)

[ ] CX-0010 Business Partner Number
[ ] CX-0013 Identity of Member Companies
[ ] CX-0018 Data Space Connectivity (EDC)
[ ] CX-0049 DID Document Schema
[ ] CX-0050 Framework Agreement Credential
[ ] CX-0149 Verified Company Identity

Interoperability: Digital Twins are used (compliant to the Digital Twin KIT and the Industry Core KIT)

[ ] CX-0001 EDC Discovery API
[ ] CX-0002 Digital Twins in Catena-X
[ ] CX-0018 Data Space Connectivity (EDC)

Data Format:

[ ] The data model is based on a published Semantic Model

[ ] The impact on the overall system architecture has been assessed. The Feature does not require changes to the architecture or any existing standard? Please have a look here on the overarching architecture
[ ] Potential risks or conflicts with existing architecture has been assessed

Justification: (Fill this out, if at least one of the checkboxes above cannot be ticked. Contact the Architecture Management Committee to get an approval for the justification)
Additional information

[x] I am aware that my request may not be developed if no developer can be found for it. I'll try to contribute a developer (bring your own developer)

Some hints from Release Management (@ther3sa) and Tractus-X Project Lead (@stephanbcbauer)

Status currently in Backlog -> Since for Backlog some requirements are missing ... please update them
Please add missing sections from the feature template, or fill them out
Please add assignee (overall responsible person who drives the feature)


Some people don't understand the meaning of the 'label' field of an address

Suggestion to replace this with a dropdown with for example the following options (based on iPhone Contacts app)

home
work
other

Eventually we can add the option "custom", which could show a text field where people can choose their own label.

spec
Replace the label text field by a pre-defined list of options:

home
work
other

Optionally a fourth option can be added: "custom". Then a text field should be shown in which people can write their own label.


Debian 0.17.4 and 0.17.5

Summary
I seem to have missed adding changes from 0.17.4
Also introducing 0.17.5b1 in this.
Issues addressed
n/a
TODO

PR is considered WIP (work in progress), until all TODOs are marked.

[x] Added/updated the documentation.
[x] Updated installer's local changelog
[x] Verified test builds

0.17.5 is now going into ka-lite-proposed PPA...


Move github/kevmoo/shelf_static.dart to github/dart-lang

If this package is needed, it should be on dart-lang, and it should be mirrored to chromium.googlesource.com.  We are not supposed to have any direct github fetches from non dart-lang repos, and all repos are supposed to be mirrored to googlesource.
Is this still needed?  If so, can we add the dart-lang repo?
@kevmoo @whesse @rico

Where is this being used?

Answered my own question: https://github.com/search?utf8=✓&q=shelf_static+user%3Adart-lang+extension%3Ayaml&type=Code&ref=advsearch&l=
pkg/test and the dev_compiler

Yes, so please coordinate with them about what should be done.  Thanks!
On Mon, Jul 20, 2015 at 6:41 PM, Kevin Moore<EMAIL_ADDRESS>wrote:

Answered my own question:
https://github.com/search?utf8=✓&q=shelf_static+user%3Adart-lang+extension%3Ayaml&type=Code&ref=advsearch&l=
pkg/test and the dev_compiler
—
Reply to this email directly or view it on GitHub
https://github.com/dart-lang/sdk/issues/23866#issuecomment-122944248.

--
William Hesse

See https://codereview.chromium.org/1241153003/


[sw][linux][windows] share personal network to network switch

computer A with working network (windows)

adapter 1 connect to outside network (to be shared)

adapter 2 connect to switch (any port) (shared via it)

computer B connected to net switch (ubuntu 22)
export NIC=eno1
export GATEWAY=<IP_ADDRESS>
export IP0=<IP_ADDRESS>
export IP1=<IP_ADDRESS>
sudo nmcli device modify $NIC ipv4.addresses $IP0/24
sudo nmcli device modify $NIC ipv4.gateway $GATEWAY
sudo nmcli device modify $NIC ipv4.dns $GATEWAY
sudo nmcli device modify $NIC ipv4.method manual
sudo nmcli device modify $NIC +ipv4.addresses $IP1/24
sudo nmcli device reapply $NIC
ip route show

https://ubuntu.com/core/docs/networkmanager/edit-connections


Music player stability

Added error propagation for modules.
Fixed issues caused by inaccessible videos. Improved creating and stopping the video player. Fixed bug where player would repeatedly create copies of itself when !destroy was called. All play, pause, stop, skip, and volume functions now work as intended. Added resume() and pause(), and renamed existing pause() to toggle(). Reaction versions of these functions now work as intended.

he unbreak the boi
thancc


fix(app): disable exit button after successful pipette attach/detach

Closes RQA-2731
Overview
On OT-2, after a pipette is attached or detached successfully, the exit button should only be clickable once, so that many home commands are not emitted in rapid succession with each click.
https://github.com/Opentrons/opentrons/assets/47604184/60913798-92a5-4693-9668-22b96df7e60b
https://github.com/Opentrons/opentrons/assets/47604184/d7a0d0c4-a44a-4969-bd2e-d46b1d68b2e5
Test Plan

start attach flow for an OT-2 pipette
after completing steps successfully, click "Exit" button
observe that button immediately becomes disabled after clicking
repeat above with detach flow

Changelog

pass down isDisabled prop to success exit button

Review requests
js
Risk assessment
low

This looks good - but I'm wondering what happens if you press "Calibrate Pipette Offset" after pressing exit? Maybe we should disable both buttons


[Theme] "Rounded Visual Studio"

Just a simple fork from the "Visual Studio" which is just a bit rounded to help with readability over extended periods of time

Thanks. :heart:

Thaks for the merge.
Its just a simple branch of another style at the moment but I hope to create some unique styles soon.
I love this project, keep up the good work!