"ReferenceError: Can't find variable: globalThis" @vitejs/plugin-legacy in Safari 11

Describe the bug
Hi! I'm trying to build a simple react-ts app which consumes @chakra-ui/react for legacy browsers, and in testing Safari 11 I'm getting a blank page and the console error:

ReferenceError: Can't find variable: globalThis

Because Safari 11 supports modules, it gets the module bundle, no polyfills. If I hack dist/index.html to remove the <script modules .../> completely (and the nomodules sttr on legacy bundles) and have it load the legacy bundles, then page renders fine in Safari 11.
Is there a way of causing Safari 11 to use legacy bundles? Tx!
Reproduction
https://stackblitz.com/edit/vitejs-vite-9grdsk?file=vite.config.js,src%2Fmain.jsx,src%2FApp.jsx&terminal=dev
Steps to reproduce

configure @vitejs/plugin-legacy for Safari >= 10
npm run build && npm run preview -- --host
checked localhost:4173 in Safari 11 in browserstack (don't know if you can load stackblitz this way - believe you need to run locally with browserstack local installed)
I see a blank page and the console error:

"ReferenceError: Can't find variable: globalThis".

// vite.config.js
export default defineConfig({
  plugins: [
    react(),
    legacy({
      targets: ["defaults", "safari >= 10", "not IE 11"],
    }),
  ],
});

System Info
System:
    OS: macOS 13.0.1
    CPU: (10) x64 Apple M1 Pro
    Memory: 64.05 MB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.12.1 - ~/Library/Caches/fnm_multishells/56743_1673306339588/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 8.19.3 - /opt/homebrew/bin/npm
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Firefox: 108.0.2
    Safari: 16.1
  npmPackages:
    @vitejs/plugin-legacy: ^3.0.1 => 3.0.1
    @vitejs/plugin-react: ^3.0.0 => 3.0.1
    vite: ^4.0.0 => 4.0.4

Used Package Manager
npm
Logs

ReferenceError: Can't find variable: globalThis
Sorry - can't copy text out of the browserstack console! (note that the error is raise in the module bundle)

Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

I think you mean Safari 11.1 and not Safari 11, as the url to browserstack is linked to Safari 11.1.

Is there a way of causing Safari 11 to use legacy bundles?

Safari 11 will use legacy bundles and there aren't a way to make Safari 11.1 to use legacy bundles.(#6922)
The current intended way is to use modernPolyfills option.
https://github.com/vitejs/vite/tree/main/packages/plugin-legacy#modernpolyfills

The current intended way is to use modernPolyfills option.

Thanks very much - es.global-this solves my issue! Will watch 6922 for other edge cases 🙏
import legacy from '@vitejs/plugin-legacy'

export default {
  plugins: [
    legacy({
      modernPolyfills: [
        // Safari 11 has modules, but throws > ReferenceError: Can't find variable: globalThis
        "es.global-this",
      ],
    }),
  ],
}


Setup Travis CI deployment scripts

[ ] Deploy branch that is being test
[ ] Test the script
Story point: 3
-Time estimation:5h

This is an enhancement that is not part of testing. It has been pushed to sprint 3


Flarum Upgrade/Update Functionality

Pockethold does not support this at the moment.
It is possible to do it, but it requires some manual work.
I am currently experimenting with this, and will most likely write a guide for this when I am comfortable with it myself.
I do plan to have upgrade being part of Pockethold.
But it depends on the new UI being finished before I can start work on it.

Any update on this feature?

With latest Composer 2 Preview, parallel downloads was made possible.
This increases the probability of creating a viable updater/extension installer.
This would most likely come in the form of a generic form input variant of Pockethold, where you enter your composer commands.


⚠ Bofrost.lu has degraded performance

In 9471759, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1581 ms

Resolved: Bofrost.lu performance has improved in 2771378 after 31 minutes.


Calling equals() on a reference of exact static type Iterable, Collection, Queue or Multimap

Need to do some research here into when this might be safe. But these are four common container types that do not have well-defined equals() behavior. Calling equals() without specifically knowing what subtype you have is dangerous, and leads to the types of situations where you end up with an assertion failure saying "not true that XYZ equals XYZ" where the XYZ string is exactly the same in both cases. Users love those.

This happened in bfdd94d744e211bcc2a96655f7f9553372b08916: http://errorprone.info/bugpattern/UndefinedEquals


Resize Image

Hello ... how can i resize the images in  ... Style applies only to the container of the component ... does not apply to the image. Any help ?

Anyone ?

@ArtiomShapovalov ... I have tried using the customSlide but it  tends to add all the images in to one slide ... I mean I have 2 images in the source array and it adds both the images in one slide ... I am saying this because when I swipe to slide through the images both the images slide at once ...


refactor: add booking status column

Extra:

add booking status enums

Review Checklist

Summary*

[ ] fix: Bug fix for Add the items tackled here as checklists
[x] feat: Completed task
[ ] chore: Incomplete task

[ ] test: Sub-task 1

Structure*

[ ] The Pull Request has a proper title that conforms to our MR title standards
[ ] The Pull Request has one commit, and if there are more than one, they should be squashed
[ ] The commit should have a proper title and a short description
[ ] The commit must be signed off
[ ] Unused imports are not present
[ ] Dead code is not present
[ ] Ensure dry running library to confirm changes

Tests

[ ] Proper and high quality unit, integration and acceptance(if applicable) tests have been written
[ ] The coverage threshold should not be lowered

Sign off*

[ ] All comments have been resolved by the reviewers
[ ] Approved by Czar {replace_with_czar_name}
[ ] Signed off by second reviewer {replace_with_name}
[ ] Ensure all checks are done before merging :warning:
[ ] All PRs needs to be signed before merging :warning:

N/B:

Add a checklist if more than one item is done.
Add screenshots and/or images where necessary
Indicate any breakages caused in the UI :exclamation:
Where necessary, indicate which issue the Pull Request solves (Closes #)
Any new files are updated in the folder structure in the README

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

28 of 28 (100.0%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 83.226%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
17529

Relevant Lines:
21062

💛  - Coveralls


Info for CQF

Hi, can u show some examples How to use CQF mode?
Regards

@thx4ever I don't see any paramerters in --fullhelp yet. It would be for next version.
@adamjw24 Anyway I also want to ask: Does CQF work similarly to x264/x265 CRF?

CQF is similar to CRF in x265/x264, which means it is rate capped constant quality encoding.
Constant quality, i.e. --qp XY --qpa 1. Capped, i.e. --maxrate YZ. So thats the three params you use for CQF. --qpa 1 is the default, so can be skipped.
Best, Adam

CQF is similar to CRF in x265/x264, which means it is rate capped constant quality encoding.
Constant quality, i.e. --qp XY --qpa 1. Capped, i.e. --maxrate YZ. So thats the three params you use for CQF. --qpa 1 is the default, so can be skipped.
Best, Adam

You mean --qp -qpa 1 --MaxBitrate?

You mean --qp -qpa 1 --MaxBitrate?

No, I mean --qp A --qpa 1 --maxrate B, thats for vvencapp tho. For the vvencFFapp the params are different.

Im currently using vvencFFapp can u show me how to do it?
Regards

You mean --qp -qpa 1 --MaxBitrate?

For vvencFFapp, --QP=A -qpa 1 --MaxBitrate=B (-qpa 1 is the same as --PerceptQPA=1) seems the way to go. Mind that -qpa 1 is not the default, so this has to be specified.


Added missing PY2AND3 build annotation

As @martinwicke commented, building for python 3 was failing due to missing srcs_version="PY2AND3" annotations. This single addition of the annotation allowed the build to complete successfully for me using python 3.5.1 on OS X 10.11.2.
Fixes #791

Can one of the admins verify this patch?

Jenkins, go test this please.

Thanks. This looks good. Running tests for completeness.

You're welcome. Glad I could help!


Post release automated changes for sqlvirtualmachine releases

Post release automated changes for azure-arm-sqlvirtualmachine

API change check
API changes are not detected in this pull request.


feat(ConditionBuilder): option to default enable with initial state

Closes #5874
This will add an option to start the condition builder by default when initial state is provided. Currently initial state populates when Add Condition button is clicked.
initialState prop will now accept a initial state as well as boolean that decides whether to default populate the state.
How did you test and verify your work?
Storybook

i'm not sure i see the benefit here of adding initialConditionalState. using props as state is viewed as an anti-pattern and i think it's something we should take a look at here. if we can derive what we need directly from props then adding additional state only complicates things.
take a look at these and let me know what you think
https://react.dev/learn/sharing-state-between-components#a-single-source-of-truth-for-each-state
https://react.dev/learn/choosing-the-state-structure#avoid-redundant-state

Hi @davidmenendez ,
Thanks for pointing this out. I have managed this with ref.


FIX: Fix simulate_evoked and apply_forward

cc @LaetitiaG it should fix your pb.

Indeed, it works fine now! thanks a lot!


Suppress deprecation warnings in UIActionSheet+PromiseKit

Can we suppress these warnings somehow? Or, since we can explicitly import the PromiseKit/UIKit pod separately anyways, could we maybe remove this extension by default from the umbrella pod?
'UIActionSheet' was deprecated in iOS 8.3: UIActionSheet is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleActionSheet instead

It is impossible to suppress deprecation warnings.  I have not come up with a solution.

We can't remove this category from the umbrella pod because CocoaPods offers no way to selectively remove files based on deployment target. And people may still need this category. Splitting it out would be a breaking change.

Ah, darn. Thanks anyways!

I've removed deprecated stuff from PMK4 since it has been two years since the deprecation now. They are going to be still available in a subspec. Nothing else we've been able to do, removing them outright earlier would have been outrageous to people who needed them. CocoaPods doesn't let us turn on no warnings, and you can't turn off warnings in the source code in Swift (just objc).


[Bug]: BigQueryIO direct read not reading all rows when set --setEnableBundling=true

What happened?
The feature is introduced in #25392. When --setEnableBundling=true pipeline option is set, it turns out that BigQueryIO only reads a small fraction of row for large table. Reproduced reading tpcds_1T.web_sales table.
Number of rows: 720,000,376
--setEnableBundling=true: 44,550,489 rows read
--setEnableBundling=false: 720,000,376 rows read
Reading from tpcds_1G.web_sales table, the issue is not triggered, as 18,000 rows are read.
Issue Priority
Priority: 1 (data loss / total loss of function)
Issue Components

[ ] Component: Python SDK
[X] Component: Java SDK
[ ] Component: Go SDK
[ ] Component: Typescript SDK
[ ] Component: IO connector
[ ] Component: Beam examples
[ ] Component: Beam playground
[ ] Component: Beam katas
[ ] Component: Website
[ ] Component: Spark Runner
[ ] Component: Flink Runner
[ ] Component: Samza Runner
[ ] Component: Twister2 Runner
[ ] Component: Hazelcast Jet Runner
[ ] Component: Google Cloud Dataflow Runner

Affecting >=v2.46.0

This seems like a pretty severe issue. Any progress?

The feature is introduced in Beam v2.46.0 and is activated only when this currently undocumented pipeline option is set. No production user is using it. @vachan-shetty is working on fix.

Is this related to #26521 or no?

@kennknowles thanks, will test if #26503 fixed the issue.


Recently introduced FTBFS: "undefined: dns.ErrTruncated"

Step 36/36 : RUN go get github.com/zmap/zdns/zdns
 ---> Running in fcd3f160cf72
# github.com/zmap/zdns/modules/miekg
/home/nonroot/go/src/github.com/zmap/zdns/modules/miekg/miekg.go:509:12: undefined: dns.ErrTruncated

Probably a version of required package should be pinned or source updated.

Most likely related:

It looks like this was fixed in the codebase a while back, so closing this issue.


fMRI-EEG Preprocessing QA

Title
fMRI-EEG Preprocessing QA
Leaders
@s_goodale23 - Sarah Goodale
Collaborators
No response
Brainhack Global 2023 Event
BrainHack Vanderbilt
Project Description
We are working on developing a QA pipeline for simultaneously collected fMRI-EEG data so that the user can determine whether the data is denoised and clean enough for further analyses.
Preprocessing is a critical step in neuroimaging analysis, laying the foundation for accurate and meaningful scientific discoveries. We need help configuring a pipeline to quality check for multiple datasets. This project will allow attendees with or without experience handling fMRI/EEG data to get a chance to work with what we call the "raw data". Working on a QC pipeline includes devising visuals of what the data looks like at various stages to make sure that the preprocessing is working as you expected and the data collected is good quality for future analyses. Toolboxes used include AFNI, FSL, ANTs, chronux, etc.
Link to project repository/sources
https://github.com/goodalse2019/fMRI-EEG_preproc_QA_VUBrainHack
Goals for Brainhack Global

Brainstorm different QA checks that will best represent what we are looking for in the data
Learn more about the importance of various QA in fMRI and EEG data and how to best interpret our data
Code an automatic pipeline to implement our QA checks and outputs an html or pdf of the figures/results

Good first issues

issue one: organizing and deciding on best QA for both fMRI and EEG modalities
issue two: experimenting with toolboxes to get various plots or figures for the QA step of interest
issue three: develop an outline of a script that will output a clean, clear, and easy to use pdf or html of QA figures

Communication channels
#fmri-eeg-preproc channel on BrainHack Vanderbilt Discord
Skills
Familiarity in working with fMRI and/or EEG data will help but is not necessary to join the project!

FSL: basics
AFNI: basics
MATLAB: basics
bash: basics

Onboarding documentation
No response
What will participants learn?
Participants will:

Learn how to read and interact with fMRI and EEG data from the raw unprocessed stage to the final analysis ready data
Enhance their understanding of the most helpful toolboxes associated with neuroimaging and gain a foundational knowledge in using and implementing command line versions of their functions
Learn how to develop and implement a pre-processing pipeline for both datatypes in MATLAB and/or bash

Data to use
Public HCP dataset for deidentified fMRI data (https://www.humanconnectome.org/study/hcp-young-adult).
Previously collected and deidentified EEG data from a home collected data where pieces have been made publicly available on https://github.com/neurdylab/fMRIAlertnessDetection.
Number of collaborators
3
Credit to collaborators
Collaborators will be credited on the GitHub site documentation for any users who are interested in downloading and using this project's QA pipeline.
Image
Leave this text if you don't have an image yet.
Type
pipeline_development, visualization
Development status
1_basic structure
Topic
other
Tools
AFNI, ANTs, FSL, SPM, other
Programming language
Matlab, Python, shell_scripting, unix_command_line
Modalities
EEG, fMRI
Git skills
0_no_git_skills, 1_commit_push
Anything else?
other under topic: pre-processing, quality analysis
Things to do after the project is submitted and ready to review.

[x] Add a comment below the main post of your issue saying: Hi @brainhackorg/project-monitors my project is ready!
[ ] Twitter-sized summary of your project pitch.

Hi @brainhackorg/project-monitors my project is ready!

@goodalse2019
your project is displayed on the website

http://brainhack.org/global2023/projects/


Is there "Be notified of new releases" function when somebody watch repository.

Description
Is there "Be notified of new releases" function when somebody watch repository.

coming in #12463

Great~


feat(server): change http server to ring/jetty

Codecov Report

Merging #37 into master will decrease coverage by 1.6%.
The diff coverage is 5.1%.

@@            Coverage Diff             @@
##           master      #37      +/-   ##
==========================================
- Coverage   38.42%   36.82%   -1.61%
==========================================
  Files          14       14
  Lines         458      478      +20
  Branches       34       34
==========================================
  Hits          176      176
- Misses        248      268      +20
  Partials       34       34

Impacted Files
Coverage Δ

src/restql/server/database/core.clj
69.23% <ø> (ø)
:arrow_up:

src/restql/server/request_util.clj
76.74% <0%> (ø)
:arrow_up:

src/restql/server/server.clj
41.66% <0%> (-3.79%)
:arrow_down:

src/restql/server/core.clj
25% <20%> (+1%)
:arrow_up:

src/restql/server/exception_handler.clj
7.69% <4.16%> (-8.98%)
:arrow_down:

src/restql/server/async_handler.clj
11.51% <4.68%> (-0.9%)
:arrow_down:

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 feb84b8...47ee89f. Read the comment docs.


set hdx key via value instead of file.

This is useful if you are running an application in a server environment with limited access to the filesystem, and want to configure the HDX_KEY via an environment variable

Coverage increased (+0.008%) to 95.626% when pulling ec7811d8ef24ca2156953ab655d9d6e77ed6b097 on bdon:master into 9745be79435a7d640303a26410722bb7227d2453 on OCHA-DAP:master.

Great thx


New trigger RFC

Before I write up a real RFC, here's a probably half-baked initial proposal of the mutation rewrite stuff that will get split off of this. The idea Elvis and I had was that it would approximately be a generalization of default.
type Entry {
    # ...
    required property mtime -> datetime {
        rewrite insert, update using (datetime_of_statement())
    }
};

type Post {
    # ...
    multi link likes -> Like;
    required property cached_like_count -> int64 {
        rewrite insert, update using (count(.likes))
    }
};

The big question here is what all information to expose to the rewrite rules. Should we expose an __old__ thing for just updates. Should we find a way to distinguish between things that weren't specified and things what were specified as {}. How about stuff like +=?

Oh, I like it so much more. Even though it probably covers smaller number of use cases, it provides much nicer interface for the most common case.
One tiny thing is, rewrite insert, update using ..., at a glance reads like "rewrite insert: do update using ..." (i.e. comma splits that into two subordinate clauses rather than groups insert and update). It's better to tweak it a little bit, for example:

rewrite (insert, update) using ...
rewrite using (count(.liks)) on insert, update

Are triggers supported for abstract types?
If so can I receive the concrete implementation in the trigger?

How do I communicate with the outside world from a trigger? Will I be able to do that from a client libraty?

Are triggers supported for abstract types?
If so can I receive the concrete implementation in the trigger?

Yes. Depends what you mean on the second part. You'll have access to __type__, certainly

2. How do I communicate with the outside world from a trigger? Will I be able to do that from a client library?

Probably in 4.0?

@elprans @1st1 could I get an approval to merge this since I think it is a complete proposal


SQLITE_CONSTRAINT: FOREIGN KEY constraint failed

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

Description
Error message:
insert into monitor_notification (monitor_id, notification_id) values (13, '2') - SQLITE_CONSTRAINT: FOREIGN KEY constraint failed
👟 Reproduction steps
Happens occasionally when editing and updating/saving older entries.  For example, I updated the retry number from 2 to 6 and hit save, and received this message.  Reloading and repeating doesn't throw the error a second time for the same entry, however it continues for other entries at seemingly random times.
👀 Expected behavior
No error :)
😓 Actual Behavior
Error message:
insert into monitor_notification (monitor_id, notification_id) values (13, '2') - SQLITE_CONSTRAINT: FOREIGN KEY constraint failed
🐻 Uptime-Kuma Version
1.10.2
💻 Operating System and Arch
Debian
🌐 Browser
Chrome latest
🐋 Docker Version
Docker  version 20.10.10, build b485636
🟩 NodeJS Version
No response
📝 Relevant log output
-rw-r--r-- 1 root root    0 Oct 31 13:25 error.log

So who knows?

I just installed uptime kuma in a docker, pulled the latest docker image of aug 18 2023.
After adding 19 alerts (2 ping and 17 websites) I get this error too trying to add the 20th.
Any clue on how to solve this?

Given that this is not really reproducible on my end, no.
What is the storage you are running this on?
Is there something weird about your environemnt?

The docker container storage is local disk storage, snippet from my docker-compose.yml :
volumes:
- ./data:/app/data
Running on a Synology NAS in the Docker environment.
My workaround for now is to pull the louislam/uptime-kuma and continue to run with that (same database). I could add just now another website check without the sqlite error.

Same error, different table;
[2024-02-15 18:17:34] [Error: insert into `heartbeat` (`down_count`, `duration`, `important`, `monitor_id`, `msg`, `status`, `time`) values (0, 0, true, 129, 'No heartbeat in the time window', 0, '2024-02-15 23:17:34.195') - SQLITE_CONSTRAINT: FOREIGN KEY constraint failed] {
  errno: 19,
  code: 'SQLITE_CONSTRAINT'
}


Txlock not working as expected

I expected Txlock to work with any channel so went through my channels using chirp, locking any I don't want to risk TXing on. This setting is indeed changed and saved to file, yet once uploaded to the radio the setting is lost for channels other than AM - specifically airband as I have no other AM channels to test with. I can set some up if you need? The setting is again lost for my FM channels when changed on the actual radio as well.

Trust me, it works.
What firmware version are you using? And what version of Chirp driver?

3.3 with 3.3.0 driver.
Is it right that this setting won't function if "UNLOCK ALL" is selected?

Yes of course.
The FLock setting takes priority.
The right approach, if you're not a radio amateur, is to choose "DISABLE ALL" and then open exceptions on certain frequencies via TXLock.

I see. Opposite way to what I expected from my experience of these radios so far, but makes total sense.
Thank you.
Closing

Thank you 😌


Added new -x flag to prevent script execution

dhcp6c will launch th script  specified in the config files on receipt
of a reply from the dhcp6 server. In certain circumstances this is not
requred, namely where rtsold runs after dhcp6c ( certain ISP's require
this ) and calls the same script. This additional flag prevents dhcp6c
from running the script only when it receives a REPLY signal from the
server. As the REPLY signal is only sent when replying to a REQUEST, and
as the REQUEST is only sent at the start of a session then any other
trigger to run the script will execute it as normal.

Apologies for PR to wrong fork, now corrected.

In the ‘abnormal’ ISP case the dhcp6 request is sent before the
RS. In this case the RA arrives after the dhcp6 reply and if the
script is left to run then when the RA signal arrives, as in the case
of pfSense, then RTSOLD will run the same script before the first run
of the script launched by dhpc6 has completed. So in the case latter
case you would set the -x flag to prevent dhcp6 from running the
script as RTSOLD will do that when the RA signal arrives.

What is going on in your environment is still not clear to me.  You mean a Request message is sent before RS by the client?  Which mode is used, a client-initiated or a server-initiated configuration exchange (e.g. what runs dhcp6c in this case)?  Normally whether sending RS or DHCP Solicit/Request depends on the client side, so I think it is not related to ISP.  And is the Request message sent by using a unicast address?  If so what address and IA option are used?  Do RAs sent by the router have O or M option?
I'd appreciate if you could tell me what messages are exchanged between the client and the server.  I would like more specifics to understand it.

OK, I've asked a network engineer from the ISP to email me with the exact requirements and explanation of the negotiation sequence, but in the meantime, this is my understanding.
The ISP's server requires that a dhcp6 solicit is sent by the client before an RS is sent by the client, If the RS is sent first then negotiation will fail. This means RTSOLD must not start before dhcp6c.
The sequence therefore is this:
dhcp6c  starts and sends a solicit, it receives the Reply or Offer to that solicit it then sends a request, the server responds with a Reply containing the requested IA/PD.
At this point dhcp6c would execute the script specified in its configuration file,
Whilst the above has been happening, RTSOLD has been launched and is sending RS packets out, the server will not respond to the RS packets until it has completed the dhcp6 negotiation.
Now, this is where the issue is, dhcp6c has started the execution of the WAN configure script before the RA has been received, When the RA is received then the WAN configure script is called again, this often results in multiple instances of the script running at the same time, as the RTSOLD launched script is started before the dhp6c script has completed. In this configuration, we call it 'dhcp6 before RA' the additional '-x' flag prevents dhcp6c from launching the script when it receives a Reply to a Request, RTSOLD on receipt of the RA, which will happen after dhcp6c has received it's Reply will launch the WAN configure script.
Does that help at all?

Thank you for the information.  I have two more questions.  The first one is the reason why rtsold is required for your configuration.  I think it works with only dhcp6c if all of information such as DNS server addresses is provided via DHCP options.  An interface with accept_rtadv flag receives RAs for SLAAC and default router information even if no rtsold is running.  I guess RAs on the link has "O" since you are referring a configuration script but I think you do not need to specify -O flag to rtsold in this case.  What configuration is expected by the script here?
And the second one is what script is used for dhcp6c and rtsold.  I am a bit confused by a sentence "multiple instances of the script".  Are you using the same script for dhcp6c interface script option and rtsold's -O flag?  Purposes of the two scripts are different from each other, and more specifically the script for rtsold -O flag is originally designed just for invoking a dhcp6 client.  So if you currently specify the same script to dhcp6c and rtsold, just removing -O flag of rtsold or removing invocation of rtsold would be a correct configuration.  Although I do not know the details about how they are configured in pfSense, using the same script for the two is quite odd to me.  According to the ISP's information, you should use dhcp6c only and invoke rtsol (not rtsold) in the configuration script of dhcp6c to aggressively send an RS after receiving a DHCP Reply message.
Is pfSense is trying to support the two typical cases (i.e. RA-only and RA with O-flag + DHCPv6) by specifying the same script to rtsold and dhcp6c to configure the uplink interface?  If so, it is still possible for the script to detect which daemon invoked the script because environment variables and arguments are different.  IA_PD should be handled by a script for dhcp6c, not by one invoked by rtsold, for example.
While I do not have a strong opinion about adding -x flag, honestly speaking I am still not sure of the case when it is useful.  Assuming that the same script is used for dhcp6c and rtsold, it looks more reasonable to me that separating it for each or making it work differently based on which daemon invoked it.  Are there any reason not to do so?
Please correct me if I am missing something in the above two questions.  Thank you.

The script called by RTSOLD when dhcp6c is launched before RTSOLD does not call dhcp6c again, the call to start dhcp6c is removed when in that mode.
What it calls is a script that then calls the main wanipv6 configure script, this second script is responsible for setting everything to do with IPv6 on that interface and beyond, that includes routing, gateways, dns, filters etc, pretty much the whole 9 yards when it comes to ipv6.
A change to  the  route, IA/PD, DNS etc needs to call that script as so many other functions are dependent on those parameters being correct.
For example, when the system first fires up, to correctly configure it needs all of the information obtained by RTSOLD and dhcp6c. In the case where dhcp6c fires up first then the script is still going to need the information provided by RTSOLD to correctly configure everything else.
I suppose from my point of view it's useful where you have a system such as pfSense that has to be able run in both modes, in RA before dhcp6 I want to run the script, in the case of dhcp6 before RA it's useful not to run  the script on that initial Reply to a Request. It's even more useful if you have multiple WAN interfaces which may be running in different modes.
However, it is a solution to a problem that can also be solved in other ways. I will look at doing it another way.


the css3 text-align: start error: should be one of  auto, center, justify, left, right

Can new attributes for css3 be supported

⚠ You did not follow the contributing guidelines!
As stated in these:

You need to fill out the issue template. This step is mandatory! Not doing so will result in your issue getting closed. Don't take this personally if this happens, and feel free to open a new issue once you've gathered all the information required by the template.
Although we might still help you without all these informations, it would be unfair to let some people post issues without filling everything.


@NSManaged var password: String?
@NSManaged var username: String?
}
When I want to get:
var user = User.find("username == %@", args: "username") as! User;
When I execute user.delete() and restart de aplication, I realize that the object "user" hasn't been removed from core data...¿Am I doing something wrong?

What version of SwiftRecord are you using?

I am using 0.0.5.
Later, I have realized that if later of call to delete() function I call to save() function the object is removed correctly from core data.
The proccess will be:
user.delete()
user.save() //Here is the confirmation to remove object
It seems that the behavior of save() function is like a commit object, but I don't know if that is the correct behavior.

This is how Core Data is designed. All the core data changes you make are only done in memory. Once you save() the changes, SQLite is updated.
SwiftRecord calls save() in applicationWillTerminate() to save all your core data changes before the application dies, but if your application crashes or exits without calling willTerminate, the data won't be saved to SQLite

delete() -> Ambiguous use of 'delete()' in xcode 7.3 swift 2.2


Certify images used by pipelines

Go through the RH container certification process for the validation & kubectl containers.

Please use the release Dec 2 rather than the label release-0.4

Requested account for pipelines team to certify images.  Apparently it takes 2 weeks.  Will certify image once we have the account.

@kvijai82 - Was the work completed in Kabanero 0.6.0 or is it moved to a later release?

According to @smcclem - need to be looked at sometime later. Removing the release target, as per request.


Experience trying to update nodePackages

Describe the bug
I tried to add my first npm program to nixpkgs (https://github.com/sharkdp/insect).
My first first try pkgs/development/node-packages/generate.sh failed I was in the wrong folder. I think this could be fixed with a similar approach as in maintainers/scripts/update-luarocks-packages (i.e., call a shell.nix that can exports the path to the folder).
My 2nd try failed with
http 503 https://registry.npmjs.org/@node-red%2Fruntime
Error: Registry returned 503 for GET on https://registry.npmjs.org/@node-red%2Fruntime: No frontdoor hosts available

I tried to rerun the script but it failed because it could not find node-env.nix. It appears that the first thing generate.sh does is to remove node-env.nix so if the call fails, you can't rerun it without restauring that file (git checkout channels/nixos-unstable -- node-env.nix). Doing the operations in a temporary folder via mktemp, and updating the node-env.nix only on success could prevent that.
I've reran several times since then but everytime my ./generate.sh calls fail on a different package but iwth the same error:
http 503 https://registry.npmjs.org/@ionic%2Futils-fs
Error: Registry returned 503 for GET on https://registry.npmjs.org/@ionic%2Futils-fs: No frontdoor hosts available

I don't know if there is a knob that could help node be more tolerant to No frontdoor hosts available errors ?
Using nixos-unstable
CC @svanderburg

I finally managed to generate the set !
I have the following error when trying to install "insect". I will try to fix it, posting just in case anyone had an idea
<EMAIL_ADDRESS>/nix/store/2nx32z7yz18238z1aaq4zbrbnfywsvd7-node_insect-5.3.0/lib/node_modules/insect/node_modules/xdg-basedir
<EMAIL_ADDRESS>/nix/store/2nx32z7yz18238z1aaq4zbrbnfywsvd7-node_insect-5.3.0/lib/node_modules/insect/node_modules/os-homedir
   ...........] / postinstall: sill install executeActionsor for puK
><EMAIL_ADDRESS>postinstall /nix/store/2nx32z7yz18238z1aaq4zbrbnfywsvd7-node_insect-5.3.0/lib/node_modules/insect
> bower --allow-root install && npm run browserify && npm run copy

sh: bower: command not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR<EMAIL_ADDRESS>postinstall: `bower --allow-root install && npm run browserify && npm run copy`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /build/.npm/_logs/2019-10-07T12_56_52_498Z-debug.log

note: keeping build directory '/tmp/nix-build-node_insect-5.3.0.drv-0'
builder for '/nix/store/17rdl9rsb4i8lwhg85pzh0m12rncsyfj-node_insect-5.3.0.drv' failed with exit code 1
error: build of '/nix/store/17rdl9rsb4i8lwhg85pzh0m12rncsyfj-node_insect-5.3.0.drv' failed

I tried to address some of the issues in https://github.com/NixOS/nixpkgs/pull/70974/

fixed over there.


Fixes

Codecov Report

Merging #102 (b96cb87) into master (62a9a93) will decrease coverage by 0.15%.
The diff coverage is 26.12%.

@@            Coverage Diff             @@
##           master     #102      +/-   ##
==========================================
- Coverage   30.97%   30.81%   -0.16%
==========================================
  Files          66       66
  Lines       13383    13398      +15
  Branches      211      209       -2
==========================================
- Hits         4145     4129      -16
- Misses       9027     9060      +33
+ Partials      211      209       -2

Impacted Files
Coverage Δ

src/clj/skylobby/fx/engine_sync.clj
1.80% <0.00%> (ø)

src/clj/skylobby/fx/engines.clj
6.25% <0.00%> (ø)

src/clj/skylobby/fx/map_sync.clj
1.63% <0.00%> (ø)

src/clj/skylobby/fx/maps.clj
8.58% <0.00%> (ø)

src/clj/skylobby/fx/mod_sync.clj
3.06% <0.00%> (ø)

src/clj/skylobby/fx/mods.clj
7.69% <0.00%> (ø)

src/clj/skylobby/fx/user.clj
22.81% <10.00%> (-7.19%)
:arrow_down:

src/clj/spring_lobby.clj
11.69% <19.56%> (-0.02%)
:arrow_down:

src/clj/spring_lobby/fs.clj
25.29% <40.00%> (+0.06%)
:arrow_up:

src/clj/skylobby/fx/battle.clj
64.71% <100.00%> (ø)

... and 3 more

Continue to review full report at Codecov.

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


MugShot Plugin Errror

I am struggling to resolve an error with the Mugshot plugin on a fresh install of Piwigo. When I install mugshot it shows a red caution icon in the top left corner of the mugshot plugin and I get a pop when I enable it that says an error has occurred. When I look at apache2 error logs this show up in there. I have followed a few thread online but nothing seems to help. Any help you can provide would be greatly appreciated.
[Wed Apr 06 05:05:31.410064 2022] [php7:warn] [pid 6882] [client <IP_ADDRESS>:20070] PHP Warning:  [mysql error 1062] Duplicate entry 'MugShot' for k
ey 'PRIMARY'\nINSERT INTO piwigo_config (param,value,comment) VALUES ("MugShot","","MugShot configuration values"); in /var/www/html/piwigo/include/dbl
ayer/functions_mysqli.inc.php on line 847, referer: https://www.hessel.family/admin.php?page=plugins&tab=installed
Piwigo 12.2.0
Operating system: Linux
PHP: 7.4.28
MySQL: 5.5.5-10.4.24-MariaDB-1:10.4.24+maria~focal [2022-04-06 05:18:52]
Graphics Library: External ImageMagick 6.9.10-23
Cache size 20 Mo
Plugins
Community
LocalFiles Editor
Mug Shot
No Stats For Robots
Take A Tour of Your Piwigo
VideoJS

Hi, I had the same issue, I resolved editing the table "piwigo_config".
Try to remove the PRIMARY key on the param column. I've done via phpmyadmin and now I can turn on the plugin.

Hi @klauz1984 I can not thank you enough that did the trick and thge plugin is starting now. One thing the plug is doing is showing a caution where when I hover over it is telling me that mugshot is not compatible with the version of Piwigo I am running. It looks like everything this is working so hoping this is just cosmetic. Were you having this same issue and if you resolve it any help would be appreciated.

Here is my current versions.
Piwigo 12.2.0
Operating system: Linux
PHP: 7.4.29 (Show info) [2022-05-26 02:06:04]
MySQL: 5.5.5-10.4.25-MariaDB-1:10.4.25+maria~focal [2022-05-26 06:06:04]
Graphics Library: ImageMagick 6.9.10-23
Cache size 140.47 Mo
Activated plugin list10
Community
Crypto Captcha
GThumb+
LocalFiles Editor
Mug Shot
No Stats For Robots
Tag Recognition
Take A Tour of Your Piwigo
User Tags
Thanks again, Tom.

Hi, I think that ccraig didn't update the version on main.inc.php file, try to change the 'MUGSHOT_VERSION" to 2.0.3 on /piwigo/plugins/MugShot/main.inc.php (row 30).

Thank you so much, I do remember this from earlier troubleshooting but slipped my mind, soon as I vi'd to that my cursor was stil on the version haha. Thanks again for all your help, this fixed the issue and that plugin is working perfectly now. Really appreciate it.


$scope.options is not responding for gantt-table

I wanted to add checkboxes before row names to delete them pluraly. I will add the checkboxes according to their id variable. So I used this pattern;
gantt.html
<div id="planboard" api="registerApi" headers="columnHeaders" current-date="from" move-threshold="moveThreshold" column-width="columnWidth" from-date="from" to-date="to" task-out-of-range="truncate" auto-expand="none" expand-to-fit="true" view-scale="viewScale" headers-formats="headersFormats" gantt data=data>
            <gantt-table enabled="options.enabledelete"
                         columns="tableColumns"
                         headers="tableHeaders"
                         contents="tableContents"
                         header-contents="tableHeaderContents"
                         formatters="tableFormatters"

                         ></gantt-table>
            <gantt-tree></gantt-tree>
            <gantt-groups></gantt-groups>
            <gantt-tooltips></gantt-tooltips>
            <gantt-bounds></gantt-bounds>
            <gantt-progress></gantt-progress>
            <gantt-sortable></gantt-sortable>
            <gantt-movable enabled="true"
                           allow-moving="true"
                           allow-resizing="true"
                           allow-row-switching="false"></gantt-movable>
            <gantt-draw-task enabled="options.enableDrawTask"
                             task-factory="options.drawTaskFactory"></gantt-draw-task>
            <gantt-resize-sensor></gantt-resize-sensor>
            <gantt-overlap></gantt-overlap>
        </div>

As you see above, I linked privilege to the options object, so I can decide according to the elements our row has. My options and other attributes for table:
controller.js
        $scope.tableColumns = ['row.model.id'];

        $scope.tableHeaders = { 'row.model.id': 'Selection'};

        $scope.tableContents = {
            'row.model.id': '<input type="checkbox" enabledelete={{getValue().result}} idno={{getValue().idno}} >'
        }

        $scope.tableFormatters = {
            'row.model.id': function (value, column, row) {
                value = parseInt(value);
                if (value >= 0 && row.tasks.length>0)
                    return {
                        result: true,
                        idno: value
                    }
                return {
                        result: false,
                        idno: value,
                    };
            }
        }

        $scope.tableHeaderContents = {
            'model.id': '<input type="checkbox" ng-model="selectedAll"/>'
        }
        $scope.options = {
            drawTaskFactory: function () {
                var newTask = {
                    name: 'New Task',
                    color: 'grey'
                }
                return newTask;
            },
            enableDrawTask: function (e) {
                return e.currentTarget.className.includes('enableDraw')
            },
            enabledelete: function (e) {
                return false;
            }
        };

My task drawing functions work properly yet somehow, even I write to return false in the command, gantt doesn't recognize it and accepts it as default enabled="true"way. My real intention is doing this;
            enabledelete: function (e) {
                return e.currentTarget.enabledelete.value == true;
            }

As you can guess, it's not working either. So, I'm looking for comments and suggestions about this issue.
Edit: This is the visual expression of what i intended to do. Red crossed checkboxes shouldn't be appeared.

Do you still have an issue ? Did you made any advance ? Sorry for delay ...

I think what you really need is a <gantt-table contents="..."> that can vary based on the row, to display or not the checkbox.
But you can't do this using the enabled property of the gantt-table plugin, because this property is used to enable the whole table plugin.
You have to use a contents template that includes a ng-disabled or ng-hide directive. Inside this templates, your own scope is accessible using scope property. So write something like this in your controller ...
Also, you can use {{row}} instead of {{getValue()}} to retrieve the whole internal Row object, or {{row.model}} for the associated model from your data.
$scope.tableContents = {
    'row.model.id': '<input type="checkbox" ng-disabled={{scope.isCheckboxDisabled(row.model)}}>'
}

$scope.isCheckboxDisabled = function(rowModel) {
    return true; // or false, based on your row model ...
}

Hopes this will help (If you need harder condition, you can use ng-if or ng-show/ng-hide ...)

Actually, I had found a solution similar to this. I add the class "enableDelete" to the object and
$scope.options.columnsFormatters: {
            'row.model.entityID': function (id, column, row) {
                return row.model.classes.indexOf("enableDelete") !== -1  ? { visibility: true, model: row.model } : { visibility: false, model: row.model };
            }
        }

and for column contents;
columnsContents: {
            'row.model.entityID': '<input type="checkbox" name="ID[]" value={{getValue().model}} ng-show={{getValue().visibility}}>'
        }

So that I can carry row data to the checkbox.
Problem solved.


Update @vinxi/plugin-mdx to support MDX v3

MDX v2 which has some trouble running with remark-gfm v3. Upgrading to MDX v3 and remark-gfm v4 fixes this issue, but the plugin currently only supports MDX v2, so that is not possible.
There are other issues with the plugin as well:

Types aren't exported correctly, so I had to do a workaround similar to this by the SolidJS team
It still compiles to CJS which has been marked as deprecated by Vite for quite a while now.

Seconding both issues raised at the end, especially (2). The warning from Vite from CJS is irksome even if it can be ignored (for now).


[DDW-339] refactor positioning and event handlers for select in react polymorph

This PR fixes multiple bugs associated with PR 950 in Daedalus.
Fixes include:

Adds a new HOC GlobalListeners which is used in Select and Autocomplete that attaches document and window listeners for closing the window. It also passes isOpen one-way/downward to the Options component that's instantiated within the render methods of SelectSkin and AutocompleteSkin. Fixes bug for closing Options on enter key press as noted in PR 950.

Fixes bubble and arrow positioning when Bubble is rendered via Select and Autocomplete. isOpeningUpward={true} now renders correctly for both components.

NumericInput does not execute the user's onChange prop unless the value changes internally after being processed. Previously, if a user typed a non-numeric character in NumericInput, it would still execute it's prop onChange (not the internal onChange method). This would inadvertently invalidate the send button in Daedalus.

reviewing & working on this now!


GetTrendingMoviesAsync() calling a non-working URL

When I simply call the following method:
client.GetTrendingMoviesAsync(TMDbLib.Objects.Trending.TimeWindow.Day)
It makes a call to:
https://api.themoviedb.org/3/trending/movie/Day?api_key={MYAPIKEY}
It returns the following error:
{"success":false,"status_code":5,"status_message":"Invalid parameters: Your request parameters are incorrect."}
After playing around with it, it looks like the issue is with the capital "D" in the word "Day".  If I make a call to the same URL, but with a lowercase "d", everything works correctly.
https://api.themoviedb.org/3/trending/movie/day?api_key={MYAPIKEY}
Is there anything I can do to force a lowercase "d"?  Or does this need to be resolved via a bugfix?

same here!

Is this on .NET core or Framework?

.NET Core

This is TestApplication built for net6.0, with SDK 7.x, run like:
            var p1 = await client.GetTrendingMoviesAsync(TimeWindow.Day);

            Console.WriteLine(p1.Page);
            foreach (var searchMovie in p1.Results)
                Console.WriteLine(searchMovie.Id + " " + searchMovie.Title);

Output:

TimeWindow.Day adds a "Day" to the end of calling url, I cloned the project and convert it to lowercase (day), now it's working fine. I'm using .NET 7

It is also a good practice to keep everything lowercase while they are in a URL.

Sure - and it is. In this library, all enum values follow C#'s Camel Case standard, so it's Day. I have then annotated all enums with [EnumValue()] with the value to use in some cases, which for Day is day. This is used in the Client, whenever it calls .GetDescription() on the enum value.
I'm not sure why you're getting Day. I asked about the .NET version because maybe the custom attributes behavior is different for .NET Framework. Another alternative is a minimal .NET that does not have reflection capabilities. EnumValue is defined within TMDbLib, so that should rule out any mixing of library versions.
If EnumValue truly does not work, you would also not be able to:

Use any of the Account methods
Call the Discover* API's and apply a sorting
Call the GetMovie* methods, with any extraMethods set.

Thank you for explanation.
Is there any specific reason that you are not using [Description("")]
This is works for me!
using System.ComponentModel;

Console.WriteLine(TimeWindow.Day);
Console.WriteLine(GetEnumDescription(TimeWindow.Day));

static string GetEnumDescription(Enum value)
{
    // Get the Description attribute value for the enum value
    var fi = value.GetType().GetField(value.ToString());
    if (fi == null)
        return value.ToString();

    var attributes = (DescriptionAttribute[])fi.GetCustomAttributes(typeof(DescriptionAttribute), false);

    return attributes.Length > 0 ? attributes[0].Description : value.ToString();
}

public enum TimeWindow
{
    [Description("day")] Day,
    [Description("week")] Week
}

Output:
Day
day
(process 21480) exited with code 0.
Press any key to close this window . . .

TMDbLib.Objects.Trending.Tim

thanks for fixing the bug...


Absolute reverse routed URLs  use HTTP instead of HTTPS

Even though we're using HTTPS throughout the site, Open Graph metadata uses HTTP in the URLs:
<meta property="og:image" content="http://loglist.net/assets/images/gear_400x400.png" />
<meta property="og:url" content="http://loglist.net/quote/8070" />

The suggested quotes management URLs are not https too. I think this is related to how Play Framework reverse routes absolute URLs. I'll take a look into that.

https://loglist.net/feed.rss uses the same mechanism. So we have to keep in mind that if we fix that RSS readers may think that there are lots of new entries or something

Maybe we should set up our nginx so it'll pass original URL to Play framework.

Check this as a reference nginx configuration (see X-Forwarded-Proto and its usage on the Play side) and this as a guide to preparing proper HTTPS URIs (absoluteURL(request.secure(), request.host()) or something like this seems to do the trick).

@ForNeVeR sounds legit. Thanks!

I think we've applied the proposed solution long ago. Right now it definitely works on 2.0.0-pre2 deployed to the production server. Closing.


update setup.py and platformio.ini

Main Changes
New versions of pip no longer use dependency_links therefore the setup.py file has been updated to fix this issue
Associated Issues

Closes #144

Tests
This has been tested and works on Raspbery Pi OS bookworm with pip 23.0.1

Think this can merged as this is the correct setup.py file

Hi I have checked and tested these are correct now


This page does not provide an example of reading the telemetry from IoTHub

This page provides yet another example of a device sending a message to the iothub. It is supposed to provide an example of READING telemetry sent by a device from the IoTHub.  The same thing that the Azure IoT Browser does on the devices Telemetry page.

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

ID: 4eded614-310f-ddab-845d-4cdd6126537f
Version Independent ID: d32113fd-f7bc-4644-b763-a0f9040f075d
Content: Understand the Azure IoT Hub built-in endpoint
Content Source: articles/iot-hub/iot-hub-devguide-messages-read-builtin.md
Service: iot-hub
GitHub Login: @kgremban
Microsoft Alias: kgremban

@duncangroenewald
Thanks for your feedback! We will investigate and update as appropriate.

@duncangroenewald Thank you for opening this issue. There are links to read-d2c-messages samples in NET, Node.js, and Python listed in this article, but I agree that the 'quickstart' links are pointing to irrelevant content. I have a pull request in progress to remove those quickstart links and elevate the relevant samples.
The node.js and python samples are currently in an archived repo, and I don't have a pointer to a java sample currently. I'm going to keep this issue open for now while I look into more updated links for those languages.


Redfish switch between http/https

[Robot Framework] Redfish switch between http/https
TESTED -- verify on roux
-------VERSION-------
BMC                 : 22.72
Bios                : "9999999.20220527.020817-0"
BMC CPLD version    : <IP_ADDRESS>
MB CPLD version     : <IP_ADDRESS>
Add and move some variables in  variables.py,so it can use conditions to switch bewtween http/https
Add some variables in resource.robot to switch http/https
Replace origin redfish url variables in bmc_redfish_resource.robot
Add conditions in redfish_request.py to switch http/https
Google-Bug-Id: 229142660
Signed-off-by: Yoyo Ho<EMAIL_ADDRESS>Change-Id: I450466d4e2a2c151358e4eb0fbec6c723fae1ebe

[Robot Framework] Redfish switch between http/https
TESTED -- verify on roux
-------VERSION-------
BMC : 22.72
Bios : "9999999.20220527.020817-0"
BMC CPLD version : <IP_ADDRESS>
MB CPLD version : <IP_ADDRESS>
Add and move some variables in variables.py,so it can use conditions to switch bewtween http/https
Add some variables in resource.robot to switch http/https
Replace origin redfish url variables in bmc_redfish_resource.robot
Add conditions in redfish_request.py to switch http/https
Google-Bug-Id: 229142660 Signed-off-by: Yoyo Ho<EMAIL_ADDRESS>Change-Id: I450466d4e2a2c151358e4eb0fbec6c723fae1ebe


may I need setup some varls？when I run by docker image from docker hub

thread 'main' panicked at src/ic-websocket-gateway/src/manager.rs:27:14:
could not get new agent: TransportError(reqwest::Error { kind: Request, url: Url { scheme: "http", cannot_be_a_base: false, username: "", password: None, host: Some(Ipv4(<IP_ADDRESS>)), port: Some(4943), path: "/api/v2/status", query: None, fragment: None }, source: hyper::Error(Connect, ConnectError("tcp connect error", Os { code: 111, kind: ConnectionRefused, message: "Connection refused" })) })

I think you have to set the --ic-network-url properly:
docker run --rm -p 8080:8080 omniadevs/ic-websocket-gateway --ic-network-url http://host.docker.internal:4943

This way, Docker resolves the IP to your host machine, where the dfx local replica is supposed to be running

@johnxiaohe this issue has been closed automatically after merging an update to the docker guide in the README.
Feel free to reopen it if you still have any issues.

I think you have to set the --ic-network-url properly:
docker run -p 8080:8080 omniadevs/ic-websocket-gateway --ic-network-url http://host.docker.internal:4943

This way, Docker resolves the IP to your host machine, where the dfx local replica is supposed to be running.
@johnxiaohe let me know if it works!

Work very health!!! Thanks!!!


RLE Broken for 32-bit formats

We noticed that when compressing 32-bit files with RLE in Nuke, for many values other than 0.0, a constant color image will end up the same size as an uncompressed .exr.  From looking at the code, this seem to be because the bytes are being separated into two streams of bytes, each with 16 bits, but then the pattern recognition for RLE only looks at one byte at a time.
  A constant image at 1.0 (0x3f800000) results in a file that's exactly half the size of the uncompressed image, because the second stream of bytes is all 0, but the first is alternating between 3f and 80.  A value of 1.1 (0x3f8ccccd) has no effective compression and is the same size as uncompressed.
It seems that the best compression would likely be achieved by building 4 byte streams and compressing them individually for a 32-bit value, for the same reason that compressing 2 byte streams makes sense for a 16-bit value.  Otherwise, it could be compressed as two 16-bit streams instead of 2 8-bit streams.
Presumably, this could be fixed with some pretty simple edits to how bytes are reordered in RleCompressor::compress in ImfRleCompressor.cpp, but I understand the harder work would be in dealing with backward compatibility for legacy RLE-compressed 32-bit files.

Absolutely! By simply always dividing into 4 byte streams, even for 'half float' images, one could have achieved good compression every time, but now it's too late

It's in some ways beyond the scope of the issue, but I think an interesting way to handle it might be to introduce a notion of compatibility profiles.  As an example, when DWA was added, the casual application user's experience of exporting exrs between apps wasn't great, as the readers don't necessarily tell you what compression types are supported, and the average user doesn't always know which features came with what versions of the library, and even which version of OpenEXR is in use with a given app.  With profiles, a user could tell the writing library to target an earlier profile to make exrs that are backwards-compatible with an earlier OpenEXR version.  And by introducing newer profiles, the library could make tweaks to existing implementations without causing unexpected behaviors in the older releases.

It is possible to target lower versions when writing a file, concerning the file format specification, but I don't know if the official library provides an API for that. Each file has some bits which tells the file reader what to expect, so that it can quit early when recognizing an unsupported feature. However, as far as I know, these bits don't include the compression method.

I'd say it's not so much about 'targeting lower versions' as the opposite: new features in EXR are "opt-in"  - unless you specifically switch to the new compression types, or write channels into more than one part, you will be compatible with lower versions. Tools shouldn't switch to those if they have been asked to target a lower version. Out of caution, the default settings should be the most backwards compatible.
It would be good to have clearer descriptions of what features won't work in which older versions if there's another change. I think there have only been two file format changes in the last 10 years (DWA compression in 2.1, deep and multipart in 2.0) so an API to manage that might be overkill.
Andy, concerning the original point: The "broken" in the issue title means it usually produces files which have no compression but doesn't actually break anything? Are there situations in which a 32-bit float file cannot be read if it's written with RLE compression?
I wouldn't expect RLE compression of 32 bit floats to perform well, because I would expect a close-to-zero chance of having a run of non-zero floats in an image channel. It's possible that you get a run of 1.0 values, but likely that would be a mask/alpha channel, which probably should be written as a half.
As stated above, many lossless compression schemes in EXR assume 16 bit data and perform poorly on 32 bit data. I agree it would be nice to have a new lossless compression type that's more aware of the underlying type of each channel. That would require being "honest" about the nature of the data written - if you are writing a 32 bit float which isn't luminance data (e.g. hashing a string to encode an object ID!) you'd have to use UINT rather than FLOAT type. Then the compressor would expect randomly distributed values that may repeat exactly within the same scanline/tile, rather than neighbouring values being close but not identical, as you'd get in a typical image channel.

On Wed, Oct 3, 2018 at 3:45 AM, peterhillman<EMAIL_ADDRESS>wrote:

It would be good to have clearer descriptions of what features won't work
in which older versions if there's another change. I think there have only
been two file format changes in the last 10 years (DWA compression in 2.1,
deep and multipart in 2.0) so an API to manage that might be overkill.

For completeness I recall an issue relating to channel/attribute name
lengths being increased in v1.7.0, though I don't think that adds much
to/from the argument, we worked around it at the time by creating a Nuke
node to explicitly truncate the lengths.
Kevin

I'm closing this since it appears that RLE compression doesn't actually break with 32-bit formats. The files do read and write correctly, but are much larger than expected. As @johannesvollmer points out most lossless compression schemes in OpenEXR assume all data is half float so suffer from this problem to some extent. New compression schemes may be added at a later date that may pay more attention to the data type to address this sort of problem


[chore]: delete llama-index-legacy

The package is still published and available, but this doesn't need to be in our codebase anymore

@logan-markewich Is there any reason it is still mention in https://github.com/run-llama/llama_index/blob/main/pyproject.toml#L52C1-L52C31 ?
In our case, llama-index-legacy depends on tenacity<0.9.0 which is causing some issues with other dependencies we have. We were wondering if there is any reason to still have llama-index-legacy as a dependency in llama-index-core?

@Digma that's most likely a leftover, would you have time to open a PR to remove it from there?

Sure, will do it today


Access to input data

How can I get the input data (i.e. the anwers, which users gave to the catalogue questions) via the api?

Hi @stefankusmierz , if you know the project, you can use /api/v1/projects/projects/<project_id>/values/ to get all values (i.e. user answers) for the project. If you know the attribute_id you can get all answers to that attribute from /api/v1/projects/projects/values/?attribute=<attribute_id>. You can get the attribute_id from, e.g. /api/v1/questions/questions/1/. Endpoints and filters should be available at the swagger interface at /api/v1/.

Some documentation is available here: https://rdmo.readthedocs.io/en/latest/administration/api.html.

Thanks a lot, Jochen. "/api/v1/projects/projects/<project_id>/values/" worked fine. The others return "detail: nicht gefunden".
But apart from that: my goal is simply to get the list of questions with the given answers. This list already exists within RDMO, because that's exactly the content of an export file. Is there any chance to access the export file (xml or csv would be ok, perfect would be json) via the api?

We don't have that in the API, but if you use a user/token who can access a project, you can get /projects/3/export/xml/ also via a script. But i think its better to use the /api/v1/projects/projects/3/values/ endpoint. You can also get the catalog in a nested way using /api/v1/questions/catalogs/1/nested/. Then you just need to connect the values to the questions via the attribute.

Perfect, Jochen. Thanks for your help!

Hi,
I have already downloaded the questions and values via the api. I discovered, that under the same attribute there are questions listed various times (each time assigned to distinct questionsets). The answers in turn are only listed with their attributes, but I couldn't find an assignation to a question set. Is there a chance to get this assignation?
The problem is, if I don't know the question set the answer belongs to, I neither can be sure about the text of the related question, because the text of a question depends on the questionset it belongs to.

Yes, the Value also has a project, the project has a catalog and the catalog has a nested endpoint to get all sections, questionsets and questions.

/api/v1/projects/projects/1 has the catalog, e.g. 1
/api/v1/questions/catalogs/1/nested/ has the questions with their attributes.

Ok, thank you, Jochen! That helped!


Active member name changed

Description:
Contributors name change to Active members in all label and code
Issue: #208

nice addition thnak you


Fix for stranded plotting error

Hi @vheger ,
Would you be able to check whether this fix is enough to enable all plotting of stranded TFs? It works for the example in #54, but there might be edge-cases that I didn't catch. Thank you!

Hi @msbentsen
the fix is great, this was a check problem as you correctly identified.
It enables all plots to work with stranded runs.
I found a bug related to kde, which I mention in  #57, but this is an unrelated issue.


Push Activation State Machine missing tests

Rebased on push branch now.

Failing tests https://travis-ci.org/ably/ably-ios/builds/403176500 have already been fixed in this PR https://github.com/ably/ably-ios/pull/708


apply AFL to regex

Currently, the parser is "fuzzed" to some extent with quickcheck, which ensures that a randomly generated AST can be roundtripped to concrete syntax and back. However, we should also try to apply more generic fuzzing techniques not only to the parser, but to regex searching itself. AFL seems like an ideal approach.

I'm willing to do this if you want.

@SeanRBurton Yes, that'd be lovely, thank you!

I'm currently hitting regex with AFL, calling RegEx::new on a AFL-generated pattern and ::is_match(), ::find() and ::captures() on a static test-string. So far I've only seen some "crashes" because regex exceeds the memory limit set by AFL - this could probably be circumvented by using ::with_size_limit().
I wonder what a more thorough strategy would look like.

@lukaslueg Could you please open issues with test cases that reproduce your problem? What is the memory limit?

The memory limit is AFL's default of 50mb VM-size. Re-running with a manually-set ulimit -v reproduced the out-of-memory-hard-abort. I'll post an example when I get one again - I did not pay too much attention to it since there is always ::with_size_limit().
Does it make sense to test the generated patterns against a randomly generated instead of a static string? Basically the only thing AFL is looking for right now are arithmetic overflows and panics...

I'm definitely interested in regexes that use more than 50MB of heap. If you could create a new issue with examples that'd be great!

Does it make sense to test the generated patterns against a randomly generated instead of a static string? Basically the only thing AFL is looking for right now are arithmetic overflows and panics...

Yes, definitely.

Is there a minimum length for the haystack? We want the regex to switch strategies (if it does that at all)

It can switch strategies depending on the length, but the specific length isn't fixed. If the combined size of the input and the regex exceeds ~256KB, then the capturing engine will switch from backtracking to the Pike VM. So if your haystack is over 256KB, that should do it. Note though that this only happens when extracting captures (the captures method but not is_match or find).

I'll continue running AFL-generated regexes against a small haystack since matching a string of 260kb is painfully slow. Two crashing bugs and one OOM-situation so far - I'll switch strategies when things quite down on the small haystack

@lukaslueg Thank you! :-)

Can you give some info on when regex actually executes the simd path?

@lukaslueg Any time there are multiple literals in the prefix. For example, aaa|bbb|ccc|ddd|eee|fff should execute the SIMD algorithm.
Note that you need to compile like so:
RUSTFLAGS="-C target-feature=+ssse3" cargo build --release --features simd-accel

And certainly, you'll need a nightly compiler.

That's what I'm doing. I've also patched MAX_SIZE_BYTES in backtrack.rs to be 256 instead of 256kb in order to give PikeVM a rub without slowing things down too much. Any more suggestions?

That's all I can think of at the moment for things based on length. There is also a reverse suffix literal optimization, e.g., \w+Foobar will search for Foobar before actually matching \w+, but I don't know if you have that kind of control with AFL or not.

You do. It would be of great help if you could post some examples that you know will trigger certain behavior.

Examples that should use the reverse suffix literal optimization:

\w+foobar
\w+foobar\w+foobar
\d+foobar\d+foobar
\d+foobar\d+(foo|baz)barbar

"\w+a" also? the shorter the better, since it's a random string we are matching against.
Other behavior like the simd-path?

No to \w+a. The reverse suffix literal optimization only kicks in when the literal is long enough (under the assumption that a longer literal yields fewer false positives). You can see the logic here: https://github.com/rust-lang-nursery/regex/blob/master/src/exec.rs#L1154-L1174
Other examples:

^foobar (begin anchored literal)
foobar$ (end anchored literal)
^foobar$ (anchored literal)
^\w+ (begin anchored)
\w+$ (end anchored)
^\w+$ (anchored)

I've added some examples as above which increase the number of execution paths covered. Things have quieted down though and I'll wait for the reported bugs to get fixed before continuing running AFL. I've got everything in a docker container so things can pick up fast once regex's codebase changes.

Looking at #241: Is there a way for reliably force a certain regex engine without patching the code? It would be interesting to compare the result of different engines.
I've also thought about comparing the result to RE2, yet this seems hard to actually get right without too many false positives.

@lukaslueg Sorry, I missed your most recent comment here. Issue #241 actually contains the relevant code to force a particular regex engine. You may be surprised to find out that things like ExecBuilder are technically exposed through a publicly-accessible-but-not-public-interface.
Comparing with RE2 (or even PCRE2) is probably a good idea.
FYI, I have a PR incoming that fixes most of your bugs. :-)

