HTTP LB inconsistency with 'more_options'

Creation of custom_error pages works fine on it's own (this results in the expected config):
  more_option {
    custom_errors = {
      408 = format("string:///%s", filebase64("${path.module}/error-page.html"))
      503 = format("string:///%s", filebase64("${path.module}/error-page.html"))
    }
  }

Once you add an additional option, such as idle_timeout creation succeeds but custom error pages are no longer present.
  more_option {
    custom_errors = {
      408 = format("string:///%s", filebase64("${path.module}/error-page.html"))
      503 = format("string:///%s", filebase64("${path.module}/error-page.html"))
    }
    idle_timeout = 5000
  }

The idle_timeout setting is present (while the custom_errors are missing). I've scoured the documentation but I don't see any caveats here.

Update.
I've determined the root cause of the issue -- but it leads to another issue.
Note in my example above that I did not provide a valid map of strings to "custom_errors". That would be:
  more_option {
    custom_errors = {
      408 : format("string:///%s", filebase64("${path.module}/../../error-page.html")),
      503 : format("string:///%s", filebase64("${path.module}/../../error-page.html"))
    }
  }

I've determined that when an appropriate map of strings is passed, the provider acts as expected.
  more_option {
    custom_errors = {
      408 : format("string:///%s", filebase64("${path.module}/../../error-page.html")),
      503 : format("string:///%s", filebase64("${path.module}/../../error-page.html"))
    }
    idle_timeout = 5000
  }

<-- this predictably works.
I found other instances where I was not correctly passing a map of strings - like several 'labels'. In neither case did the provider warn me that I was passing an incorrect data type. Warning the user would prevent inconsistent applies.


Fvk diagram testing

#382
First pass at generative diagrams for mapping source input to output. Focus here is more on given a list of source datasets, generating a map that shows to some extent where they come from and what steps occur.
A couple changes to actual data library code as a part of this

adding path as a field to all template files with script as data source where it's relevant rather than these paths just being hard-coded in the python scripts themselves, so that the info is more mine-able
adding a scriptor interface with a standard way of getting version and path when ingesting a dataset via script

Very open to feedback on this. Could definitely continue to make improvements down the road in this area as well.
For the graphs, there's just the script within data_flow_diagrams that can be called (after invoking poetry shell). Right now it just generates a couple diagrams, doesn't take arguments. Didn't optimize for cli arguments because this is not an operational script.

LGTM! is it worth using ScriptorInterface in at least all other .py scripts that use the @property ... pattern? from a text search I'm seeing some like dcas_ipis.py

So actually that was one that I missed, thanks for the catch


Brightness/Exposure/Focus control for camera plugin

Steps to Reproduce

Run code here: https://github.com/efortuna/final_countdown (apologize in advance that this demo isn't smaller) on a physical iOS device. iOS Simulator won't take pictures. It will take a picture every 10 seconds.
All the camera code is in photo_clock.dart.
Look at the image generated.
Now take another image using the normal camera app built in for iOS, see how much brighter the lighting is.

I don't know if there's some sort of software brightening that Apple is doing after-the-fact, or if we have some setting that's capturing badly, but I've repro'd this across three different iOS devices (iPhone 8, iPhone XS Max, iPad Air).

[✓] Flutter (Channel master, v0.11.8-pre.9, on Mac OS X 10.13.6 17G3025, locale en-US)
    • Flutter version 0.11.8-pre.9 at /Users/efortuna/flutter
    • Framework revision 921117f4d3 (20 hours ago), 2018-11-19 15:23:40 -0800
    • Engine revision 2f1b388f5a
    • Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at /Users/efortuna/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_152-release-1024-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    • ios-deploy 1.9.4
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin installed
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] VS Code (version 1.29.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 2.20.0

[✓] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.1.0 (API 27)
      (emulator)

• No issues found!

This sounds like lack of EXIF or other colorspace data being recorded. :)

I've written notes about how to add exif on iOS/Android to: https://github.com/flutter/flutter/issues/10533#issuecomment-441719073 . I suspect all of these exif bugs are the same root cause and easy to fix.

Photos taken on iOS mostly have the right illumination with checkout c319b890b33f2c15af043f2ab857e7c2944beefa. What happens is when I take a photo immediately during initState, as in this line: https://github.com/efortuna/final_countdown/commit/3568783c8a20d434182b1784301c7aae7fa57326#diff-d1bd3cbe67924489f788958a5c8b8f0eR34, the photos are dark, but when taken after a delay, as in this line: https://github.com/efortuna/final_countdown/commit/3568783c8a20d434182b1784301c7aae7fa57326#diff-d1bd3cbe67924489f788958a5c8b8f0eR36 they are correctly illuminated.

I verified that we are writing all EXIF data we get from the iOS Camera to the picture file.
However, I noticed that you take the first picture right after the camera was initialized. Is it possible that iOS just needs a few (milli)seconds after initialization to figure out the correct exposer/etc. for the current scene? That would explain why all subsequent pictures after the first one are fine. Can you try adding a short delay before the first picture?

Yes, the existing behavior with c319b890b33f2c15af043f2ab857e7c2944beefa is definitely usable -- I would just argue that the camera shouldn't be saying it's "initialized" if it's not actually ready, but otherwise, I can definitely make it work. Let me know when I should switch back over to master/beta with the engine fix back in.

Does the OS tell us when it's done focusing and setting up the exposure? Or does that just continue forever? I guess I don't know when the "right" time to take a picture would be...

As far as I can tell iOS doesn't have an API to tell us when focusing and exposure is done. This may also be difficult to implement since it may never be done under difficult and ever-changing light conditions...
Please follow https://github.com/flutter/flutter/issues/10895 for the engine fix. That one is the main bug regarding the incorrect handling of EXIF data on iOS.

Since we have a work-around (wait a few seconds before taking the first pic) we decided to change this into a feature request for control knobs for brightness/exposure/focus/etc.

It is found that in Android phones, pictures/videos taken right after the camera control initialized (say within 500 ms), are very dark.  My work around is: await Thread.sleep(500); after the camera control initialization and then take picture or capture video.

Anyone found the solution for Brightness/Exposure/Focus control for camera in android ?

I am also looking for a solution. The image_picker plugin does also not provide options to change Brightness/Exposure/Focus/..., so taking professional pictures with flutter is currently not possible. You should thumb up this request if you are interested in the feature.

I'm trying to scan barcodes, and it would REALLY help if the auto focus were "on" when I bring up the camera preview.

any progress on auto focus ?

Any progress on implementing focus control?

I have an Android app using Camera2 API because I need to set iso (sensitivity) as well as fStop and shutter speed (i.e. I need to suppress any automatic exposure control).  Am I correct in understanding that this is impossible in the flutter camera plugin?

+1. Seems crazy none of these PRs are in for a fairly critical feature like this

Please fix these issues, the camera uses in the huge amount of apps.

I have an app written on Android (Java) using camera2 api. When will Flutter support full exposure control (ISO, shutter speed, f-stop, white-balance)?? I would like to port to Flutter!

Might this issue be related to the one described on stackoverflow:
https://stackoverflow.com/questions/64528631/using-android-camera2-api-even-though-all-exposure-parameters-are-the-same-dif

I will be closing this issue since these features have been implemented and merged with the following PRs:

flutter/plugins#3346: Managing exposure;
flutter/plugins#3370: Managing focus.

I will be closing this issue since these features have been implemented and merged with the following PRs:

flutter/plugins#3346: Managing exposure;
flutter/plugins#3370: Managing focus.

I used Camera plugin and there was no inbuilt feature in package to set contrast/brightness so I have set it by ColorFiltered widget as:
ColorFiltered(
            colorFilter: const ColorFilter.mode(
              Colors.white,
              BlendMode.softLight,
              // BlendMode.overlay,
            ),
            child: CameraPreview(camController),
          )

It worked for me. I hope, this solution will also help you. Thanks a lot for asking this question.


boosted-grid.css contains too much stuff

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
boosted-grid.css seems to embed too much CSS. For example, it contains .text-* classes that shouldn't be in a grid CSS file:
https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/blob/235a887808b7825a135b470fe99e3ade531b470b/dist/css/boosted-grid.css#L2459
This issue requires the following analysis and actions (non-exhaustive):

Compare boosted-grid.css and bootstrap-grid.css to check what's in our file that shouldn't be
Fix the issue for boosted-grid.css
Do the same thing for all boosted-*.css files (except of course boosted.css) while we're at it

Reduced test cases
Check directly the files in the dist repository.
What operating system(s) are you seeing the problem on?
Windows, macOS, Android, iOS, Linux
What browser(s) are you seeing the problem on?
Chrome, Safari, Firefox, Microsoft Edge, Opera
What version of Boosted are you using?
v5.2.3 / v5.3.0

We can see some warnings since the merge, we may need to fix it 🤔


Create afit.txt

Thank you For this resources your giving to students it will go a long way🙏🏾

@Y2kIdris First stage of verification passed, official domain is afit.edu.ng as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@Y2kIdris Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Merge pull request #1 from spring-cloud/master

update from origin

@missBaby Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

update from origin

Please do this on your own fork


Marriage abroad generic copy improvements

These globally applicable improvements were extracted from the latest batch of country-specific changes. They are applied globally with the contend designer's blessing :)

LGTM :+1:


Cooke Expiration in WSGI Middleware

Goal:
After unpacking cookies in the middleware, discard any that might be expired, before feeding them to the WSGI-app.
Normally the client would do this, but the zappa cookie is encoded so the expiration attributes are not accessible to the client.
Right now we use Werkzeug's cookie parser, but it throws away everything else but the key=value. So exp. date or other stuff is discarded. Use (perhaps) the stdlib for parsing cookies: https://docs.python.org/2/library/cookie.html#Cookie.BaseCookie.load
If anyone begins work on this, please leave a note here.

Okay, I think this is completed now. Can you take a look and confirm everything is in order?


Validation on bridge-ports type definition to prevent switching loop

