Clear up confusion about when special achievements are awarded

Many players have voiced confusion (https://boardgamearena.com/bug?id=62821) about when special achievements are awarded (as a result of us changing the timing of the special achievement check, after consultation with Chris).
I'm in the process of emailing back and forth with Chris to reach a resolution on this.
We definitely need to get this story straight before we can release the expansion.

Marking as blocked until I get a response back from Chris.

I just sent another email. I'm trying to reach a resolution soon on this.

Finally got a response. He agreed with my proposal:
- Remove the word "immediately" from all of the base special achievements except for Monument. Similar to the special achievements in Cities, it will confuse players more if Monument isn't awarded the instant they finish scoring or tucking 6 cards.
- Keep the timing of the other special achievements to check at the end of the effect

so does that mean Glory and Victory are awarded immediately or not?  I'm not clear on that.

I think we want to award those immediately! We only want to wait for achievements which depend on examining the board state.

Those will be easy then.  I like it.


Unable to get remote docker registry working using --insecure-registry

I am trying to setup a private Docker Registry (on Amazon EC2 using Amazon Linux AMI) using the standard docker registry image and a Docker Registry Reverse Proxy (https://registry.hub.docker.com/u/marvambass/nginx-registry-proxy/)
The goal is to secure the registry using SSL (using self-signed ssl cert) and username/password authentication. This all seems to go well, when i try to navigate via browser to private docker registry using : https://ec2-52-17-207-222.eu-west-1.compute.amazonaws.com:443/v2/ I get a prompt to provide a username and password and i get correct output in this case {}
But when i try to login using the docker client i seem unable to login:
FATA[0004] Error response from daemon: v1 ping attempt failed with error: Get https://ec2-52-17-207-222.eu-west-1.compute.amazonaws.com:443/v1/_ping: x509: certificate signed by unknown authority. If this private registry supports only HTTP or HTTPS with an unknown CA certificate, please add --insecure-registry ec2-52-17-207-222.eu-west-1.compute.amazonaws.com:443 to the daemon's arguments. In the case of HTTPS, if you have access to the registry's CA certificate, no need for the flag; simply place the CA certificate at /etc/docker/certs.d/ec2-52-17-207-222.eu-west-1.compute.amazonaws.com:443/ca.crt
I modified my /etc/default/docker file on my client machine as according to the instructions:
# root@ubuntu:/etc/default# cat docker
# Docker Upstart and SysVinit configuration file

# Customize location of Docker binary (especially for development testing).
#DOCKER="/usr/local/bin/docker"

# Use DOCKER_OPTS to modify the daemon startup options.
#DOCKER_OPTS="--dns <IP_ADDRESS> --dns <IP_ADDRESS>"
DOCKER_OPTS="$DOCKER_OPTS --insecure-registry ec2-52-17-207-222.eu-west-1.compute.amazonaws.com:443"

# If you need Docker to use an HTTP proxy, it can also be specified here.
#export http_proxy="http://<IP_ADDRESS>:3128/"

# This is also a handy place to tweak where Docker's temporary files go.
#export TMPDIR="/mnt/bigdrive/docker-tmp"

Restarted the docker service etc but no luck so far..

Insecure registry + authentication is not a supported scenario.
The reason for that is it's possible / simple for an attacker to downgrade your traffic to http, then making the use of plain basic passwords moot.
My recommendation is that instead you put your server.crt into /etc/docker/certs.d/ec2-52-17-207-222.eu-west-1.compute.amazonaws.com:443/ca.crt
Hope that helps.

Apologies for my possible dumb question, but does this mean that the registry cannot be used when using self signed certificates?

@mpas it can - this is why you need to trust that self-signed certificate inside docker (because it's self-signed).
Copying the crt over to /etc/docker/certs.d/ec2-52-17-207-222.eu-west-1.compute.amazonaws.com:443/ca.crt does that.

@dmp42 Could it be that i need to create /etc/docker/certs.d directory? I guess that i need to do this on the server running the registry?

you have to create the mentioned directory.
And you have to do that on any host that wants to run docker accessing that registry, not on the registry host itself.
It's like running a website with a self-signed certificate, you have to configure your browser to trust it.

@dmp42 thanks for the tips, going to test this tomorrow! Does the placement of the .crt file on the client host mean that i do not need to have the --insecure-registry ec2-52-17-207-222.eu-west-1.compute.amazonaws.com:443 anymore?

@mpas it does.
You might have to trust the cert at the OS level as well, though (since authentication here).

I was unable to get it working with only the placing the ca.crt inside the certs.d directory and using the insecure registry. At the end the only thing i needed to do was to import the generated certificate inside the OS.

@mpas Could you please let me know how to import the generated certificate in EC2 and make it global so docker registry can pick it up


Routing Queue - queue_flow_id - Not Updating for Message & Email

Hi Team
This for genesyscloud_routing_queue (Resource)
The Queue_flow_Id parameter only works with Voice and does not update the Message & Email media within Queue.
[queue_flow_id] - (String) The in-queue flow ID to use for call conversations waiting in the queue.
Please let me know how to use queue_flow_id in Messages and Emails.

Hi,
The email_in_queue_flow_id and message_in_queue_flow_id are used for emails and messages respectively.

I agree - The ask is when I try to update queue_flow_id for Message or Email it not updating it is updating only for Voice in a Queue.
Please confirm if this is working as excepted that queue_flow_id for Message in a Queue. can be updated via CX-As-Code.


Multiple tags result in "unknown" even if correct tag exists

We want to use versioneer to version multiple python packages in a single git repo.
I have 2 setup.cfgs with:
tag_prefix=ExampleA-

and
tag_prefix=ExampleB-

In my case I have 2 directories with versioneer installed. And I tag a single commit twice:
git tag ExampleA-1.2.3
git tag ExampleB-2.3.4

I was assuming that doing an sdist upload would result in the ExampleA being versioned as 1.2.3 but it goes up as "unknown".
Turning on verbose I get
tag 'ExampleB-2.3.4' doesn't start with prefix 'ExampleA-'

Looking at the code it looks like this is from the use of "git describe" which takes the most recent commit. So I suppose this would need to be changed to look at all the tags, not just the most recent one.
Do you envisage supporting this use case? Or am I missing something?

Hm, that's not a use case I'd considered before, but I think we ought to support it. As long as each (setup.py/setup.cfg/versioneer.py) triple are next to each other, it should be possible to support multiple projects in a single repo.
The code isn't very good about tolerating multiple tags yet, but I'd like to fix that.
The first rule will be to ignore any tags which don't start with the configured tag_prefix. The second rule (which is trickier) is to somehow accept the "highest" matching tag.. the use case I'm thinking of is where a release-candidate gets promoted to Final without intervening changes, so the last commit has two tags like "v1.0rc3" and "v1.0", and we want it to assign a version of "1.0". It might be easiest to just pick the shortest tag.
The other pressure is that I'd like a good error message in case people misconfigure their tag_prefix, since I've done that a zillion times and then have to wonder why I'm getting "unknown" all the time. I guess it's probably sufficient to print that "tag doesn't start with prefix" message when verbose=True, and then maybe additionally turning on verbose-mode whenever you run setup.py version, and document that as the command to run to check that everything is working correctly.
I'd originally made it bail as soon as it saw a mis-prefixed tag to make the error case easy to spot, but maybe verbose=True is sufficient.

I'm having a related issue because I have tags with different prefixes than the tag_prefix that are often newer. For example, I have a release v1.1 and then some changes to add debian packaging and then a tag like debian/1.1.
The "highest tag" problem looks easy if you use distutils.version.StrictVersion to sort (or possibly LooseVersion). More info.

OK, I've got a proposed solution in #78. It uses git describe's --match flag to only select tags that match tag_prefix. It looks like git chooses the closest commit rather than sorting tags, so this might not provide the expected tag in all circumstances. But it's probably better than just grabbing the most recent even if it doesn't match the prefix. Let me know what you think.

Landed, thanks. My brief tests suggest that, when there are multiple tags on a single commit, git-describe returns the highest-sorting one (so zzz-1.0 beats aaa-1.0). When there is no tag on the current commit, a wrong-prefix tag on the previous commit, and a right-prefix tag on the grandparent commit, git-describe with --match correctly ignores the wrong-prefix tag and reports e.g. v1.0-2-gHASH instead of zzz1.0-1-gHASH. And I checked the Git release notes, --match has been around since git-1.5.5, so it's probably safe to use.
So I think this might fix the problem, although it might also hide the error situation that I was worried about (a typo in tag_prefix). Maybe we could add an extra call to find all tags and refs that point to the current version (matching and non-matching), and include them in a verbose string somewhere. We've got a request to include the current branch name too, for which we need to grab all the refs anyways. Something like git log --decorate --max-count=1 with some --pretty options to only list the refs.

Thanks @warner  and @DanLipsitt for taking the time to look at this.
Have tested with the case described above and confirmed this as fixed in current master.
There's another issue I have with tags, but as this is fixed I will raise that separately. Thanks!


after deleting small talk pre built category, will get crash/bug after importing it again

Issues
Deleted small talk pre made categories after delting all actions, keywords etc.
Then added small talk pre-made category again, and got blank page with this console error:
The above error occurred in task Fe
    created by takeLatest(app/CategoryPage/IMPORT_CATEGORY, Fe)
    created by Le
Tasks cancelled due to error:
takeLatest(app/CategoryPage/IMPORT_CATEGORY, Fe)
takeLatest(app/CategoryPage/LOAD_PREBUILT_CATEGORIES, ke

This is on master

@dakavisa when I did this I:

Imported the Small talk category
Deleted all of the sayings
Deleted all of the keywords
Tried to import small talk again

I also got a blank page.
}

So it's valid not to re-import until those are deleted, but we should handle the error rather than just erroring to a blank page.

Closed by 072bcf59d9b8e012d02a9675e97774508b868d14


GetSubsystem function not generated as part of the bindings

There's two GetSubsystem functions,
ULocalPlayer::GetSubsystem
and
UWorld::GetSubsystem
Both of which are in this header folder: /Engine/Source/Runtime/Engine/Classes/Engine/
It would be great if these functions were also part of the generated bindings!

Thanks for reporting it and playing with the plugin! It was a good catch indeed.
There are multiple ways to go about this. What Blueprint does is to build a custom node using USubsystemBlueprintLibrary. We have two options, either bind them manually which may make sense since Subsystems are a core system. This also means that the symbol would be the real C++ one (most autogen symbols arent). The other option is to bind those blueprint functions or other similar, and call them via the reflection system (like we do with newUObject, see uobjects.nim).
Either the case, the usage will share the cpp semantincs: X:getSubystemT will return the T subsystem. Notice X can be Engine, GameInstance, Editor or the one you listed


Specify row height

Is it possible to specify a row height in Asymmetric grid view? I need 'x' dp for small square grids (2 cols in a row) and 'y' dp for one rectangular view (one col in a row). Is this possible?

Never mind. Found a solution to do this.

How did you do?

@gayathri-nair03 What is the solution?

@gonzalomelov & @rayray  - I did not reference this library, instead copied all reqd files into my project, so that I could edit some lines of code, as required. U might also try extending the existing classes, for the same requirement. Anyway, here's how I did it.

Go to class AsymmetricGridViewAdapter
Method - getView()
Towards the end of this method, there is a line of code setting the view's layout params. Something like this:
view.setLayoutParams(new LinearLayout.LayoutParams(getRowWidth(currentItem.getItem()),
getRowHeight(currentItem.getItem())));
If you observe, here the row height is being set to one particular value - getRowHeight().
You can change this row height to a px value of your own, as I did -
//START - Gayatri - Added for specifying row heights
if (currentItem.getItem().getRowSpan() == 1) {
view.setLayoutParams(
new LinearLayout.LayoutParams(getRowWidth(currentItem.getItem()),
context.getResources()
.getDimensionPixelSize(
R.dimen.photo_grid_height)));
} else {
view.setLayoutParams(
new LinearLayout.LayoutParams(getRowWidth(currentItem.getItem()),
context.getResources()
.getDimensionPixelSize(
R.dimen.hor_photo_height)));
}
//Added block ends here

P.S - I see that this library has undergone a refactoring now, with support for Recycler View. I have worked with the previous version.
Hope this helps.


Fixes layout problems

@thomasbeta 🎨

Fixes overflow problems for the layout on Home, Profile and Log.
Organizes menu.
Adds theming support theming for Semantic UI.
Adds layout for unimplemented functionalities like "create a message from anywhere", "featured logs", "Log files tab", "Log overview tab".

Rad! I reckon we'll want to put the semantic stuff in .gitignore? Maybe we can add it as a bower dependency or something? I'm thinking that it's a p huge library to throw in our repo.

Better? We will just keep theme.config.import.less and custom.semantic.json because they are config files.

100000, I made a couple comments otherwise :shipit:

I will keep working on the placeholders, and fix the notification icon.

Alright 😏  MAKE IT YOURSELF NEXT TIME!


Fluid Displacement in Rendering

Crash Log
Placing fluids has a chance to crash the game, otherwise the fluids are rendered in incorrect positions.
All tested on Isometic Renders 0.2.7
Issue tested and found on:
Fabric API 0.42.5 (1.18)
Fabric API 0.43.1 (1.18)
Fabric API 0.44.0 (1.17)
My steps to reproduce:

Select an area with a fluid
/isorender it
Bug found

This only happened first time though, I've somehow not ran into it when trying to get it for a 2nd time.

Fixed in 0.2.11


Moved to containerized infrastrucutre and activated ccache

It seems that one of the required packages are not whitelisted. Will fix.

It seems that @badboy has some of my changes in unstable.
However I enabled ccache and used colored output for make.
I can make a new pull request with those against the unstable branch if needed.
What do you guys think?

Not a big fan of the colored make output.
Need to check whether ccache is worth it, but it's simple to add, so I might try it.
The rest is indeed already handled in the unstable branch.


Erroneous encoding of walls in 'board' array in documentation

There is an error in the documentation of wooden and rigid walls of 'board' array in environment.md file.
As seen from the json data and images, a wooden wall is encoded as value 1 and rigid wall as value 2. Currently, in the documentation, their values are reversed.
See an example below with game state and corresponding image:
"agents": "[{"agent_id": 0, "is_alive": true, "position": [1, 1], "ammo": 1, "blast_strength": 2, "can_kick": false}, {"agent_id": 1, "is_alive": true, "position": [9, 1], "ammo": 1, "blast_strength": 2, "can_kick": false}, {"agent_id": 2, "is_alive": true, "position": [9, 9], "ammo": 1, "blast_strength": 2, "can_kick": false}, {"agent_id": 3, "is_alive": true, "position": [1, 9], "ammo": 1, "blast_strength": 2, "can_kick": false}]",
"board": "[ [0, 0, 1, 2, 2, 0, 1, 1, 1, 2, 1], [0, 10, 0, 0, 2, 2, 2, 0, 0, 13, 1], [1, 0, 0, 1, 2, 0, 0, 1, 1, 0, 1], [2, 0, 1, 0, 2, 2, 1, 1, 2, 0, 0], [2, 2, 2, 2, 0, 1, 0, 2, 2, 2, 1], [0, 2, 0, 2, 1, 0, 1, 0, 2, 2, 2], [1, 2, 0, 1, 0, 1, 0, 1, 2, 2, 1], [1, 0, 1, 1, 2, 0, 1, 0, 1, 0, 0], [1, 0, 1, 2, 2, 2, 2, 1, 0, 0, 0], [2, 11, 0, 0, 2, 2, 2, 0, 0, 12, 0], [1, 1, 1, 0, 1, 2, 1, 0, 0, 0, 0]]",
"board_size": "11",
"bombs": "[]",
"flames": "[]",
"intended_actions": "[]",
"step_count": "0"

This was addressed in the update. Thanks!


Push Notifications

Most real world use cases are gonna require real time notifications. This is just something developers expect to be able to do.  Others have too: https://github.com/ipfs/notes/issues/370
A Cafe based approach which requires each dev to dedicate a machine of their own to notifications

Other considerations, by most important:

Users should still be able to dictate where their data is stored and also opt-in to push notifications.
Ideally, every app won't need it's own cafe for notifications. However, typically a server handling iOS and Android notifications only deals with one application. This may be more true w/ iOS, but in any case, switching applications is resource intensive.
Ideally, the push mechanism should simply send a silent notification which wakes up the target app, does any needed data queries, and then finally delivers the content as a local notification.

Given 3., I don't think avenue num. 2 above would work because one app is not able to foreground another app w/o some user action.

and 2. are somewhat contradictory. Here's a proposed solution that's a bit of a compromise between those two considerations:

As a start, provide an easy-to-use cafe docker image pre-configured for push notifications. This way, we could federate some cafes that others can use for there own apps (if they trust us), but they could easily spin up their own if they wanted to.
Introduce the notion of an application on a cafe, maybe something like textile cafes add --app, which then gives you the option of including iOS/FCM tokens for push notifs. A single cafe could probably handle push notifs for a dozen or so apps by keeping all those connections alive.
Introduce a distinction between storage+inboxing and notifications as cafe services. As a client, I can register a cafe for storage and another for push notifs, which I then continue to advertise to the network... "you can find my inbox here, for push notifs go here" etc. This way, a dev could continue to use Textile's federated storage cafes while providing their own for notifications, or vice versa

Libraries:

https://github.com/sideshow/apns2
https://github.com/appleboy/go-fcm

An alternative to 3.: Encrypt the notification textual content with the account key.This would mean we could in fact go the single-app route, which would be amazing. You'd have to be able to decrypt the message in the app delegate (not familiar with android here). Sound possible @asutula?


Implemented ReadPointedScalar

PR for #109

Coverage decreased (-2.006%) to 88.456% when pulling 0277e48d0d6a9a1845d763118b9ab97d74af44fe on SherifWaly:#109 into 4b45110529e024b47baff14ea491c2faf1cdda67 on decorators-squad:master.

@SherifWaly You did quite a lot of work here :D next time break it down in puzzles, it will also easier for me to review. Plus, in the tasks estimation, you should also calculate the time you spend doing code review changes :)

Coverage decreased (-2.006%) to 88.456% when pulling c9a119ee7fa97cf2c1e8662de4ce255202737b53 on SherifWaly:#109 into 4b45110529e024b47baff14ea491c2faf1cdda67 on decorators-squad:master.

@rultor merge

@rultor merge

@amihaiemil OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@amihaiemil Done! FYI, the full log is here (took me 1min)


fix: 🐛 Add new procedure to handle AddRelayerPayingKey auth

Description
As of now, when the beneficiary with zero amount tried accepting the subsidy auth for adding paying key, SDK threw an error, preventing the target to accept the subsidy. This PR adds a separate procedure to handle AddRelayerPayingKey type of authorization, where now the issuer pays for the acceptance/rejection of authorization by the target beneficiary.
Breaking Changes
NA
JIRA Link
NA
Checklist

[ ] Updated the Readme.md (if required) ?

@prashantasdeveloper I've merged because I couldn't find the test case we aren't covering. By reading the code, all of them looks to be covered. Let's fix this later.

:tada: This PR is included in version 20.1.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

@VictorVicente

Partially covered code

  hasRoles = hasRoles || !!identity?.isEqual(issuer);

The missing coverage is because this didn't have all branches covered. We need these cases:
hasRoles = true
hasRoles = false AND identity = undefined
hasRoles = false AND identity = issuer
hasRoles = false AND identity = NOT issuer

:tada: This PR is included in version 20.2.0-beta.5 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 21.0.0-alpha.5 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


add flutter module to exist ios project, xcode output 'multi_image_picker/multi_image_picker-Swift.h' file not found

Steps to Reproduce

create a flutter module
add a plugin write by swift to flutter module, such as add multi_image_picker: ^4.5.3 in pubspec.yaml
add flutter module to exist project follow this  https://github.com/flutter/flutter/wiki/Add-Flutter-to-existing-apps#ios

Logs
when I run my native ios project, xcode output:
Module map file '/Users/longdw/Library/Developer/Xcode/DerivedData/Runner-grijtckhfwcfwbatccjavbisjvsj/Build/Products/Debug-iphonesimulator/multi_image_picker/multi_image_picker.modulemap' not found

Failed to emit precompiled header '/Users/longdw/Library/Developer/Xcode/DerivedData/Runner-grijtckhfwcfwbatccjavbisjvsj/Build/Intermediates.noindex/PrecompiledHeaders/Runner-Bridging-Header-swift_1KTVSY7L9NXDI-clang_1CAHUYQRUY429.pch' for bridging header '/Users/longdw/Documents/iOSLab/flutter_keyboard/.ios/Runner/Runner-Bridging-Header.h'

/Users/longdw/flutter/.pub-cache/hosted/pub.flutter-io.cn/multi_image_picker-4.5.3/ios/Classes/MultiImagePickerPlugin.m:2:9: 'multi_image_picker/multi_image_picker-Swift.h' file not found

Flutter (Channel master, v1.9.1-pre.58, on Mac OS X 10.14.6 18G95, locale
    zh-Hans-CN)
    • Flutter version 1.9.1-pre.58 at /Users/longdw/flutter
    • Framework revision bc95f0881c (4 weeks ago), 2019-08-16 03:14:36 -0400
    • Engine revision bfa9be9978
    • Dart version 2.5.0 (build 2.5.0-dev.2.1 e35e8833ee)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/longdw/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling
      support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.3, Build version 10G8
    • CocoaPods version 1.6.1

I try to add use_frameworks! to .ios/Podfile, the .ios project can run successfully, but my native ios project still output those errors. I can't add use_frameworks! to my native ios project, because when I add it, it will cause other errors.
@Hixie @zoechi  @mravn-google @collinjackson @xster

@jmagman might know

Looks like https://github.com/flutter/flutter/issues/24099 and https://github.com/flutter/flutter/issues/25676, probably not related to add-to-app.

Actually, reopening.  Maybe there's a way to use_frameworks with just the plugins.

CocoaPods says no. https://github.com/CocoaPods/CocoaPods/issues/3839
I don't think there's anything add-to-app workflows can do if the plugins just don't work in Swift.
Closing again.  Please add any feedback you feel is necessary to https://github.com/flutter/flutter/issues/24099 and https://github.com/flutter/flutter/issues/25676.  Thanks!


Fix that link checker

Our little link checker is a teensy bit annoying. Working on lychee, which will have automatic retry and backoff functionality as well as Github token support. This is a tracking issue for replacing the current link checker with lychee.
Todo

[ ] Finish retry and backoff in lychee
[ ] Wrap lychee into a Github action
[ ] Publish action on Marketplace
[ ] Replace current link checker with this new action

Deactivated that link checker for now because it was getting ridiculous. 😆
We should move to lychee when time allows.

Adding a comment here to avoid this issue getting closed. I still would be very interested to use lychee.
If you want to help out, please add a comment here.

We're using lychee now. 🎉


Fixes #5183 : Crash caused by a web spider providing an invalid referrer uri with the request.

Summary
Provides an error handler to catch the InvalidUriException thrown when an invalid referrer URI is passed in the web request.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: robheffo79 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Forgot to push last commit to fix branch before creating pull request. Oops!


Update overview.md

This change closes "rewrite cosign quick start guide #93".
Summary
The current quick start guide is outdated and does not address the needs of most users.  This change attempts to correct these problems.
Release Note
NONE
Documentation
This changes should alter page https://docs.sigstore.dev/cosign/overview/#getting-started-quick-start

@ltagliaferri @haydentherapper @olivekl
New quickstart page.

I made a few more recommendations here. One bigger question is if we want to call this "Getting Started" or "Quick Start" instead of "Overview" at this point

I changed the name to  "Quick Start" let me kn ow if there are objections.

I made a few more recommendations here. One bigger question is if we want to call this "Getting Started" or "Quick Start" instead of "Overview" at this point

I'm having trouble getting this link to work.  Trying to fix it.


when clicking in a code sample box it scrolls all the way to the bottom of web page

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
in the current docs a div with class .bd-code-snippet that has a bottom scroll bar because the content is to long, scrolls to bottom of page when I want to select the code in the div.
Reduced test cases
https://getbootstrap.com/docs/5.3/getting-started/introduction/
check it out yourself
I have it on chrome and edge, I didnt test other browsers
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Chrome, Microsoft Edge
What version of Bootstrap are you using?
5.3

Could you please further elaborate the issue as well as provide the file address to work on?

Could you further elaborate the issue as well as provide the file address to work on?

This happens to me as well. Edge browser. Certain code fields, when click+dragged to highlight portions of the code, the page will  scroll to the bottom instantly.

Thanks for reporting this issue @yesitisme
It's already been reported in https://github.com/twbs/bootstrap/issues/39605
More details are present in this issue's discussion
Closing this one as duplicate


Accumulate all parsing errors and do not stop on first error

if a parse error is detected only the first error is shown.
desired behavior :
once a parsing error is found, continue from start of next line and report all errors

this is implementation issue as each specific implementaion handles its own logic regarding parsing.
Analogy built in parser (for the Analogy Custom XML files) will be updated to handle corrupted log files but specific implementations should add its own logic to handle parsing errors

not relevant for Analogy base code


Updates contributing.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>5
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 77.913%

Totals

Change from base Build<PHONE_NUMBER>8:
0.0%

Covered Lines:
4339

Relevant Lines:
5569

💛  - Coveralls

@brendt - WDYT? Assuming you like the label ideas, I will create those with the merge.


Can't save {} into JSONField in Django admin

I get a message that the field cannot be empty. In my models.py:
json_extras = JSONField(max_length=5000, load_kwargs={'object_pairs_hook': collections.OrderedDict})
When I attempt to save an empty JSON document ( {} ) at the admin I get the error message:
This field is required.
I'm on Python 2.7.3 + django 1.4.5 on debian wheezy.
Thank you for any time spent on this issue.

JSONField(null=True, blank=True) is this construct valid?


Update MoneyWell to 2.3.7

Thank you for the contribution. It was merged directly as 89f044535ef769336b7c99bc731e1d339b424087 to keep commit history cleaner. Your contribution is still credited to you.


Get the URL of ipa file upleaded to fabric

We upload our ipa files to Fabric via fastlane.
Fastlane version - 2.101.1
Does Fastlane have functional possibility to publish url of uploaded file  to Jenkins job log (screenshot in attachment)

fastlane gems

Gem
Version
Update-Status

fastlane
2.101.1
🚫 Update available

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.1.0

executable-hooks
1.5.0

bundler-unload
1.0.2

rubygems-bundler
1.4.5

bundler
1.17.3

slack-notifier
2.3.2

atomos
0.1.3

CFPropertyList
2.3.6

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.6

xcodeproj
1.8.0

rouge
2.0.7

xcpretty
0.2.8

terminal-notifier
1.8.0

unicode-display_width
1.4.0

terminal-table
1.8.0

plist
3.4.0

public_suffix
2.0.5

addressable
2.5.2

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.6.5

tty-cursor
0.6.0

tty-spinner
0.8.0

babosa
1.0.2

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

excon
0.62.0

faraday
0.15.2

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20180417

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.3

gh_inspector
1.1.3

mini_magick
4.5.1

multi_json
1.13.1

multi_xml
0.6.0

security
0.1.3

xcpretty-travis-formatter
1.0.0

dotenv
2.5.0

faraday_middleware
0.12.2

naturally
2.2.0

simctl
1.6.5

emoji_regex
0.1.1

json
2.1.0

rubyzip
1.2.2

httpclient
2.8.3

jwt
2.1.0

signet
0.9.1

os
1.0.0

memoist
0.16.0

googleauth
0.6.6

mime-types-data
3.2018.0812

mime-types
3.2.2

retriable
3.1.2

declarative-option
0.1.0

declarative
0.0.10

uber
0.1.0

representable
3.0.4

google-api-client
0.23.8

openssl
2.0.3

io-console
0.4.6

mini_portile2
2.3.0

nokogiri
1.8.5

@MaksimLapshyn87 It does not look like there is a way to currently get the published url from the crashlytics action. Other actions/services do allow this but it doesn't look like this was built into crashlytics. This is probably something that we won't add since crashlytics/fabric is getting shut down in mid 2019 (now ish) - https://fabric.io/blog/the-future-of-fabric
Sorry about that and happy fastlaning 😊


⚠ Bofrost.be has degraded performance

In e1869ad, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 953 ms

Resolved: Bofrost.be performance has improved in a9878eb.


epics in jira support a 'Dev Complete' stage which was unmapped to a github status

Pull Request Test Coverage Report for Build<PHONE_NUMBER>5
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 67.954%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
176

Relevant Lines:
259

💛  - Coveralls


Login-Fallback not working for me

Laravel Version: 5.4.16
Adldap2-Laravel Version: 3.0.4
PHP Version: 7.1.2

Description:
Heyho,
I've got an issue regarding the login-fallback.
Whatever I do, if I deactivate my network-connection, to simulate AD not beeing there, and I try to login I get an error stating:
BindException in Guard.php line 80:
Can't contact LDAP server
And the app crashes.
Could you please look into this - weither I've made a mistake or if this is realy a bug?
Greetings!
Steps To Reproduce:

setup an empty laravel-project
install adldap-laravel via composer
setup the artisan make:auth and reconfigure the project to use a username (see docs)
configure the adldap via .env-file:
ADLDAP_CONTROLLERS="controller1 controller2"
<EMAIL_ADDRESS>ADLDAP_ADMIN_PASSWORD=someawesomepassword
ADLDAP_BASEDN="dc=domain,dc=local"
ADLDAP_LOGIN_FALLBACK=true
login once and logout again
deactivate all network-interface or unplug the cable
try to login...

Hi @Husky110,
The login_fallback feature isn't supposed to work in this way. It's only supposed to fall back to the eloquent driver if AD authentication fails:
https://github.com/Adldap2/Adldap2-Laravel/blob/master/docs/auth/fallback.md#login-fallback

The login fallback option allows you to login as a local database user using the Eloquent authentication driver if active directory authentication fails.

Please read: Developing Locally Without An AD Connection.
If you require the possibility of an unavailable AD connection, you'll need to set auto_connect to false in your configuration, and then connect manually before Auth::attempt() is called.


fraud: Define Bad Encoding Fraud Poof struct. Provide functionality for befp creation/validation.

Fixes #529 and #530

pls add the kind label

pls add the kind label

pls do this: https://github.com/celestiaorg/quantum-gravity-bridge/issues/108

Codecov Report

Merging #545 (9c3f700) into main (1802ecf) will decrease coverage by 8.67%.
The diff coverage is 10.01%.

@@            Coverage Diff             @@
##             main     #545      +/-   ##
==========================================
- Coverage   62.80%   54.13%   -8.68%
==========================================
  Files          92       96       +4
  Lines        5009     5978     +969
==========================================
+ Hits         3146     3236      +90
- Misses       1531     2396     +865
- Partials      332      346      +14

Impacted Files
Coverage Δ

fraud/pb/proof.pb.go
0.61% <0.61%> (ø)

fraud/share.go
14.28% <14.28%> (ø)

fraud/bad_encoding.go
55.00% <55.00%> (ø)

fraud/nmt.go
76.92% <76.92%> (ø)

ipld/test_helpers.go
62.12% <100.00%> (+11.14%)
:arrow_up:

service/header/core_listener.go
51.92% <0.00%> (-5.77%)
:arrow_down:

das/daser.go
72.48% <0.00%> (-2.69%)
: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 1802ecf...9c3f700. Read the comment docs.

Merkle roots of bad eds and repaired eds will differ. It means, we cannot prove that Merkle Proof created from repaired eds(from corresponded Merkle Root) will be valid for the bad one.

should be reviewed after this PR will be merged


CB-16814 Outbound load balancer being selected for DNS registration

Adds a condition to the logic to select a load balancer for DNS registration to never select an
OUTBOUND load balancer. Also renames the method to clarify what the selection is for.
Tested with unit tests.

I'm closing this as the fix has been merged to 2.55 and 2.55 should be merged to master


Fix a route mismatch when trying to create lectures

Checklist

[x] I tested all changes and all related features with different users (student, tutor, instructor, admin) on the test server https://artemistest.ase.in.tum.de.

Motivation and Context
Fixes a regression from #2309 which causes a 400 Bad Request when trying to create a new lecture.
Without /view, the router tried to parse /lectures/new/ as /lectures/:id and new obviously doesn't fit into an :id parameter.
(This now matches what we had in the course-management by default: https://github.com/ls1intum/Artemis/blob/6ff4f589cd14caf305ce035c230e7284033ece97/src/main/webapp/app/course/manage/course-management.route.ts#L47-L70)
Description
To fix this, I moved the /lectures/new routing above /lectures/:id which causes it to be tested first. (The git diff looks weird, but it's a simple move.)
Steps for Testing

Click the "Create Lecture" button from the lectures overview
Click the "Create a new user" button from the user management
Click the "Create a new system notification" button from the system notification management
Click the "Create a new Exercise Hint" button from the exercise hints page

Checked all four cases on TS1. This is ready to review now.


Crystal::EventLoop namespace

The event loop implementations are scattered a bit everywhere, or buried inside src/crystal/system/os when they don't use the Crystal::System namespace at all.
This patch groups all the implementations under Crystal::EventLoop in src/crystal/event_loop. Of course the system parts are kept in (or moved to) Crystal::System.

Crystal::Evented::EventLoop  => Crystal::EventLoop::Polling (abstract)
Crystal::Epoll::EventLoop    => Crystal::EventLoop::Epoll
Crystal::Kqueue::EventLoop   => Crystal::EventLoop::Kqueue
Crystal::LibEvent::EventLoop => Crystal::EventLoop::LibEvent
Crystal::IOCP::EventLoop     => Crystal::EventLoop::IOCP
Crystal::IOCP                => Crystal::System::IOCP

A new evloop, for example io_uring, would naturally be implemented as Crystal::EventLoop::IoUring.
Builds on top of #15206. See commit 5cd85dab18461d80dff0bca6f6e19b98d9120bec.

I hope nobody has a branch with lots of changes for an event loop :sweat_smile:


added component to render for extreme weather conditions

I added a pop-up component to be rendered when an extreme weather condition is occurring in the city searched. However, I am having trouble conditionally rendering the component based on a weather condition. Could anyone help me with this? This is for issue #24

@indywip
Create a useState hook [showWarning,setShowWarning] = useState(false);
and inside the extremeWeather function you'll set the showWarning to true instead of returning Warning component.
setShowWarning(true)
Then in the App function return  if showWarning is true
{showWarning ? <Warning /> : <>}

Make sure to call extremeWeather function whenever the city is changed.
It's the same concept as showing a loading spinner using useState hooks you can google it.

@shehabadel ok thank you!


Clarify how authentication works

The spec says that authentication works using standard HTTP auth.
However some WebSocket clients don't support setting http request headers (e.g in browser). Do we need to support such clients and if yes how does auth work?

I looked a bit into this. The JS clients are unable to set HTTP headers for WebSockets. This may be important if we decide to support Otel JS SDK, which is still an open issue.
If we decide that it is necessary we will need to come up with an alternate auth approach, and in JS WebSocket world it is typically done via URL query params. I suggest that we postpone this for now and if later we decide we want it we can add it as a protocol extension.
For now lets keep the header-based auth.

The current state is the following:

For plain HTTP transport header-based auth works fine.
For Websocket transport header-based auth cannot be used for some clients (e.g. JS). In this case the implementations are free to use auth via URL query params.
I think this is sufficient for now. We can close the issue. Any additional ways to do auth can be added to the spec later as additive, non-breaking changes (e.g. if we decide to standardize URL query-based auth).


Migrate color system page to storybook

Source: http://tablekit.tablecheck.com/#/Color System

We'll do this in the brand website


Added Google Fonts

I have added a google font (poppins) to make it look more attractive and cleaner.

Cool, it looks awesome, Go ahead and make a PR!


Is the extension still working?

Hi,
I'm able to use the devtools inside the UI, but when trying the extension I always get:
Oops.. No React Hook Form here!

(even when I reload the page)

Your documentation says the DOM UI should not show up since there is the extension, but it's not hmmmm.
And when clicking the extension icon I get:

Whereas the devtools works in the UI... what does "debug mode" means? It's on setting <DevTool control={control} />, no?
Thank you,

Could you show me your code and the versions of react-hook-form and @hookform/devtools?

Having the same issue, running in storybook. In-app UI shows up as before but extension shows the exact same issue as this user

I'm having the same issue here! :(

Same issue


disable scala-xml's Scala.js support

test run: https://scala-ci.typesafe.com/view/scala-2.11.x/job/scala-2.11.x-integrate-community-build/504/consoleFull

[scala] ----------
[scala] Assembling:
[scala] Retrieving artifacts
[scala] Retrieved from project scala (commit: 6644017dad3f35669d9e2353335a54b7b5489fb6): 5 artifacts
[scala] Retrieved from project scala-xml (commit: 5f7601ab7ed2e9bf9601a3cde00336221028f88a): 4 artifacts
[scala] Retrieved from project scala-parser-combinators (commit: 2324d69d24e5540e220c91e46aa07a0962e3b330): 4 artifacts
[scala] --== End Building scala ==--

👍

merged forward onto 2.11.x-jdk8, 2.12.x, 2.13.x, builds triggered for all of them.


replaced path+f constructions with os.path.join

Several instances of path+f were used to create directory and
filename compositions on-the-fly.  These worked as long as
all directory variable values ended in / (or the appropriate
value for the given OS. Replacing these with os.path.join should
make them more robust across OSes and to the inclusion or exclusion
of the directory-ending /.
This command works for the current master:
python3 -m philter_ucsf   -i data/i2b2_notes/   -o output/i2b2_demo/   -f ./configs/philter_delta.json   --prod=True
This command only works after this merge request:
python3 -m philter_ucsf   -i data/i2b2_notes   -o output/i2b2_demo   -f ./configs/philter_delta.json   --prod=True

This is excellent and would have saved me a headache.


fix overlay isVisible checkbox remains checked

fixes: #61
Edit: Finally found a way to hook props to the children using react-view AST. Now it works for both on clicking backdrop and TouchableOpacity

Gotcha @tewarig, thanks! Added that back

This works, great.
But can we do this with a simple state hook -> https://react-view.netlify.app/?path=/story/useview--state-hook

But can we do this with a simple state hook -> https://react-view.netlify.app/?path=/story/useview--state-hook

No, we can't. This only works for the top level prop (like onBackdropPress). Here, TochableOpacity is inside of chidren. So, we must correctly target the onPress handler using the react-view AST.

Thanks


Move to Alchemy API?

For some reason sometime requests to Covalent API are slow to resolve, it might be more stable / fast if we move to Alchemy API https://docs.alchemy.com/alchemy

For NFTs we could use OpenSea API directly too


Added .tsx to use TypeScript icon for react.

In react/typescript projects using .tsx file extension, it does not use the TypeScript icon. A one line change fixes this. Love the atom package. It's one of my favs aside from this one little thing.

Hey thanks for doing this @lvstross! I don't use Atom any more so this package has kind of fallen to the side. Would you mind resolving the conflicts and I'll get it merged

Hey @donovanhiland , Thanks for getting back to this. Better late than never. 😄 I fixed the conflict. We should be good to go now.

Perfect, thanks!


Added drop down logic to pick and choose which method to use

Bumping the version to 0.41
Used new color palettes for a better look. This is still evolving.
Added drop down logic to pick and choose different methodologies
Removed results.html and moved everything to index.html to simplify things.

I started with these 3 options. Please let me know if you have any suggestions.


Can we open range date picker without long press

Hi Vikramkakkar,
Can I open range date picker without long press , only just passing the start and end date.
Is this possible , if yes so please help me how I achieve this task.

I'd like have this feature, too!
It is very easy to understand for user

im waitting..


Removing todo list, moved to issues.

Also, the link to cloudevents sdk for serverless gateway was not a sdk, removed that too.
Signed-off-by: Scott Nichols<EMAIL_ADDRESS>

Awesome. Thanks for taking care of that.


Blake3 - pls help me maximaze performance.

Hi,
I am kindly asking for help. I just wanted to speed up hashing process, but unfortunately I still don't know where could be the problem.
I've tried to use parallel approach (using rayon) as I found in docs, which definitely helped but it's still pretty slow comparing to Python implementation. I'm wondering If there is better way to hash file content or I'm missing something. My goal is to fully take advantage of SIMD and paralelizm.
Here is my code.
I know that this is probably inappropriate way of asking for help, but I'd really appreciate any kind of help. Thanks in advance.

pretty slow comparing to Python implementation

I'm happy to help, but it's import to start with complete repro steps, so that I know I'm seeing the same thing you're seeing. Could you tell me exactly what commands I should run, and also tell me what output and timing you're getting from each?

First of all thank you for your time.
I added myB3.py (code where I'm testing python implementation).
I wasn't able to upload 200MB on git, so here is external link for testing file.
(Changing Path directory in both codes may by needed)
After changing path dir. in code just type :
py myB3.py  -> for python code
cargo run -> for Rust (in rustTest directory)
OUTPUTS:
Python: (I used multithreading option set to True)
004fa4cbf244e9d14d76b409e7481e6095b976cb6e63bfa3d533ba1df465261c
time: 0.156s

RUST: (I used update_rayon method for paralelizm)
ee90c63b8027dbbfc98059fc91fa91b23224d33b70b1c6203d2050c0256d0a74
time: 3.61s
My repository

Output is different probably because I used different encoding( byte literal for PY, bytes for RUST impl.)

Perfect! Thank you.
One thing I'm noticing is that you're using cargo run for benchmarking. That's a problem because it defaults to debug mode and turns off compiler optimizations.  (Or something like cargo bench, which defaults to release mode.) I'm not sure this explains the massive difference you're seeing, but it might be a factor.
Also I think the reason you're getting different output in Python is that by default, Python reads files in "universal newlines" mode. Your file contains Windows-style \r\n newlines, and Python coverts those to Unix-style \n. If you read the file directly in binary mode ("rb" instead of "r"), you'll get the same answer Rust did.
Anyway yes, here are some numbers I'm seeing. I've run each one five times and reported the best of five:

python myB3.py

0.004027589995530434
004fa4cbf244e9d14d76b409e7481e6095b976cb6e63bfa3d533ba1df465261c

cargo run

result from update ee90c63b8027dbbfc98059fc91fa91b23224d33b70b1c6203d2050c0256d0a74
Elapsed: 8.61ms

cargo run --release

result from update ee90c63b8027dbbfc98059fc91fa91b23224d33b70b1c6203d2050c0256d0a74
Elapsed: 4.06ms

So overall, the timing I'm seeing from your Python code on my machine is consistent from what I'm seeing from your Rust code under --release. But even without --release, it's only about a factor of two slower. (That's becasue most of the heavy lifting in the blake3 crate is being done in assembly code, which doesn't depend on optimization settings.)
So that leaves us with a bit of a mystery. Why are things so much faster on my machine than yours? The Rust code is definitely extra slow for some reason, but even the Python code seems ~40x slower than what I'm seeing. Could you say more about what machine you're using? Do you get the same answers if you rerun these benchmarks several times in a row?
If we were talking about a multi-gigabyte file, another guess might be that this was a spinning disk. But for this ~100MB file, that's well below the threshold for getting cached in RAM, so disk shouldn't be an issue. Out of curiosity, are you using a spinning disk?
Very interesting! Curious to hear more.

Perfect! Thank you.
One thing I'm noticing is that you're using cargo run for benchmarking. That's a problem because it defaults to debug mode and turns off compiler optimizations.  (Or something like cargo bench, which defaults to release mode.) I'm not sure this explains the massive difference you're seeing, but it might be a factor.
Also I think the reason you're getting different output in Python is that by default, Python reads files in "universal newlines" mode. Your file contains Windows-style \r\n newlines, and Python coverts those to Unix-style \n. If you read the file directly in binary mode ("rb" instead of "r"), you'll get the same answer Rust did.
Anyway yes, here are some numbers I'm seeing. I've run each one five times and reported the best of five:

python myB3.py

0.004027589995530434
004fa4cbf244e9d14d76b409e7481e6095b976cb6e63bfa3d533ba1df465261c

cargo run

result from update ee90c63b8027dbbfc98059fc91fa91b23224d33b70b1c6203d2050c0256d0a74
Elapsed: 8.61ms

cargo run --release

result from update ee90c63b8027dbbfc98059fc91fa91b23224d33b70b1c6203d2050c0256d0a74
Elapsed: 4.06ms

So overall, the timing I'm seeing from your Python code on my machine is consistent from what I'm seeing from your Rust code under --release. But even without --release, it's only about a factor of two slower. (That's becasue most of the heavy lifting in the blake3 crate is being done in assembly code, which doesn't depend on optimization settings.)
So that leaves us with a bit of a mystery. Why are things so much faster on my machine than yours? The Rust code is definitely extra slow for some reason, but even the Python code seems ~40x slower than what I'm seeing. Could you say more about what machine you're using? Do you get the same answers if you rerun these benchmarks several times in a row?
If we were talking about a multi-gigabyte file, another guess might be that this was a spinning disk. But for this ~100MB file, that's well below the threshold for getting cached in RAM, so disk shouldn't be an issue. Out of curiosity, are you using a spinning disk?
Very interesting! Curious to hear more.

Thank you very much!
After running cargo run --release  and changing "r" to "rb" the results are more reasonable.
OUTPUTS (best out of 5):
Python
0.01607130000000001
ee90c63b8027dbbfc98059fc91fa91b23224d33b70b1c6203d2050c0256d0a74
Rust
result from update ee90c63b8027dbbfc98059fc91fa91b23224d33b70b1c6203d2050c0256d0a74                                                         050c0256d0a74
Elapsed: 21.35ms
The results are sufficient for my purposes, but mystery is still hidden. I really don't know why PY timing results are so much faster on your machine but here's my specs:
CPU: i5-8250U (4 x 1,60GHz)
RAM: 8GB DDR4 (2400MHZ)
SSD
WIN10
(hope it's sufficient)
Anyways thank you very much, I really appreciate it and sorry for interrupting you now I feel pretty lame. BTW PF 2022.

Thank you very much!
After running cargo run --release  and changing "r" to "rb" the results are more reasonable.
OUTPUTS (best out of 5):
Python
0.01607130000000001
ee90c63b8027dbbfc98059fc91fa91b23224d33b70b1c6203d2050c0256d0a74
Rust
result from update ee90c63b8027dbbfc98059fc91fa91b23224d33b70b1c6203d2050c0256d0a74                                                         050c0256d0a74
Elapsed: 21.35ms
The results are sufficient for my purposes, but mystery is still hidden. I really don't know why PY timing results are so much faster on your machine but here's my specs:
CPU: i5-8250U (4 x 1,60GHz)
RAM: 8GB DDR4 (2400MHZ)
SSD
WIN10
(hope it's sufficient)
Anyways thank you very much, I really appreciate it and sorry for interrupting you now I feel pretty lame. BTW PF 2022.

Looks like your Python time dropped by almost a factor of 10! That's interesting. Maybe it was just a matter of running it several times to warm up the caches on your machine? The remaining difference between our measurements is about a factor of 4, which isn't too wild. AVX-512 probably explains about half of that, and "who knows" explains the other half...

Anyways thank you very much, I really appreciate it and sorry for interrupting you now I feel pretty lame.

Not at all! Benchmarking is fun but very finnicky. Next time your friends or colleagues are running benchmarks, you can give them all this mysterious advice and feel like a wizard :)
If you're interested in a deep dive, here's a bunch more: https://easyperf.net/blog/2019/08/02/Perf-measurement-environment-on-Linux

Looks like your Python time dropped by almost a factor of 10! That's interesting. Maybe it was just a matter of running it several times to warm up the caches on your machine? The remaining difference between our measurements is about a factor of 4, which isn't too wild. AVX-512 probably explains about half of that, and "who knows" explains the other half...

Anyways thank you very much, I really appreciate it and sorry for interrupting you now I feel pretty lame.

Not at all! Benchmarking is fun but very finnicky. Next time your friends or colleagues are running benchmarks, you can give them all this mysterious advice and feel like a wizard :)
If you're interested in a deep dive, here's a bunch more: https://easyperf.net/blog/2019/08/02/Perf-measurement-environment-on-Linux

The other half is probably frequency, seeing that most AVX-512 capabable consumer chips max out at nearly 5 GHz, and that i5-8250U will do at best 3.4 GHz.

The other half is probably frequency, seeing that most AVX-512 capabable consumer chips max out at nearly 5 GHz, and that i5-8250U will do at best 3.4 GHz.

Thanks for all advices!

Thanks for all advices!


Respect XDG basedir spec for cache

What version of this package are you using?

<EMAIL_ADDRESS>
What problem do you want to solve?
Standard should respect user's preferences about where to write on disk.
The XDG basedir spec is designed specifically for this.
What do you think is the correct solution to this problem?
Standard should write its cache to ${XDG_CACHE_HOME:-$HOME/.cache}/standard so as to respect user's system configurations.
https://www.npmjs.com/package/xdg-basedir is a useful package for handling this logic.
Are you willing to submit a pull request to implement this change?
Yes, if I could receive some direction regarding where this directory path is determined. (I didn't find anything in a cursory search so I'm assuming this directory is actually determined via some dep.)

@jasonkarns thank you for your interest. Sounds good to me. I am assuming that spec is either cross-platform or you have some idea what to do cross platform?
https://github.com/standard/standard-engine/blob/f2f766e64a6f4b18c2d07e150ba0fbccc56bc0ca/index.js#L41-L42

Yep. The default values for XDG_CACHE_HOME use $HOME, so the spec can be respected cross-platform. Thanks for the code location. I'll open a PR to standard-engine.


prevent-scroll-on-touch does not seem to work

the option prevent-scroll-on-touch does not work... neither "auto" nor "force"

Works for me


OctopOS Prime Sticker Designs-1

You are expected to design sticker for OctopOS Prime with the expressions you want.

OctopOs Prime stickers:
Overall Look:

Stickers:


Mitie : Entities must span whole tokens , Tokenization is not happening properly.

In text 100$  , I can't tag 100 as price and $ as currency in mitie pipeline but it works fine with spacy pipeline, mitie gives error Entities must span whole tokens , means mitie tokenizer isn't able to tokenize the string into 100 and $ separately.
I am not able to use different tokenizer in mitie pipeline also, how can we resolve such problems or what can be the best way to tag such kind of text.

Hello, I already reportd this issue and finished an PR so that Mitie will report a warning instead of errors: https://github.com/RasaHQ/rasa_nlu/pull/531. However, even the updated version will skip your example anyway.
The main conern is still the tokenizer. I suggest to try spaCy tokenizer, that means the pipeline will look like: ["nlp_mitie", "nlp_spacy", "tokenizer_spacy", ...]. As I tested before, spaCy's tokenizer is better than that of Mitie (and of NLTK). I can also confirm that spaCy's tokenizer will correctly separate 100$ while Mitie's cannot. Similar tokenization problems include apostrophes and dots, such as in "I'd 2.5 'Tokens' in 2007."

What exactly are you trying to accomplish, I assume get the currency as well as value.
Perhaps rather than changing the tokenization the best approach is just to identify $100 as a currency value and post-process it to get the amount and currency type?
Another option would be to use the regex featurizer to extract currency identifiers into their own token http://rasa-nlu.readthedocs.io/en/latest/pipeline.html#intent-entity-featurizer-regex but this would also require using ner_crf instead of ner-mitie.


refactor: upgrade to inlang/core v0.7

:)

if you merge this, make a new version release. this is a breaking change. thus, version 2

@samuelstroschein thanks, added github actions CI CD to test this.

@felixhaeberle could you add the ci actions to the plugin-template too?

@samuelstroschein yep 👍 thought so too.


Hide end time when none is supplied

I am using the calendar to display logon events but they dont have end times on. The display by default shows an end time, which i understand is to give each item a height agasint the time, however is it possible to hide the end time as it looks odd in my use case to have a logon event with an end time

@craftzneko Thank you for submitting the feature request.
You are correct, that the end time is used to determine the height. We will take a look what can be done.

Thanks @mikhail-vl

Hi @mikhail-vl , i found this really old stack question, is this related and potentially helpful?
https://stackoverflow.com/questions/46684396/react-big-calendar-hide-start-time-end-time-from-time-slot

HI @mikhail-vl just wondering if you managed to find any solution to this? All the best

HI sorry to ask again i am desperate to get this functional. It works except all the users are really confused with the end time as it implies in my use case that a logon event had an end time. I need to hide this, if this cant be done here code is there any suggestion how i might achieve this on my side? @mikhail-vl / @asimonok

@craftzneko We discussed it with @asimonok and looking into it.

@mikhail-vl  @asimonok  Thank you both ❤


implement methods to update an Object's ID string

Currently, an Email has an ID field that never gets populated after a successful request and result. It should have a mechanism to be updated after a query request.
Additionally, the Mailbox struct has no concept of having its own ID reflect the ID on the server. The current uuid ID field should be changed to RequestID and a new string ID field should be added.

with refactor, an Email's ID is now populated via Email.Set, and a Mailbox's ID is populated via Mailbox.Query. Email.Query still needs to be implemented, but that is tracked via #16.


'list' object has no attribute 'encode' in now__handler__python.py

In Python sanic ,visit web site via nginx proxy , i found an exception happened in now_handler_python.py . Full message in detail as below ,
START RequestId: cbb87f5c-035c-4056-a2a1-7d6f185ef97d Version: $LATEST
'list' object has no attribute 'encode': AttributeError
Traceback (most recent call last):
File "/var/task/nowhandlerpython.py", line 234, in now_handler
'headers': [[k.lower().encode(), v.encode()] for k, v in headers.items()],
File "/var/task/nowhandlerpython.py", line 234, in <listcomp>
'headers': [[k.lower().encode(), v.encode()] for k, v in headers.items()],
AttributeError: 'list' object has no attribute 'encode'

And  part configuration in nginx as below ,
proxy_set_header  Accept-Encoding   "";
proxy_set_header  Accept-Language   "zh-CN";
proxy_set_header  Referer           "$simplebox , $http_referer";
proxy_set_header  X-Real-IP         $remote_addr;
proxy_set_header  User-Agent        $http_user_agent;

Through multiple  tries , i found proxy_set_header  Accept-Language   "zh-CN";  is key point.

Hello,
Please provide a minimal reproducible example and reach out to<EMAIL_ADDRESS>so we can assist you better.
I am closing this issue since we don't have actionable items in this thread.


Allow anyone to create /app/releases/COOKIE

Context
Running
docker run -p 8080:8080 -p 8081:8081 --pull always -u $(id -u):$(id -g) -v $(pwd):/data livebook/livebook

as specified in the README gave me this error:
/app/bin/livebook: 5: /app/releases/0.6.1/env.sh: cannot create /app/releases/COOKIE: Permission denied

This is triggered by https://github.com/livebook-dev/livebook/blob/main/rel/server/env.sh.eex#L5
Changes

Allow all users to create files in /app/releases (but not subdirectories)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hey @roelandvanbatenburg! I believe this was addressed in #1193, can you try livebook/liveobok:edge?

You're right, I though that was already in the release, my bad!

Great, no worries :)


Bug - 419 error in manager portal

Description
Sometimes, after submitting the login form on the manager portal, a 419 error is returned.
Steps to Reproduce
Steps to reproduce the behavior.

Go to the manager portal (as Lauren)
Submit login form
419 error

This happens several times in a row.

Screen shot of error with exception occurs when restarting a stale session.

Illuminate\Session\TokenMismatchException
            });
        }

        throw new TokenMismatchException;
    }

    /**

The idea came up in StandUp today that re-opening a form in a new window might also lead to this bug.

Appears to be resolved by #945


[resotocore][feat] Add separate sort and limit commands

Description

To-Dos

[x] Add test coverage for new or updated functionality
[x] Lint and test with tox
[ ] Document new or updated functionality (someengineering/resoto.com#XXXX)

Issues Fixed

Fixes #646

Code of Conduct
By submitting this pull request, I agree to follow the code of conduct.

Codecov Report

Merging #862 (29cb172) into main (69749ef) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #862      +/-   ##
==========================================
+ Coverage   89.75%   89.77%   +0.02%
==========================================
  Files          69       69
  Lines       10034    10056      +22
==========================================
+ Hits         9006     9028      +22
  Misses       1028     1028

Flag
Coverage Δ

resotocore
89.77% <100.00%> (+0.02%)
:arrow_up:

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

Impacted Files
Coverage Δ

resotocore/resotocore/cli/cli.py
93.20% <100.00%> (+0.13%)
:arrow_up:

resotocore/resotocore/cli/command.py
87.74% <100.00%> (+0.14%)
:arrow_up:

resotocore/resotocore/query/model.py
94.45% <100.00%> (ø)

resotocore/resotocore/query/query_parser.py
98.52% <100.00%> (ø)

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 3eab4e2...29cb172. Read the comment docs.


dll update - 21H1 19043.1165

21H1 19043.1165
rdpconfig shows it is using termserv.dll 19041.1081
all 3 green in rdpconfig
on concurrent login, currently logged in account got locked out
rdpcheck works fine with concurrent login working
on using another computer, taskmgr shows 2 users logged in but host machine user got screenlocked
may be 19043.1165 single user offset got changed!
please help

I'm seeing the same thing:

21H1 19043.1165 32bit
rdpconfig shows it is using termserv.dll 19041.1081
need help

@NLYinMaung @mattgphoto @Wolfoff-Giro
I installed w10 pro 21H1 10.0.19043.1165
Took rdpwrap.ini for version 10.0.19041.1081
https://github.com/stascorp/rdpwrap/issues/1474#issuecomment-882274805
It works
You can also try this:
https://github.com/stascorp/rdpwrap/issues/1483#issuecomment-890400120

@NLYinMaung @mattgphoto @Wolfoff-Giro
I installed w10 pro 21H1 10.0.19043.1165
Took rdpwrap.ini for version 10.0.19041.1081
#1474 (comment)
It works
You can also try this:
#1483 (comment)

My rdpwrap.ini also contains 19041.1081 and it is working and all green, rdpcheck also works fine.
What I am saying is that, concurrent login is NOT.

@NLYinMaung @mattgphoto @Wolfoff-Giro
I installed w10 pro 21H1 10.0.19043.1165
Took rdpwrap.ini for version 10.0.19041.1081
#1474 (comment)
It works
You can also try this:
#1483 (comment)

My rdpwrap.ini also contains 19041.1081 and it is working and all green, rdpcheck also works fine.
What I am saying is that, concurrent login is NOT.

1.6.2?

@NLYinMaung @mattgphoto @Wolfoff-Giro
I installed w10 pro 21H1 10.0.19043.1165
Took rdpwrap.ini for version 10.0.19041.1081
#1474 (comment)
It works
You can also try this:
#1483 (comment)

My rdpwrap.ini also contains 19041.1081 and it is working and all green, rdpcheck also works fine.
What I am saying is that, concurrent login is NOT.

1.6.2?

install.bat is 1.6.2 yes.
rdpconfig shows that Wrapper State : Installed with ver. <IP_ADDRESS>
Service state : Running with ver. 10.0.19041.1081
Listener state: Listening with [fully supported]


some unity package fails to decode

for some reason I have managed to find a UnityPackage in which all files have \n00 at the end of them, which means that the trim function doesn't trim it since there is zeros past the new line.
I made a small change to the program to print out errors like this, and this is what it said:
2024-01-17T00:46:54.457Z ERROR [rust_unityextractor] Failed to extract file "Assets/MagicaCloth2/Scripts/Core/Reduction/StepReductionBase.cs\n00", reaason: Os { code: 123, kind: InvalidFilename, message: "The filename, directory name, or volume label syntax is incorrect." }

There's now much more edge-case handling e87a7d49e467a88644943327150674b00e7e95e3 should fix the issue.  I also added error reporting for failed writes.
Thanks for the report!


how to drag to show the panel when the panel was moved to right

Does this issue occur when all extensions are disabled?: Yes/No

Steps to Reproduce:

we can drag the bottom bar upper to show the panel,
how to drag when panel was moved to right or left

unfortunately this is not possible due to the ambiguity with the window resizer. when the window is fullscreen, we allow it, but not otherwise. using keyboard shortcuts are the recommended way to quickly show the panel.


Safari Technology Preview 143

We just released Safari Technology Preview 143:
https://webkit.org/blog/12563/release-notes-for-safari-technology-preview-143/

Cool stuff in there! 🎉
Besides

https://github.com/Fyrd/caniuse/pull/6230
https://github.com/Fyrd/caniuse/issues/6182#issuecomment-1092203296
https://github.com/Fyrd/caniuse/issues/6054#issuecomment-1092534818

anything left to add for caniuse? :)
If not, I would think this issue can be closed as a success? :)

Closing this ticket, any other specific changes/features can be added separately.


Remove unused lazy_static from rayon-core

Thanks! It looks like the last use was removed in commit bb599702cbfdbd03a29962fc1f5cf0d3f3cec42a of #746. We'll still have an indirect dependency through crossbeam, but it's good to clean up our own part.

bors r+


Add support for n number of maps in config

I've done this successfully with adding five tabs to the map. It is really, really nice to configure the tabs using the config.json and about.json files. Thanks!


Seeking in MediaPlayerElement

I assign a home-made stream to MediaPlayerElement.Source. To be more exact, the stream ID is assigned to a MediaBinder, which is wrapped into a MediaSource, which is wrapped into a MediaPlaybackItem, and a bunch of those items are added to a MediaPlaybackList, which is finally assigned to MediaPlayerElement.Source.
When I start the playback, I can trace that the player seeks close to the end of the file, so I assume it reads the MP4 look-up table - and knows it can seek in the stream. But when I click on the time bar in order to seek forward during the playback, the player starts reading the data sequentially towards the destination, instead of seeking directly to the destination offset - which it should know from the look-up table. This takes really long time (seeking 1 hour video file in ~256KB blocks takes a noticeable amount of seconds).
I assume I am missing something in the setup. Could you tell me, under which conditions the player reads sequentially instead of seeking, or what I can do to make it use seek?

@aklemets - any idea?

I wasn't sure where to write best, so there is a duplicate in WinUI repository - https://github.com/microsoft/microsoft-ui-xaml/issues/2964

@aklemets - Could you please have a look?

In general, seeking in MP4 files should work fine. It should be easy to demonstrate by just opening an MP4 file in Movies & TV.
If you cannot find a suitable MP4 file for testing, you could go to peach.blender.org and download a large size version of the Big Buck Bunny MP4 file.
You said you have a problem with a "home-made stream". Have you tried looking for some MP4 file validation tool that can check the file for correctness? Or compare the layout of your file using any other "normal" MP4 file, such as the Big Buck Bunny MP4 file? It might be that your home-made file is missing some information needed for random access seeking.

Is there a tool to validate CENC-encoded MP4 file? I know I can decrypt it, but that might change the structure...

I tried to narrow the problem down, and got two issues.

If the video file is in some way corrupt (in my case, the video track was much shorter than the audio), the player exits abruptly without throwing any exception I could catch - both Application.UnhandledException and AppDomain.CurrentDomain.UnhandledException handlers were skipped.

I created a simple player for trying out the playback, and fed a standard MP4 file into it. Opening as file is okay, opening as a stream is not. I'm probably doing something wrong there.

Opening as file
Media.Source = new MediaPlaybackItem(MediaSource.CreateFromStorageFile(file));

Opening as a stream
var inp = new HomeMadeStream(file, this);
await inp.Init();
Media.Source = new MediaPlaybackItem(MediaSource.CreateFromStream(inp, "video/mp4"));

In both cases, Media is MediaPlayerElement.

Here is the trivial implementation of the stream. I can send the whole source code, if you tell me where to.
using System;
using System.Threading.Tasks;
using Windows.Foundation;
using Windows.Storage;
using Windows.Storage.Streams;

namespace CencPlayer
{
    public sealed class HomeMadeStream : IRandomAccessStream
    {
        #region Fields

        private readonly StorageFile mFile;

        private readonly IUiLogger mLogger;

        private ulong mPosition;

        private ulong mLength;

        private IRandomAccessStreamWithContentType mStream;

        #endregion

        #region Properties

        bool IRandomAccessStream.CanRead => true;

        bool IRandomAccessStream.CanWrite => false;

        ulong IRandomAccessStream.Position => mPosition;

        ulong IRandomAccessStream.Size { get => mLength; set => throw new NotImplementedException(); }

        #endregion

        #region Init and clean-up

        public HomeMadeStream(StorageFile file, IUiLogger logger)
        {
            mFile = file;
            mLogger = logger;
            mLogger.Log($"Opening {file.DisplayName}.");
        }

        private HomeMadeStream(StorageFile file, ulong position, ulong length, IUiLogger logger)
        {
            mFile = file;
            mPosition = position;
            mLength = length;
            mLogger = logger;
        }

        /// <summary>
        /// Needs to be called right after the constructor.
        /// Separated method due to async.
        /// </summary>
        public async Task Init()
        {
            var prop = await mFile.GetBasicPropertiesAsync();
            mLength = prop.Size;
            mLogger.Log($"Length {mLength}.");
        }

        void IDisposable.Dispose()
        {
            mStream.Dispose();
        }

        #endregion

        #region API

        IInputStream IRandomAccessStream.GetInputStreamAt(ulong position)
        {
            mLogger.Log($"Clone stream from position {position}.");
            return new HomeMadeStream(mFile, position, mLength, mLogger);
        }

        IOutputStream IRandomAccessStream.GetOutputStreamAt(ulong position)
        {
            throw new NotImplementedException();
        }

        void IRandomAccessStream.Seek(ulong position)
        {
            if (mPosition == position)
                return;

            mLogger.Log($"Seek from {mPosition} to {position}.");
            mPosition = position;
        }

        IRandomAccessStream IRandomAccessStream.CloneStream()
        {
            mLogger.Log("Clone stream.");
            return new HomeMadeStream(mFile, mPosition, mLength, mLogger);
        }

        IAsyncOperationWithProgress<IBuffer, uint> IInputStream.ReadAsync(IBuffer buffer, uint count, InputStreamOptions options)
        {
            return new AsyncOperationWithProgress<IBuffer>(async () =>
            {
                if (mStream is null)
                {
                    mStream = await mFile.OpenReadAsync();
                }

                mStream.Seek(mPosition);
                mPosition += count;
                return await mStream.ReadAsync(buffer, count, options);
            });
        }

        IAsyncOperationWithProgress<uint, uint> IOutputStream.WriteAsync(IBuffer buffer)
        {
            throw new NotImplementedException();
        }

        IAsyncOperation<bool> IOutputStream.FlushAsync()
        {
            throw new NotImplementedException();
        }

        #endregion
    }
}

This worked for me. But I could not compile your program as-is, because you have a custom implementation of IAsyncOperationWithProgress, and I could not find a suitable replacement for it. But three was no need for this class by moving the code around a little bit:
Instead of doing "await mFile.OpenReadAsync()" inside the implementation of IInputStream.ReadAsync, I moved that call to the HomeMadeStream.Init() function. That allowed IInputStream.ReadAsync() to simply return the result from mStream.ReadAsync, without needing to wrap that result in a custom class.
I also modified your second constructor, the one that takes four input parameters, to take the stream as an input parameter, and invoke CloneStream() so that it gets it own private copy of the stream. This ensures that HomeMadeStream.CloneStream() works properly.
With those changes, I used your class to open a file. I used the implementation of IRandomAccessStreamWithContentType to set it as the source of a MediaPlayer, like this:
mediaPlayerElement.MediaPlayer.Source = MediaSource.CreateFromStream(stream, "video/mp4");
I tried playing some very large files and was able to seek very quickly to a position near the end of the file. I also set a breakpoint in the implementation of IRandomAccessStream.Seek in your class and it got hit in the debugger.

Thanks for rearranging. I wasn't happy about the need of a custom IAsyncOperationWithProgress implementation, and although it's not too complicated, better without :-)  I'll try that out.
On a related note - why does Microsoft not provide a standard wrapper for this interface?.. Or does it, and I just didn't find it?

@aklemets Have you tried a corrupt video file? It seems that some exceptions are not caught properly in the MP4 decoder. And do you by any chance know which MP4 profiles are supported by the protected path player?

Getting back to this issue, here is a playback log, where the player just hangs when playing a video file called "WPA`". I can reproduce it in my development environment (sometimes), but I don't know what to check for further.
Opening file WPA1.
Seek from 16 to 0.
Seek from 1024 to 0.
Seek from 262144 to 786432.
Seek from 1048576 to 773849088.
Seek from 774022194 to 773849088.
Seek from 774022194 to 786432.
Seek from 1048576 to 0.
Changing WPA1 state to "Buffering".
Changing WPA1 state to "Paused".
Changing WPA1 state to "Paused".
Changing WPA1 state to "Playing".
Seek from 129499136 to 128974848.
Seek from 163577856 to 163053568.
Seek from 243793920 to 243007488.
Seek from 248774656 to 247988224.
Seek from 276561920 to 275513344.
Seek from 341311488 to 340262912.
Seek from 401080320 to 399769600.
Seek from 426508288 to 425197568.
Seek from 481296384 to 479723520.
Seek from 533725184 to 531890176.
Seek from 538705920 to 534249472.
Changing WPA1 state to "Buffering".

And then it froze.


Broken link

The link on https://github.com/rod-trent/Copilot-for-Security/blob/main/Prompts/Plugins/All-in-one.md to the copilot for security all in one plugin does not work

Thanks for the heads-up. Resolved.


dart2js: Reduce deferred part boilerplate

Minified deferred parts currently have 1080 bytes of boilerplate.
Much of this could be be reduced.

[ ] There appears to be an unused holders variable that is used only in the main part. Its value is redundant with another list, so perhaps the variable should be used.
[x] Many parts have empty actions for one of the stages (e.g. installTearOffs). This could be removed if empty.
[ ] Many parts install in only one to two holders. The work for the other holders could be eliminated.

The new-holders boilerplate is more compact.


Support for online integration tests in the liberty plugin archetype

This change adds support to execute integration tests in online/offline
mode by downloading a wlp or specifying an existing installation for the archetype project.

Change merged. Thank you


[Build Error Android] Error: Too few positional arguments: 4 required, 3 given.

Hi, I migrated the flutter to the master channel: 3.6.0-4.0.pre.32 and the Android build failing :( with error:
../../../AppData/Local/Pub/Cache/hosted/pub.dev/extended_image-7.0.0-dev.1/lib/src/gesture/page_view/widgets/scroll_activity.dart:56:12: Error: Too few positional arguments: 4 required, 3 given.
  ) : super(
           ^
Target kernel_snapshot failed: Exception

FAILURE: Build failed with an exception.

* Where:
Script 'C:\tools\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1151

* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command 'C:\tools\flutter\bin\flutter.bat'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 14s
Running Gradle task 'assembleDebug'...                             15.2s
Exception: Gradle task assembleDebug failed with exit code 1

Please help me to fix this issue, thanks in advance!

we only force on flutter stable branch, you can fork this package and fix error at your side. and may be you should use 6.3.2 at your side

7.0.0.dev is not used now


bundler: fix hash

Travis check. I probably should set up Travis for my fork to stop bothering you all with PRs like this.

Travis fails on Gitlab; works for me, so merging.


Require GlobalState in underlying

Motivation

This is the annoying-to-maintain, quickly-goes-stale parts of #3822.
It has no behavior changes—it just threads through an entirely unused (for now)
GlobalState parameter.
I would like to land this, because it will make it easier to start iterating with small fixes to
shapes and tuples.
Test plan

Existing tests.

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_IcFUvPdMXLR7oH
→ https://go/builds/bui_IcFULHMjmM6wyF


Replication error: unknown_error:Database encountered an unknown error

Abstract
The synchronisation hung up immediately after connecting
Expected behaviour

Synchronisation ends with the message Replication completed
Everything synchronised

Actually happened

Replication error: unknown_error:Database encountered an unknown error" (captured in the attached log, around LL.10-LL.12)
No files synchronised

Reproducing procedure
IDK what happened, the issue keeps happening after first occurred.

Chunk save failed.
Error while loading Self-hosted LiveSync
QuotaExceededError:Failed to PutOrAdd in database because not enough space for domain
</details>

### Network log
On iOS devices

### Other
the size of xx.png is 300MB, it's a big image file, and I sometimes can get OOM error while opening Obsidian.

Thank you for opening this issue! Your information was very helpful for us.
Following them, this issue seems to have occurred for the same reason as #254.
I would appreciate it if we could use the existing issue to track the latest.
Of course, please feel free to open this issue again if you have anything you felt something different behaviour in your situation.


Want a more strict typescript Convert function

We're currently using a pipeline to transform our backend wiremodels (written using Jackson) into json schema and from json schema to typescript using quicktype. We need to make all fields optional due to backend constraints BUT our frontend still wants to be protected from breaking changes.
An example use case would be a Coordinate type.
type Coordinate = { x?: number, y?: number }

I want to know if the API is sending additional fields and fail if it does. For instance, if the API adds a z field I want my Convert call to fail. But right now the Convert function just lets things through. Can we add a flag to prevent that from happening?
--no-additional-payload or something like that?
Here's a link to what I'm talking about:
https://stackblitz.com/edit/typescript-ksa1st?file=index.ts

This is supported if you use the prefer-types option.


Support Gradle Installation via Windows Package Manager (i.e. winget)

Expected Behavior
Please create and submit (via a PR) the necessary bundles to support Gradle installation via the Windows Package Manger (i.e. winget). The Windows Package Manager came out of beta in May 2021, and is now included with Windows 10 (upon updating).
Current Behavior
Installation via Windows Package Manger is not currently available/supported.
Context
For the same reasons you support Linux and mac package mangers such as sdkman and homebrew, you should support winget. It would make instillation and management of Gradle on a Windows system much simpler. Standing up new systems, and onboarding new engineers, is much simpler when all necessary applications can be installed via a package manager, especially one that supports importing via a configuration file listing needed applications. winget supports such importing. Package managers also make updating significantly simpler.

The support is pretty simple, it is usually 3 YAML files per version.
Problems in my opinion are that

gradle is installed by extracting a ZIP archive somewhere, but winget does not support that yet. Gradle would need a installer for that
gradle depends on java, but there is no "central location" for Java, and I am not sure if you can "require" and thus transitively install another package (if there exists one for Java)

gradle is recently published on scoop ( git repo ). Refer : winget docs


mean-stack-relation setup error

Just setting up mean-stack-relational, It looks as though have a db connection error I can't seem to get figured out, posted below. I have mysql running and I have tested the connection.
Any ideas?
Error: Cannot enqueue Query after fatal error. at Protocol._validateEnqueue (/Users/embrasse-moi/Documents/CRAIG_CODE/craiglorious/mean-stack-relational/node_modules/express-mysql-session/node_modules/mysql-connection-manager/node_modules/mysql/lib/protocol/Protocol.js:193:16) at Protocol._enqueue (/Users/embrasse-moi/Documents/CRAIG_CODE/craiglorious/mean-stack-relational/node_modules/express-mysql-session/node_modules/mysql-connection-manager/node_modules/mysql/lib/protocol/Protocol.js:129:13) at Connection.query (/Users/embrasse-moi/Documents/CRAIG_CODE/craiglorious/mean-stack-relational/node_modules/express-mysql-session/node_modules/mysql-connection-manager/node_modules/mysql/lib/Connection.js:185:25) at SessionStore.get (/Users/embrasse-moi/Documents/CRAIG_CODE/craiglorious/mean-stack-relational/node_modules/express-mysql-session/lib/index.js:151:18) at session (/Users/embrasse-moi/Documents/CRAIG_CODE/craiglorious/mean-stack-relational/node_modules/express-session/index.js:392:11) at Layer.handle [as handle_request] (/Users/embrasse-moi/Documents/CRAIG_CODE/craiglorious/mean-stack-relational/node_modules/express/lib/router/layer.js:82:5) at trim_prefix (/Users/embrasse-moi/Documents/CRAIG_CODE/craiglorious/mean-stack-relational/node_modules/express/lib/router/index.js:302:13) at /Users/embrasse-moi/Documents/CRAIG_CODE/craiglorious/mean-stack-relational/node_modules/express/lib/router/index.js:270:7 at Function.proto.process_params (/Users/embrasse-moi/Documents/CRAIG_CODE/craiglorious/mean-stack-relational/node_modules/express/lib/router/index.js:321:12) at next (/Users/embrasse-moi/Documents/CRAIG_CODE/craiglorious/mean-stack-relational/node_modules/express/lib/router/index.js:261:10) at methodOverride (/Users/embrasse-moi/Documents/CRAIG_CODE/craiglorious/mean-stack-relational/node_modules/method-override/index.js:63:14) at Layer.handle [as handle_request] (/Users/embrasse-moi/Documents/CRAIG_CODE/craiglorious/mean-stack-relational/node_modules/express/lib/router/layer.js:82:5) at trim_prefix (/Users/embrasse-moi/Documents/CRAIG_CODE/craiglorious/mean-stack-relational/node_modules/express/lib/router/index.js:302:13) at /Users/embrasse-moi/Documents/CRAIG_CODE/craiglorious/mean-stack-relational/node_modules/express/lib/router/index.js:270:7 at Function.proto.process_params (/Users/embrasse-moi/Documents/CRAIG_CODE/craiglorious/mean-stack-relational/node_modules/express/lib/router/index.js:321:12) at next (/Users/embrasse-moi/Documents/CRAIG_CODE/craiglorious/mean-stack-relational/node_modules/express/lib/router/index.js:261:10)

So my first step would be to check the code that is actually yours.
index.js:261:10

Thanks for the reply! I took a look at router/index.js, That file is unedited from the git clone. So far I have edited development.js, and ran grunt....I guess I was expecting to get a hello world page at this point?

@embrasse-moi please check your node version. The node mysql module has an issue with node 4.2.0. Perhaps you are using that. I'll take a look when I can. Meanwhile you can change your node versions or try to update mysql and sequelize dependencies.

I have 4.1.1

The project is running perfectly fine. I checked on node 4.1.1 and 4.1.2.


deme.size_at(t) returns value when t == start_time

@molpopgen pointed this out to me last night: We consider deme existence intervals to be half-open, so that start_time=100 and end_time=0 means existence over (100, 0]. However, we still get a value returned with deme.size_at(100).
Example:
import demes
b = demes.Builder()
b.add_deme(name="anc", epochs=[dict(end_time=100, start_size=100)])
b.add_deme(name="dec", epochs=[dict(end_time=0, start_size=200)], ancestors=["anc"])
g = b.resolve()

and g["dec"].size_at(100) returns 200 instead of ValueError: time 100 is outside deme dec's existence interval: (100, 0], as I'd expect.

It's very possible this is the behavior that we want, but if we say the deme's existence interval is (100, 0], then 100 should be outside of that interval.

Last comment - I think the start_time >= time check instead of start_time > time is so that deme.size_at(np.inf) is valid, and that makes sense. Just want to double check that this is the behavior we want.

I do rhink that this is a bug.  The special treatment of Inf is fine, but finite real values should be "not in the interval" when equal to the start time.

I see your point, but I do think we also want the current behaviour so that deme.size_at(deme.start_time) always produces a value. This is completely analogous to looking up deme.epochs[0].start_size, which is also technically undefined because it corresponds to the deme's start_time. This makes it reasonable to things like times = np.linspace(deme.start_time, deme.end_time, 100); sizes = list(map(deme.size_at, times)).
Is this causing a problem somewhere?

I don't know if it's causing a problem, but maybe some confusion.
A proposal to get around this might be to not raise an error if the requested time is outside of the interval's existence time, but rather return 0 if outside of that interval? Then asking for deme.size_at(deme.start_time) returns 0, and deme.size_at(deme.start_time - eps) returns a nonzero number. So in the example about, you'd get
>>> g["dec"].size_at(101)
0
>>> g["dec"].size_at(99)
200
>>> g["dec"].size_at(99.999)
200
>>> g["dec"].size_at(100)
0

Thoughts?

It caused me a problem trying to convert between two different software, which is how I discovered it.
The current behavior is not consistent with our spec, which states half open intervals.  I read the spec as saying the size is 0 at start_size.  What the function returns is the initial size of a deme whose epoch starts at time x, which is different.  Infinity is a special case, needing special handling.
Related: I also think that it is a bug to raise an error when x is not a time when a deme exists.  I'd prefer None or 0 here.  This is not exceptional in the same way as querying properties of deme IDs that don't exist.  This means I have to do special error handling when cross validating different software.

Ok, then lets fix this. Do we need to maintain backwards compatiblity here? Returning 0 instead of raising an exception should be ok I guess, as its unlikely anyone would rely on that behaviour. The function came from demesdraw, so I'll have to check if it relies on the behaviour for deme.size_at(deme.start_time) (I don't think it does). In any event, that would be a potential problem for consuming software, so maybe we need to have a boolean strict param for this?

If we define the interval as half-open then we should be strict about it, I think.
I think it's OK to make the breaking change here.


Set the type of batch jobs to FNAPI_BATCH when beam_fn_api experiment…

… is specified.
Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[ ] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[ ] Make sure tests pass via mvn clean verify.
[ ] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

Changes Unknown when pulling 00ea61bf13f9908a17a808b32638e5ee9baf7918 on tvalentyn:use_beam_fn_api_experiment_to_run_batch_fnapi_jobs into ** on apache:master**.

R: @vikkyrk
CC: @aaltay

CC: @robertwb

LGTM

Closed in favor of https://github.com/apache/beam/pull/3522