syntax highliting issues with long strings

🍏  with short string (< 108 char:

🔴  with long  (> 108 char) string:

🔴  bug appears both with and without wrap enabled:

I tried to isolate the bug:
🍏  without -- after the do

🔴 with -- after a do blocl

Interesting. There's an atom issue (design choice) that highlighting stops at a certain point in long lines https://github.com/atom/atom/issues/1667 - presume the fact that we get stuck inside a string is a consequence of the same thing.
Presume there's nothing we can do here, if indeed that's the thing. Suggested workaround is you can insert a comment to close the string without breaking your actual file:
--"

Closing this as this package doesn't do syntax highlighting. That is the domain of https://github.com/purescript-contrib/atom-language-purescript. I've raised an issue there that should fix this specific issue (https://github.com/purescript-contrib/atom-language-purescript/issues/18). Though it is surprising that the comment beforehand affects this in any way. The same highlighting is used for GitHub purescript fenced code blocks but in that case long lines break down in a different way that doesn't seem to get stuck in a string in this way.
It might be worth raising any other specific instances of this on that repo where we can improve matters a bit - though we won't avoid the fundamental atom limitation.


Questions: About train BERT from scratch parameter?

Hi, I want train a bert from scartch, But I have occured some problem. The first one is your parameter about tape-train-distributed transformer masked_language_modeling --batch_size BS --learning_rate LR --fp16 --warmup_steps WS --nproc_per_node NGPU --gradient_accumulation_steps NSTEPS, because when I train from scratch, the log follow

and my parameter is
`DATA_DIR=data/
BS=1024
LR=0.0005
NGPU=8
GA=32
tape-train-distributed  transformer masked_language_modeling
--data_dir ${DATA_DIR}
--batch_size ${BS}
--learning_rate ${LR}
--warmup_steps 5000
--fp16
--nproc_per_node ${NGPU}
--gradient_accumulation_steps ${GA}`
so I want konw your parameter？
thank you!

The parameters used were:
batch size: 512
learning rate: 1e-3
warmup steps: 10000
epochs: 10

You can set nproc per node / gradient accumulation steps based on your environment (these do not affect training).


feat(avoidance): implement avoidance path safety check logic

Description
BackGround
The previous avoidance module did not have a safety check mechanism, and the operator had no choice but to OR (over ride) and interrupt the avoidance maneuver as manualy if a vehicle in the adjacent or opposite lane approached after the module had switched output paths for avoidance. This problems has a significant impact on miles per disengagement, so we would like to implement safety check mechanism and yield behavior in the module.
As a first step, I implement safetye check mechanism in this PR. The latter (yield maneuver) will be implement in another PR.
Logic
Add following new parameters for safety check mechanism.
enable_safety_check: false

# For safety check
safety_check_backward_distance: 50.0  # [m]
safety_check_time_horizon: 10.0 # [s]
safety_check_idling_time: 1.5 # [s]
safety_check_accel_for_rss: 2.5  # [m/ss]

Step1
safety_check_backward_distance is the parameter related to the safety check area. The module checks a collision risk for all vehicle that is within shift side lane and between object _check_forward_distance ahead and safety_check_backward_distance behind.
NOTE: Even if a part of an object polygon overlaps the detection area, if the center of gravity of the object does not exist on the lane, the vehicle is excluded from the safety check target.

Step2
Judge the risk of collision based on ego future position and object prediction path. The module calculates Ego's future position in the time horizon (safety_check_time_horizon), and use object's prediction path as object future position.

After calculating the future position of Ego and object, the module calculates the lateral/longitudinal deviation of Ego and the object. The module also calculates the lateral/longitudinal margin necessary to determine that it is safe to execute avoidance maneuver, and if both the lateral and longitudinal distances are less than the margins, it determines that there is a risk of a collision at that time.

The value of the longitudinal margin is calculated based on Responsibility-Sensitive Safety theory (RSS). The safety_check_idling_time represents $T_{idle}$, and safety_check_accel_for_rss represents $a_{max}$.
D_{lon} = V_{ego}T_{idle} + \frac{1}{2}a_{max}T_{idle}^2 + \frac{(V_{ego} + a_{max}T_{idle})^2}{2a_{max}} - \frac{V_{obj}^2}{2a_{max}}

The lateral margin is changeable based on ego longitudinal velocity. If the vehicle is driving at a high speed, the lateral margin should be larger, and if the vehicle is driving at a low speed, the value of the lateral margin should be set to a smaller value. Thus, the lateral margin for each vehicle speed is set as a parameter, and the module determines the lateral margin from the current vehicle speed as shown in the following figure.
target_velocity_matrix:
  col_size: 4
  matrix:
    [2.78, 5.56, 11.1, 13.9,   # target velocity [m/s]
     0.20, 0.90, 1.10, 1.20]   # margin [m]

Assumption

Related links

https://github.com/tier4/autoware_launch/pull/637

Tests performed
Evaluator Result
[TIER IV INTERNAL] This PR#1 (817/825)
[TIER IV INTERNAL] This PR#2 (818/825)
[TIER IV INTERNAL] Baseline (812/825)
Test in local
Befor the tests, please use this autoware_launch branch and set following params in config to true.
enable_safety_check: true
publish_debug_marker: true # optional

Since this PR only implements a function that returns the safety of the avoidance path as a boolean, it does not change the behavior of the vehicle (Even if the module judges the avoidance path is NOT safe, do nothing. The vehicle will go on avoidance maneuver.). On the other hand, we can see the status via debug marker and check whether the module has determined that the avoidance path is safe or not.

debug marker topic: /planning/scenario_planning/lane_driving/behavior_planning/behavior_path_planner/debug/avoidance
The vehicles that has collision risk are shown as BLUE CUBE in rviz (namespace unsafe_objects).
The safety judge is shown as WHITE TEXT in rviz (namespace ego_status)

Notes for reviewers

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[x] The PR follows the pull request guidelines.
[x] The PR has been properly tested.
[x] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[x] There are no open discussions or they are tracked via tickets.
[x] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

NOTE: Even if a part of an object polygon overlaps the detection area, if the center of gravity of the object does not exist on the lane, the vehicle is excluded from the safety check target.

Would you let me know the reason of this approach.

@TakaHoribe Thanks for your comment.
The reason why we use CoG of object instead of polygon is that we do NOT want to extract vehicles in the ego's lane as safety check target as much as possible. With the current object recognition accuracy, even if a vehicle traveling behind ego,  its polygon sometimes have overlap with the adjacent lane, so if the target is filtered by the former method, the safety check mechanism may make wrong dicision as unsafe for vehicle that is in ego's lane. On the other hand, the module can estimate the object driving lane relatively accurately by using CoG.

Add evaluator result in description.

[TIER IV INTERNAL] This PR (817/825)
[TIER IV INTERNAL] Baseline (812/825)

@TakaHoribe Thanks for all your reviews. I have wrote release not. I'll merge this.

@satoshi-ota After this PR is merged, maybe Psim cannot work :pray:

@satoshi-ota @TakaHoribe After this PR is merged, maybe Psim cannot work pray

@yukkysaito Thanks for your report. I'm sorry about that. I will be careful. :bow:


Customized data Featurization

Is your feature request related to a problem? Please describe.
I'm using Model Builder for text classification, but am unable to train with custom data preparation so Model builder uses English stop words
Describe the solution you'd like
I would like Model Builder to allow me to customize the data preparation pipeline (Example: FeaturizeText) before training.
Describe alternatives you've considered
I changed the code in *.training.cs that was generated after the first run of Model Builder and ran Model Builder again. but instead of using *.training.cs it generated a new one.

My understanding is that .training.cs is only used to re-train the model with new dataset but it is never used by Model Builder (it is only generated at the end to help the users to consume the model). Model Builder will select the correct fine-tuning = setup parameters in the .training.cs file per my understanding. The Model builder can not be used to re-train the selected model with same parameters with new data, it would start exploring new models. When a best model is found, it re-generates .training.cs with the parameters for that model.
I agree that customizing data preparation pipeline would be nice. Right now I believe it can be only done in the Data tab and the Advanced modal. Adding custom code might be helpful. Perhaps .training.cs and .datapreparation.cs could be separate files per your idea? That way .datapreparation could stay unchanged if user did not edit Data settings, and only training.cs would get rewritten if user reruns the model builder.
I am currently re-creating the dataset before training. The benefit of this approach is that I don't need to customize the data processing pipeline. The drawback is that I need to be careful to do exact same processing for live data than I did for the training data. There could be a problem with .datapreparation.cs if we do very heavy processing or modification, so it might be better to do it as a separate process, then validate the prepared data. If it's done in the data processing pipeline, it might be hard to debug errors in data preparation.
So, in your case you could remove stopwords manually from dataset, but then you still would need to change .consumption.cs which might get regenerated. So it is probably best to create a custom consumption class.

@gerwintmg
Thanks for your feedback. At the current point, there's no way to customize the option for data preparation transformers in model builder, so you would need to follow what @torronen suggested if you want to apply your own featurizer.
Moreover, what @torronen suggest on additional custom code in model builder inspire me on a new way to apply custom transformer. Although it's  a bit hacky to compile code in model builder, it's totally doable to load a third-party model in model builder, and apply it at the very beginning of a multi-model pipeline. which will be trained in the automl process afterward.
string path/to/transformer/model

var customizedDataFeaturization = # load from path/to/transformer/model
var pipeline = customizedDataFeaturization
                         .Append(// other default featurizers)
...

pipeline.fit(data)


modules: hal_nordic: Update nrfx to version 1.8.1

See https://github.com/zephyrproject-rtos/hal_nordic/pull/10

Update nrfx to the recently released version. See
https://github.com/NordicSemiconductor/nrfx/blob/v1.8.1/CHANGELOG.md
for a list of changes that this version introduces.
Origin: nrfx
License: BSD 3-Clause
URL: https://github.com/NordicSemiconductor/nrfx/tree/v1.8.1
commit: ecc3616b8ea766ba0c921681258463696ad47930
Purpose: Provide peripheral drivers for Nordic SoCs
Maintained-by: External
Signed-off-by: Andrzej Głąbek<EMAIL_ADDRESS>

Re-triggered CI.

Please update with a SHA

@anangl please update the PR since 1.8.1 is merged now

Done.


Chat - Deleted whitespace is added again in the composer for native emojis

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: <IP_ADDRESS>
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4533081&group_by=cases:section_id&group_id=292106&group_order=asc
Issue reported by: Applause - Internal Team
Action Performed:

Open any chat
Right click on the compose and select "Emoji"
Select a native emoji
Click in the composer and delete the whitespace after the emoji

Expected Result:
Deleted whitespace shouldn't appear again
Actual Result:
Deleted whitespace is added again in the composer for native emojis
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/6229db0d-2ba1-4980-a6ba-eaf764320d63
View all open jobs on GitHub

@joekaufmanexpensify  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

We think that this bug might be related to #vip-vsp

I can't reproduce on my end. Closing for now as this is not consistently reproducible.


Use schema.org notation for semantic breadcrumbs

same as https://github.com/lassebunk/gretel/pull/86 )


Added pb_decode_delimited_noinit

This seemed to be missing form the API.
It's simply pb_decode_delimited, but without initializing the target structure. Similar to pb_decode vs pb_decode_noinit.
This is useful for partial updates to an existing data structure, which is how I use it myself.

Hmm, yeah. I guess it makes sense to have it.
Starts to be quite many decode_* variants, maybe I'll convert some of them as arguments in 0.4.0.

Thanks! I think it especially makes sense in this case. Because when you are receiving partial updates and want to merge, you don't know what's in the message and need the delimited version of the command.
About the function name vs arguments, I would care mostly about code size. Whatever compiles to smaller code gets my preference.


Remove build section from js guidelines

This is "completely out of date", according to @diasdavid in https://github.com/ipfs/community/issues/225#issuecomment-272419143. I remove it here. What should go in its place?

It needs to mention that users can get a pre-bundled version by doing npm run build,

@diasdavid Is that only for js-ipfs, or for all projects? Does that mean that contributors need to add an npm run build to each project, too (and use gulp, and so on)?

npm run build is a npm script we add to the package.json, but in fact what it is doing is calling aegir-build, which itself calls gulp build :D
It is available for every project that uses aegir

@diasdavid Added section.


Tendermint 0.34 compatibility

Tendermint 0.34 is around the corner and will contain has a bunch of nice improvements and quite some will be breaking changes (e.g. #300): https://github.com/tendermint/tendermint/milestone/27
If we plan to migrate to 0.34, we should start thinking about how to wiggle that into our workflow and planning (if that didn't happen already). I don't know when the SDK or even the hub plans to update.
My suggestion is to do a 0.33-compatible release first (asap). When the time is right start working on 0.34 directly on master (instead of a a separate branch like we did for 0.33).
An alternative approach could be to start working in 0.34 branch like we did with 0.33 compatibility but differently from there, we do the actual changes in small reviewable PRs (and don't push commits directly to the 0.34 branch). So we can review changes only once.
Also related: https://github.com/informalsystems/tendermint-rs/issues/120#issuecomment-634541018 (this is kinda independent of 0.33 -> 0.34 but relevant each time a breaking docker image is published).

v0.33 compatible version has been released with v0.17. The next release will be for the light client and still target v0.33, but then we should start working on v0.34 compatibility.
Likely alot of things will break. Here is a high level summary of changes:

All amino encoding is now protobuf encoding - see the new proto dir, especially types and abci
JSON formatting may have changed (not exactly clear if so or how)
Validators are now sorted by voting power instead of by address

Some more info can be found in the Tendermint changelog and the UPGRADING.md, though they could both use a lot of work on clarifying.
I don't have an exact idea of how we're going to integrate the protobuf stuff, but basically anywhere we have amino encoding we probably want to move to protobuf encoding. We should ultimately be looking to drop the dependence on amino_rs completely. Since amino was already pretty close to proto, it's possible we don't need to make any changes for some data structures, but it's not entirely clear, especially because a number of data structures were also modified after being moved to proto, for instance:

many int types were changed to int32
PubKey field was removed from evidence::DuplicateVote
SignedMsgType is now a protobuf enum
possibly more?

So I think we'll have to do some kind of comb through our integration tests so we can go one at a time to figure out what's breaking. But we also probably need to establish a plan to potentially iteratively replace the amino_types with something generated from the new tendermint proto files.
This is something we should try to do sooner than later as we'll need all this to prepare for / participate in the Stargate testnets and upgrade.

Added this issue to the Tendermint 0.34 milestone. We can use this issue for coordination.
I'm going with the
When the time is right start working on 0.34 directly on master (instead of a a separate branch like we did for 0.33). Ideally, in a bunch small efficiently reviewable PRs.

approach proposed by Ismail. I'm planning to open issues tackling small portions of the upgrade and linking them to the 0.34 milestone.

Let's close this for now since basically everything mentioned in this issue has been addressed or has a dedicated or followup issues: #502, #536, #567


Only change Project files for wich nuget packages are uploaded

If I understand it correctly you crawl Nuget and for every package check the repos.
Not all projects in a reposetory will uploaded to nuget. Your code should try to find out which project lands on nuget and wich will not. Only changing the one published to nuget.

Yes, you are absolutely right
But but I don’t plan to start again in near future because a lot issue like this...
So just close if it does not perfectly fit for you repo

I manually fixed it after the merge.
I found it nice to get reminded that an few years old repo could still be easy improved. I don't think I would have touched it otherwise. Through propably no one but me consumes it currently it's still nice :)


remove unused variables and substitutions

update aircraft to make it work on https://github.com/hoburg/gpkit/commit/0a15d2c

@pgkirsch, ready for review

Looks good, thanks for doing this!


When port mapping a TCP and UDP are bound to the same port, it ignores the first protocol of the ports.

v0.23.0-rc6
Debugging #1100 and found that when you port map for TCP and UDP on the same port, it ignores the UDP port.
Steps to Reproduce:

Create a container with the following ports:
5665 5665/tcp
5665 5665/udp
Only the TCP rule is programmed in the iptables of the host. There is no rule for UDP.

Note: When I view the container details, the UDP rule is not visible so it doesn't look like it even got saved, but when I edit the container, I can see both port mappings.
If I put UDP first and TCP second, then the UDP rule is programmed and the TCP is ignored.

closed #1100 as I can do without tcp and udp in that case.   But in there I mention "DNS uses udp primarily, except in the case of zone transfers in which you surely want tcp on, you don't just fire and forget a zone transfer". And certainly on my list of things to do is spin up a DNS cluster on rancher.  Let me know if I can supply any more info on my end.

@will-chan I'd probably keep this in beta;  DNS is just one example you might want TCP + UDP on the same port for.  And any somewhat large DNS response (4kb) requires TCP, not just zone transfers.

  The first port for each private port wins and no others get configured.  So doing 1234->80/tcp and 2345->80/tcp results in just 1234->80/tcp.  Man, too much crazy late night drunken programming apparently.  This is a simple fix.

verified fix in v0.24.0-rc2


GHCR: Add GitHubPackages.sanitize_root_url

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[x] Have you successfully run brew tests with your changes locally?

Support root_url "docker://registry/org/repo" by translating
docker://registry/org/repo
to
https://registry/v2/org/repo

Review period will end on 2021-04-06 at 17:42:07 UTC.

Review period ended.

Superseded by PR #11071 Fix Linuxbrew URL handling. Thanks, Mike!


Added ability to easily disable a gameobject interactivity

This PR

Adds a new feature

Describe the changes below:
Currently, it's not possible to revert (not easily) the effects of GameObject.setInteractive().
This PR adds the ability to accept false as the first argument in the GameObject.setInteractive(), disabling the gameobject's interactivity.
The current methods (that I'm aware of) are:
// Disable indirectly
this.scene.sys.input.disable(this);
// or directly
this.input.enable = false;

The PR allows for the following:
gameobject.setInteractive(false);

Thank you for this PR. I have implemented this feature in a slightly different way, which is now available in the master branch and will be in the next release.


Add a License

Please add a license to actually make it open source and open to contribution 😅
Very nice idea 🚀

Totally missed this issue. Added License now. 🎉


chore(main): release 3.76.0

:robot: I have created a release beep boop
3.76.0 (2024-11-28)
Features

icons: Update Lucide to https://github.com/lucide-icons/lucide/releases/tag/0.462.0 (7476510)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v3.76.0
:sunflower:


Retrieval issue

I've got a py script to send a request, yet I'm not getting any response. But I am getting a 200 reply.
import requests

url = "http://localhost:3022"

response = requests.post(url, json=
{
    "prompt": "Write a python function that prints the Fibonacci sequence up to a given number.",
    "language": "python"
})

print(response.status_code)

if response.status_code == 200:
    print(response.text)
    print(response.json())

I've also tried /api

In my case, the issue was caused by a 504 (timeout) response from GitHub Copilot. (Even in such cases, this API returns a 200 status.) I am currently investigating solutions.
    try:
        resp = requests.post('https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex/completions',
            headers={'authorization': f'Bearer {token}'},
            timeout=60,
             json={
            'prompt': prompt,
            'suffix': '',
            'max_tokens': 1000,
            'temperature': 0,
            'top_p': 1,
            'n': 1,
            'stop': ['\n'],
            'nwo': 'github/copilot.vim',
            'stream': True,
            'extra': {
                'language': language
            },
        })
    except requests.exceptions.ConnectionError as e:
        print("Connection Error : ", str(e), flush=True)
        return ''

    print(f"Status code :  {resp.status_code}")
    print(f"Resp : {resp.text}")

    result = ''

Hi, I also got 200 but no responses. Any luck on this please?


Send pings in P2PStream.poll_ready

Describe the feature
Currently the logic for sending p2p pings is in the P2PStream's Stream impl, which may be a violation of abstraction boundaries as we send pings when we poll to read from the stream. We should instead send pings in the Sink impl, when we are trying to write to the stream, i.e. in the poll_ready method.
Additional context
No response

I'd like to take this.
I looked through the code, so I guess this involves moving the code below to the poll_ready in Sink
https://github.com/paradigmxyz/reth/blob/78ffd0a7c0ce573e669d0fb0960a7806f279221d/crates/net/eth-wire/src/p2pstream.rs#L283-L305

exactly, just move the match into poll_ready


Bug: after OS update, Honor Magic4 pro can't be mirrored with screen turned off using ScrCpy (closes right away), but can be via Android Studio

[V ] I have read the FAQ.
[ V] I have searched in existing issues.

Environment

OS: [e.g. Debian, Windows, macOS...]
Windows
scrcpy version: [e.g. 1.12.1]
2.4
installation method: [e.g. manual build, apt, snap, brew, Windows release...]
Extracted the ZIP file.
device model:
[HONOR] HONOR LGE-NX9
Android version: [e.g. 10]
Android 14

Describe the bug
When launching without any parameters and without any key combination, it works fine.
However, when I tell it to also turn off the display (either in parameter or using ALT+O combination), it closes the window of ScrCpy right away.
This is what I got from the console, after I used ALT+O:
PS C:\android\scrcpy> .\scrcpy-console.bat
scrcpy 2.4 <https://github.com/Genymobile/scrcpy>
INFO: ADB device found:
INFO:     -->   (usb)  AJ3D022630001200                device  LGE_NX9
C:\android\scrcpy\scrcpy-server: 1 file pushed, 0 skipped. 82.7 MB/s (69007 bytes in 0.001s)
[server] INFO: Device: [HONOR] HONOR LGE-NX9 (Android 14)
INFO: Renderer: direct3d
INFO: Texture: 1144x2488
Native registration unable to find class 'com/android/server/TrustedUIService'; aborting...
WARN: Device disconnected
Aborted
Press Enter to continue...

And this is what I got on logcat, filtered by errors:
logcat.zip
This issue doesn't occur when using Android Studio to mirror the device and turning off the display.
ScrCpy used to work fine with this device.
The issue started only yesterday, as I've updated the OS.

#4823

but can be via Android Studio

It should not work, because Android Studio declared that turn off device display while mirroring is not supported on Android 14.

@eiyooooo They fixed it (maybe using some workaround) but didn't change the text for some reason.

They fixed it (maybe using some workaround) but didn't change the text for some reason.

I tested on my Android 14 phone, and it did not work.
And
https://github.com/JetBrains/android/blob/dbd9aeae0dc5b8c56ce2c7d51208ba26ea0f169b/streaming/screen-sharing-agent/app/src/main/cpp/session_environment.cc#L55-L66
shows that it does not seem to support "turn off device display" on Android 14.

@eiyooooo Seems it's as such for me for Android 14 :
Pixel 6 - doesn't turn off, yet ScrCpy can do it.

How odd...

All the Honor phones with the recent updates are affected by this bug. This is very important to have a fix. Thanks!

@eiyooooo @zoukyle  For now, for the Honor device, I use the stable version of Android Studio.
Canary doesn't work with this feature at all over the past few versions.
They also claim that it will be fixed on the next version of Android itself, not sure about the IDE itself:
https://issuetracker.google.com/issues/348699128#comment27

For now, for the Honor device, I use the stable version of Android Studio.

The reason why stable version of Android Studio can work is because Honor devices still can use sdk ≤ 33 way to turn off screen.
https://github.com/JetBrains/android/blob/dbd9aeae0dc5b8c56ce2c7d51208ba26ea0f169b/streaming/screen-sharing-agent/app/src/main/cpp/session_environment.cc#L55-L66

Canary doesn't work with this feature at all over the past few versions.

Because
https://github.com/JetBrains/android/blob/63191c42e49429091566d1d4b4d5bddd82512a01/streaming/screen-sharing-agent/app/src/main/cpp/session_environment.cc#L56-L71
check Android version now.

@eiyooooo So that's too bad.
Maybe ScrCpy can do something similar to the stable version of the IDE, then?

Maybe ScrCpy can do something similar to the stable version of the IDE, then?

You could bypass Android 14 method for Honor devices by this
https://github.com/Genymobile/scrcpy/issues/4823#issuecomment-2063746083
and compile a scrcpy server for Honor devices

@eiyooooo I'm not the developer of ScrCpy. I only reported about this issue.

scrcpy-server.zip
I compiled a scrcpy server for Honor devices, and it works on my honor device.
You just need to extract the zip file and replace your scrcpy-server. If you use macos, scrcpy-server is in /usr/local/share/scrcpy.

@naughtz Is it only for Honor, or should work for all?
@rom1v Do you know about this?

@naughtz Is it only for Honor, or should work for all? @rom1v Do you know about this?
Anyway, confirmed to work with the Honor Magic 4 pro, Android 14.

it's only for honor. it works on my magic vs2

I hope for a new official version, then
:)

@naughtz I've closed this issue as now it works fine.
Android Studio team also finally fixed it, and I wonder if they did something like here. If not, please check it out:
https://issuetracker.google.com/issues/353294033

@AndroidDeveloperLB If it works with scrcpy v2.5, it's probably a change in an update of the device ROM.

Android Studio team also finally fixed it, and I wonder if they did something like here. If not, please check it out: https://issuetracker.google.com/issues/353294033

Similar idea to avoid invoke loadLibrary0 method

Android Studio team also finally fixed it, and I wonder if they did something like here. If not, please check it out: https://issuetracker.google.com/issues/353294033

Similar idea to avoid invoke loadLibrary0 method

https://github.com/Genymobile/scrcpy/blob/ed4066902d08e4abb91b4b6c7d828f190ab65bfb/server/src/main/java/com/genymobile/scrcpy/device/Device.java#L345-L348
@rom1v I think here should have a fallback to turn only one display off instead of doing nothing.

I think here should have a fallback to turn only one display off instead of doing nothing.

Do you have physicalDisplayIds == null here on any device?
In theory, in this branch (on Android 14), SurfaceControl.getBuiltInDisplay() will not exist anyway.
AFAIK, the problem here is that the Honor Magic 4 with Android 14 is still really an Android 13 in this piece of code, and loading the native library with Runtime.loadLibrary0() in DisplayControl makes it crash even before this test.
IIUC, Android Studio does not support turning screen off for devices with Android 14 (except the Honor which behaves like an Android 13), but only for Android <= 13 or Android >= 15.
However, maybe we should use the multiple display ids even on the honor. Here is an alternative fix: honoroff.5.
Please someone with an Honor device test turning the screen off with this binary (built from honoroff.5):

scrcpy-win64-honoroff.5.zip SHA-256: 0fb463f3a0b43a77a305d071f0fc1c665f09836a3a55893c35c7c09d9de61c0

@rom1v About "Android Studio does not support turning screen off for devices with Android 14", they fixed it.
Works fine on my Pixel 6 with Android 14.
About the "scrcpy-win64-honoroff.5.zip" file, it mirrors the device, but doesn't turn off the display, by using this:
...\scrcpy-win64-v2.5-37-gc19c688e0\scrcpy-noconsole.vbs -S --always-on-top --stay-awake --no-audio --show-touches -K```

I think here should have a fallback to turn only one display off instead of doing nothing.

Do you have physicalDisplayIds == null here on any device?

No, but it's better to have a fallback in case physicalDisplayIds is null.

IIUC, Android Studio does not support turning screen off for devices with Android 14 (except the Honor which behaves like an Android 13), but only for Android <= 13 or Android >= 15.

Android Studio now support turning screen off for devices with Android 14

However, maybe we should use the multiple display ids even on the honor.

The SurfaceControl.getPhysicalDisplayIds function seems to no longer exist in Android 14 framework.jar.

I think here should have a fallback to turn only one display off instead of doing nothing.

Do you have physicalDisplayIds == null here on any device?

No, but it's better to have a fallback in case physicalDisplayIds is null.

--- a/server/src/main/java/com/genymobile/scrcpy/device/Device.java
+++ b/server/src/main/java/com/genymobile/scrcpy/device/Device.java
@@ -328,20 +328,25 @@ public final class Device {
             boolean useDisplayControl =
                     Build.VERSION.SDK_INT >= Build.VERSION_CODES.UPSIDE_DOWN_CAKE && !SurfaceControl.hasGetPhysicalDisplayIdsMethod();

-            // Change the power mode for all physical displays
-            long[] physicalDisplayIds = useDisplayControl ? DisplayControl.getPhysicalDisplayIds() : SurfaceControl.getPhysicalDisplayIds();
-            if (physicalDisplayIds == null) {
-                Ln.e("Could not get physical display ids");
-                return false;
+            if (useDisplayControl && Build.BRAND.equalsIgnoreCase("honor")) {
+                // Workaround for Honor devices with Android 14:
+                //  - <https://github.com/Genymobile/scrcpy/issues/4823>
+                //  - <https://github.com/Genymobile/scrcpy/issues/4943>
+                useDisplayControl = false;
             }

-            boolean allOk = true;
-            for (long physicalDisplayId : physicalDisplayIds) {
-                IBinder binder = useDisplayControl ? DisplayControl.getPhysicalDisplayToken(
-                        physicalDisplayId) : SurfaceControl.getPhysicalDisplayToken(physicalDisplayId);
-                allOk &= SurfaceControl.setDisplayPowerMode(binder, mode);
+            // Change the power mode for all physical displays
+            long[] physicalDisplayIds = useDisplayControl ? DisplayControl.getPhysicalDisplayIds() : SurfaceControl.getPhysicalDisplayIds();
+            if (physicalDisplayIds != null) {
+                boolean allOk = true;
+                for (long physicalDisplayId : physicalDisplayIds) {
+                    IBinder binder = useDisplayControl ? DisplayControl.getPhysicalDisplayToken(
+                            physicalDisplayId) : SurfaceControl.getPhysicalDisplayToken(physicalDisplayId);
+                    allOk &= SurfaceControl.setDisplayPowerMode(binder, mode);
+                }
+                return allOk;
             }
-            return allOk;
+            Ln.d("Could not get physical display ids, using built-in display");
         }

         // Older Android versions, only 1 display

About "Android Studio does not support turning screen off for devices with Android 14", they fixed it.
Works fine on my Pixel 6 with Android 14.

Oh cool.

No, but it's better to have a fallback in case physicalDisplayIds is null.

In the code from Android studio, they check if the ids list is empty because they return an empty vector is the method is not found. We could add a fallback if SurfaceControl.getPhysicalDisplayIds() returns null, but I think it's secondary, and not directly related to this issue.
I'm trying to understand how this code (ignoring the part for API >= 35 for now) works for all devices on Android 14, in particular, both a Pixel device (as expected), but also an Honor, without special cases (and I don't have any Honor device to test).
In this bug report (#4943), it seems that the Honor device fails (and crashes) as soon as we load the native library (i.e. as soon as we call DisplayControl, since the native library is loaded from a static block).
According to the framework.jar of the Honor with Android 14:

SurfaceControl.getPhysicalDisplayToken() exists
SurfaceControl.getPhysicalDisplayIds() DOES NOT exist

Here, they load the native libraries using exactly the same mechanism as scrcpy, but only if BOTH getPhysicalDisplayToken() and getPhysicalDisplayIds() do not exist. So on the Honor, where one of them exists, the native library loading is not performed (preventing the crash).
And in DisplayControl::GetPhysicalDisplayIds(), they only checks if SurfaceControl.getPhysicalDisplayIds() exists), so they end up calling SurfaceControl.getInternalDisplayToken(). That's why it works, but it seems the Honor weirdness is detected as a side effect (based on the existence of SurfaceControl.getPhysicalDisplayToken(), which is not removed on Honor with Android 14, but removed from AOSP).
If I'm correct (I may be wrong), I think I prefer an explicit check for the Honor device (i.e. keeping the current code on dev with the explicit check applyToMultiPhysicalDisplays).
It remains to implement DisplayManager.requestDisplayPower() for Android 15.
I have no device with Android 15 for now, and the code is not released in AOSP, but we can implement it based on the code from Android Studio: https://android.googlesource.com/platform/tools/adt/idea/+/170a4f9317a8833f72661e2b6d51f64c685ce358/streaming/screen-sharing-agent/app/src/main/cpp/accessors/display_manager.cc#46
diff --git a/server/src/main/java/com/genymobile/scrcpy/device/Device.java b/server/src/main/java/com/genymobile/scrcpy/device/Device.java
index 5a1083fde..49bbe4796 100644
--- a/server/src/main/java/com/genymobile/scrcpy/device/Device.java
+++ b/server/src/main/java/com/genymobile/scrcpy/device/Device.java
@@ -323,6 +323,11 @@ public final class Device {
      * @param mode one of the {@code POWER_MODE_*} constants
      */
     public static boolean setScreenPowerMode(int mode) {
+        if (Build.VERSION.SDK_INT > Build.VERSION_CODES.UPSIDE_DOWN_CAKE) {
+            // TODO Turn off secondary physical displays
+            return ServiceManager.getDisplayManager().requestDisplayPower(0, mode);
+        }
+
         boolean applyToMultiPhysicalDisplays = Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q;

         if (applyToMultiPhysicalDisplays
diff --git a/server/src/main/java/com/genymobile/scrcpy/wrappers/DisplayManager.java b/server/src/main/java/com/genymobile/scrcpy/wrappers/DisplayManager.java
index dd92330cf..fd2c58d24 100644
--- a/server/src/main/java/com/genymobile/scrcpy/wrappers/DisplayManager.java
+++ b/server/src/main/java/com/genymobile/scrcpy/wrappers/DisplayManager.java
@@ -19,6 +19,7 @@ import java.util.regex.Pattern;
 public final class DisplayManager {
     private final Object manager; // instance of hidden class android.hardware.display.DisplayManagerGlobal
     private Method createVirtualDisplayMethod;
+    private Method requestDisplayPowerMethod;

     static DisplayManager create() {
         try {
@@ -124,4 +125,20 @@ public final class DisplayManager {
         Method method = getCreateVirtualDisplayMethod();
         return (VirtualDisplay) method.invoke(null, name, width, height, displayIdToMirror, surface);
     }
+
+    private Method getRequestDisplayPowerMethod() throws NoSuchMethodException {
+        if (requestDisplayPowerMethod == null) {
+            requestDisplayPowerMethod = manager.getClass().getMethod("requestDisplayPower", int.class, int.class);
+        }
+        return requestDisplayPowerMethod;
+    }
+
+    public boolean requestDisplayPower(int displayId, int state) {
+        try {
+            Method method = getRequestDisplayPowerMethod();
+            return (boolean) method.invoke(manager, displayId, state);
+        } catch (ReflectiveOperationException e) {
+            throw new AssertionError(e);
+        }
+    }
 }

Could someone with an Android 15 test this patch?

I have no device with Android 15 for now, and the code is not released in AOSP, but we can implement it based on the code from Android Studio: https://android.googlesource.com/platform/tools/adt/idea/+/170a4f9317a8833f72661e2b6d51f64c685ce358/streaming/screen-sharing-agent/app/src/main/cpp/accessors/display_manager.cc#46

framework-Pixel-8-Pro-Android-15.zip

For Android 15, you can try the emulator, but it's probably a bad test....


Newsletter-281-Translate-into-French

So sad I made a mistake and some other to solve the first, and now I don't know how to solved it ! :,(
please @murchandamus can you help me ?

See my comment here. Fix for CI is WIP.
https://github.com/bitcoinops/bitcoinops.github.io/pull/1435#issuecomment-1861334521

it wasn't my mistake then? so much the better,
thanks for your help


Not support IE

IE needs to include babel shim file.

IE10/11 flexbox issue
http://stackoverflow.com/questions/21600345/flexbox-and-internet-explorer-11-displayflex-in-html
IE "Symbol not defined" issue
http://stackoverflow.com/questions/33828840/symbol-is-undefined-in-ie-after-using-babel

Known issues:

How to include ployfill.js only for IE browser? Conditional comment is not supported from IE10.


Question: How Proton Mail Get 10 Character Onion V3 Domain?

How Proton Mail Get 10 Character Onion V3 Domain?
https://(protonmail)rmez3lotccipshtkleegetolb73fuirgj7r4o4vfu7ozyd.onion/
Is there any tricks? Is it possible with "mkp224o"? If yes how?
Sorry i am bad at english!.

What's wrong with this domain? What 10 words did you find in it? It seems to be fairly unremarkable.

What's wrong with this domain? What 10 words did you find in it? It seems to be fairly unremarkable.

Sorry!... i am bad at english!... i though "word" and "character" have same meaning!... 😅

My old computer (2020) can find a domain like this taking anywhere from one hour to 16 hours. But, I tend to search a whole list of 8-11 character words. Within an hour I come across several addresses of 10 characters.
Generation speed ~210M-230M per second.
I haven't optimized anything and I haven't run any separate benchmarks.
From configuration, I think I have --enable-amd64-64-24k and --enable-binsearch enabled

My old computer (2020) can find a domain like this taking anywhere from one hour to 16 hours. But, I tend to search a whole list of 8-11 character words. Within an hour I come across several addresses of 10 characters.
Generation speed ~210M-230M per second.
I haven't optimized anything and I haven't run any separate benchmarks. From configuration, I think I have --enable-amd64-64-24k and --enable-binsearch enabled

How many thread you use while running?

several 10 character with in hour?
Can you share your command which command or the way you filter? I am noob in this. So can you help me bit?

Searching for vanity addresses is entirely probabilistic. Formulas for estimating the average amount of time to find an n-letter match are discussed in #27.

My old computer (2020) can find a domain like this taking anywhere from one hour to 16 hours. But, I tend to search a whole list of 8-11 character words. Within an hour I come across several addresses of 10 characters.
Generation speed ~210M-230M per second.

This is factually incorrect, or at best highly misleading. Could you find a match having some 10-letter english phrase in that amount of time, sure, probably even faster. But not one specific 10-letter combination. The number of trials on average that you would have to do to find one specific 10-character prefix is 32^10. Divide that number by the number of trials/second you say you have, and you get: 32^10/210e6 = ~62 days.

Is there any tricks? Is it possible with "mkp224o"? If yes how?

This is possible with mkp224o. There is only two things you can do to sped up finding matches:

Increase the number of trials per second. This can be by using faster hardware, or more hardware, or using your existing hardware more efficiently. To my knowledge there are not any implementations that are substantially faster than mkp224o, but it's not impossible and I have not looked for other programs to do this in a long time. More than likely though in this case they just ran a program like this on many computers. With cloud computing, that's just a matter of paying more. For running this program on a personal computer, you may be able to get a little more out of it by changing the algorithm used (there are multiple options available at compile-time) and perhaps by changing your compiler and its options.
Increase the probability of a match. This most obviously is achieved by searching for smaller prefixes. Sometimes you can search for a smaller prefix, such as "proton", generate a bunch of results, and pick the best one. For example, you might find protonsecem, which is not something you would search for, but you could make up some reasoning such as "it stands for Proton SECure Email" and then you have your longer match (see the old "facebookcorewwi" address). However if you don't want to go through the matches, you can instead increase the number of search terms. For example they might search for protonmail, protonemail, protonmessage, mailproton etc. While the speedup of this is not quite linear because you have to compare each key to more prefixes, it is still very beneficial.

How many thread you use while running? + several 10 character with in hour? Can you share your command which command or the way you filter? I am noob in this. So can you help me bit?

2x CPU EPYC 7601 RAM 512Gb GPU nvidia 1070ti
2x32 cores x2 threads = 128 threads

with EPYC you can probably gain some small perf improvements by increasing --enable-batchnum= configure time option to something like 4096 or more, as iirc that has bigger cpu cache size.

My home PC with i7-12700K gets about 80 000 000 calc/sec, which takes less than half a year to exhaust the entire 10 character space. Pretty doable for you, piece of cake for a multi-million dollar corporation.

My home PC with i7-12700K gets about 80 000 000 calc/sec, which takes less than half a year to exhaust the entire 10 character space.

No. At that rate, it will take a little less than half a year on average to find any one specific 10 character prefix. Each new address this program generates is completely random and independent of previously generated results, so as you continue to run you will get multiple results with the same prefix, and the probability of the next address you generate having the same first 10 characters as a previously generated address goes up the more prefixes you find. To "exhaust the the entire 10 character space", that is to generate at least one of every possible 10 character prefix, that problem falls under what is known as the Coupon collector's problem. According to that, you would need to run on average 32^10*H(32^10) trials where H(n) the the n-th Harmonic number. At your given calculation rate, that would take on average 15.7 years. And that is in the best case scenario which assumes that a) all prefixes are possible and b) all prefixes are uniformly distributed. I do not know that either of these are guaranteed by the underlying cryptographic algorithms, but I don't think they are unreasonable assumptions, especially for only a 10 character prefix.

Hello, I am looking for a way to specifically generate 11 specific characters, being a private company, I can offer myself a considerable budget so that its realization is possible & fast.
I leave you my email to contact me if you are interested in any help on my request.
email<EMAIL_ADDRESS>

@hardy454
You could probably mine an 11-char within a reasonable time-frame (<1 yr) if you have good hardware.
Every char in the tor address corresponds to 5 bits in the public key. This leads to 2^5 = 32-fold increase in difficulty for each new char you want. For example, if it takes 10 seconds to generate a 6-char address, it will take you 320 seconds to generate a 7-char address, and so on. You can benchmark how many seconds it will take on average as (keys per second)/(11^32).
As @nns33213 says, it takes about half a year to mine a 10-char address on a top-of-the-line CPU. So if you just get a new CPU it will take you 16 years on average. If you were mining on eight of those new CPUs at a time, it would take you 1 year on average.
One option would be to rent hardware like AWS or something for mining. This comes with some security considerations (as any service you are renting may have introspection to your private key)
As for having someone securely generate a key for you, look at some of the ideas proposed in https://github.com/cathugger/mkp224o/issues/60 . I might be able to provide a mining service for you if that feature gets implemented efficiently, as i'm connected to a guy that has access to a lot of cheap computing power.

I thank you for your answer, if it is possible do you have a means of contact to obtain a fluid discussion & we will surely be interested if you provide us with this service of mining. our email always stays there if you want to send your contact.

@hardy454 You could probably mine an 11-char within a reasonable time-frame (<1 yr) if you have good hardware.
Every char in the tor address corresponds to 5 bits in the public key. This leads to 2^5 = 32-fold increase in difficulty for each new char you want. For example, if it takes 10 seconds to generate a 6-char address, it will take you 320 seconds to generate a 7-char address, and so on. You can benchmark how many seconds it will take on average as (keys per second)/(32^11).
As @nns33213 says, it takes about half a year to mine a 10-char address on a top-of-the-line CPU. So if you just get a new CPU it will take you 16 years on average. If you were mining on eight of those new CPUs at a time, it would take you 1 year on average.
One option would be to rent hardware like AWS or something for mining. This comes with some security considerations (as any service you are renting may have introspection to your private key)
As for having someone securely generate a key for you, look at some of the ideas proposed in #60 . I might be able to provide a mining service for you if that feature gets implemented efficiently, as i'm connected to a guy that has access to a lot of cheap computing power.

I thank you for your answer, if it is possible do you have a means of contact to obtain a fluid discussion & we will surely be interested if you provide us with this service of mining. our email always stays there if you want to send your contact.


Is GO:0038031 non-canonical WNT signaling via JNK the same as GO:0060071 Wnt signaling pathway, planar cell polarity pathway ?

@hattrill and @gantonazzo will review whether  non-canonical WNT signaling via JNK and Wnt signaling pathway, planar cell polarity pathway
represent the same pathway. This review suggests that this is the case:
https://link.springer.com/article/10.1007/s12015-023-10610-5

Papers cited in the term & annotated:

[ ] PMID:19137009
[ ]  PMID:20032469
[ ] PMID:26754771
[ ] PMID:19188438

couple of refs:
Planar cell polarity in development and disease
The cell biology of planar cell polarity

After discussion with @hattrill and @gantonazzo

[ ] removed GO:0060071 Wnt signaling pathway, planar cell polarity pathway is_a 'regulation of establishment of planar polarity'

To answer the original question, GO:0038031 non-canonical WNT signaling via JNK  and GO:0060071 Wnt signaling pathway, planar cell polarity pathway  describe the same or very similar pathways. GO:0038031 was obsoleted in #26300
We now have 3 non-canonical Wnt pathways:

'Frizzled Nuclear Import pathway'
'Wnt signaling pathway, calcium modulating pathway'
'Wnt signaling pathway, planar cell polarity pathway'

Pascale

Hi @pgaudet a suggested change to the definition from a discussion from https://github.com/geneontology/go-annotation/issues/4800 to Wnt signaling pathway, planar cell polarity pathway
Definition: The series of molecular signals initiated by binding of a Wnt protein to a frizzled family receptor on the surface of the target cell resulting in the activation small G proteins such as Rho, Rac, and Cdc42 which, in turn activate effectors including C-Jun N-terminal kinase (JNK) and Rho kinase (Rok) and ending in a change in the transcription of target genes and/or reorganisation of the cytoskeleton.
PMID: 23140633.

Thanks. I have updated all definitions in that branch to also apply the 'genera-differentia' principle:
GO:0016055 Wnt signaling pathway
OLD def: "The series of molecular signals initiated by binding of a Wnt protein to a frizzled family receptor on the surface of the target cell and ending with a change in cell state." [GOC:dph, GOC:go_curators, PMID:11532397]
NEW def: "The series of molecular signals initiated by binding of a Wnt protein to a frizzled family receptor on the surface of a target cell and ending with a change in cell state." [GOC:dph, GOC:go_curators, PMID:11532397]
GO:0060070  canonical Wnt signaling pathway
OLD def: "The series of molecular signals initiated by binding of a Wnt protein to a frizzled family receptor on the surface of the target cell, followed by propagation of the signal via beta-catenin, and ending with a change in transcription of target genes. In this pathway, the activated receptor signals via downstream effectors that result in the inhibition of beta-catenin phosphorylation, thereby preventing degradation of beta-catenin. Stabilized beta-catenin can then accumulate and travel to the nucleus to trigger changes in transcription of target genes." [GOC:bf, GOC:dph, PMID:11532397, PMID:19619488]
NEW def: "A type of Wnt signaling pathway in which Wnt binding to its receptor on the surface of a target cell results in the by propagation of the molecular signals via beta-catenin, and end with a change in transcription of target genes. In this pathway, the activated receptor signals via downstream effectors that result in the inhibition of beta-catenin phosphorylation, thereby preventing degradation of beta-catenin. Stabilized beta-catenin can then accumulate and travel to the nucleus to trigger changes in transcription of target genes." [GOC:bf, GOC:dph, PMID:11532397, PMID:19619488]
GO:0035567 non-canonical Wnt signaling pathway
OLD def: "The series of molecular signals initiated by binding of a Wnt protein to a frizzled family receptor on the surface of the target cell, followed by propagation of the signal via effectors other than beta-catenin." [PMID:37804416]
NEW def: "A type of Wnt signaling pathway in which Wnt binding to its receptor on the surface of a target cell results in the by propagation of the molecular signals via effectors other than beta-catenin." [PMID:37804416]
GO:0007223 Wnt signaling pathway, calcium modulating pathway
OLD def: "The series of molecular signals initiated by binding of a Wnt protein to a receptor on the surface of the target cell where activated receptors leads to an increase in intracellular calcium and activation of protein kinase C (PKC)." [PMID:11532397, PMID:37804416]
NEW def: "A type of non-canonical Wnt signaling in which Wnt binding to its receptor on the surface of a target cell leads to an increase in intracellular calcium and activation of protein kinase C (PKC)." [PMID:11532397, PMID:37804416]
GO:0060071 Wnt signaling pathway, planar cell polarity pathway
OLD def: "The series of molecular signals initiated by binding of a Wnt protein to a receptor on the surface of the target cell where activated receptors signal via downstream effectors including C-Jun N-terminal kinase (JNK). In some instances, may be involved in reorganize the cytoskeleton organization and/or in the establishment of planar cell polarity pattern orientation." [PMID:11532397, PMID:25349257, PMID:28293032, PMID:37804416]
NEW def: "A type of non-canonical Wnt signaling pathway in which Wnt binding to its receptor on the surface of a target cell results in the activation small G proteins such as Rho, Rac, and Cdc42 which, in turn activate effectors, including C-Jun N-terminal kinase (JNK) and Rho kinase (Rok). The signaling ends with change in the transcription of target genes and/or reorganisation of the cytoskeleton." [PMID:11532397, PMID:25349257, PMID:28293032, PMID:37804416]
Please reopen if you'd like to suggest more edits.
Thanks, Pascale


Top down

New stitch compressor based on #79

@gabegrand and @CatherineWong could you checkout this branch and see if it works fine for your uses before I push it to main? See slack for reference. Thanks!!
The only change that affects the API for you guys is you should use --no-top-lambda to prevent stitch from finding inventions that have a lambda at the top of them (which is needed for dreamcoder compatibility, but I don't have it on by default because I don't think it makes sense as a limitation in general!)

Sounds good. I'm going to go ahead and merge since this seems safe and if issues come up for gabe we can sort that out


Add 'preload' method

:rocket: PR was released in<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>:rocket:


Admin dashboard issue#25

Hi Code Reviewer :wave:

:green_circle: In this milestone:

[ ] I have created the Dashboard. Here is a video demonstration of what I have implemented:
Video Demonstartion

closes #25

HI @gauravsingh1281,
Hope you are well! Kindly review the PR.
Regards,
Kashif Saleem

Hey @Kashif-Saleem-Ghuman I have looked at your PR and found that u have made some changes in the homepage's navbar and made it different from its Figma design. So Please make it look like the Figma design that I have provided.

@Kashif-Saleem-Ghuman And the admin dashboard page comes after user authentication which means that when the user is successfully logged in than it will redirect to the admin dashboard.

Hi @gauravsingh1281 ,
I have refactored as per your suggestions. Please check.

@Kashif-Saleem-Ghum
Fix the homepage's navbar and make it look like the Figma design that I have provided.
Figma Design - https://www.figma.com/file/9WhtUQT7s5ogTiDTp90PxI/RENTALOG-WEB-DESIGN?type=design&node-id=0-1&mode=design&t=giHe43ij31sBYaaw-0

@Kashif-Saleem-Ghuman You're not understanding what I mean. I only want you to remove the white background from the navbar so that it matches the Figma design and header section background color


Could the lamb optimizer be used in ImageNet classification?

Thank you for your contribution.
Like the paper said, the lamb optimizer could also be used for ImageNet classification. I am trying to incorporate the lamb here to my own code. Could the optimizer you contributed here be also applied in this kind of classification?
Many thanks.

it certainly can. all you have to do is use the lamb optimiser in your training loop.  As this is not a vision library, I would start with fast.ai and change its optimiser to lamb.


Schedule health_checks in their own queue and run them in Sidekiq

Fixes: #111

@jvanbaarsen Can you add a bit of context to why we would want this? Do you have a reference somewhere?

@michiels I want this to be running in a separate queue pool, so I can lower the priority for this. (Its more important that we run actual commands, healthchecks can be done when we have CPU cycles left for sidekiq).

@jvanbaarsen Ok, so conclusion is "to be able to lower priority" for that queue :)

@michiels Yes! (The whole idea why sidekiq queue's are there for, to split out work :-) )

Sure! I didn't know that you can deprioritize queues in Sidekiq :) Also not 100% apparent from the changelog that this is the reason. I think it's good to add little notes like that since more people than just us will be reading this.

:+1:


Bundling for Node.js fails with @rollup/plugin-node-resolve>=11.0.0

Describe the bug
Your source code checks for something like this:  typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto); to find out whether crypto is available.
I'm not sure exactly where it goes wrong, but this package inside a compiled js file with rollup, will never import crypto and only check the globals like mentioned above.
How to reproduce
With rollup and the following rollup.config, compile a file that uses "uuid":
import typescript from "@rollup/plugin-typescript";
import commonjs from "@rollup/plugin-commonjs";
import nodeResolve from "@rollup/plugin-node-resolve";
import json from "@rollup/plugin-json";

export default {
  input: ["myfile.ts"],
  output: {
    dir: "dist",
    format: "cjs",
  },
  plugins: [
    commonjs(),
    nodeResolve(),
    json(),
    typescript(),
  ],
};

myfile.ts
import { v4 as uuidv4 } from "uuid";
console.log(uuidv4());

Expected behavior
The example should have something like const crypto = require("crypto") somewhere in the compiled code. Currently, it only checks whether it is available globally, but in my use case I'm not in a browser environment, but a nodejs environment, so it would need to get imported to work.
As a note: I can see from the source that rng.js seems to be set-up correctly, but rng-browser.js is doing the unsupported check in a node environment. So the question really is, why I'm getting the browser package instead of the node one. Can I control this? (rollup is already set-up for node, aka cjs)

@josias-r seems like you discovered a bug with the most recent version of @rollup/plugin-node-resolve, see https://github.com/rollup/plugins/issues/695
I suggest you watch that issue for updates. Until then you can downgrade to<EMAIL_ADDRESS>and should be good to go.

You need to specify nodeResolve({exportConditions: "node"}) as node is not one of the default conditions, see the documentation: https://github.com/rollup/plugins/tree/master/packages/node-resolve#exportconditions

@ctavan @lukastaegert Thank you guys, this resolved my issue! The docs you linked don't really show node as an option, so I would have never thought of that.
Why exactly this was not the behaviour in an old version/what exactly is going on I still don't fully understand, but I'll watch the other issue for that sake 😄

Keeping this open until https://github.com/rollup/plugins/issues/695 has settled.

I got bit by this issue as well, when bundling uuid for Node.js with @rollup/plugin-node-resolve>=11.0.0.

You need to specify nodeResolve({exportConditions: ["node"]}) as node is not one of the default conditions, see the documentation: https://github.com/rollup/plugins/tree/master/packages/node-resolve#exportconditions

"node" isn't listed as a value in those docs (at least at the time of writing; sounds like the docs will be updated soon) but I can confirm this fix worked for me, so thank you!

I got bit by this issue as well, when bundling uuid for Node.js with @rollup/plugin-node-resolve>=11.0.0.

You need to specify nodeResolve({exportConditions: ["node"]}) as node is not one of the default conditions, see the documentation: https://github.com/rollup/plugins/tree/master/packages/node-resolve#exportconditions

"node" isn't listed as a value in those docs (at least at the time of writing; sounds like the docs will be updated soon) but I can confirm this fix worked for me, so thank you!

Great to see that this has been resolved. I've proposed a PR to clarify the solution in the rollup plugin docs: https://github.com/rollup/plugins/pull/884
I'll already close this one since it is not a problem with the uuid library.


Merge pull request #1 from datamade/master

SDK commands in appveyor

Coverage remained the same at 76.894% when pulling d757bc2680e0099c201ccb09cddc73f799c935df on 01-:master into 3dcaf06ee8c6414758bf644fcd45c03fbd4bbc6e on datamade:master.


Long time waiting for slot

Hi, I'm experiencing some difficulty when trying to add a new game account. Sometimes, the process takes hours. Is there a way to prioritize adding accounts so the wait time is shorter?

hi ,
add more maxSessions

Hi @bangbangbong,
The time it takes to add a new game account can depend on the hardware you are running the script on and the number of game sessions you have running.
Here are some key points to consider:
Memory Usage:
Each idle game session uses approximately 35 MB of memory.
Each active game session (during setup or claiming) uses approximately 400-450 MB of memory.
To manage memory usage effectively, we introduced a limit on the number of concurrent claims, known as claim slots. Each game session reserves a slot for up to 5 minutes to make its claim. If it cannot complete within this time, it releases the slot, and another game session can attempt to claim.
Steps to Improve Performance
Check Your Server Specifications:
For a server with 1 vCPU and 1 GB of RAM, stick with 1 claim slot.
With 2 GB of RAM, you can increase to 3 claim slots.
With 4 GB of RAM, you can increase to 6 claim slots.
Use the command free -m in Ubuntu to check your available memory.
Check for Memory Issues:
If the process is taking too long, your memory might be full. You can reset everything with sudo reboot.
Use ./launch.sh status to check if existing game sessions are stuck in a loop of errors and claims.
Increase Claim Slots:
If you need to increase the number of claim slots, run ./launch.sh and select "y" when prompted to update settings.
Navigate to the maxSessions prompt and increase the number as needed. Confirm all values to proceed with the normal setup.
Under normal circumstances, each game session should take between 30 seconds and a few minutes to create. If it's taking hours, there might be an issue with your setup that needs to be addressed.
Kind regards

If you run pm2 stop all, it will stop all the other sessions, for sure.
You could then do rm status.txt to clear the wait queue.
Add your game(s) as required and then do pm2 start all to resume everything :)

share with us your specs
Cpu
Ram
Network-Speed
OS
Docker
and how many account you running :)


Pyctuator hangs and is blocking the application until the first registration request is completed (succesfull or not)

This is easily reproduced when with k8s if the SBA host name cannot be resolved.
The problem is that the first registration occurs during the application's startup - subsequent registrations are done using a "daemonic" threading.Timer() and therefore don't block the main thread.
To reproduce, you can start nc -l -p 8080 (instead of SBA) and run the flask example which seeks for SBA at http://localhost:8080.

Done. v0.13.5


[main] Upgrade to latest dependencies

Cron -knative-prow-robot
/cc knative-sandbox/channel-wg-leads
/assign knative-sandbox/channel-wg-leads
Produced by: knative-sandbox/knobots/actions/update-deps
Details:
bumping knative.dev/reconciler-test 32f0df0...2b7893c:
  > 2b7893c Update community files (# 226)
  > 7e3301d upgrade to latest dependencies (# 224)
bumping knative.dev/eventing 9ced574...4a679a4:
  > 4a679a4 [PingSource] disable @every (# 5585)
  > 5add485 drop use of upstream knative.dev/pkg/metric eventing keys (# 5586)
  > 8678c3c Update community files (# 5583)
  > 221dfdf add retries for apiServerSource (# 5457)
  > 262b70e Update actions (# 5575)
  > e1db1d3 upgrade to latest dependencies (# 5569)
bumping knative.dev/pkg fe90576...e8973c6:
  > e8973c6 Bump a few assorted dependencies (# 2186)
  > 4377330 Update community files (# 2185)
  > 4a3e56d Update actions (# 2182)
bumping go.uber.org/zap ebebbf3...120b08c:
  > 120b08c Release v1.18.1, fix panic
  > 35f15d1 Release v1.18.0 (# 973)
  > a779980 Prepare release v1.18.1
  > d5c2a1a Add zapio.Writer (# 971)
  > 80f724f Prepare release v1.18.0
  > 7ea57ce NopLogger: Fix nil Clock panic
  > 5afb307 Add Buffer.WriteByte and WriteString methods (# 691)
  > 1797f10 zapio/writer: More documentation and example test
  > fb71758 zapcore: add stopped for Stop method called exactly once (# 966)
  > 0c42722 fix typo (# 967)
  > aa3e73e zapcore: Add Buffered Writer (# 961)
  > c05967d zaptest/ObservedLogs: Expose more filters (# 943)
  > 084fb2a SugaredLogger/sweetenFields: Don't panic (# 949)
  > 4950e39 Merge v1.17.0 release into master
  > cfe34dc fossa: Run separately, only on push (# 957)
  > 56304dc zapcore/FieldType: Don't change enum values (# 955)
  > 3c7c771 Integrate FOSSA (# 953)
  > fec3dad lint: Check that 'go mod tidy' was run (# 951)
  > 7699673 clock: Move to zapcore (# 950)
  > dedcdad clock: Add Ticker support (# 948)
  > 3748251 go mod tidy (# 947)
  > debd2f1 internal/readme: Simplify if condition (# 945)
  > f73286f FAQ: Add zapfilter (# 939)
  > 8b883c6 Update dependencies to fix vulnerabilities in (# 936)
  > d9a4dcc Switch from Travis to GitHub Actions (# 940)
  > 7b21229 zapcore: Cleanup copy in NewMultiWriteSyncer (# 934)
  > c23abee Update dependencies to fix vulnerabilities (# 931)
  > bfa147a Add FilterFieldKey to zaptest/observer (# 928)
  > ca7ddee Support multi-field encoding using zap.Inline (# 912)
  > 89e3820 Add support for grpclog.LoggerV2 (# 881)
  > aecb309 tools: Move to submodule (# 914)
  > ab0cbad Remove outdated information, make dependencies is no longer necessary. (# 915)
  > 4f6f7e9 Optimize Sugar logger for calls with a single string arg (# 913)
  > 89d9466 Fix: code quality issues using DeepSource (# 907)
  > b274f65 http: support additional content type (# 903)
  > f8ef926 Add WithClock Option (# 897)
bumping knative.dev/networking 4e655b7...e937f69:
  > e937f69 upgrade to latest dependencies (# 461)
  > 946273d Update community files (# 460)

/lgtm


Add dart: prefix for unittest library

The unittest library should be accessible via dart: prefix. This will be a heavily used library by external developers who are sharing code, and thus the current solution of absolute paths isn't sufficient.

This issue has been moved to dart-lang/test#135.


Removed duplicate test

Koa V1 middleware test suite has the generates different ids for concurrent requests with async/await test case, which is a duplicate of the generates different ids for concurrent requests with promises test case

Thanks for noticing this one! It's a copy-paste leftover from koa.test.js.


docs: door lock component docs add

Description
Please provide a brief summary of the changes. If it is related to an issue, please bring the issue number, like fixes #${number}.
Package

[ ] tuya-panel-animation-sdk
[ ] tuya-panel-api
[ ] tuya-panel-electrician-sdk
[ ] tuya-panel-ipc-sdk
[ ] tuya-panel-lamp-sdk
[ ] tuya-panel-lock-sdk
[ ] tuya-panel-robot-sdk

Type of change
Please select the relevant option.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Codecov Report

Merging #44 (0cd7671) into main (96db63e) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #44      +/-   ##
==========================================
- Coverage   56.76%   56.74%   -0.03%
==========================================
  Files         111      110       -1
  Lines        4260     4258       -2
  Branches      923      922       -1
==========================================
- Hits         2418     2416       -2
  Misses       1840     1840
  Partials        2        2

Impacted Files
Coverage Δ

...ages/tuya-panel-lock-sdk/src/defend-time/index.tsx
83.33% <100.00%> (ø)

...ges/tuya-panel-lock-sdk/src/get-password/index.tsx
71.05% <100.00%> (-0.75%)
: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 96db63e...0cd7671. Read the comment docs.


Demosaic fails coreir simulator

I have been creating hardware for demosaic, but I am facing an issue when trying to simulate it during the circuit reset. Below is the error message. Any ideas on what could be happening?
Attached is the design:
demosaic_design_top.txt
starting reset
ERROR: add_882_884_885.in1 cannot be found
../../../../coreir/lib/libcoreir.so(_ZN6CoreIR14SimulatorState9getBitVecEPNS_6SelectE+0x5d)[0x2b7cc28933af]
../../../../coreir/lib/libcoreir.so(_ZN6CoreIR14SimulatorState17updateBitVecBinopEiPFN4bsim21quad_value_bit_vectorERKS2_S4_E+0x14d)[0x2b7cc28948ab]
../../../../coreir/lib/libcoreir.so(_ZN6CoreIR14SimulatorState13updateAddNodeEi+0x2f)[0x2b7cc2894ec1]
../../../../coreir/lib/libcoreir.so(_ZN6CoreIR14SimulatorState16updateNodeValuesEi+0x3bf)[0x2b7cc28970ff]
../../../../coreir/lib/libcoreir.so(_ZN6CoreIR14SimulatorState16exeCombinationalEv+0x259)[0x2b7cc28999b9]
../../../../coreir/lib/libcoreir.so(_ZN6CoreIR14SimulatorState12resetCircuitEv+0x18)[0x2b7cc28995b6]
./run[0x405cea]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x2b7cc34cef45]
./run[0x4054d9]
make: *** [out.png] Error 1

If it's possible, could you include the test bench driving the simulator (that causes the error above)? This would likely speed up resolution by providing a way to reproduce the issue locally.
Even better might be a simple test bench to isolate the issue (just the necessary sequence of actions to run into the reset issue).

My guess is that the problem is the simulator mishandling multidimensional arrays. Are you running the flattentypes pass before executing?

Yes, I'm doing flattentypes before executing. This is the code before failure:
CoreIRLoadLibrary_commonlib(c);
  if (!loadFromFile(c,"./design_top.json")) {
    std::cout << "Could not Load from json!!" << std::endl;
    c->die();
  }

  c->runPasses({"rungenerators", "flattentypes", "flatten", "wireclocks-coreir"});

  std::cout << "finished passes" << std::endl;
  Module* m = g->getModule("DesignTop");
  assert(m != nullptr);
  SimulatorState state(m);

  state.setValue("self.in_arg_3_0_0", BitVector(16));
  state.setValue("self.reset", BitVector(1));
  state.setClock("self.clk", 0, 1);
  std::cout << "starting reset" << std::endl;
  state.resetCircuit();

@jeffsetter I just copy-pasted your code in to a unit test and ran it in coreir. I do not get a segfault when running reset on demosaic. What version of coreir are you on?

I just updated to master with no change in outcome.


Issues with Gradle 6.0-rc-1

When I use org.owasp.dependencycheck version 5.2.2 with Gradle 6.0 rc1 I get the following output:
> Task :dependencyCheckAnalyze
Verifying dependencies for project kunde
The compile configuration has been deprecated for resolution. This will fail with an error in Gradle 7.0. Please resolve the compileClasspath configuration instead.
The compileOnly configuration has been deprecated for resolution. This will fail with an error in Gradle 7.0. Please resolve the compileClasspath configuration instead.
The runtime configuration has been deprecated for resolution. This will fail with an error in Gradle 7.0. Please resolve the runtimeClasspath configuration instead.

Are you using those deprecated configurations anywhere? Because that is just Gradle warning you that you need to use replacements, or you will get an error in the future release 7.0. This doesn't have anything to do with the plugin as such.

I get the same warnings with gradle 6.0-rc-2 and dependencycheck 5.2.2 without using those configurations (as far as I can tell): https://github.com/marco-schmidt/am/blob/master/build.gradle
 >./gradlew dependencyCheckAnalyze --warning-mode all

> Task :dependencyCheckAnalyze
Verifying dependencies for project am
The compile configuration has been deprecated for resolution. This will fail with an error in Gradle 7.0. Please resolve the compileClasspath configuration instead.
The compileOnly configuration has been deprecated for resolution. This will fail with an error in Gradle 7.0. Please resolve the compileClasspath configuration instead.
The runtime configuration has been deprecated for resolution. This will fail with an error in Gradle 7.0. Please resolve the runtimeClasspath configuration instead.
Checking for updates and analyzing dependencies for vulnerabilities
Generating report for project am
Found 0 vulnerabilities in project am

BUILD SUCCESSFUL in 4s
1 actionable task: 1 executed

@jeremylong It's not a question. The comment of @bjornvester is wrong. The deprecation warnings are not because of a specific configuration. BTW, Gradle 6.0 is announced for Nov. 8, and more users of the Gradle plugin will observe this issue. https://github.com/gradle/gradle/milestones

Sorry, I was just asking if the OP used those configurations as I don't get that warning myself when running on 6.0-RC2. But I just realized that it is probably just because I am explicitly configuring which configurations I want analyzed like this:
dependencyCheck {
    scanConfigurations = ['runtimeClasspath']
}

By default, it will analyze them all (deprecated or not).
I don't think there is a whole lot that can be done in the plugin, except for documenting that you will get those harmless (but very annoying) warnings in Gradle 6.0 if you are not explicit about the configurations, but you can get rid of them by excluding the three configurations if you are not actually using them. It won't become a problem in Gradle 7.0 as the configurations will become unresolvable and thereby not selected for analysis.

@bjornvester I see. When I use scanConfigurations = ['runtimeClasspath'] the warnings are gone. I'd recommend to emphasize this config option in the documentation.

The configurations causing the warnings are likely being added by another plugin.  In the testing I've done there have been no dependencies in the compile, compileOnly, and runtime configurations when the warning is raised. However, if you run the following on the build.gradle provided by @marco-schmidt above - you will see that the configurations are present:
./gradlew  --console plain dependencies | fgrep ' - '

The dependency-check task grabs all available configurations and checks for dependencies within the configurations - this is what is triggering the warning.


404 in admin/app after install

I'm having trouble getting the app to run in the admin dashboard. After I click install to my shop from the partner dashboard, it redirects me to "https://myngroksercer.io/?hmac=&shop=.myshopify.com&timestamp=1659089273". The full screen loads at this address before it redirects me to "https://.myshopify.com/admin/apps/<SHOPIFY_API_KEY>/?hmac=&shop=.myshopify.com&timestamp=1659089273", and from here I get a "There’s no page at this address".
Has anyone had this issue?

If you're using it in prod mode, you need to run npm run build before running npm run start. If you're in dev mode, macOS and Linux will work just fine when you use npm run dev but on Windows you might have to run npm run build npm run dev so it works as expected.

I'm using macOS (ARM64), trying to use npm run dev. I've tried to npm run build before running npm run dev and I have also tried withnpm run start. Still no luck.

You recon we could hop on a call and see what's happening? It's a 100% user error and I'd like to update the docs if we figure out what's going wrong^

Drop me a DM on twitter please

@kinngh Thanks for your help. 👍

Always!

same issue. it displays the page for a moment before reloading to 404


PowerToys Run > Windows Search > "typing search term"> auto bug report request prompt:"something went wrong"

Microsoft PowerToys version
0.62.0
Running as admin

[ ] Yes

Area(s) with issue?
General, PowerToys Run
Steps to reproduce
1: win+space: invoking> PowerToys Run > Windows Search.  Typing search term >  PowerToys bug report auto popped up, twice.
2: search item: Windows Chrome shortcut with custom target "C:\Program Files\Google\Chrome\Application\chrome.exe" --user-data-dir="%USERPROFILE%\chrome\minedefine"
3:did no finish typing search term, or click on link,
2022-09-14.txt

✔ Expected Behavior
no issues with shortcuts to chrome.
❌ Actual Behavior
it still worked, but there's an auto bug report request pop up this time.
Other Software
No response

This should be fixed with a .66 or newer release.  Does it still repro on newer builds like 0.69?  /needinfo

have not experienced issues with pt run> windows search.


Updating documentation for making neccessary changes

Issue 705: https://github.com/Roshanjossey/first-contributions/issues/705

@cpa5399: We're still not sure if we'll address this issue. I've shared my thoughts in the same issue. Do go through them and share your thoughts.

@Roshanjossey Sounds reasonable to me! Closing this


Added hyperlinks to Donation buttons linking to the donation page #473

Issue Description: We needed to link the "Donation" buttons in the donation section of our website to a dedicated donation page.
Solution:
Added a hyperlink ("<"a">" ) around each "Donation" button that redirects users to the donation.html page.
This ensures that when a user clicks on any "Donation" button, they are directed to the correct page for further action.
Summary: By wrapping each button with an anchor  tag, the donation buttons are now functional, providing seamless navigation to the donation page.
Wrapped Donation buttons with anchor tags to link to Donation.html page

Hello ! @anuragverma108  ,
I have added a hyperlink for the donation page.

The Donation button has been incorporated in both the navigation bar and within the donation section, allowing users easy
access to contribute.
Each button now links directly to donation.html, enhancing user experience and streamlining the donation process.

Reverts #473

Reverts #483

Hello i have resolved the conflict ,
I have sent you my pull request please check it out , I hope you merge it , thank you.

@rahulkhandait-sde
Can you kindly merge this under #hacktoberfest-accepted label
Thankyou!

Resolve the conflicts in the mentioned files. Ensure you pull all the latest changes before pushing your feature/bug fixes to the main branch. After resolving the conflicts, please open a new PR for review.
Thank you!


qt5/qtwebchannel.nix: omit $bin output if cross

Description of changes
QtWebChannel does not produce binaries when it is cross-compiled. Let's omit the $bin output in that case.

there's no binaries in $bin even when not cross-compiling
so these files aren't created when cross-compiling
$ tree ./result-bin
./result-bin
└── lib
    └── qt-5.15.8
        └── qml
            └── QtWebChannel
                ├── libdeclarative_webchannel.so
                ├── plugins.qmltypes
                └── qmldir

Let me clarify: QtWebChannel does not produce anything at all in $bin when cross-compiling.
This causes Nix to reject the build because the builder failed to create an expected output.

Let me clarify: QtWebChannel does not produce anything at all in $bin when cross-compiling.

i understood that but why are qml files not generated when cross-compiling
plugins.qmltypes has this comment
// This file was auto-generated by:
// 'qmlplugindump -nonrelocatable -dependencies dependencies.json QtWebChannel 1.15'

qmlplugindump is in qtdeclarative which is in  qtInputs which is propagatedBuildInputs in qtModule so the issue may be fixed by adding qtdeclarative to nativeBuildInputs

If there are no files in $out/bin why do we even have the bin output? The files seem to be wrong there in the first place.

I will investigate.
It might be a week or two before I have time to return to this qt5-cross stuff, but I will get to it.  Native-compiling stuff on my laptop is too painful.


HTTP chunking and compression  support

Are HTTP chunking and compression supported?
Both of these features are very important when writing over low bandwidth, high latency network.
A good discussion on HTTP compression in ES: https://github.com/elastic/elasticsearch/issues/7309

ES-Hadoop is built on top of Apache Commons HTTP v3.0.1 which does not support compression. Experimental support for compression was added in v4.1 and enabled by default in v4.3, but will not be backported to 3 in any capacity. Since we use the library versions that are provided with Hadoop to avoid conflicting jars and to facilitate simpler usage of the library this would need to wait until Hadoop updates their version of Commons HTTP.
HTTP chunking is available in v3.0.1 but we explicitly set it to disabled. I'm not sure I immediately see the benefit of turning it on (or adding a toggle) by itself since the data that we send across the wire is all accumulated in memory before being flushed, and we do not send data across the wire before it is done being accumulated.

Closing this out as there are no real courses of action to take.

@jbaiera Since Http compression was critical for our project, I've added support for compressing Http Playload(Gzip) for outgoing traffic from Hadoop to ES without upgrading Http Client to 4.x, This solution won't enable compression for ES response body.
Sharing the change, if any one interested can use this.
https://github.com/s4ch1n/elasticsearch-hadoop/commit/d9327759a7f8da502e1b03789f5cab998b60c6e4
I don't to create a PR since it's a hack.


allowedValues alignment

Overview/Summary
Replace this with a brief description of what this Pull Request fixes, changes, etc.
This PR fixes/adds/changes/removes

Aligns the setting of allowedValues in the initiative with those expected by the policyDefinition
Updated what's new documentation with changes covered in this PR

Breaking Changes

NONE

Testing Evidence
Please provide any testing evidence to show that your Pull Request works/fixes as described and planned (include screenshots, if appropriate).
Testing URLs
The below URLs can be updated where the placeholders are, look for {YOUR GITHUB BRANCH NAME HERE - Remove Curly Brackets Also} & {YOUR GITHUB BRANCH NAME HERE - Remove Curly Brackets Also}, to allow you to test your portal deployment experience.

Please also replace the curly brackets on the placeholders {}

Azure Public
[](https://portal.azure.com/#blade/Microsoft_Azure_CreateUIDef/CustomDeploymentBlade/uri/https%3A%2F%2Fraw.githubusercontent.com%2F{YOUR GITHUB ORG/ACCOUNT HERE - Remove Curly Brackets Also}%2FEnterprise-Scale%2F{YOUR GITHUB BRANCH NAME HERE - Remove Curly Brackets Also}%2FeslzArm%2FeslzArm.json/uiFormDefinitionUri/https%3A%2F%2Fraw.githubusercontent.com%2F{YOUR GITHUB ORG/ACCOUNT HERE - Remove Curly Brackets Also}%2FEnterprise-Scale%2F{YOUR GITHUB BRANCH NAME HERE - Remove Curly Brackets Also}%2FeslzArm%2Feslz-portal.json)
Azure US Gov (Fairfax)
[](https://portal.azure.us/#blade/Microsoft_Azure_CreateUIDef/CustomDeploymentBlade/uri/https%3A%2F%2Fraw.githubusercontent.com%2F{YOUR GITHUB ORG/ACCOUNT HERE - Remove Curly Brackets Also}%2FEnterprise-Scale%2F{YOUR GITHUB BRANCH NAME HERE - Remove Curly Brackets Also}%2FeslzArm%2FeslzArm.json/uiFormDefinitionUri/https%3A%2F%2Fraw.githubusercontent.com%2F{YOUR GITHUB ORG/ACCOUNT HERE - Remove Curly Brackets Also}%2FEnterprise-Scale%2F{YOUR GITHUB BRANCH NAME HERE - Remove Curly Brackets Also}%2FeslzArm%2Ffairfaxeslz-portal.json)
As part of this Pull Request I have

[ ] Checked for duplicate Pull Requests
[ ] Associated it with relevant issues, for tracking and closure.
[ ] Ensured my code/branch is up-to-date with the latest changes in the main branch
[ ] Performed testing and provided evidence.
[ ] Ensured contribution guidance is followed.
[ ] Updated relevant and associated documentation.
[ ] Updated the "What's New?" wiki page (located: /docs/wiki/whats-new.md)

@Springstone done :)

Thanks @Springstone and @Brunoga-MS
A couple of comments and one question below:

Why the casing changes/additions for audit where Audit already exists?

@jtracey93 ,
casing changes/additions were applied just because the original policy definitions were including them and I was told to ensure definitions and initiatives had the same allowed values :-)


WebUi c-Lightning Appstore

The backend needs to show different apps when running c-lightning. Also RTL needs special check with its different variants. See: https://github.com/cstenglein/raspiblitz-web/issues/300

OK - the backend now filters based on node type. Closing issue for v1.8.0


removing refernces to roboto and changing input hint font to semibold

@keybase/react-hackers

:shipit:


Create Dummy Data for MP Evaluation

Pick a set of Monitoring Plans from the backend to be returned with specific statuses

Evaluation Status:

Needs Evaluation
In Queue
In Progress
Passed
Informational Message
Critical Errors


Codesabdbox link is broken

Summary
Codesandbox link in readme leads to a page with error:
Something went wrong
Only a max of 500 modules is allowed in a sandbox

Steps to reproduce
Click in readme https://codesandbox.io/s/github/saleor/react-storefront
A link to a reproduction repository
No response
Output from envinfo
No response

I guess the only thing we can do is removing this link for now.
https://github.com/codesandbox/codesandbox-client/issues/3229

(…) hard limit on what can be used on CodeSandbox at the moment for performance reasons.

The link was removed in https://github.com/saleor/react-storefront/pull/396


disable github nightwatch test while we are changing the flow

Merging this to get all the other PRs to pass.


Feature request - NV - Nixvim distribution focused on Nix development

Hi friendly peoples of the Nixvim world.
I have a short proposal for nv (pronounced "envy", ha!), a nixvim distribution aimed at Nix developers.
When you are new to development, it can get overwhelming very quickly. A new language, conventions you don't understand, what even are best practices here?
What if we had a simple and focused pre-configured distribution that is perfect for getting started with Nix development?
Features

[ ] Contains a high-quality formatter
[ ] Syntax highlighting for nix and flakes
[ ] Contains quality linting

Documentation

[ ] Distributed as a flake
[ ] Commented like kickstart.nvim

That's it
:)
Thanks for reading

https://github.com/Azeirah/nv/tree/main


[hotfix][doc]Fixed the problem that the Windows document Window Assig…

What is the purpose of the change
I fixed release-1.14 in another similar pr, which fixed the same problem in the master branch.
another pr

Brief change log
Modify Window Assigner and Window Function to the correct title
Verifying this change
Please make sure both new and modified tests in this PR follows the conventions defined in our code quality guide: https://flink.apache.org/contributing/code-style-and-quality-common.html#testing
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no) no
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no) no
The serializers: (yes / no / don't know) no
The runtime per-record code paths (performance sensitive): (yes / no / don't know) no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / no / don't know) no
The S3 file system connector: (yes / no / don't know) no

Documentation

Does this pull request introduce a new feature? (yes / no) no
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented) no

@meng1222 I think you need to rebase your commit. You probably used merge and created a merge commit.

@meng1222 I think you need to rebase your commit. You probably used merge and created a merge commit.

ok, I see it, i will fix it soon,thanks.

@fapaul hi bro, I resubmitted a pr, this is its address, if there are no other questions, can you please merge？new pr


add MathJax for LaTeX support

@HHONG-WM
Sorry for the wait!
Just had a look, a small tweak is needed.  Basically, what I'm trying to change:

Rename MathJax.html to math-jax.html for file naming consistency
Move MathJax to post.html, not blog.html. I assume you only need this support inside the blog post, not the blog page itself.

Tried to tweak a bit directly on GitHub, but only managed to remove but not to add. Below is needed, could you please add it in your branch? Thanks

Add confugration key load_math_jax in both of the _config.yml files:

jekyll-theme-simple-texture/_config.yml
jekyll-theme-simple-texture/starter-kit/_config.yml
# Site Settings
encoding: UTF-8
exclude: ["*.gem", "*.gemspec", "Gemfile", "Gemfile.lock", "node_modules", "Rakefile", "starter-kit", "vendor"]
lang: en # Language code as defined in _data/i18n.yml. en, en-gb, en-us, zh, zh-cn, zh-tw etc.
permalink: /blog/:year/:month/:day/:title/

whitelist: [jekyll-feed, jekyll-redirect-from, jekyll-seo-tag, jekyll-sitemap]
plugins:
  - jekyll-feed
  - jekyll-redirect-from
  - jekyll-seo-tag
  - jekyll-sitemap

markdown: kramdown
kramdown:
  auto_id_prefix: 'heading-'
  smart_quotes: ["apos", "apos", "quot", "quot"]
  toc_levels: 1..3

sass:
  style: compressed

# Site Data
url: # the base hostname & protocol for your site, e.g. http://example.com
baseurl: # the subpath of your site, e.g. /blog
title: Simple Texture
description: "A gem-based responsive simple texture styled Jekyll theme."
keywords: 'jekyll,theme,gem-based,blog'
author:
  name:
  job_title:
  location:
  email:
  social_links:
    - name: facebook
      url:
    - name: github
      url: https://github.com/yizeng/jekyll-theme-simple-texture
    - name: instagram
      url:
    - name: linkedin
      url:
    - name: stackoverflow
      url:
    - name: twitter
      url:
    - name: vk
      url:
home:
  section1:
Simple Texutre

  section2:
A gem-based responsive simple texture styled Jekyll theme

  section3:

blog:
  cc_license: http://creativecommons.org/licenses/by-sa/4.0/ # A link to CC License of your choice.
  cc_license_image: /assets/images/theme/cc-by-sa.png # An image of your CC License.
  footer_content: A gem-based responsive simple texture styled Jekyll theme.

disqus:
  shortname: # e.g. yizeng
  public_key: # e.g. ULZ0b9TFefCUJHKQd4JCKv2v3u27YoG7YG8zXPewkWrT333Z0Se9YnxLzoV6VM8W
google_tag_manager: # e.g. 'GTM-KCQJXZ8F'
addthis_public_id: # AddThis sharing plugin. See http://www.addthis.com/. E.g. ra-53329e27694534j5
load_math_jax: # true to turn it on.

paths:
  home: /
  blog: /blog/
  categories: /blog/categories/
  tags: /blog/tags/

Inside jekyll-theme-simple-texture/_layouts/post.html add the following at the end (with the correct spacing (4 spaces)):
{% if site.load_math_jax %}
{% include common/math-jax.html %}
{% endif %}


Roadmap

I started this gem just for fun; a way to experiment with functional programming ideas in Ruby. I don't really have a long-term plan or a very clear roadmap. Below is a list of features I would like to add as I find the time to work on them, but I (currently) am making no promises regarding if/when I will work on any of them.
I welcome any and all input from anyone actively using this gem. If you find this gem useful and have ideas for how it can grow and evolve I would love your feedback.
To-do

[ ] Declare Record classes with datatypes for all members (similar to PureScript)
[ ] Pure functional data structures based on finger trees

[ ] sequence
[ ] priority queue
[ ] search tree
[ ] priority search queue

[ ] Monoid
[ ] Pattern matching within if/elsif/else and case statements (based on Erlang and PureScript)
[ ] Support for RubyMotion

[ ] iOS
[ ] Android (once RubyMotion 3.0 is released)

Hi,
Any interest in adding currying ?
I have scratched the idea for a blog post, maybe I could help ; )
Thanks.

@rranelli Certainly, currying would be a great addition. Thank you! Have you already written the blog post? I'd love to read it.

Ow, the post is still a /core-dump/ of ideas. I will probably finish it this week.
My English is pretty poor so I tend to keep the posts too much time in the oven.
I'll let you know as soon as it becomes readable.
I'll get a proposal for currying them ;).
Thanks for attention!

I was surprised to learn just now that Proc#curry actually exists!
We could return a curryied version of a method with something like
def as_curry(name)
  method(name).to_proc.curry
end

Not sure how I would currify something like Array#map though. In functional languages the function to map over would be an actual argument, not a block.

I wasn't aware that Ruby supported currying. Nice find!

The behavior is also kinda weird.
add = (->(x,y) {x+y}).curry
add.().().().().(1).().(2) # => 3

@cvb I see that you created a v1.3.0 tag, but the version file still says 1.2.0 and that's the last version uploaded to Rubygems. Had you intended to release 1.3.0?

@jdantonio sorry, forgot that, think I also need to update changelog
and about rubygems, I don't know if I can do that, will try later

@cvb I can push to Rubygems when the release is ready. If you don't mind, please remove the 1.3.0 tag and create tag master again once you've updated the version file and the changelog. Normally I create a release within GitHub and upload the packaged ".gem" file before pushing to Rubygems. I can do the build if you like, but you are welcome to package the build yourself if you would prefer. There is a rake task for that. I can push the build to Rubygems once it's created.

@jdantonio ok, I updated and uploaded everything, I think you can upload it to rubygems now

I've published it to Rubygems. Thank you!