What happened:
We have identified that on vlan-aware bridge(vlan filtering 1) when we enslaved multiple vlan interfaces to act as trunk/access ports, and based on the fact that default pvid is set 1 for untagged frames on bridge, in case type set on NodeNetworkConfigurationPolicy  for bridge-ports is trunk it will create loop when using multiple vlan interfaces as access/trunk ports, so i guess a validation step should be identifying when enslaving vlan subif to not allow you to set type as trunk, only access port should be allowed.
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
You can test this with below definition
      - bridge:
          options:
            stp:
              enabled: false
          port:
          - name: dummy0.100
            vlan:
              enable-native: true
              mode: trunk
              trunk-tags:
                - id: 100
          - name: dummy0.200
            vlan:
              enable-native: true
              mode: trunk
              trunk-tags:
                - id: 200
        description: Linux bridge with dummy trunk ports
        ipv4:
          dhcp: false
          enabled: false
        ipv6:
          dhcp: false
          enabled: false
        name: br-dummy
        state: up
        type: linux-bridge
      - description: Dummy interface
        name: dummy0
        state: up
        type: dummy
        ipv4:
          enabled: false
      - description: VLAN sub-interface using dummy0, id 100
        name: dummy0.100
        state: up
        type: vlan
        vlan:
            base-iface: dummy0
            id: 100
      - description: VLAN sub-interface using dummy0, id 200
        name: dummy0.200
        state: up
        type: vlan
        vlan:
            base-iface: dummy0
            id: 200

Bridge vlan output
br-dummy         1 PVID Egress Untagged

dummy0.100       1 PVID Egress Untagged
         2-4094

dummy0.200       1 PVID Egress Untagged
         2-4094

Anything else we need to know?:
Environment:

kubernetes-nmstate image (use kubectl get pods --all-namespaces -l app=kubernetes-nmstate -o jsonpath='{.items[0].spec.containers[0].image}'):

oc get pods --all-namespaces -l app=kubernetes-nmstate -o jsonpath='{.items[0].spec.containers[0].image}'
registry.redhat.io/container-native-virtualization/kubernetes-nmstate-handler-rhel8@sha256:d25fe2735181b8bec769d87f37fe8b3eef23fc11f009e4b63c6fe96b83f0d838

NetworkManager version (use nmcli --version)

nmcli --version
nmcli tool, version 1.22.8-5.el8_2

Kubernetes version (use kubectl version):

oc version
Client Version: 4.5.0-202005291417-9933eb9
Server Version: 4.5.13
Kubernetes Version: v1.18.3+47c0e71

OS (e.g. from /etc/os-release):

cat /etc/os-release
NAME="Red Hat Enterprise Linux CoreOS"
VERSION="45.82.202009181447-0"
VERSION_ID="4.5"
OPENSHIFT_VERSION="4.5"
RHEL_VERSION="8.2"
PRETTY_NAME="Red Hat Enterprise Linux CoreOS 45.82.202009181447-0 (Ootpa)"
ID="rhcos"
ID_LIKE="rhel fedora"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8::coreos"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="OpenShift Container Platform"
REDHAT_BUGZILLA_PRODUCT_VERSION="4.5"
REDHAT_SUPPORT_PRODUCT="OpenShift Container Platform"
REDHAT_SUPPORT_PRODUCT_VERSION="4.5"
OSTREE_VERSION='45.82.202009181447-0'

Duplicate

@ffmancera @cathay4t this was originally raised in kubernetes-nmstate. Is this level of validation something desirable in nmstate?


Static import failing with 2.0b6

Hi I am using jmeter 4.0 which has an updated version of bsh
and now it fails with a static import see sample
static import net.sf.json.JSONSerializer.*;
with dep;

net.sf.json-lib
json-lib
2.4

works with 2.0b4 2.0b5 but not with 2.0b6
gives;
In file: eval stream Encountered "import" at line 1, column 8.
at bsh.Parser.generateParseException(Parser.java:6106)
at bsh.Parser.jj_consume_token(Parser.java:5977)
at bsh.Parser.Block(Parser.java:2771)
at bsh.Parser.Statement(Parser.java:2668)
at bsh.Parser.BlockStatement(Parser.java:2819)
at bsh.Parser.Line(Parser.java:172)
at bsh.Interpreter.Line(Interpreter.java:1011)
at bsh.Interpreter.eval(Interpreter.java:641)
at bsh.Interpreter.eval(Interpreter.java:731)
at org.epo.beanshell.BeanShell.main(BeanShell.java:26)

Hi Nick. Do you have an estimate on when the next release will be since 2.0b6 issues are not being addressed?

Hi Nick. Do you have an estimate on when the next release will be since 2.0b6 issues are not being addressed?

As soon as we complete the roadmap or the length of a piece of string, whichever is shortest. =)
A major task is getting through all the outstanding issues where you can jump in if you want to help things progressing along faster. Shout if you need more info...
In the meantime you should be able to replace the beanshell.jar with a custom build version... theoretically speaking. That said I have to add that my knowedge of jmeter is absolutely nil so ymmv.

Hi DodoMorph, Did you try the correct way  import static rather than static import
https://javarevisited.blogspot.com/2012/10/what-is-static-import-in-java-5-example-tutorial.html

Hi jmetertea,
Thanks for the tip. Corrected the import and it works perfectly.


[AutoRelease] t2-paloaltonetworksngfw-2023-06-10-01729(can only be merged by SDK owner)

https://github.com/Azure/sdk-release-request/issues/4236
Live test success
https://dev.azure.com/azure-sdk/internal/_build?definitionId=6057

issue link:https://github.com/Azure/sdk-release-request/issues/4236


Warning is Ok?

Thank you for this gorgeous component, v2.4 works well with next.js v9.0. But I counter a warning in the console tab in chrome, is a feature or a bug?

@Vikingama Thank you. When will the warning appear? For example, will this warning appear immediately after the page is rendered?


[Libtomcrypt, libtommath] Add new port

I added libtommath and libtomcrypt.
I tried updating the solution file  to be a newer version so it could be build with the vcpkg_build_msbuild command. However I was advised to use the existing makefile.msvc instead using nmake ( see https://github.com/libtom/libtomcrypt/pull/517 ).
I made it build by inelegantly including ${CURRENT_PACKAGES_DIR}/.. - what is the solution for elegantly including the currently built libraries?
I ran into some issues with the approach, namely building a debug version (still not sure I'm doing that right) and building for x64 (unsolved as of yet). Additionally, I'm not completely sure how to go about building for linux and filtering correctly on the triplets.
Instead of just giving up and concluding that it's too much work to get non-cmake/msbuild packages to work with vcpkg I figured it would upload what I have now to get some feedback on how to proceed.

 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: FredeJ sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

/azp run

/azp run

Hi @FredeJ
Could you please address the review suggestions and regressions?

Pinging @FredeJ for response. Is work still being done for this PR?

Closing this PR since it seems that no progress is being made. Please reopen if work is still being done.


The script run.sh will always download python3.8

The shell script will always download the Python even if I have already installed it by pyenv.
Code of line 17:
if ! command -v python3.8 >/dev/null 2>&1 || pyenv versions --bare | grep -q "3.8"; then

Maybe it should be:
if ! (command -v python3.8 >/dev/null 2>&1 || pyenv versions --bare | grep -q "3.8"); then

Thanks for pointing out the issue. You can open a PR to fix it.


Clippy borrow_deref_ref for &PyAny arguments

Bug Description
For code like this:
https://github.com/pantsbuild/pants/blob/c69a70c3837e5fdecdae5d3a0475a5e6fdfcf20f/src/rust/engine/src/externs/mod.rs#L298
... clippy under Rust 1.63.0 renders an error like the following:
error: deref on an immutable reference
   --> src/externs/mod.rs:298:17
    |
298 |     input_arg0: &PyAny,
    |                 ^ help: if you would like to reborrow, try removing `&*`: `&`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref

Steps to Reproduce

Check out https://github.com/pantsbuild/pants/compare/main...stuhood:pants:stuhood/bump-to-rust-1.63.0-clippy-error
Run ./cargo clippy (note the ./, which refers to a wrapper script to set up env vars)

Your operating system and version
macOS 11.6.8
Your Python version (python --version)
Python 3.7
Your Rust version (rustc --version)
1.63.0
Your PyO3 version
0.16.5
How did you install python? Did you use a virtualenv?
pyenv
Additional Info
No response

Ungh, yes, sorry about this. It's actually already fixed on main and I'm seeking to release 0.17 ASAP which will resolve (just working on a couple of other fixes to resolve at the same time). See #2493

Got it: thanks a lot! The workaround (skipping this clippy lint) is not onerous, so don't rush on our account.


DCMAW-7011: Add a NINO | User selects the 'Add document' CTA on the Wallet screen

Add more M3 composables to fix InstructionsM3 night mode issue
Add tertiary button type

Probably both the Buttons.kt and ButtonsM3.kt should be split, the files are now very large. Have the parameters and provider seperated


idea: exclude folder from trakt sync

What TMM version are you using?
tmm_3.0-SNAPSHOT_6bac590_win.zip
release, pre-release, nightly, or directly from GitHub/branch?
nightly
Idea
A new setting for trakt so that certain folders / data sources should not be synced. Similar to exclude folder (s) from scan.

trakt.tv support is only available globally (if you use automatic sync) or for selected entities (manual sync).
This integration does not work on folder level and special settings for data sources (such as enable/disable trakt, different renamer settings, ...) would be too huge - so there is no such feature nor planned. If you want to not sync some entities to trakt, you may have to do it manually..


Event Hub Triggers?

The doc says coming soon, but I don't see anything visible to use it at the moment. Is there any chance I could get some clarification around this one?

Now available in the latest v4 beta.


Fix #1302: File#tell: SEEK_CUR is a local constant

This fixes issue #1302.

:open_mouth: you're fast!

Makes you wonder if we can have a spec for this though.

I was thinking about doing one, but I'm not sure how to do a spec that involves dealing with a file. Create a temp file, operate on it and then delete it?

I think we already do that a couple of times, yeah.

Oh, this would be really nice. Note that this class is buffered and right now the result of tell is broken IIRC. You can always compre against Ruby to check the correct behavior :)

I have updated with some specs and fixes for seek and tell on buffered io. This also fixes #1306.

:+1:

Is this normal?

No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.
The build has been terminated

Most likely not your issue at least, the 32bit build seems to stall sometimes, maybe a sleep call going wrong or idk.

Awesome, thanks!!

Forgot to link this: https://github.com/manastech/crystal/commit/6cf0ebc88625132981b441695593058a2f4e4954
I'm wondering, would it make sense to move tell and seek to File? For pipes and sockets these will always fail...

@asterite All the spec for it is located at file_spec.cr because it indeed makes no sense anywhere else. I would agree with this move.
As a side note, StringIO should support seek and tell as well, so maybe the Seek enum should still remain on IO, where each specialization is free to implement seek/tell as it pleases.


Camera + Mouse Look [Question]

How would this work when the object following the path is a camera?
I would like to have a camera move along the path, but also allow the player to control what direction the camera is looking into by using their mouse (Mouse Look).
How would you implement that?

@ben4d85, in the examples, the object moves and turns in two different methods. Just don't use the turn method.


How far I've got - just leaving a sample

Setting up sub site collections without "sites" , is bugging me,
Version of the Operating System and PowerShell the DSC Target Node is running:": All the latest of today
Version of SharePoint that is used SharePoint 2016 sp1
As of today the latest pubic available
I'm new to git, how do I leave a script sample with my issue.
By the way, I appreciate all they work.
Found it, att the bottom :) had to rename them ....
SPI.ps1.txt
SPI.psd1.txt
SPI-Create.ps1.txt