I think @lukaslueg has done enough of this to make this issue closeable for now. I welcome more fuzzing though! :-)

As a matter of fact, I just spent half a day reworking the fuzzing architecture to make it self-contained. The latest HEAD is as of just now being fuzzed in The Cloud© on a 24/7 machine.
There already have been some patterns turning up where the different regex-engines disagree on match-groups, most likely exposing bugs in at least one of them. I'll spend some time during the next days to minimize them and file bugs individually.

@lukaslueg Awesome, thanks!

<offtopic slightly> @lukaslueg that sounds very cool! Is the code/scripts you wrote for this available online somewhere? And are you using https://github.com/frewsxcv/afl.rs?

The code is currently not available, I'll sync a repo once things have stabilized. I used to have a docker container with a custom-built llvm/rust/afl-combo but rust moved ahead of afl.rs and I switched to the container provided by afl.rs just recently. Turns out it is also quite old, unstable and not reproducible so I'm unhappy with this solution as well.

I've started comparing results from libpcre to rust-regex using AFL. This is probably way more tricky that once thought because the regex engines seem to interpret things differently. For starters, the regex \b.\b produces a match with rust-regex but does not with libpcre in the same randomly generated haystack.
I suspect libpcre handles \bdifferently than rust-regex. Some guidance on this @BurntSushi ? I could filter out patterns that are known to produce different results.

