create snakemake workflow

Implementing first version in https://github.com/c-scale-community/use-case-hisea/tree/Snakefile_python2docker
Some to do's:

[ ] make dates in Snakefile dynamic
[ ] specify data_loc in config.yml
[ ] specify .pli files in config.yml
[ ] always create as new folder by date when running the workflow

Hi @sebastian-luna-valero and @lorincmeszaros,
I've created a first near-complete version of the Snakefile. You can find it here if you want to test it. Note I've been working in Snakefile_python2docker branch.
My next step is to make the 23-01-23 date that I use throughout the Snakefile, e.g. in the *.log, *.done and foldernames dynamic. The idea I have is that if I run the workflow today it creates e.g. 23-03-03_blah_blah.log, 23-03-03_blah_blah.done and foldernames with today's date.
This way we create a new folder each time we run the workflow, i.e. we can keep the input data and model output for analysis later.
There are probably also improvements that can be made, e.g. snakemake can automatically create folders if they are defined under output: in the Snakefile.
Let me know if it works for you. And what improvement suggestions you have.
Thanks
Björn

@backeb double check that all the rules work, and also that the necessary folders are created if they don't exist.

Thanks @backeb !
My comments so far:

Replace ouput with output in  https://github.com/c-scale-community/use-case-hisea/blob/Snakefile_python2docker/workflow/Snakefile#L284
In rule download_era5, the default location of the .cdsapirc file should be generic; i.e., ${HOME}/.cdsapirc. I see that's not easy to do, but I will try to find a solution.

I'm thinking we could also specify some folders in config.yml

Try the following to make 2023-01-23, --date_min {params.date_min} and --date_max {params.date_max} dynamic
import datetime

# Compute the current date
now = datetime.datetime.now()
current_date = now.strftime("%Y-%m-%d")

# Compute the date range
delta = datetime.timedelta(days=7)
date_min = (now - delta).strftime("%Y-%m-%d")
date_max = now.strftime("%Y-%m-%d")

rule download_era5:
    input:
        "/home/centos/.cdsapirc"
    output:
        touch("workflow/logs/{current_date}_download_era5.done")
    log:
        "workflow/logs/{current_date}_download_era5.log"
    params:
        lon_min = config['lon_min'],
        lon_max = config['lon_max'],
        lat_min = config['lat_min'],
        lat_max = config['lat_max'],
        date_min = date_min,
        date_max = date_max
    shell:
        """
        sudo docker run \
            -v {input}:/root/.cdsapirc \
            -v /home/centos/data/download/{current_date}:/data \
            download-input python download_era5.py \
                --longitude_min {params.lon_min} \
                --longitude_max {params.lon_max} \
                --latitude_min {params.lat_min} \
                --latitude_max {params.lat_max} \
                --date_min {params.date_min} \
                --date_max {params.date_max}
        """

rule postprocess_raw_data: give the following error:
Traceback (most recent call last):
  File "/root/nc2regularGrid_listComprehension.py", line 1, in <module>
    from dfm_tools.get_nc import get_netdata, get_ncmodeldata