Can you please elaborate on what the error is? Are you getting errors creating SPWeb objects?

Hi Nik,
The failure is  "site collection could not be created as the provided hostheader managed path does not exist"
I guess it has to do with the available sub site/collection available intermediate naming like "sites". But I don't want sites to be in my url.
Do you se any FU's in my script please let me know.
I'm liking your work, WaitForAll is great in this scenario. That is PSDSC not your work, But previous installer did only work for single machine.
God work, thumbs up.

Based on your files, it looks like you are trying to create a Site Collection at:
http://sif:82/docs
However, in order for you to be able to achieve this, you will need a HostName Explicit Managed Path. You can use the following to accomplish this and have the SPSite block DepnedSOn it
SPManagedPath DocsImplicit
{
WebAppUrl = "$($webApplication.Url):$($webApplication.Port)"
RelativeUrl = $siteCollection.RelativeUrl
Explicit = $true
HostHeader = $true
PsDscRunAsCredential = $SpAdminCredential
}

Hi @IlleNilsson, does the answer of Nik solve your question? If so, could you please close the issue? Thanks!

Yes it did, sorry for the delay. Answer was much appriciated


composer installation

Hello,
looks like a great script.
Can you add optional extras like composer and letsencrypt ?
thanks.

./addons.sh


Emoji Markers

I assume it would be easy enough to 'extend' this mapview to do it, but I'm afraid I dont know where to start. I've never done something like this before.

Well it appears that custom views are super easy.
            <Text style={{fontSize:80}}><Emoji name="rocket" /></Text>
          </MapView.Marker>

https://i.imgur.com/Pq4OF2W.png


[311] add rsa field to user model

I'm working on it to fix it.

There's too much trash in here, we'll recreate it the old way :)


nifty-ntnu-thesis:0.1.0

I am submitting

[x] a new package
[ ] an update for a package

Description: A port of the unofficial NTNU thesis template.

I have read and followed the submission guidelines and, in particular, I

[x] selected a name that isn't the most obvious or canonical name for what the package does
[x] added a README.md with documentation for my package
[x] added a typst.toml file with all required keys
[x] have chosen a license and added a LICENSE file or linked one in my README.md
[x] tested my package locally on my system and it worked
[x] excluded PDFs or README images, if any, but not the LICENSE

[x] ensured that my package is licensed such that users can use and distribute the contents of its template directory without restriction, after modifying them through normal use.

Thanks!


Failed to create resource: Internal error occurred: failed calling webhook "hivemq-cluster-policy.hivemq.com"

Expected behavior
Helmchart to be installed correctly!
Actual behavior
Giving this error without any special configuration or change in helmchart:
failed to create resource: Internal error occurred: failed calling webhook "hivemq-cluster-policy.hivemq.com": Post "https://hivemq-operator-0-1649064099-operator.hivemq.svc:443/api/v1/validate/hivemq-clusters?timeout=30s": service "hivemq-operator-0-1649064099-operator" not found
How it is looking for its service with a different name, while the service is created with another name?
To Reproduce
Steps
https://www.hivemq.com/docs/operator/4.7/kubernetes-operator/deploying.html#helm-chart

Bumping this one - when do we can expect a patched helm chart?

Hi @mokhos can you please clarify which steps you mean? What version of K8s are you using? Which processor architecture has your machine or which cloud provider are you using?


Waiting for an action server to become available...

I have updated the firmware and am connected to the create3 robot using wifi. The command ros2 topic echo displays :
~$ ros2 topic list
/battery_state
/cliff_intensity
/cmd_audio
/cmd_lightring
/cmd_vel
/dock
/hazard_detection
/imu
/interface_buttons
/ir_intensity
/ir_opcode
/kidnap_status
/mobility_monitor/transition_event
/mouse
/odom
/parameter_events
/robot_state/transition_event
/rosout
/slip_status
/static_transform/transition_event
/stop_status
/tf
/tf_static
/wheel_status
/wheel_ticks
/wheel_vels
and I am able to echo the rostopics whichs seems to be working well. The Undocking command does work well. However, when sending API Dock for ROS Humble ros2 action send_goal /dock irobot_create_msgs/action/Dock "{}"
i get the following message:
Waiting for an action server to become available...
How can I ensure the action server to become available?
Thanks in advance!

Also, while we are in contact. Could you deliberate more onto how to upload a selfmade ros package to the robot? I tried running my own python script (of the subscriber and calling action type). But running it gave the following error: $ python3 dock_bat.py
[WARN] [1691674180.325522731] [battery_monitor]: New publisher discovered on topic '/battery_state', offering incompatible QoS. No messages will be received from it. Last incompatible policy: RELIABILITY

Hello @mmsaban, I hope you are well. I recently experienced a similar issue with being able to pull a topic list but not being able to use actions. My problem was a mismatch between the RMW on my computer and the RMW on the robot. In my case, I had the RMW on my computer set to Fast DDS and the robot was on Cyclone. You can find more information on setting your RMW on your robot here and on your computer here.

Also, while we are in contact. Could you deliberate more onto how to upload a selfmade ros package to the robot? I tried running my own python script (of the subscriber and calling action type). But running it gave the following error: $ python3 dock_bat.py
[WARN] [1691674180.325522731] [battery_monitor]: New publisher discovered on topic '/battery_state', offering incompatible QoS. No messages will be received from it. Last incompatible policy: RELIABILITY

It's not possible to directly load a custom package onto the robot itself. However, you can create a package on your computer that interfaces with the robot's existing topics, actions, etc. As for your specific error, would you mind sharing your python script? It looks a bit like you might be setting up a publisher rather than a subscriber.

It is both a subscriber and publisher. I used the publisher as a sanity check to understand when the program triggered some commands. But the script did work in the ros2 simulation environment.


feat(askvm): add logicalOr ('||')

Closes #136

I'm not sure if || should work for falsy values such as 0 or empty string. I think this is confusing. Why not just make it work for boolean?

I'm not sure if || should work for falsy values such as 0 or empty string. I think this is confusing. Why not just make it work for boolean?

@mhagmajer
Yeah, I was considering implementing it for boolean only, but then lines like const port = process.env.PORT || 4000;, which work perfectly fine in Javascript, won't work in AskScript.
What are your thoughts?

I think that is the use case for null coalescing operator actually port ?? 4000

I think that is the use case for null coalescing operator actually port ?? 4000

I like it.   https://github.com/xFAANG/askql/issues/263
So agreed, || supports boolean only.

@mhagmajer , I am checking types explicitly. Let me know how you like it.

@mhagmajer  Great. I was totally unsure whether you would like it or hate it.

@czerwinskilukasz1 this is pretty much how I would do it today. These explicit type checks won't be needed when AskVM starts throwing on type mismatch

@czerwinskilukasz1 this is pretty much how I would do it today. These explicit type checks won't be needed when AskVM starts throwing on type mismatch

@mhagmajer , sure.  When do you plan to implement type checks in AskVM?

1.3 is realistic I think


strange splatting bug

I am not sure if this bug belongs here or in the base or if I should get my head checked but this got me stumpted.  And it does not happen when I replace CudaArray's with Array's.  So I am posting here:
using CUDArt

function bmultest5(a::CudaArray, d::Dims)
    @show typeof(size(a))
    @show size(a)
    b = reinterpret(eltype(a), a, d)
    @show typeof(size(b))
    @show size(b)
    @show Cint[size(b)...]
end

bmultest5(CudaArray(zeros(2)), (2,1,1,1))

gives
typeof(size(a)) = Tuple{Int64}
size(a) = (2,)
typeof(size(b)) = Tuple{Int64,Int64,Int64,Int64}
size(b) = (2,1,1,1)
Cint[size(b)...] = Int32[2,1]

i.e. if size(b) has more than 2 elements, only the first two show up in the result of Cint[size(b)...]!

Failure in constant-propagation before inference, https://github.com/JuliaLang/julia/issues/5560. Might be worth reporting there as an interesting example.


[FEA] Create example Databricks notebook for qualification tool usage with user tools

Our existing Databricks notebook examples for tools uses the tools jar but not the user tools package: https://github.com/NVIDIA/spark-rapids-examples/tree/main/tools/databricks.
We should add an example with the user tools usage with a Databricks notebook.

Submitted a PR - https://github.com/NVIDIA/spark-rapids-examples/pull/334


picking a decade

Any hint on how could I implement a decade picker?, like making the decade title on the year picker selectable? I could give it a try myself.

While doing this, I though we could go a step further, with picking a century.
There still at the start of the 21th one and many people are born in the 20th.

Fixed in #1623


How to set up

I don't see the list if available theme parks.

Sorry to hear that - it works here, so we'll need more information to help.
Looks like this ticket is quite old, though, but if you're still getting the error please reopen and provide some more information.


[1.8] Crash in Dev Environment on all 1.8 versions.

Exactly as the title says. When loading minecraft through IntelliJ idea with CCL, CCC, NEI and WAILA installed (and my own mod, though that should not pose a problem.) through build.gradle I get two different crashes. I have tried all dev versions as found on the maven.
Crash Report 1:
http://pastebin.com/vuD4je2N (NoSuchMethodError ....getTagFromJson() )
Crash Report 2:
http://pastebin.com/rUtMLW4Z (NoSuchMethodError ....isKeyDown() )
First one is found on versions .104 (latest), .97 and .96 whilst the other crash is found on the other versions (.81 til .93)
Any idea what's happening?
[edit: my bad, I didn't know that using # would reference another error, sorry nr. 1 and 2 ^-^' ]

different mcp mappings most likely

I see. Is this your side or my side? And regardless of side, is it easily fixable?