@lukaslueg In rust-regex, \b is Unicode aware by default. In fact, most everything is Unicode aware. You'll probably need to enable Unicode support in PCRE, although I'm not sure if that will cover word boundaries. For rust-regex, you can revert to the ASCII versions of various things by disabling Unicode support. e.g., (?-u:\b) is an ASCII-only word boundary, (?-u:\w) is an ASCII-only word character class and so on.
Thanks for doing this by the way. :-)

I've given regex fuzzing love for the last 12 days on a dedicated machine and around 900 million rounds were executed. Variations of #375 show up, due to #345 mismatches were not examined. All Quiet on the Western Front; close?

@lukaslueg Hope so! Sorry I'm dragging my feet. These bugs take a lot of lead up time to load context into my brain, so I tend to put them off.

fyi, i ran AFL on this crate a few weeks back and found this panic. i've also got a fuzz target linked if anyone wants to run afl.rs themselves for this crate

@frewsxcv Thanks! It takes a while to fix these bugs. It takes a lot of time just to build up the context. I tend to let them pile up a little so I can amortize it.

oh for sure! i didn't meant to suggest urgency in getting it fix, just linking in case others wanted to see the fuzz target i used and the sort of bug it found. keep up the great work @BurntSushi :)

@frewsxcv Oh ya no worries! Thanks for filing bugs!