ImportError: cannot import name 'get_netdata' from 'dfm_tools.get_nc' (/opt/conda/envs/env/lib/python3.8/site-packages/dfm_tools/get_nc.py

Likely to do with changes made in dfm_tools.
For now have commented out rule postprocess_raw_data: in the Snakefile.

@backeb make all the below rules dynamic following the approach in https://github.com/c-scale-community/use-case-hisea/issues/43#issuecomment-1460331411

[ ] rule download_era5:
[ ] rule download_cmems_physics:
[ ] rule download_cmems_biogeochemistry:
[ ] rule preprocess_era5:
[ ] rule create_random_DFMWAQ_folder:
[ ] rule preprocess_cmems:
[ ] rule preprocess_fes2012:
[ ] rule copy_preprocessed_data_to_model_input_folder:
[ ] rule run_delft3dfm:
[ ] rule cleanup_model_input_folder:
[ ] rule move_raw_data_to_output_folder:
[ ] rule cleanup_model_folder:

Thanks!
My comments:

although the idea to automatically capture the current date is cool, I am not sure I like having python code in the Snakefile for this purpose...
also, would it not be better to specify the desired date via an input parameter? instead of taking it automatically?
I am sorry I didn't have the time to look into this, but I still believe that we should have something like cdsapirc_loc: ${HOME}/.cdsapirc instead of cdsapirc_loc: /home/centos/.cdsapirc in config.yml. Currently I am having issues when using environment variables in the config.yml, but I would like to understand why.

xref: https://github.com/snakemake/snakemake/issues/2166

Thanks @sebastian-luna-valero
Some quick responses:

although the idea to automatically capture the current date is cool, I am not sure I like having python code in the Snakefile for this purpose...

Maybe this is a pythonic way of doing things? 😀
It would be nice to maybe leverage bash and use something like $(date) in the config.yml instead.

also, would it not be better to specify the desired date via an input parameter? instead of taking it automatically?

 This seemed the easiest way to "automate" that.

I am sorry I didn't have the time to look into this, but I still believe that we should have something like cdsapirc_loc: ${HOME}/.cdsapirc instead of cdsapirc_loc: /home/centos/.cdsapirc in config.yml. Currently I am having issues when using environment variables in the config.yml, but I would like to understand why.

No worries, I'm also interested in understanding that, since that would help us to also define dates automatically in the config.yml instead of having to switch between configuring things in config.yml and the Snakefile.

Maybe an alternative is to create ‘get_from_config.py’ or rule that creates all the variables needed for the rest of the workflow. That way all the config stuff is kept centrally within ‘config.yml’

xref: snakemake/snakemake#2166

potential solution: https://github.com/snakemake/snakemake/issues/2166#issuecomment-1463520411

I've made a small command-line tool to update RadSurf_daily.tim: I've put it in scripts/workarounds/update_existing_RadSurf_daily_dot_tim.py.

[ ] add snakemake rule in Snakefile

ok, change below works to make '${HOME}/.cdsapirc' portable.
$ git diff
diff --git a/workflow/Snakefile b/workflow/Snakefile
index ede1b86..e628ebd 100644
--- a/workflow/Snakefile
+++ b/workflow/Snakefile
@@ -2,12 +2,12 @@ configfile: "workflow/config.yml"

 rule download_era5:
     input:
-        "/home/centos/.cdsapirc"
     output:
         touch("workflow/logs/2023-01-23_download_era5.done")
     log:
         "workflow/logs/2023-01-23_download_era5.log"
     params:
+        cdsapirc = lambda wc: config['cdsapirc'],
         lon_min = config['lon_min'],
         lon_max = config['lon_max'],
         lat_min = config['lat_min'],
@@ -17,7 +17,7 @@ rule download_era5:
     shell:
         """
         sudo docker run \
-            -v {input}:/root/.cdsapirc \
+            -v {params.cdsapirc}:/root/.cdsapirc \
             -v /home/centos/data/download/2023-01-23:/data \
             download-input python download_era5.py \
                 --longitude_min {params.lon_min} \
diff --git a/workflow/config.yml b/workflow/config.yml
index 08d5fb2..27e6dbd 100644
--- a/workflow/config.yml
+++ b/workflow/config.yml
@@ -1,3 +1,4 @@
+cdsapirc: '${HOME}/.cdsapirc'

Could you please test?

Using wildcards in Snakefile: https://github.com/snakemake/snakemake/issues/2166#issuecomment-1466123779

Hi @sebastian-luna-valero
I'm trying to do something like
rule set_pythonpath:
    params:
        home = lambda wc: "${HOME}"
    shell:
    """
        echo 'export PYTHONPATH="{params.home}/use-case-hisea/scripts/workflow_helpers:{params.home}/use-case-hisea/scripts/delft3dfm_helpers"' >> ~/.bashrc && \
        source ~/.bashrc
    """

but it isn't really working... do you have any idea how I could create a rule that does
export PYTHONPATH="${HOME}/use-case-hisea/scripts/workflow_helpers:${HOME}/use-case-hisea/scripts/delft3dfm_helpers

so that in subsequent rules I can do
from delft3dfm_helpers import get_tref, update_mdu_tstart_tstop and
from workflow_helpers import get_date_range

hi again @sebastian-luna-valero,
nevermind, this worked:
rule set_pythonpath:
    params:
        home = lambda wc: "${HOME}"
    shell:
        """
        if ! grep -qxF 'export PYTHONPATH="{params.home}/use-case-hisea/scripts/workflow_helpers:{params.home}/use-case-hisea/scripts/delft3dfm_helpers"' ~/.bashrc
        then
            echo 'export PYTHONPATH="{params.home}/use-case-hisea/scripts/workflow_helpers:{params.home}/use-case-hisea/scripts/delft3dfm_helpers"' >> ~/.bashrc && \
            if [[ $- == *i* ]]; then source ~/.bashrc; fi
        else
            echo "PYTHONPATH is already set in .bashrc."
        fi
        """

@backeb continue with debugging from snakemake -R download_era5 --cores 1

What about using $(date --iso-8601) instead?

$(date +%Y-%m-%d) or $(date --iso-8601)

Hi @sebastian-luna-valero,
found this: https://unix.stackexchange.com/questions/164826/date-command-iso-8601-option
Think I might stick with $(date +%Y-%m-%d)

Thanks @backeb !
My comments so far:

Replace ouput with output in  https://github.com/c-scale-community/use-case-hisea/blob/Snakefile_python2docker/workflow/Snakefile#L284
In rule download_era5, the default location of the .cdsapirc file should be generic; i.e., ${HOME}/.cdsapirc. I see that's not easy to do, but I will try to find a solution.

Hi @sebastian-luna-valero, thanks for that feedback.
I've been working on trying to make things more dynamic, below the solution I've developed:
configfile: "workflow/config.yml"
data_dir_path = config['data_dir_path']

import datetime

# Get the current date to create folders named for the current to store the data in
now = datetime.datetime.now()
current_date = now.strftime("%Y-%m-%d")

# Get the date range over which to download input data and run the model
# Note ERA5 data used in this example has a 5-day latency
date_min = (now - datetime.timedelta(days=10)).strftime("%Y-%m-%d")
date_max = (now - datetime.timedelta(days=6)).strftime("%Y-%m-%d")

rule download_era5:
    input:
        expand("{cdsapirc_loc}", cdsapirc_loc=config['cdsapirc_loc'])
    output:
        expand("workflow/logs/{current_date}_download_era5.done", current_date=current_date)
    log:
        expand("workflow/logs/{current_date}_download_era5.log", current_date=current_date)
    params:
        lon_min = config['lon_min'],
        lon_max = config['lon_max'],
        lat_min = config['lat_min'],
        lat_max = config['lat_max'],
        date_min = date_min,
        date_max = date_max
    shell:
        """
        sudo docker run \
            -v {input}:/root/.cdsapirc \
            -v {data_dir_path}/download/{current_date}:/data \
            download-input python download_era5.py \
                --longitude_min {params.lon_min} \
                --longitude_max {params.lon_max} \
                --latitude_min {params.lat_min} \
                --latitude_max {params.lat_max} \
                --date_min {params.date_min} \
                --date_max {params.date_max} && \
        touch workflow/logs/{current_date}_download_era5.done
        """

and then in config.yml I've specified:
cdsapirc_loc: "/home/centos/.cdsapirc"
data_dir_path: "/home/centos/data"
cmems_uname: myusername
cmems_pwd: mypassword
lon_min: 22.5
lon_max: 24.5
lat_min: 36.5
lat_max: 38.5

My next step is to apply this to the other rules

The approach I've adopted is a bit different now.
In the Snakefile I use the rule set_date_range: to update date_min and date_max in workflow/config.yml. The workflow/config.yml has the lines
################## DO NOT EDIT ANYTHING BELOW THIS LINE ###############################

# update date_min, date_max for each execution of the workflow
date_min: 2023-03-13
date_max: 2023-03-15

Everything above the DO NOT EDIT ANYTHING BELOW THIS LINE is configurable by the user. The config.yml is the central place where all things for the workflow are configured.

Added rule all:.
Testing a couple ways to run:

snakemake --cores 1 all
snakemake --cores 4 all
snakemake --cores 16 all


how can i send a message?

I would like an example to send a message from my mobile to another.
thanks!

you should be achieve this by FCM.send. but the mobile need to know receiver's FCM token

ok but do you have any example in code? please

check FCM native docs to see what you should pass in senderId and payload
FCM.send("senderId", {
// your payload.
})


Multiple B2D instances on same PC and multi-host containers

How can I let containers communicate with each other, that are loated in different Virtual Box Boot2Docker instances, but running on the same Windows 7 PC?
Currently I do the following (but for unknown reasons this does not work fully):
VirtualBox (VB):

I use 2 VB instances (as example), with B2D.
I set the VB network adapter #2 on each VB instance to Host-Only (leaving adapter #1 as NAT); IP address of host adapter is e.g. <IP_ADDRESS>/24 for VB1, and <IP_ADDRESS>/24 for VB2.
consequently, on Windows IP routes are configured (by VB) for communication between the VB instances.

B2D:

On each BD2 instance I change the docker0 IP address to an adress that is in the same subnet as the host adapter of the VB instance (by editing /var/lib/boot2docker/profile and adding EXTRA_ARGS='--bip=/24'
I attach eth1 to the docker0 bridge (via: brctl addif docker0 eth1)
I remove the ip route to eth1 (via: ip route del < ip address >/24 dev eth1)
I remove the Docker masquerading rulefor container addresses (via: iptables -t nat -F POSTROUTING)

I am able to:

ping docker0, and any subsequent containers in either VB instance from the Windows DOS shell
ping docker0, and any subsequent containers in either VB instance from the main shell of the other VB instance

But I CANNOT:

ping between containers in different VB instances !
ping between a container and its docker0 bridge IP !

All IP addresses used are unique, and I am puzzled why the last two bullets are not working.
What do I miss?
-- Tom

Were you ever able to figure this out?

One way to do this is via direct routing as described on:
http://blog.sequenceiq.com/blog/2014/08/12/docker-networking/
From: jakirkham<EMAIL_ADDRESS>Sent: maandag 13 juli 2015 0:03
To: boot2docker/boot2docker
Cc: Berg, T.W. (Tom) van den
Subject: Re: [boot2docker] Multiple B2D instances on same PC and multi-host containers (#890)
Were you ever able to figure this out?
—
Reply to this email directly or view it on GitHubhttps://github.com/boot2docker/boot2docker/issues/890#issuecomment-120767553.
This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. TNO accepts no liability for the content of this e-mail, for the manner in which you use it and for damage of any kind resulting from the risks inherent to the electronic transmission of messages.

So, I could be wrong, but I think this is the domain of  docker machine.


Adding common elements to all slides?

Hi, I'm trying to add some elements that should stay in place while you swipe through the slides.
How can I do that?
Thanks!

Ok, I already did it with this inside init:
    FragmentManager fragmentManager = getFragmentManager();
    FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction();

    CustomFragment fragment = new CustomFragment();
    fragmentTransaction.add(android.R.id.content, fragment);
    fragmentTransaction.commit();

If there is a better way, I'd love to know!

What elements are you talking about?

@jlubeck you are trying to add the fragment to the root view of the activity which is a bad practice. There do not seem to be any provision for that in the library, instead you can directly tweak and add elements in intro_layout.xml inside the library itself.

Looks like this no longer applies after the recent changes on the library, please reopen this issue if still affected by this issue.


NDRS-575: Add Subcommand to retrieve documentation for RPCs

REF: https://casperlabs.atlassian.net/browse/NDRS-575
I have added a subcommand called docs_get_rpcs that displays all currently supported RPC, with documentation on each RPC. I have attached a text file to this PR with the sample output to be reviewed. I asked both Mateusz and Henry to join in the review as there maybe some inconsistencies in the representation of certain RPCs that I may not be aware of.
Sample Output
ndrs_575_output.txt

I haven't used the RPC at all, nor have I written the code. I think it would take too much time to provide and valuable input. I would like to unassign myself from the review.

PR Closed, refer to a PR for NDRS-591


QueryBuilder -> InExpr should be more intelligent

case class InExpr(lop: Expr, rop: List[Expr], not: Boolean)
a) in case 'rop' is empty => result is 'false'
b) in case 'rop' has one element => lop = rop.head instead of lop in (rop.head)

Depends on bind variable, cannot implement in this manner.


BUG: fix odr.output.work_ind key bug and add its test.

Reference issue
fix #12523
What does this implement/fix?
fix odr.output.work_ind key bug and add its test.

I got a merge conflict when I tried to backport to maintenance/1.5.x so I'll remove the backport label for now--feel free to clarify if I need to backport more stuff for this if it is important

nah it's fine,


'cosign -version' tells me to use 'cosign --version'

cosign version 1.8.0 outputs a misleading warning when used with the -version flag:
imre@silicon:~$ cosign -version
WARNING: the flag -version is deprecated and will be removed in a future release. Please use the flag --version.
[..]

This is not helpful as the --version flag doesn't work either:
imre@silicon:~$ cosign --version
Error: unknown flag: --version
main.go:52: error during command execution: unknown flag: --version

In fact, there is no version flag at all. The user should be told to use the version command instead:
imre@silicon:~$ cosign version
  ______   ______        _______. __    _______ .__   __.
 /      | /  __  \      /       ||  |  /  _____||  \ |  |
|  ,----'|  |  |  |    |   (----`|  | |  |  __  |   \|  |
|  |     |  |  |  |     \   \    |  | |  | |_ | |  . `  |
|  `----.|  `--'  | .----)   |   |  | |  |__| | |  |\   |
 \______| \______/  |_______/    |__|  \______| |__| \__|
cosign: A tool for Container Signing, Verification and Storage in an OCI registry.

GitVersion:    v1.8.0
GitCommit:     9ef6b207218572b3257a5b4251418d75569baaae
GitTreeState:  clean
BuildDate:     2022-04-27T13:40:34Z
GoVersion:     go1.17.9
Compiler:      gc
Platform:      linux/amd64

@imrejonk we don't have a flag for version, that is correct, the issue is in the -version and --version flags, in the past we used to have the -version but not anymore
will fix that, thanks for your report


Adding User Input

🚀 Feature
The python implementation to find the area of geometric shapes is static. Adding a user input feature to it will make the code reusable.
Have you read the Contributing Guidelines on Pull Requests?
Yes
Motivation
Code Reusability
Pitch
It could be performed on any number of data and any number of times

Please assign the task. I have done the implementation.

@reachpranjal Assigning you this issue, do check the other files in the repository for static input. If you find any just add dynamic inputs code and and raise a PR.

hey, i have resolved this issue pls assign it to me, i will create a pr as soon i will be assigned this issue


feat: Support Yarn PnP for resolving project-specific biome binary

This PR adds support for using Yarn's PnP linker when resolving the path of the biome binary to use.

Here's a minimal which can be used to play around with this change: https://gist.github.com/roblillack/5818b0dbb5bfd69757bc4397ff6f8b32

Another Gist with a Yarn v1 repo here: https://gist.github.com/roblillack/a0437af4db73b4cc746259d010375994

I've reverted to switch from require to import because it prevented detection on windows.


GCS: Mosiacml-streaming overloads the GCP metadata service when too many processes are used.

Environment

OS: Debian 12 on GCE
Hardware (GPU, or instance type): N4

To reproduce
Steps to reproduce the behavior:

Run inside of a GCE machine with a service account (eg, using service account authentication with credentials coming from the metadata service)
Run inside of a docker container
Use torchrun to launch multiple processes (eg, 4)
Use StreamingDataset in a DataLoader with many worker processes (eg, 4)
Dataset source is from GCS

Because https://github.com/mosaicml/streaming/blob/main/streaming/base/storage/download.py#L235 queries the metadata service every time it is invoked in order to get credentials, doing this from multiple sub-processes at the same time can overload the service and exhaust the available connections, resulting in this warning:
WARNING Compute Engine Metadata server unavailable on attempt 1 of 5. Reason: [Errno 99] Cannot assign requested address

Backoff inside of google-auth doesn't appear to add any jitter (its just exponential), so if the worker subprocesses are running roughly synchronized, then this eventually fails, even if we increase the timeout as specified here.
In principle we should not have to query the metadata service all the time to get credentials. They are short-lived, but the google.auth.compute_engine.GCECredentials object provides an expired property (https://google-auth.readthedocs.io/en/master/reference/google.auth.compute_engine.html#module-google.auth.compute_engine). So it should be possible to cache the retrieved credentials for a given project ID and only refresh them when needed. In our case, we are monkey-patching the function to do the same thing:
def _patched_gce_credentials_wrapper():
    cached_credentials = {}

    def _patched_get_gce_credentials(request=None, quota_project_id=None):
        credentials, project_id = cached_credentials.get(quota_project_id, (None, None))
        now = datetime.datetime.now(datetime.timezone.utc)
        now = now.replace(tzinfo=None)

        if not credentials:
            print("Initial fetch GCP credentials")
            credentials, project_id = _get_gce_credentials(request=request, quota_project_id=quota_project_id)
            cached_credentials[quota_project_id] = (credentials, project_id)

        print("Credentials expired?", (credentials.expiry - datetime.timedelta(seconds=100) if credentials.expiry is not None else 0), now)

        if credentials.expiry is None or (credentials.expiry - datetime.timedelta(seconds=100)) < now:
            print("Refresh GCP credentials", credentials.expiry)
            request = google.auth.transport._http_client.Request()
            credentials.refresh(request)

        return credentials, project_id

    return _patched_get_gce_credentials

google.auth._default._get_gce_credentials = _patched_gce_credentials_wrapper()

Expected behavior
Shards can be fetched from GCS and too many concurrent queries are not made to the metadata service. Probably the fix here is to somehow cache and refresh the credentials in the same way, though its unclear to me where the caching should happen.

I see, thanks for flagging. Yes, this is a known issue where we get credentials / metadata for each shard access. We have an eye on this and may pursue a permanent solution. Your current solution seems to be a possible route too.

@snarayan21, is there any temporary solution you have in mind? And what's the permanent solution you are thinking of? Is it wrapping all the download functions per cloud provider in a class?
@rishabhm12  @smspillaz Wondering, if anyone of you is interested in making a contribution?


Error: Cannot find module

Problem
I'm having an issue building electron-acrylic-window with file win_delay_load_hook.cc
My setup:

Windows 10 Enterprise LTSC, Version 10.0.17763 Build 17763
node v12.19.0
node-gyp v7.1.2
Python 2.7
tsc Version 4.1.3

I've made sure to install VS Build Tools 2017 and 2019 and switching the configuration between the two using npm config set msvs_version 201<x>. I tried that installing VS Build Tools/Python manually and with npm install --global windows-build-tools
Logs
This is what shows up when I try to install electron-acrylic-window via npm install electron-acrylic-window:
C:\Software_Development\Personal\JavaScript\ray-view>npm install electron-acrylic-window

><EMAIL_ADDRESS>install C:\Software_Development\Personal\JavaScript\ray-view\node_modules\electron-acrylic-window
> (node-gyp rebuild && npm run-script build-ts)

C:\Software_Development\Personal\JavaScript\ray-view\node_modules\electron-acrylic-window>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  win10.cpp
  win_delay_load_hook.cc
c:\software_development\personal\javascript\ray-view\node_modules\electron-acrylic-window\src\native\win10.cpp(38): warning C4530: C++ exception handler used, but un
wind semantics are not enabled. Specify /EHsc [C:\Software_Development\Personal\JavaScript\ray-view\node_modules\electron-acrylic-window\build\vibrancy-wrapper.vcxpr
oj]
c:\software_development\personal\javascript\ray-view\node_modules\electron-acrylic-window\src\native\win10.cpp(77): warning C4101: 'ex': unreferenced local variable
[C:\Software_Development\Personal\JavaScript\ray-view\node_modules\electron-acrylic-window\build\vibrancy-wrapper.vcxproj]
c:\software_development\personal\javascript\ray-view\node_modules\electron-acrylic-window\src\native\win10.cpp(110): warning C4101: 'ex': unreferenced local variable
 [C:\Software_Development\Personal\JavaScript\ray-view\node_modules\electron-acrylic-window\build\vibrancy-wrapper.vcxproj]
     Creating library C:\Software_Development\Personal\JavaScript\ray-view\node_modules\electron-acrylic-window\build\Release\vibrancy-wrapper.lib and object C:\Soft
  ware_Development\Personal\JavaScript\ray-view\node_modules\electron-acrylic-window\build\Release\vibrancy-wrapper.exp
  vibrancy-wrapper.vcxproj -> C:\Software_Development\Personal\JavaScript\ray-view\node_modules\electron-acrylic-window\build\Release\\vibrancy-wrapper.node

><EMAIL_ADDRESS>build-ts C:\Software_Development\Personal\JavaScript\ray-view\node_modules\electron-acrylic-window
> tsc

npm WARN<EMAIL_ADDRESS>No repository field.

+<EMAIL_ADDRESS>added 11 packages from 77 contributors and audited 578 packages in 16.312s

43 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

As a result of this error (presumably, from what I can tell), no index.js file is every generated in electron-acrylic-window's build/ folder. When I run my code...
const { app, BrowserWindow } = require("electron");
const path = require("path");
const { setVibrancy } = require("electron-acrylic-window");

// Handle creating/removing shortcuts on Windows when installing/uninstalling.
if (require("electron-squirrel-startup")) {
  // eslint-disable-line global-require
  app.quit();
}

const createWindow = () => {
  // Create the browser window.
  const mainWindow = new BrowserWindow({
    width: 800,
    height: 600,
    frame: false,
    webPreferences: {
      nodeIntegration: true,
      enableRemoteModule: true,
    },
  });
  mainWindow.loadFile(path.join(__dirname, "index.html"));
  mainWindow.webContents.openDevTools();

  // Vibrancy Settings
  vibrancy_options = {
    theme: "#661237cc",
    effect: "acrylic",
    useCustomWindowRefreshMethod: true,
    disableOnBlur: true,
    debug: false,
  };
  setVibrancy(mainWindow, vibrancy_options);
  mainWindow.show();
};
app.on("ready", createWindow);
app.on("window-all-closed", () => {
  if (process.platform !== "darwin") {
    app.quit();
  }
});

app.on("activate", () => {
  if (BrowserWindow.getAllWindows().length === 0) {
    createWindow();
  }
});

...this error message pops up:
><EMAIL_ADDRESS>start C:\Software_Development\Personal\JavaScript\ray-view
> electron-forge start

√ Checking your system
√ Locating Application
- Preparing native dependencies: 0 / 1Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
/ Preparing native dependencies: 0 / 1  win10.cpp
- Preparing native dependencies: 0 / 1c:\software_development\personal\javascript\ray-view\node_modules\electron-acrylic-window\src\native\win10.cpp(38): warning C4530: C++ exception handler used, but un
wind semantics are not enabled. Specify /EHsc [C:\Software_Development\Personal\JavaScript\ray-view\node_modules\electron-acrylic-window\build\vibrancy-wrapper.vcxpr
oj]
c:\software_development\personal\javascript\ray-view\node_modules\electron-acrylic-window\src\native\win10.cpp(77): warning C4101: 'ex': unreferenced local variable
[C:\Software_Development\Personal\JavaScript\ray-view\node_modules\electron-acrylic-window\build\vibrancy-wrapper.vcxproj]
c:\software_development\personal\javascript\ray-view\node_modules\electron-acrylic-window\src\native\win10.cpp(110): warning C4101: 'ex': unreferenced local variable
 [C:\Software_Development\Personal\JavaScript\ray-view\node_modules\electron-acrylic-window\build\vibrancy-wrapper.vcxproj]
| Preparing native dependencies: 0 / 1  win_delay_load_hook.cc
\ Preparing native dependencies: 0 / 1     Creating library C:\Software_Development\Personal\JavaScript\ray-view\node_modules\electron-acrylic-window\build\Release\vibrancy-wrapper.lib and object C:\Soft
  ware_Development\Personal\JavaScript\ray-view\node_modules\electron-acrylic-window\build\Release\vibrancy-wrapper.exp
  Generating code
| Preparing native dependencies: 0 / 1  All 102 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
- Preparing native dependencies: 0 / 1  vibrancy-wrapper.vcxproj -> C:\Software_Development\Personal\JavaScript\ray-view\node_modules\electron-acrylic-window\build\Release\\vibrancy-wrapper.node
- Preparing native dependencies: 1 / 2Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
- Preparing native dependencies: 1 / 2  win32-displayconfig.cc
- Preparing native dependencies: 1 / 2  win_delay_load_hook.cc
/ Preparing native dependencies: 1 / 2     Creating library C:\Software_Development\Personal\JavaScript\ray-view\node_modules\win32-displayconfig\build\Release\win32_displayconfig.lib and object C:\Softw
  are_Development\Personal\JavaScript\ray-view\node_modules\win32-displayconfig\build\Release\win32_displayconfig.exp
  Generating code
| Preparing native dependencies: 1 / 2  All 991 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
\ Preparing native dependencies: 1 / 2  win32_displayconfig.vcxproj -> C:\Software_Development\Personal\JavaScript\ray-view\node_modules\win32-displayconfig\build\Release\\win32_displayconfig.node
√ Preparing native dependencies: 2 / 2
√ Launching Application

App threw an error during load
Error: Cannot find module 'C:\Software_Development\Personal\JavaScript\ray-view\node_modules\electron-acrylic-window\build\index.js'. Please verify that the package.json has a valid "main" entry
    at tryPackage (internal/modules/cjs/loader.js:328:19)
    at Function.Module._findPath (internal/modules/cjs/loader.js:689:18)
    at Module._resolveFilename (internal/modules/cjs/loader.js:959:27)
    at Function.n._resolveFilename (electron/js2c/browser_init.js:249:921)
    at Module._load (internal/modules/cjs/loader.js:848:27)
    at Function.f._load (electron/js2c/asar_bundle.js:5:12738)
    at Module.require (internal/modules/cjs/loader.js:1032:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.<anonymous> (C:\Software_Development\Personal\JavaScript\ray-view\src\index.js:3:25)
    at Module._compile (internal/modules/cjs/loader.js:1152:30)

Misc
I've tried installing the Windows 10 SDK as mentioned in Seo-Rii's comment here, but that didn't work unfortunately.

@Seo-Rii publish the package with the JavaScript build files. Building the TypeScript while installing the package makes additional build time and may result in errors too.

@Mockapapella try building the index file manually by:
npm i -D electron
npm i electron-acrylic-window
cd node_modules/electron-acrylic-window
tsc -p ./tsconfig.json

I'm still getting the error when I try to run my application:
C:\Software_Development\Personal\JavaScript\ray-view>npm start

><EMAIL_ADDRESS>start C:\Software_Development\Personal\JavaScript\ray-view
> electron-forge start

√ Checking your system
√ Locating Application
\ Preparing native dependencies: 0 / 1Building the projects in this solution one at a time. To enable parallel build, please add the "-m" switch.
\ Preparing native dependencies: 0 / 1  win10.cpp
| Preparing native dependencies: 0 / 1C:\Software_Development\Personal\JavaScript\ray-view\node_modules\electron-acrylic-window\src\native\win10.cpp(38,9): warning C4530: C++ exception handler used, but
unwind semantics are not enabled. Specify /EHsc [C:\Software_Development\Personal\JavaScript\ray-view\node_modules\electron-acrylic-window\build\vibrancy-wrapper.vcx
proj]
C:\Software_Development\Personal\JavaScript\ray-view\node_modules\electron-acrylic-window\src\native\win10.cpp(77,26): warning C4101: 'ex': unreferenced local variab
le [C:\Software_Development\Personal\JavaScript\ray-view\node_modules\electron-acrylic-window\build\vibrancy-wrapper.vcxproj]
C:\Software_Development\Personal\JavaScript\ray-view\node_modules\electron-acrylic-window\src\native\win10.cpp(110,26): warning C4101: 'ex': unreferenced local varia
ble [C:\Software_Development\Personal\JavaScript\ray-view\node_modules\electron-acrylic-window\build\vibrancy-wrapper.vcxproj]
| Preparing native dependencies: 0 / 1  win_delay_load_hook.cc
- Preparing native dependencies: 0 / 1     Creating library C:\Software_Development\Personal\JavaScript\ray-view\node_modules\electron-acrylic-window\build\Release\vibrancy-wrapper.lib and object C:\Soft
  ware_Development\Personal\JavaScript\ray-view\node_modules\electron-acrylic-window\build\Release\vibrancy-wrapper.exp
  Generating code
  Previous IPDB not found, fall back to full compilation.
\ Preparing native dependencies: 0 / 1  All 97 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
/ Preparing native dependencies: 0 / 1  vibrancy-wrapper.vcxproj -> C:\Software_Development\Personal\JavaScript\ray-view\node_modules\electron-acrylic-window\build\Release\\vibrancy-wrapper.node
/ Preparing native dependencies: 1 / 2Building the projects in this solution one at a time. To enable parallel build, please add the "-m" switch.
/ Preparing native dependencies: 1 / 2  win32-displayconfig.cc
- Preparing native dependencies: 1 / 2  win_delay_load_hook.cc
/ Preparing native dependencies: 1 / 2     Creating library C:\Software_Development\Personal\JavaScript\ray-view\node_modules\win32-displayconfig\build\Release\win32_displayconfig.lib and object C:\Softw
  are_Development\Personal\JavaScript\ray-view\node_modules\win32-displayconfig\build\Release\win32_displayconfig.exp
  Generating code
  Previous IPDB not found, fall back to full compilation.
\ Preparing native dependencies: 1 / 2  All 846 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
/ Preparing native dependencies: 1 / 2  win32_displayconfig.vcxproj -> C:\Software_Development\Personal\JavaScript\ray-view\node_modules\win32-displayconfig\build\Release\\win32_displayconfig.node
√ Preparing native dependencies: 2 / 2
√ Launching Application

App threw an error during load
Error: Cannot find module 'C:\Software_Development\Personal\JavaScript\ray-view\node_modules\electron-acrylic-window\build\index.js'. Please verify that the package.json has a valid "main" entry
    at tryPackage (internal/modules/cjs/loader.js:328:19)
    at Function.Module._findPath (internal/modules/cjs/loader.js:689:18)
    at Module._resolveFilename (internal/modules/cjs/loader.js:959:27)
    at Function.n._resolveFilename (electron/js2c/browser_init.js:249:921)
    at Module._load (internal/modules/cjs/loader.js:848:27)
    at Function.f._load (electron/js2c/asar_bundle.js:5:12738)
    at Module.require (internal/modules/cjs/loader.js:1032:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.<anonymous> (C:\Software_Development\Personal\JavaScript\ray-view\src\index.js:3:25)
    at Module._compile (internal/modules/cjs/loader.js:1152:30)

@Mockapapella would you try to make minimal reprudution of the issue.

@Mockapapella would you try to make minimal reproduction of the issue.

Uninstall both electron and electron-acrylic-window (this project already had electron installed)
Enter these commands in the terminal in my project folder line by line

npm i -D electron
npm i electron-acrylic-window
cd node_modules/electron-acrylic-window
tsc -p ./tsconfig.json

(note that there doesn't seem to be a difference now compared to before I posted this issue)

run npm start in the root of my project folder

I tried to install lower versions of electron-acrylic-window (0.5-0.5.4) that had the same problem.

I'm not sure how relevant it is, but when I clone the repo right from GitHub and run the test application everything works flawlessly.

@Mockapapella Before a new version, including the typescript build file, please use the previous version without the typescript applied. Since the typescript was applied from v0.5.0, it will work if you use v0.4.7.

I'm getting this error now instead. The app starts now but it doesn't have the frosted glass look.

@Mockapapella what version of electron are you using?
Try using this code before using setVibrancy:
console.log(Object.keys(mainWindow).includes('getNativeWindowHandle'), Object.keys(Buffer.from('')).includes('readInt32LE'))

Electron v6.14.8
// Vibrancy Settings
  vibrancy_options = {
    theme: "#661237cc",
    effect: "acrylic",
    useCustomWindowRefreshMethod: true,
    disableOnBlur: true,
    debug: true,
  };
  console.log("Hello World");
  console.log(
    Object.keys(mainWindow).includes("getNativeWindowHandle"),
    Object.keys(Buffer.from("")).includes("readInt32LE")
  );
  setVibrancy(mainWindow, vibrancy_options);
  mainWindow.show();

So your script didn't produce any output, but for some reason neither did console.log("Hello World");. I got the same error as in my previous comment.

The problem is caused by the incompatibility of the getNativeWindowHandle API used to get hWnd because the electron version is too low. Please update the Electron version.

@Seo-Rii getNativeWindowHandle exists in electron v6.1.12 https://github.com/electron/electron/blob/e01b1831d96d5d68f54af879b00c617358df5372/docs/api/browser-window.md#wingetnativewindowhandle
As far as I can see, there is no v6.14.8 version of electron in npm or GitHub.

@Mockapapella use fs.writeFileSync and test if that works:
require('fs').writeFileSync('output.txt',  (Object.keys(mainWindow).includes("getNativeWindowHandle") ? '1' : '0') + (Object.keys(Buffer.from("")).includes("readInt32LE") ? '1' : '0'))

If it does succeed, comment the contents of output.txt.

As far as I can see, there is no v6.14.8 version of electron in npm or GitHub.

Whoops, my bad. That's my npm version. My electron version is 11.1.1.
@tscpp The output of that script is 00

@Mockapapella try using:
require('fs').writeFileSync('output.txt', ('getNativeWindowHandle' in win).toString())

I forgot Object.keys cannot extract from classes.

output.txt is now true

@Seo-Rii getNativeWindowHandle does exists in Mockapapella's browser window, but readInt32LE does not exist in Buffer in his enviroment.

@Mockapapella It's very strange. Can you open the node at cmd and enter the code below?
'readInt32LE' in Buffer.from('')

@Seo-Rii
C:\Users\Quinten>node
Welcome to Node.js v12.19.0.
Type ".help" for more information.
> 'readInt32LE' in Buffer.from('')
true

@Seo-Rii
C:\Users\Quinten>node
Welcome to Node.js v12.19.0.
Type ".help" for more information.
> 'readInt32LE' in Buffer.from('')
true

@Seo-Rii Found an issue with the setVibrancy function:
win.__electron_acrylic_window__ doesn't exists because the custom BrowserWindow wasn't used.
https://github.com/Seo-Rii/electron-acrylic-window/blob/886a2cdc4d1a0ada0e95a39c658a563849b1f64d/src/vibrancy.ts#L216-L227

@Mockapapella sorry for the late response. Meanwhile, test this repro:
const { app, BrowserWindow } = require("electron");
const path = require("path");
const { setVibrancy } = require("electron-acrylic-window");

const createWindow = () => {
   const mainWindow = new BrowserWindow({
      width: 800,
      height: 600,
      frame: false,
      webPreferences: {
         nodeIntegration: true,
         enableRemoteModule: true,
      },
   });

   mainWindow.loadFile(path.join(__dirname, "index.html"));

   // Fix for setVibrancy bug
   mainWindow.__electron_acrylic_window__ = {}

   setVibrancy(mainWindow, 'light');
};

app.whenReady().then(createWindow)

@Seo-Rii Found an issue with the setVibrancy function:
win.__electron_acrylic_window__ doesn't exists because the custom BrowserWindow wasn't used.
https://github.com/Seo-Rii/electron-acrylic-window/blob/886a2cdc4d1a0ada0e95a39c658a563849b1f64d/src/vibrancy.ts#L216-L227

@Mockapapella sorry for the late response. Meanwhile, test this repro:
const { app, BrowserWindow } = require("electron");
const path = require("path");
const { setVibrancy } = require("electron-acrylic-window");

const createWindow = () => {
   const mainWindow = new BrowserWindow({
      width: 800,
      height: 600,
      frame: false,
      webPreferences: {
         nodeIntegration: true,
         enableRemoteModule: true,
      },
   });

   mainWindow.loadFile(path.join(__dirname, "index.html"));

   // Fix for setVibrancy bug
   mainWindow.__electron_acrylic_window__ = {}

   setVibrancy(mainWindow, 'light');
};

app.whenReady().then(createWindow)

@tscpp I think you are right! I forgot to fix setVibrancy method after adding some function and it may caused problems. @Mockapapella can you test again with code above?

@tscpp I think you are right! I forgot to fix setVibrancy method after adding some function and it may caused problems. @Mockapapella can you test again with code above?

Solved on v0.5.5.

Solved on v0.5.5.


Bias

Using different approach to fixing bias. See PR https://github.com/aquaMetrics/rict/pull/52 and https://github.com/aquaMetrics/rict/pull/51 for hot fix to selected bias for season. But needs longer-term fix to apply bias to each row and season.


Add a new production config for tuned PSF, and for zenith 40 deg, south pointing MC

This will be helpful for analyzing sources like some AGNs, which do not require tuning the NSB, but only PSF. Similar to #175

See discussion in the other PR

Triggering the discussion here because it was the first PR to be opened.
Would it be interesting to runs a "standard_zenith40deg_180deg" prod (so local peak integrator and tailcuts 8,4), and from this prod re-process dl1ab stage with all the zenith40 deg user prods ? @chaimain @misabelber @jsitarek Or the standard one won't be really necessary ?

Would it be interesting to runs a "standard_zenith40deg_180deg" prod (so local peak integrator and tailcuts 8,4), and from this prod re-process dl1ab stage with all the zenith40 deg user prods ? @chaimain @misabelber @jsitarek Or the standard one won't be really necessary ?

I mean we need a reference production for dl1ab in any case.
Or do you mean a second one with different settings?

Edit: Ah I think I am late on this one. We have one dating on 2022-03-04 now

Exactly. The 40deg reference one is currently running


Extract out returned data from socket to use in a variable later?

Hi,
Nice plugin for jMeter! Was able to configure and run very quickly. In the View Results Tree, I can see the ws responses from the server, so I know that it is working.
Question:  When the WebSocket Sampler runs, I'd like to parse out a report id value from the returned json .  For example, the server side websocket returns this:
{"reportId":"12345","status":"COMPLETE"}
Can I use Regular Expression Extractor to parse the response from WebSocket Sampler? I tried it to no avail, but maybe I'm configuring it wrong.
Thanks
Sam

Never mind, it was "user error".  :-)   Regular Expression Extractor works just fine. I wasn't accounting for stupid space in the returned json between the key and the colon and the colon the the value.
i;e; my expression was configured to match "key":"value" but the json was actually "key" : "value"  (note the space)
Very pleased.  I''m able to watch the websocket for a certain message, parse out a certain value and save into a jMeter variable, then use that variable in subsequent regular ol' REST API requests.
Again, nice tool!


how about include files?

It is a good tool for building static library.
I have 2 problems.
1)how about include files(collect include files)?
2)how do i modify it for supporting MacOSX10.15.sdk?
3)what is difference between libpdfium.a and libpdfium_x64.a?
thanks

Hi,

Check tutorial here:
https://github.com/prsolucoes/mobile-pdfium/blob/master/HOW_TO_INCLUDE_FILES.md

SDK 10.15 is already support. The sdk_info.py script already get the correct path. It execute command xcrun -sdk macosx --show-sdk-path that will return:

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk

You can check the library arch using "lipo -info" and see what is returned. But one is for mobile and other for simulator.

Thanks.

Hi,
I think that you are asking about SDK 10.15 because has a fixed version of 10.14 checking in the code.
The python script from pdfium don't check min version but their IF is checking different version.
To solve it execute:
export FORCE_MAC_SDK_MIN=10.15

and your command again, example:
python make.py run build-macos

Thanks.

Hi,
It was solved? Can i close this?
Thanks.


DROOLS-733 - Reworked execution server Drools tests

Extended tests to cover all marshalling types: JAXB, JSON, XStream.
Found marshalling issues:
marshalling empty ArrayList:
- JAXB - fixed for 6.4.0-SNAPSHOT by https://github.com/droolsjbpm/drools/pull/472
- JSON - issue still present
ConcurrentRequestsIntegrationTest:
- JAXB - problem with concurrent marshalling
KieServerDroolsIntegrationTest:
- JAXB, JSON - problem unmarshalling generated class (org.pkg1.Message)

merged and fixed all issues exposed by these tests. thanks a lot @sutaakar


Auto-refresh works wrongly(back to first page) in instance panel

Reproduce steps:

Go to instance panel
Jump to other page, like, 2nd page
Wait ~2 seconds, current page will be refreshed to 1st page

fixed. add offset to request for auto-refresh


Revert "improve getter tools, don't export optional getters"

Reverts penumbra-zone/web#1574
didn't pass CI in main and causing errors in minifront

Discussed offline to revert until bugs are identified


Custom SSL

Related to issue #44
Work in progress. Tests coming soon. 👍

Great! Just a couple of comments to get ahead of the work we are planning in #78. @ reply me when you push tests as I don't get a notification on new commits (just comments/issues/PRs).

@elithrar fixed, and added tests :)

Nice! 👍

LGTM. @Tenzer ?

LGTM as well, thanks for your contribution!


[EDIT] Faulty source link in “Trump family Twitter accounts compromised ahead of World Liberty Financial launch”

Entry
September 3, 2024: Trump family Twitter accounts compromised ahead of World Liberty Financial launch
Changes
The entry has 2 source links, but both point to the same Blockworks link. The Politico source should link: https://www.politico.com/news/2024/09/03/lara-tiffany-trump-social-media-hack-00177261.
Agreement
You can leave this blank if this is a change so small as to not be copyrightable.

Thank you!


Tab icon is not shown when I use createMaterialBottomTabNavigator + createStackNavigator

Hello,
I make tabs with createMaterialBottomTabNavigator and it works perfect.
And then the requirements is changed, I have to create stacknavigator and make tab to use stacknavigator instead of screen.
After that, tab icon is not showing. The label is OK. Is it a bug or something I didn't find how to or is this an anti-pattern?
P.S I'm novice for RN. I just started 3 days ago.
// ...
import { createStackNavigator } from 'react-navigation-stack';

const homeStack = createStackNavigator({
    Home: { screen: HomeScreen, },
    Details: {  screen: DetailsScreen },
  },
  { initialRouteName: 'Home',},
);

const navi = createMaterialBottomTabNavigator({
  Home: { screen: homeStack },
  //...
  {
  initialRouteName: 'Home',
  activeTintColor: '#3e2465',
  inactiveTintColor: '#888888',
  labeled: true,
  shifting: true,
  barStyle: { backgroundColor: '#eeeeee'},
});

const AppContainer = createAppContainer(navi);

export default function App() {
  return <AppContainer />;
}

@wisedog you should specify your icon in the route definition, like this:
const navi = createMaterialBottomTabNavigator({
  Home: {
     screen: homeStack,
     navigationOptions: {
            // here you should know 'how' to render the icon, it's probably this:
            tabBarIcon: <Icon name='icon' />
     }
  },
  //...

Your HomeScreen probably had the static navigationOptions, but it was moved to the stack navigator, so now it specifies the options inside the StackNavigator instead of the BottomTabNavigator.

More details https://reactnavigation.org/docs/en/navigation-options-resolution.html


Unable to reproduce the metrics of BAAI/bge-reranker-large on the T2Reranking dataset.

my reproduce script:
import mteb
from sentence_transformers import SentenceTransformer

model_name = "BAAI/bge-reranker-large"
result_folder_name = "T2Reranking"

model = SentenceTransformer(model_name, cache_folder="/mnt/ckpt/")
tasks = mteb.get_tasks(tasks=["T2Reranking"])
evaluation = mteb.MTEB(tasks=tasks)
results = evaluation.run(model, output_folder=f"work_dirs/{result_folder_name}", save_predictions=True, encode_kwargs={"batch_size":128})

result json:
{
  "dataset_revision": "76631901a18387f85eaa53e5450019b87ad58ef9",
  "evaluation_time":<PHONE_NUMBER>625214,
  "kg_co2_emissions": null,
  "mteb_version": "1.19.4",
  "scores": {
    "dev": [
      {
        "hf_subset": "default",
        "languages": [
          "cmn-Hans"
        ],
        "main_score": 0.5106703213152956,
        **"map": 0.5106703213152956,**
        "mrr": 0.583640624496244,
        "nAUC_map_diff1": -0.04473865428840341,
        "nAUC_map_max": 0.042846196592508184,
        "nAUC_map_std": -0.043888763247088756,
        "nAUC_mrr_diff1": -0.07990475962222543,
        "nAUC_mrr_max": 0.07057809005533859,
        "nAUC_mrr_std": -0.06398509636797499
      }
    ]
  },
  "task_name": "T2Reranking"
}

Seems like, from the Huggingface implementation, that they normalize their embeddings (shouldn't cause that causes the difference, but nice to rule out).
I believe these were the scores you were expecting?
You can also try to run https://huggingface.co/intfloat/multilingual-e5-small to rule out a bug in the dataset implementation (I would be surprised as recent results seem to obtain similar scores >65)

Seems like, from the Huggingface implementation, that they normalize their embeddings (shouldn't cause that causes the difference, but nice to rule out).
I believe these were the scores you were expecting?
You can also try to run https://huggingface.co/intfloat/multilingual-e5-small to rule out a bug in the dataset implementation (I would be surprised as recent results seem to obtain similar scores >65)
(I also recommend opening an issue on this on their model page and linking it here)
thanks for reply
I tried lier007/xiaobu-embedding-v2(embedding model) on t2reranking,  and the results seem to be correct.
suspect there might be an issue with the implementation of the rerank model?
Anyway, I will try your suggestions later to see if it can solve the problem.

Perfect - Let me know how it goes

modify for CORSS ENCODER evaluation:
https://github.com/netease-youdao/BCEmbedding/blob/c6327ccc854d65e8d4eb2edac74dbb6eb67733ec/BCEmbedding/evaluation/c_mteb/Reranking.py#L9


fix: only remove md and mdx suffix when normalize link

closes: #26

Should we deal with the add or delete of .html suffix？
In js logic, we can use cleanUrls to deal with it, but in mdx-rs, we cannot pass the framework side configuration here. @sanyuan0704

I will fix the ci issue next week...

Yes, i think the cleanUrls can be separated in a new pr and align the js version in normalize link logic.


Add email templates v2 api tests

Purpose
Add integration tests for Email Templates v2 API

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/8342475585

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/8354276132

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/8354276132
Status: success


ExpressJS example ?

We do have express middleware, could you add an example on how to use with existing express server ? Thanks.

const express = require('express');
const app = express();
// Define your middleware function
function loggerMiddleware(req, res, next) {
console.log(Request: ${req.method} ${req.url});
next();
}
// Apply the middleware to all routes
app.use(loggerMiddleware);
// Define your routes here
app.get('/', (req, res) => {
res.send('Hello, World!');
});
// Start the server
app.listen(3000, () => {
console.log('Server is running on port 3000');
});

const express = require('express');
const app = express();
// Define your custom middleware
const myMiddleware = (req, res, next) => {
// Perform some logic or modify the request/response objects
// For example, you can add a custom header to the response
res.setHeader('X-Custom-Header', 'Hello from middleware!');
// Call next() to move to the next middleware or route handler
next();
};
// Register your middleware with the Express app
app.use(myMiddleware);
// Define your routes
app.get('/', (req, res) => {
res.send('Hello, world!');
});
// Start the server
app.listen(3000, () => {
console.log('Server is running on port 3000');
});

@alishahal100 I mean the waku middleware.

Does this help?
https://github.com/dai-shi/waku/blob/62745b77289e53ba72a7e742b5a024672d849672/src/cli.ts#L88-L105


add show methods

Review existing show/print methods and add more

@expansion
@expansion@datastore
loaded outcome data (would need to save the parameters used when loading/sampling)

change printing of input data

[ ] don't show head of input data
[ ] just print column names?

outcome model

[x] show method for te_outcome_model

[x] add to trial_sequence show method
[x] delete show method for trial_Sequence child classes
[x] incorporate switch_model printing in show(trial_sequence) (See below)

if (.hasSlot(object, "switch_weights")) {
      catn("")
      catn("IPW for treatment switch censoring:")
      show(object@switch_weights)
    }

get_show_methods <- function() {
  names <- ls(getNamespace("TrialEmulation"), all.names = TRUE)
  classes <- data.frame(
    "class" = grep(x = names, pattern = ".__C__", value = TRUE) |>
      substr(7, 100)
    )
  show_methods <- data.frame("class" = names(TrialEmulation:::`.__T__show:methods`), "show_method_exists" = TRUE)
  df <- merge(show_methods, class, by = "class", all.y = TRUE)
  df[is.na(df)] = FALSE
  df
}


mempool not working after password B change

changed app password (password B) over normal CLI menu and after rebooting raspiblitz mempool didn't sync new blocks.
checked /home/mempool/mempool/backend/mempool-config.json and noticed, that the old password was still in the config file.
so while lnd.conf and BTC-RPC-Explorer got the right update, mempool config was not proper updated. should get checked and as a bug get fixed if it was not only a special case for me.

This happened to me too (changed password B and mempool stopped syncing). What is the immediate fix until 1.9.0 is released? Should I update the password in /home/mempool/mempool/backend/mempool-config.json to my new pw B? Is it just stored in cleartext here?

@flyerbear yes you can edit the password directly in the mempool-config.json - ist just cleartext CORE_RPC.PASSWORD="[PASSWORDB]"


UNBLOCKED GAMES cool unblocked games | Play Free Games Online - q04me

UNBLOCKED GAMES cool unblocked games | Play Free Games Online - q04me
cool unblocked games is a popular website that offers a wide variety of games that can be played in environments where access to gaming sites is typically restricted, such as schools and workplaces.
Enjoy playing all your favorite casual cool unblocked games, office, or home. Dive into the world of online free games without downloads!
👉🔴 SITE Games Unblocked >> cool unblocked games
👉🔴 PREMIUM Games Unblocked >> cool unblocked games
🙋♀ A short introduction - what is your organization all about?
🌈 Contribution guidelines - how can the community get involved?
👩💻 Useful resources - where can the community find your docs? Is there anything else the community should know?
🍿 Fun facts - what does your team eat for breakfast?
🧙 Remember, you can do mighty things with the power of Markdown
cool unblocked games: Unlocking Premium Fun in Educational Settings
In recent years, the phenomenon of cool unblocked games has taken the online gaming community by storm. These games, designed to bypass restrictions often placed by schools and workplaces, provide a unique blend of entertainment and engagement, especially for students. Among the vast array of options, unblocked premium games stand out as a popular choice, offering enhanced features, better graphics, and a more immersive gaming experience.
What Are cool unblocked games?
cool unblocked games are online games that can be accessed and played without restrictions, typically in environments like schools or offices where gaming sites might be blocked. The appeal of these games lies in their accessibility and the diverse range of genres available, from action and adventure to puzzles and strategy. Students often turn to these games during breaks or downtime, providing a quick escape from their academic routines.
The Rise of Premium cool unblocked games
As the unblocked games market has evolved, so has the demand for premium content. Premium cool unblocked games are those that offer superior gameplay experiences, often including advanced graphics, engaging storylines, and multiplayer functionalities. Many of these games are adaptations of popular titles, enabling players to enjoy high-quality gaming even in restricted environments.
The allure of premium unblocked games lies in their ability to combine fun with an element of strategy and critical thinking. Many of these games challenge players to solve complex problems, collaborate with peers, and develop skills that are beneficial beyond the gaming world.
Benefits of Playing cool unblocked games

Stress Relief: For students juggling a demanding academic schedule, unblocked games provide a much-needed break. Engaging in play can reduce stress and enhance overall well-being.
Social Interaction: Many unblocked games allow for multiplayer modes, enabling students to connect with friends or even make new ones. This social aspect is particularly valuable in school settings, fostering teamwork and collaboration.
Skill Development: Numerous unblocked games require strategic thinking, quick reflexes, and problem-solving abilities. These skills can translate to academic success, making gaming a potentially productive pastime.
Creativity Boost: Games that allow for customization and creative expression can inspire students to think outside the box, enhancing their creative skills.

Popular Genres of cool unblocked games Premium Games

Action and Adventure: Games that provide thrilling narratives and exciting challenges, often featuring iconic characters and rich worlds. Titles like "Among Us" or "Minecraft" have gained immense popularity in unblocked formats.
Puzzle and Strategy: These games challenge players to think critically and plan ahead, with examples including "2048" and "Bloons Tower Defense."
Simulation: Games like "The Sims" or "Animal Crossing" let players create and manage their virtual lives, promoting creativity and organization.
Sports and Racing: Titles such as "Basketball Stars" and "Slope" offer fast-paced action and competitive gameplay, appealing to sports enthusiasts.

Conclusion
cool unblocked games premium games represent a dynamic intersection of fun and education, providing students with a unique platform to unwind while also honing valuable skills. As educational institutions continue to grapple with balancing entertainment and learning, these games offer a solution that can enhance the school experience. By integrating gaming into their downtime, students can enjoy the thrill of play while developing critical skills, making unblocked premium games a worthwhile addition to any educational setting.

cbcb


Question -- tutorial uses async, my code fails with NoMethodError?

I've just started using Elevate and am very impressed.  For simple 'gets' with no parameters, it's just what my team and I need.
But no matter what I try, I can't seem to pass a parameter into the task for 'posts'.  The working examples all either use hard-coded values in setting up args or define tasks with async.  I can't use the former because the argument is instance-level dynamic, and task creation is class level.  I can't use the latter because async fails with NoMethodError.  Worse, I can't find 'async' or any reference to it in any of the source code.
Any guidance would be appreciated!

having the same issue - trying to find where async comes from


Please approve Update #2017

We are trying to add the real Bitamigos collection. Our community has been inscribing since early 600k and we are already listed on other marketplaces. We are also the only REAL Bitamigos collection with no duplicates or copy and paste to any Ethereum based collection.

"...with no duplicates or copy and paste to any Ethereum based collection." it sure looks similar to nakamigos
close pr. reason: merged pr #2016


Adds fossils update script

Resolves #162.
I had to edit the wiki for this script to work, they had some incorrect names there!

Codecov Report

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

@@            Coverage Diff            @@
##            master      #178   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            7         7
  Lines          277       277
  Branches        12        12
=========================================
  Hits           277       277

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 1189aea...e343aef. Read the comment docs.


0.1.17

Added in more support for Blitz community lighting options. Fixed size flag issues

closes #22
closes #20


fix($filter): change documentation of $filter to reflect optional com…

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
documentation update
What is the current behavior? (You can also link to an open issue here)
In the $filter documentation the comparator parameter is not identified as being optional. See issue [15312] (https://github.com/angular/angular.js/issues/15312).
What is the new behavior (if this is a feature change)?
In the documentation for $filter the comparator parameter is now marked optional and the default value is identified as being false.
Does this PR introduce a breaking change?
No
Other information:
change the documentation for $filter so that the comparator parameter is marked optional. Also specified that the default value is false.
Closes #15312

I signed it


Version 3.x support

Add support for version 3.x fixing #70;
change behavior of the Layers checkbox (default off) fixing #67

@renatoalmeidaoliveira Great job!
I have tested this in my local NetBox 3.x environment. The plugin embeds into the new NetBox Web-UI fine.
One thing before we can proceed with merge.
Please move the suggested changes regarding #67 into a separate PR as this issue is not directly related to NetBox 3.x compatibility. It requires a separate discussion and solution.

@iDebugAll sure, have you tested on the older versions too? I did my best to mantain backward compatibility.

@renatoalmeidaoliveira I have tested on NetBox 2.11 as well – it works as expected. All the changes for NB 3.x in your PR are conditional so the backward compatibility should be preserved.

@iDebugAll, reverted the changes relative to #67


Multiple Pages and Artboards Support

Overview
This PR adds the ability to create additional sketch pages and artboards. Will also keep backwards compatibility with existing code.
Example
render(
  <Document>
    <Page name="Mobile">
      <Artboard name="iPhone 5 SE">
        <View>
          <Text>Hello World</Text>
        </View>
      </Artboard>
      <Artboard name="iPhone 6S">
        <View>
          <Text>Hello World Again</Text>
        </View>
      </Artboard>
    </Page>
    <Page name="Tablet">
      <Artboard name="iPad">
        <View>
          <Text>Hello Second World</Text>
        </View>
      </Artboard>
    </Page>
  </Document>
);

Changes

Added Document and Page components

Document components are really just dummy placeholders to allow for multiple Page component children
Pages can have custom names, but will avoid Symbols and rewrite it to Symbols (renamed to avoid conflict so as to not overwrite symbols pages
New Jest tests and snapshots were added to cover these new components
Updated API docs to reflect usage
Added some more useful error messages on render failures to help users understand how to fix them in most cases

Related Discussions

https://github.com/airbnb/react-sketchapp/issues/139
https://github.com/airbnb/react-sketchapp/issues/17

@jongold,
No problem! Definitely a super useful feature 👍 .
I went back through the code and was able to add backwards compatibility back into the PR 🎉 . So now all examples have been reverted back to using the second container parameter and seem to work well. I also added some more color to the API docs on how to use the new Document and Page components.
Let me know if that resolves the outstanding issues with this PR and/or if you require more changes.
Cheers 🍻 .

Sweet - checking it out now :)

:shipit: 🚢  — thanks for a wonderful contribution @larsonjj! I'm going to bake a new version in a second; I encourage everyone to have a good play with the new features!

This sounds really cool, but not sure how to get this to work. I can't see the "Updated API docs to reflect usage" of Page and Document components you mentioned. I'll keep trying, but any pointers appreciated - a more complete example would be great. I did an NPM update with package.json file pointing to "react-sketchapp": "^0.12.1". So I guess I am getting that latest version with this merge?

Hey @LincMitch,
The latest version for testing this feature is still in beta. Try adding "react-sketchapp": "1.0.0-beta.2" to your package.json to try this feature out.

That worked - Fantastic!
Can we render Artboards horizontally, as appose to vertically?

@LincMitch how did you got it to work?! I have tried and cant

@LincMitch  NVM, i placed the package version to ^1.0.0-beta.5 and worked!!!


Add SleeperStacks() function to FakeClock to allow for easier debugging.

I guess this was from an old master..? quite a few merge conflicts

@jonboulle sorry about that, I had made the changes on my vendored version and just copied clockwork.go over. My bad :) I've fixed it to apply to the latest master.

For a little more context would you mind providing an example use case (or linking me to somewhere you're using this?)

It's purely for debugging. An example use case is that you have a call to BlockUntil(5) and it sometimes never returns. Using SleeperStacks(), you can see what the current blockers are to confirm they are what you expect or discover that one is missing or that there is an additional one.


Add support for netgroup entries

Looks pretty good to me. The test failures are from some rubocop updates. I'll try and get those fixed.


Update OWNERS

What type of PR is this?
/kind cleanup
What this PR does / why we need it:
adds @jpbetz and @Jefftree to OWNERS
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?

NONE

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:

/lgtm

Exciting, thanks @alexzielenski, congrats @Jefftree !

:+1: Thanks!


Artifact resolution problem

I can't manage to get it working with other handlers like Monix or Future, because of a resolution problem with dependency async-http-client-handler.
Tested in version 0.0.2

What kind of errors do you see? And where? Did you add the required dependency to sbt?

Yes, I did. These are my dependencies:
libraryDependencies ++= Seq (
  "com.softwaremill.sttp" %% "core" % "0.0.2",
  "com.softwaremill.sttp" %% "async-http-client-handler-future" % "0.0.2",
  "com.softwaremill.sttp" %% "async-http-client-handler-monix" % "0.0.2",

  "org.scalatest" %% "scalatest" % "3.0.1" % Test
)

And this is the log:
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn] 	::          UNRESOLVED DEPENDENCIES         ::
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn] 	:: com.softwaremill.sttp#async-http-client-handler_2.12;0.0.2: not found
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] 	Note: Unresolved dependencies path:
[warn] 		com.softwaremill.sttp:async-http-client-handler_2.12:0.0.2
[warn] 		  +- com.softwaremill.sttp:async-http-client-handler-future_2.12:0.0.2 (/Users/omainegra/Repositories/hello-scala-sttp/build.sbt#L6-13)
[warn] 		  +- com.example:hello_2.12:0.1.0-SNAPSHOT
sbt.ResolveException: unresolved dependency: com.softwaremill.sttp#async-http-client-handler_2.12;0.0.2: not found
	at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:313)
	at sbt.IvyActions$$anonfun$updateEither$1.apply(IvyActions.scala:191)
	at sbt.IvyActions$$anonfun$updateEither$1.apply(IvyActions.scala:168)
	at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:156)
	at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:156)

But it seems to be a problem with the artifact async-http-client-handler, which is not published to maven central.

Indeed, let me see ...

I'm releasing the missing artifact now, should be in central in ~15 minutes

Thanks, BTW sttp is really amazing. +1 For Monix integration

Thanks, hopefully it will live up to that opinion once you'll be able to resolve the dependencies ;)

Done. The artifact is published.


Error in SQL

Description
..Error while generation key.

Actual behavior
..I am trying to run command " php artisan key:generate ". After running this command key should be generated but I am getting error.
Expected behavior
.. While running the command to generate key following error I am getting,
" In DatabaseManager.php line 140:
Database [MariaDB] not configured "

Information

hyn/multi-tenant version:
laravel version:
database driver and version:
webserver software and version:
php version:

tenancy.php config

webserver.php config

Error log

I think that's unrelated to hyn.
Check that you correctly configured your config\database.php file that probably contains a misconfigured key named MariaDB.

That error means you have something in your code looking for a connection named "MariaDB".  As @Bibendus83 said, it's likely unrelated to this package.  Also, you haven't provided any version info or configs, so we can't help you there.  If you need further help, please ask on our discord


Complete GDA PR

Handle upgrading from pre-GDA instance

deal with pre-existing DB: if detecting old DB on start, exit and ask user to delete DB (or set env var WIPE_INCOMPATIBLE_DB signalling the application it is allowed to delete it itself)
don't fast-sync from incompatible snapshot

check the schema-version in manifest,json. If mismatch, don't use the manifest file fetched from github, but fall back to the bundled one.
snapshot generation: switch to generating v3 snapshots once the gda branch was merged (outside of this PR)

Compatibility with pre-GDA protocol deployment
On sentinel start, check if GDA is available and activate GDA functionality only if so.

since the DB needs to be wiped anyway, we have the unique opportunity to change the default DB location. I suggest we change it to data/db-.sqlite. That way multi-network operation doesn't come with the hazard of DB clashes when leaving the default config and setting only the RPC env var.
@ngmachado do you see any disadvantage to doing that?

You mean the file being rename to db-{network}.sql right? I don't see problem with the change. For normal sentinel operators should be the same.

There are two PRs:
https://github.com/superfluid-finance/superfluid-sentinel/pull/243
&
https://github.com/superfluid-finance/superfluid-sentinel/pull/239
Close the one that's stale.

#243 is the duplicate and has been closed.
Waiting the work to be continued from #239

done.


Translations 🌐

Hello everyone.
This is an interesting project. However, this is sad that there isn't any translations for it.
As far as I am concerned (owning FCE) there are things that were hard for me to understand.
Would you like me to try to translate a few bits to French?
Cheers

Well there are a few ways of managing those. You can either make a new repo called ethics-resources
_[LANGUAGE_CODE] if this repo is going to contain more than a few files to translates.
Otherwise, I can simply copy the files and add _[LANGUAGE_CODE] just before file extension.

@73VW We have a meeting tonight for the GitHub Working Group if you'd like to join (see the D4D slack for details). If you can't make it, I'll ask about this and get clarification so we can move ahead with translations.

Sorry I didn't see your comment in time.

Hello, everyone. I'd like to work on this topic, for Spanish

After the Monday meeting, we're trying to figure this out. I'll contact the lead for this project and see what  near-term solutions are possible. We'll get there eventually.

@73VW and @vramirez Are you all on the D4D Slack? If so, please get into contact with Mo Johnson. I believe the current plan is to create a separate repo for each language.
If you're not on Slack, let me know and I'll send you an invite.

Hi, Joe. Yes, I'm on the workspace. Just reached Mo on the channel. Thanks.
On Mon, Nov 5, 2018 at 8:43 PM Joe Blankenship<EMAIL_ADDRESS>wrote:

@73VW https://github.com/73VW and @vramirez
https://github.com/vramirez Are you all on the D4D Slack? If so, please
get into contact with Mo Johnson. I believe the current plan is to create a
separate repo for each language.
If you're not on Slack, let me know and I'll send you an invite.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Data4Democracy/ethics-resources/issues/33#issuecomment-436101621,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAChMKdoSl89UEDFnyQ9LCXexwnguD5Xks5usOlCgaJpZM4X7slH
.


wiki: Installing VirtualBox on NixOS

https://nixos.org/wiki/Installing_VirtualBox_on_NixOS

On the stable channel, I just did the following to get VBoxManage to work. It was not on the wiki, nor on any github issue:
environment.systemPackages = [ virtualboxHardened ];
services.virtualbox.host = { enable = true; enableHardening = false; };

I guess another way would be to install virtualBox, and set enableHardening = false, but this is really documented nowhere.
Another undocumented thing is that one needs both services.virtualbox.host.… set, and a package installed: the current wiki page makes it look like the services.virtualbox option is enough, but it wasn't in my case.

meanwhile https://nixos.org/wiki/Installing_VirtualBox_on_NixOS disappeared

The community-maintained NixOS wiki now can be found at https://nixos.wiki

I couldn't find "Installing VirtualBox on NixOS" instruction on https://nixos.wiki
But on github https://github.com/deepfire/nixos-wiki/blob/master/Installing VirtualBox on NixOS.page

setuidPrograms is obsolete
trace: warning: The option definition security.setuidPrograms' in /etc/nixos/configuration.nix' no longer has any effect

Shouldn't it be simply
virtualisation.virtualbox.host.enable = true;
users.extraUsers.myuser.extraGroups = ["vboxusers"];

as described in the options?

works fine on
nixos-version
18.03.132750.91b286c8935


use saveTaskCleanup() instead of createTaskCleanup() for deploys

createTaskCleanup() won't override a preexisting SingularityTaskCleanup, which can be problematic for deployments. This PR updates SingularityDeployChecker.cleanupTasks() to use saveTaskCleanup(), which will override cleanups. This prevents race conditions where an old deploy's task sticks around indefinitely while waiting for a bounce to complete.

Fixed the merge conflict in the tests, going to merge this


[BUG] API add endpoint callback not called for existing loopbacks upon starting an app

Describe the bug
Upon starting an app, the service triggers a callback to the Add endpoint callback for hardware devices (even if they were attached before starting the app). however for the existing loopbacks the callback is not triggered, though those endpoint can be found in the callback when initial enumeration has been completed.
To Reproduce
Start an app and watch the add callback events.
Remove and attached a hardware device, add/remove callbacks are triggered.
Add endpoint callback is not triggered for the existing loopbacks
-Not (yet) tested for adding/removing software/virtual ports
Expected behavior
Callback should be called (assume)
Screenshots
N/A
Installer Name or Version
DP6
Desktop (please complete the following information):
W11 latest Canary
Device information, if this is with an external MIDI device:
custom
Application Information
Custom based on the watcher sample code
Additional context
N/A

Confirmed, This works now adding  the filter.


more developed search page

From @clozupone:
For searching, it would be great to have a more developed search page with perhaps drop downs for the various MiMARKS fields that one could search by and then sub drop downs for each on the values that populate the database. Having the option to do regular expression based searches is key but it is hard to know off-hand how to develop a good search. The recommended search in the documentation (something line "sample type:EVO Soil") turned up no hits for me.

This is related to the old search functionality, which has been superseded by redbiom. Closing.


Is the group still active?

If so, I'd like to add it here: https://github.com/cristianoliveira/awesome4girls

@harsh183 yes, React Ladies is still active and can be included on that list.

Awesome! Is the website up to date or is there a new one?

Thank you for including us on the list!


Pytest in runtime requirements

In my optinion, pytest is not necessary runtime requirement (added in this commit).
Adding python-consul2 than requires useless packages:
      - python-consul2 [required: Any, installed: 0.0.16]
        - pytest [required: Any, installed: 5.3.5]
          - attrs [required: >=17.4.0, installed: 19.3.0]
          - importlib-metadata [required: >=0.12, installed: 1.5.0]
            - zipp [required: >=0.5, installed: 3.1.0]
          - more-itertools [required: >=4.0.0, installed: 8.2.0]
          - packaging [required: Any, installed: 20.1]
            - pyparsing [required: >=2.0.2, installed: 2.4.6]
            - six [required: Any, installed: 1.14.0]
          - pluggy [required: >=0.12,<1.0, installed: 0.13.1]
            - importlib-metadata [required: >=0.12, installed: 1.5.0]
              - zipp [required: >=0.5, installed: 3.1.0]
          - py [required: >=1.5.0, installed: 1.8.1]
          - wcwidth [required: Any, installed: 0.1.8]

@poppyred

@josefflorian Thanyou josefflorian :) , I will fix this.

You are right! thank you :)


chore: Update Visualizing MosaicJSON tutorial

This is technically for "updating" the ade_mosaic tutorial. It seemed like a duplicate of the SRTM tutorial because they were both creating/displaying MosaicJSONs. The ade_mosaic tutorial was using ipycmc and generating the mosaics from a list of urls, I add the "generating mosaics from a list of urls" bit into the SRTM tutorial and renamed it in the codebase (shown tutorial name is still the same). The ade_mosaic was also applying a colormap to the request so I added that in as well.

local "bucket" paths? It also is referencing the files within the ADE

View entire conversation on ReviewNB

Yes, I'm trying to clarify that in order for the Mosaic to work via Titiler the files must have an S3 path. This is only true for files in a private-bucket, my-public-bukcet, or shared-buckets path locally.

View entire conversation on ReviewNB

Does the wording above resolve this? Or I could explicitly state "local private-bucket, my-public-bucket, or shared-buckets paths to their respective AWS S3 prefixes..."

View entire conversation on ReviewNB

@jjfrench Let's ask someone less familiar with how this works to try it.

Sorry the changes look good but then I realized we're not making use of pystac_client

we should, didn't see this - lint made the changes

View entire conversation on ReviewNB

I had tested using ipyleaflet but it seems to update the map instance in previous cells whereas folium doesn't

View entire conversation on ReviewNB


Graph Api

Hello, how can I capture conversions on Facebook?

This is not supported by the package.


Change order of TLS and SASL handshake

Both Azure Service Bus and Huawei Cloud IoTDA requires TLS handshake before SASL handshake.

#18


Configure the Contact Cards application to be installable by the end user

Title: “Configure the Contact Cards application to be installable by the end user”.

LGTM


build: Update to header 1.2.197

Update known-good
Generate source

CI Vulkan-Tools build queued with queue ID 11310.

CI Vulkan-Tools build # 540 running.

CI Vulkan-Tools build # 540 failed.

CI Vulkan-Tools build queued with queue ID 11322.

CI Vulkan-Tools build # 541 running.

CI failure looks unrelated to the changes so I kicked off another run
Cloning into 'Vulkan-ValidationLayers'...
fatal: unable to access 'https://github.com/KhronosGroup/Vulkan-ValidationLayers/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

CI Vulkan-Tools build # 541 passed.


Add the hover instruction to the component switch

Refer to this commit

https://github.com/varletjs/varlet/commit/7a3f769cf46578972201125bc96c57f66686b623


Many comment style, more mistakes

When I see the README content regarding comment line specification, it is just redundant to have all of the comment style. Especially the box ascii style.
What if my magic byte is an ascii box art? Uncommon but a possibility.

Hi there,
The reason there are so many comment styles and hex formats supported is to make it easier to work with lots of different styles people have. The box drawing characters are included so that people can create diagrams to illustrate the hex.
The format itself is meant for people who want to use text to annotate data, or to just have a scratchpad in hex that they can use for whatever they like.
As for the comments being interpreted as data, you can just turn it into a hex byte. Like instead of writing # just write 23.
Does that answer your question?

Hmm, that's sufficient. Thank you
On Sun, 25 Sep 2022, 12:57 【☆ ゆう ☆ 】, @.***> wrote:

Hi there,
The reason there are so many comment styles and hex formats supported is
to make it easier to work with lots of different styles people have. The
box drawing characters are included so that people can create diagrams to
illustrate the hex.
The format itself is meant for people who want to use text to annotate
data, or to just have a scratchpad in hex that they can use for whatever
they like.
As for the comments being interpreted as data, you can just turn it into a
hex byte. Like instead of writing # just write 23.
Does that answer your question?
—
Reply to this email directly, view it on GitHub
https://github.com/netspooky/xx/issues/4#issuecomment-1257127564, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AJWTT3TQCRHWWPC4KAFBYWLV77ST3ANCNFSM6AAAAAAQU5Y5CI
.
You are receiving this because you authored the thread.Message ID:
@.***>


gradle build  with Problem

when i use gradle build 6.2.1 tag, got error
Could not resolve all files for configuration ':elasticsearch-hadoop-mr:testCompileClasspath'.

Could not resolve org.elasticsearch:elasticsearch:6.2.1-SNAPSHOT.
Required by:
project :elasticsearch-hadoop-mr
Could not resolve org.elasticsearch:elasticsearch:6.2.1-SNAPSHOT.
Could not get resource 'https://oss.sonatype.org/content/groups/public/org/elasticsearch/elasticsearch/6.2.1-SNAPSHOT/elasticsearch-6.2.1-SNAPSHOT.pom'.
Could not GET 'https://oss.sonatype.org/content/groups/public/org/elasticsearch/elasticsearch/6.2.1-SNAPSHOT/elasticsearch-6.2.1-SNAPSHOT.pom'.
Read timed out
when i use  maven { url "https://clojars.org/repo" }
maven { url "http://conjars.org/repo" }

still error ,how to resolve this problem ????

This is because the tagging process is specifically to denote the revision of the project that was released. It does not necessarily mean that the project's dependencies will be available forever for building purposes.

To resolve the error, my advice is to either work against a current version of ES-Hadoop, or set the ES dependency within ES-Hadoop to 6.2.1

@jbaiera i do as what you say ，i have already resolve ，thank you very much ！！！！！！


fix(tcgc): set sdk method body parameter encode with http content type

after fetching the sdk method body parameter, reset its encode according to the underlying http request content-type
add unit test

fix #1084

All changed packages have been documented.

:white_check_mark: @azure-tools/typespec-client-generator-core

Show changes
@azure-tools/typespec-client-generator-core - fix ✏

set sdk method body parameter encode with http content type

You can try these changes here

🛝 Playground
🌐 Website
📚 Next docs


Themeprovider used in Tabs makes DatePicker and FormControl Select unusable

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
So, let me explain the issue.
I created a <Tab/> menu with all its corresponding tags to then make a form inside one of the tabs for the User profile I am developing.
I exported the form to the tab system and no issue there, until I tried clicking the < DatePicker />  and  < Select />  inputs. The whole website disappeared into a white screen, giving me the following error 'Uncaught TypeError: Cannot read properties of undefined (reading '8')' I tried my code in CodeSandbox and worked without issue. the only place it wasn't woking was inside my Tabs.
So I went looking for what was the issue, there was nothing on the form that could bring out that sort of error. So I went to the tabs, deleting and changing things to see where the error could stem from.  And when I deleted both <ThemeProvider/> and <CreateTheme/>  it worked no problem.  I am using <styled/> components now, but as someone who used to use <ThemeProvider/>  a lot in past versions of MUI and trying to work it out in newer versions seems to give mor issues than before.
Expected behavior 🤔
Let  < DatePicker />  and  < Select />  inputs work properly inside <Tab/> component that uses <ThemeProvider/>. I think these should not be related at all.
Steps to reproduce 🕹
Steps:

Create <Tab/> with all the correct comoponents you need.
Use <ThemeProvider/> and <CreateTheme/> to change and style components to your needs.
Import to one of the tabs the Form that includes the  < DatePicker />  and  < Select />  inputs
Click and see the website go completely blank

Context 🔦
I was really confused for more than an hour trying to solve the issue. I went on StackOverflow and asked what was happening and for a little bit of help and couldn't get a correct answer until I started breaking my code slowly. I ended up solving my own question as I didn't think the Tabs and <ThemeProvider/> even had to do something with my issue.
here is the stack overflow link with my question
https://stackoverflow.com/questions/70524150/uncaught-typeerror-cannot-read-properties-of-undefined-reading-8/70532844#70532844
I just would like for <ThemeProvider/> to be more polished and easier to use in v.5 of MUI like in past versions, but it has mostly given me issues, this one being the biggest one with most dificult solution out of all of them.

  Output from `npx @mui/envinfo` goes here.

It doesn't look like this bug report has enough info for one of us to reproduce it.
Please provide a CodeSandbox (https://material-ui.com/r/issue-template-latest), a link to a repository on GitHub, or provide a minimal code example that reproduces the problem.
Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve


Unreal: Fix render instances collection to use correct data

Changelog Description
Fix render instances collection to use frameStart and frameEnd from the Project Manager, instead of the sequence's ones.
Testing notes:

In Unreal, create a Render instance and render it.
Publish the render.
Check in the published render files if the name uses the right frame range.

No errors during Publish shown...


Changes to allow nih-plug to depend on vizia main

As far as I can tell these are the minimal set of changes required for nih-plug to depend on vizia main rather than a fork of vizia, which will make it easier for nih-plug to adopt changes to vizia.

Added feature to allow disabling the default fonts from bein embedded into the binary.
Added set_text_config() method on Application to allow configuring the hinting and subpixel rendering of text using a new TextConfig type.
Updated femtovg to v0.4.0

When the need for it arises in the future, we may want to add a flag to TextConfig for loading system fonts.


"sub organization" term is still used in error messages shown on UI

Describe the issue:

Login to root tenant
create an organization with the name "org1"
Try to create another org with same name.

https://github.com/wso2/product-is/assets/25483865/bb143aff-f519-4383-b8b1-5c8e45d7bc7f
"suborganization" term should be changed to "organization" everywhere in the UI
Check other possible error messages as well

Found another place.

Assign email domains page

Wording updated: https://github.com/wso2/identity-apps/pull/4824

Verified in latest wso2is-7.0.0-rc1-SNAPSHOT


feat!: add liquid.signPset, remove private key getter and setter

This PR targets #2467
Describe the changes you have made in this PR
This PR changes the liquid provider:

remove private key setter and getter (derive it while we need it like webbtc).
add getAddressOrPrompt returning a confidential liquid address (replace getPublicKeyOrPrompt).
add signPset + signPsetWithPrompt (copy the behavior or signPsbt flow).

Type of change

feat: New feature (non-breaking change which adds functionality)
feat!: Breaking change (fix or feature that would cause existing functionality to not work as expected)

Screenshots
Accounts/Detail

How has this been tested?

[x] Unit tests in src/extension/background-script/actions/liquid/__tests__ folder.

Checklist

[x] Self-review of changed code
[x] Manual testing
[x] Added automated tests where applicable
[ ] Update Docs & Guides
[ ] Darkmode
[x] Responsive layout

https://github.com/louisinger/alby-liquid-wallet can be used to test Liquid feature manually.


update to quarkus 3.7 and java 17

Update to the latest quarkus version:

Java 17 as minimum version like quarkus: https://quarkus.io/blog/quarkus-3-7-released/
Add Java 21 to the CI

@gastaldi has always recommended us to stay on LTS 3.2.X branch only because that is how it gets listed in Extensions by which version they are using?

OK, we can keep this MR open and wait for the 3.8 of Quarkus which is the next LTS.
the 3.8 should be released in less 2 months

perfect!


Spreadsheet::remove_sheet() & Spreadsheet::remove_sheet_by_name()

Thank you for your suggestion.
We will add it in the next update.

Nice! Thanks!

Not sure this is working....

Nope, I was just silly and wasn't saving.


Android SDK 7.1.2/iOS SDK 4.9.0 - maybe we can combine efforts?

I've forked the project and have been working on updating it to use 7.1.2 on the Android side and 4.9.0 on the iOS side. I have much of it working. I've added a bunch of notes to help in understanding this codebase since I'm new to both java and objective-c development.
I noticed a recent commit to this project that adds addSource, addLayer, etc which prompted this message.
I've done something similar in my fork with GeoJSON sources with the intent of following the same style spec that mapbox-gl-js:addLayer() supports (making it easier to port code between here and there).
https://github.com/Yermo/nativescript-mapbox
I have also implement a kludgy onLayer click support on the Android side for circle and line layers. I have yet to figure out how to do the same on the iOS side. In addition, I've add support for dashArrays on lines and I'm adding an addLinePoint() method to facilitate efficient animated lines.
This all seems like we may be duplicating effort. Would it be possible to coordinate our efforts?
On my end, I'm currently stuck trying to get the mgl_interpolate expression function to work with circle radii. In my use case I need circles to get smaller as the user zooms out.
https://github.com/NativeScript/NativeScript/issues/6971
https://stackoverflow.com/questions/54890753/how-to-call-objective-c-nsexpression-format-from-nativescript/54934922#54934922
I also need to be able to catch click events on drawn layers on iOS.

Hi Yermo, thanks for bringing this (and #294) up.
I would love to combine efforts!
I've been working on the upgrade locally. I found that the crash on Android (when pausing, then resuming the app) is only reproducible when a mapstyle like this is used:
https://github.com/EddyVerbruggen/nativescript-mapbox/blob/f35aa202f696958c9c07c6a1f40111aeee4d58d9/demo/app/main-page.xml#L13
When using it like this, there's no problem:
https://github.com/EddyVerbruggen/nativescript-mapbox/blob/f35aa202f696958c9c07c6a1f40111aeee4d58d9/demo/app/main-page.xml#L25
Going forward, I think it would be best to focus on releasing a version that bumps the latest native SDKs without too many additional features. Just making sure what we currently have still works. Afterwards, we can add new features.
If we try to do everything at once I'm pretty sure we won't be able to pull it off. I've seen monstrous PR efforts fail in the past and it's very frustrating for everyone involved.
WDYT?

I am happy to break up the PRs into smaller chunks. I can put together a pull request of just my changes to gets us up to 7.1.2 easily enough.
The changes to bump the native SDKs are not that many. For Android, the event handlers all need to return a value now. addPolyline and addPolygon have been deprecated but still work.
I can leave out the event handler hack and my GeoJSON addLayer() support.
The iOS side of things "just worked" when I bumped to 4.9.0 but I haven't tested it extensively.
I like to document things as I develop. So if you look at my fork you'll see I've added headers with links to information on things that were difficult or confusing. My thinking is to save others some effort and make it easier to get other contributors involved and will certainly make it easier for me to get back into the code if I take a break from it.
Do you have any objections to me including some headers and comments in the pull request?
I was thinking about how to merge the addLayer() and addSource() support with the work I've been doing and I think I can do that in a separate smaller PR. Then I can do the click handler stuff in another PR.
I have some looming deadlines so I have to push forward with my fork. I was wondering if I might be able to pick your brain on a problem that I'm running into that I don't understand?
In my app, I need to draw circles that scale down as you zoom out. On the Android side I have it working just fine, but on the iOS side I'm having a hell of a time figuring out how to correctly create an NSExpression for circleRadius. It works in Objective-C but the corresponding NativeScript causes an exception in Mapbox.
https://github.com/NativeScript/NativeScript/issues/6971
https://stackoverflow.com/questions/54890753/how-to-call-objective-c-nsexpression-format-from-nativescript
Not being able to scale things based on zoom (and other values) makes for terrible UX, IMHO.

One issue I have noticed on the iOS side is that if I destroy and recreate the map (as I do on the android side to avoid the crash) eventually it just hangs and the map never displays. That's one I have to still track down.
And I need to figure out how to get some kind of click handler working in lines under iOS. On Android, I create an invisible clickable line over my line layer using the Annotations plugins. That seems to work but is wasteful. Sadly, the Annotations plugin doesn't support interpolation, etc so I'm forced to draw features using the style interface. For circle layers, I'm doing the click detection myself.

ok, FWIW, I have finally, after some days, figured out how to get the mgl_interpolate function to work from NativeScript.

@Yermo @EddyVerbruggen Has there been any progress on this issue?

@CarissaHurt I've ended up forking the project, refactoring quite a bit of it, adding tons of comments, adding a number of features, and taking it in a different direction more in line with the web-gls-js SDK ... I have it working with the latests SDK's for both Android and iOS. https://github.com/Yermo/nativescript-mapbox


Chore/yarn 3 migration

Description
Migrate the repo to yarn 3
Documentation
It's implicitly coumented in yarn config, don't think there's any docs needed. If we see a need we'll make it happen.

Seems yarn 3 is somehow breaking prettier. I don't really understand it yet. My local machine gives very different errors, the cloud run seems to be working but throws errors the local doesn't cause it's not ignoring files. 🤷


Add delay to StopTimeEvent

Docs: https://developers.google.com/transit/gtfs-realtime/reference#message-stoptimeevent

From the spec:

If both time and delay are specified, time will take precedence

time is already provided, so providing delay is redundant and makes no sense. Delay can be trivially reconstructed by subtracting the scheduled departure time from the realtime departure time.

Also, the scraper does not scrape the table you have attached, just the stop-based ones.