Wrong "typings" key in package.json after monorepo refactor.

Reproduction steps
See repo to reproduce.
Description
The path for typings is missing the cjs directory.
"typings": "dist/index.d.ts",

Should be
"typings": "dist/cjs/index.d.ts",

Noticed in the following places:

https://github.com/firebase/firebase-js-sdk/blob/master/packages/app/package.json#L50
https://github.com/firebase/firebase-js-sdk/blob/master/packages/messaging/package.json#L48
https://github.com/firebase/firebase-js-sdk/blob/master/packages/storage/package.json#L45

Results in the following error during compilation with tsc
node_modules/@firebase/database/dist/cjs/index.d.ts(16,35): error TS7016: Could not find a declaration file for module '@firebase/app'. <EMAIL_ADDRESS>implicitly has an 'any' type.
node_modules/@firebase/database/dist/cjs/src/api/Database.d.ts(3,46): error TS7016: Could not find a declaration file for module '@firebase/app'. <EMAIL_ADDRESS>implicitly has an 'any' type.
  Try `npm install @types/@firebase/app` if it exists or add a new declaration (.d.ts) file containing `declare module '@firebase/app';`
node_modules/@firebase/database/dist/cjs/src/core/AuthTokenProvider.d.ts(16,52): error TS7016: Could not find a declaration file for module '<EMAIL_ADDRESS>implicitly has an 'any' type.
  Try `npm install @types/@firebase/app` if it exists or add a new declaration (.d.ts) file containing `declare module '@firebase/app';`
node_modules/@firebase/database/dist/cjs/src/core/Repo.d.ts(3,29): error TS7016: Could not find a declaration file for module '@firebase/app'. <EMAIL_ADDRESS>implicitly has an 'any' type.
  Try `npm install @types/@firebase/app` if it exists or add a new declaration (.d.ts) file containing `declare module '@firebase/app';`

Environment

Node Version: v8.9.1 (also tried 6.x, 7.x)
NPM Version: v5.5.1
TypeScript Version: v2.4.2 / v2.6.1

Moved to firebase-admin-node from https://github.com/firebase/firebase-js-sdk/issues/318.

@adamduren How do you work around this issue?
I've tried adding them to my tsconfig includes, but that doesn't seem to cut it.
"include": [
    "src/**/*",

    // These paths are currently misconfigured in the firebase sdk
<EMAIL_ADDRESS><EMAIL_ADDRESS>  ],

Ah I get it now I think.
skipLibCheck only works if you don't explicitly add those *.d.ts files to you own files list, because then they're not considered external lib anymore. Using the skipLibCheck without listing the files at least lets me compile my own code.
But of course this is still a problem, because now all checks for all external modules are disabled.

already solved? It's closed, but still I get this issue and I do not see referenced code-fix.

Issue appears open for me

This should be fixed in the 5.5.1 release. We no longer use the typings from @firebase/database.
@jshcrowthe is working separately on getting the typings of @firebase/database sorted out. Hopefully we will be able to consume them in the admin SDK in the future.


DeriveActiveEnum's implicit implementation of Display trait needs to be overridable

In reference to the implementation of the Display trait for https://github.com/SeaQL/sea-orm/issues/955, the solution provided does not always suit all applications because an application may choose to present the enum in a different way, depending on use case.
For example, for clarity in code, it makes sense to write out the genders in their full form, but presentation elsewhere can often be suitably understood by their single letter abbreviations:
#[derive(Debug, Clone, Hash, Eq, PartialEq, EnumIter, DeriveActiveEnum, Serialize, Deserialize_repr)]
#[sea_orm(rs_type = "i16", db_type = "SmallInteger")]
#[repr(u16)]
pub enum Gender {
    #[sea_orm(num_value = 1)]
    Male = 1,
    #[sea_orm(num_value = 2)]
    Female = 2,
    #[sea_orm(num_value = 3)]
    Unspecified = 3,
    #[sea_orm(num_value = 4)]
    Other = 4,
}

impl Display for Gender {
    fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
        write!(f, "{}",
               match self {
                   Gender::Male => "M",
                   Gender::Female => "F",
                   Gender::Unspecified => "U",
                   Gender::Other => "O",
               }
        )
    }
}

The suggestion from Discord is to implement a display_value attribute to overside the default display value of, say, "Male" with "M":
    #[sea_orm(num_value = 1, display_value="M")]
    Male = 1,
    #[sea_orm(num_value = 1, display_value="F")]
    Female = 2,

Ran into this as well.
My problem is that I have a string enum, and the Display implementation of sea_orm::Value outputs SQL, so the string becomes quoted.
I guess I don't understand why Display is the correct trait to implement here. It's meant to produce a user-facing string.
I worked around it by implementing using #[strum(serialize = "...")] with the same string value, and then using maud::Render to override the Display implementation. But this is problematic and error-prone for other reasons (HTML isn't the only user-facing output in my situation).
Please advise. :-)

I do think the current implementation of Display is weird. To be precise, we should print Male instead of 1.
You can write a custom Serialize impl, or you can use a wrapper type and override Display.

It might be better we rework that implementation

Yes please, It's really annoying (sadly). ^^"


Adding oslo Git course to Shorter workshops and other events

This is the short course me and Anne did

Thanks!


💡[Feature]:  English to French Translation Using LSTM

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
A English to French translator powered by machine learning represents a transformative tool in bridging linguistic barriers. Leveraging advanced algorithms and neural networks, it adeptly interprets English text into accurate French equivalents. This technology operates by analyzing vast datasets of bilingual texts, learning patterns, and nuances to produce translations that capture context and cultural subtleties. In practical terms, such a translator facilitates seamless communication across international borders, enhances global business interactions, aids travelers in navigating foreign languages, and supports language learners in their studies. Its application extends to diverse domains including literature, commerce, diplomacy, and education, where precise and natural translations are essential.
Use Case
Following the Embedding layer, an LSTM (Long Short-Term Memory) layer with 256 units is used to process the embedded English sequences. LSTMs are chosen for their ability to retain and propagate information over long sequences, making them well-suited for sequence modeling tasks like translation.
Benefits
No response
Add ScreenShots

Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

please @sanjay-kv assign it to me


upgrade to latest kibana 6.3.0 version

Upgrades kibana to 6.3.0

/assign @lachie83

version already old and not picked up by reviews - coming back with updated version


updated the input textarea

in the Branch, I:

[ ] Added the input field area
[ ] styled the input field.

hello @chiedozie013 you did a great job nothing to comment congratulation


Improve scenario 5 import

This PR does the following:

Adds the ability to specify a grounding map when processing vensim/pysd
Updates the scenario 5 notebook to include Tenzin's grounding map
Make minor fix to grounding map
Make minor update to prints inside notebook
Add Stockflow AMR output

TODO

[x] Fix metadata export - the AMR contains something about SIR model at the moment that doesn't make sense. This was fixed by adding in an explicit Annotations object in the notebook
[x] Add schema URL to stockflow export
[ ] Continue improving grounding map to cover more of model

Working Stockflow AMR JSON export: https://github.com/gyorilab/mira/blob/scenario-5-grounding/notebooks/hackathon_2024.02/scenario5/scenario_5_stockflow.json

Great, thanks!


Attribute mapping from node to dug element

Adds configurable attribute mapping to graph nodes to dug elements

Links to https://github.com/helxplatform/development/issues/868 , an example of this output is available here (https://yk-heal.apps.renci.org/search?q=restlessness&p=1)


Fixed an issue where search_pubs returns an empty response when only a single publication exists for the query.

Fixes #541 #517.
Description

Fixed an issue where you get an empty response when you try to use search_pubs and only a single publication exists for the query. This is because the paper html element has a different class list when only a single publication exists.
Changed the _SearchScholarIterator object to set the total_results equal to the length of _rows. This is because a page in scholar containing a single result doesn't contain a div that says "About n results", from which _get_total_results derives the number of publications.
Added a unit test for this issue.

Checklist

[x] Check that the base branch is set to develop and not main.
[x] Ensure that the documentation will be consistent with the code upon merging.
[x] Add a line or a few lines that check the new features added.
[x] Ensure that unit tests pass.
If you don't have a premium proxy, some of the tests will be skipped.
The tests that are run should pass without raising
MaxTriesExceededException or other exceptions.

Hey @arunkannawadi, would you like to review the changes?


Look for ini file to spot python project root

When looking for the project root folder it would be better to check for some well-known init file instead of init.py. Indeed, with python3 it is now possible to have namespace modules where intermediate dirs are not required to include the init.py file.

The comment above ale#python#FindProjectRoot() should be updated to mention the new behavior.


RuntimeWarning: * size changed, may indicate binary incompatibility.