@lukaslueg: Do you have thoughts advantages/disadvantages of using rust-fuzz/honggfuzz-rs instead/additionally?

Back in June 2017 AFL ran for several weeks on some cloud-node and found no (further) crashes and variations of #321 (which is yet unresolved). The low hanging fruits due to obvious bugs have been picked up.
I could still be interesting to have honggfuzz take a look at regex with respect to "behavior", though.
My thought on how to proceed would be to try to fix #321 (so we have consistent behavior within regex) and then start running fuzzed inputs against regex and re2 / pcre2 to see if they agree.
I started doing that with pcre2 as a reference. It turned out that the rust-glue available at the time was not the best and idiosyncrasies in pcre2 produced an unmanageable amount of noise. I did not put too much effort into it, though.

For anyone looking for more ways to fuzz, I believe any regex that parses should pass backends_are_consistent.
See #468 for more info.

I've not fuzzed regexp since #345 showed up because the duplicates cloud the view: One would have to manually and carefully inspect whether or not two diverging test cases are actually the same underlying problem in order not to waste anyones time.
Turns out fuzzers are surprisingly good at producing funny regular expressions, so I think the works are worthwhile. Yet I also think we need to take the slow route, fix one problem at a time and start over - which is not as bad as it sounds.
Ping me if #345 gets fixed by cough someone. @BurntSushi maybe we can get something like backends_are_consistent as a #[doc(hidden)] into regex?

