Add support for xc7s50

The commit history of the previous xc7s50t branch was somehow messed up (see #1797). This new branch is created to re-submit xc7s50t's changes for merging.

@MidsummerNight DCO is failing, I think you can fix it with git commit --amend --signoff

@acomodi All green again!

Great! Merging. Thanks for the time to get this PR ready and green!

A new prjxray-db was published with this initial spartan7 support @ https://github.com/SymbiFlow/prjxray-db/tree/master/spartan7
The HTMLified version can be found at https://symbiflow.github.io/prjxray-db/#database-for-spartan7 with the HTML rendered tile graph found at spartan7.


Add a toggle to model overview to turn heatmap colors on and off

Description
This PR adds a toggle to turn on or off the "visual display", i.e., the coloring of our heatmap in the new model overview experience. See screenshots below:
Light mode:
default (toggle off):

toggle on:

Dark Mode:
default (toggle off):

toggle on:

Checklist
Tests to follow next week. Feature flag remains in place.

[x] I have added screenshots above for all UI changes.
[x] Documentation was updated if it was needed.
[x] New tests were added or changes were manually verified.

Codecov Report

Merging #1376 (ff84620) into main (f1b6e63) will increase coverage by 10.05%.
The diff coverage is n/a.

:exclamation: Current head ff84620 differs from pull request most recent head c3a1dd1. Consider uploading reports for the commit c3a1dd1 to get more accurate results

@@             Coverage Diff              @@
##             main     #1376       +/-   ##
============================================
+ Coverage   89.94%   100.00%   +10.05%
============================================
  Files          80         8       -72
  Lines        3461        64     -3397
============================================
- Hits         3113        64     -3049
+ Misses        348         0      -348

Flag
Coverage Δ

unittests
100.00% <ø> (+10.05%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

responsibleai/responsibleai/_tools/__init__.py

responsibleai/responsibleai/_config/base_config.py

..._core_flask/environments/databricks_environment.py

...ponsibleai/responsibleai/_managers/base_manager.py

responsibleai/responsibleai/_interfaces.py

erroranalysis/erroranalysis/report/error_report.py

...ibleai/_tools/shared/state_directory_management.py

...core_flask/rai_core_flask/environments/__init__.py

responsibleai/responsibleai/exceptions.py

...ai/responsibleai/_tools/counterfactual/__init__.py

... and 62 more

Continue to review full report at Codecov.

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


ADD FOOTER

gonna add footer containing contact us, quick link , add where you can find us insta, telegram ,linkedin etc

We already have that feature


STREAMLINE-631 Pick runtime jar in libs dir to the default streamlineStormJar config

Replace ${STREAMLINE_HOME} in streamlineStormJar to the streamline home directory

streamline-server-start.sh finds home directory and pass via Java system property

when streamlineStormJar is not present, it will take default path

@harshach This is updated PR of #491. Please review.

+1 Can you please make your repo public or raise another PR by forking from public repo?

@priyank5485 This is from re-forked repo. Could you try merging and let me know if you can't?


PHP: xmlreader extension is limited due dom extension not available at build time

Describe the bug
The xmlreader extension of PHP has a limited API surface due to missing DOM support.
To Reproduce

Create a shell.nix like this:

{ pkgs ? import <nixos-unstable> {} }:

let
  php = (pkgs.php.withExtensions ( { all, enabled }:
    enabled ++ (with all; [
      dom
      xmlreader
    ])
  ));

in pkgs.mkShell {
  buildInputs = [
    php
  ];
}

Use the dom-related functionality of xmlreader in a script bug.php like this:

<?php
$reader = new XMLReader();
$reader->expand();

Run using php bug.php. You should see this warning:

Warning: DOM support is not enabled in <REDACTED>/bug.php on line 3

Expected behavior
DOM support is enabled and the xmlreader API works as intended.
Additional context
There is a very similar issue here: https://github.com/joyent/pkgsrc-legacy/issues/477
The warning looks like it originates from here:
https://github.com/php/php-src/blob/PHP-7.4.7/ext/xmlreader/php_xmlreader.c#L1154
This indicates that the HAVE_DOM compiler flag is not set when building the xmlreader extension. I don't know enough about the PHP packages in nixpkgs to fix this myself, but I hope this helps in narrowing down the issue.
Notify maintainers
@aanderse @etu @globin @Ma27 @talyz
Metadata
 - system: `"x86_64-linux"`
 - host os: `Linux 5.4.50, NixOS, 20.03.2425.9a3e34ae601 (Markhor)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.4pre20200622_334e26b`
 - channels(root): `"nixos-20.03.2425.9a3e34ae601, nixos-unstable-20.09pre232864.55668eb671b"`
 - channels(eduard): `"home-manager-20.03, release-18.09.tar.gz-18.09"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

@talyz do you have any capacity to take a look at this?

Will have to confirm if this is still relevant and then take a look.

Will have to confirm if this is still relevant and then take a look.

At least I can still reproduce it on latest nixpkgs.

At least I can still reproduce it on latest nixpkgs.

Sorry that I missed this. Thanks for the detailed report! I think I've fixed this in #111317; I would appreciate if you could try it out.

Sorry that I missed this. Thanks for the detailed report! I think I've fixed this in #111317; I would appreciate if you could try it out.


changing formatBlock list loose focus info

Describe the bug
Using the default formatBlock list, when we focus on a text element, the list automaticaly adjust to the focused element's style.
But, when the formats list is changed by using the "format" (array of objects ) parameter the list does not indicate the current focused format !
Expected behavior
The behavior should be the same on default formatBlock and customized formats.
Best regards

So I can test it.
Can you tell me what custom tags and options you used?


What's this: 00 00 00 00 00 00 00

Hello, I tried send some data to remote server, but all request prefix have some 00 00 00 00 00 00 00 info.
how to remove these zero?
This is my code:
int tls_init(remote_t *remote, int fd) {
    tls_session_t *tls = malloc(sizeof(tls_session_t));
    memset(tls, 0, sizeof(tls_session_t));

    // init config
    mbedtls_net_init(&tls->fd);
    mbedtls_ssl_init(&tls->ssl);
    mbedtls_ssl_config_init(&tls->conf);
    mbedtls_x509_crt_init(&tls->cacert);
    mbedtls_ctr_drbg_init(&tls->ctr_drbg);
    mbedtls_entropy_init(&tls->entropy);

    tls->fd.fd = fd;
    remote->tls = tls;

    int ret = 0;
    if((ret = mbedtls_ctr_drbg_seed(&tls->ctr_drbg, mbedtls_entropy_func, &tls->entropy, (const unsigned char *)WS_PERS, strlen(WS_PERS))) != 0) {
        printf("failed! mbedtls_ctr_drbg_seed returned %d\n", ret);
        return 1;
    }

    if ((ret = mbedtls_x509_crt_parse(&tls->cacert, (const unsigned char *)default_pem, sizeof(default_pem))) < 0) {
        printf("failed! mbedtls_x509_crt_parse returned -0x%x\n", -ret);
        return 1;
    }

    if ((ret = mbedtls_ssl_config_defaults(&tls->conf, MBEDTLS_SSL_IS_CLIENT, MBEDTLS_SSL_TRANSPORT_STREAM, MBEDTLS_SSL_PRESET_DEFAULT)) != 0) {
        printf("failed! mbedtls_ssl_config_defaults returned %d\n", ret);
        return 1;
    }

    mbedtls_ssl_conf_authmode(&tls->conf, MBEDTLS_SSL_VERIFY_OPTIONAL);
    mbedtls_ssl_conf_ca_chain(&tls->conf, &tls->cacert, NULL);

    mbedtls_ssl_conf_rng(&tls->conf, mbedtls_ctr_drbg_random, &tls->ctr_drbg);
    mbedtls_ssl_conf_dbg(&tls->conf, my_debug, stdout);

    if ((ret = mbedtls_ssl_setup(&tls->ssl, &tls->conf))) {
        return 1;
    }

    mbedtls_ssl_set_hostname(&tls->ssl, "mydomain.com");
    mbedtls_ssl_set_bio(&tls->ssl, &tls->fd, mbedtls_net_send, mbedtls_net_recv, NULL);

    return 0;
}

int tls_handshake(remote_t *remote) {
    tls_session_t *tls = remote->tls;
    int ret = 0, flags = 0;
    while ((ret = mbedtls_ssl_handshake(&tls->ssl)) != 0) {
        if (ret != MBEDTLS_ERR_SSL_WANT_READ && ret != MBEDTLS_ERR_SSL_WANT_WRITE) {
            printf( "failed! mbedtls_ssl_handshake returned %d\n", ret);
            return 1;
        }
    }
    if ((flags = mbedtls_ssl_get_verify_result(&tls->ssl)) != 0) {
        return 1;
    }
    return 0;
}

Wireshark send and recv data:
Encrypted Application Data:<PHONE_NUMBER>0000027cd6bd2e5aa1a1c1c2bc010ccba17e29…

Do you have the same effect when building example programs (ssl_client1 is the simplest)?

@irwir Yes, the ssl_client1 have same issues.

From brief consulting with the rfc5246, zeros might be a part of sequence number.
As a first step, please compare your findings with the standars

@caobug Why do you have MBEDTLS_SSL_VERIFY_OPTIONAL as the authmode?
In addition for this not being secured, can you confirm that the tls handshake completed successfully?
You shouldn't get these leading zeros
What do the Mbed TLS logs say? See https://tls.mbed.org/kb/development/debugging-tls
I am asusming that the server fails to encrypt your data.

@RonEld Hello, the TLS handshake is normal,MBEDTLS_SSL_VERIFY_OPTIONAL is just an example. I actually changed the option toMBEDTLS_SSL_VERIFY_REQUIRED without any problems. I can successfully send and receive all data, just don't understand these zeros. so far, these zeros have not affected my data transfer.

Sorry, I compiled the latest version "Mbed TLS 2.16.2", these zeros have disappeared. maybe my previous version is too low.
@irwir @RonEld Thanks.

CLosing as the question was answered and resolved


Insert data into single table， after running for a period of time, large region are generated

Bug Report

What version of TiKV are you using?
TiKV
Release Version: 5.1.0-alpha
Edition: Community
Git Commit Hash: f67aa380277b333a5b879f7837af51a9bd4ee0b8
Git Commit Branch: slow-store-fix-5.2
UTC Build Time: 2021-08-06 06:39:43
Rust Version: rustc 1.56.0-nightly (2faabf579 2021-07-27)
Enable Features: jemalloc mem-profiling portable sse protobuf-codec test-engines-rocksdb cloud-aws cloud-gcp
Profile: release
What operating system and CPU are you using?
tiup ：
1PD
1TiDB
3TiKV
all node：500G NVME、4 cores、8G mem
Steps to reproduce
1、sysbench --config-file=/root/config oltp_point_select --tables=1 --table-size=10000000000 --auto_inc=true prepare
threads=1
What did you expect?
do not generate barge region
What did happened?
after running for a period of time, large region are generated within a period of time

/assign BusyJay

@hicqu can you take a look to check if it's a fixed issue?

There is a bug about calculating approximate keys and size for a region:
[2021/08/17 19:01:15.927 +08:00] [INFO] [size.rs:168] ["approximate size over threshold, need to do split check"] [threshold=150994944] [size=907068400] [region_id=54685]
[2021/08/17 19:01:15.928 +08:00] [INFO] [keys.rs:154] ["approximate keys over threshold, need to do split check"] [threshold=1440000] [keys=3702320] [region_id=54685]
[2021/08/17 19:01:23.157 +08:00] [INFO] [split_check.rs:289] ["update approximate size and keys with accurate value"] [keys=0] [size=0] [region_id=54685]
[2021/08/17 19:02:11.186 +08:00] [INFO] [pd.rs:1146] ["try to merge"] [merge="target { id: 55377 start_key:<PHONE_NUMBER>000004FF0B00000000000000F8 end_key:<PHONE_NUMBER>000004FF0F00000000000000F8 region_epoch { conf_ver: 5 version: 5782 } peers { id: 55378 store_id: 1 } peers { id: 55379 store_id: 5 } peers { id: 55380 store_id: 4 } }"] [region_id=54685]

I will fix it later.

The PR #10776 is trying to fix a unexist problem. I will close it.
So back to the issue, seems it can only be the range is cleaned by delete_files_in_range after add_checker checks.

The issue contains 2 questions:

why region size jumps between 0 and a large value;
why large region (size about 1.8GB) occurs.

The answer to the first question is there are 2 source for a region size:
a. real size of the region by scan, which will be 0.
b. approximate size from table properties, which didn't filter out L0 files.
So region size can jump. It can lead some unnecessary splits, which can be improved.
The answer to the second question is region splitting uses scan policy by default. It will be switched to approximate policy only if region size is larger than 10x region size. It's by design and won't be fixed.

/close


Augmentation upgrade

Update augmentation to latest version.
Change background color of augmented images (rotated and translated)
Update augmentation banner to show new augmentations

Done with PR https://github.com/AMLResearchProject/AML-ALL-Classifiers/pull/59


Add DecimalMoneyParser

This parser takes a raw decimal string in a locale-independent format.
Replaces StringToUnitsParser.

This looks good. I wonder (do not see a test for it): what happens if I parse $ 1.00 like so.
$parser->parse('$ 1.00', 'USD');

It will throw exception. I'll add the test for that.

Okay, so when people want to parse an amount with a currency symbol they will have to use the IntlMoneyParser. Or they create a decorator within their own domain that removes any special character from the decimal amount. Right?
Could you highlight what is breaking of this parser comparing to the StringToUnitsParser?

Only a minus sign is allowed in the DecimalMoneyParser while both plus and minus were allowed in the StringToUnitsParser.
....

We might want to consider to have both StringToUnitsParser and DecimalMoneyParser in our library, depending on our purpose. Could you highlight why the former has been removed instead of having both?

Differences from StringToUnitsParser:

No plus sign allowed.
Digits (before the decimal point) is compulsory.
Comma is not allowed as the decimal separator. Only the dot (.) is allowed.
Also fixed a bug where 0., 1., 1234. were considered valid.

The guiding principle for me is to eliminate all ambiguities. There is no longer the question of whether this alternate format or that shorthand format is supported, because there is only one simple, standard format.
Why remove StringToUnitsParser? Because it is redundant and only adds confusion as to which parser to use. If the user needs more control, it's possible to use IntlMoneyParser by providing a \NumberFormatter which uses a custom pattern. Or implement a custom parser.

@sagikazarmark I think the points are valid. However it does mean we will break BC again. WDYT?

@frederikbosch I also think the points are valid, and avoiding confusion should be high prio. Also, I am more concerned about break in behaviour than breaks like this. We are not stable or RC yet, so we can freely change the API. That said we can just deprecate it, but starting a stable with deprecations is not a good sign.

Then I am going to merge this.

@teohhanhui Many thanks again. Great work!


Create a separate File Manipulation API

The Mappings API provides operations such as "save" and "delete."
When calling delete it is unknown if it will manipulate the underlining files. If you remove a single mapping the files are not touched. If the general Delete is utilize, all mapping files are removed from the server.
I recommend keeping the Mappings API as a in memory manipulation only. Reset will load the files from disk only because that is the easiest way to get the service "back" to a starting state.

If you're not seeing mapping files be deleted when you delete stubs individually via the API, then that's a bug. Can you share a test case that replicates this problem?

That came to me from someone else, it wouldn't surprise me if there was just confusion.
I think in memory and file operations are still important to separate.

Currently there aren't any memory-only operations - all CRUD ops will result in the underlying file being updated if it's marked persistent.

Hmm, well I must be using it differently because I post mapping then use reset to return to the state defined on disk. So from my perspective it is all in memory and writing to dink is a risk.


combine_latest, common transformer using the base combine transformer

I'm thinking that maybe instead of having an additional combiner transformer, we can make the combiner arg in Combine be optional, and if it's not passed then it'll default to combining elements into a list.

I was thinking too much in the Frappe lib mindset, which is the actual one I'm using, it would be easy to just add a _latest function there that passes a predefined function :)

Ok, closing this in favor of an optional Combiner arg. I filed issue #30 here for anyone interested in tracking its progress.


Fixed compatibility with IE < 11 (missing property navigator.language)

Fixed error "Cannot read property 'slice' of undefined" in Internet Explorer < 11.
Browser support table: https://developer.mozilla.org/en/docs/Web/API/NavigatorLanguage/language

Thanks

Thanks! Could you publish it to npm? it would help me very much.


transform help document to lower office version compatible

I heard from several users that they cann't open the help document as they are using lower office version(even office 2007 couldn't). So I transform it to 97-03 compatible to make it convinient to "help".
Maybe later we can use markdown and some other formats not depended on specified software release.

Thank you


Update Executables

The enhancements you did to Janel4.2 are not available in the Executables found under the Executables folder of the repository.
I tested the "bitness" detection with the JanelConsole64.exe and a 32-bit JVM. It didn't threw the promised exception. Instead it just crashes without printing anything to the Console.

P.S I tested it with the executables from the "enhanced" branch

Sorry... seems to be a little bit confusing.... The "Executables" directory contains the old executables from the original release. maybe it's a good idea to delete this directory,
Official builds of the "enhanced" branch are available under https://github.com/michaelknigge/janel/releases


Error with frame extraction

Here is the error message I received:
DEBUG:image2pipe.ffmpeg:popen ffmpeg -v error -ss 00:00:00 -i a.mp4 -an -sn -f image2pipe -vcodec rawvideo -pix_fmt bgr24 -vf fps=30,scale=400x400 -
Traceback (most recent call last):
File ".\frame_extraction.py", line 45, in
decoder.start()
File "C:\Python36\lib\multiprocessing\process.py", line 105, in start
self._popen = self._Popen(self)
File "C:\Python36\lib\multiprocessing\context.py", line 223, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "C:\Python36\lib\multiprocessing\context.py", line 322, in _Popen
return Popen(process_obj)
File "C:\Python36\lib\multiprocessing\popen_spawn_win32.py", line 65, in init
reduction.dump(process_obj, to_child)
File "C:\Python36\lib\multiprocessing\reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
AttributeError: Can't pickle local object 'images_from_url..'
PS C:\Users\g_host\Desktop\dtoxd_GUI\wxTest> av_interleaved_write_frame(): Invalid argument
Error writing trailer of pipe:: Invalid argument
Traceback (most recent call last):
File "", line 1, in
File "C:\Python36\lib\multiprocessing\spawn.py", line 99, in spawn_main
new_handle = reduction.steal_handle(parent_pid, pipe_handle)
File "C:\Python36\lib\multiprocessing\reduction.py", line 82, in steal_handle
_winapi.PROCESS_DUP_HANDLE, False, source_pid)
OSError: [WinError 87] The parameter is incorrect

@StanHR Did you tried to run ffmpeg command and check if ffmpeg actually returning rawvideo?
ffmpeg -v error -ss 00:00:00 -i a.mp4 -an -sn -f image2pipe -vcodec rawvideo -pix_fmt bgr24 -vf fps=30,scale=400x400 out.raw
@StanHR Do you have steps to reproduce for this issue? Please attach test script which end with this error. Thanks

please make sure you have ffmpeg v4 @StanHR

closed due to inactivity


static_any fixes

This fixes the alignment issues I mentioned on Reddit by using std::aligned_storage_t as backing storage.  It also overhauls the copying code (in a couple cases, the container would memcpy live objects, something you can obviously only do with POD types).  Please review my changes for strong exception guarantee violations; there shouldn't be any but that's what review is for.
There are also a couple of other minor fixes.
I had to remove the unit test checking the size of static_any; the size of aligned_storage_t is not guaranteed as far as I know.  If this is a deal-breaker, let me know; I don't care about the exact size of the container, but if you're counting bytes to fit in a cache line, you might.

Benchmarks seems similar after the copy code overhaul, but please double-check me on those too to make sure I haven't regressed.

Coverage increased (+0.3%) to 98.788% when pulling 2f4d38b8ca4a43bd7e20bbdade219c6db7ffe013 on thirtythreeforty:static_any-fixes into 7e4220dd6912fd4307407742955de1356eb4b0b7 on david-grs:master.

Hey! Thanks for the fixes. I didnt have a look yet but will definitely soon - I need a few days.

That's fine, no rush!

Coverage increased (+0.3%) to 98.81% when pulling 1e366f0b5a3389ff42451be911cd9654b7bed850 on thirtythreeforty:static_any-fixes into 7e4220dd6912fd4307407742955de1356eb4b0b7 on david-grs:master.

Well I tried.

Coverage increased (+0.3%) to 98.81% when pulling a7b34637455ed2a44e1412072f5f8c971246b0be on thirtythreeforty:static_any-fixes into 7e4220dd6912fd4307407742955de1356eb4b0b7 on david-grs:master.

Coverage increased (+0.4%) to 98.909% when pulling 317bd9902e709bd7f550b4c6448e1e8633c2d2ed on thirtythreeforty:static_any-fixes into 7e4220dd6912fd4307407742955de1356eb4b0b7 on david-grs:master.

Okay, so I think the reason I'm having trouble here is that I believe you can't simultaneously guarantee all of:

strong exception safety
no dynamic allocations

...for all types.
The problem is illustrated by the commit I just made.  CallCounter exposes a double-free made by static_any (the first free occurs on unit_tests.cpp:581, and the second is made when b is destroyed).
What you can provide is the strong exception guarantee only if the currently-stored type has a noexcept move or copy constructor (allowing you to use the second-buffer-on-the-stack trick).  If the currently-stored type is not noexcept, the container has to fall back to the basic exception guarantee.  In my opinion, this is a sane guarantee to make, but it is weaker than the guarantee made by the readme.
I can fix the code to have those semantics, but I just wanted to make sure you're on board with the change.


Running flutter iOS App in Release mode on M1 Macbook (My Mac Designed for iPad) crashes

When trying to run a release version of my flutter 2.2 app via Xcode 12 on the M1 Macbook with target My Mac (Designed
for iPad) the app crashes with the following error:
VM snapshot invalid and could not be inferred from settings.
2021-05-18 23:20:22.291114+0200 Runner[5131:59431] [VERBOSE-2:dart_vm.cc(257)] Could not set up VM data to bootstrap the VM from.
2021-05-18 23:20:22.291171+0200 Runner[5131:59431] [VERBOSE-2:dart_vm_lifecycle.cc(84)] Could not create Dart VM instance.
2021-05-18 23:20:22.291228+0200 Runner[5131:59431] [VERBOSE-3:shell.cc(155)] Check failed: vm. Must be able to initialize the VM.

Everything works fine with a debug build.
As I only "see" the My Mac device in Xcode, I cannot run the app from Android Studio and flutter doctor does not find the device.
Is there anything special missing for the release mode to run flutter on the arm64 chip or is this a bug?

Hi @TahaTesser
here's the output of flutter doctor -v:
`[✓] Flutter (Channel stable, 2.2.0, on macOS 11.3.1 20E241 darwin-arm, locale de-DE)
• Flutter version 2.2.0 at /Users/marcel/Downloads/flutter
• Framework revision b22742018b (vor 4 Tagen), 2021-05-14 19:12:57 -0700
• Engine revision a9d88a4d18
• Dart version 2.13.0
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/marcel/Library/Android/sdk
• Platform android-30, build-tools 29.0.2
• Java binary at:
/Library/Java/JavaVirtualMachines/jdk1.8.0_251.jdk/Contents/Home/bin/java
• Java version Java(TM) SE Runtime Environment (build 1.8.0_251-b08)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.5, Build version 12E262
• CocoaPods version 1.10.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
`
Here's my pubspec.yaml file:
`name: test_sensors
description:
publish_to: none
version: 1.0.0+1
environment:
sdk: ">=2.6.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^1.0.2
syncfusion_flutter_gauges: ^19.1.54
bluestone_bluetooth:
path: ./libraries/bluestone_bluetooth
permission_handler: ^6.0.1+1
sqflite_sqlcipher: ^2.0.0-nullsafety.0
crypto: ^3.0.0
vector_math: ^2.0.8
flutter_cube: ^0.1.1
fl_chart: ^0.20.1
stats: ^2.0.0
image: ^3.0.1
scidart: ^0.0.1-dev.6
video_player: ^2.0.2
pdf: ^3.0.1
flutter_full_pdf_viewer: ^1.0.6
path: ^1.6.14
path_parsing: ^0.2.0-nullsafety.0
path_drawing: 0.5.0-nullsafety.0
crypt: ^4.0.1
provider: ^5.0.0
intl: any
flutter_localizations:
sdk: flutter
http: any
json_annotation: ^4.0.0
path_provider: ^2.0.1
charts_flutter: ^0.10.0
url_launcher: ^6.0.2
wakelock: ^0.5.0+2
flutter_echarts: #latest version
printing: ^5.0.0
rxdart: ^0.26.0
plugin_platform_interface: ^2.0.0
flutter_tts:
dev_dependencies:
flutter_test:
sdk: flutter
test: ^1.15.2
build_runner: any
flutter_launcher_icons: ^0.9.0
flutter_icons:
android: true #"launcher_icon"
ios: true
image_path: "assets/images/deubellogo.png"
flutter:
uses-material-design: true
To add assets to your application, add an assets section, like this:
assets:
- assets/images/deubellogo.png
- assets/images/config.png
- assets/images/history.png
- assets/images/measure.png
- assets/images/measuregame.png
- assets/images/ski.png
- assets/images/training.png
- assets/images/blocks.png
- assets/knee_model/lower_knee.obj
- assets/knee_model/upper_knee.obj
- assets/knee_model/lower_knee.mtl
- assets/knee_model/upper_knee.mtl
- assets/point/point.obj
- assets/point/point.mtl
- assets/ski_game/player_left.png
- assets/ski_game/player_right.png
- assets/ski_game/player_straight.png
- assets/ski_game/snow.png
- assets/ski_game/tree.png
- assets/videos/dropjump.mp4
- assets/videos/jumpgame.mp4
- assets/videos/normal_measure_squat.mp4
- assets/videos/squat_description.mp4
- assets/images/meter.png
- assets/images/measure.png
- assets/images/history.png
- assets/images/db_sidebias_left.png
- assets/images/db_sidebias_right.png
- assets/images/training2.png
- assets/images/training.png
- assets/images/drop.png
- assets/images/squat.png
- assets/images/long.png
- assets/images/ski2.png
- assets/measure/target_large_spot.png
- assets/measure/target_small_spot.png
- assets/measure/target_no_spot.png
- assets/tilt_display/back.png
- assets/tilt_display/front.png
- assets/tilt_display/left.png
- assets/tilt_display/right.png
- assets/tilt_display/straight.png
flutter_intl:
main_locale: en_US
enabled: true
`
The code sample is complicated as our entire package comprises of 200+ files.


Highlighting a row of '*'

VSCode Version: Code 1.7.1 (02611b40b24c9df2726ad8b33f5ef5f67ac30b44, 2016-11-03T13:53:14.822Z)
OS Version: Windows_NT ia32 10.0.14393

When you type a row of stars, like this "*************************************", and then you highlight it with cursor, it makes some weird shadows and stuff... Just try it, you´ll see

I believe this is the find occurrences on selection feature

@danecek099 This can be turned off via "editor.selectionHighlight": false


support for include recursive ssh_config

I tried a couple different ways to see if i missing something, but the include parsing doesn't seem to read recursive ssh_configs
ssh_config:
Include config-d/*/*
inside directory ~/.ssh/config-d/
Personal (subdirectory)

  homemachine (config file)

Work (subdirectory)

   server-a (config file)

   sever-b (config file)

etc...

I need to compile a binary. Include support was added here https://github.com/fitztrev/shuttle/pull/238

I think I should clarify it will read one layer of recursive read. So my in configuration mine spans multiples layers with separate config files for each host.  But I will give it go again

need same functionality. When new release will be published?


Refine README and demo

Fix instructions to install
Not create API subclass in README and demo
Add tips about Himotoki

Seems legit! :sparkles: And also thank you for referring to my library!! :wink:


djgpp build broken

While generating include/crypto/dso_conf.h, I get this error (from Cygwin32 on Win-10):
perl -I. -I./util/perl -Mconfigdata util/dofile.pl include/crypto/dso_conf.h.in > include/crypto/dso_conf.h
Can't locate object method "dsoext" via package "platform" (perhaps you forgot to load "platform"?) at include/crypto/dso_conf.h.in line 30.

I assume this is due to a missing Configuration/platform/djgpp.pm with this missing Perl object.
Probably easy for someone who understand this horrid Perl stuff.

This is curious...  For djgpp, no specific "perl_platform" is specified, and the default is Unix, which does define the method dsoext.  I'll have me a look at that...

However!  this could be due to the fact that we currently don't support DSOs on djgpp.

DSO = Dynamic Shared Object? Right, no DLLs on djgpp.
Why so obfuscated. Why not just do:
#ifndef DSO_EXTENSION
# define DSO_EXTENSION ""
#endif

somewhere?

The C preprocessor can't compare strings, so we have DSO_NONE to indicate no DSO support.
Either way, your issue is due to over-zealous control no when to load the platform module.  Would you mind trying out #10514?

Man, that was quick!
I did understand nothing of that change, but the dso_conf.h gets generated okay now.
Although it has a:
# define DSO_EXTENSION ".so"

which seems strange. Covered by the #define DSO_NONE?
Anyway, my only problem with building now is a clash with these functions:
static void _sock_timeout(int signum);  // in apps/ocsp.c
sock_timeout (sock_type *s, int seconds);  // in Watt-32's tcp.h

Can we patch apps/ocsp.c like this:
--- a/apps/ocsp.c 2019-11-25 12:15:37
+++ b/apps/ocsp.c 2019-11-24 17:49:25
@@ -115,7 +115,7 @@
 static int index_changed(CA_DB *);
 static void spawn_loop(void);
 static int print_syslog(const char *str, size_t len, void *levPtr);
-static void _sock_timeout(int signum);
+static void sock_timeout(int signum);
 # endif

 # ifndef OPENSSL_NO_SOCK
@@ -622,7 +622,7 @@
     if (multi && acbio != NULL)
         spawn_loop();
     if (acbio != NULL && req_timeout > 0)
-        signal(SIGALRM, _sock_timeout);
+        signal(SIGALRM, sock_timeout);
 #endif

     if (acbio != NULL)
@@ -1389,7 +1389,7 @@
 # endif

 # ifdef OCSP_DAEMON
-static void _sock_timeout(int signum)
+static void sock_timeout(int signum)
 {
     if (acfd != (int)INVALID_SOCKET)
         (void)shutdown(acfd, SHUT_RD);

Man, that was quick!

Sometimes, I am...  :wink:
Regarding sock_timeout, we can sure modify the name...  but will do it differently, as a beginning _ is reserved for standard libraries (yeah, I know, we're doing this in other places, ahem, to be refactored)

Please see #10515.  I hope that rename is good enough.

I've not tried, but it looks okay. Thanks!


Corporate Console: Submit button in "Select Company" Popup is not available as per the note

Background

Launch Corporate Console in dev environment
Login as CLA manager
Click on Get Started under "Associate yourself with a company in Easy CLA" section to add company
Below note is displayed in "Select Company" popup. However when we enter a company name which does not exist there is no "Submit" button but can see "ADD Company" button. Also if user has selected a company ,  and then clears company name in the field and enters a company name that does not exist, instead of "Submit" button "JOIN COMPANY" button is displayed

Expected behavior
Either the note has to be changed or according to the note "Submit" button should be displayed
Screenshots

@pranab-bajpai can you review and provide feedback?

Tested and observed that when field is cleared and when new company is entered, JOIN COMPANY is displayed instead of ADD COMPANY and notification sent message is displayed for company that does not exist. Hence reopening the ticket.

Verified that JOIN COMPANY is displayed in the note when existing company is selected which is as expected

Observed that when field is cleared ADD COMPANY is displayed and when searched with search Criteria JOIN COMPANY is displayed
Observed a corner case issue with below steps. However duplicate company issue is handled and hence closing this ticket

Search for a company
Select the company from dropdown
Now delete few characters and type the name of exsiting company. ADD COMPANY button is displayed

However validation for duplicate company exists


Add storage class manager dependency

Can we make this as optional and not required in the dependencies so that it gives flexibility for storage classes that may not be in the sc manager ? @seansund @triceam


Disabling a button while popover is displayed prevents the popover from hiding

If you have a button with a popover, and you disable the button while the popover is displayed, the popover will never be dismissed (until you re-enable the button and hover over it again).
<button type="button" data-content="Click here to disable" data-toggle="popover" class="btn btn-labeled btn-primary" title="My Example" data-placement="top">
    <i class="fa fa-plus"></i>
</button>

<script>
    $("button").click(function() {
        $(this).addClass("disabled").attr("disabled", "disabled");
    }
</script>

This would require using something like Mutation Observers, and we've historically shied away from that.

As described in #21232, listening for the mousemove event from the document may be a suitable alternative to the mouseleave event for disabled buttons.

Closing since it sounds like this won't be fixed and a workaround is provided.


Add basic auth

added a very basic http authentication filter so that malicious user does not have un-authentication access to perform destructive operation like deleting a topic.
thanks to https://github.com/Kaliber/play-basic-authentication-filter for the filter

I am not sere why test are failing on travis, locally things appears to work

please rebase of master

close and re-opening as master PR

Can you send me step by step instructions how to enable basic authentication method.  I am new and still learning and need a small help from experts like you

@wadhwasam just open the config file. The answer is inside.


Expose mechanism to monitor render events

Doing this to allow for live-tracking of startup performance of our app in production.
Example:
let renderStart = Date.now();

emitter.on('before-reactdom-render', () => {
  renderStart = Date.now();
});

emitter.on('after-reactdom-render', ({ appProps }) => {
  const duration = Date.now() - renderStart;
  trackDuration('ui.page.render', duration, {
    route: appProps.router.asPath,
  });
});

Both cases should run when in dev mode.

Ping

@timneutkens @arunoda rebased against master.


Update conformance testing DSL to support unknown symbols

Issue #, if available: n/a
Description of changes:
This PR adds missing symbol notation for Toplevel and Produces clauses.
This turned out to be a lot simpler than I had originally thought. My first (few) pass(es) through the spec left my understanding to be that the notation could define symbol mappings, which would have to be created during the evaluation of the fragments, and supported when evaluating expectations. Unfortunately I didn't realize my misunderstanding until after having implemented creating the symbol mappings.
The functionality now allows symbol IDs to be specified as quoted symbols, with the #$ notation for identifying such symbol IDs.
Details
When the Toplevel fragment is triggered to encode it's contents into a new document fragment, it uses ProxyElement to wrap each of the ion elements that were defined within its body. ProxyElement implements WriteAsIon in order to hijack any symbols being written and detect any #$ prefixed symbols so that it can parse out the symbol table name, and offset. Once parsed, it will write the symbol ID to the document fragment.
When a Produces clause is evaluated, it will walk through its body of ion elements, while reading the concatenated ion document. As each element is evaluated for equality, any symbols found in the Produces' body will also be tested for #$ prefix, and offsets/symtabs extracted.
In addition to Toplevel and Produces support, the Denotes clause was updated to use a reader rather than the Element API, so that it can access the symbol IDs to complete its data model tests.
Additionally
I also used this PR to follow up on #828, and rolled the typed null handling into a read_null function and reset the ion_type back to its original for consistency. I'll follow up with a PR to return the underlying type from ion_type for all value implementations.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

As I was reviewing everything I realized I had somehow left out the actual symbol table resolutions. I had stashed some stuff when rolling back some changes and I guess it got lost in the mix. So the latest commit adds in the building of the ion-tests catalog, and validates symbol text between the referenced symbol table, and the current context.
I also tried to document everything mentioned, and added in a couple more tests for 'absent symbols'.


Consider adding a --text option to send arbitrary raw strings

E.g.
dcp --text SECRET_API_KEY=abcdef

dcp <generated public key>

Received Text:

SECRET_API_KEY=abcdef

What you could do is: when the text given is not a filename, just send it as text. Then you won't need an extra flag (--text). Ease of use is king!


When Hazelcast member is out of memory, client hangs

I have a situation where I have one single Hazelcast member node. And I want our application to have a failover mode when there is OOM failure in the member. But my client code hangs while trying to open connection or getting a map when member node is down with OOM. Setting timeout in ClientConfig is not helping. Till I kill the member node, it just hangs. What I want is the client calls to throw exception, so our recovery code can do what is needed.
BTW, this is happening only with native client. For Java client, I get an IllegalStateException within 10 seconds, even without setting any timeout. As this hangs our whole application, will appreciate any help in resolving this as quickly as possible.
Thanks in advance for your time

Hello @aparnam-asg
Can you please write this kind of help questions to the user group at https://groups.google.com/forum/#!forum/hazelcast ?
Having said this, can you please share your client config code? Do you have a reproducer code?
Regards,

Thanks @ihsandemir. I will try and use the help forum next time. But this one specifically feels like a bug.
I have created reproducer code and am attaching the zip file here. It has the java code, native code and output I see when I run those myself. I added a README with steps I did.
I basically started a member in my IDE by running com.hazelcast.core.server.StartServer with no special configuration. I used my java client to fill the cache in a loop to cause OOM. Java client waits once it can't write anymore and exits when timeout is reached. And if I run again, it quits immediately. But if I run native client, it just hangs there.
HazelOOMTest.zip

@ihsandemir is it possible to confirm if you could reproduce this or share your thoughts are on this particular issue? It will help us to plan our strategy . Thanks  for your time

Hello @aparnam-asg
I have tried the code piece that you sent for Java. The cpp code file is empty, can you resend it?
Here is some explanation how OOM case is expected to work currently:
When server goes into OOM, then any client request may be served, or unserved depending on the resources at the server side. Also when OOM, our default DefaultOutOfMemoryHandler by default will try shutdown the server, but of course it may fail since you are at OOM case. And if the member is not shutdown, the connection to client is not closed and it may happen that the server may not process the put request but it may respond to the client ping requests. The client put will wait on a server answer, the only way it exits this state is either a a response (it may be a server side exception as well) is received or client heartbeats fail and client closes the connection.
For example, when I try on my local computer I see that the heartbeat responses are being received with some delay at the client side, hence the client is not closing the connection. Therefore, I observe that the java client is waiting for the future.get() call waiting the response from the server. It does not mean that in every environment it will happen the same way since it is an OOM at the server, there may be several possibilities. In your try, you received the server side exception hence server was lucky to send the exception to the client (com.hazelcast.core.HazelcastException: java.lang.OutOfMemoryError: Java heap space). But at my tries, it could not even communicate this exception to the client because no resources and hence my tries end up in a different scenario.
In this sense, the Java and C++ client acts very similarly, both waits for server response indefinitely from the server until two things happen:

Response or exception is received from the server.
Client heartbeat timed-out which causes the connection to close and all invocations are set to the correct exception.

In your case, the server may not respond to put request but still may answer to the client ping requests (OOM case is not very deterministic)
Having said this, I believe the best thing to do when server OOM is to detect it prior to it happens and be able to shutdown the server so that the client can close the connection and hence return the expected exception to your application.
Does this make sense to you?

Thanks @ihsandemir
Sorry for the empty file. It is actually nothing much, just creating the client where it hangs. Attaching
HazelConnectTest.cpp.txt

I ran the code that you sent. The client waits for the owner connection to be established at the authentication response receive. This is currently a blocking connection setup and when the server becomes unresponsive, the client waits there indefinitely. We have plans to change the owner connection setup similar to the Java owner connection setup where it is async. These are the related issues already open for this purpose:

https://github.com/hazelcast/hazelcast-cpp-client/issues/36
https://github.com/hazelcast/hazelcast-cpp-client/issues/18

@aparnam-asg I want to close this issue and lets track this issue by the duplicate issue: https://github.com/hazelcast/hazelcast-cpp-client/issues/18
Until that issue is solved you may want to detect the server out of memory and shutdown the server before it goes into out-of-memory (e.g. terminate the server when the memory usage is more than 80%)

Thanks for checking on this @ihsandemir . Ok, I will watch #18 .
I was looking at alternate ways to handle this situation and maybe we have something for now. The thing is we don't really want to shutdown but stop putting new entries in IMap when it is about to hit low memory. And we don't want to evict anything. On top of it, when we use memory usage from JVM it doesn't distinguish between actual used and to be GCed. As MemoryMXBean only notifies when it hits threshold and identifying when it is safe to start adding entries again is tricky. When I was testing a solution I came up with, I hit other issues #343  in CPP client that are already filed and had to work around those too. So it kind of morphed into something to work around this.

@aparnam-asg Why was https://github.com/hazelcast/hazelcast-cpp-client/issues/343 a problem for you? The proxy is automatically created at the server side. The only reason for that issue is that the Java side getDistributedObjects call was not showing the distributed objects in the cluster as expected when we do not send this request but the proxy is actually being created and it works fine.
You can also stop putting entries, which would also be fine. In this case, the server will respond to the C++ client request and the client will not freeze.

@ihsandemir I am trying the following as a strategy though it makes me a bit nervous as it just seems complicated way of doing what we need.
On the Hazelcast server side:

Use JVM's MemoryMXBean to get notification and set internal flag when memory hits a certain threshold, say 70%
Intercept  put calls for all our maps. If low memory flag is not on, don't do anything, move on
If during interception, low memory flag is on, check heap cost of all maps
Allow put call only when this heap cost is reduced by certain percent. Till then fail them

Basically stop putting new entries till our application has a chance to read what we have put there already without evicting. It will slow the system in that time but we don't hang and continue at a slower pace.
And during 3rd step, I had issues with #343 as maps created by native client are not visible on java side and heap cost was messed up. So I am working around it but putting a hack sort of. Have a "NativeMapCreation" map and intercept a put call to that. Have native client put an entry there with map name when it is creating one. And in the iterceptor on java side, call getMap. So that any calls to getDistributedObject from there on will return this map from native code till our application gets around to reading it.
It is all getting very convoluted at this point. So I don't know if we will even go this route. I didn't want to bother you with all this though. But you asked....:-)

I am glad that you have a solution. The heap is a problem in general and coding against OOM is not easy at all. Alternatively, did you try using off-heap server version? It does not have OOM problems since it uses off-heap memory.

Since this issue will be solved by #18 , I am closing this issue.

Thanks @ihsandemir
By off-heap server, you must mean to use the high density, native objects. As it is enterprise only as per documentation, we are looking for universal solution which doesn't require special licensing for the feature.

yes, that is enterprise-feature.


JSHint fixes

Using single-quotes
'use strict'
flag d3 as global var

Hi, just trying out the library, fixed some complaints that JSHint was having.

I am cool with this.  You commented out the following:
//var FIXED_TIME_DOMAIN_MODE = 'fixed';

@shmert take a look.


trivial typo fix for authorizers.rst

Fixing a small typo I noticed in a code example for the authorization docs

Codecov Report

Merging #416 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #416   +/-   ##
=======================================
  Coverage   93.54%   93.54%
=======================================
  Files          18       18
  Lines        2805     2805
  Branches      369      369
=======================================
  Hits         2624     2624
  Misses        133      133
  Partials       48       48

Continue to review full report at Codecov.

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

Thanks for the fix.


Calculate Reactor Temp High

Adjust reactor temp high warning on annunciator and the text status to adapt to what would be high temp for the reactor based on its coolant and max burn rate.

After reviewing multiple reactors with my simulator, I have concluded that:

Environmental loss and ambient temperature have minimal effect (<0.1K) on temperatures
The conversion function from mB to temperature when water cooled is heat_capacity * 2 *  (1,000,000 * (burn_rate ^ -1)) + 373.15 or without the * 2 for sodium cooled

burn temp by capacity.xlsx


Updating testing readme directory.

Happy to merge, but why does TESTING_README just say "hi"?

Sorry, starting writing…didn’t finish so didn’t commit yet. Will do so soon.
On Wed, Aug 14, 2024 at 7:43 AM Osnat Katz Moon @.***>
wrote:

Happy to merge, but why does TESTING_README just say "hi"?
—
Reply to this email directly, view it on GitHub
https://github.com/openpredictionmarkets/socialpredict/pull/243#issuecomment-2288798828,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADFQCVKVGSGR55HJ5OGAVMLZRNNJLAVCNFSM6AAAAABMQL3FLKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBYG44TQOBSHA
.
You are receiving this because you were assigned.Message ID:
@.***>


fix: Bumped spring dependencies version to 5.3.20

JIRA link
https://tools.hmcts.net/jira/browse/RDCC-4707
Change description
fix: Bumped spring dependencies version to 5.3.20
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[x] No

changes being handled already in https://github.com/hmcts/rd-caseworker-ref-api/pull/499


support devices that present as wemo with each one on its own port

Description:
The newest digital loggers web based switches https://www.digital-loggers.com/pro.html present themselves as a emulated wemo device. they offer all 8 ports on a single IP with each socket on a different tcp port.
This requires a pywemo change that is pending in https://github.com/pavoni/pywemo/pull/78 With the changes in pywemo and this PR homeassistant can autodetect and subscribe to all 8 ports. without changes to the configuration format statically defining the IP will only detect the first socket, I could write the chages to do so if desired.
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>
Checklist:
If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[x ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass

Hi @ausil,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

I wonder if a nicer way of doing this would be to extend the wemo static configuration so you can also specify a port. This isn't good for a real wemo because they change their ports - but I imagine an emulated wemo would never change.
We could then also change the pywemo library not to reprobe devices where the port was specified.
That would avoid needing to change the probe-wemo code.

@ausil can you respond to @pavoni or shall we close this PR for now ?

This PR seems to have gone stale. Closing it. You can reopen it when you're ready to finish it.


Finish darwin os/lock.h bindings

This takes over for #2918, whose author indicated they won't be able to finish for a while: https://github.com/rust-lang/libc/pull/2918#issuecomment-1266096063.
Fixes #2917
Closes #2918

r? @Amanieu
(rust-highfive has picked a reviewer for you, use r? to override)

Thanks for picking it up! Could you squash commits into one?

@bors r+

:pushpin: Commit cf1738ad1407f3295dc4ae25977503621d0c4513 has been approved by JohnTitor
It is now in the queue for this repository.

:hourglass: Testing commit cf1738ad1407f3295dc4ae25977503621d0c4513 with merge 14f31db9387fde013043d408c0b0d915825055fd...


Not responsive?

in mobile version not reponsive.
how can i get reponsive for it?

Hi @iranidesign.
If i'm fully understood you, write in <head>:
<meta name="viewport" content="width=device-width, initial-scale=1.0">

I think the responsiveness needs to apply to the map which needs small css tweak.


Installation with cargo fails due to missing fontdb dependency

Description
I'm trying to install typst by running cargo install --locked typst-cli like mentioned in the documentation, but it fails with the following error:
  Downloading crates ...
   Downloaded typst-cli v0.12.0
   Installing typst-cli v0.12.0
 error: failed to select a version for `typst-kit`.
     ... required by package `typst-cli v0.12.0`
 versions that meet the requirements `^0.12.0` (locked to 0.12.0) are: 0.12.0

 the package `typst-cli` depends on `typst-kit`, with features: `fontdb` but `typst-kit` does not have these features.
  It has an optional dependency with that name, but that dependency uses the "dep:" syntax in the features table, so it does not have an implicit feature with that name.

 failed to select a version for `typst-kit` which could resolve this conflict

This is happening both under alpine Linux and Debian bookwork, more specifically inside of the node:18-alpine and node:18-bookworm docker images. I'm trying to install typst inside of these images so that I can use the CLI from my Node.js app, but the installation fails with the error above.
The specific commands from my dockerfile are as follows:
FROM node:18-alpine

RUN apk add --no-cache cargo
RUN cargo install --locked typst-cli

Reproduction URL
No response
Operating system
Linux
Typst version

[X] I am using the latest version of Typst

Could you post your full Dockerfile? I can't reproduce this outside of Docker and the excerpt you posted fails with OpenSSL errors.

Looks like I had an outdated cached version of node:18-alpine on my system. Retrying the docker build command with --pull to pull the latest version of the base image also failed with an OpenSSL error, which I then fixed. It looks like this problem only occurs in older versions of alpine, so we can close this.
For reference, this is the full dockerfile I used for testing that worked in the end:
FROM node:18-alpine

RUN apk add --no-cache openssl-dev pkgconfig cargo
RUN cargo install --locked typst-cli

CMD [ "node", "-V" ]


@orta => reset search

I didn't realize you'd already fixed the bug, but additionally, calling super here means that search gets reset both in super closeSearch AND the next time you open up search, which is redundant.

:+1:

letting this not green as that's #20


Issues finding freetype.

When building on ARM64 debian, if I install
sudo apt-get install libfreetype-dev libfreetype6 libfreetype6-dev

I can validate the installation with the following:
pkg-config --cflags freetype2
-I/usr/include/freetype2 -I/usr/include/libpng16

But when I try to run cmake, I get the following:
$ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DSDL3TTF_HARFBUZZ=ON -DSDL3TTF_VENDORED=ON   ..
-- Configuring SDL3_ttf 3.0.0
-- SDL3_ttf: Using system freetype library
CMake Error at /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
  Could NOT find Freetype (missing: FREETYPE_LIBRARY) (found version
  "2.10.4")
Call Stack (most recent call first):
  /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.18/Modules/FindFreetype.cmake:157 (find_package_handle_standard_args)
  CMakeLists.txt:265 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/[...]/SDL_ttf/build/CMakeFiles/CMakeOutput.log".

But nothing in the CMakeOutput.log file contains freetype, ft, etc...
Any idea what is going on here or how to resolve the issue?

Did you run external/download.sh to get the vendored libraries?

SDL_ttf provides it's own copies of those libraries and builds them into SDL_ttf.

I tried setting -DSDLTTF_FREETYPE_VENDORED=ON to no avail.

Oh, try this:
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DSDLTTF_HARFBUZZ=ON -DSDLTTF_VENDORED=ON   ..

SDLTTF vs SDL3TTF
That was it.


[HW] Dheirya Tyagi (Just A Fellow Doge)

Name: Dheirya Tyagi
Email<EMAIL_ADDRESS>Linkedin Profile:  I don't have one. 😔

Attach the homework step I screenshots below:

Attach the homework step II screenshots below:

Extra Credit:

I watched the tutorial by Anna Kubow. I updated some of the app css and customized it. The url for my website is at https://reactok.netlify.app/#/. Here are some screenshots from the website:

Hey Dheirya Tyagi, great job! Congrats! Here is your badge! https://api.badgr.io/public/assertions/d_MUgsLlRuqpkU9doQCXiA


Token should be confirmed correct before saving and allowing user to attempt to send posts

I'm guessing maybe a call to a simple endpoint and looking for a 200 status is the best way to do this. A GET to /posts/all would work, though I wonder how heavy a request that is. Other endpoint options here but not sure any make more sense than /posts/all

Ahh obviously GET /posts/[username] won't work, because I don't have their username yet!


Launch Ukrainian "Let's Fly" to production CR

User Story
As a Product Owner,
I want to launch the Ukrainian version of "Let's Fly" into the production Curious Reader app,
So that we can experience rolling out an interactive book that has been QA'd, has minimal issues that wouldn't affect launch, and see if the runway is clear to launch more interactive books.
URL: https://curiousreader.curiouscontent.org/?book=LetsFlyUkrLv6
App Icon: See dev manifest
Acceptance Criteria
Given that I have the production URL and the app icon,
When I update the production manifest with the URL and app icon for Let's Fly Ukrainian and select "Ukrainian" as my language in the Curious Reader production app,
Then I should be able to see the Let's Fly app icon and read the story in Ukrainian.

In for Google Play review Dec 5th!


fix mypy errors

this fixes two distinct mypy errors
one where NamedTuple/dataclassees can't be
defined locally
https://github.com/python/mypy/issues/7281
which happens when you run mypy like
mypy -p my.core on warm cache
the second error is the core/types.py file shadowing the
stdlib types module

Ah, forgot to include it in the commit; error for reference
Traceback (most recent call last):
  File "/usr/bin/mypy", line 33, in <module>
    sys.exit(load_entry_point('mypy==0.812', 'console_scripts', 'mypy')())
  File "/usr/lib/python3.9/site-packages/mypy/__main__.py", line 11, in console_entry
    main(None, sys.stdout, sys.stderr)
  File "/usr/lib/python3.9/site-packages/mypy/main.py", line 90, in main
    res = build.build(sources, options, None, flush_errors, fscache, stdout, stderr)
  File "/usr/lib/python3.9/site-packages/mypy/build.py", line 179, in build
    result = _build(
  File "/usr/lib/python3.9/site-packages/mypy/build.py", line 253, in _build
    graph = dispatch(sources, manager, stdout)
  File "/usr/lib/python3.9/site-packages/mypy/build.py", line 2638, in dispatch
    process_graph(graph, manager)
  File "/usr/lib/python3.9/site-packages/mypy/build.py", line 2955, in process_graph
    process_fresh_modules(graph, prev_scc, manager)
  File "/usr/lib/python3.9/site-packages/mypy/build.py", line 3033, in process_fresh_modules
    graph[id].fix_cross_refs()
  File "/usr/lib/python3.9/site-packages/mypy/build.py", line 1977, in fix_cross_refs
    fixup_module(self.tree, self.manager.modules,
  File "/usr/lib/python3.9/site-packages/mypy/fixup.py", line 26, in fixup_module
    node_fixer.visit_symbol_table(tree.names, tree.fullname)
  File "/usr/lib/python3.9/site-packages/mypy/fixup.py", line 77, in visit_symbol_table
    stnode = lookup_qualified_stnode(self.modules, cross_ref,
  File "/usr/lib/python3.9/site-packages/mypy/fixup.py", line 301, in lookup_qualified_stnode
    return lookup_fully_qualified(name, modules, raise_on_missing=not allow_missing)
  File "/usr/lib/python3.9/site-packages/mypy/lookup.py", line 47, in lookup_fully_qualified
    assert key in names, "Cannot find component %r for %r" % (key, name)
AssertionError: Cannot find component 'A@146' for 'my.core.serialize.A@146'


Unexpected IndexError on a grammar

Hi,
An issue https://github.com/aas-core-works/abnf-to-regexp/issues/26 has been raised for our tool, abnf-to-regexp, which I think that might be due to the bug in this module.
Namely, the attached grammar, grammar.abnf.txt raises an IndexError whereas I'd expected a parsing error.
Do you have any pointers about what to do with this issue?

Here is a short code snippet for you to reproduce the issue:
import pathlib

import abnf

text = pathlib.Path("grammar.abnf.txt").read_text()
text = text.replace("\r", "")

if not text.endswith("\n"):
    text = text + "\n"

text = text.replace("\n", "\r\n")

class OurRule(abnf.Rule):
    """Represent our ABNF rule list read from a file."""

    pass

node = abnf.parser.ABNFGrammarRule("rulelist").parse_all(text)
visitor = abnf.parser.ABNFGrammarNodeVisitor(rule_cls=OurRule)
visitor.visit(node)

You have found a bug in CharValNodeVisitor that resulted in the node generated by parsing the quoted string '""' incorrectly.  I will push out a fix soon.

This is fixed in https://github.com/declaresub/abnf/commit/d40d9659b067191d5d29117b24e1dc218645a087.  Thanks for breaking my code.

@declaresub thanks for the fix! Do you plan to release a patch version soon?

Sure; I will do it now.

ABNF 2.0.1 is now up at pypi.

@declaresub thanks a lot!


Audio Classifier dyid issue

I am trying to add an audio classifier I made with turicreate, but I keep getting the following error:
dyld: Library not loaded: /Users/zach/builds/1fUgszd-/0/turi/turicreate/release/src/deployment/Release-iphoneos/libAudioPreprocessing.dylib   Referenced from: /private/var/containers/Bundle/Application/FA27715F-2967-46EC-A975-762AD63CF243/Name.app/Name   Reason: image not found
I followed the guide to the T, but still am getting this issue. Any advice? Running the latest XCode in MacOS. I had no issues using other models created through other means, but the issue clearly is with how to properly add libaudioProprocessing.dylib to my project.
Also, please note that in the following line:
/Users/zach/builds/1fUgszd-/0/turi/turicreate/release/src/deployment/Release-iphoneos/libAudioPreprocessing.dylib
This directory does not exist on my computer, so I am not sure why it is looking there.
I am building to a physical device and using the arm64 .dylib.

@JBall1 - When during the deployment instructions are you seeing this error? When you compile? When you drag the dylib into Xcode?
The code for this dylib is publicly available. Adding the code directly to your application would probably be a quick workaround.

The issue occurred at compile time but adding the files directly into the application and removing the dylib fixed the issue. Thank you!


Fix strict hole sort

todo: fix sort lattice issue

this will fix the recurring issue #1692

@andreistefanescu please review

Hold on a sec. This is a change being made to the core compilation pipeline in order to solve an issue in the Java backend. That seems strange to me, and in particular I don't know how this change will affect the C semantics. Can you justify the change to the core of the K language by explaining how the passes worked before and after, and why you think they behaved incorrectly before?

This change preserves the sort information for heating/cooling rules, thus making the sort information consistent across all rules. You are free to discard it in the ocaml backend.

Okay, that sounds like a good change, but I was looking for more
information. More concretely, what is the change made to the semantics of
strict and contexts? Like, what rules were generated before and after the
change? How was consistency violated in the old semantics?
On Sep 22, 2015 7:59 PM, "Andrei Stefanescu"<EMAIL_ADDRESS>wrote:

This change preserves the sort information for heating/cooling rules, thus
making the sort information consistent across all rules. You are free to
discard it in the ocaml backend.
—
Reply to this email directly or view it on GitHub
https://github.com/kframework/k/pull/1743#issuecomment-142465279.

Let's say you would manually write a heating rule:
HOLE + K => HOLE ~> freezerPlus(K)    requires notBool isKResult(HOLE)    [heat]
Then the sort inferencer would infer the sorts Exp for K and HOLE, which the java backend would use, and the ocaml backend would discard. Before the change, the heating rules were generated without this inferred sort information. This leads to a bunch of small issues, that both me and @daejunpark hit. This change should add the inferred sort information to the rule.

Oh, okay, I see. In that case, can you please disable this change if the
user passes the --non-strict flag?
On Sep 22, 2015 8:17 PM, "Andrei Stefanescu"<EMAIL_ADDRESS>wrote:

Let's say you would manually write a heating rule:
HOLE + K => HOLE ~> freezerPlus(K) requires notBool isKResult(HOLE) [heat]
Then the sort inferencer would infer the sorts Exp for K and HOLE, which
the java backend would use, and the ocaml backend would discard. Before the
change, the heating rules were generated without this inferred sort
information. This leads to a bunch of small issues, that both me and
@daejunpark https://github.com/daejunpark hit. This change should add
the inferred sort information to the rule.
—
Reply to this email directly or view it on GitHub
https://github.com/kframework/k/pull/1743#issuecomment-142467233.

The sort preservation is disabled, thus this change has no effect, when --non-strict option is given.

lgtm


Imported styles from component that uses the styles as well are not applied

Version
styled-components: 3.1.6
Steps to reproduce
https://stackblitz.com/edit/react-sx8q29
Expected Behavior
Want both components to display the same inherited styles.
Actual Behavior
Styling is only applied on the the component where the styles (background) are defined.

You're importing the component, not the fragment:
-import background from './Hello'
+import { background } from './Hello'

OK sorry for that, that was unintentional.
Correctly importing the fragment incur the same issue, here's an updated code sample
https://stackblitz.com/edit/react-mssand?file=World.js

That's probably because you have a cyclical dependency, which means webpack will resolve background to undefined. See https://github.com/webpack/webpack/issues/1788 for tips on how to resolve that.

Alright thanks, I see.
I assume detecting circular dependency isn't a styled-component concern, but it had been so useful if an error was thrown.
When styles are reaching target component, but not getting applied and no errors - it's easy (for beginners like me) to hunt bugs for a handful of hours in vain 😳

Hehe sorry about that—circular dependencies are unfortunately a bit of a pain with webpack right now!


@aswin check if events are loading. Also make repo public

We anyways have not designed the homepage yet? Where are you thinking of linking it in front end?
I can do an achor tag on "events" title.

new frontend pe testing karenge achhe se, fir daalenge..


Block search indexing

I want to use this in an admin portal. There should be search index blocking by default or at least as an option in the UI HTML.
<meta name="robots" content="noindex">

Sounds reasonable, can you prepare a PR with it? :]

Sure thing.
https://github.com/felixmosh/bull-board/pull/351

Thank you 🙏🏼
Released in v3.7.2


How to change materials for Mobile Support?

How can I easily change the materials for the mobile theme?

Mobile Users please uncheck the “material quality level switch” temporarily to change materials in the autoshader. It is located just under the RVT activation option.


Mirel

What you were trying to do
What actually happened
How to reproduce

Step 1
Step 2
Step 3

Log details and game version
Computer details

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/39398520-mirel?utm_campaign=plugin&utm_content=tracker%2F5279&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F5279&utm_medium=issues&utm_source=github).

Good


Project init

defined routes to pages
code-splitting implemented
worked on file structure
provided documentation in Project_Structure.md file about file structure

closes #407

after this gets merge I can make the Editor page using reusable components(like sliders are used more than one once which opens an opportunity to make a resusable component)

after this gets merge I can make the Editor page using reusable components(like sliders are used more than one once which opens an opportunity to make a resusable component)

I am sure that this file structure makes the code more organized and less confusing. for example: components related to only a single page are put in that page directory's level component folder instead of project level component folder (in src folder).  people now dont need to find their component related to a page in project level components folder because instead of putting all the components in the project level component folder it is present in its page level component folder.
I lea

I am sure that this file structure makes the code more organized and less confusing. for example: components related to only a single page are put in that page directory's level component folder instead of project level component folder (in src folder).  people now dont need to find their component related to a page in project level components folder because instead of putting all the components in the project level component folder it is present in its page level component folder.
I lea

sir please consider my PR for DWOC. I am currently working to improve my DWoC ranking. i am currently ranked19😐. Just making a good linkedin profile😅

sir please consider my PR for DWOC. I am currently working to improve my DWoC ranking. i am currently ranked19😐. Just making a good linkedin profile😅

@smaranjitghose. Sir, the last commit fixed a deployment error. but another deployment error showed up. It is given below.
remote: Permission to smaranjitghose/doc2pen.git denied to github-actions[bot]. fatal: unable to access 'https://github.com/smaranjitghose/doc2pen/': The requested URL returned error: 403 Error: Process completed with exit code 128.
Is there some fault in my code or is this some bug. Can you please tell me about this. I will try to avoid that mistake in my next PRs.

@smaranjitghose. Sir, the last commit fixed a deployment error. but another deployment error showed up. It is given below.
remote: Permission to smaranjitghose/doc2pen.git denied to github-actions[bot]. fatal: unable to access 'https://github.com/smaranjitghose/doc2pen/': The requested URL returned error: 403 Error: Process completed with exit code 128.
Is there some fault in my code or is this some bug. Can you please tell me about this. I will try to avoid that mistake in my next PRs.

@smaranjitghose. Sir, please consider my PR for DWOC. I am currently working to improve my DWoC ranking. I am currently ranked19😐.
I am Just trying make a good linkedin profile😅.

Do not write these messages.  Just request the labels, either me and @anushbhatia will definitely give that.  Delete that message too

@smaranjitghose. Sir, please consider my PR for DWOC. I am currently working to improve my DWoC ranking. I am currently ranked19😐.
I am Just trying make a good linkedin profile😅.

Do not write these messages.  Just request the labels, either me and @anushbhatia will definitely give that.  Delete that message too

@smaranjitghose. Sir, please consider my PR for DWOC. I am currently working to improve my DWoC ranking. I am currently ranked19😐.
I am Just trying make a good linkedin profile😅.

Do not write these messages.  Just request the labels, either me and @anushbhatia will definitely give that. Delete that message too

ok sir😅.

@smaranjitghose. Sir, please consider my PR for DWOC. I am currently working to improve my DWoC ranking. I am currently ranked19😐.
I am Just trying make a good linkedin profile😅.

Do not write these messages.  Just request the labels, either me and @anushbhatia will definitely give that. Delete that message too

ok sir😅.


Removed unnecessary Setter in InventorySample NavigationView default UWP Style

Removed unnecessary Setter in InventorySample NavigationView default UWP Style
Removed PaneButtonGrid.Margin in the VisualState Setters for the default UWP NavigationView Style.
PaneButtonGrid does not exist in the NavigationView template and in the code behind of the control.

Related to those previous PRs :

WinUI : https://github.com/Microsoft/microsoft-ui-xaml/pull/46
WindowsCommunityToolkit : https://github.com/windows-toolkit/WindowsCommunityToolkit/pull/2706

Thanks !


How to check the actual location where the model file is saved, and the directory queried by 'ollama list'

What is the issue?
encountered an error while using the new model minicpm-v #6751，still this issue...
Since installing minicpm-v, my ollama version has always stayed at 0.3.6. My problem #6751 has never been solved. I have completely deleted ollama, restarted windows, and reinstalled ollama. As long as minicpm-v is relisted , my version became 0.3.6, and the OLLAMA_MODELS setting became invalid, and I don’t know where the new model was downloaded.
Here's what I painfully tried...
ollama -v
ollama version is 0.3.6
Warning: client version is 0.4.2
in #6751, my client version was 0.3.10, and now 0.4.2, but the server version is always 0.3.6....
ollama rm minicpm-v:latest
Error: unable to stop existing running model "minicpm-v:latest": llama runner process has terminated: GGML_ASSERT(new_clip->has_llava_projector) failed
I want to remove it ,no way.
ollama run minicpm-v:latest
Error: llama runner process has terminated: GGML_ASSERT(new_clip->has_llava_projector) failed
Obviously run won’t work either.

Directory set by OLLAMA_MODELS ,no minicpm-v files

The default user/.ollama directory has no models directory.

But 'ollama list' can search it out, but it can only be created, not deleted, or used.
What I want to do most now is to delete these three damn models and not list them. I can list them on the command line of this machine, but when calling from the clients, even the list will report an error. Please tell me how to find their location and delete them permanently, or how to clean up all the environment when uninstalling ollama, so that I can get rid of the pain.
OS
Windows
GPU
Nvidia
CPU
Intel
Ollama version
0.4.2

You have two ollama servers running.  Have you previously installed ollama in WSL?

thx @rick-github


Sync eng/common directory with azure-sdk-tools for PR 8746

Sync eng/common directory with azure-sdk-tools for PR https://github.com/Azure/azure-sdk-tools/pull/8746  See eng/common workflow

/azp run js - keyvault - ci

/azp run js - test-utils - ci

/azp run js - template - ci


blue screen when installing OutlookPrivacyPlugin-BETA-38

I am receiving a blue screen during the install

this should not be related to OPP plugin. Sounds like you have other issues.


Add hacktoberfest topic to ITK repository

I want a t-shirt! :smile:  https://hacktoberfest.digitalocean.com/

🤣 thanks for the support @thewtex!


Does Clickhouse JDBC support importing data in Protobuf or CapnProto formats to Clickhouse ?

Hi guys:
I want to ingest data in Protobuf or CapnProto formats to clickhouse via clickhouse jdbc. But I cant find any demo on Google.  Does Clickhouse JDBC support importing data in Protobuf or CapnProto formats to Clickhouse ?  And how ?
Thanks.

import ru.yandex.clickhouse.ClickHouseStatement;

ClickHouseStatement sth = connection.createStatement();
sth
    .write()
    .sql("INSERT INTO default.my_table (a,b,c) format Protobuf")
    .data(myCustomInputStreamWithProtobuf)
    .send();

@den-crane thx


Undefined property: stdClass::$pagination

i dont understand how i can do the pagination for getPopularMedia()
code of my controller is
$popular = $this->instagram->getPopularMedia();
$testp = $this->instagram->pagination($popular);

when i return $testp i get a Undefined property: stdClass::$pagination error
what am i doing wrong ?

Please open an issue at the base package repository https://github.com/cosenary/Instagram-PHP-API/issues/new


update doc link for onboarding PRs

Checklist:

PR has reference to the issue(s) it resolves
Write / update unit tests
Write / update integration (envtest) tests
Ensure there is an issue for e2e tests if needed
Ensure make test passes
Ensure test coverage hasn't decreased
Test code changes manually
Update readme and documentation
Write PR description that highlights overall changes and add usage examples if applicable

Merging the PR as the failures are unrelated to the changes (which are non-funcitonal).


Wrong version

This is written down in my composer.json
"sensio/framework-extra-bundle": "^3.0.2",
this means, that everything below 3.1 is allowed. Why do I get a PR like this?

It could create many version PR's ofc, like:

3.0.36 -> 3.0.37 (just an example, don't know yet if this version exists)
3.0.36 -> 4.0.0
3.0.36 -> 5.0.21

to see if the tests fail or not

Here's the thinking on this one:

Dependabot creates PRs to get you to the latest version that your composer.json can resolve to.
It doesn't honour the specified requirements in your composer.json for a couple of reasons:

people specify constraints in very different ways (some tightly, some loosely), often without thinking through the consequences in great detail. In many cases, they'd get unexpected results from Dependabot if we did honour the constraints
we hope it's generally useful to get a reminder when a new major version is released, even if you don't update to it
most dependencies have a single supported major version, and aren't releasing patch versions for older releases (the exceptions are obviously the really big frameworks)

The above definitely isn't perfect

it can be a pain when you're first using Dependabot, as you probably want to upgrade one major version at a time. We should definitely do something to make that easier, but don't support it yet.
it can also be a pain if you really don't want to upgrade, for whatever reason. Dependabot has an ignore this major version feature that hopefully helps handle that one.

Basically, it's what we've got for now, but we can definitely do better in future. I'm going to close this, but will keep it in mind and you're welcome to open a feature request on https://github.com/dependabot/feedback.

Thank you for the detailed feedback 👍

@OskarStark - there are actually a couple of improvements on this one since it was originally opened:

You can now ask Dependabot not to update your composer.json in the update config settings in your account dashboard (click the down arrow next to "Bump now").
For some languages (Java and Python) Dependabot will still give you updates to previous major version lines if you've asked to ignore a subsequent major version. I could roll that out to PHP relatively straightforwardly if it would help?

👍 - if I get lots of requests to do that I'll switch over. I've also implemented the ability for Dependabot to respect ignore conditions (specified by commenting @dependabot ignore this major version) when generating updates in this PR, which should be good to deploy today.
Thanks for the feedback, as ever! 😄


Wiki mia staff thing not working correctly

When I was trying to direct a player to the Pixelmon wiki for how to make a camera by saying Mia Pixelmon wiki camera in chat, my name and all of my tags were added into the search.

I tried reproducing it 1-2 hours later and it worked perfectly fine but thought you might want to know.

If it can be reproduced at all then I'll take a look, but nothing jumps out at me as a cause yet

am thinking it either took the full line, or something went particularly wrong that day. Closing because I can't reproduce.


Creation API

Fixes #3 and #4.
Depends on #8, but changes there will be rebased onto here as necessary.
Implements:

COALA IP models
COALA IP creation functionality
Plugin discovery, ala setuptool's entry points
Tests for the above with a mocked plugin

TODO:

[x] Handle error cases
[ ] Add more docs/ documentation

@TimDaub @diminator @vrde The code's not quite ready for review, but just wanted a first pass over the API to make sure everything's sane:

The package exposes a coalaip.models module that contains the entity models (which just marshall around some given data with light sanity checks and linked data sprinkling)
The actual module people should interact with is coalaip.coalaip (exported through __init__.py), which has higher-level functions that take in data and return instances of the models. These include:

create_user: Create and return a new user on the given plugin
register_manifestation: Register a new manifestation, returning the automatically registered Copyright, Manifestation, and Creation models
derive_right: Derive a right from a Copyright (can ignore for now)
transfer_right: Transfer a right (derived or Copyright) (can ignore for now)
bind_plugin: Given a plugin, return a coalaip instance whose top level functions (the ones above) already have the plugin bound to them, for ease of use

In terms of architecture I'm really happy with how this looks. Great job :+1:

Current coverage is 62.64% (diff: 62.20%)

Merging #9 into master will decrease coverage by 37.35%

@@           master         #9   diff @@
========================================
  Files           2          7     +5
  Lines          13        174   +161
  Methods         0          0
  Messages        0          0
  Branches        0          0
========================================
+ Hits           13        109    +96
- Misses          0         65    +65
  Partials        0          0

Powered by Codecov. Last update 53aac0a...8b057f8

Docs and further tests to be added later.


Where is the  'data.pkl'

I thoroughly searched the whole packege, I can't find the source of the  'data.pkl' in file 'dataset_split.py'. Could you please tell me how to produce the data.pkl or what is actually in you data.pkl?

Fine, Thanks for ur asking. I will later upload the whole process of data preprocessing!

I have uploaded the Data.md which can help u to reproduce the data.pkl and other data files.


Trivy scheduled scanning

Hi there!
I was trying to force a scheduled scanning natively, i read on this page:

https://aquasecurity.github.io/trivy-operator/v0.3.0/operator/

That this is something planned into the next features, is there a GH issue that i can follow to see the status of the implementation?
The end goal would be something like:

Schedule scan for the entire Kubernetes cluster or specified namespaces
Plus, but this could be done outside Trivy with a custom implementation, notify the results of the scans (e.g. email or webhook)

This would cover most of the needs on security operation side
Thank you for your time

@fnzv you can schedule a scan as its event base , every time a new resource is deployed then a new scan is triggered

Hi @chen-keinan
Thank you for your reply, could you share with me the documentation related to that?

Hi @chen-keinan Thank you for your reply, could you share with me the documentation related to that?

here is the flag to control report TTL

Okk perfect thank you for that, i will go through the helm chart values and test it


Update README.md to add required packages

Tested on a fresh Arch install on WSL2
Assumes you have already installed git (how else would you get the repo?) but nothing else.

Just realised this doesn't cover step 2,
I'm not sure if its worth adding how to build and install qemu-user-static-bin from AUR, a link to the Wiki sounds a better idea.

Similar to git, i expect base-devel to be installed anyway. Nevertheless, it is an improvement, so thanks!


quarkus master split

Move Kubernetes cluster service to its own module
Move FileLock cluster service to its own module

@jamesnetherton @zhfeng what should I do with this ? I can temporarily rework the example not to require any cluster service extension

I can temporarily rework the example not to require any cluster service extension if it makes sense

If you're ok leaving this PR open until after we get the 3.9.0 release completed (hopefully tomorrow / thursday), then afterwards we can just merge this and immediately adjust the example project.

no objections

https://github.com/apache/camel-quarkus-examples/pull/204


How to render multiple objects in DIRT.

Hi~ Can DIRT support rendering multiple objs at the same time?
The demo code only provides the scene containing one object.
pixels = dirt.rasterise_deferred(
        vertices=cube_vertices_clip,
        vertex_attributes=tf.concat([
            tf.ones_like(cube_vertices_object[:, :1]),  # mask
            cube_uvs,  # texture coordinates
            cube_normals_world  # normals
        ], axis=1),
        faces=cube_faces,
        background_attributes=tf.zeros([frame_height, frame_width, 6]),
        shader_fn=shader_fn,
        shader_additional_inputs=[texture, light_direction]
    )

Thanks in advance!

Yes, because DIRT only renders triangles, it doesn't have any concept of grouping them into "objects". So you need to do all your geometry calculations, transformations, etc. on each object separately, then concatenate everything together before calling rasterise_deferred.
Specifically

vertices should just be concatenated
faces should be concatenated, and the vertex indices 'shifted' to point to the correct part of vertices and vertex_attributes, e.g. for two objects, the second half of faces should point to the second half of vertices

If using textures, the simplest method is

the textures themselves should be concatenated along x-axis
vertex_attributes should be concatenated, and attributes that correspond to texture coordinates (UVs) should be adjusted according to how the textures were concatenated, e.g. for two objects and textures concatenated along x-axis, the u-coordinates in vertex_attributes should be halved, and for the 2nd object shifted by +0.5 to use the 2nd half of the concatenated texture

Hi~ Thanks!
I successfully make it for objects without texture:

I just concatenated vertices and faces at very begin:
# This is a simple example rendering a 3D cube in Dirt

import tensorflow as tf
import cv2  # OpenCV, used only to display the result

import dirt
import dirt.matrices as matrices
import dirt.lighting as lighting

frame_width, frame_height = 640, 480

def build_cube():
    vertices = [[x, y, z] for z in [-1, 1] for y in [-1, 1] for x in [-1, 1]]
    quads = [
        [0, 1, 3, 2], [4, 5, 7, 6],  # back, front
        [1, 5, 4, 0], [2, 6, 7, 3],  # bottom, top
        [4, 6, 2, 0], [3, 7, 5, 1],  # left, right
    ]
    triangles = sum([[[a, b, c], [c, d, a]] for [a, b, c, d] in quads], [])
    return vertices, triangles

def unit(vector):
    return tf.convert_to_tensor(vector) / tf.norm(vector)

import numpy as np
def main():

    # Build the scene geometry, which is just an axis-aligned cube centred at the origin in world space
    # We replicate vertices that are shared, so normals are effectively per-face instead of smoothed
    cube_vertices_object, cube_faces = build_cube()
    cube_vertices_object =np.array(cube_vertices_object)/10.
    V, F = build_cube()
    V =np.array(V)/10. + 1
    F =np.array(F,int)
    F = F + cube_vertices_object.shape[0] # shift it
    cube_vertices_object = np.concatenate((cube_vertices_object,V),axis=0)
    cube_faces = np.concatenate((cube_faces,F),axis=0)

    cube_vertices_object = tf.constant(cube_vertices_object, dtype=tf.float32)
    cube_vertices_object, cube_faces = lighting.split_vertices_by_face(cube_vertices_object, cube_faces)
    cube_vertex_colors = tf.ones_like(cube_vertices_object)

    # Convert vertices to homogeneous coordinates
    cube_vertices_object = tf.concat([
        cube_vertices_object,
        tf.ones_like(cube_vertices_object[:, -1:])
    ], axis=1)

    # Transform vertices from object to world space, by rotating around the vertical axis
    cube_vertices_world = tf.matmul(cube_vertices_object, matrices.rodrigues([0., 0.5, 0.]))

    # Calculate face normals; pre_split implies that no faces share a vertex
    cube_normals_world = lighting.vertex_normals_pre_split(cube_vertices_world, cube_faces)

    # Transform vertices from world to camera space; note that the camera points along the negative-z axis in camera space
    view_matrix = matrices.compose(
        matrices.translation([0., -1.5, -3.5]),  # translate it away from the camera
        matrices.rodrigues([-0.3, 0., 0.])  # tilt the view downwards
    )
    cube_vertices_camera = tf.matmul(cube_vertices_world, view_matrix)

    # Transform vertices from camera to clip space
    projection_matrix = matrices.perspective_projection(near=0.1, far=20., right=0.1, aspect=float(frame_height) / frame_width)
    cube_vertices_clip = tf.matmul(cube_vertices_camera, projection_matrix)

    # Calculate lighting, as combination of diffuse and ambient
    vertex_colors_lit = lighting.diffuse_directional(
        cube_normals_world, cube_vertex_colors,
        light_direction=[1., 0., 0.], light_color=[1., 1., 1.]
    ) * 0.8 + cube_vertex_colors * 0.2

    pixels = dirt.rasterise(
        vertices=cube_vertices_clip,
        faces=cube_faces,
        vertex_colors=vertex_colors_lit,
        background=tf.zeros([frame_height, frame_width, 3])*255,
        width=frame_width, height=frame_height, channels=3
    )
    print(pixels.shape)
    save_pixels = tf.write_file(
        'double.jpg',
        tf.image.encode_jpeg(tf.cast(pixels * 255, tf.uint8))
    )
    session = tf.Session()
    with session.as_default():
        save_pixels.run()
if __name__ == '__main__':
    main()

But when I make the similar change for textured objects. I am confused.

the textures themselves should be concatenated along x-axis. vertex_attributes should be concatenated, and attributes that correspond to texture coordinates (UVs) should be adjusted according to how the textures were concatenated, e.g. for two objects and textures concatenated along x-axis, the u-coordinates in vertex_attributes should be halved, and for the 2nd object shifted by +0.5 to use the 2nd half of the concatenated texture.

For the multiple objects with texture. I write my code based on the code "samples/textured.py".
At first, I just set:
 V = np.loadtxt('/home/frank/Documents/MATLAB/V.txt')
    F = np.loadtxt('/home/frank/Documents/MATLAB/F.txt').astype(int)
    UV = np.loadtxt('/home/frank/Documents/MATLAB/UV.txt')
    TF = np.loadtxt('/home/frank/Documents/MATLAB/TF.txt').astype(int)

    V2 = np.loadtxt('/home/frank/Documents/MATLAB/V2.txt')
    F2 = np.loadtxt('/home/frank/Documents/MATLAB/F2.txt').astype(int)
    UV2 = np.loadtxt('/home/frank/Documents/MATLAB/UV2.txt')
    TF2 = np.loadtxt('/home/frank/Documents/MATLAB/TF2.txt').astype(int)

    [V_new, F_new, UV_new] = convert_2_pervertex_uv(V, F, UV, TF)
    [V_new2, F_new2, UV_new2] = convert_2_pervertex_uv(V2, F2, UV2, TF2)
    UV_new[:,1]*=-1
    UV_new2[:,1]*=-1

    F_new2 = F_new2 + V_new.shape[0]
    V_new = np.concatenate((V_new, V_new2), axis=0)
    F_new = np.concatenate((F_new, F_new2), axis=0)
    UV_new = np.concatenate((UV_new,UV_new2),axis=0)

    # Build the scene geometry, which is just an axis-aligned cube centred at the origin in world space
    cube_vertices_object = V_new
    cube_uvs = UV_new
    cube_faces = np.asarray(F_new,np.int64)

    cube_vertices_object = np.asarray(cube_vertices_object, np.float32)
    cube_uvs = np.asarray(cube_uvs, np.float32)

The geometry is right. Yet the texture is wrong.

vertex_attributes should be concatenated, and attributes that correspond to texture coordinates (UVs) should be adjusted according to how the textures were concatenated, e.g. for two objects and textures concatenated along x-axis, the u-coordinates in vertex_attributes should be halved, and for the 2nd object shifted by +0.5 to use the 2nd half of the concatenated texture

If I have two objects, should I stitch the two texture jpg files up and down (along x-axis)?
I am still a little confused about:
the u-coordinates in vertex_attributes should be halved, and for the 2nd object shifted by +0.5 to use the 2nd half of the concatenated texture

Looking forward to your reply.
And can you give me a demo if it is possible?
Thanks in advance!
Best,
Frank

For example, if I have two texture.jpg which are both 2048 2048.
I just stack them up and down (along x-axis). Then the result is 2048 * 4056.
Should I resize the result back to 20482048?

Thanks! Follow your guidance I successfully made it.
Thanks again!


https://mylight.website/

Would be so much lighter without those huge web fonts. But I agree that they look great!

Would be so much lighter without those huge web fonts. But I agree that they look great!

Yep, 75KB of the total size (84.7KB) is fonts. I wouldn't call them "huge" though, and the aesthetic they add is worth it, I thought. :-)
https://gtmetrix.com/reports/mylight.website/ECGde82U/


[SPARK-45827][SQL] Move data type checks to CreatableRelationProvider

What changes were proposed in this pull request?
In DataSource.scala, there are checks to prevent writing Variant and Interval types to a CreatableRelationalProvider. This PR unifies the checks in a method on CreatableRelationalProvider so that data sources can override in order to specify a different set of supported data types.
Why are the changes needed?
Allows data sources to specify what types they support, while providing a sensible default for most data sources.
Does this PR introduce any user-facing change?
The error message for Variant and Interval are now shared, and are a bit more generic. The intent is to otherwise not have any user-facing change.
How was this patch tested?
Unit tests added.
Was this patch authored or co-authored using generative AI tooling?
No.

@cloud-fan Thanks for the review! I've updated with your feedback.

thanks, merging to master!


[BUG] Bloxstrap not installed

Acknowledgement of preliminary instructions

[x] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[X] I did not answer truthfully to all the above checkboxes.

Bloxstrap Version
v2.7.0
What problem did you encounter?
When i installing bloxstrap via Wave executor he writing me error

Bloxstrap Log
System.AggregateException: One or more errors occurred. (The given key 'content-platform-dictionaries.zip' was not present in the dictionary.)

[Inner Exception]
System.Collections.Generic.KeyNotFoundException: The given key 'content-platform-dictionaries.zip' was not present in the dictionary.

Update to v2.8.1

bro but wave version 2.8.0 and he uses 2.7.0


Template disappears after uploading a same template to CDN

Steps to reproduce:

Download apache 2 template from CDN.
Upload it to CDN — there will be an error failed to upload.
Then download it again. You'll get this:

I still face exactly the same error.

Done on sysnet.

Fixed on master.


Add min and max options to integer coercion

I recently thought of a use case where I saw a form that had a "number of testers" input that shouldn't be negative, so this could come in handy.
Any thoughts about adding min and max to float? I couldn't think of a concrete use case, but there may be some out there.

@jemc I'll merge this PR as is, and make a new one for float(min:, max:)


docker: add ninja-build

Summary
Add ninja-build to docker in order to support CMake ninja generation
Impact
None, not used in mainline
Testing
CI

There's a failure that I'm not sure why is happening here: https://github.com/apache/incubator-nuttx/runs/2568398269?check_suite_focus=true#step:7:202
Seems to be on spressense.

ok, thanks!