This is related to https://github.com/huggingface/neuralcoref/issues/197 and occurs when using spacy 2.2 and neuralcoref. Installation finished successfully.
I think the readme.md requires some improvement. You already mention explicitly one issue, i.e., the spacy.strings.StringStore size changed error, and describe one way to address that issue. However, even when installing with the --no-binary people will run into the attached errors, definitely when using spacy 2.2. So, I suggest that you either list the workaround for those, too, or remove the current workaround and only point to issue #197 since the workaround that is currently provided does not get the job done.
(ctsacuda) ➜  ctsacuda python
Python 3.7.6 | packaged by conda-forge | (default, Mar  5 2020, 15:03:29)
[Clang 9.0.1 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import spacy
>>> import neuralcoref
/Users/felix/anaconda3/envs/ctsacuda/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: spacy.morphology.Morphology size changed, may indicate binary incompatibility. Expected 104 from C header, got 112 from PyObject
  return f(*args, **kwds)
/Users/felix/anaconda3/envs/ctsacuda/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: spacy.vocab.Vocab size changed, may indicate binary incompatibility. Expected 96 from C header, got 104 from PyObject
  return f(*args, **kwds)
/Users/felix/anaconda3/envs/ctsacuda/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: spacy.tokens.span.Span size changed, may indicate binary incompatibility. Expected 72 from C header, got 80 from PyObject
  return f(*args, **kwds)

Sure would be nice to get this working with spaCy 2.2+

@fhamborg : you're right, it would be good to update the readme. Feel free to submit a PR!
@virorum : as described in more detail in Issue #197, it does work with spaCy > 2.2 if you compile from source


Please tag plugin again

Plugin has moved from doctales to stefan-jung but no tag has been created since. So downloading the only available tag still create the plugin using the old name.

Thanks for the heads-up, @itineric.


added skipnav support

Issue: https://github.com/ember-a11y/ember-a11y-refocus/issues/2

@MelSumner thanks you 🤗
I'll grab the next one asap


Dismiss notification when app is removed from recent apps list

With version 3.1.0 the multimedia notification is not dismissed when the app has been terminated by the user. The only way to dismiss the notification is to force quit the app from the settings. I have made these changes to prevent this behavior, now when the user kills the app the notification also closes.

This seems a legible solution, thus needs testing

@mpivchev @jspizziri  is this seems viable ? Seems like there is no functional changes

This seems to violate the principle that guided the decision in the first place to have an always one player (to avoid several other complications).
I'm not sure what the ramifications of this are. @mpivchev will need to do the review/approval on this.

yeah lets wait for @mpivchev to have a look

@jspizziri ok but why should the user always see the player notification even if he closed the app? In the end the user usually closes the app in order not to use it..
In fact we have received several reports from users who have complained about this problem.
This is my opinion following our experiences, but I would like to understand your choices as well

dont know about others device but for my device when i remove the app from recents the notification goes for spotify and apple music.
device tested: One Plus nord 2 and Xiaomi Poco F4

The backing issue was that we can't control when the music service is destroyed. So even if you dismiss/destroy the notification its not indicative that the service itself has stopped (stopping that is controlled by the OS).
As part of that we decided to do what most other big audio players do (Spotify, Apple Music, etc) which is have an always on notification.

When player.stop is called inside onTaskRemoved the notification associated with the player is removed so the NotificationState.CANCELLED callback is triggered.
Inside this callback there is stopForeground(true) which will stop the service.
The user expects to terminate everything that your app is doing when manually close the application from recent apps list.
If the app is reopened the service will restart normally.

With this solution, if you open the app again afterwards does everything still function properly?

Yes, it's seems to work well, but this problem is still present

The new "feature" of the notification persisting after the user terminates the app is a bug in my opinion as well. It's actually blocking us from upgrading to 3.x. If it was opt-in or opt-out that would be fine, but in our use-case the track player is a secondary functionality of the app rather than primary and persisting the notification is guaranteed to bring us bug reports.

https://github.com/doublesymmetry/react-native-track-player/issues/1715

I'm closing this PR in favor of this one. Thanks for the work on this @filippobusi !
https://github.com/doublesymmetry/react-native-track-player/pull/1730


[Feature Request] Add Support for Debugging

Please add the ability to debug files and run using Debug mode:

Set breakpoints.
Set conditional breakpoints.
Variable Viewer.

A step this direction be to provide a button to open the MATLAB code editor (as found in the extension Matlab in VSCode). With this intermediate level of support you run code from vs code that then jumps to break points set in the MATLAB code editor.

I know this would be a huge ask, but introducing Logpoints would be really helpful for debugging!

@Gusmano-2-OSU I looked at the log points discussion and agree that debugging is more than setting break points. Improper changes in state over time are critical to resolving broken algorithms.

I endorse this request.
For any real project, having the ability to debug the code is an unavoidable need. Therefore, it would be extremely practical being able to do so from the VS Code environment.

+1 for breakpoints and variable view.  I'm loving the editor, but without breakpoints it makes it very difficult to debug.  That said, I love the VSCode integration overall.

+1
Using VS code matlab extension changed my life, I loved it, except that to be able to use the debugging features I need t run matlab and VS code together... Please add those features !

+1
This would be a very valuable addition, and would be the last step for making this a fully usable matlab editing solution for me.

+1

This is definitely a necessity for utilizing MATLAB in VS Code environment. At least breakpoint support would be the first step towards improving the usability of the addon.

+1

+1

+1! Absolute must!!!

+1

Here to say that I would absolutely love if I could at least review variables after a run.

+1


Adding Hierarchies Notebook

This PR adds a (beginner oriented) hierarchies notebook that walks through how to work with hierarchies in the context of the Atoti Python API. In addition, the notebook mentions the various implementations for basic  properties and functions for hierarchies, such as:

dimension: Name of the dimension of the hierarchy.
dimension_default: Whether the hierarchy is the default in its dimension or not.
levels: Levels of the hierarchy.
name: Name of the hierarchy.
visible: Whether the hierarchy is visible or not.

Associated READMEs have also been updated.

@printhellohetal The following amendments have been made as per our discussions:

Images are pushed to S3.
Sub-headers have been change to sentence casing.
READMEs have been updated.


Convert to new opensha upstream repo

So that we have a streamlined workflow and are running in tighter sync with the UCERF projects.
Done:

all build scripts and tests are running against the new opensha/opensha repo

see PR #116


Read on uninitialized buffer may cause UB ('uu_od' crate)

Hello :crab:,
we (Rust group @sslab-gatech) found a memory-safety/soundness issue in this crate while scanning Rust code on crates.io for potential vulnerabilities.
Issue Description
https://github.com/uutils/coreutils/blob/e2b58051e6c414ae813f3c0834a51e85e43403be/src/uu/od/src/partialreader.rs#L35-L47
<partialreader::PartialReader<R> as std::io::Read>::read() method creates an uninitialized buffer and passes it to user-provided Read implementation. This is unsound, because it allows safe Rust code to exhibit an undefined behavior (read from uninitialized memory).
This part from the Read trait documentation explains the issue:

It is your responsibility to make sure that buf is initialized before calling read. Calling read with an uninitialized buf (of the kind one obtains via MaybeUninit<T>) is not safe, and can lead to undefined behavior.

How to fix the issue?
The Naive & safe way to fix the issue is to always zero-initialize a buffer before lending it to a user-provided Read implementation. Note that this approach will add runtime performance overhead of zero-initializing the buffer.
As of Feb 2021, there is not yet an ideal fix that works with no performance overhead. Below are links to relevant discussions & suggestions for the fix.

Rust RFC 2930
Discussion in Rust Internals Forum

Is this actually an issue when the container value type is u8?  Like, I understand how this would be an issue with something that implements Drop, but while this is perhaps technically undefined, there is no real alternative as you have said.
Of course, if someone has a way to fix this without wastefully initializing the array, I’d be very happy to do so.

I just took a solid look at the function, and I think it could actually be fixed pretty easily to avoid any allocations at all without using set_len(), so I guess I'll do that later anyway.  I think there are more instances of set_len() in the code though, so my previous question still stands.

Is this actually an issue when the container’s value type is u8? Like, I understand how this would be an issue with something that implements Drop, but while this is perhaps technically undefined, there is no real alternative as you have said.
Of course, if someone has a way to fix this without wastefully initializing the array, I’d be very happy to do so.

Thank you for your feedback :) It can be an issue even when the container's value type is u8.
If an arbitrary Read implementation that peeks(or reads) from the buffer before writing,
the compiler can propagate the uninitialized data of the buffer to the parts of the arbitrary Read implementation.
Here is a link to a document that explains the issue well:
https://paper.dropbox.com/doc/IO-Buffer-Initialization-MvytTgjIOTNpJAS6Mvw38

So, IIUC, in the case of u8, the concern is more so leaking potentially important information such as passwords, data structure values, etc. (since any uninitialized pattern can be replicated in safe code).
I don’t think these are actually concerns for the utilities here, but I’ll see if I can find a decent solution, as I’d prefer to use unsafe less anyway.

Data leakage is not the only consequence of using an uninitialized memory. The Rust compiler optimizes the code based on the assumption that the buffer is fully initialized. Thus, an uninitialized buffer can lead to a miscompilation and breaks the Rust's safety guarantee ("safe Rust code never causes memory safety error"). Such examples are provided in Ralf Jung's blog post "What The Hardware Does" is not What Your Program Does: Uninitialized Memory and "But how bad are undefined values really?" section of RFC 2930.

I don’t see how that matters in this case as all u8 patterns are valid.

In terms of the links you gave, it seems that as long as the reader doesn't do something bizarre such as read from the buffer it is supposed to write to several times or simply not write anything into the buffer (neither of which are issues in our code AFAIK, although I may need to verify the latter in cases where the input is empty), things are alright.  So, basically, I suppose the functions/readers that use Vec::set_len() with u8 should be marked as unsafe for now.

If set_len() is not easily removable, zero-initializing the allocated region will also resolve the problem. Thank you for the quick fix and being responsive :)

I believe I've removed all the usages of Vec::set_len() that exhibit undefined behavior with the last od PR.  My issue wasn't really with removing set_len(), but removing it in a way that wouldn't impact performance or would provide some other benefit (e.g. avoiding allocations).  Unless something else comes up, I'll close this issue after the shred and od PRs are merged.
BTW, if you happen to find any other usage of unsafe that exhibits undefined behavior or is otherwise incorrect (or could simply be removed, as some of the code predates Rust 1.0), please feel free to open another issue.

This should be resolved now that the linked PRs have been merged.  Please let me know if I missed something.


Improve Docker CI for cloud team

Work with @eskombro
Update CI to send a signal to Cloud team CI when Docker image is pushed

bors merge


GULPicon won't generate any css files or preview.html, just the png's - Windows

I know this is about Grunticon, but it runs on the same engine as Gulpicon so maybe someone can tell me what's wrong?
So, I'm getting all the png's and the javascript file, but no CSS files are generated, or the preview.html file.
I'm using Gulpicon 1.2.1 on Windows 10, with gulp 3.9.1. Using the default configuration file from the Gulpicon repository. The Gulp task is specified as follows:
var gulp         = require('gulp')
gulpicon     = require("gulpicon/tasks/gulpicon"),
var svgConfig = require("./svgConfig.js");
svgConfig.dest = "assets/svgout";
var files = glob.sync("assets/svg/**/*.svg");
gulp.task("icons", gulpicon(files, svgConfig));
svgConfig.js file as it stood:
var path = require( "path" );
module.exports = {
datasvgcss: "icons.data.svg.css",
datapngcss: "icons.data.png.css",
urlpngcss: "icons.fallback.css",
previewhtml: "preview.html",
loadersnippet: "grunticon.loader.js",
enhanceSVG: true,
corsEmbed: false,
pngfolder: "png",
cssprefix: ".icon-",
defaultWidth: "300px",
defaultHeight: "200px",
colors: {
primary: "red",
secondary: "#666"
},
dynamicColorOnly: true,
cssbasepath: "/",
customselectors: {
"cat" : ["#el-gato"],
"gummy-bears-2" : ["nav li a.deadly-bears:before"]
},
template: path.join( __dirname, "default-css.hbs" ),
previewTemplate: path.join( __dirname, "preview-custom.hbs" ),
compressPNG: true
};
The funny thing is that i'm trying to get info about the lib by using command "npm list grunticon-lib", and I'm getting an empty result. When trying to manually install grunticon-lib, I'm getting a warning -
"notsup - Not compatible with your operating system or architecture<EMAIL_ADDRESS>However, when I run the task, it doesn't throw any errors etc., and as I already stated, the PNG's are generated in the designated folder.
Can anyone please help me find what's wrong?
Did I post this in the right place, or was this post supposed to go somewhere else?
Thanks!