There is already an internal module for doing various dubious things like lobotomizing the execution planner for testing purposes, so that could be a good place to put backends_are_consistent. It might also be worthwhile to expose an input param in backends_are_consistent so that the fuzzer can drive the randomness. I understand fuzzers and quickcheck operate a little differently.

The input probably should &[u8] for both the haystack and the regex. In case it's valid utf8, it runs a utf8-version; in any case it runs the byte-version. Return type should be something like Option<Result<(), &str>>, which is None if the regex is invalid, Some(Ok(())) if nothing happened and Some(Err(e)) if the results are inconsistent.

This fuzzer landed and it has been running on Google's infrastructure for a few years now.


Detection not working on Galaxy S21 Ultra

Preparation

[X] I tested the latest release
[X] I looked at other issues (even the closed ones)
[X] I read the Troubleshooting Guide

FGO server
NA
FGA build number
1488
Describe the bug
The automation application no longer correctly detects the position of UI elements on the S21.
The application was working in previous canary builds but seems to no longer detect the proper UI elements with the change to the newer Automata UI interface.
Video
https://streamable.com/lb2r2b
Device model
Samsung Galaxy S21 Ultra
Android version
11
Screen size
3200x1440
RAM
12GB

How are you recording the screen? Not with FGA, I assume.
Recording the screen with anything other than FGA messes up the screen detection.