https://gist.github.com/dcalhoun/e79ad10d518612d70721
I just tried this approach, and it worked. So it seems there's a problem within the Gulpicon itself or the config file.


Button to delete test inconveniently placed when test added

Avoid duplicates

[X] This enhancement request has not already been raised before
[X] Enhancement request is specific for iOS only, for general issues / questions that apply to iOS and Android please raise them in CWA-Wishlist
[X] If you are proposing a new feature, please do so in CWA-Wishlist

Current Implementation
When I add a test and have gone through all the steps, the overview with the certificate appears.
At the bottom is the button to delete the test. It has the same layout and color as the other buttons I had to press to add the test. This has caused me to delete a test several times, because I just want to click through quickly.

Suggested Enhancement
From my point of view, the button should not be displayed in the overview after adding or at least not be directly accessible (for example, only accessible after scrolling).
Instead, a button should appear in the color with which I can close the view (e.g. "Done"). This should have the same function as the cross in the upper right corner.
Expected Benefits
This way it can no longer happen that a test is accidentally deleted directly after adding it.

Thanks for your enhancement request @jajoho. We have moved your issue to the wishlist repository, as it affects both Android and iOS. Additionally, we have created an internal ticket for it and will raise this topic internally.
Internal Tracking ID: EXPOSUREAPP-11446

Corona-Warn-App Open Source Team


Fix errors when run spec only ollama_spec

fix #493
Added a dependency on ActiveSupport to gemspec and explicitly required an ActiveSupport Hash in ollama.rbAdded a dependency on ActiveSupport to gemspec and explicitly required an ActiveSupport Hash in ollama.rb.
(The dependency on ActiveSupport itself originally existed via ActionPack, etc., but since it uses deep_merge directly, the direct dependency should be made explicit.)
We can enable ActiveSupport for the whole project, but it seems from my research that the deep_file method is only used in this file, so I'm going with the least impactful way.
I confirmed that rspec spec/langchain/llm/ollama_spec.rb succeeds on this branch.
❯ bundle exec rspec spec/langchain/llm/ollama_spec.rb
Run options: include {:focus=>true}

All examples were filtered out; ignoring {:focus=>true}

Randomized with seed 18142

Langchain::LLM::Ollama
  #chat
    returns a chat completion
  #embed
    returns an embedding
  #complete
    returns a completion
  #default_dimension
    returns size of codellama embeddings
    returns size of mistral-openorca embeddings
    returns size of mistral embeddings
    returns size of llava embeddings
    returns size of tinydolphin embeddings
    returns size of dolphin-mixtral embeddings
    returns size of llama2 embeddings
    returns size of mixtral embeddings
  #initialize
    initializes the client without any errors
  #summarize
    returns a summarization

Finished in 0.08661 seconds (files took 0.75649 seconds to load)
13 examples, 0 failures

@kokuyouwind There's a part of me that wonders if we should just be using a gem directly: https://github.com/danielsdeleo/deep_merge instead of bringing the whole activesupport over. What do you think?

@andreibondarev
In my opinion, it is better to use ActiveSupport than to rely on a single function gem that is not used very often.

Widely used ones are less likely to have bugs.
Less security concerns if it is expected to be maintained over time
No real increase in dependencies since it already depends on other gems

As an alternative, it may be better to modify the code so that deep_merge is not used.
Other places use merge, and Langchain::LLM::Ollama::DEFAULTS is also a flat hash, so rewriting it the same way seems fine.
I preferred not to change the behavior in the first version, but will change the PR that way if that is better.


Present download size in humanized form

format to one (or two) decimal closest unit (Gb, Mb, Kb, bytes) because it's quite hard to get a feel form e.g.

Agreed. That entire page layout is disgusting to me, but I wanted to at least make the information people needed was there.


Allow user's to add the Soda API Secrets from external source ( such as ASM.. ( AWS).. etc)