I was recording the screen using the built-in Samsung screen recorder. The detection boxes for FGA are the same with it or the built-in screen recorder for FGA, but FGA doesn't save a valid screen record that I can upload from my device.

What I'm saying is that once you use Samsung's recorder, FGA is broken from that point onward. You'll have to stop the FGA service and start it again to get another Media Projection token.

Sorry, didn't know about that.
Here is another video using only the FGA recorder: https://youtu.be/4TvN-RA254M

Skill confirmation is mentioned in troubleshooting guide. 😞

Is skill confirmation now a new, required feature?
I should mention that I've been running FGA for a while now on this phone and this issue only cropped up with the recent update to the UI. This isn't a new phone.
I've been running with the same config from since when the application was on the play store and never needed to Skill Confirmation turned on. My config doesn't use skills and doesn't have skill spamming turned on. Prior to this latest Canary build, the application did not have the same issue with casting skills.

Skill confirmation is disabled in FGA by default for as long as I can remember. In FGO it's enabled by default.
No matter how we set the default value, people will still have problems misaligning both settings. That's why it's in the troubleshooting guide.
I can't tell you why it worked until recently.

Am I blind, I clearly see it skill spamming in the beginning from the debug mode rectangles 🙈

Am I blind, I clearly see it skill spamming in the beginning from the debug mode rectangles 🙈

Which is why I'm asking as I don't have spamming enabled in my settings.

Post a screenshot?

 It's spamming for 2nd and 3rd one.

Spamming is turned off for all servants in my config:
https://imgur.com/a/bhWOey6
https://imgur.com/a/QTC4M44

Idk, it still thinks it has to spam 2nd and 3rd servant's skills.
The changes to Spam config are saved only after you leave the Spam screen (by pressing back). That could be a reason it is not updated. I can't really think of anything else.
I'm honestly more worried about how it closed the Servant Status dialog by clicking on the X instead of the top-right corner which led to a complete malfunction in the rest of the video. I think this shouldn't happen in any case.


Line Numbers escape the widget

Also, why is the line numbers side bar so... wide?!

What platform?
Show the reproducible example.
Show flutter doctor -v

Doesnt matter. as long as you dont wrap the entire code field in a scroll view, it happens continuously.
I know it does because i checked the implementation code and _numberScroll isnt used at all


No such file or directory: 'WEB/text.csv'

Traceback (most recent call last):   File "F:\tts\tacotron\tacotron-master\train_multi_gpus.py", line 137, in <module>     main()   File "F:\tts\tacotron\tacotron-master\train_multi_gpus.py", line 117, in main     g = Graph(); print("Training Graph loaded")   File "F:\tts\tacotron\tacotron-master\train_multi_gpus.py", line 31, in __init__     self.x, self.y, self.z, self.num_batch = get_batch()   File "F:\tts\tacotron\tacotron-master\data_load.py", line 125, in get_batch     texts, sound_files = load_train_data() # byte, string   File "F:\tts\tacotron\tacotron-master\prepro.py", line 43, in load_train_data     texts, sound_files = create_train_data()   File "F:\tts\tacotron\tacotron-master\prepro.py", line 29, in create_train_data     reader = csv.reader(codecs.open(hp.text_file, 'rb', 'utf-8'))   File "C:\Python35\lib\codecs.py", line 895, in open     file = builtins.open(filename, mode, buffering) FileNotFoundError: [Errno 2] No such file or directory: 'WEB/text.csv'

@iamcaochong  Hello , can you tell me where  i  can download "text.csv"?

In README.md, the author links to the World English Bible. If you download that audio Bible, it will contain text.csv.


Update to 0.17.0

This ready? Also mind helping me make an pmd/pmx model file loader that uses opengl and also loads all the other formats that blender supports?

2.83 ok?

Creating in importer from scratch is a huge task and I don't have the time for that unfortunately. But I can help with coding questions if you encounter them.

Also yes it's ready, I haven't released it yet. You can use it by downloading the latest development version via the build-in updater in cats.