The below option in the helm chart only allow user to add a BASE 64 string value for the Soda-Agent on the cloud. There is risk of having those API creds expose publicly and github does not allow API keys to get commited in the repository as per their security policy.
  apikey:
    # This public API key is used to communicate with Soda Cloud and is provided to you in the Soda Cloud interface
    id: ""
    # The API secret key provided is also provided to you in the Soda Cloud interface
    secret: ""```

SODA-1239

I need this too, and would willing to do the work to implement it, but your helm chart sources don't appear to be a public repo. Consider changing that?


How to create packages and plugins for flet?

Well, it's not like you are able to create packages/plugins for Flutter, but using Python. However, you can make reusable "controls" (or "components") in Python: https://flet.dev/docs/getting-started/python#user-controls

I'm going to close this issue. If you feel it needs further discussion please start a new thread here: https://github.com/flet-dev/flet/discussions


Feature/wombat card

@oconn @dehli

includes delete PR #60
wombat card styles shown on my wombats page
hover shows delete button

See #63


Keeweb auto-expansion skips letters

Describe the bug
Keeweb (a password manager) has a shortcut that auto-fills usernames/passwords into fields, but this process omits letters when Unshaky is enabled.
To Reproduce
Steps to reproduce the behavior:

Add a username/password in Keeweb.
Navigate to that account login page in a browser.
Press Ctl-Option-T to trigger auto-fill.
See missing letters, resulting in a failed login.

Desktop (please complete the following information):

macOS 10.14.4
Unshaky v0.4.8
Keeweb v1.8.1

Additional context
Likely the same issue as #54.

From I can tell from the Keeweb's source code, it simulates the press of password in a very short time. I think this commit can ignore such press sequence. Please try the v0.5.0 (will be online in a few minutes.)

Looks like that did it for me!

great!

After using the latest version for the last week or two, it seems to work most of the time, but not every time. Is there a way you can raise the ignore threshold slightly or perhaps allow the end user to do that?

You can modify the delay yourself in settings.

I see we can modify the delay for each key, but I don't see a way to increase the AUTO_EXPANSION_IGNORE_THRESHOLD beyond 5ms in the settings?

I will make it customizable later. It is a imperfect workaround :-(


Expected issuer of response messages is not checked

The implementation of the ResponseProcessor interface, se.litsec.opensaml.saml2.common.response.ResponseProcessorImpl does not supply the expected issuer of the response being validated. This leads to log warnings.
The validateResponse method should be updated and the expected issuer should be installed to the ResponseValidationParameters.

Fixed in PR https://github.com/litsec/opensaml-ext/pull/27.


RFE: Have the netappdvp binary daemonize itself

Please add an option to have the netappdvp binary daemonize/fork from the CLI.  For example:
netappdvp -d -config /etc/netappdvp/config.json

Andrew

Supported methods are to use Docker plugin commands or systemd.


Change convert API for class

I suppose it is better from different perspectives to move from instance.convert(amount, { from, to }) to instance.convert(amount, from, to). First type of API declaring uses both options object and plain argument usage, in which:

Is inconsistent
Object is being created each time for options, while we can use supplied data directly.
Inline caching in v8 does better if you provide the simplest data structure in function arguments including the object structure. We can try to do the same with the convert and getRate functions as well, but here the choice to make is not so clear.
And yes, thank you for the library!

Hi,
For now, I will stay with the options object. I do see the benefits from using plain arguments, but I want to stay consistent with the money.js library and allow for smoother migration.
I will, however convert the getRate function, as it should be simplified.
Maybe in the next major release (2.0.0), I will move both the convert function and class to use plain arguments :smile:


WIP: appveyor fixes

PR summary
Review checklist

[ ] The story has unit or integration tests
[ ] No new bugs, and any tech-debt is identified and justified
[ ] There is enough API documentation (how to use)
[ ] There is enough code documentation (how the code works)

: ( just isn't working... giving up


strict mode?

Keys that do not fit the schema are ignored - so I could have a typo in an optional key and never know about it. It would be nice to have a strict mode where you get a warning that keys were found that are not in the schema.

+1 for this feature. I also would like Yamale to check keys that are not in the schema.
Thanks for the library anyway!

+1. This is a primary thing I'd like to have :)

+1 this would be great!

+1

Is there any interest in doing work on this?  I started taking a crack at it and then realized that it probably means restructuring the whole library.
Just looking to gauge interest from the development team - if it's not a planned feature, I'll be happy to just use a different library.

Hi @alertedsnake, thanks for your interest. A little while ago, @drmull mentioned in #60 that they had started working on a PR that would address this. Once that is up for review, I'll be looking at that and #60 to put in together.

This is available in version 2.0.


Updating CODEOWNERS with AML owned apps

What does this PR do?
Updated .github/CODEOWNERS file chaning the ownership of test apps owned by @DataDog/agent-metrics-logs
Which scenarios this will impact?
None.
Motivation
Speed up development.
Additional Notes
None.

/merge


Cache friendly reduceop

Currently reduce op starts with acc goes with loded data and ends with acc, It's much more cache friendly if we do local data first and then end with acc, PTX speed vs cuda down to 0.94 with this + https://github.com/tinygrad/tinygrad/pull/4304. Also fixes test_failure_27

looks like RHIP fails but real HSA works, @Qazalin fyi

ack - fixing

Can you paste a diff so I can understand what this is doing?

sure thing, it transforms
        fma.rn.f32      %alu_f32_60, %val_f32_12, %val_f32_19, %acc_f32_15; # load acc into L1 cache
        fma.rn.f32      %alu_f32_61, %val_f32_13, %val_f32_23, %alu_f32_60;
        fma.rn.f32      %alu_f32_62, %val_f32_14, %val_f32_27, %alu_f32_61;
        fma.rn.f32      %alu_f32_63, %val_f32_15, %val_f32_31, %alu_f32_62;
        mov.b32         %acc_f32_15, %alu_f32_63; #load acc into L1 cache again

into
        mul.f32         %alu_f32_60, %val_f32_13, %val_f32_23;
        fma.rn.f32      %alu_f32_61, %val_f32_12, %val_f32_19, %alu_f32_60;
        fma.rn.f32      %alu_f32_62, %val_f32_14, %val_f32_27, %alu_f32_61;
        fma.rn.f32      %alu_f32_63, %val_f32_15, %val_f32_31, %alu_f32_62;
        add.f32         %alu_f32_64, %alu_f32_3, %acc_f32_0; #  load acc into L1 cache
        mov.b32         %acc_f32_0, %alu_f32_64; # acc is already in L1 cache

the comments describe the problem. In this example even when kernel 1 managed to use fma the memory layout is so bad that it makes it terribly slow. Comparison:
kernel1: RATIO 2.43016177651771 us 73099.26
kernel2: RATIO 0.8328376209573036 us 27662.33

aren't accs in register? seems like this allows better register coloring instead of L1 cache locality.

aren't accs in register? seems like this should only allow using less registers instead of L1 cache locality (but i don't see a reason why this should decrease registers either. maybe the acc regs are being spilled?)

I might be wrong on this one but profiling with nsight reported 50% more cache misses on the first kernel. I'm on my phone so I can't post a screenshot but they had a warning inside that excesive registers are moved to local memory

Yea, I don't see why this has anything to do with L1 cache.

Okay I've investigated that further and it seems that my initial assumptions were wrong. There are no register spills happening so no local memory is being used for acc. There is a better cache utilization after this change(image below is a comparison from nsight-compute)

But the reason seems to be going from PTX to SASS. ptxas optimizes instruction schedules and it manages to perform better when there is more locality in accessing registers
For a comparison this is a generated SASS before this change
https://pastebin.com/raw/9Mtj3VCx
and after:
https://pastebin.com/raw/RjnLxh94
The important part is line 67 this is where the throttling occurs, right now it groups too much loads together. I've looked at CUDA output and it also generates the same register access pattern as this pr


hive-operator: Support changing targetNamespace

Per the referenced card, changing HiveConfig.Spec.TargetNamespace didn't work properly before. This PR makes it work.
There were several pieces to the puzzle. See individual commit messages for details.
HIVE-1656

/test e2e

/test e2e

/test e2e

/test e2e

/test e2e

/test e2e

This is finally ready.
/assign @joelddiaz
Recommend reviewing commits individually.

/cherry-pick ocm-2.4


[No QA] Deploy help site with GH Pages built-in Jekyll

On HOLD because in order for this to work we'll need to change our GitHub Pages publishing directory to main.
Details
This is solution D, discussed in slack here.
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/216746
Tests

Merge this PR
Verify that the help site immediately deploys on GH pages.

cc @marcochavezf @AndrewGable

Going to merge + test

https://github.com/Expensify/App/actions/runs/2631188164

So the build happened, but not everything is working as expected:

There is a good likelihood that the cause for this problem is described in this comment

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by @roryabraham in version: 1.1.81-0 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
failure ❌


Wallslam

Hitting a wall (or something else) at high velocities should damage you.
Kinda related to atmos.

Would it be completely silly to extend DamageableComponent to also implement ICollideBehavior?

Would it be completely silly to extend DamageableComponent to also implement ICollideBehavior?

Perhaps it'd be best that this is put in its own component?


optional authentication (via client-key) support for redis

Hi,
Just thought you might be interested.
I've added support for authentication to redis via the client-key argument.
This is optional and if client-key is not set it'll still work provided that redis does not require authentication of course.
--Israel

This i think resolves #317 - Redis backend AUTH support

Any reason why this one hasn't been merged in? Currently building israelchen's branch myself as it works beautifully.

the PR needs a rebase before we can merge this.

@ericbarch @bacongobbler The other PR was merged, closing this one.


Suggestion: allow preloaded data instead ajax through api-url

I think this is more general use to generate a table from preloaded array of table rows. Reasons are, some developer want to use one library to generate table even though vue-table-2 may be overkill so they can maintain only one set of design/styles.  Also, sometimes, they want to toggle the data sources (not dynamically) based on performances without changing too much code.

@tsalufe That is coming up as soon as I can find time to work on it. But please be aware, using preloaded data will also making other functionalities related to the server (like sorting) un-operational.

@ratiw I am looking forward to using it. I was thinking something like jquery DataTables, where sorting can be achieved by number value, or by string as default or using call back on the browser when using preloaded data.

@tsalufe That will work so long as you do not have large data set.
Vuetable was designed to work with the server via AJAX from the beginning because when the data set becomes quite large, it is not feasible to process it on the client side.
I decided to add this as it has its own use. In my case, I'm using it to display order items inside my order form, so it doesn't need those server related functionalities.

Hi just to add my input. I think you should take into account state management libraries like redux or vuex when developing such a feature so that the tables can react to a provided state.
Currently i am using Veux with vuetable-2 and i have noway of my tables reacting to state changes.
If currently there is a way you can please show me the way. thanx

Sorry, @kweku360. As I don't use redux or vuex myself, I can't really help you with that.
But I think you should still be able to make vuetable-2 reacting to state changes manually by calling appropriate methods exposed by vuetable-2 when you've detected the change coming from vuex.

This would be very useful if one would want to make API requests in Vuex, store the results in the Vuex state and get the data from there. That would, in some cases, seem like good practice instead of directly communicating with the API through the Vuetable.

@jan144 It would be better that you open a new issue on that as this issue is not specifically about vuex. I can then tag it for help in case someone has already done that and would like to make a PR.


Headers not working in subscriptions with aws appsync

Hello,
Nice work on the graphql queries and mutations.
Everything seems very easy to understand
I noticed when I add a header dictionary to the field to Subscribe like so:
bool success = await graphQL.Subscribe(
query.ToRequest(),
new Dictionary<string, string>
{
{"header", "headerSerializedCorrectly"},
{"payload", "e30="},
}
);
The response from the server is the header and payload fields are missing in the header.
I followed the structure of AppSync to the Tee: https://docs.aws.amazon.com/appsync/latest/devguide/real-time-websocket-client.html

Hey, sorry, I am unfamiliar with AWS AppSync, but I know one of the forks for this library hacked in AWS support.
Feel free to check it out, it may help you out more than I can:
https://github.com/lukeunbnd/SimpleGraphQL-For-Unity

Hey that's me! yeah it's not the greatest implementation of the AppSync Headers, But it should work. Let me know of any issues and I can look at fixing them. Is this something I should put a tad more effort into and merge back in here?

@lukeunbnd Heya! Sorry to pull up your fork out of nowhere, but I do keep up with them every now and then!
It's entirely up to you if you want to clean it up and merge it into master. I'm not actively adding features or anything, so it'll be a welcome addition if you decide to.

Oh my goodness! It worked beautifully. You guys don't know how many different assets and other repos I've tried which all failed with subscriptions to appsync. I am not an expert with appsync and graphQL so it was a struggle to figure out why things weren't working.

@lukeunbnd Heya! Sorry to pull up your fork out of nowhere, but I do keep up with them every now and then!
It's entirely up to you if you want to clean it up and merge it into master. I'm not actively adding features or anything, so it'll be a welcome addition if you decide to.

no problem, it's why GitHub is how it is! Thank you for putting in all the initial work.
Awesome, there are a few other things I want to add anyway as helper features. Might do that at a later point.
@patdied glad it helped :)

A bit unrelated but I noticed if I have multiple subscriptions, all the RegisteredListener functions get called when either of them gets a response from the aws server.


Initial commit of MQTT entity management framework.

Addable extension method AddMqttExtensions()
Rough entity creation through EntityUpdater (which is probably a poor name) that needs more strongly-typed.
Note that I can't push this to a branch on the netdaemon core, which I think it would be better to be in - if you want to create a new branch ("mqtt_extensions" or similar?) then I can update the PR to point to that instead.
That will also allow Eugene and I to collaborate around the branch without upsetting your work.
This has been tested manually within the context of the Create entities from ND discord chat.

Breaking change
Non-breaking change
Proposed change
New extension project called NetDaemon.Extensions.MqttEntities that adds a services extension AddMqttExtensions() that can be called from program.cs
Sample usage:
    public MqttTester(ILogger<MqttTester> logger, IEntityUpdater entityUpdater)
    {
        _logger = logger;
        _entityUpdater = entityUpdater;

        _entityUpdater.CreateAsync("binary_sensor", "motion", "motion_test_1", "mqtt test")
            .GetAwaiter();
    }

Requires additional config in appSettings.json:
  "Mqtt": {
    "Host": "homeassistant.local",
    "Port": "1883",
    "UserId": "mqtt",
    "Password": "secret"
  }

Type of change

[ ] Dependency upgrade
[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (which adds functionality to an existing integration)
[ ] Breaking change (fix/feature causing existing functionality to break)
[ ] Code quality improvements to existing code or addition of tests

Additional information

This PR fixes or closes issue: fixes #
This PR is related to issue:
Link to documentation pull request:

Checklist

[x] The code change is tested and works locally.
[x] Local tests pass. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.
[ ] I have followed the [development checklist][dev-checklist]
[x] The code compiles without warnings (code quality chek)
[ ] Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated for www.home-assistant.io

@skotl I will add you to the dev team here. You can push to branch here your self and make it easier for you guys to collaborate

Changed DI scope to Singleton for the local services, changed target branch to mqtt_extensions.
Just need to check that @FrankBakkerNl  is happy with the comment on MqttFactory


Issue246 block reward 5 - Use Range in place of array allocation

These commits make use of Ranges in a few functions related to fees and rewards.

2nd commit needs rebase?

2nd commit needs rebase?

I forgot the submodule update after rebase. I have reverted the submodule rollback.


"You can find released versions here" points to incorrect line

In readme. I actually don't know where it should point to. You'd probably want to have it point to an exact line on an exact commit (not on master like now). You'd probably also want to extract the version numbers to a constant where it's easier to find it. I still don't know what API version numbers are supported nor when exactly new API version is released (5pm? 5pm in which timezone? On what day?)

Hey @vfonic, this doc specifies that stable version releases would occur at 5pm UTC. If you're reading that anywhere that the time zone is not specified let me know and we can get that corrected.
We agree that we should point to the specific commit's known versions specification. We'll fix that. We're going to move the known versions specification into a versions.rb file and point to that instead, which should be much easier to reference
If we're pointing directly to the aforementioned file, I'm not sure if it's of much more benefit to store them in a constant since it will already be such a simple file.
Thanks!

Thanks for the quick reply and @tylerball for quick PR fixing this issue! 🎉


Fixes iOS 11 white statusbar issue in Cordova

iOS 11 changes the behaviour of how UIWebView and WKWebView calculates the layout.
<iOS 11 it would return the layout including the status bar so you could render underneath it.
In IOS 11 by default the layout no longer includes the status bar (which is then rendered as white).
As the Cordova team has suggested, you can add a viewport tag viewport-fit=cover to change to the intended behaviour of including the status bar. https://issues.apache.org/jira/browse/CB-12886
However this plugin overrides the viewport tag on load with its own custom value. This corrects the value to also include the fix.

Thank you for letting me know.
Actually I haven't tested this plugin on iOS11 yet.

https://github.com/mapsplugin/cordova-plugin-googlemaps/issues/1637


about params

good job!
but I’m not sure in which case the propagation step param works and what if we introduce some multihop?
(having some trouble with torchdrug -o-

Hi! Could you illustrate what you meant by "propagation step param"? For multi-hop, if you refer to complex logical queries, the current implementation A*Net doesn't support that.

Oh, sure! I was trying to say the number of MLP layers, and I wonder the hidden layer might actually be more important than MLP layers?
And yeah, it seems like multi-hop can't really exist in path-based reasoning.
Thanks!

Hi, I'm quite confused 🤯 about this error, could you help me?

Hi! Could you follow the solution here? https://github.com/DeepGraphLearning/NBFNet/issues/9, https://github.com/DeepGraphLearning/torchdrug/issues/89
I am trying to find a more robust solution for loading the checkpoints of A*Net.

Fixed in eec28db.

Fantastic! but not enough, hh


The Tower Natural Frequency of the Tower of the NREL 5 MW-OC4-DeepCwind SemiSubmersible wind turbine.

Dear Dr. Jonkman,
I am now working om the Test 25 of the NREL 5 MW-OC4-DeepCwind SemiSubmersible wind turbine.  I designed two models, one is a normal operation floating wind turbine model, and for the other one all six platform degrees was disabled. The wind speed was set to be the rated wind speed in turbulent wind, and the waves were irregular waves of 6 m, 10 s. FFT analysis of the tower top acceleration of the two models was carried out. I found that the first-order natural frequency of the tower appeared was 0.463 Hz for the normal model and 0.405 Hz for the constraints, as shown in Fig. 1. The FFT analysis of the acceleration in the SS direction shows 0.442 Hz for the normal model and 0.376 Hz for the constraints, as shown in Fig. 2.
Here are my questions.

I would like to know why there is a large difference in the first order natural frequency of the tower obtained by analyzing the accelerations of the top of the tower in the FA direction and the SS direction using the normal model.
I would like to figure out the actual first order natural frequency of the tower for these two models in the FA and SS direction.
I would like to know why for the normal model with all six platform degrees disabled, the first-order tower natural frequency obtained I get through FFT differ from the results from the linearization of the wind turbine explored, which can be 0.43 Hz in the FA SS direction

Figure 1

Figure 2
Best regards,
Yao Ge

Dear @126qoq,
Here are my responses:

The tower-top boundary conditions are quite different in the fore-aft and side-side directions, e.g, different rotor-nacelle assembly (RNA) inertias, different blade flexibility flapwise and edgewise, as well as the impact of the free generator rotation on the side-side mode.
Computing FFTs of time series from simulations with stochastic excitation is one way to identify full-system natural frequencies.  Full system linearization of the OpenFAST model, followed by eigenanalysis is another way.
I'm not sure.  Can you clarify the approach you used to compute the tower natural frequencies through linearization?  Where the same degrees of freedom in the RNA enabled in both models (FFT versus linearization)?

Best regards,

Dear Dr. Jonkman,
Thank you for your answer. I didn't actually do the linearization.The tower natural frequencies through linearization are my quotes from other people's calculations:   https://forums.nrel.gov/t/the-frequency-component-of-flapwise/1730/4   Actually, I'm more interested in figuring out if my calculations via FFT make sense or not.
Best regards,

Dear @126qoq,
The preferred way to calculate the full-system natural frequencies is through an OpenFAST linearization analysis.  I suggest using that to verify your estimation of natural frequencies through FFT.
Best regards,


Club Create Error

13:32:48 CommandHandler | Command Executed after 0/0.006/0.281s
User: Call me panda#6939 [324536397803290626]
Server: 威利桑尼的洗腦房 [156971202345172992]
Channel: off-topic [156971202345172992]
Message: .clubcreate panda cute pie
13:32:48 CommandHandler | System.InvalidOperationException: Sequence contains no elements
at System.Linq.Enumerable.Max(IEnumerable1 source)                                                                                at lambda_method(Closure , QueryContext )                                                                                at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.<>c__DisplayClass20_01.b__0(QueryContext qc)
at System.Linq.Queryable.Max[TSource,TResult](IQueryable1 source, Expression1 selector)
at NadekoBot.Services.Database.Repositories.Impl.ClubRepository.GetNextDiscrim(String clubName) in /opt/NadekoBot/src/NadekoBot/Services/Database/Repositories/Impl/ClubRepository.cs:line 41
at NadekoBot.Modules.Xp.Services.ClubService.CreateClub(IUser user, String clubName, ClubInfo& club) in /opt/NadekoBot/src/NadekoBot/Modules/Xp/Services/ClubService.cs:line 34
at NadekoBot.Modules.Xp.Xp.Club.d__3.MoveNext() in /opt/NadekoBot/src/NadekoBot/Modules/Xp/Club.cs:line 32
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.Commands.ModuleClassBuilder.<>c__DisplayClass6_1.<g__ExecuteCallback1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.Commands.CommandInfo.d__41.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Discord.Commands.CommandInfo.d__41.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Discord.Commands.CommandInfo.d__41.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.Commands.CommandInfo.d__40.MoveNext()

just pushed a fix


Supporting NodaTime

See more here: https://github.com/JasperFx/marten/issues/1027
It's still work in progress, but I wanted to get asap initial thoughts about code structure (plugin inside main repo etc.), gather code suggestion etc.
@jeremydmiller @mysticmind @jokokko what do you think?
p.s. changes are a bit polluted with Shouldly usage. I removed ShouldBeTrue and ShouldBeFalse from our custom implemnentation, as it's right now supported by Shouldly

@mysticmind thank you for your input!. Yes, I inspired with the Npgsql team approach. Benefit of keeping plugins in the same repo is that you could have some internal methods available only for your plugins. Imho maintainance would be also easier.
I think that it's good to start discussion around that as imho we will have more plugins, next potential plugins are Polly support etc.

@jeremydmiller  @mysticmind  @jokokko could you review the PR again? I refactored the code, it seems to be the final one.
If you agreee to this implementation, I'll add more tests and we can ship it.

@oskardudycz can you please add the below to Marten.NodaTime.csproj to generate XML documentation file
<PropertyGroup>
    <GenerateDocumentationFile>true</GenerateDocumentationFile>
 </PropertyGroup>

@mysticmind I applied your comments and added documentation


[Proposal]: Add shortcut version for the basic component properties

It would be very helpful to have short version of the properties like v-socket and v-component.
For example:
v-component="Counter" -> @Counter
v-socket={@socket} -> @={@socket}
v-on:event="handler" -> @on:event="handler
I made a small change to make it work, and for me these renders 4 Counter components:
  def render(assigns) do
    ~H"""

        <.vue count={@count} v-component="Counter" v-socket={@socket} @on:inc={JS.push("inc_counter")} />
        <.vue count={@count} @Counter @={@socket} @on:inc={JS.push("inc_counter")} />

        <.Counter count={@count} v-socket={@socket} v-on:inc={JS.push("inc_counter")} />
        <.Counter count={@count} @={@socket} @on:inc={JS.push("inc_counter")} />

    """
  end

I can send PR if need.

I don't think it's a good idea. It might save a few chars but hurts readability. For example @=@socket seems very confusing.
Another reason is that @ has a special meaning in HEEX. That's the reason why I opted to use only v- prefix for special props (socket, ssr, and handlers).
Last - My personal preference is if a single thing can be done in a single way 😉
Do you agree?


Timeline text adjustments

Suggest larger font and center-align of grey text in Q3 & Q4 boxes

Closing via 5a7c26e


Support Stripe request signatures

#163
configuration values are now per-WebHook "signing secrets", not "secret keys", in Stripe terms

this is a breaking change; rebuilt applications will need updated configurations

remove notion of "direct" Stripe requests
add first Core tests!

supporting changes:

rewind after reading request Body in filters
fix bug in TrimmingTokenizer's maxCount handling
copy some test infrastructure from aspnet/AspNetWebStack
redo StripeTestEventResponseFilter / StripeVerifyNotificationIdFilter split

StripeTestEventResponseFilter now does all test event handling, including logging

add prefix support to WebHookVerifyBodyContentFilter.GetRequestBodyHash_SHA256(...)

nits:

accept VS suggestions for changed files
simplify TrimmingTokenizer contructors

93aa3b3f16


Deprecates JAX-RS TracingContainerFilter in favor of layering on Servlet

The TracingContainerFilter had a number of problems including error
handling and route information. This deprecates it and the
TracingFeature in favor of tracing at a lower level such as servlet or
Jersey. If there are no better choices for resource parsing the
SpanCustomizingContainerFilter can add tags correspondingly. These
can be modified or removed by providing ContainerParser.NOOP

cc @cschneider @reta @jplock This is a severe move to deprecate, but the ContainerFilter is actually rubbish as it doesn't trace reliably.


Java: Implement Example20_HuggingFace

Not implementing for Java SK v1.0

@johnoliver looking to see whether or not it makes sense for us to implement this now that we are in the post-v1.0 world.


docker hub :master tag build error

The last three builds on docker hub have an error.

Looking now


Consider supporting user-defined layer legend

Since the Navigator (rightly) doesn't define the semantics of what particular colors are intended to denote in a layer, consider adding the ability for the user to define an optional "legend" for a layer.  This legend would allow the user to manually pick a color and associate descriptive text with that color.  For example, a user might define a legend as follows:
(selecting red) "SEVERE Risk"
(selecting yellow) "MODERATE Risk"
(selecting green) "LOW Risk"
The Navigator could include the legend on print/export and provide an interface to add/edit the legend.

A legend was added and pushed to the develop branch. It's in the bottom right corner and is capable of displaying many items with customizable colors and labels. The legend is saved and loaded with each layer file. Check out the help page for more info.