Hello, my software 2.83 install plugin has a problem and I don't know how to use it
------------------ 原始邮件 ------------------
发件人<EMAIL_ADDRESS>发送时间: 2020年5月16日(星期六) 晚上11:28
收件人<EMAIL_ADDRESS>抄送: "yuki"<617869307<EMAIL_ADDRESS>主题: Re: [michaeldegroot/cats-blender-plugin] Update to 0.17.0 (#186)
Also yes it's ready, I haven't released it yet. You can use it by downloading the latest development version via the build-in updater in cats.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

Install this: https://github.com/michaeldegroot/cats-blender-plugin/archive/development.zip

Thank you so much! Thank you! Thank you!
------------------ 原始邮件 ------------------
发件人<EMAIL_ADDRESS>发送时间: 2020年5月16日(星期六) 晚上11:38
收件人<EMAIL_ADDRESS>抄送: "yuki"<617869307<EMAIL_ADDRESS>主题: Re: [michaeldegroot/cats-blender-plugin] Update to 0.17.0 (#186)
Install this: https://github.com/michaeldegroot/cats-blender-plugin/archive/development.zip
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

Update, always specified the original 1.61 update can not, how to solve?

In the future, will you consider joining the sinicization?


JS SDK version migration doc improvements

What do these changes do?
Incorporate feedback for JS SDK version migration doc

@psrikanth88 @snarkychef We have added a how-to guide on self-hosting the JS SDK, it would be great if you guys can have a look and share your feedback: https://deploy-preview-863--rudderstack-docs-staging.netlify.app/user-guides/how-to-guides/self-hosting-js-sdk/


STMIK Global Informatika MDP

Please add this. Thank you.

@YohannesMasterous I have to close this request without merging, because you requested to add a non-existent domain to this repository: ;; connection timed out; no servers could be reached Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for understanding!


the result of this code

hello,author.I searched for the code,but I didn't seem to see the random seed setting in the code.I would like to ask if the test result I ran shows that MAP=0.388 is normal?I also want to ask if the result of your paper corresponding to this code is one-time or mutiple times averaged?Thank you.

hello,author.I searched for the code,but I didn't seem to see the random seed setting in the code.I would like to ask if the test result I ran shows that MAP=0.388 is normal?I also want to ask if the result of your paper corresponding to this code is one-time or mutiple times averaged?Thank you.

Hi~ I did not manually set the random seed in the code, so results might vary slightly due to randomness or differences in devices. Your test result is within an expected range. To give you more context, I reran the code twice more and obtained MAP values of 0.405 and 0.407.

OK，I see.Thank you for your answer.


wallet.dumpPrivKey and wallet.importPrivKey RPC

What kind of PR is this?:

/kind feature
What this PR does / why we need it:
RPC wallet implementation #48
Which issue(s) does this PR fixes?:

Fixes #
Additional comments?:

overall looks good.. but we have a new test structure.. gonna refactor a bit

@canonbrother, i have implemented that.


Typescript lerna monorepo - incorrect tsconfig file is used

Summary
When using volar with lerna monorepo and opening vue files from different sub-packages/projects then it might start using tsconfig from a different sub-package/project.
If you haven't opened any vue files from specific sub-package/project after opening the project in VSCode then Volar will load up correct tsconfig for that sub-package/project. But once you start opening vue files from sub-packages/projects with already loaded tsconfig then the latest loaded tsconfig will be used.
Setup
Visual Studio code - v1.66.1
Vue Language Features (Volar) - v0.34.6
TypeScript Vue Plugin (Volar) - v0.34.6
Windows 10
Steps to reproduce
Repro repo - https://github.com/yottaltd/volar-monorepo

Open the project in VSCode
Enable plugins - Vue Language Features (Volar) and TypeScript Vue Plugin (Volar)
In root dir do npm install and npm run init (this can probably be skipped just doing a lerna init)
Close VSCode
Reopen project in VSCode
Open projects/ui/src/button/VButton.vue and in the bottom statusbar you will see that projects/ui/tsconfig.json is used once loading is done

Open projects/app/src/components/HelloWorld.vue and in the bottom statusbar you will see that projects/app/tsconfig.json is used once loading is done

Go back to VButton.vue file, statusbar will still be showing that projects/app/tsconfig.json is used

seeing the same issue


The floating window is not expandable

I use this plugin with Lazy.nvim:
return {
  "hoschi/yode-nvim",
  keys = {
     {',n', "<cmd>YodeCreateSeditorFloating<cr>",mode={'n','x'}},
  },
  config = function()
      require('yode-nvim').setup({})

      vim.cmd([[
        set showtabline=2
      ]])
  end
}
-- EOP

When I selected more than one lines and press ',n', the floating window was only one line height and show the last line like this:

That is expexted. Without a range specified, it defaults to 1. You need to either use visual mode or type in a count before issuing it in normal Mode.

@hoschi , thanks for reply. Could you explain more detail?

Type 10,n which should create a ten line seditor. Does this work with your setup?

Where to put 10,n ?

I has solved this problem, same as https://github.com/hoschi/yode-nvim/issues/9, use : to replace <cmd> and it works!


⚠ Bofrost.lu has degraded performance

In acb1c34, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1921 ms

Resolved: Bofrost.lu performance has improved in 3c32888.


Implement frontend to create a course deletion request

Create page where the client can request a course deletion.
[Story Points: 3]
[Priority: High]
[Risk: Medium]
This is a subtask of https://github.com/JamesPartsafas/ConcordiaCurriculumManager/issues/135

https://github.com/JamesPartsafas/ConcordiaCurriculumManager/assets/66841718/46c272c1-2f21-4cca-819f-82b89813e95b


KAFKA-14370: Simplify the ImageWriter API by adding freeze

Simplify the ImageWriter API by adding ImageWriter#freeze() instead of requiring a call to an
overload of ImageWriter#close().

It's a bit confusing to have two variations of close(), so let's just have freeze() and then close().


add calcMany

calculates array of bounding boxes for each polygon
you might want to run merge after this

done, but renamed to calcAll: https://github.com/DanielJDufour/bbox-fns/tree/main#calcAll


If an unsigned integer is serialized, deserializing back to the unsigned integer fails

When reporting a bug please include the following:
Version of Boost
1.84
Steps necessary to reproduce the problem

Serialize uint8_t test=8;
Parse it back into a value value test_value=serialize(value_from(test));
Try to get the number with value_to<uint8_t>(test_value)
See the exception Not exact.

Step 2 doesn't compile for me at all. Can you please provide an actual minimal, complete and verifiable example (MCVE)?
Although, let's consider this one:
#include <boost/json.hpp>
#include <cassert>

int main()
{
        uint8_t test = 8;
        value test_value = value( serialize(value_from(test)) ); // (1); notice explicit constructor
        auto test2 = value_to<uint8_t>(test_value); // (2)
        assert( test == test2 );
        return 0;
}

Here (1) converts the integer test to json::value, then serializes that into std::string, then assigns that string to a new json::value. This is equivalent to doing value test_value = "8";
(2) tries to convert that JSON string into a number, and predictably fails. But the error is "not a number".
Then, I guess, this is still not something that you are doing. So, please provide an MCVE.

This replicates it:
#include <boost/json/src.hpp>
using namespace boost::json;
#include <cassert>

int main()
{
		object test;
        test["value"]=160;
        object test_new = parse( serialize(test) ).as_object(); // (1); notice explicit constructor
        auto test2 = value_to<char>(test_new["value"]);
        printf("%d\n",test2);
        return 0;
}

Seems like 160 is outside of the domain of your implmentation's char. This implies, that your char is signed and has the domain [-128;127].

Oh --- as it turns out, the previous library I used (nlohmann) silently failed, so I didn't notice that this was an issue.

Is there a way to get the same behavior and ignore the exception (I'm OK with the values wrapping around).

If you actually have a more complex structure, where the char is deep inside another object, you would have to use contextual conversions. See an example here: https://godbolt.org/z/TK4dhWPEr

Thanks!


Closes bug in #1057

Thank you for the PR, can you change the
if getattr(model, "mask_head", False):
...
if getattr(model, "segm_head", False):

to
if hasattr(model, "mask_head"):
...
if hasattr(model, "segm_head"):

This should be more clear.

Thanks @fstroth! I have corrected following your suggestions!

Thanks @dnth !


Fix typos and improve consistency across documentation files

This pull request addresses several typos and consistency issues in various documentation files across the repo. The following changes have been made:

Corrected typos such as "an fid" to "a fid" and "an fname" to "a fname" to ensure correct usage of indefinite articles.
Fixed the use of "A" vs "An" before words starting with consonant and vowel sounds where necessary.
Updated descriptions and fixed formatting for clarity and consistency.

Why is this change needed?
This change is needed to maintain consistency and clarity in the documentation, making it easier to understand and follow. It also ensures that all references to terms like "fid" and "fname" are grammatically correct.
Merge Checklist:

[ ] PR title adheres to the conventional commits standard
[ ] PR has a changeset
[ ] PR has been tagged with a change label(s) (i.e. documentation, feature, bugfix, or chore)
[ ] PR includes documentation if necessary

PR-Codex overview
This PR primarily focuses on minor textual corrections and improvements in documentation related to the ViemLocalEip712Signer, IdRegistryEvent, and NameRegistryEvent in the Farcaster protocol.
Detailed summary

Corrected spelling of LocalAсcount in ViemLocalEip712Signer.md.
Removed redundant wording in README.md files and ensured consistency.
Clarified descriptions in Events.md for IdRegistryEvent and NameRegistryEvent.
Improved formatting of event types in Events.md.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

The correct grammar is "an fid" since the acronym is sounded out loud "an EFF-EYE-DEE". Closing as erroneous.


.createCheckoutSession creates another duplicated customer after .createCustomer

Bug report
[firestore-stripe-subscriptions]
Describe the bug
When the users signs up, an account is created in my Firebase app. Then he is redirected to a Stripe checkout session . issue -> the customer is created twice in Stripe. (two customers with the same email, same firebase UID)
One of the duplicated customer in Stripe has the logs : "POST /v1/customers" and "POST /v1/checkout/session". The other has only the log "POST /v1/customers". They both have the same firebaseUID in the metadata section in Stripe. And only one user is created in Firebase.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
This is my signUp function which is called through onclick() on a button :
if (agreeToTerms == true && name != '' && surname != '' && companyName != '' && companyActivity != '' ) {

    auth.createUserWithEmailAndPassword(email, password).then(cred => {
        return db.collection('collection-users').doc(cred.user.uid).set({
            name: name,
            surname: surname,
            email: email,
            companyName: companyName,
            companyActivity: companyActivity
        })

    }).then(() => {
            // User signed up, now redirected to stripe checkout session to subscribe
            subscribe();
            container_signup.querySelector(".error").innerHTML = '';
    }).catch(err => {
        container_signup.querySelector(".error").innerHTML = err.message;
    });

} else {
    container_signup.querySelector(".error").innerHTML = "Please add all the required informations."
}

And this is my subscribe function which is used to redirect the user to the stripe checkout session (called when the account has been created) :
async function subscribe() {

    const docRef = await db
      .collection('collection-users')
      .doc(firebase.auth().currentUser.uid)
      .collection('checkout_sessions')
      .add({
        price: 'price_id',
        success_url: 'https://mywebsite.com',
        cancel_url: 'https://mywebsite.com',
    });
    // Wait for the CheckoutSession to get attached by the extension
    docRef.onSnapshot((snap) => {
      const { error, url } = snap.data();
      if (error) {
        // Show an error to your customer and
        // inspect your Cloud Function logs in the Firebase console.
        alert(`An error occured: ${error.message}`);
      }
      if (url) {
        // We have a Stripe Checkout URL, let's redirect.
        window.location.assign(url);
      }
    });
}

Expected behavior
Only one customer should be created in stripe
Screenshots
If applicable, add screenshots to help explain your problem.
System information

Browser : tested in safari

Additional context
The firebase logs down below. What we can see is that the function .createCustomer creates the first customer while .createCheckoutSession creates not only the checkout session but also another customer (the duplicated one).
7:48:29.200 pm
ext-firestore-stripe-subscriptions-createCustomer
Function execution started

7:48:29.202 pm
info
gmp_mods ext-firestore-stripe-subscriptions-createCustomer
⚙ Creating customer object for [t5LdbvNH5hSOFe7ECuzpHfWke1x2].

7:48:29.215 pm
outlined_flag
gmp_mods ext-firestore-stripe-subscriptions-createCheckoutSession
Function execution started

7:48:29.218 pm
info
gmp_mods ext-firestore-stripe-subscriptions-createCheckoutSession
 ⚙ Creating checkout session for doc [UkCpB5Yqw8c9RR76wyp6].

7:48:29.464 pm
info
gmp_mods ext-firestore-stripe-subscriptions-createCheckoutSession
⚙ Creating customer object for [t5LdbvNH5hSOFe7ECuzpHfWke1x2].

7:48:29.636 pm
info
gmp_mods ext-firestore-stripe-subscriptions-createCustomer
✅Created a new customer: https://dashboard.stripe.com/test/customers/cus_KMlAFc3l3oAgnd.

7:48:29.637 pm
outlined_flag
gmp_mods ext-firestore-stripe-subscriptions-createCustomer
Function execution took 437 ms, finished with status: 'ok'

7:48:29.925 pm
info
gmp_mods ext-firestore-stripe-subscriptions-createCheckoutSession
✅Created a new customer: https://dashboard.stripe.com/test/customers/cus_KMlAUuGRyge978.

7:48:30.679 pm
info
gmp_mods ext-firestore-stripe-subscriptions-createCheckoutSession
✅Checkout session created for doc [UkCpB5Yqw8c9RR76wyp6].

7:48:30.679 pm
outlined_flag
gmp_mods ext-firestore-stripe-subscriptions-createCheckoutSession
 Function execution took 1464 ms, finished with status: 'ok'

firebase
firebase-authentication
stripe-payments

[RESOLVED] The issue is when I call the function subscribe() after le .then(() => when the account is created in firebase. I think the function is called more than one time.


Plugin package's hooks ends up in client.

Link to reproduction
No response
Payload Version
3.0.0-beta.58
Node Version
v20.9.0
Next.js Version
15.0.0-rc.0
Describe the Bug
Using a Payload hook with import 'server-only'; seems to not produce any issue, but if the same logic is moved to a package, that piece of code seems to be in client (therefore throwing error).
Reproduction Steps

Create a hook with import 'server-only'; in the local Payload project.
Create a local package with a hook that is exported (for referrence, you can use my own plugin https://github.com/GeorgeHulpoi/payload-recaptcha-v3/tree/beta).
Import that hook (or if using in my plugin there is a dev folder for e2e testing).
You will see the error thrown by server-only.

Therefore, if you want to use my plugin as reference, during end-to-end tests there is no problem with that piece. The only problem arise when packing the local package and importing it into a external Payload project.
Adapters and Plugins
No response

Hello @AlessioGr ! I did a reproduction over here: https://github.com/GeorgeHulpoi/payload-package-hook-client

There is a hook with import 'server-only'; in package folder.
Build the package with pnpm build and pnpm pack.
After packing, go to payload (a PayloadCMS blank project) and install the package.
In the payload project it is a collection called Tests which uses the payload-package.
Adding the payload-package into serverComponentsExternalPackages (next.config.js) will generate the error.

Now, seems like skipping step 5 will not produce the issue. Thus, it may not be issue, but needs to be documented for plugin creators.


Allow empty prefix

We should check to see if a user has chosen to not add a prefix and not append ":" if so.

ping @chrisboulton

@danhunsaker, thanks for the review. I agree that prefixed usage is probably more sound from an organizational perspective. The primary motivation for this change is to allow for simple interfacing with the Elixir Verk library which only listens to Redis lists in the format queue:<name>. The current PHP-resque prefixing settings make it so my queues need to be named: queue:<something>:queue:<something> in order to interface with Verk.

Yeah, there are certainly situations where prefixes are a pain.  It's a sound change, hence the Approval. :-)

Thanks Daniel. As an aside, looks like the release version on Packagist hasn't been bumped in years, any idea why? Not sure who the other maintainers are aside from Chris.

Chris is the only maintainer at the moment, and has been extremely busy with other projects over the past several years, so hasn't been able to properly review changes to the level needed for a new release.